@fewangsit/wangsvue 1.5.219-alpha.2 → 1.5.219-alpha.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 (1051) hide show
  1. package/changelog/index.d.ts +164 -0
  2. package/changelogpage/index.d.ts +184 -0
  3. package/comment/index.d.ts +187 -0
  4. package/components.d.ts +21 -0
  5. package/detailmember/index.d.ts +77 -0
  6. package/detailsprint/index.d.ts +86 -0
  7. package/inputinitialname/index.d.ts +118 -0
  8. package/inputrepositoryname/index.d.ts +86 -0
  9. package/loading-page-BrQattYE.js +1 -0
  10. package/loading-page-CgfbWppy.js +1 -0
  11. package/loading-page-CoC9UhfC.js +4 -0
  12. package/loading-page-CoXtqoc9.js +4 -0
  13. package/loading-page-DbLuqCHa.js +1 -0
  14. package/loading-page-f8D03l3G.js +4 -0
  15. package/loading-plane-CgfbWppy.js +1 -0
  16. package/loading-plane-CoXtqoc9.js +4 -0
  17. package/loading-table-Bdr9ZhtP.js +1 -0
  18. package/loading-table-ByUoWqUo.js +4 -0
  19. package/loading-table-BygEMzFM.js +4 -0
  20. package/loading-table-BzrSQlA0.js +1 -0
  21. package/loading-table-D9bw9OcI.js +4 -0
  22. package/loading-table-chOgXi94.js +1 -0
  23. package/no-data-CTKux8RI.js +4 -0
  24. package/no-data-Cgze_Rvp.js +1 -0
  25. package/no-data-DLHO1L_u.js +4 -0
  26. package/no-data-Dep79CBh.js +1 -0
  27. package/no-data-g0dJCy2p.js +4 -0
  28. package/no-data-y1X5WtcQ.js +1 -0
  29. package/notificationitem/index.d.ts +107 -0
  30. package/package.json +1 -1
  31. package/stats.html +1 -1
  32. package/style.css +2 -2
  33. package/summaryaccordion/index.d.ts +121 -0
  34. package/taskdetail/index.d.ts +82 -0
  35. package/taskdetailpbi/index.d.ts +35 -0
  36. package/tasktable/index.d.ts +87 -0
  37. package/wangsvue.es.js +66312 -170
  38. package/wangsvue.system.js +234 -67600
  39. package/animation/index.es.js +0 -69
  40. package/assets/lottiejs/loading-page.es.js +0 -20
  41. package/assets/lottiejs/loading-plane.es.js +0 -4
  42. package/assets/lottiejs/loading-table.es.js +0 -20
  43. package/assets/lottiejs/no-data.es.js +0 -20
  44. package/backgroundimagecropper/index.es.js +0 -76
  45. package/badge/index.es.js +0 -121
  46. package/badgegroup/index.es.js +0 -80
  47. package/basecalendar/index.es.js +0 -1399
  48. package/basetree/index.es.js +0 -269
  49. package/breadcrumb/index.es.js +0 -54
  50. package/button/index.es.js +0 -126
  51. package/buttonbulkaction/index.es.js +0 -237
  52. package/buttoncopy/index.es.js +0 -34
  53. package/buttondownload/index.es.js +0 -162
  54. package/buttonfilter/index.es.js +0 -37
  55. package/buttonradio/index.es.js +0 -117
  56. package/buttonsearch/index.es.js +0 -86
  57. package/buttonselecttree/index.es.js +0 -281
  58. package/buttontoggle/index.es.js +0 -13
  59. package/calendar/index.es.js +0 -172
  60. package/card/index.es.js +0 -49
  61. package/checkbox/index.es.js +0 -166
  62. package/codesnippet/index.es.js +0 -138
  63. package/codesnippetadapter/index.es.js +0 -30
  64. package/columnlist/index.es.js +0 -282
  65. package/config/defaultProps.es.js +0 -24
  66. package/config/index.es.js +0 -13
  67. package/config/locale.es.js +0 -41
  68. package/customcolumn/index.es.js +0 -155
  69. package/datatable/index.es.js +0 -1328
  70. package/dialog/index.es.js +0 -121
  71. package/dialogconfirm/index.es.js +0 -155
  72. package/dialogform/index.es.js +0 -260
  73. package/dialogselecttree/index.es.js +0 -317
  74. package/directives/focus.es.js +0 -18
  75. package/directives/index.es.js +0 -2
  76. package/directives/tooltip.es.js +0 -1
  77. package/dropdown/index.es.js +0 -297
  78. package/editor/index.es.js +0 -1160
  79. package/editorbutton/index.es.js +0 -30
  80. package/event-bus/index.es.js +0 -5
  81. package/event-bus/mitt.es.js +0 -70
  82. package/fieldwrapper/index.es.js +0 -45
  83. package/fileupload/index.es.js +0 -266
  84. package/filtercontainer/index.es.js +0 -347
  85. package/form/index.es.js +0 -238
  86. package/gallerypreview/index.es.js +0 -157
  87. package/icon/index.es.js +0 -84
  88. package/image/index.es.js +0 -224
  89. package/imagecompressor/index.es.js +0 -701
  90. package/imageinputinfo/index.es.js +0 -50
  91. package/inlinemessage/index.es.js +0 -106
  92. package/inputbadge/index.es.js +0 -261
  93. package/inputcurrency/index.es.js +0 -186
  94. package/inputemail/index.es.js +0 -51
  95. package/inputgroup/index.es.js +0 -34
  96. package/inputnumber/index.es.js +0 -310
  97. package/inputpassword/index.es.js +0 -147
  98. package/inputphonenumber/index.es.js +0 -1060
  99. package/inputrangenumber/index.es.js +0 -165
  100. package/inputtext/index.es.js +0 -317
  101. package/inputurl/index.es.js +0 -63
  102. package/invisiblefield/index.es.js +0 -35
  103. package/litedropdown/index.es.js +0 -108
  104. package/loading/index.es.js +0 -26
  105. package/loading-page-BXZ4fLOS.js +0 -8
  106. package/loading-page-BuLpsb_1.js +0 -8
  107. package/loading-page-CNqVBg__.js +0 -4
  108. package/loading-page-DbhhZih2.js +0 -4
  109. package/loading-page-DjfWXoOy.js +0 -8
  110. package/loading-page-S-KRY5zm.js +0 -4
  111. package/loading-plane-C1mi7Whv.js +0 -4
  112. package/loading-plane-CWq1hz_l.js +0 -8
  113. package/loading-table-B7LAXzAp.js +0 -4
  114. package/loading-table-BLmgKUsR.js +0 -4
  115. package/loading-table-CG7-cuhv.js +0 -8
  116. package/loading-table-CUPS49ta.js +0 -4
  117. package/loading-table-CuWWrTbv.js +0 -8
  118. package/loading-table-DbBzVwaZ.js +0 -8
  119. package/mentionlist/index.es.js +0 -91
  120. package/mentionsection/index.es.js +0 -62
  121. package/menu/index.es.js +0 -87
  122. package/menuitem/index.es.js +0 -67
  123. package/multirow/index.es.js +0 -53
  124. package/multiselect/index.es.js +0 -221
  125. package/no-data-B781skt3.js +0 -4
  126. package/no-data-CAksOnDl.js +0 -4
  127. package/no-data-DCsjBXQR.js +0 -4
  128. package/no-data-Dz0QOe7Q.js +0 -8
  129. package/no-data-_Huxiv9q.js +0 -8
  130. package/no-data-ybRQontJ.js +0 -8
  131. package/overlaypanel/index.es.js +0 -62
  132. package/paginator/index.es.js +0 -53
  133. package/plugins/WangsVue.es.js +0 -363
  134. package/plugins/formValidation.es.js +0 -19
  135. package/progressbar/index.es.js +0 -50
  136. package/quickfilter/index.es.js +0 -153
  137. package/tabmenu/index.es.js +0 -31
  138. package/textarea/index.es.js +0 -130
  139. package/timeline/index.es.js +0 -149
  140. package/timelinecontentbytype/index.es.js +0 -133
  141. package/toast/index.es.js +0 -87
  142. package/toggleswitch/index.es.js +0 -107
  143. package/tree/index.es.js +0 -379
  144. package/treenode/index.es.js +0 -631
  145. package/treesearchinput/index.es.js +0 -62
  146. package/usergroup/index.es.js +0 -101
  147. package/username/index.es.js +0 -160
  148. package/utils/addAttachment.util.es.js +0 -50
  149. package/utils/baseToast.util.es.js +0 -52
  150. package/utils/convertJsonImage.util.es.js +0 -28
  151. package/utils/date.util.es.js +0 -253
  152. package/utils/exportToExcel.util.es.js +0 -89
  153. package/utils/filterOptions.util.es.js +0 -10
  154. package/utils/genPlaceholder.util.es.js +0 -51
  155. package/utils/getProjectPermission.util.es.js +0 -20
  156. package/utils/getSalesRole.util.es.js +0 -7
  157. package/utils/getUser.util.es.js +0 -4
  158. package/utils/getUserType.util.es.js +0 -18
  159. package/utils/index.es.js +0 -3
  160. package/utils/isIntersect.es.js +0 -6
  161. package/utils/mergePropsWithDefaults.util.es.js +0 -10
  162. package/utils/object.util.es.js +0 -95
  163. package/utils/queryParamsStringfy.util.es.js +0 -23
  164. package/utils/role.util.es.js +0 -8
  165. package/utils/statusSeverity.util.es.js +0 -36
  166. package/utils/textFormatter.util.es.js +0 -32
  167. package/utils/toast.util.es.js +0 -20
  168. package/utils/xlsx.util.es.js +0 -15
  169. package/validatormessage/index.es.js +0 -19
  170. package/vendor/@popperjs/core/lib/createPopper.es.js +0 -149
  171. package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +0 -19
  172. package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +0 -38
  173. package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +0 -61
  174. package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +0 -53
  175. package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +0 -7
  176. package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +0 -10
  177. package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +0 -27
  178. package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +0 -9
  179. package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +0 -21
  180. package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +0 -6
  181. package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +0 -14
  182. package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +0 -51
  183. package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +0 -21
  184. package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +0 -16
  185. package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +0 -31
  186. package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +0 -13
  187. package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +0 -13
  188. package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +0 -9
  189. package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +0 -21
  190. package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +0 -7
  191. package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +0 -8
  192. package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +0 -7
  193. package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +0 -22
  194. package/vendor/@popperjs/core/lib/enums.es.js +0 -45
  195. package/vendor/@popperjs/core/lib/index.es.js +0 -1
  196. package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +0 -71
  197. package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +0 -72
  198. package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +0 -130
  199. package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +0 -40
  200. package/vendor/@popperjs/core/lib/modifiers/flip.es.js +0 -113
  201. package/vendor/@popperjs/core/lib/modifiers/hide.es.js +0 -57
  202. package/vendor/@popperjs/core/lib/modifiers/index.es.js +0 -1
  203. package/vendor/@popperjs/core/lib/modifiers/offset.es.js +0 -42
  204. package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +0 -19
  205. package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +0 -105
  206. package/vendor/@popperjs/core/lib/popper-lite.es.js +0 -1
  207. package/vendor/@popperjs/core/lib/popper.es.js +0 -17
  208. package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +0 -35
  209. package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +0 -59
  210. package/vendor/@popperjs/core/lib/utils/debounce.es.js +0 -17
  211. package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +0 -47
  212. package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +0 -9
  213. package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +0 -6
  214. package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +0 -6
  215. package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +0 -11
  216. package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +0 -6
  217. package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +0 -14
  218. package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +0 -12
  219. package/vendor/@popperjs/core/lib/utils/getVariation.es.js +0 -6
  220. package/vendor/@popperjs/core/lib/utils/math.es.js +0 -8
  221. package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +0 -16
  222. package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +0 -7
  223. package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +0 -39
  224. package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +0 -11
  225. package/vendor/@popperjs/core/lib/utils/userAgent.es.js +0 -12
  226. package/vendor/@popperjs/core/lib/utils/within.es.js +0 -12
  227. package/vendor/@tiptap/core/dist/index.es.js +0 -4362
  228. package/vendor/@tiptap/extension-bold/dist/index.es.js +0 -81
  229. package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +0 -202
  230. package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +0 -66
  231. package/vendor/@tiptap/extension-code/dist/index.es.js +0 -59
  232. package/vendor/@tiptap/extension-document/dist/index.es.js +0 -9
  233. package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +0 -154
  234. package/vendor/@tiptap/extension-heading/dist/index.es.js +0 -70
  235. package/vendor/@tiptap/extension-history/dist/index.es.js +0 -39
  236. package/vendor/@tiptap/extension-image/dist/index.es.js +0 -67
  237. package/vendor/@tiptap/extension-italic/dist/index.es.js +0 -80
  238. package/vendor/@tiptap/extension-link/dist/index.es.js +0 -351
  239. package/vendor/@tiptap/extension-list-item/dist/index.es.js +0 -33
  240. package/vendor/@tiptap/extension-mention/dist/index.es.js +0 -165
  241. package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +0 -84
  242. package/vendor/@tiptap/extension-paragraph/dist/index.es.js +0 -35
  243. package/vendor/@tiptap/extension-placeholder/dist/index.es.js +0 -59
  244. package/vendor/@tiptap/extension-text/dist/index.es.js +0 -8
  245. package/vendor/@tiptap/extension-underline/dist/index.es.js +0 -46
  246. package/vendor/@tiptap/pm/commands/dist/index.es.js +0 -1
  247. package/vendor/@tiptap/pm/history/dist/index.es.js +0 -1
  248. package/vendor/@tiptap/pm/keymap/dist/index.es.js +0 -1
  249. package/vendor/@tiptap/pm/model/dist/index.es.js +0 -1
  250. package/vendor/@tiptap/pm/schema-list/dist/index.es.js +0 -1
  251. package/vendor/@tiptap/pm/state/dist/index.es.js +0 -1
  252. package/vendor/@tiptap/pm/transform/dist/index.es.js +0 -1
  253. package/vendor/@tiptap/pm/view/dist/index.es.js +0 -1
  254. package/vendor/@tiptap/suggestion/dist/index.es.js +0 -215
  255. package/vendor/@tiptap/vue-3/dist/index.es.js +0 -535
  256. package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +0 -22
  257. package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +0 -163
  258. package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +0 -61
  259. package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +0 -203
  260. package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +0 -160
  261. package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +0 -1447
  262. package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +0 -184
  263. package/vendor/@wangs-ui/core/components/wangs-button.es.js +0 -38
  264. package/vendor/@wangs-ui/core/components/wangs-icon.es.js +0 -5
  265. package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +0 -5
  266. package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +0 -5
  267. package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +0 -340
  268. package/vendor/@wangs-ui/core/dist/esm/index.es.js +0 -1
  269. package/vendor/@wangs-ui/core/dist/index.es.js +0 -1
  270. package/vendor/@wangs-ui/vue/dist/index.es.js +0 -98
  271. package/vendor/base64toblob/base64toblob.es.js +0 -37
  272. package/vendor/highlight.js/es/core.es.js +0 -7
  273. package/vendor/highlight.js/es/languages/javascript.es.js +0 -700
  274. package/vendor/highlight.js/es/languages/json.es.js +0 -41
  275. package/vendor/highlight.js/es/languages/typescript.es.js +0 -803
  276. package/vendor/highlight.js/es/languages/vbscript-html.es.js +0 -16
  277. package/vendor/highlight.js/lib/core.es.js +0 -1541
  278. package/vendor/linkifyjs/dist/linkify.es.es.js +0 -1158
  279. package/vendor/lodash/_Symbol.es.js +0 -14
  280. package/vendor/lodash/_baseGetTag.es.js +0 -23
  281. package/vendor/lodash/_baseTrim.es.js +0 -17
  282. package/vendor/lodash/_freeGlobal.es.js +0 -13
  283. package/vendor/lodash/_getRawTag.es.js +0 -34
  284. package/vendor/lodash/_objectToString.es.js +0 -16
  285. package/vendor/lodash/_root.es.js +0 -15
  286. package/vendor/lodash/_trimmedEndIndex.es.js +0 -18
  287. package/vendor/lodash/debounce.es.js +0 -98
  288. package/vendor/lodash/isObject.es.js +0 -15
  289. package/vendor/lodash/isObjectLike.es.js +0 -14
  290. package/vendor/lodash/isSymbol.es.js +0 -18
  291. package/vendor/lodash/now.es.js +0 -16
  292. package/vendor/lodash/throttle.es.js +0 -30
  293. package/vendor/lodash/toNumber.es.js +0 -38
  294. package/vendor/lodash-es/_DataView.es.js +0 -6
  295. package/vendor/lodash-es/_Hash.es.js +0 -21
  296. package/vendor/lodash-es/_LazyWrapper.es.js +0 -1
  297. package/vendor/lodash-es/_ListCache.es.js +0 -21
  298. package/vendor/lodash-es/_LodashWrapper.es.js +0 -1
  299. package/vendor/lodash-es/_Map.es.js +0 -6
  300. package/vendor/lodash-es/_MapCache.es.js +0 -21
  301. package/vendor/lodash-es/_Promise.es.js +0 -6
  302. package/vendor/lodash-es/_Set.es.js +0 -6
  303. package/vendor/lodash-es/_SetCache.es.js +0 -15
  304. package/vendor/lodash-es/_Stack.es.js +0 -18
  305. package/vendor/lodash-es/_Symbol.es.js +0 -5
  306. package/vendor/lodash-es/_Uint8Array.es.js +0 -5
  307. package/vendor/lodash-es/_WeakMap.es.js +0 -6
  308. package/vendor/lodash-es/_apply.es.js +0 -1
  309. package/vendor/lodash-es/_arrayAggregator.es.js +0 -1
  310. package/vendor/lodash-es/_arrayEach.es.js +0 -12
  311. package/vendor/lodash-es/_arrayEachRight.es.js +0 -1
  312. package/vendor/lodash-es/_arrayEvery.es.js +0 -1
  313. package/vendor/lodash-es/_arrayFilter.es.js +0 -13
  314. package/vendor/lodash-es/_arrayIncludes.es.js +0 -1
  315. package/vendor/lodash-es/_arrayIncludesWith.es.js +0 -1
  316. package/vendor/lodash-es/_arrayLikeKeys.es.js +0 -24
  317. package/vendor/lodash-es/_arrayMap.es.js +0 -1
  318. package/vendor/lodash-es/_arrayPush.es.js +0 -10
  319. package/vendor/lodash-es/_arrayReduce.es.js +0 -1
  320. package/vendor/lodash-es/_arrayReduceRight.es.js +0 -1
  321. package/vendor/lodash-es/_arraySample.es.js +0 -1
  322. package/vendor/lodash-es/_arraySampleSize.es.js +0 -1
  323. package/vendor/lodash-es/_arrayShuffle.es.js +0 -1
  324. package/vendor/lodash-es/_arraySome.es.js +0 -12
  325. package/vendor/lodash-es/_asciiSize.es.js +0 -1
  326. package/vendor/lodash-es/_asciiToArray.es.js +0 -1
  327. package/vendor/lodash-es/_asciiWords.es.js +0 -1
  328. package/vendor/lodash-es/_assignMergeValue.es.js +0 -1
  329. package/vendor/lodash-es/_assignValue.es.js +0 -13
  330. package/vendor/lodash-es/_assocIndexOf.es.js +0 -13
  331. package/vendor/lodash-es/_baseAggregator.es.js +0 -1
  332. package/vendor/lodash-es/_baseAssign.es.js +0 -1
  333. package/vendor/lodash-es/_baseAssignIn.es.js +0 -1
  334. package/vendor/lodash-es/_baseAssignValue.es.js +0 -16
  335. package/vendor/lodash-es/_baseAt.es.js +0 -1
  336. package/vendor/lodash-es/_baseClamp.es.js +0 -1
  337. package/vendor/lodash-es/_baseClone.es.js +0 -73
  338. package/vendor/lodash-es/_baseConforms.es.js +0 -1
  339. package/vendor/lodash-es/_baseConformsTo.es.js +0 -1
  340. package/vendor/lodash-es/_baseCreate.es.js +0 -21
  341. package/vendor/lodash-es/_baseDelay.es.js +0 -1
  342. package/vendor/lodash-es/_baseDifference.es.js +0 -1
  343. package/vendor/lodash-es/_baseEach.es.js +0 -1
  344. package/vendor/lodash-es/_baseEachRight.es.js +0 -1
  345. package/vendor/lodash-es/_baseEvery.es.js +0 -1
  346. package/vendor/lodash-es/_baseExtremum.es.js +0 -1
  347. package/vendor/lodash-es/_baseFill.es.js +0 -1
  348. package/vendor/lodash-es/_baseFilter.es.js +0 -1
  349. package/vendor/lodash-es/_baseFindIndex.es.js +0 -1
  350. package/vendor/lodash-es/_baseFindKey.es.js +0 -1
  351. package/vendor/lodash-es/_baseFlatten.es.js +0 -1
  352. package/vendor/lodash-es/_baseFor.es.js +0 -1
  353. package/vendor/lodash-es/_baseForOwn.es.js +0 -1
  354. package/vendor/lodash-es/_baseForOwnRight.es.js +0 -1
  355. package/vendor/lodash-es/_baseForRight.es.js +0 -1
  356. package/vendor/lodash-es/_baseFunctions.es.js +0 -1
  357. package/vendor/lodash-es/_baseGet.es.js +0 -1
  358. package/vendor/lodash-es/_baseGetAllKeys.es.js +0 -9
  359. package/vendor/lodash-es/_baseGetTag.es.js +0 -14
  360. package/vendor/lodash-es/_baseGt.es.js +0 -1
  361. package/vendor/lodash-es/_baseHas.es.js +0 -1
  362. package/vendor/lodash-es/_baseHasIn.es.js +0 -1
  363. package/vendor/lodash-es/_baseInRange.es.js +0 -1
  364. package/vendor/lodash-es/_baseIndexOf.es.js +0 -1
  365. package/vendor/lodash-es/_baseIndexOfWith.es.js +0 -1
  366. package/vendor/lodash-es/_baseIntersection.es.js +0 -1
  367. package/vendor/lodash-es/_baseInverter.es.js +0 -1
  368. package/vendor/lodash-es/_baseInvoke.es.js +0 -1
  369. package/vendor/lodash-es/_baseIsArguments.es.js +0 -9
  370. package/vendor/lodash-es/_baseIsArrayBuffer.es.js +0 -1
  371. package/vendor/lodash-es/_baseIsDate.es.js +0 -1
  372. package/vendor/lodash-es/_baseIsEqual.es.js +0 -14
  373. package/vendor/lodash-es/_baseIsEqualDeep.es.js +0 -45
  374. package/vendor/lodash-es/_baseIsMap.es.js +0 -9
  375. package/vendor/lodash-es/_baseIsMatch.es.js +0 -1
  376. package/vendor/lodash-es/_baseIsNaN.es.js +0 -1
  377. package/vendor/lodash-es/_baseIsNative.es.js +0 -22
  378. package/vendor/lodash-es/_baseIsRegExp.es.js +0 -1
  379. package/vendor/lodash-es/_baseIsSet.es.js +0 -9
  380. package/vendor/lodash-es/_baseIsTypedArray.es.js +0 -14
  381. package/vendor/lodash-es/_baseIteratee.es.js +0 -1
  382. package/vendor/lodash-es/_baseKeys.es.js +0 -19
  383. package/vendor/lodash-es/_baseKeysIn.es.js +0 -1
  384. package/vendor/lodash-es/_baseLodash.es.js +0 -1
  385. package/vendor/lodash-es/_baseLt.es.js +0 -1
  386. package/vendor/lodash-es/_baseMap.es.js +0 -1
  387. package/vendor/lodash-es/_baseMatches.es.js +0 -1
  388. package/vendor/lodash-es/_baseMatchesProperty.es.js +0 -1
  389. package/vendor/lodash-es/_baseMean.es.js +0 -1
  390. package/vendor/lodash-es/_baseMerge.es.js +0 -1
  391. package/vendor/lodash-es/_baseMergeDeep.es.js +0 -1
  392. package/vendor/lodash-es/_baseNth.es.js +0 -1
  393. package/vendor/lodash-es/_baseOrderBy.es.js +0 -1
  394. package/vendor/lodash-es/_basePick.es.js +0 -1
  395. package/vendor/lodash-es/_basePickBy.es.js +0 -1
  396. package/vendor/lodash-es/_baseProperty.es.js +0 -1
  397. package/vendor/lodash-es/_basePropertyDeep.es.js +0 -1
  398. package/vendor/lodash-es/_basePropertyOf.es.js +0 -1
  399. package/vendor/lodash-es/_basePullAll.es.js +0 -1
  400. package/vendor/lodash-es/_basePullAt.es.js +0 -1
  401. package/vendor/lodash-es/_baseRandom.es.js +0 -1
  402. package/vendor/lodash-es/_baseRange.es.js +0 -1
  403. package/vendor/lodash-es/_baseReduce.es.js +0 -1
  404. package/vendor/lodash-es/_baseRepeat.es.js +0 -1
  405. package/vendor/lodash-es/_baseRest.es.js +0 -1
  406. package/vendor/lodash-es/_baseSample.es.js +0 -1
  407. package/vendor/lodash-es/_baseSampleSize.es.js +0 -1
  408. package/vendor/lodash-es/_baseSet.es.js +0 -1
  409. package/vendor/lodash-es/_baseSetData.es.js +0 -1
  410. package/vendor/lodash-es/_baseSetToString.es.js +0 -1
  411. package/vendor/lodash-es/_baseShuffle.es.js +0 -1
  412. package/vendor/lodash-es/_baseSlice.es.js +0 -1
  413. package/vendor/lodash-es/_baseSome.es.js +0 -1
  414. package/vendor/lodash-es/_baseSortBy.es.js +0 -1
  415. package/vendor/lodash-es/_baseSortedIndex.es.js +0 -1
  416. package/vendor/lodash-es/_baseSortedIndexBy.es.js +0 -1
  417. package/vendor/lodash-es/_baseSortedUniq.es.js +0 -1
  418. package/vendor/lodash-es/_baseSum.es.js +0 -1
  419. package/vendor/lodash-es/_baseTimes.es.js +0 -10
  420. package/vendor/lodash-es/_baseToNumber.es.js +0 -1
  421. package/vendor/lodash-es/_baseToPairs.es.js +0 -1
  422. package/vendor/lodash-es/_baseToString.es.js +0 -1
  423. package/vendor/lodash-es/_baseTrim.es.js +0 -8
  424. package/vendor/lodash-es/_baseUnary.es.js +0 -8
  425. package/vendor/lodash-es/_baseUniq.es.js +0 -1
  426. package/vendor/lodash-es/_baseUnset.es.js +0 -1
  427. package/vendor/lodash-es/_baseUpdate.es.js +0 -1
  428. package/vendor/lodash-es/_baseValues.es.js +0 -1
  429. package/vendor/lodash-es/_baseWhile.es.js +0 -1
  430. package/vendor/lodash-es/_baseWrapperValue.es.js +0 -1
  431. package/vendor/lodash-es/_baseXor.es.js +0 -1
  432. package/vendor/lodash-es/_baseZipObject.es.js +0 -1
  433. package/vendor/lodash-es/_cacheHas.es.js +0 -6
  434. package/vendor/lodash-es/_castArrayLikeObject.es.js +0 -1
  435. package/vendor/lodash-es/_castFunction.es.js +0 -1
  436. package/vendor/lodash-es/_castPath.es.js +0 -1
  437. package/vendor/lodash-es/_castRest.es.js +0 -1
  438. package/vendor/lodash-es/_castSlice.es.js +0 -1
  439. package/vendor/lodash-es/_charsEndIndex.es.js +0 -1
  440. package/vendor/lodash-es/_charsStartIndex.es.js +0 -1
  441. package/vendor/lodash-es/_cloneArrayBuffer.es.js +0 -9
  442. package/vendor/lodash-es/_cloneBuffer.es.js +0 -14
  443. package/vendor/lodash-es/_cloneDataView.es.js +0 -8
  444. package/vendor/lodash-es/_cloneRegExp.es.js +0 -9
  445. package/vendor/lodash-es/_cloneSymbol.es.js +0 -8
  446. package/vendor/lodash-es/_cloneTypedArray.es.js +0 -8
  447. package/vendor/lodash-es/_compareAscending.es.js +0 -1
  448. package/vendor/lodash-es/_compareMultiple.es.js +0 -1
  449. package/vendor/lodash-es/_composeArgs.es.js +0 -1
  450. package/vendor/lodash-es/_composeArgsRight.es.js +0 -1
  451. package/vendor/lodash-es/_copyArray.es.js +0 -1
  452. package/vendor/lodash-es/_copyObject.es.js +0 -1
  453. package/vendor/lodash-es/_copySymbols.es.js +0 -1
  454. package/vendor/lodash-es/_copySymbolsIn.es.js +0 -1
  455. package/vendor/lodash-es/_coreJsData.es.js +0 -5
  456. package/vendor/lodash-es/_countHolders.es.js +0 -1
  457. package/vendor/lodash-es/_createAggregator.es.js +0 -1
  458. package/vendor/lodash-es/_createAssigner.es.js +0 -1
  459. package/vendor/lodash-es/_createBaseEach.es.js +0 -1
  460. package/vendor/lodash-es/_createBaseFor.es.js +0 -1
  461. package/vendor/lodash-es/_createBind.es.js +0 -1
  462. package/vendor/lodash-es/_createCaseFirst.es.js +0 -1
  463. package/vendor/lodash-es/_createCompounder.es.js +0 -1
  464. package/vendor/lodash-es/_createCtor.es.js +0 -1
  465. package/vendor/lodash-es/_createCurry.es.js +0 -1
  466. package/vendor/lodash-es/_createFind.es.js +0 -1
  467. package/vendor/lodash-es/_createFlow.es.js +0 -1
  468. package/vendor/lodash-es/_createHybrid.es.js +0 -1
  469. package/vendor/lodash-es/_createInverter.es.js +0 -1
  470. package/vendor/lodash-es/_createMathOperation.es.js +0 -1
  471. package/vendor/lodash-es/_createOver.es.js +0 -1
  472. package/vendor/lodash-es/_createPadding.es.js +0 -1
  473. package/vendor/lodash-es/_createPartial.es.js +0 -1
  474. package/vendor/lodash-es/_createRange.es.js +0 -1
  475. package/vendor/lodash-es/_createRecurry.es.js +0 -1
  476. package/vendor/lodash-es/_createRelationalOperation.es.js +0 -1
  477. package/vendor/lodash-es/_createRound.es.js +0 -1
  478. package/vendor/lodash-es/_createSet.es.js +0 -1
  479. package/vendor/lodash-es/_createToPairs.es.js +0 -1
  480. package/vendor/lodash-es/_createWrap.es.js +0 -1
  481. package/vendor/lodash-es/_customDefaultsAssignIn.es.js +0 -1
  482. package/vendor/lodash-es/_customDefaultsMerge.es.js +0 -1
  483. package/vendor/lodash-es/_customOmitClone.es.js +0 -1
  484. package/vendor/lodash-es/_deburrLetter.es.js +0 -1
  485. package/vendor/lodash-es/_defineProperty.es.js +0 -12
  486. package/vendor/lodash-es/_equalArrays.es.js +0 -50
  487. package/vendor/lodash-es/_equalByTag.es.js +0 -59
  488. package/vendor/lodash-es/_equalObjects.es.js +0 -50
  489. package/vendor/lodash-es/_escapeHtmlChar.es.js +0 -1
  490. package/vendor/lodash-es/_escapeStringChar.es.js +0 -1
  491. package/vendor/lodash-es/_flatRest.es.js +0 -1
  492. package/vendor/lodash-es/_freeGlobal.es.js +0 -4
  493. package/vendor/lodash-es/_getAllKeys.es.js +0 -9
  494. package/vendor/lodash-es/_getAllKeysIn.es.js +0 -1
  495. package/vendor/lodash-es/_getData.es.js +0 -1
  496. package/vendor/lodash-es/_getFuncName.es.js +0 -1
  497. package/vendor/lodash-es/_getHolder.es.js +0 -1
  498. package/vendor/lodash-es/_getMapData.es.js +0 -8
  499. package/vendor/lodash-es/_getMatchData.es.js +0 -1
  500. package/vendor/lodash-es/_getNative.es.js +0 -9
  501. package/vendor/lodash-es/_getPrototype.es.js +0 -5
  502. package/vendor/lodash-es/_getRawTag.es.js +0 -25
  503. package/vendor/lodash-es/_getSymbols.es.js +0 -17
  504. package/vendor/lodash-es/_getSymbolsIn.es.js +0 -1
  505. package/vendor/lodash-es/_getTag.es.js +0 -34
  506. package/vendor/lodash-es/_getValue.es.js +0 -6
  507. package/vendor/lodash-es/_getView.es.js +0 -1
  508. package/vendor/lodash-es/_getWrapDetails.es.js +0 -1
  509. package/vendor/lodash-es/_hasPath.es.js +0 -1
  510. package/vendor/lodash-es/_hasUnicode.es.js +0 -1
  511. package/vendor/lodash-es/_hasUnicodeWord.es.js +0 -1
  512. package/vendor/lodash-es/_hashClear.es.js +0 -8
  513. package/vendor/lodash-es/_hashDelete.es.js +0 -8
  514. package/vendor/lodash-es/_hashGet.es.js +0 -15
  515. package/vendor/lodash-es/_hashHas.es.js +0 -10
  516. package/vendor/lodash-es/_hashSet.es.js +0 -11
  517. package/vendor/lodash-es/_initCloneArray.es.js +0 -13
  518. package/vendor/lodash-es/_initCloneByTag.es.js +0 -43
  519. package/vendor/lodash-es/_initCloneObject.es.js +0 -9
  520. package/vendor/lodash-es/_insertWrapDetails.es.js +0 -1
  521. package/vendor/lodash-es/_isFlattenable.es.js +0 -1
  522. package/vendor/lodash-es/_isIndex.es.js +0 -10
  523. package/vendor/lodash-es/_isIterateeCall.es.js +0 -1
  524. package/vendor/lodash-es/_isKey.es.js +0 -1
  525. package/vendor/lodash-es/_isKeyable.es.js +0 -7
  526. package/vendor/lodash-es/_isLaziable.es.js +0 -1
  527. package/vendor/lodash-es/_isMaskable.es.js +0 -1
  528. package/vendor/lodash-es/_isMasked.es.js +0 -11
  529. package/vendor/lodash-es/_isPrototype.es.js +0 -8
  530. package/vendor/lodash-es/_isStrictComparable.es.js +0 -1
  531. package/vendor/lodash-es/_iteratorToArray.es.js +0 -1
  532. package/vendor/lodash-es/_lazyClone.es.js +0 -1
  533. package/vendor/lodash-es/_lazyReverse.es.js +0 -1
  534. package/vendor/lodash-es/_lazyValue.es.js +0 -1
  535. package/vendor/lodash-es/_listCacheClear.es.js +0 -7
  536. package/vendor/lodash-es/_listCacheDelete.es.js +0 -20
  537. package/vendor/lodash-es/_listCacheGet.es.js +0 -8
  538. package/vendor/lodash-es/_listCacheHas.es.js +0 -7
  539. package/vendor/lodash-es/_listCacheSet.es.js +0 -14
  540. package/vendor/lodash-es/_mapCacheClear.es.js +0 -14
  541. package/vendor/lodash-es/_mapCacheDelete.es.js +0 -9
  542. package/vendor/lodash-es/_mapCacheGet.es.js +0 -7
  543. package/vendor/lodash-es/_mapCacheHas.es.js +0 -7
  544. package/vendor/lodash-es/_mapCacheSet.es.js +0 -10
  545. package/vendor/lodash-es/_mapToArray.es.js +0 -10
  546. package/vendor/lodash-es/_matchesStrictComparable.es.js +0 -1
  547. package/vendor/lodash-es/_memoizeCapped.es.js +0 -1
  548. package/vendor/lodash-es/_mergeData.es.js +0 -1
  549. package/vendor/lodash-es/_metaMap.es.js +0 -1
  550. package/vendor/lodash-es/_nativeCreate.es.js +0 -5
  551. package/vendor/lodash-es/_nativeKeys.es.js +0 -5
  552. package/vendor/lodash-es/_nativeKeysIn.es.js +0 -1
  553. package/vendor/lodash-es/_nodeUtil.es.js +0 -18
  554. package/vendor/lodash-es/_objectToString.es.js +0 -8
  555. package/vendor/lodash-es/_overArg.es.js +0 -8
  556. package/vendor/lodash-es/_overRest.es.js +0 -1
  557. package/vendor/lodash-es/_parent.es.js +0 -1
  558. package/vendor/lodash-es/_reEscape.es.js +0 -1
  559. package/vendor/lodash-es/_reEvaluate.es.js +0 -1
  560. package/vendor/lodash-es/_reInterpolate.es.js +0 -1
  561. package/vendor/lodash-es/_realNames.es.js +0 -1
  562. package/vendor/lodash-es/_reorder.es.js +0 -1
  563. package/vendor/lodash-es/_replaceHolders.es.js +0 -1
  564. package/vendor/lodash-es/_root.es.js +0 -6
  565. package/vendor/lodash-es/_safeGet.es.js +0 -1
  566. package/vendor/lodash-es/_setCacheAdd.es.js +0 -8
  567. package/vendor/lodash-es/_setCacheHas.es.js +0 -6
  568. package/vendor/lodash-es/_setData.es.js +0 -1
  569. package/vendor/lodash-es/_setToArray.es.js +0 -10
  570. package/vendor/lodash-es/_setToPairs.es.js +0 -1
  571. package/vendor/lodash-es/_setToString.es.js +0 -1
  572. package/vendor/lodash-es/_setWrapToString.es.js +0 -1
  573. package/vendor/lodash-es/_shortOut.es.js +0 -1
  574. package/vendor/lodash-es/_shuffleSelf.es.js +0 -1
  575. package/vendor/lodash-es/_stackClear.es.js +0 -8
  576. package/vendor/lodash-es/_stackDelete.es.js +0 -8
  577. package/vendor/lodash-es/_stackGet.es.js +0 -6
  578. package/vendor/lodash-es/_stackHas.es.js +0 -6
  579. package/vendor/lodash-es/_stackSet.es.js +0 -22
  580. package/vendor/lodash-es/_strictIndexOf.es.js +0 -1
  581. package/vendor/lodash-es/_strictLastIndexOf.es.js +0 -1
  582. package/vendor/lodash-es/_stringSize.es.js +0 -1
  583. package/vendor/lodash-es/_stringToArray.es.js +0 -1
  584. package/vendor/lodash-es/_stringToPath.es.js +0 -1
  585. package/vendor/lodash-es/_toKey.es.js +0 -1
  586. package/vendor/lodash-es/_toSource.es.js +0 -18
  587. package/vendor/lodash-es/_trimmedEndIndex.es.js +0 -10
  588. package/vendor/lodash-es/_unescapeHtmlChar.es.js +0 -1
  589. package/vendor/lodash-es/_unicodeSize.es.js +0 -1
  590. package/vendor/lodash-es/_unicodeToArray.es.js +0 -1
  591. package/vendor/lodash-es/_unicodeWords.es.js +0 -1
  592. package/vendor/lodash-es/_updateWrapDetails.es.js +0 -1
  593. package/vendor/lodash-es/_wrapperClone.es.js +0 -1
  594. package/vendor/lodash-es/add.es.js +0 -1
  595. package/vendor/lodash-es/after.es.js +0 -1
  596. package/vendor/lodash-es/array.default.es.js +0 -1
  597. package/vendor/lodash-es/array.es.js +0 -1
  598. package/vendor/lodash-es/ary.es.js +0 -1
  599. package/vendor/lodash-es/assign.es.js +0 -1
  600. package/vendor/lodash-es/assignIn.es.js +0 -1
  601. package/vendor/lodash-es/assignInWith.es.js +0 -1
  602. package/vendor/lodash-es/assignWith.es.js +0 -1
  603. package/vendor/lodash-es/at.es.js +0 -1
  604. package/vendor/lodash-es/attempt.es.js +0 -1
  605. package/vendor/lodash-es/before.es.js +0 -1
  606. package/vendor/lodash-es/bind.es.js +0 -1
  607. package/vendor/lodash-es/bindAll.es.js +0 -1
  608. package/vendor/lodash-es/bindKey.es.js +0 -1
  609. package/vendor/lodash-es/camelCase.es.js +0 -1
  610. package/vendor/lodash-es/capitalize.es.js +0 -1
  611. package/vendor/lodash-es/castArray.es.js +0 -1
  612. package/vendor/lodash-es/ceil.es.js +0 -1
  613. package/vendor/lodash-es/chain.es.js +0 -1
  614. package/vendor/lodash-es/chunk.es.js +0 -1
  615. package/vendor/lodash-es/clamp.es.js +0 -1
  616. package/vendor/lodash-es/clone.es.js +0 -1
  617. package/vendor/lodash-es/cloneDeep.es.js +0 -8
  618. package/vendor/lodash-es/cloneDeepWith.es.js +0 -1
  619. package/vendor/lodash-es/cloneWith.es.js +0 -1
  620. package/vendor/lodash-es/collection.default.es.js +0 -1
  621. package/vendor/lodash-es/collection.es.js +0 -1
  622. package/vendor/lodash-es/commit.es.js +0 -1
  623. package/vendor/lodash-es/compact.es.js +0 -1
  624. package/vendor/lodash-es/concat.es.js +0 -1
  625. package/vendor/lodash-es/cond.es.js +0 -1
  626. package/vendor/lodash-es/conforms.es.js +0 -1
  627. package/vendor/lodash-es/conformsTo.es.js +0 -1
  628. package/vendor/lodash-es/constant.es.js +0 -1
  629. package/vendor/lodash-es/countBy.es.js +0 -1
  630. package/vendor/lodash-es/create.es.js +0 -1
  631. package/vendor/lodash-es/curry.es.js +0 -1
  632. package/vendor/lodash-es/curryRight.es.js +0 -1
  633. package/vendor/lodash-es/date.default.es.js +0 -1
  634. package/vendor/lodash-es/date.es.js +0 -1
  635. package/vendor/lodash-es/debounce.es.js +0 -89
  636. package/vendor/lodash-es/deburr.es.js +0 -1
  637. package/vendor/lodash-es/defaultTo.es.js +0 -1
  638. package/vendor/lodash-es/defaults.es.js +0 -1
  639. package/vendor/lodash-es/defaultsDeep.es.js +0 -1
  640. package/vendor/lodash-es/defer.es.js +0 -1
  641. package/vendor/lodash-es/delay.es.js +0 -1
  642. package/vendor/lodash-es/difference.es.js +0 -1
  643. package/vendor/lodash-es/differenceBy.es.js +0 -1
  644. package/vendor/lodash-es/differenceWith.es.js +0 -1
  645. package/vendor/lodash-es/divide.es.js +0 -1
  646. package/vendor/lodash-es/drop.es.js +0 -1
  647. package/vendor/lodash-es/dropRight.es.js +0 -1
  648. package/vendor/lodash-es/dropRightWhile.es.js +0 -1
  649. package/vendor/lodash-es/dropWhile.es.js +0 -1
  650. package/vendor/lodash-es/each.es.js +0 -1
  651. package/vendor/lodash-es/eachRight.es.js +0 -1
  652. package/vendor/lodash-es/endsWith.es.js +0 -1
  653. package/vendor/lodash-es/entries.es.js +0 -1
  654. package/vendor/lodash-es/entriesIn.es.js +0 -1
  655. package/vendor/lodash-es/eq.es.js +0 -6
  656. package/vendor/lodash-es/escape.es.js +0 -1
  657. package/vendor/lodash-es/escapeRegExp.es.js +0 -1
  658. package/vendor/lodash-es/every.es.js +0 -1
  659. package/vendor/lodash-es/extend.es.js +0 -1
  660. package/vendor/lodash-es/extendWith.es.js +0 -1
  661. package/vendor/lodash-es/fill.es.js +0 -1
  662. package/vendor/lodash-es/filter.es.js +0 -1
  663. package/vendor/lodash-es/find.es.js +0 -1
  664. package/vendor/lodash-es/findIndex.es.js +0 -1
  665. package/vendor/lodash-es/findKey.es.js +0 -1
  666. package/vendor/lodash-es/findLast.es.js +0 -1
  667. package/vendor/lodash-es/findLastIndex.es.js +0 -1
  668. package/vendor/lodash-es/findLastKey.es.js +0 -1
  669. package/vendor/lodash-es/first.es.js +0 -1
  670. package/vendor/lodash-es/flatMap.es.js +0 -1
  671. package/vendor/lodash-es/flatMapDeep.es.js +0 -1
  672. package/vendor/lodash-es/flatMapDepth.es.js +0 -1
  673. package/vendor/lodash-es/flatten.es.js +0 -1
  674. package/vendor/lodash-es/flattenDeep.es.js +0 -1
  675. package/vendor/lodash-es/flattenDepth.es.js +0 -1
  676. package/vendor/lodash-es/flip.es.js +0 -1
  677. package/vendor/lodash-es/floor.es.js +0 -1
  678. package/vendor/lodash-es/flow.es.js +0 -1
  679. package/vendor/lodash-es/flowRight.es.js +0 -1
  680. package/vendor/lodash-es/forEach.es.js +0 -1
  681. package/vendor/lodash-es/forEachRight.es.js +0 -1
  682. package/vendor/lodash-es/forIn.es.js +0 -1
  683. package/vendor/lodash-es/forInRight.es.js +0 -1
  684. package/vendor/lodash-es/forOwn.es.js +0 -1
  685. package/vendor/lodash-es/forOwnRight.es.js +0 -1
  686. package/vendor/lodash-es/fromPairs.es.js +0 -1
  687. package/vendor/lodash-es/function.default.es.js +0 -1
  688. package/vendor/lodash-es/function.es.js +0 -1
  689. package/vendor/lodash-es/functions.es.js +0 -1
  690. package/vendor/lodash-es/functionsIn.es.js +0 -1
  691. package/vendor/lodash-es/get.es.js +0 -1
  692. package/vendor/lodash-es/groupBy.es.js +0 -1
  693. package/vendor/lodash-es/gt.es.js +0 -1
  694. package/vendor/lodash-es/gte.es.js +0 -1
  695. package/vendor/lodash-es/has.es.js +0 -1
  696. package/vendor/lodash-es/hasIn.es.js +0 -1
  697. package/vendor/lodash-es/head.es.js +0 -1
  698. package/vendor/lodash-es/identity.es.js +0 -1
  699. package/vendor/lodash-es/inRange.es.js +0 -1
  700. package/vendor/lodash-es/includes.es.js +0 -1
  701. package/vendor/lodash-es/indexOf.es.js +0 -1
  702. package/vendor/lodash-es/initial.es.js +0 -1
  703. package/vendor/lodash-es/intersection.es.js +0 -1
  704. package/vendor/lodash-es/intersectionBy.es.js +0 -1
  705. package/vendor/lodash-es/intersectionWith.es.js +0 -1
  706. package/vendor/lodash-es/invert.es.js +0 -1
  707. package/vendor/lodash-es/invertBy.es.js +0 -1
  708. package/vendor/lodash-es/invoke.es.js +0 -1
  709. package/vendor/lodash-es/invokeMap.es.js +0 -1
  710. package/vendor/lodash-es/isArguments.es.js +0 -13
  711. package/vendor/lodash-es/isArray.es.js +0 -4
  712. package/vendor/lodash-es/isArrayBuffer.es.js +0 -1
  713. package/vendor/lodash-es/isArrayLike.es.js +0 -8
  714. package/vendor/lodash-es/isArrayLikeObject.es.js +0 -1
  715. package/vendor/lodash-es/isBoolean.es.js +0 -1
  716. package/vendor/lodash-es/isBuffer.es.js +0 -11
  717. package/vendor/lodash-es/isDate.es.js +0 -1
  718. package/vendor/lodash-es/isElement.es.js +0 -1
  719. package/vendor/lodash-es/isEmpty.es.js +0 -1
  720. package/vendor/lodash-es/isEqual.es.js +0 -7
  721. package/vendor/lodash-es/isEqualWith.es.js +0 -1
  722. package/vendor/lodash-es/isError.es.js +0 -1
  723. package/vendor/lodash-es/isFinite.es.js +0 -1
  724. package/vendor/lodash-es/isFunction.es.js +0 -13
  725. package/vendor/lodash-es/isInteger.es.js +0 -1
  726. package/vendor/lodash-es/isLength.es.js +0 -7
  727. package/vendor/lodash-es/isMap.es.js +0 -8
  728. package/vendor/lodash-es/isMatch.es.js +0 -1
  729. package/vendor/lodash-es/isMatchWith.es.js +0 -1
  730. package/vendor/lodash-es/isNaN.es.js +0 -1
  731. package/vendor/lodash-es/isNative.es.js +0 -1
  732. package/vendor/lodash-es/isNil.es.js +0 -1
  733. package/vendor/lodash-es/isNull.es.js +0 -1
  734. package/vendor/lodash-es/isNumber.es.js +0 -1
  735. package/vendor/lodash-es/isObject.es.js +0 -7
  736. package/vendor/lodash-es/isObjectLike.es.js +0 -6
  737. package/vendor/lodash-es/isPlainObject.es.js +0 -1
  738. package/vendor/lodash-es/isRegExp.es.js +0 -1
  739. package/vendor/lodash-es/isSafeInteger.es.js +0 -1
  740. package/vendor/lodash-es/isSet.es.js +0 -8
  741. package/vendor/lodash-es/isString.es.js +0 -1
  742. package/vendor/lodash-es/isSymbol.es.js +0 -9
  743. package/vendor/lodash-es/isTypedArray.es.js +0 -8
  744. package/vendor/lodash-es/isUndefined.es.js +0 -1
  745. package/vendor/lodash-es/isWeakMap.es.js +0 -1
  746. package/vendor/lodash-es/isWeakSet.es.js +0 -1
  747. package/vendor/lodash-es/iteratee.es.js +0 -1
  748. package/vendor/lodash-es/join.es.js +0 -1
  749. package/vendor/lodash-es/kebabCase.es.js +0 -1
  750. package/vendor/lodash-es/keyBy.es.js +0 -1
  751. package/vendor/lodash-es/keys.es.js +0 -9
  752. package/vendor/lodash-es/keysIn.es.js +0 -1
  753. package/vendor/lodash-es/lang.default.es.js +0 -1
  754. package/vendor/lodash-es/lang.es.js +0 -1
  755. package/vendor/lodash-es/last.es.js +0 -1
  756. package/vendor/lodash-es/lastIndexOf.es.js +0 -1
  757. package/vendor/lodash-es/lodash.default.es.js +0 -1
  758. package/vendor/lodash-es/lodash.es.js +0 -1
  759. package/vendor/lodash-es/lowerCase.es.js +0 -1
  760. package/vendor/lodash-es/lowerFirst.es.js +0 -1
  761. package/vendor/lodash-es/lt.es.js +0 -1
  762. package/vendor/lodash-es/lte.es.js +0 -1
  763. package/vendor/lodash-es/map.es.js +0 -1
  764. package/vendor/lodash-es/mapKeys.es.js +0 -1
  765. package/vendor/lodash-es/mapValues.es.js +0 -1
  766. package/vendor/lodash-es/matches.es.js +0 -1
  767. package/vendor/lodash-es/matchesProperty.es.js +0 -1
  768. package/vendor/lodash-es/math.default.es.js +0 -1
  769. package/vendor/lodash-es/math.es.js +0 -1
  770. package/vendor/lodash-es/max.es.js +0 -1
  771. package/vendor/lodash-es/maxBy.es.js +0 -1
  772. package/vendor/lodash-es/mean.es.js +0 -1
  773. package/vendor/lodash-es/meanBy.es.js +0 -1
  774. package/vendor/lodash-es/memoize.es.js +0 -1
  775. package/vendor/lodash-es/merge.es.js +0 -1
  776. package/vendor/lodash-es/mergeWith.es.js +0 -1
  777. package/vendor/lodash-es/method.es.js +0 -1
  778. package/vendor/lodash-es/methodOf.es.js +0 -1
  779. package/vendor/lodash-es/min.es.js +0 -1
  780. package/vendor/lodash-es/minBy.es.js +0 -1
  781. package/vendor/lodash-es/mixin.es.js +0 -1
  782. package/vendor/lodash-es/multiply.es.js +0 -1
  783. package/vendor/lodash-es/negate.es.js +0 -1
  784. package/vendor/lodash-es/next.es.js +0 -1
  785. package/vendor/lodash-es/noop.es.js +0 -1
  786. package/vendor/lodash-es/now.es.js +0 -7
  787. package/vendor/lodash-es/nth.es.js +0 -1
  788. package/vendor/lodash-es/nthArg.es.js +0 -1
  789. package/vendor/lodash-es/number.default.es.js +0 -1
  790. package/vendor/lodash-es/number.es.js +0 -1
  791. package/vendor/lodash-es/object.default.es.js +0 -1
  792. package/vendor/lodash-es/object.es.js +0 -1
  793. package/vendor/lodash-es/omit.es.js +0 -1
  794. package/vendor/lodash-es/omitBy.es.js +0 -1
  795. package/vendor/lodash-es/once.es.js +0 -1
  796. package/vendor/lodash-es/orderBy.es.js +0 -1
  797. package/vendor/lodash-es/over.es.js +0 -1
  798. package/vendor/lodash-es/overArgs.es.js +0 -1
  799. package/vendor/lodash-es/overEvery.es.js +0 -1
  800. package/vendor/lodash-es/overSome.es.js +0 -1
  801. package/vendor/lodash-es/pad.es.js +0 -1
  802. package/vendor/lodash-es/padEnd.es.js +0 -1
  803. package/vendor/lodash-es/padStart.es.js +0 -1
  804. package/vendor/lodash-es/parseInt.es.js +0 -1
  805. package/vendor/lodash-es/partial.es.js +0 -1
  806. package/vendor/lodash-es/partialRight.es.js +0 -1
  807. package/vendor/lodash-es/partition.es.js +0 -1
  808. package/vendor/lodash-es/pick.es.js +0 -1
  809. package/vendor/lodash-es/pickBy.es.js +0 -1
  810. package/vendor/lodash-es/plant.es.js +0 -1
  811. package/vendor/lodash-es/property.es.js +0 -1
  812. package/vendor/lodash-es/propertyOf.es.js +0 -1
  813. package/vendor/lodash-es/pull.es.js +0 -1
  814. package/vendor/lodash-es/pullAll.es.js +0 -1
  815. package/vendor/lodash-es/pullAllBy.es.js +0 -1
  816. package/vendor/lodash-es/pullAllWith.es.js +0 -1
  817. package/vendor/lodash-es/pullAt.es.js +0 -1
  818. package/vendor/lodash-es/random.es.js +0 -1
  819. package/vendor/lodash-es/range.es.js +0 -1
  820. package/vendor/lodash-es/rangeRight.es.js +0 -1
  821. package/vendor/lodash-es/rearg.es.js +0 -1
  822. package/vendor/lodash-es/reduce.es.js +0 -1
  823. package/vendor/lodash-es/reduceRight.es.js +0 -1
  824. package/vendor/lodash-es/reject.es.js +0 -1
  825. package/vendor/lodash-es/remove.es.js +0 -1
  826. package/vendor/lodash-es/repeat.es.js +0 -1
  827. package/vendor/lodash-es/replace.es.js +0 -1
  828. package/vendor/lodash-es/rest.es.js +0 -1
  829. package/vendor/lodash-es/result.es.js +0 -1
  830. package/vendor/lodash-es/reverse.es.js +0 -1
  831. package/vendor/lodash-es/round.es.js +0 -1
  832. package/vendor/lodash-es/sample.es.js +0 -1
  833. package/vendor/lodash-es/sampleSize.es.js +0 -1
  834. package/vendor/lodash-es/seq.default.es.js +0 -1
  835. package/vendor/lodash-es/seq.es.js +0 -1
  836. package/vendor/lodash-es/set.es.js +0 -1
  837. package/vendor/lodash-es/setWith.es.js +0 -1
  838. package/vendor/lodash-es/shuffle.es.js +0 -1
  839. package/vendor/lodash-es/size.es.js +0 -1
  840. package/vendor/lodash-es/slice.es.js +0 -1
  841. package/vendor/lodash-es/snakeCase.es.js +0 -1
  842. package/vendor/lodash-es/some.es.js +0 -1
  843. package/vendor/lodash-es/sortBy.es.js +0 -1
  844. package/vendor/lodash-es/sortedIndex.es.js +0 -1
  845. package/vendor/lodash-es/sortedIndexBy.es.js +0 -1
  846. package/vendor/lodash-es/sortedIndexOf.es.js +0 -1
  847. package/vendor/lodash-es/sortedLastIndex.es.js +0 -1
  848. package/vendor/lodash-es/sortedLastIndexBy.es.js +0 -1
  849. package/vendor/lodash-es/sortedLastIndexOf.es.js +0 -1
  850. package/vendor/lodash-es/sortedUniq.es.js +0 -1
  851. package/vendor/lodash-es/sortedUniqBy.es.js +0 -1
  852. package/vendor/lodash-es/split.es.js +0 -1
  853. package/vendor/lodash-es/spread.es.js +0 -1
  854. package/vendor/lodash-es/startCase.es.js +0 -1
  855. package/vendor/lodash-es/startsWith.es.js +0 -1
  856. package/vendor/lodash-es/string.default.es.js +0 -1
  857. package/vendor/lodash-es/string.es.js +0 -1
  858. package/vendor/lodash-es/stubArray.es.js +0 -6
  859. package/vendor/lodash-es/stubFalse.es.js +0 -6
  860. package/vendor/lodash-es/stubObject.es.js +0 -1
  861. package/vendor/lodash-es/stubString.es.js +0 -1
  862. package/vendor/lodash-es/stubTrue.es.js +0 -1
  863. package/vendor/lodash-es/subtract.es.js +0 -1
  864. package/vendor/lodash-es/sum.es.js +0 -1
  865. package/vendor/lodash-es/sumBy.es.js +0 -1
  866. package/vendor/lodash-es/tail.es.js +0 -1
  867. package/vendor/lodash-es/take.es.js +0 -1
  868. package/vendor/lodash-es/takeRight.es.js +0 -1
  869. package/vendor/lodash-es/takeRightWhile.es.js +0 -1
  870. package/vendor/lodash-es/takeWhile.es.js +0 -1
  871. package/vendor/lodash-es/tap.es.js +0 -1
  872. package/vendor/lodash-es/template.es.js +0 -1
  873. package/vendor/lodash-es/templateSettings.es.js +0 -1
  874. package/vendor/lodash-es/throttle.es.js +0 -1
  875. package/vendor/lodash-es/thru.es.js +0 -1
  876. package/vendor/lodash-es/times.es.js +0 -1
  877. package/vendor/lodash-es/toArray.es.js +0 -1
  878. package/vendor/lodash-es/toFinite.es.js +0 -1
  879. package/vendor/lodash-es/toInteger.es.js +0 -1
  880. package/vendor/lodash-es/toIterator.es.js +0 -1
  881. package/vendor/lodash-es/toJSON.es.js +0 -1
  882. package/vendor/lodash-es/toLength.es.js +0 -1
  883. package/vendor/lodash-es/toLower.es.js +0 -1
  884. package/vendor/lodash-es/toNumber.es.js +0 -29
  885. package/vendor/lodash-es/toPairs.es.js +0 -1
  886. package/vendor/lodash-es/toPairsIn.es.js +0 -1
  887. package/vendor/lodash-es/toPath.es.js +0 -1
  888. package/vendor/lodash-es/toPlainObject.es.js +0 -1
  889. package/vendor/lodash-es/toSafeInteger.es.js +0 -1
  890. package/vendor/lodash-es/toString.es.js +0 -6
  891. package/vendor/lodash-es/toUpper.es.js +0 -1
  892. package/vendor/lodash-es/transform.es.js +0 -1
  893. package/vendor/lodash-es/trim.es.js +0 -1
  894. package/vendor/lodash-es/trimEnd.es.js +0 -1
  895. package/vendor/lodash-es/trimStart.es.js +0 -1
  896. package/vendor/lodash-es/truncate.es.js +0 -1
  897. package/vendor/lodash-es/unary.es.js +0 -1
  898. package/vendor/lodash-es/unescape.es.js +0 -1
  899. package/vendor/lodash-es/union.es.js +0 -1
  900. package/vendor/lodash-es/unionBy.es.js +0 -1
  901. package/vendor/lodash-es/unionWith.es.js +0 -1
  902. package/vendor/lodash-es/uniq.es.js +0 -1
  903. package/vendor/lodash-es/uniqBy.es.js +0 -1
  904. package/vendor/lodash-es/uniqWith.es.js +0 -1
  905. package/vendor/lodash-es/uniqueId.es.js +0 -9
  906. package/vendor/lodash-es/unset.es.js +0 -1
  907. package/vendor/lodash-es/unzip.es.js +0 -1
  908. package/vendor/lodash-es/unzipWith.es.js +0 -1
  909. package/vendor/lodash-es/update.es.js +0 -1
  910. package/vendor/lodash-es/updateWith.es.js +0 -1
  911. package/vendor/lodash-es/upperCase.es.js +0 -1
  912. package/vendor/lodash-es/upperFirst.es.js +0 -1
  913. package/vendor/lodash-es/util.default.es.js +0 -1
  914. package/vendor/lodash-es/util.es.js +0 -1
  915. package/vendor/lodash-es/value.es.js +0 -1
  916. package/vendor/lodash-es/valueOf.es.js +0 -1
  917. package/vendor/lodash-es/values.es.js +0 -1
  918. package/vendor/lodash-es/valuesIn.es.js +0 -1
  919. package/vendor/lodash-es/without.es.js +0 -1
  920. package/vendor/lodash-es/words.es.js +0 -1
  921. package/vendor/lodash-es/wrap.es.js +0 -1
  922. package/vendor/lodash-es/wrapperAt.es.js +0 -1
  923. package/vendor/lodash-es/wrapperChain.es.js +0 -1
  924. package/vendor/lodash-es/wrapperLodash.es.js +0 -1
  925. package/vendor/lodash-es/wrapperReverse.es.js +0 -1
  926. package/vendor/lodash-es/wrapperValue.es.js +0 -1
  927. package/vendor/lodash-es/xor.es.js +0 -1
  928. package/vendor/lodash-es/xorBy.es.js +0 -1
  929. package/vendor/lodash-es/xorWith.es.js +0 -1
  930. package/vendor/lodash-es/zip.es.js +0 -1
  931. package/vendor/lodash-es/zipObject.es.js +0 -1
  932. package/vendor/lodash-es/zipObjectDeep.es.js +0 -1
  933. package/vendor/lodash-es/zipWith.es.js +0 -1
  934. package/vendor/orderedmap/dist/index.es.js +0 -119
  935. package/vendor/primevue/api/api.esm.es.js +0 -276
  936. package/vendor/primevue/avatar/avatar.esm.es.js +0 -85
  937. package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +0 -21
  938. package/vendor/primevue/avatargroup/avatargroup.esm.es.js +0 -27
  939. package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +0 -11
  940. package/vendor/primevue/badge/badge.esm.es.js +0 -43
  941. package/vendor/primevue/badge/style/badgestyle.esm.es.js +0 -26
  942. package/vendor/primevue/base/style/basestyle.esm.es.js +0 -129
  943. package/vendor/primevue/basecomponent/basecomponent.esm.es.js +0 -475
  944. package/vendor/primevue/basedirective/basedirective.esm.es.js +0 -326
  945. package/vendor/primevue/baseicon/baseicon.esm.es.js +0 -87
  946. package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +0 -9
  947. package/vendor/primevue/button/button.esm.es.js +0 -167
  948. package/vendor/primevue/button/style/buttonstyle.esm.es.js +0 -63
  949. package/vendor/primevue/card/card.esm.es.js +0 -41
  950. package/vendor/primevue/card/style/cardstyle.esm.es.js +0 -18
  951. package/vendor/primevue/checkbox/checkbox.esm.es.js +0 -197
  952. package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +0 -22
  953. package/vendor/primevue/config/config.esm.es.js +0 -230
  954. package/vendor/primevue/dialog/dialog.esm.es.js +0 -641
  955. package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +0 -59
  956. package/vendor/primevue/dropdown/dropdown.esm.es.js +0 -1443
  957. package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +0 -67
  958. package/vendor/primevue/fileupload/fileupload.esm.es.js +0 -870
  959. package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +0 -37
  960. package/vendor/primevue/focustrap/focustrap.esm.es.js +0 -167
  961. package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +0 -4
  962. package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +0 -26
  963. package/vendor/primevue/icons/angledoubleright/index.esm.es.js +0 -26
  964. package/vendor/primevue/icons/angledown/index.esm.es.js +0 -24
  965. package/vendor/primevue/icons/angleleft/index.esm.es.js +0 -24
  966. package/vendor/primevue/icons/angleright/index.esm.es.js +0 -24
  967. package/vendor/primevue/icons/angleup/index.esm.es.js +0 -24
  968. package/vendor/primevue/icons/blank/index.esm.es.js +0 -26
  969. package/vendor/primevue/icons/check/index.esm.es.js +0 -24
  970. package/vendor/primevue/icons/chevrondown/index.esm.es.js +0 -24
  971. package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +0 -32
  972. package/vendor/primevue/icons/eye/index.esm.es.js +0 -26
  973. package/vendor/primevue/icons/eyeslash/index.esm.es.js +0 -26
  974. package/vendor/primevue/icons/infocircle/index.esm.es.js +0 -26
  975. package/vendor/primevue/icons/plus/index.esm.es.js +0 -24
  976. package/vendor/primevue/icons/refresh/index.esm.es.js +0 -26
  977. package/vendor/primevue/icons/search/index.esm.es.js +0 -26
  978. package/vendor/primevue/icons/searchminus/index.esm.es.js +0 -26
  979. package/vendor/primevue/icons/searchplus/index.esm.es.js +0 -26
  980. package/vendor/primevue/icons/spinner/index.esm.es.js +0 -24
  981. package/vendor/primevue/icons/times/index.esm.es.js +0 -24
  982. package/vendor/primevue/icons/timescircle/index.esm.es.js +0 -26
  983. package/vendor/primevue/icons/undo/index.esm.es.js +0 -26
  984. package/vendor/primevue/icons/upload/index.esm.es.js +0 -26
  985. package/vendor/primevue/icons/windowmaximize/index.esm.es.js +0 -26
  986. package/vendor/primevue/icons/windowminimize/index.esm.es.js +0 -26
  987. package/vendor/primevue/image/image.esm.es.js +0 -426
  988. package/vendor/primevue/image/style/imagestyle.esm.es.js +0 -40
  989. package/vendor/primevue/inputgroup/inputgroup.esm.es.js +0 -27
  990. package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +0 -11
  991. package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +0 -27
  992. package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +0 -11
  993. package/vendor/primevue/inputnumber/inputnumber.esm.es.js +0 -1205
  994. package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +0 -40
  995. package/vendor/primevue/inputtext/inputtext.esm.es.js +0 -68
  996. package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +0 -20
  997. package/vendor/primevue/menu/menu.esm.es.js +0 -606
  998. package/vendor/primevue/menu/style/menustyle.esm.es.js +0 -33
  999. package/vendor/primevue/message/message.esm.es.js +0 -215
  1000. package/vendor/primevue/message/style/messagestyle.esm.es.js +0 -19
  1001. package/vendor/primevue/multiselect/multiselect.esm.es.js +0 -1631
  1002. package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +0 -76
  1003. package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +0 -5
  1004. package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +0 -400
  1005. package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +0 -19
  1006. package/vendor/primevue/paginator/paginator.esm.es.js +0 -882
  1007. package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +0 -88
  1008. package/vendor/primevue/password/password.esm.es.js +0 -516
  1009. package/vendor/primevue/password/style/passwordstyle.esm.es.js +0 -47
  1010. package/vendor/primevue/portal/portal.esm.es.js +0 -40
  1011. package/vendor/primevue/progressbar/progressbar.esm.es.js +0 -74
  1012. package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +0 -20
  1013. package/vendor/primevue/ripple/ripple.esm.es.js +0 -118
  1014. package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +0 -11
  1015. package/vendor/primevue/selectbutton/selectbutton.esm.es.js +0 -324
  1016. package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +0 -25
  1017. package/vendor/primevue/skeleton/skeleton.esm.es.js +0 -69
  1018. package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +0 -23
  1019. package/vendor/primevue/textarea/style/textareastyle.esm.es.js +0 -19
  1020. package/vendor/primevue/textarea/textarea.esm.es.js +0 -86
  1021. package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +0 -20
  1022. package/vendor/primevue/timeline/timeline.esm.es.js +0 -87
  1023. package/vendor/primevue/toast/style/toaststyle.esm.es.js +0 -81
  1024. package/vendor/primevue/toast/toast.esm.es.js +0 -500
  1025. package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +0 -5
  1026. package/vendor/primevue/toastservice/toastservice.esm.es.js +0 -25
  1027. package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +0 -13
  1028. package/vendor/primevue/tooltip/tooltip.esm.es.js +0 -453
  1029. package/vendor/primevue/usestyle/usestyle.esm.es.js +0 -115
  1030. package/vendor/primevue/usetoast/usetoast.esm.es.js +0 -13
  1031. package/vendor/primevue/utils/utils.esm.es.js +0 -1386
  1032. package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +0 -9
  1033. package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +0 -931
  1034. package/vendor/prosemirror-commands/dist/index.es.js +0 -521
  1035. package/vendor/prosemirror-history/dist/index.es.js +0 -356
  1036. package/vendor/prosemirror-keymap/dist/index.es.js +0 -80
  1037. package/vendor/prosemirror-model/dist/index.es.js +0 -3205
  1038. package/vendor/prosemirror-schema-list/dist/index.es.js +0 -129
  1039. package/vendor/prosemirror-state/dist/index.es.js +0 -934
  1040. package/vendor/prosemirror-transform/dist/index.es.js +0 -1824
  1041. package/vendor/prosemirror-view/dist/index.es.js +0 -5150
  1042. package/vendor/rope-sequence/dist/index.es.js +0 -183
  1043. package/vendor/simplebar-core/dist/index.es.js +0 -767
  1044. package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +0 -189
  1045. package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +0 -669
  1046. package/vendor/tippy.js/dist/tippy.esm.es.js +0 -1168
  1047. package/vendor/vee-validate/dist/vee-validate.esm.es.js +0 -2042
  1048. package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +0 -1382
  1049. package/vendor/vue-demi/lib/index.es.js +0 -1
  1050. package/vendor/w3c-keyname/index.es.js +0 -104
  1051. package/wangsvue.esm.browser.js +0 -67705
@@ -1,1382 +0,0 @@
1
- import { createBlock, openBlock, renderSlot, resolveComponent, createVNode, withCtx, Fragment, renderList, resolveDynamicComponent, withDirectives, vShow, mergeProps, createCommentVNode, withModifiers } from "vue";
2
- function p(t, e) {
3
- var i = Object.keys(t);
4
- if (Object.getOwnPropertySymbols) {
5
- var n = Object.getOwnPropertySymbols(t);
6
- e && (n = n.filter(function(e2) {
7
- return Object.getOwnPropertyDescriptor(t, e2).enumerable;
8
- })), i.push.apply(i, n);
9
- }
10
- return i;
11
- }
12
- function g(t) {
13
- for (var e = 1; e < arguments.length; e++) {
14
- var i = null != arguments[e] ? arguments[e] : {};
15
- e % 2 ? p(Object(i), true).forEach(function(e2) {
16
- f(t, e2, i[e2]);
17
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : p(Object(i)).forEach(function(e2) {
18
- Object.defineProperty(t, e2, Object.getOwnPropertyDescriptor(i, e2));
19
- });
20
- }
21
- return t;
22
- }
23
- function f(t, e, i) {
24
- return e in t ? Object.defineProperty(t, e, { value: i, enumerable: true, configurable: true, writable: true }) : t[e] = i, t;
25
- }
26
- function v(t, e) {
27
- if (null == t) return {};
28
- var i, n, s = function(t2, e2) {
29
- if (null == t2) return {};
30
- var i2, n2, s2 = {}, o2 = Object.keys(t2);
31
- for (n2 = 0; n2 < o2.length; n2++) i2 = o2[n2], e2.indexOf(i2) >= 0 || (s2[i2] = t2[i2]);
32
- return s2;
33
- }(t, e);
34
- if (Object.getOwnPropertySymbols) {
35
- var o = Object.getOwnPropertySymbols(t);
36
- for (n = 0; n < o.length; n++) i = o[n], e.indexOf(i) >= 0 || Object.prototype.propertyIsEnumerable.call(t, i) && (s[i] = t[i]);
37
- }
38
- return s;
39
- }
40
- function b(t) {
41
- return function(t2) {
42
- if (Array.isArray(t2)) return w(t2);
43
- }(t) || function(t2) {
44
- if ("undefined" != typeof Symbol && null != t2[Symbol.iterator] || null != t2["@@iterator"]) return Array.from(t2);
45
- }(t) || function(t2, e) {
46
- if (!t2) return;
47
- if ("string" == typeof t2) return w(t2, e);
48
- var i = Object.prototype.toString.call(t2).slice(8, -1);
49
- "Object" === i && t2.constructor && (i = t2.constructor.name);
50
- if ("Map" === i || "Set" === i) return Array.from(t2);
51
- if ("Arguments" === i || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return w(t2, e);
52
- }(t) || function() {
53
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
54
- }();
55
- }
56
- function w(t, e) {
57
- (null == e || e > t.length) && (e = t.length);
58
- for (var i = 0, n = new Array(e); i < e; i++) n[i] = t[i];
59
- return n;
60
- }
61
- var y, z, R, A = (y = function(t) {
62
- /*!
63
- Copyright (c) 2018 Jed Watson.
64
- Licensed under the MIT License (MIT), see
65
- http://jedwatson.github.io/classnames
66
- */
67
- !function() {
68
- var e = {}.hasOwnProperty;
69
- function i() {
70
- for (var t2 = [], n = 0; n < arguments.length; n++) {
71
- var s = arguments[n];
72
- if (s) {
73
- var o = typeof s;
74
- if ("string" === o || "number" === o) t2.push(s);
75
- else if (Array.isArray(s)) {
76
- if (s.length) {
77
- var r = i.apply(null, s);
78
- r && t2.push(r);
79
- }
80
- } else if ("object" === o) if (s.toString === Object.prototype.toString) for (var a in s) e.call(s, a) && s[a] && t2.push(a);
81
- else t2.push(s.toString());
82
- }
83
- }
84
- return t2.join(" ");
85
- }
86
- t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
87
- }();
88
- }, y(R = { path: z, exports: {}, require: function(t, e) {
89
- return function() {
90
- throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
91
- }(null == e && R.path);
92
- } }, R.exports), R.exports), M = function(t) {
93
- return function(e, i) {
94
- if (!e) return t;
95
- var n;
96
- "string" == typeof e ? n = e : i = e;
97
- var s = t;
98
- return n && (s += "__" + n), s + (i ? Object.keys(i).reduce(function(t2, e2) {
99
- var n2 = i[e2];
100
- return n2 && (t2 += " " + ("boolean" == typeof n2 ? s + "--" + e2 : s + "--" + e2 + "_" + n2)), t2;
101
- }, "") : "");
102
- };
103
- };
104
- function S(t, e, i) {
105
- var n, s, o, r, a;
106
- function h() {
107
- var c2 = Date.now() - r;
108
- c2 < e && c2 >= 0 ? n = setTimeout(h, e - c2) : (n = null, i || (a = t.apply(o, s), o = s = null));
109
- }
110
- null == e && (e = 100);
111
- var c = function() {
112
- o = this, s = arguments, r = Date.now();
113
- var c2 = i && !n;
114
- return n || (n = setTimeout(h, e)), c2 && (a = t.apply(o, s), o = s = null), a;
115
- };
116
- return c.clear = function() {
117
- n && (clearTimeout(n), n = null);
118
- }, c.flush = function() {
119
- n && (a = t.apply(o, s), o = s = null, clearTimeout(n), n = null);
120
- }, c;
121
- }
122
- S.debounce = S;
123
- var x = S, C = function() {
124
- return C = Object.assign || function(t) {
125
- for (var e, i = 1, n = arguments.length; i < n; i++) for (var s in e = arguments[i]) Object.prototype.hasOwnProperty.call(e, s) && (t[s] = e[s]);
126
- return t;
127
- }, C.apply(this, arguments);
128
- };
129
- /*! *****************************************************************************
130
- Copyright (c) Microsoft Corporation.
131
-
132
- Permission to use, copy, modify, and/or distribute this software for any
133
- purpose with or without fee is hereby granted.
134
-
135
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
136
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
137
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
138
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
139
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
140
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
141
- PERFORMANCE OF THIS SOFTWARE.
142
- ***************************************************************************** */
143
- function E(t, e) {
144
- var i, n;
145
- return t && e ? (i = "" + t + e[0].toUpperCase() + e.slice(1), n = t + "-" + e) : (i = t || e, n = t || e), { name: i, classname: n };
146
- }
147
- function W(t) {
148
- return /^blob:/.test(t);
149
- }
150
- function T(t) {
151
- return W(t) || function(t2) {
152
- return /^data:/.test(t2);
153
- }(t);
154
- }
155
- function O(t) {
156
- return !!(t && t.constructor && t.call && t.apply);
157
- }
158
- function D(t) {
159
- return void 0 === t;
160
- }
161
- function H(t) {
162
- return "object" == typeof t && null !== t;
163
- }
164
- function j(t, e, i) {
165
- var n = {};
166
- return H(t) ? (Object.keys(e).forEach(function(s) {
167
- D(t[s]) ? n[s] = e[s] : H(e[s]) ? H(t[s]) ? n[s] = j(t[s], e[s], i[s]) : n[s] = t[s] ? e[s] : i[s] : true === e[s] || false === e[s] ? n[s] = Boolean(t[s]) : n[s] = t[s];
168
- }), n) : t ? e : i;
169
- }
170
- function L(t) {
171
- var e = Number(t);
172
- return Number.isNaN(e) ? t : e;
173
- }
174
- function P(t) {
175
- return typeof ("number" == t || /* @__PURE__ */ function(t2) {
176
- return "object" == typeof t2 && null !== t2;
177
- }(t) && "[object Number]" == toString.call(t)) && !$(t);
178
- }
179
- function $(t) {
180
- return t != t;
181
- }
182
- function I(t, e) {
183
- return Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2));
184
- }
185
- var B = function(t, e) {
186
- void 0 === t && (t = {}), void 0 === e && (e = {}), this.type = "manipulateImage", this.move = t, this.scale = e;
187
- }, X = function(t, e) {
188
- void 0 === e && (e = {}), this.type = "resize", this.directions = t, this.params = e;
189
- }, Y = function(t) {
190
- this.type = "move", this.directions = t;
191
- }, k = function() {
192
- function t(t2, e, i, n, s) {
193
- this.type = "drag", this.nativeEvent = t2, this.position = i, this.previousPosition = n, this.element = e, this.anchor = s;
194
- }
195
- return t.prototype.shift = function() {
196
- var t2 = this, e = t2.element, i = t2.anchor, n = t2.position;
197
- if (e) {
198
- var s = e.getBoundingClientRect(), o = s.left, r = s.top;
199
- return { left: n.left - o - i.left, top: n.top - r - i.top };
200
- }
201
- return { left: 0, top: 0 };
202
- }, t;
203
- }(), F = { name: "DraggableElement", props: { classname: { type: String } }, beforeMount: function() {
204
- window.addEventListener("mouseup", this.onMouseUp, { passive: false }), window.addEventListener("mousemove", this.onMouseMove, { passive: false }), window.addEventListener("touchmove", this.onTouchMove, { passive: false }), window.addEventListener("touchend", this.onTouchEnd, { passive: false });
205
- }, beforeUnmount: function() {
206
- window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
207
- }, mounted: function() {
208
- if (!this.$refs.draggable) throw new Error('You should add ref "draggable" to your root element to use draggable mixin');
209
- this.touches = [], this.hovered = false;
210
- }, methods: { onMouseOver: function() {
211
- this.hovered || (this.hovered = true, this.$emit("enter"));
212
- }, onMouseLeave: function() {
213
- this.hovered && !this.touches.length && (this.hovered = false, this.$emit("leave"));
214
- }, onTouchStart: function(t) {
215
- t.cancelable && !this.disabled && 1 === t.touches.length && (this.touches = b(t.touches), this.hovered || (this.$emit("enter"), this.hovered = true), t.touches.length && this.initAnchor(this.touches.reduce(function(e, i) {
216
- return { clientX: e.clientX + i.clientX / t.touches.length, clientY: e.clientY + i.clientY / t.touches.length };
217
- }, { clientX: 0, clientY: 0 })), t.preventDefault && t.preventDefault(), t.stopPropagation());
218
- }, onTouchEnd: function() {
219
- this.processEnd();
220
- }, onTouchMove: function(t) {
221
- this.touches.length && (this.processMove(t, t.touches), t.preventDefault && t.preventDefault(), t.stopPropagation && t.stopPropagation());
222
- }, onMouseDown: function(t) {
223
- if (!this.disabled) {
224
- var e = { fake: true, clientX: t.clientX, clientY: t.clientY };
225
- this.touches = [e], this.initAnchor(e), t.stopPropagation();
226
- }
227
- }, onMouseMove: function(t) {
228
- this.touches.length && (this.processMove(t, [{ fake: true, clientX: t.clientX, clientY: t.clientY }]), t.preventDefault && t.preventDefault());
229
- }, onMouseUp: function() {
230
- this.processEnd();
231
- }, initAnchor: function(t) {
232
- var e = this.$refs.draggable.getBoundingClientRect(), i = e.left, n = e.right, s = e.bottom, o = e.top;
233
- this.anchor = { left: t.clientX - i, top: t.clientY - o, bottom: s - t.clientY, right: n - t.clientX };
234
- }, processMove: function(t, e) {
235
- var i = b(e);
236
- if (this.touches.length) {
237
- if (1 === this.touches.length && 1 === i.length) {
238
- var n = this.$refs.draggable;
239
- this.$emit("drag", new k(t, n, { left: i[0].clientX, top: i[0].clientY }, { left: this.touches[0].clientX, top: this.touches[0].clientY }, this.anchor));
240
- }
241
- this.touches = i;
242
- }
243
- }, processEnd: function() {
244
- this.touches.length && this.$emit("drag-end"), this.hovered && (this.$emit("leave"), this.hovered = false), this.touches = [];
245
- } }, emits: ["drag", "drag-end", "leave", "enter"] };
246
- F.render = function(n, s, o, r, a, h) {
247
- return openBlock(), createBlock("div", { ref: "draggable", class: o.classname, onTouchstart: s[1] || (s[1] = function() {
248
- return h.onTouchStart && h.onTouchStart.apply(h, arguments);
249
- }), onMousedown: s[2] || (s[2] = function() {
250
- return h.onMouseDown && h.onMouseDown.apply(h, arguments);
251
- }), onMouseover: s[3] || (s[3] = function() {
252
- return h.onMouseOver && h.onMouseOver.apply(h, arguments);
253
- }), onMouseleave: s[4] || (s[4] = function() {
254
- return h.onMouseLeave && h.onMouseLeave.apply(h, arguments);
255
- }) }, [renderSlot(n.$slots, "default")], 34);
256
- };
257
- var U = M("vue-handler-wrapper"), N = { name: "HandlerWrapper", components: { DraggableElement: F }, props: { horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: false } }, computed: { classes: function() {
258
- var t;
259
- if (this.horizontalPosition || this.verticalPosition) {
260
- var e, i = E(this.horizontalPosition, this.verticalPosition);
261
- t = U((f(e = {}, i.classname, true), f(e, "disabled", this.disabled), e));
262
- } else t = U({ disabled: this.disabled });
263
- return { root: t, draggable: U("draggable") };
264
- } }, emits: ["leave", "enter", "drag", "drag-end"] };
265
- N.render = function(r, a, h, c, l, u) {
266
- var d = resolveComponent("DraggableElement");
267
- return openBlock(), createBlock("div", { class: u.classes.root }, [createVNode(d, { class: u.classes.draggable, onDrag: a[1] || (a[1] = function(t) {
268
- return r.$emit("drag", t);
269
- }), onDragEnd: a[2] || (a[2] = function(t) {
270
- return r.$emit("drag-end");
271
- }), onLeave: a[3] || (a[3] = function(t) {
272
- return r.$emit("leave");
273
- }), onEnter: a[4] || (a[4] = function(t) {
274
- return r.$emit("enter");
275
- }) }, { default: withCtx(function() {
276
- return [renderSlot(r.$slots, "default")];
277
- }), _: 3 }, 8, ["class"])], 2);
278
- };
279
- var Z = M("vue-line-wrapper"), q = { name: "LineWrapper", components: { DraggableElement: F }, props: { position: { type: String, required: true }, disabled: { type: Boolean, default: false } }, computed: { classname: function() {
280
- var t;
281
- return Z((f(t = {}, this.position, true), f(t, "disabled", this.disabled), t));
282
- } }, emits: ["leave", "enter", "drag", "drag-end"] };
283
- q.render = function(s, r, a, h, c, l) {
284
- var u = resolveComponent("DraggableElement");
285
- return openBlock(), createBlock(u, { class: l.classname, onDrag: r[1] || (r[1] = function(t) {
286
- return s.$emit("drag", t);
287
- }), onDragEnd: r[2] || (r[2] = function(t) {
288
- return s.$emit("drag-end");
289
- }), onLeave: r[3] || (r[3] = function(t) {
290
- return s.$emit("leave");
291
- }), onEnter: r[4] || (r[4] = function(t) {
292
- return s.$emit("enter");
293
- }) }, { default: withCtx(function() {
294
- return [renderSlot(s.$slots, "default")];
295
- }), _: 3 }, 8, ["class"]);
296
- };
297
- var V = ["left", "right", "top", "bottom"], _ = ["left", "right"], G = ["top", "bottom"], Q = ["left", "top"], K = ["fill-area", "fit-area", "stencil", "none"], J = { left: 0, top: 0, width: 0, height: 0 };
298
- function tt(t, e, i) {
299
- return !(i = i || ["width", "height", "left", "top"]).some(function(i2) {
300
- return t[i2] !== e[i2];
301
- });
302
- }
303
- function et(t) {
304
- return { left: t.left, top: t.top, right: t.left + t.width, bottom: t.top + t.height };
305
- }
306
- function it(t, e) {
307
- return { left: t.left - e.left, top: t.top - e.top };
308
- }
309
- function nt(t) {
310
- return { left: t.left + t.width / 2, top: t.top + t.height / 2 };
311
- }
312
- function st(t, e) {
313
- var i = { left: 0, top: 0, right: 0, bottom: 0 };
314
- return V.forEach(function(n) {
315
- var s = e[n], o = et(t)[n];
316
- i[n] = void 0 !== s && void 0 !== o ? "left" === n || "top" === n ? Math.max(0, s - o) : Math.max(0, o - s) : 0;
317
- }), i;
318
- }
319
- function ot(t, e) {
320
- return { left: t.left - e.left, top: t.top - e.top, width: t.width + e.left + e.right, height: t.height + e.top + e.bottom };
321
- }
322
- function rt(t) {
323
- return { left: -t.left, top: -t.top };
324
- }
325
- function at(t, e) {
326
- return C(C({}, t), { left: t.left + e.left, top: t.top + e.top });
327
- }
328
- function ht(t, e, i, n) {
329
- if (1 !== e) {
330
- if (i) {
331
- var s = nt(t);
332
- return { width: t.width * e, height: t.height * e, left: t.left + t.width * (1 - e) / 2 + (i.left - s.left) * (1 - e), top: t.top + t.height * (1 - e) / 2 + (i.top - s.top) * (1 - e) };
333
- }
334
- return { width: t.width * e, height: t.height * e, left: t.left + t.width * (1 - e) / 2, top: t.top + t.height * (1 - e) / 2 };
335
- }
336
- return t;
337
- }
338
- function ct(t) {
339
- return t.width / t.height;
340
- }
341
- function lt(t, e) {
342
- return Math.min(void 0 !== e.right && void 0 !== e.left ? (e.right - e.left) / t.width : 1 / 0, void 0 !== e.bottom && void 0 !== e.top ? (e.bottom - e.top) / t.height : 1 / 0);
343
- }
344
- function ut(t, e) {
345
- var i = { left: 0, top: 0 }, n = st(t, e);
346
- return n.left && n.left > 0 ? i.left = n.left : n.right && n.right > 0 && (i.left = -n.right), n.top && n.top > 0 ? i.top = n.top : n.bottom && n.bottom > 0 && (i.top = -n.bottom), i;
347
- }
348
- function dt(t, e) {
349
- var i;
350
- return e.minimum && t < e.minimum ? i = e.minimum : e.maximum && t > e.maximum && (i = e.maximum), i;
351
- }
352
- function mt(t, e) {
353
- var i = ct(t), n = ct(e);
354
- return e.width < 1 / 0 && e.height < 1 / 0 ? i > n ? { width: e.width, height: e.width / i } : { width: e.height * i, height: e.height } : e.width < 1 / 0 ? { width: e.width, height: e.width / i } : e.height < 1 / 0 ? { width: e.height * i, height: e.height } : t;
355
- }
356
- function pt(t, e) {
357
- var i = e * Math.PI / 180;
358
- return { width: Math.abs(t.width * Math.cos(i)) + Math.abs(t.height * Math.sin(i)), height: Math.abs(t.width * Math.sin(i)) + Math.abs(t.height * Math.cos(i)) };
359
- }
360
- function gt(t, e) {
361
- var i = e * Math.PI / 180;
362
- return { left: t.left * Math.cos(i) - t.top * Math.sin(i), top: t.left * Math.sin(i) + t.top * Math.cos(i) };
363
- }
364
- function ft(t, e) {
365
- var i = st(vt(t, e), e);
366
- return i.left + i.right + i.top + i.bottom ? i.left + i.right > i.top + i.bottom ? Math.min((t.width + i.left + i.right) / t.width, lt(t, e)) : Math.min((t.height + i.top + i.bottom) / t.height, lt(t, e)) : 1;
367
- }
368
- function vt(t, e, i) {
369
- void 0 === i && (i = false);
370
- var n = ut(t, e);
371
- return at(t, i ? rt(n) : n);
372
- }
373
- function bt(t) {
374
- return { width: void 0 !== t.right && void 0 !== t.left ? t.right - t.left : 1 / 0, height: void 0 !== t.bottom && void 0 !== t.top ? t.bottom - t.top : 1 / 0 };
375
- }
376
- function wt(t, e) {
377
- return C(C({}, t), { minWidth: Math.min(e.width, t.minWidth), minHeight: Math.min(e.height, t.minHeight), maxWidth: Math.min(e.width, t.maxWidth), maxHeight: Math.min(e.height, t.maxHeight) });
378
- }
379
- function yt(t, e, i) {
380
- void 0 === i && (i = true);
381
- var n = {};
382
- return V.forEach(function(s) {
383
- var o = t[s], r = e[s];
384
- void 0 !== o && void 0 !== r ? n[s] = "left" === s || "top" === s ? i ? Math.max(o, r) : Math.min(o, r) : i ? Math.min(o, r) : Math.max(o, r) : void 0 !== r ? n[s] = r : void 0 !== o && (n[s] = o);
385
- }), n;
386
- }
387
- function zt(t, e) {
388
- return yt(t, e, true);
389
- }
390
- function Rt(t) {
391
- var e = t.size, i = t.aspectRatio, n = t.ignoreMinimum, s = t.sizeRestrictions;
392
- return Boolean((e.correctRatio || ct(e) >= i.minimum && ct(e) <= i.maximum) && e.height <= s.maxHeight && e.width <= s.maxWidth && e.width && e.height && (n || e.height >= s.minHeight && e.width >= s.minWidth));
393
- }
394
- function At(t, e) {
395
- return Math.pow(t.width - e.width, 2) + Math.pow(t.height - e.height, 2);
396
- }
397
- function Mt(t) {
398
- var e = t.width, i = t.height, n = t.sizeRestrictions, s = { minimum: t.aspectRatio && t.aspectRatio.minimum || 0, maximum: t.aspectRatio && t.aspectRatio.maximum || 1 / 0 }, o = { width: Math.max(n.minWidth, Math.min(n.maxWidth, e)), height: Math.max(n.minHeight, Math.min(n.maxHeight, i)) };
399
- function r(t2, o2) {
400
- return void 0 === o2 && (o2 = false), t2.reduce(function(t3, r2) {
401
- return Rt({ size: r2, aspectRatio: s, sizeRestrictions: n, ignoreMinimum: o2 }) && (!t3 || At(r2, { width: e, height: i }) < At(t3, { width: e, height: i })) ? r2 : t3;
402
- }, null);
403
- }
404
- var a = [];
405
- s && [s.minimum, s.maximum].forEach(function(t2) {
406
- t2 && a.push({ width: o.width, height: o.width / t2, correctRatio: true }, { width: o.height * t2, height: o.height, correctRatio: true });
407
- }), Rt({ size: o, aspectRatio: s, sizeRestrictions: n }) && a.push(o);
408
- var h = r(a) || r(a, true);
409
- return h && { width: h.width, height: h.height };
410
- }
411
- function St(t) {
412
- var e = t.event, i = t.coordinates, n = t.positionRestrictions, s = void 0 === n ? {} : n, o = at(i, e.directions);
413
- return at(o, ut(o, s));
414
- }
415
- function xt(t) {
416
- var e = t.coordinates, i = t.transform, n = t.imageSize, s = t.sizeRestrictions, o = t.positionRestrictions, r = t.aspectRatio, a = t.visibleArea, h = function(t2, e2) {
417
- return St({ coordinates: t2, positionRestrictions: o, event: new Y({ left: e2.left - t2.left, top: e2.top - t2.top }) });
418
- }, c = C({}, e);
419
- return (Array.isArray(i) ? i : [i]).forEach(function(t2) {
420
- var e2 = {};
421
- D((e2 = "function" == typeof t2 ? t2({ coordinates: c, imageSize: n, visibleArea: a }) : t2).width) && D(e2.height) || (c = function(t3, e3) {
422
- var i2 = C(C(C({}, t3), Mt({ width: e3.width, height: e3.height, sizeRestrictions: s, aspectRatio: r })), { left: 0, top: 0 });
423
- return h(i2, { left: t3.left, top: t3.top });
424
- }(c, C(C({}, c), e2))), D(e2.left) && D(e2.top) || (c = h(c, C(C({}, c), e2)));
425
- }), c;
426
- }
427
- function Ct(t) {
428
- t.event;
429
- var e = t.getAreaRestrictions, i = t.boundaries, n = t.coordinates, s = t.visibleArea;
430
- t.aspectRatio;
431
- var o = t.stencilSize, r = t.sizeRestrictions, a = t.positionRestrictions;
432
- t.stencilReference;
433
- var h, c, l, u = C({}, n), d = C({}, s), m = C({}, o);
434
- h = ct(m), c = ct(u), void 0 === l && (l = 1e-3), (0 === h || 0 === c ? Math.abs(c - h) < l : Math.abs(c / h) < 1 + l && Math.abs(c / h) > 1 - l) || (u = C(C({}, u), Mt({ sizeRestrictions: r, width: u.width, height: u.height, aspectRatio: { minimum: ct(m), maximum: ct(m) } })));
435
- var p2 = ft(d = ht(d, u.width * i.width / (d.width * m.width)), e({ visibleArea: d, type: "resize" }));
436
- return 1 !== p2 && (d = ht(d, p2), u = ht(u, p2)), d = vt(d = at(d, it(nt(u), nt(d))), e({ visibleArea: d, type: "move" })), { coordinates: u = vt(u, zt(et(d), a)), visibleArea: d };
437
- }
438
- function Et(t) {
439
- var e = t.event, i = t.getAreaRestrictions, n = t.boundaries, s = t.coordinates, o = t.visibleArea;
440
- t.aspectRatio, t.stencilSize, t.sizeRestrictions;
441
- var r = t.positionRestrictions;
442
- t.stencilReference;
443
- var a = C({}, s), h = C({}, o);
444
- if (s && o && "manipulateImage" !== e.type) {
445
- var c = { width: 0, height: 0 };
446
- h.width, n.width, ct(n) > ct(a) ? (c.height = 0.8 * n.height, c.width = c.height * ct(a)) : (c.width = 0.8 * n.width, c.height = c.width * ct(a));
447
- var l = ft(h = ht(h, a.width * n.width / (h.width * c.width)), i({ visibleArea: h, type: "resize" }));
448
- h = ht(h, l), 1 !== l && (c.height /= l, c.width /= l), h = vt(h = at(h, it(nt(a), nt(h))), i({ visibleArea: h, type: "move" })), a = vt(a, zt(et(h), r));
449
- }
450
- return { coordinates: a, visibleArea: h };
451
- }
452
- function Wt(t) {
453
- var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.getAreaRestrictions, o = C({}, n), r = C({}, i);
454
- if ("setCoordinates" === e.type) {
455
- var a = Math.max(0, r.width - o.width), h = Math.max(0, r.height - o.height);
456
- a > h ? o = ht(o, Math.min(r.width / o.width, lt(o, s({ visibleArea: o, type: "resize" })))) : h > a && (o = ht(o, Math.min(r.height / o.height, lt(o, s({ visibleArea: o, type: "resize" }))))), o = vt(o = at(o, rt(ut(r, et(o)))), s({ visibleArea: o, type: "move" }));
457
- }
458
- return { visibleArea: o, coordinates: r };
459
- }
460
- function Tt(t) {
461
- var e = t.imageSize, i = t.visibleArea, n = t.coordinates, s = i || e;
462
- return { left: (i ? i.left : 0) + s.width / 2 - n.width / 2, top: (i ? i.top : 0) + s.height / 2 - n.height / 2 };
463
- }
464
- function Ot(t) {
465
- var e = t.imageSize, i = t.visibleArea, n = t.aspectRatio, s = t.sizeRestrictions, o = i || e, r = Math.min(n.maximum || 1 / 0, Math.max(n.minimum || 0, ct(o))), a = o.width < o.height ? { width: 0.8 * o.width, height: 0.8 * o.width / r } : { height: 0.8 * o.height, width: 0.8 * o.height * r };
466
- return Mt(C(C({}, a), { aspectRatio: n, sizeRestrictions: s }));
467
- }
468
- function Dt(t) {
469
- var e, i, n = t.imageSize, s = t.visibleArea, o = t.boundaries, r = t.aspectRatio, a = t.sizeRestrictions, h = t.stencilSize, c = s || n;
470
- return ct(c) > ct(o) ? i = (e = h.height * c.height / o.height) * ct(h) : e = (i = h.width * c.width / o.width) / ct(h), Mt({ width: i, height: e, aspectRatio: r, sizeRestrictions: a });
471
- }
472
- function Ht(t) {
473
- var e = t.getAreaRestrictions, i = t.coordinates, n = t.imageSize, s = ct(t.boundaries);
474
- if (i) {
475
- var o = { height: Math.max(i.height, n.height), width: Math.max(i.width, n.width) }, r = mt({ width: ct(o) > s ? o.width : o.height * s, height: ct(o) > s ? o.width / s : o.height }, bt(e())), a = { left: i.left + i.width / 2 - r.width / 2, top: i.top + i.height / 2 - r.height / 2, width: r.width, height: r.height }, h = st(i, et(C({ left: 0, top: 0 }, n))), c = {};
476
- return !h.left && !h.right && a.width <= n.width && (c.left = 0, c.right = n.width), !h.top && !h.bottom && a.height <= n.height && (c.top = 0, c.bottom = n.height), vt(a, c);
477
- }
478
- var l = ct(n);
479
- r = { height: l > s ? n.height : n.width / s, width: l > s ? n.height * s : n.width };
480
- return { left: n.width / 2 - r.width / 2, top: n.height / 2 - r.height / 2, width: r.width, height: r.height };
481
- }
482
- function jt(t, e) {
483
- return yt(t, et(e));
484
- }
485
- function Lt(t) {
486
- var e = t.event, i = t.coordinates, n = t.visibleArea, s = t.sizeRestrictions, o = t.getAreaRestrictions, r = t.positionRestrictions, a = t.adjustStencil, h = e.scale, c = e.move, l = C({}, n), u = C({}, i), d = 1, m = 1, p2 = h.factor && Math.abs(h.factor - 1) > 1e-3;
487
- l = at(l, { left: c.left || 0, top: c.top || 0 });
488
- var g2 = { stencil: { minimum: Math.max(s.minWidth ? s.minWidth / u.width : 0, s.minHeight ? s.minHeight / u.height : 0), maximum: Math.min(s.maxWidth ? s.maxWidth / u.width : 1 / 0, s.maxHeight ? s.maxHeight / u.height : 1 / 0, lt(u, r)) }, area: { maximum: lt(l, o({ visibleArea: l, type: "resize" })) } };
489
- h.factor && p2 && (h.factor < 1 ? (m = Math.max(h.factor, g2.stencil.minimum)) > 1 && (m = 1) : h.factor > 1 && (m = Math.min(h.factor, Math.min(g2.area.maximum, g2.stencil.maximum))) < 1 && (m = 1)), m && (l = ht(l, m, h.center));
490
- var f2 = i.left - n.left, v2 = n.width + n.left - (i.width + i.left), b2 = i.top - n.top, w2 = n.height + n.top - (i.height + i.top);
491
- return l = vt(l = at(l, ut(l, { left: void 0 !== r.left ? r.left - f2 * m : void 0, top: void 0 !== r.top ? r.top - b2 * m : void 0, bottom: void 0 !== r.bottom ? r.bottom + w2 * m : void 0, right: void 0 !== r.right ? r.right + v2 * m : void 0 })), o({ visibleArea: l, type: "move" })), u.width = u.width * m, u.height = u.height * m, u.left = l.left + f2 * m, u.top = l.top + b2 * m, u = vt(u, zt(et(l), r)), h.factor && p2 && a && (h.factor > 1 ? d = Math.min(g2.area.maximum, h.factor) / m : h.factor < 1 && (d = Math.max(u.height / l.height, u.width / l.width, h.factor / m)), 1 !== d && (l = at(l = vt(l = ht(l, d, h.factor > 1 ? h.center : nt(u)), o({ visibleArea: l, type: "move" })), rt(ut(u, et(l)))))), { coordinates: u, visibleArea: l };
492
- }
493
- function Pt(t) {
494
- var e = t.aspectRatio, i = t.getAreaRestrictions, n = t.coordinates, s = t.visibleArea, o = t.sizeRestrictions, r = t.positionRestrictions, a = t.imageSize, h = t.previousImageSize, c = t.angle, l = C({}, n), u = C({}, s), d = gt(nt(C({ left: 0, top: 0 }, h)), c);
495
- return (l = C(C({}, Mt({ sizeRestrictions: o, aspectRatio: e, width: l.width, height: l.height })), gt(nt(l), c))).left -= d.left - a.width / 2 + l.width / 2, l.top -= d.top - a.height / 2 + l.height / 2, u = ht(u, ft(u, i({ visibleArea: u, type: "resize" }))), { coordinates: l = vt(l, r), visibleArea: u = vt(u = at(u, it(nt(l), nt(n))), i({ visibleArea: u, type: "move" })) };
496
- }
497
- function $t(t) {
498
- var e = t.flip, i = t.previousFlip, n = t.rotate;
499
- var s = t.getAreaRestrictions, o = t.coordinates, r = t.visibleArea, a = t.imageSize, h = C({}, o), c = C({}, r), l = i.horizontal !== e.horizontal, u = i.vertical !== e.vertical;
500
- if (l || u) {
501
- var d = gt({ left: a.width / 2, top: a.height / 2 }, -n), m = gt(nt(h), -n), p2 = gt({ left: l ? d.left - (m.left - d.left) : m.left, top: u ? d.top - (m.top - d.top) : m.top }, n);
502
- h = at(h, it(p2, nt(h))), m = gt(nt(c), -n), c = vt(c = at(c, it(p2 = gt({ left: l ? d.left - (m.left - d.left) : m.left, top: u ? d.top - (m.top - d.top) : m.top }, n), nt(c))), s({ visibleArea: c, type: "move" }));
503
- }
504
- return { coordinates: h, visibleArea: c };
505
- }
506
- function It(t) {
507
- var e = t.directions, i = t.coordinates, n = t.positionRestrictions, s = void 0 === n ? {} : n, o = t.sizeRestrictions, r = t.preserveRatio, a = t.compensate, h = C({}, e), c = ot(i, h).width, l = ot(i, h).height;
508
- c < 0 && (h.left < 0 && h.right < 0 ? (h.left = -(i.width - o.minWidth) / (h.left / h.right), h.right = -(i.width - o.minWidth) / (h.right / h.left)) : h.left < 0 ? h.left = -(i.width - o.minWidth) : h.right < 0 && (h.right = -(i.width - o.minWidth))), l < 0 && (h.top < 0 && h.bottom < 0 ? (h.top = -(i.height - o.minHeight) / (h.top / h.bottom), h.bottom = -(i.height - o.minHeight) / (h.bottom / h.top)) : h.top < 0 ? h.top = -(i.height - o.minHeight) : h.bottom < 0 && (h.bottom = -(i.height - o.minHeight)));
509
- var u = st(ot(i, h), s);
510
- a && (u.left && u.left > 0 && 0 === u.right ? (h.right += u.left, h.left -= u.left) : u.right && u.right > 0 && 0 === u.left && (h.left += u.right, h.right -= u.right), u.top && u.top > 0 && 0 === u.bottom ? (h.bottom += u.top, h.top -= u.top) : u.bottom && u.bottom > 0 && 0 === u.top && (h.top += u.bottom, h.bottom -= u.bottom), u = st(ot(i, h), s));
511
- var d = { width: 1 / 0, height: 1 / 0, left: 1 / 0, right: 1 / 0, top: 1 / 0, bottom: 1 / 0 };
512
- if (V.forEach(function(t2) {
513
- var e2 = u[t2];
514
- e2 && h[t2] && (d[t2] = Math.max(0, 1 - e2 / h[t2]));
515
- }), r) {
516
- var m = Math.min.apply(null, V.map(function(t2) {
517
- return d[t2];
518
- }));
519
- m !== 1 / 0 && V.forEach(function(t2) {
520
- h[t2] *= m;
521
- });
522
- } else V.forEach(function(t2) {
523
- d[t2] !== 1 / 0 && (h[t2] *= d[t2]);
524
- });
525
- if (c = ot(i, h).width, l = ot(i, h).height, h.right + h.left && (c > o.maxWidth ? d.width = (o.maxWidth - i.width) / (h.right + h.left) : c < o.minWidth && (d.width = (o.minWidth - i.width) / (h.right + h.left))), h.bottom + h.top && (l > o.maxHeight ? d.height = (o.maxHeight - i.height) / (h.bottom + h.top) : l < o.minHeight && (d.height = (o.minHeight - i.height) / (h.bottom + h.top))), r) {
526
- var p2 = Math.min(d.width, d.height);
527
- p2 !== 1 / 0 && V.forEach(function(t2) {
528
- h[t2] *= p2;
529
- });
530
- } else d.width !== 1 / 0 && _.forEach(function(t2) {
531
- h[t2] *= d.width;
532
- }), d.height !== 1 / 0 && G.forEach(function(t2) {
533
- h[t2] *= d.height;
534
- });
535
- return h;
536
- }
537
- function Bt(t, e, i) {
538
- return 0 == e && 0 == i ? t / 2 : 0 == e ? 0 : 0 == i ? t : t * Math.abs(e / (e + i));
539
- }
540
- var Xt = M("vue-simple-handler"), Yt = M("vue-simple-handler-wrapper"), kt = { name: "SimpleHandler", components: { HandlerWrapper: N }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, horizontalPosition: { type: String }, verticalPosition: { type: String }, disabled: { type: Boolean, default: false } }, data: function() {
541
- return { hover: false };
542
- }, computed: { classes: function() {
543
- var t, e = (f(t = {}, this.horizontalPosition, Boolean(this.horizontalPosition)), f(t, this.verticalPosition, Boolean(this.verticalPosition)), f(t, "".concat(this.horizontalPosition, "-").concat(this.verticalPosition), Boolean(this.verticalPosition && this.horizontalPosition)), f(t, "hover", this.hover), t);
544
- return { default: A(Xt(e), this.defaultClass, this.hover && this.hoverClass), wrapper: A(Yt(e), this.wrapperClass) };
545
- } }, methods: { onDrag: function(t) {
546
- this.$emit("drag", t);
547
- }, onEnter: function() {
548
- this.hover = true;
549
- }, onLeave: function() {
550
- this.hover = false;
551
- }, onDragEnd: function() {
552
- this.$emit("drag-end");
553
- } }, emits: ["drag", "drag-end"] };
554
- kt.render = function(i, r, a, h, c, l) {
555
- var u = resolveComponent("HandlerWrapper");
556
- return openBlock(), createBlock(u, { class: l.classes.wrapper, "vertical-position": a.verticalPosition, "horizontal-position": a.horizontalPosition, disabled: a.disabled, onDrag: l.onDrag, onDragEnd: l.onDragEnd, onEnter: l.onEnter, onLeave: l.onLeave }, { default: withCtx(function() {
557
- return [createVNode("div", { class: l.classes.default }, null, 2)];
558
- }), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
559
- };
560
- var Ft = M("vue-simple-line"), Ut = M("vue-simple-line-wrapper"), Nt = { name: "SimpleLine", components: { LineWrapper: q }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: false } }, data: function() {
561
- return { hover: false };
562
- }, computed: { classes: function() {
563
- return { root: A(Ft(f({}, this.position, true)), this.defaultClass, this.hover && this.hoverClass), wrapper: A(Ut(f({}, this.position, true)), this.wrapperClass) };
564
- } }, methods: { onDrag: function(t) {
565
- this.$emit("drag", t);
566
- }, onEnter: function() {
567
- this.hover = true;
568
- }, onLeave: function() {
569
- this.hover = false;
570
- }, onDragEnd: function() {
571
- this.$emit("drag-end");
572
- } }, emits: ["drag", "drag-end"] };
573
- Nt.render = function(i, r, a, h, c, l) {
574
- var u = resolveComponent("LineWrapper");
575
- return openBlock(), createBlock(u, { class: l.classes.wrapper, position: a.position, disabled: a.disabled, onDrag: l.onDrag, onDragEnd: l.onDragEnd, onEnter: l.onEnter, onLeave: l.onLeave }, { default: withCtx(function() {
576
- return [createVNode("div", { class: l.classes.root }, null, 2)];
577
- }), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
578
- };
579
- var Zt = M("vue-bounding-box"), qt = ["east", "west", null], Vt = ["south", "north", null], _t = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
580
- return { eastNorth: true, north: true, westNorth: true, west: true, westSouth: true, south: true, eastSouth: true, east: true };
581
- } }, handlersComponent: { type: [Object, String], default: function() {
582
- return kt;
583
- } }, handlersClasses: { type: Object, default: function() {
584
- return {};
585
- } }, handlersWrappersClasses: { type: Object, default: function() {
586
- return {};
587
- } }, lines: { type: Object, default: function() {
588
- return { west: true, north: true, east: true, south: true };
589
- } }, linesComponent: { type: [Object, String], default: function() {
590
- return Nt;
591
- } }, linesClasses: { type: Object, default: function() {
592
- return {};
593
- } }, linesWrappersClasses: { type: Object, default: function() {
594
- return {};
595
- } }, resizable: { type: Boolean, default: true } }, data: function() {
596
- var t = [];
597
- return qt.forEach(function(e) {
598
- Vt.forEach(function(i) {
599
- if (e !== i) {
600
- var n = E(e, i), s = n.name, o = n.classname;
601
- t.push({ name: s, classname: o, verticalDirection: i, horizontalDirection: e });
602
- }
603
- });
604
- }), { points: t };
605
- }, computed: { style: function() {
606
- var t = {};
607
- return this.width && this.height && (t.width = "".concat(this.width, "px"), t.height = "".concat(this.height, "px"), this.transitions && this.transitions.enabled && (t.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction))), t;
608
- }, classes: function() {
609
- var t = this.handlersClasses, e = this.handlersWrappersClasses, i = this.linesClasses, n = this.linesWrappersClasses;
610
- return { root: Zt(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: n };
611
- }, lineNodes: function() {
612
- var t = this, e = [];
613
- return this.points.forEach(function(i) {
614
- i.horizontalDirection && i.verticalDirection || !t.lines[i.name] || e.push({ name: i.name, component: t.linesComponent, class: A(t.classes.lines.default, t.classes.lines[i.name], !t.resizable && t.classes.lines.disabled), wrapperClass: A(t.classes.linesWrappers.default, t.classes.linesWrappers[i.name], !t.resizable && t.classes.linesWrappers.disabled), hoverClass: t.classes.lines.hover, verticalDirection: i.verticalDirection, horizontalDirection: i.horizontalDirection, disabled: !t.resizable });
615
- }), e;
616
- }, handlerNodes: function() {
617
- var t = this, e = [], i = this.width, n = this.height;
618
- return this.points.forEach(function(s) {
619
- if (t.handlers[s.name]) {
620
- var o = { name: s.name, component: t.handlersComponent, class: A(t.classes.handlers.default, t.classes.handlers[s.name]), wrapperClass: A(t.classes.handlersWrappers.default, t.classes.handlersWrappers[s.name]), hoverClass: t.classes.handlers.hover, verticalDirection: s.verticalDirection, horizontalDirection: s.horizontalDirection, disabled: !t.resizable };
621
- if (i && n) {
622
- var r = s.horizontalDirection, a = s.verticalDirection, h = "east" === r ? i : "west" === r ? 0 : i / 2, c = "south" === a ? n : "north" === a ? 0 : n / 2;
623
- o.wrapperClass = Zt("handler"), o.wrapperStyle = { transform: "translate(".concat(h, "px, ").concat(c, "px)") }, t.transitions && t.transitions.enabled && (o.wrapperStyle.transition = "".concat(t.transitions.time, "ms ").concat(t.transitions.timingFunction));
624
- } else o.wrapperClass = Zt("handler", f({}, s.classname, true));
625
- e.push(o);
626
- }
627
- }), e;
628
- } }, beforeMount: function() {
629
- window.addEventListener("mouseup", this.onMouseUp, { passive: false }), window.addEventListener("mousemove", this.onMouseMove, { passive: false }), window.addEventListener("touchmove", this.onTouchMove, { passive: false }), window.addEventListener("touchend", this.onTouchEnd, { passive: false });
630
- }, beforeUnmount: function() {
631
- window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
632
- }, mounted: function() {
633
- this.touches = [];
634
- }, methods: { onEnd: function() {
635
- this.$emit("resize-end");
636
- }, onHandlerDrag: function(t, e, i) {
637
- var n, s = t.shift(), o = s.left, r = s.top, a = { left: 0, right: 0, top: 0, bottom: 0 };
638
- "west" === e ? a.left -= o : "east" === e && (a.right += o), "north" === i ? a.top -= r : "south" === i && (a.bottom += r), !i && e ? n = "width" : i && !e && (n = "height"), this.resizable && this.$emit("resize", new X(a, { allowedDirections: { left: "west" === e || !e, right: "east" === e || !e, bottom: "south" === i || !i, top: "north" === i || !i }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: n }));
639
- } }, emits: ["resize", "resize-end"] };
640
- _t.render = function(n, o, c, l, u, d) {
641
- return openBlock(), createBlock("div", { ref: "box", class: d.classes.root, style: d.style }, [renderSlot(n.$slots, "default"), createVNode("div", null, [(openBlock(true), createBlock(Fragment, null, renderList(d.lineNodes, function(i) {
642
- return openBlock(), createBlock(resolveDynamicComponent(i.component), { key: i.name, "default-class": i.class, "hover-class": i.hoverClass, "wrapper-class": i.wrapperClass, position: i.name, disabled: i.disabled, onDrag: function(t) {
643
- return d.onHandlerDrag(t, i.horizontalDirection, i.verticalDirection);
644
- }, onDragEnd: o[1] || (o[1] = function(t) {
645
- return d.onEnd();
646
- }) }, null, 8, ["default-class", "hover-class", "wrapper-class", "position", "disabled", "onDrag"]);
647
- }), 128))]), (openBlock(true), createBlock(Fragment, null, renderList(d.handlerNodes, function(i) {
648
- return openBlock(), createBlock("div", { key: i.name, style: i.wrapperStyle, class: i.wrapperClass }, [(openBlock(), createBlock(resolveDynamicComponent(i.component), { "default-class": i.class, "hover-class": i.hoverClass, "wrapper-class": i.wrapperClass, "horizontal-position": i.horizontalDirection, "vertical-position": i.verticalDirection, disabled: i.disabled, onDrag: function(t) {
649
- return d.onHandlerDrag(t, i.horizontalDirection, i.verticalDirection);
650
- }, onDragEnd: o[2] || (o[2] = function(t) {
651
- return d.onEnd();
652
- }) }, null, 8, ["default-class", "hover-class", "wrapper-class", "horizontal-position", "vertical-position", "disabled", "onDrag"]))], 6);
653
- }), 128))], 6);
654
- };
655
- var Gt = M("vue-draggable-area"), Qt = { name: "DraggableArea", props: { movable: { type: Boolean, default: true }, activationDistance: { type: Number, default: 20 } }, computed: { classnames: function() {
656
- return { default: Gt() };
657
- } }, beforeMount: function() {
658
- window.addEventListener("mouseup", this.onMouseUp, { passive: false }), window.addEventListener("mousemove", this.onMouseMove, { passive: false }), window.addEventListener("touchmove", this.onTouchMove, { passive: false }), window.addEventListener("touchend", this.onTouchEnd, { passive: false });
659
- }, beforeUnmount: function() {
660
- window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
661
- }, mounted: function() {
662
- this.touches = [], this.touchStarted = false;
663
- }, methods: { onTouchStart: function(t) {
664
- if (t.cancelable) {
665
- var e = this.movable && 1 === t.touches.length;
666
- e && (this.touches = b(t.touches)), (this.touchStarted || e) && (t.preventDefault(), t.stopPropagation());
667
- }
668
- }, onTouchEnd: function() {
669
- this.touchStarted = false, this.processEnd();
670
- }, onTouchMove: function(t) {
671
- this.touches.length >= 1 && (this.touchStarted ? (this.processMove(t, t.touches), t.preventDefault(), t.stopPropagation()) : I({ x: this.touches[0].clientX, y: this.touches[0].clientY }, { x: t.touches[0].clientX, y: t.touches[0].clientY }) > this.activationDistance && (this.initAnchor({ clientX: t.touches[0].clientX, clientY: t.touches[0].clientY }), this.touchStarted = true));
672
- }, onMouseDown: function(t) {
673
- if (this.movable && 0 === t.button) {
674
- var e = { fake: true, clientX: t.clientX, clientY: t.clientY };
675
- this.touches = [e], this.initAnchor(e), t.stopPropagation();
676
- }
677
- }, onMouseMove: function(t) {
678
- this.touches.length && (this.processMove(t, [{ fake: true, clientX: t.clientX, clientY: t.clientY }]), t.preventDefault && t.cancelable && t.preventDefault(), t.stopPropagation());
679
- }, onMouseUp: function() {
680
- this.processEnd();
681
- }, initAnchor: function(t) {
682
- var e = this.$refs.container.getBoundingClientRect(), i = e.left, n = e.top;
683
- this.anchor = { x: t.clientX - i, y: t.clientY - n };
684
- }, processMove: function(t, e) {
685
- var i = b(e);
686
- if (this.touches.length) {
687
- var n = this.$refs.container.getBoundingClientRect(), s = n.left, o = n.top;
688
- 1 === this.touches.length && 1 === i.length && this.$emit("move", new Y({ left: i[0].clientX - (s + this.anchor.x), top: i[0].clientY - (o + this.anchor.y) }));
689
- }
690
- }, processEnd: function() {
691
- this.touches.length && this.$emit("move-end"), this.touches = [];
692
- } }, emits: ["move", "move-end"] };
693
- Qt.render = function(n, s, o, r, a, h) {
694
- return openBlock(), createBlock("div", { ref: "container", onTouchstart: s[1] || (s[1] = function() {
695
- return h.onTouchStart && h.onTouchStart.apply(h, arguments);
696
- }), onMousedown: s[2] || (s[2] = function() {
697
- return h.onMouseDown && h.onMouseDown.apply(h, arguments);
698
- }) }, [renderSlot(n.$slots, "default")], 544);
699
- };
700
- function Kt(t) {
701
- var e, i;
702
- return { rotate: t.rotate || 0, flip: { horizontal: (null === (e = null == t ? void 0 : t.flip) || void 0 === e ? void 0 : e.horizontal) || false, vertical: (null === (i = null == t ? void 0 : t.flip) || void 0 === i ? void 0 : i.vertical) || false } };
703
- }
704
- function Jt(t) {
705
- return new Promise(function(e, i) {
706
- try {
707
- if (t) if (/^data:/i.test(t)) e(function(t2) {
708
- t2 = t2.replace(/^data:([^;]+);base64,/gim, "");
709
- for (var e2 = atob(t2), i2 = e2.length, n2 = new ArrayBuffer(i2), s2 = new Uint8Array(n2), o2 = 0; o2 < i2; o2++) s2[o2] = e2.charCodeAt(o2);
710
- return n2;
711
- }(t));
712
- else if (/^blob:/i.test(t)) {
713
- var n = new FileReader();
714
- n.onload = function(t2) {
715
- e(t2.target.result);
716
- }, o = t, r = function(t2) {
717
- n.readAsArrayBuffer(t2);
718
- }, (a = new XMLHttpRequest()).open("GET", o, true), a.responseType = "blob", a.onload = function() {
719
- 200 != this.status && 0 !== this.status || r(this.response);
720
- }, a.send();
721
- } else {
722
- var s = new XMLHttpRequest();
723
- s.onreadystatechange = function() {
724
- 4 === s.readyState && (200 === s.status || 0 === s.status ? e(s.response) : i("Warning: could not load an image to parse its orientation"), s = null);
725
- }, s.onprogress = function() {
726
- "image/jpeg" !== s.getResponseHeader("content-type") && s.abort();
727
- }, s.withCredentials = false, s.open("GET", t, true), s.responseType = "arraybuffer", s.send(null);
728
- }
729
- else i("Error: the image is empty");
730
- } catch (t2) {
731
- i(t2);
732
- }
733
- var o, r, a;
734
- });
735
- }
736
- function te(t) {
737
- var e = t.rotate, i = t.flip, n = t.scaleX, s = t.scaleY, o = "";
738
- return o += " rotate(" + e + "deg) ", o += " scaleX(" + n * (i.horizontal ? -1 : 1) + ") ", o += " scaleY(" + s * (i.vertical ? -1 : 1) + ") ";
739
- }
740
- function ee(t) {
741
- try {
742
- var e, i = new DataView(t), n = void 0, s = void 0, o = void 0, r = void 0;
743
- if (255 === i.getUint8(0) && 216 === i.getUint8(1)) for (var a = i.byteLength, h = 2; h + 1 < a; ) {
744
- if (255 === i.getUint8(h) && 225 === i.getUint8(h + 1)) {
745
- o = h;
746
- break;
747
- }
748
- h++;
749
- }
750
- if (o && (n = o + 10, "Exif" === function(t2, e2, i2) {
751
- var n2, s2 = "";
752
- for (n2 = e2, i2 += e2; n2 < i2; n2++) s2 += String.fromCharCode(t2.getUint8(n2));
753
- return s2;
754
- }(i, o + 4, 4))) {
755
- var c = i.getUint16(n);
756
- if (((s = 18761 === c) || 19789 === c) && 42 === i.getUint16(n + 2, s)) {
757
- var l = i.getUint32(n + 4, s);
758
- l >= 8 && (r = n + l);
759
- }
760
- }
761
- if (r) for (var u = i.getUint16(r, s), d = 0; d < u; d++) {
762
- h = r + 12 * d + 2;
763
- if (274 === i.getUint16(h, s)) {
764
- h += 8, e = i.getUint16(h, s), i.setUint16(h, 1, s);
765
- break;
766
- }
767
- }
768
- return e;
769
- } catch (t2) {
770
- return null;
771
- }
772
- }
773
- function se(t, e) {
774
- var i = e.getBoundingClientRect(), n = i.left, s = i.top, o = { left: 0, top: 0 }, r = 0;
775
- return t.forEach(function(e2) {
776
- o.left += (e2.clientX - n) / t.length, o.top += (e2.clientY - s) / t.length;
777
- }), t.forEach(function(t2) {
778
- r += I({ x: o.left, y: o.top }, { x: t2.clientX - n, y: t2.clientY - s });
779
- }), { centerMass: o, spread: r, count: t.length };
780
- }
781
- var oe = { props: { touchMove: { type: Boolean, required: true }, mouseMove: { type: Boolean, required: true }, touchResize: { type: Boolean, required: true }, wheelResize: { type: [Boolean, Object], required: true }, eventsFilter: { type: Function, required: false } }, beforeMount: function() {
782
- window.addEventListener("mouseup", this.onMouseUp, { passive: false }), window.addEventListener("mousemove", this.onMouseMove, { passive: false }), window.addEventListener("touchmove", this.onTouchMove, { passive: false }), window.addEventListener("touchend", this.onTouchEnd, { passive: false });
783
- }, beforeUnmount: function() {
784
- window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
785
- }, created: function() {
786
- this.transforming = false, this.debouncedProcessEnd = x(this.processEnd), this.touches = [];
787
- }, methods: { processMove: function(t, e) {
788
- if (this.touches.length) {
789
- if (1 === this.touches.length && 1 === e.length) this.$emit("move", new B({ left: this.touches[0].clientX - e[0].clientX, top: this.touches[0].clientY - e[0].clientY }));
790
- else if (this.touches.length > 1 && this.touchResize) {
791
- var i = se(e, this.$refs.container), n = this.oldGeometricProperties;
792
- n.count === i.count && n.count > 1 && this.$emit("resize", new B({ left: n.centerMass.left - i.centerMass.left, top: n.centerMass.top - i.centerMass.top }, { factor: n.spread / i.spread, center: i.centerMass })), this.oldGeometricProperties = i;
793
- }
794
- this.touches = e;
795
- }
796
- }, processEnd: function() {
797
- this.transforming && (this.transforming = false, this.$emit("transform-end"));
798
- }, processStart: function() {
799
- this.transforming = true, this.debouncedProcessEnd.clear();
800
- }, processEvent: function(t) {
801
- return this.eventsFilter ? false !== this.eventsFilter(t, this.transforming) : (t.preventDefault(), t.stopPropagation(), true);
802
- }, onTouchStart: function(t) {
803
- if (t.cancelable && (this.touchMove || this.touchResize && t.touches.length > 1) && this.processEvent(t)) {
804
- var e = this.$refs.container, i = e.getBoundingClientRect(), n = i.left, s = i.top, o = i.bottom, r = i.right;
805
- this.touches = b(t.touches).filter(function(t2) {
806
- return t2.clientX > n && t2.clientX < r && t2.clientY > s && t2.clientY < o;
807
- }), this.oldGeometricProperties = se(this.touches, e);
808
- }
809
- }, onTouchEnd: function(t) {
810
- 0 === t.touches.length && (this.touches = [], this.processEnd());
811
- }, onTouchMove: function(t) {
812
- var e = this;
813
- if (this.touches.length) {
814
- var i = b(t.touches).filter(function(t2) {
815
- return !t2.identifier || e.touches.find(function(e2) {
816
- return e2.identifier === t2.identifier;
817
- });
818
- });
819
- this.processEvent(t) && (this.processMove(t, i), this.processStart());
820
- }
821
- }, onMouseDown: function(t) {
822
- if (this.mouseMove && "buttons" in t && 1 === t.buttons && this.processEvent(t)) {
823
- var e = { fake: true, clientX: t.clientX, clientY: t.clientY };
824
- this.touches = [e], this.processStart();
825
- }
826
- }, onMouseMove: function(t) {
827
- this.touches.length && this.processEvent(t) && this.processMove(t, [{ clientX: t.clientX, clientY: t.clientY }]);
828
- }, onMouseUp: function() {
829
- this.touches = [], this.processEnd();
830
- }, onWheel: function(t) {
831
- if (this.wheelResize && this.processEvent(t)) {
832
- var e = this.$refs.container.getBoundingClientRect(), i = e.left, n = e.top, s = 1 + this.wheelResize.ratio * (r = t.deltaY || t.detail || t.wheelDelta, 0 === (a = +r) || $(a) ? a : a > 0 ? 1 : -1), o = { left: t.clientX - i, top: t.clientY - n };
833
- this.$emit("resize", new B({}, { factor: s, center: o })), this.touches.length || this.debouncedProcessEnd();
834
- }
835
- var r, a;
836
- } }, emits: ["resize", "move", "transform-end"] };
837
- oe.render = function(n, s, o, r, a, h) {
838
- return openBlock(), createBlock("div", { ref: "container", onTouchstart: s[1] || (s[1] = function() {
839
- return h.onTouchStart && h.onTouchStart.apply(h, arguments);
840
- }), onMousedown: s[2] || (s[2] = function() {
841
- return h.onMouseDown && h.onMouseDown.apply(h, arguments);
842
- }), onWheel: s[3] || (s[3] = function() {
843
- return h.onWheel && h.onWheel.apply(h, arguments);
844
- }) }, [renderSlot(n.$slots, "default")], 544);
845
- };
846
- var re = { components: { TransformableImage: oe }, props: { touchMove: { type: Boolean, required: true }, mouseMove: { type: Boolean, required: true }, touchResize: { type: Boolean, required: true }, wheelResize: { type: [Boolean, Object], required: true } }, emits: ["resize", "move"] };
847
- re.render = function(s, r, a, h, c, l) {
848
- var u = resolveComponent("transformable-image");
849
- return openBlock(), createBlock(u, { "touch-move": a.touchMove, "touch-resize": a.touchResize, "mouse-move": a.mouseMove, "wheel-resize": a.wheelResize, onMove: r[1] || (r[1] = function(t) {
850
- return s.$emit("move", t);
851
- }), onResize: r[2] || (r[2] = function(t) {
852
- return s.$emit("resize", t);
853
- }) }, { default: withCtx(function() {
854
- return [renderSlot(s.$slots, "default")];
855
- }), _: 3 }, 8, ["touch-move", "touch-resize", "mouse-move", "wheel-resize"]);
856
- };
857
- var ae = M("vue-preview"), he = { props: { coordinates: { type: Object }, transitions: { type: Object }, image: { type: Object, default: function() {
858
- return {};
859
- } }, imageClass: { type: String }, width: { type: Number }, height: { type: Number }, fill: { type: Boolean } }, data: function() {
860
- return { calculatedImageSize: { width: 0, height: 0 }, calculatedSize: { width: 0, height: 0 } };
861
- }, computed: { classes: function() {
862
- return { root: ae({ fill: this.fill }), wrapper: ae("wrapper"), imageWrapper: ae("image-wrapper"), image: A(ae("image"), this.imageClass) };
863
- }, style: function() {
864
- if (this.fill) return {};
865
- var t = {};
866
- return this.width && (t.width = "".concat(this.size.width, "px")), this.height && (t.height = "".concat(this.size.height, "px")), this.transitions && this.transitions.enabled && (t.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), t;
867
- }, wrapperStyle: function() {
868
- var t = { width: "".concat(this.size.width, "px"), height: "".concat(this.size.height, "px"), left: "calc(50% - ".concat(this.size.width / 2, "px)"), top: "calc(50% - ".concat(this.size.height / 2, "px)") };
869
- return this.transitions && this.transitions.enabled && (t.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), t;
870
- }, imageStyle: function() {
871
- if (this.coordinates && this.image) {
872
- var t = this.coordinates.width / this.size.width, e = g(g({ rotate: 0, flip: { horizontal: false, vertical: false } }, this.image.transforms), {}, { scaleX: 1 / t, scaleY: 1 / t }), i = this.imageSize.width, n = this.imageSize.height, s = pt({ width: i, height: n }, e.rotate), o = { width: "".concat(i, "px"), height: "".concat(n, "px"), left: "0px", top: "0px" }, r = { rotate: { left: (i - s.width) * e.scaleX / 2, top: (n - s.height) * e.scaleY / 2 }, scale: { left: (1 - e.scaleX) * i / 2, top: (1 - e.scaleY) * n / 2 } };
873
- return o.transform = "translate(\n ".concat(-this.coordinates.left / t - r.rotate.left - r.scale.left, "px,").concat(-this.coordinates.top / t - r.rotate.top - r.scale.top, "px) ") + te(e), this.transitions && this.transitions.enabled && (o.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), o;
874
- }
875
- return {};
876
- }, size: function() {
877
- return { width: this.width || this.calculatedSize.width, height: this.height || this.calculatedSize.height };
878
- }, imageSize: function() {
879
- return { width: this.image.width || this.calculatedImageSize.width, height: this.image.height || this.calculatedImageSize.height };
880
- } }, watch: { image: function(t) {
881
- (t.width || t.height) && this.onChangeImage();
882
- } }, mounted: function() {
883
- var t = this;
884
- this.onChangeImage(), this.$refs.image.addEventListener("load", function() {
885
- t.refreshImage();
886
- }), window.addEventListener("resize", this.refresh), window.addEventListener("orientationchange", this.refresh);
887
- }, unmounted: function() {
888
- window.removeEventListener("resize", this.refresh), window.removeEventListener("orientationchange", this.refresh);
889
- }, methods: { refreshImage: function() {
890
- var t = this.$refs.image;
891
- this.calculatedImageSize.height = t.naturalHeight, this.calculatedImageSize.width = t.naturalWidth;
892
- }, refresh: function() {
893
- var t = this.$refs.root;
894
- this.width || (this.calculatedSize.width = t.clientWidth), this.height || (this.calculatedSize.height = t.clientHeight);
895
- }, onChangeImage: function() {
896
- var t = this.$refs.image;
897
- t && t.complete && this.refreshImage(), this.refresh();
898
- } } };
899
- he.render = function(i, n, o, r, a, h) {
900
- return openBlock(), createBlock("div", { ref: "root", class: h.classes.root, style: h.style }, [createVNode("div", { ref: "wrapper", class: h.classes.wrapper, style: h.wrapperStyle }, [withDirectives(createVNode("img", { ref: "image", src: o.image && o.image.src, class: h.classes.image, style: h.imageStyle }, null, 14, ["src"]), [[vShow, o.image && o.image.src]])], 6)], 6);
901
- };
902
- var ce = { components: { Preview: he }, inheritAttrs: false };
903
- ce.render = function(i, s, o, r, a, h) {
904
- var c = resolveComponent("preview");
905
- return openBlock(), createBlock(c, mergeProps(i.$attrs, { fill: true }), null, 16);
906
- };
907
- var le = M("vue-rectangle-stencil"), ue = { name: "RectangleStencil", components: { StencilPreview: ce, BoundingBox: _t, DraggableArea: Qt }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object }, handlersComponent: { type: [Object, String], default: function() {
908
- return kt;
909
- } }, lines: { type: Object }, linesComponent: { type: [Object, String], default: function() {
910
- return Nt;
911
- } }, aspectRatio: { type: [Number, String] }, minAspectRatio: { type: [Number, String] }, maxAspectRatio: { type: [Number, String] }, movable: { type: Boolean, default: true }, resizable: { type: Boolean, default: true }, transitions: { type: Object }, movingClass: { type: String }, resizingClass: { type: String }, previewClass: { type: String }, boundingBoxClass: { type: String }, linesClasses: { type: Object, default: function() {
912
- return {};
913
- } }, linesWrappersClasses: { type: Object, default: function() {
914
- return {};
915
- } }, handlersClasses: { type: Object, default: function() {
916
- return {};
917
- } }, handlersWrappersClasses: { type: Object, default: function() {
918
- return {};
919
- } } }, data: function() {
920
- return { moving: false, resizing: false };
921
- }, computed: { classes: function() {
922
- return { stencil: A(le({ movable: this.movable, moving: this.moving, resizing: this.resizing }), this.moving && this.movingClass, this.resizing && this.resizingClass), preview: A(le("preview"), this.previewClass), boundingBox: A(le("bounding-box"), this.boundingBoxClass) };
923
- }, style: function() {
924
- var t = this.stencilCoordinates, e = t.height, i = t.width, n = t.left, s = t.top, o = { width: "".concat(i, "px"), height: "".concat(e, "px"), transform: "translate(".concat(n, "px, ").concat(s, "px)") };
925
- return this.transitions && this.transitions.enabled && (o.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction)), o;
926
- } }, methods: { onMove: function(t) {
927
- this.$emit("move", t), this.moving = true;
928
- }, onMoveEnd: function() {
929
- this.$emit("move-end"), this.moving = false;
930
- }, onResize: function(t) {
931
- this.$emit("resize", t), this.resizing = true;
932
- }, onResizeEnd: function() {
933
- this.$emit("resize-end"), this.resizing = false;
934
- }, aspectRatios: function() {
935
- return { minimum: this.aspectRatio || this.minAspectRatio, maximum: this.aspectRatio || this.maxAspectRatio };
936
- } }, emits: ["resize", "resize-end", "move", "move-end"] };
937
- ue.render = function(i, r, a, h, c, l) {
938
- var u = resolveComponent("stencil-preview"), d = resolveComponent("draggable-area"), m = resolveComponent("bounding-box");
939
- return openBlock(), createBlock("div", { class: l.classes.stencil, style: l.style }, [createVNode(m, { width: a.stencilCoordinates.width, height: a.stencilCoordinates.height, transitions: a.transitions, class: l.classes.boundingBox, handlers: a.handlers, "handlers-component": a.handlersComponent, "handlers-classes": a.handlersClasses, "handlers-wrappers-classes": a.handlersWrappersClasses, lines: a.lines, "lines-component": a.linesComponent, "lines-classes": a.linesClasses, "lines-wrappers-classes": a.linesWrappersClasses, resizable: a.resizable, onResize: l.onResize, onResizeEnd: l.onResizeEnd }, { default: withCtx(function() {
940
- return [createVNode(d, { movable: a.movable, onMove: l.onMove, onMoveEnd: l.onMoveEnd }, { default: withCtx(function() {
941
- return [createVNode(u, { image: a.image, coordinates: a.coordinates, width: a.stencilCoordinates.width, height: a.stencilCoordinates.height, class: l.classes.preview, transitions: a.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
942
- }), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
943
- }), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
944
- };
945
- var pe = ["transitions"], ge = M("vue-advanced-cropper"), fe = { name: "Cropper", components: { BackgroundWrapper: re }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
946
- return ue;
947
- } }, backgroundWrapperComponent: { type: [Object, String], default: function() {
948
- return re;
949
- } }, stencilProps: { type: Object, default: function() {
950
- return {};
951
- } }, autoZoom: { type: Boolean, default: false }, imageClass: { type: String }, boundariesClass: { type: String }, backgroundClass: { type: String }, foregroundClass: { type: String }, minWidth: { type: [Number, String] }, minHeight: { type: [Number, String] }, maxWidth: { type: [Number, String] }, maxHeight: { type: [Number, String] }, debounce: { type: [Boolean, Number], default: 500 }, transitions: { type: Boolean, default: true }, checkOrientation: { type: Boolean, default: true }, canvas: { type: [Object, Boolean], default: true }, crossOrigin: { type: [Boolean, String], default: void 0 }, transitionTime: { type: Number, default: 300 }, imageRestriction: { type: String, default: "fit-area", validator: function(t) {
952
- return -1 !== K.indexOf(t);
953
- } }, roundResult: { type: Boolean, default: true }, defaultSize: { type: [Function, Object] }, defaultPosition: { type: [Function, Object] }, defaultVisibleArea: { type: [Function, Object] }, defaultTransforms: { type: [Function, Object] }, defaultBoundaries: { type: [Function, String], validator: function(t) {
954
- return !("string" == typeof t && "fill" !== t && "fit" !== t);
955
- } }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: true }, moveImage: { type: [Boolean, Object], default: true }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(t) {
956
- var e = t.event, i = t.coordinates, n = t.aspectRatio, s = t.positionRestrictions, o = t.sizeRestrictions, r = C(C({}, i), { right: i.left + i.width, bottom: i.top + i.height }), a = e.params || {}, h = C({}, e.directions), c = a.allowedDirections || { left: true, right: true, bottom: true, top: true };
957
- o.widthFrozen && (h.left = 0, h.right = 0), o.heightFrozen && (h.top = 0, h.bottom = 0), V.forEach(function(t2) {
958
- c[t2] || (h[t2] = 0);
959
- });
960
- var l = ot(r, h = It({ coordinates: r, directions: h, sizeRestrictions: o, positionRestrictions: s })).width, u = ot(r, h).height, d = a.preserveRatio ? ct(r) : dt(l / u, n);
961
- if (d) {
962
- var m = a.respectDirection;
963
- if (m || (m = r.width >= r.height || 1 === d ? "width" : "height"), "width" === m) {
964
- var p2 = l / d - r.height;
965
- if (c.top && c.bottom) {
966
- var g2 = h.top, f2 = h.bottom;
967
- h.bottom = Bt(p2, f2, g2), h.top = Bt(p2, g2, f2);
968
- } else c.bottom ? h.bottom = p2 : c.top ? h.top = p2 : c.right ? h.right = 0 : c.left && (h.left = 0);
969
- } else if ("height" === m) {
970
- var v2 = r.width - u * d;
971
- if (c.left && c.right) {
972
- var b2 = h.left, w2 = h.right;
973
- h.left = -Bt(v2, b2, w2), h.right = -Bt(v2, w2, b2);
974
- } else c.left ? h.left = -v2 : c.right ? h.right = -v2 : c.top ? h.top = 0 : c.bottom && (h.bottom = 0);
975
- }
976
- h = It({ directions: h, coordinates: r, sizeRestrictions: o, positionRestrictions: s, preserveRatio: true, compensate: a.compensate });
977
- }
978
- return l = ot(r, h).width, u = ot(r, h).height, (d = a.preserveRatio ? ct(r) : dt(l / u, n)) && Math.abs(d - l / u) > 1e-3 && V.forEach(function(t2) {
979
- c[t2] || (h[t2] = 0);
980
- }), St({ event: new Y({ left: -h.left, top: -h.top }), coordinates: { width: i.width + h.right + h.left, height: i.height + h.top + h.bottom, left: i.left, top: i.top }, positionRestrictions: s });
981
- } }, moveAlgorithm: { type: Function, default: St }, initStretcher: { type: Function, default: function(t) {
982
- var e = t.stretcher, i = t.imageSize, n = ct(i);
983
- e.style.width = i.width + "px", e.style.height = e.clientWidth / n + "px", e.style.width = e.clientWidth + "px";
984
- } }, fitCoordinates: { type: Function, default: function(t) {
985
- var e = t.visibleArea, i = t.coordinates, n = t.aspectRatio, s = t.sizeRestrictions, o = t.positionRestrictions, r = C(C({}, i), Mt({ width: i.width, height: i.height, aspectRatio: n, sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minHeight: Math.min(e.height, s.minHeight), minWidth: Math.min(e.width, s.minWidth) } }));
986
- return r = vt(r = at(r, it(nt(i), nt(r))), zt(et(e), o));
987
- } }, fitVisibleArea: { type: Function, default: function(t) {
988
- var e = t.visibleArea, i = t.boundaries, n = t.getAreaRestrictions, s = t.coordinates, o = C({}, e);
989
- o.height = o.width / ct(i), o.top += (e.height - o.height) / 2, (s.height - o.height > 0 || s.width - o.width > 0) && (o = ht(o, Math.max(s.height / o.height, s.width / o.width)));
990
- var r = rt(ut(s, et(o = ht(o, ft(o, n({ visibleArea: o, type: "resize" }))))));
991
- return o.width < s.width && (r.left = 0), o.height < s.height && (r.top = 0), o = vt(o = at(o, r), n({ visibleArea: o, type: "move" }));
992
- } }, areaRestrictionsAlgorithm: { type: Function, default: function(t) {
993
- var e = t.visibleArea, i = t.boundaries, n = t.imageSize, s = t.imageRestriction, o = t.type, r = {};
994
- return "fill-area" === s ? r = { left: 0, top: 0, right: n.width, bottom: n.height } : "fit-area" === s && (ct(i) > ct(n) ? (r = { top: 0, bottom: n.height }, e && "move" === o && (e.width > n.width ? (r.left = -(e.width - n.width) / 2, r.right = n.width - r.left) : (r.left = 0, r.right = n.width))) : (r = { left: 0, right: n.width }, e && "move" === o && (e.height > n.height ? (r.top = -(e.height - n.height) / 2, r.bottom = n.height - r.top) : (r.top = 0, r.bottom = n.height)))), r;
995
- } }, sizeRestrictionsAlgorithm: { type: Function, default: function(t) {
996
- return { minWidth: t.minWidth, minHeight: t.minHeight, maxWidth: t.maxWidth, maxHeight: t.maxHeight };
997
- } }, positionRestrictionsAlgorithm: { type: Function, default: function(t) {
998
- var e = t.imageSize, i = {};
999
- return "none" !== t.imageRestriction && (i = { left: 0, top: 0, right: e.width, bottom: e.height }), i;
1000
- } } }, data: function() {
1001
- return { transitionsActive: false, imageLoaded: false, imageAttributes: { width: null, height: null, crossOrigin: null, src: null }, defaultImageTransforms: { rotate: 0, flip: { horizontal: false, vertical: false } }, appliedImageTransforms: { rotate: 0, flip: { horizontal: false, vertical: false } }, boundaries: { width: 0, height: 0 }, visibleArea: null, coordinates: g({}, J) };
1002
- }, computed: { image: function() {
1003
- return { src: this.imageAttributes.src, width: this.imageAttributes.width, height: this.imageAttributes.height, transforms: this.imageTransforms };
1004
- }, imageTransforms: function() {
1005
- return { rotate: this.appliedImageTransforms.rotate, flip: { horizontal: this.appliedImageTransforms.flip.horizontal, vertical: this.appliedImageTransforms.flip.vertical }, translateX: this.visibleArea ? this.visibleArea.left / this.coefficient : 0, translateY: this.visibleArea ? this.visibleArea.top / this.coefficient : 0, scaleX: 1 / this.coefficient, scaleY: 1 / this.coefficient };
1006
- }, imageSize: function() {
1007
- var t = function(t2) {
1008
- return t2 * Math.PI / 180;
1009
- }(this.imageTransforms.rotate);
1010
- return { width: Math.abs(this.imageAttributes.width * Math.cos(t)) + Math.abs(this.imageAttributes.height * Math.sin(t)), height: Math.abs(this.imageAttributes.width * Math.sin(t)) + Math.abs(this.imageAttributes.height * Math.cos(t)) };
1011
- }, initialized: function() {
1012
- return Boolean(this.visibleArea && this.imageLoaded);
1013
- }, settings: function() {
1014
- var t = j(this.resizeImage, { touch: true, wheel: { ratio: 0.1 }, adjustStencil: true }, { touch: false, wheel: false, adjustStencil: false });
1015
- return { moveImage: j(this.moveImage, { touch: true, mouse: true }, { touch: false, mouse: false }), resizeImage: t };
1016
- }, coefficient: function() {
1017
- return this.visibleArea ? this.visibleArea.width / this.boundaries.width : 0;
1018
- }, areaRestrictions: function() {
1019
- return this.imageLoaded ? this.areaRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction, boundaries: this.boundaries }) : {};
1020
- }, transitionsOptions: function() {
1021
- return { enabled: this.transitionsActive, timingFunction: "ease-in-out", time: 350 };
1022
- }, sizeRestrictions: function() {
1023
- if (this.boundaries.width && this.boundaries.height && this.imageSize.width && this.imageSize.height) {
1024
- var t = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: D(this.minWidth) ? 0 : L(this.minWidth), minHeight: D(this.minHeight) ? 0 : L(this.minHeight), maxWidth: D(this.maxWidth) ? 1 / 0 : L(this.maxWidth), maxHeight: D(this.maxHeight) ? 1 / 0 : L(this.maxHeight) });
1025
- if (t = function(t2) {
1026
- var e2 = t2.areaRestrictions, i2 = t2.sizeRestrictions;
1027
- var n = t2.boundaries, s = t2.positionRestrictions;
1028
- var o = C(C({}, i2), { minWidth: void 0 !== i2.minWidth ? i2.minWidth : 0, minHeight: void 0 !== i2.minHeight ? i2.minHeight : 0, maxWidth: void 0 !== i2.maxWidth ? i2.maxWidth : 1 / 0, maxHeight: void 0 !== i2.maxHeight ? i2.maxHeight : 1 / 0 });
1029
- void 0 !== s.left && void 0 !== s.right && (o.maxWidth = Math.min(o.maxWidth, s.right - s.left)), void 0 !== s.bottom && void 0 !== s.top && (o.maxHeight = Math.min(o.maxHeight, s.bottom - s.top));
1030
- var r = bt(e2), a = mt(n, r);
1031
- return r.width < 1 / 0 && (!o.maxWidth || o.maxWidth > a.width) && (o.maxWidth = Math.min(o.maxWidth, a.width)), r.height < 1 / 0 && (!o.maxHeight || o.maxHeight > a.height) && (o.maxHeight = Math.min(o.maxHeight, a.height)), o.minWidth > o.maxWidth && (o.minWidth = o.maxWidth, o.widthFrozen = true), o.minHeight > o.maxHeight && (o.minHeight = o.maxHeight, o.heightFrozen = true), o;
1032
- }({ sizeRestrictions: t, areaRestrictions: this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }), imageSize: this.imageSize, boundaries: this.boundaries, positionRestrictions: this.positionRestrictions, imageRestriction: this.imageRestriction, visibleArea: this.visibleArea, stencilSize: this.getStencilSize() }), this.visibleArea && this.stencilSize) {
1033
- var e = this.getStencilSize(), i = bt(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
1034
- t.maxWidth = Math.min(t.maxWidth, i.width * e.width / this.boundaries.width), t.maxHeight = Math.min(t.maxHeight, i.height * e.height / this.boundaries.height), t.maxWidth < t.minWidth && (t.minWidth = t.maxWidth), t.maxHeight < t.minHeight && (t.minHeight = t.maxHeight);
1035
- }
1036
- return t;
1037
- }
1038
- return { minWidth: 0, minHeight: 0, maxWidth: 0, maxHeight: 0 };
1039
- }, positionRestrictions: function() {
1040
- return this.positionRestrictionsAlgorithm({ imageSize: this.imageSize, imageRestriction: this.imageRestriction });
1041
- }, classes: function() {
1042
- return { cropper: ge(), image: A(ge("image"), this.imageClass), stencil: ge("stencil"), boundaries: A(ge("boundaries"), this.boundariesClass), stretcher: A(ge("stretcher")), background: A(ge("background"), this.backgroundClass), foreground: A(ge("foreground"), this.foregroundClass), imageWrapper: A(ge("image-wrapper")), cropperWrapper: A(ge("cropper-wrapper")) };
1043
- }, stencilCoordinates: function() {
1044
- if (this.initialized) {
1045
- var t = this.coordinates, e = t.width, i = t.height, n = t.left, s = t.top;
1046
- return { width: e / this.coefficient, height: i / this.coefficient, left: (n - this.visibleArea.left) / this.coefficient, top: (s - this.visibleArea.top) / this.coefficient };
1047
- }
1048
- return this.defaultCoordinates();
1049
- }, boundariesStyle: function() {
1050
- var t = { width: this.boundaries.width ? "".concat(Math.round(this.boundaries.width), "px") : "auto", height: this.boundaries.height ? "".concat(Math.round(this.boundaries.height), "px") : "auto", transition: "opacity ".concat(this.transitionTime, "ms"), pointerEvents: this.imageLoaded ? "all" : "none" };
1051
- return this.imageLoaded || (t.opacity = "0"), t;
1052
- }, imageStyle: function() {
1053
- var t = this.imageAttributes.width > this.imageAttributes.height ? { width: Math.min(1024, this.imageAttributes.width), height: Math.min(1024, this.imageAttributes.width) / (this.imageAttributes.width / this.imageAttributes.height) } : { height: Math.min(1024, this.imageAttributes.height), width: Math.min(1024, this.imageAttributes.height) * (this.imageAttributes.width / this.imageAttributes.height) }, e = { left: (t.width - this.imageSize.width) / (2 * this.coefficient), top: (t.height - this.imageSize.height) / (2 * this.coefficient) }, i = { left: (1 - 1 / this.coefficient) * t.width / 2, top: (1 - 1 / this.coefficient) * t.height / 2 }, n = g(g({}, this.imageTransforms), {}, { scaleX: this.imageTransforms.scaleX * (this.imageAttributes.width / t.width), scaleY: this.imageTransforms.scaleY * (this.imageAttributes.height / t.height) }), s = { width: "".concat(t.width, "px"), height: "".concat(t.height, "px"), left: "0px", top: "0px", transform: "translate(".concat(-e.left - i.left - this.imageTransforms.translateX, "px, ").concat(-e.top - i.top - this.imageTransforms.translateY, "px)") + te(n) };
1054
- return this.transitionsOptions.enabled && (s.transition = "".concat(this.transitionsOptions.time, "ms ").concat(this.transitionsOptions.timingFunction)), s;
1055
- } }, watch: { src: function() {
1056
- this.onChangeImage();
1057
- }, stencilComponent: function() {
1058
- var t = this;
1059
- this.$nextTick(function() {
1060
- t.resetCoordinates(), t.runAutoZoom("setCoordinates"), t.onChange();
1061
- });
1062
- }, minWidth: function() {
1063
- this.onPropsChange();
1064
- }, maxWidth: function() {
1065
- this.onPropsChange();
1066
- }, minHeight: function() {
1067
- this.onPropsChange();
1068
- }, maxHeight: function() {
1069
- this.onPropsChange();
1070
- }, imageRestriction: function() {
1071
- this.reset();
1072
- }, stencilProps: function(t, e) {
1073
- ["aspectRatio", "minAspectRatio", "maxAspectRatio"].find(function(i) {
1074
- return t[i] !== e[i];
1075
- }) && this.$nextTick(this.onPropsChange);
1076
- } }, created: function() {
1077
- this.debouncedUpdate = x(this.update, this.debounce), this.debouncedDisableTransitions = x(this.disableTransitions, this.transitionsOptions.time), this.awaiting = false;
1078
- }, mounted: function() {
1079
- this.$refs.image.addEventListener("load", this.onSuccessLoadImage), this.$refs.image.addEventListener("error", this.onFailLoadImage), this.onChangeImage(), window.addEventListener("resize", this.refresh), window.addEventListener("orientationchange", this.refresh);
1080
- }, unmounted: function() {
1081
- window.removeEventListener("resize", this.refresh), window.removeEventListener("orientationchange", this.refresh), this.imageAttributes.revoke && this.imageAttributes.src && URL.revokeObjectURL(this.imageAttributes.src), this.debouncedUpdate.clear(), this.debouncedDisableTransitions.clear();
1082
- }, methods: { getResult: function() {
1083
- var t = this.initialized ? this.prepareResult(g({}, this.coordinates)) : this.defaultCoordinates(), e = { rotate: this.imageTransforms.rotate % 360, flip: g({}, this.imageTransforms.flip) };
1084
- if (this.src && this.imageLoaded) {
1085
- var i = this;
1086
- return { image: this.image, coordinates: t, visibleArea: this.visibleArea ? g({}, this.visibleArea) : null, imageTransforms: e, get canvas() {
1087
- return i.canvas ? i.getCanvas() : void 0;
1088
- } };
1089
- }
1090
- return { image: this.image, coordinates: t, visibleArea: this.visibleArea ? g({}, this.visibleArea) : null, canvas: void 0, imageTransforms: e };
1091
- }, zoom: function(t, e) {
1092
- var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = i.transitions, s = void 0 === n || n;
1093
- this.onManipulateImage(new B({}, { factor: 1 / t, center: e }), { normalize: false, transitions: s });
1094
- }, move: function(t, e) {
1095
- var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = i.transitions, s = void 0 === n || n;
1096
- this.onManipulateImage(new B({ left: t || 0, top: e || 0 }), { normalize: false, transitions: s });
1097
- }, setCoordinates: function(t) {
1098
- var e = this, i = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = i.autoZoom, s = void 0 === n || n, o = i.transitions, r = void 0 === o || o;
1099
- this.$nextTick(function() {
1100
- e.imageLoaded ? (e.transitionsActive || (r && e.enableTransitions(), e.coordinates = e.applyTransform(t), s && e.runAutoZoom("setCoordinates"), r && e.debouncedDisableTransitions()), e.onChange()) : e.delayedTransforms = t;
1101
- });
1102
- }, refresh: function() {
1103
- var t = this, e = this.$refs.image;
1104
- if (this.src && e) return this.initialized ? this.updateVisibleArea().then(function() {
1105
- t.onChange();
1106
- }) : this.resetVisibleArea().then(function() {
1107
- t.onChange();
1108
- });
1109
- }, reset: function() {
1110
- var t = this;
1111
- return this.resetVisibleArea().then(function() {
1112
- t.onChange(false);
1113
- });
1114
- }, awaitRender: function(t) {
1115
- var e = this;
1116
- this.awaiting || (this.awaiting = true, this.$nextTick(function() {
1117
- t(), e.awaiting = false;
1118
- }));
1119
- }, prepareResult: function(t) {
1120
- return this.roundResult ? function(t2) {
1121
- var e = t2.coordinates, i = t2.sizeRestrictions, n = t2.positionRestrictions, s = { width: Math.round(e.width), height: Math.round(e.height), left: Math.round(e.left), top: Math.round(e.top) };
1122
- return s.width > i.maxWidth ? s.width = Math.floor(e.width) : s.width < i.minWidth && (s.width = Math.ceil(e.width)), s.height > i.maxHeight ? s.height = Math.floor(e.height) : s.height < i.minHeight && (s.height = Math.ceil(e.height)), vt(s, n);
1123
- }(g(g({}, this.getPublicProperties()), {}, { positionRestrictions: jt(this.positionRestrictions, this.visibleArea), coordinates: t })) : t;
1124
- }, processAutoZoom: function(t, e, i, n) {
1125
- var s = this.autoZoomAlgorithm;
1126
- s || (s = this.stencilSize ? Ct : this.autoZoom ? Et : Wt);
1127
- var o = s({ event: { type: t, params: n }, visibleArea: e, coordinates: i, boundaries: this.boundaries, aspectRatio: this.getAspectRatio(), positionRestrictions: this.positionRestrictions, getAreaRestrictions: this.getAreaRestrictions, sizeRestrictions: this.sizeRestrictions, stencilSize: this.getStencilSize() });
1128
- return g(g({}, o), {}, { changed: !tt(o.visibleArea, e) || !tt(o.coordinates, i) });
1129
- }, runAutoZoom: function(t) {
1130
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, i = e.transitions, n = void 0 !== i && i, s = v(e, pe), o = this.processAutoZoom(t, this.visibleArea, this.coordinates, s), r = o.visibleArea, a = o.coordinates, h = o.changed;
1131
- n && h && this.enableTransitions(), this.visibleArea = r, this.coordinates = a, n && h && this.debouncedDisableTransitions();
1132
- }, normalizeEvent: function(t) {
1133
- return function(t2) {
1134
- var e = t2.event, i = t2.visibleArea, n = t2.coefficient;
1135
- if ("manipulateImage" === e.type) return C(C({}, e), { move: { left: e.move && e.move.left ? n * e.move.left : 0, top: e.move && e.move.top ? n * e.move.top : 0 }, scale: { factor: e.scale && e.scale.factor ? e.scale.factor : 1, center: e.scale && e.scale.center ? { left: e.scale.center.left * n + i.left, top: e.scale.center.top * n + i.top } : null } });
1136
- if ("resize" === e.type) {
1137
- var s = C(C({}, e), { directions: C({}, e.directions) });
1138
- return V.forEach(function(t3) {
1139
- s.directions[t3] *= n;
1140
- }), s;
1141
- }
1142
- if ("move" === e.type) {
1143
- var o = C(C({}, e), { directions: C({}, e.directions) });
1144
- return Q.forEach(function(t3) {
1145
- o.directions[t3] *= n;
1146
- }), o;
1147
- }
1148
- return e;
1149
- }(g(g({}, this.getPublicProperties()), {}, { event: t }));
1150
- }, getCanvas: function() {
1151
- if (this.$refs.canvas) {
1152
- var t = this.$refs.canvas, e = this.$refs.image, i = 0 !== this.imageTransforms.rotate || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(t2, e2, i2) {
1153
- var n2 = i2.rotate, s2 = i2.flip, o2 = { width: e2.naturalWidth, height: e2.naturalHeight }, r2 = pt(o2, n2), a = t2.getContext("2d");
1154
- t2.height = r2.height, t2.width = r2.width, a.save();
1155
- var h = gt(nt(C({ left: 0, top: 0 }, o2)), n2);
1156
- return a.translate(-(h.left - r2.width / 2), -(h.top - r2.height / 2)), a.rotate(n2 * Math.PI / 180), a.translate(s2.horizontal ? o2.width : 0, s2.vertical ? o2.height : 0), a.scale(s2.horizontal ? -1 : 1, s2.vertical ? -1 : 1), a.drawImage(e2, 0, 0, o2.width, o2.height), a.restore(), t2;
1157
- }(this.$refs.sourceCanvas, e, this.imageTransforms) : e, n = g({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: true, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), s = function(t2) {
1158
- return t2.find(function(t3) {
1159
- return e2 = t3, !Number.isNaN(parseFloat(e2)) && isFinite(e2);
1160
- var e2;
1161
- });
1162
- }, o = Mt({ sizeRestrictions: { minWidth: s([n.width, n.minWidth]) || 0, minHeight: s([n.height, n.minHeight]) || 0, maxWidth: s([n.width, n.maxWidth]) || 1 / 0, maxHeight: s([n.height, n.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
1163
- if (n.maxArea && o.width * o.height > n.maxArea) {
1164
- var r = Math.sqrt(n.maxArea / (o.width * o.height));
1165
- o = { width: Math.round(r * o.width), height: Math.round(r * o.height) };
1166
- }
1167
- return function(t2, e2, i2, n2, s2) {
1168
- t2.width = n2 ? n2.width : i2.width, t2.height = n2 ? n2.height : i2.height;
1169
- var o2 = t2.getContext("2d");
1170
- o2.clearRect(0, 0, t2.width, t2.height), s2 && (s2.imageSmoothingEnabled && (o2.imageSmoothingEnabled = s2.imageSmoothingEnabled), s2.imageSmoothingQuality && (o2.imageSmoothingQuality = s2.imageSmoothingQuality), s2.fillColor && (o2.fillStyle = s2.fillColor, o2.fillRect(0, 0, t2.width, t2.height), o2.save()));
1171
- var r2 = i2.left < 0 ? -i2.left : 0, a = i2.top < 0 ? -i2.top : 0;
1172
- o2.drawImage(e2, i2.left + r2, i2.top + a, i2.width, i2.height, r2 * (t2.width / i2.width), a * (t2.height / i2.height), t2.width, t2.height);
1173
- }(t, i, this.coordinates, o, n), t;
1174
- }
1175
- }, update: function() {
1176
- this.$emit("change", this.getResult());
1177
- }, applyTransform: function(t) {
1178
- var e = arguments.length > 1 && void 0 !== arguments[1] && arguments[1], i = this.visibleArea && e ? wt(this.sizeRestrictions, this.visibleArea) : this.sizeRestrictions, n = this.visibleArea && e ? jt(this.positionRestrictions, this.visibleArea) : this.positionRestrictions;
1179
- return xt({ transform: t, coordinates: this.coordinates, imageSize: this.imageSize, sizeRestrictions: i, positionRestrictions: n, aspectRatio: this.getAspectRatio(), visibleArea: this.visibleArea });
1180
- }, resetCoordinates: function() {
1181
- var t = this;
1182
- if (this.$refs.image) {
1183
- this.$refs.cropper, this.$refs.image;
1184
- var e = this.defaultSize;
1185
- e || (e = this.stencilSize ? Dt : Ot);
1186
- var i = this.sizeRestrictions;
1187
- i.minWidth, i.minHeight, i.maxWidth, i.maxHeight;
1188
- var n = O(e) ? e({ boundaries: this.boundaries, imageSize: this.imageSize, aspectRatio: this.getAspectRatio(), sizeRestrictions: this.sizeRestrictions, stencilSize: this.getStencilSize(), visibleArea: this.visibleArea }) : e, s = this.defaultPosition || Tt, o = [n, function(e2) {
1189
- var i2 = e2.coordinates;
1190
- return g({}, O(s) ? s({ coordinates: i2, imageSize: t.imageSize, visibleArea: t.visibleArea }) : t.defaultPosition);
1191
- }];
1192
- this.delayedTransforms && o.push.apply(o, b(Array.isArray(this.delayedTransforms) ? this.delayedTransforms : [this.delayedTransforms])), this.coordinates = this.applyTransform(o, true), this.delayedTransforms = null;
1193
- }
1194
- }, clearImage: function() {
1195
- var t = this;
1196
- this.imageLoaded = false, setTimeout(function() {
1197
- var e = t.$refs.stretcher;
1198
- e && (e.style.height = "auto", e.style.width = "auto"), t.coordinates = t.defaultCoordinates(), t.boundaries = { width: 0, height: 0 };
1199
- }, this.transitionTime);
1200
- }, enableTransitions: function() {
1201
- this.transitions && (this.transitionsActive = true);
1202
- }, disableTransitions: function() {
1203
- this.transitionsActive = false;
1204
- }, updateBoundaries: function() {
1205
- var t = this, e = this.$refs.stretcher, i = this.$refs.cropper;
1206
- return this.initStretcher({ cropper: i, stretcher: e, imageSize: this.imageSize }), this.$nextTick().then(function() {
1207
- var e2 = { cropper: i, imageSize: t.imageSize };
1208
- if (O(t.defaultBoundaries) ? t.boundaries = t.defaultBoundaries(e2) : "fit" === t.defaultBoundaries ? t.boundaries = function(t2) {
1209
- var e3 = t2.cropper, i2 = t2.imageSize, n = e3.clientHeight, s = e3.clientWidth, o = n, r = i2.width * n / i2.height;
1210
- return r > s && (r = s, o = i2.height * s / i2.width), { width: r, height: o };
1211
- }(e2) : t.boundaries = function(t2) {
1212
- var e3 = t2.cropper;
1213
- return { width: e3.clientWidth, height: e3.clientHeight };
1214
- }(e2), !t.boundaries.width || !t.boundaries.height) throw new Error("It's impossible to fit the cropper in the current container");
1215
- });
1216
- }, resetVisibleArea: function() {
1217
- var t = this;
1218
- return this.appliedImageTransforms = g(g({}, this.defaultImageTransforms), {}, { flip: g({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
1219
- "visible-area" !== t.priority && (t.visibleArea = null, t.resetCoordinates());
1220
- var e, i, n, s, o, r, a = t.defaultVisibleArea || Ht;
1221
- t.visibleArea = O(a) ? a({ imageSize: t.imageSize, boundaries: t.boundaries, coordinates: "visible-area" !== t.priority ? t.coordinates : null, getAreaRestrictions: t.getAreaRestrictions, stencilSize: t.getStencilSize() }) : t.defaultVisibleArea, t.visibleArea = (e = { visibleArea: t.visibleArea, boundaries: t.boundaries, getAreaRestrictions: t.getAreaRestrictions }, i = e.visibleArea, n = e.boundaries, s = e.getAreaRestrictions, o = C({}, i), r = ct(n), o.width / o.height !== r && (o.height = o.width / r), vt(o, s({ visibleArea: o, type: "move" }))), "visible-area" === t.priority ? t.resetCoordinates() : t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("resetVisibleArea");
1222
- }).catch(function() {
1223
- t.visibleArea = null;
1224
- });
1225
- }, updateVisibleArea: function() {
1226
- var t = this;
1227
- return this.updateBoundaries().then(function() {
1228
- t.visibleArea = t.fitVisibleArea({ imageSize: t.imageSize, boundaries: t.boundaries, visibleArea: t.visibleArea, coordinates: t.coordinates, getAreaRestrictions: t.getAreaRestrictions }), t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("updateVisibleArea");
1229
- }).catch(function() {
1230
- t.visibleArea = null;
1231
- });
1232
- }, onChange: function() {
1233
- var t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];
1234
- t && this.debounce ? this.debouncedUpdate() : this.update();
1235
- }, onChangeImage: function() {
1236
- var t, e = this;
1237
- if (this.imageLoaded = false, this.delayedTransforms = null, this.src) {
1238
- if (function(t2) {
1239
- if (T(t2)) return false;
1240
- var e2 = window.location, i2 = /(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(t2) || [], n2 = { protocol: i2[1] || "", host: i2[2] || "", port: i2[3] || "" }, s = function(t3) {
1241
- return t3.port || ("http" === (t3.protocol || e2.protocol) ? 80 : 433);
1242
- };
1243
- return !(!n2.protocol && !n2.host && !n2.port || Boolean(n2.protocol && n2.protocol == e2.protocol && n2.host && n2.host == e2.host && n2.host && s(n2) == s(e2)));
1244
- }(this.src)) {
1245
- var i = D(this.crossOrigin) ? this.canvas : this.crossOrigin;
1246
- true === i && (i = "anonymous"), this.imageAttributes.crossOrigin = i || null;
1247
- }
1248
- if (this.checkOrientation) {
1249
- var n = (t = this.src, new Promise(function(e2) {
1250
- Jt(t).then(function(i2) {
1251
- var n2 = ee(i2);
1252
- e2(i2 ? { source: t, arrayBuffer: i2, orientation: n2 } : { source: t, arrayBuffer: null, orientation: null });
1253
- }).catch(function(i2) {
1254
- console.warn(i2), e2({ source: t, arrayBuffer: null, orientation: null });
1255
- });
1256
- }));
1257
- setTimeout(function() {
1258
- n.then(e.onParseImage);
1259
- }, this.transitionTime);
1260
- } else setTimeout(function() {
1261
- e.onParseImage({ source: e.src });
1262
- }, this.transitionTime);
1263
- } else this.clearImage();
1264
- }, onFailLoadImage: function() {
1265
- this.imageAttributes.src && (this.clearImage(), this.$emit("error"));
1266
- }, onSuccessLoadImage: function() {
1267
- var t = this, e = this.$refs.image;
1268
- e && !this.imageLoaded && (this.imageAttributes.height = e.naturalHeight, this.imageAttributes.width = e.naturalWidth, this.imageLoaded = true, this.resetVisibleArea().then(function() {
1269
- t.$emit("ready"), t.onChange(false);
1270
- }));
1271
- }, onParseImage: function(t) {
1272
- var e = this, i = t.source, n = t.arrayBuffer, s = t.orientation;
1273
- this.imageAttributes.revoke && this.imageAttributes.src && URL.revokeObjectURL(this.imageAttributes.src), this.imageAttributes.revoke = false, n && s && s > 1 ? W(i) || !T(i) ? (this.imageAttributes.src = URL.createObjectURL(new Blob([n])), this.imageAttributes.revoke = true) : this.imageAttributes.src = function(t2) {
1274
- for (var e2 = [], i2 = new Uint8Array(t2); i2.length > 0; ) {
1275
- var n2 = i2.subarray(0, 8192);
1276
- e2.push(String.fromCharCode.apply(null, Array.from ? Array.from(n2) : n2.slice())), i2 = i2.subarray(8192);
1277
- }
1278
- return "data:image/jpeg;base64," + btoa(e2.join(""));
1279
- }(n) : this.imageAttributes.src = i, O(this.defaultTransforms) ? this.appliedImageTransforms = Kt(this.defaultTransforms()) : H(this.defaultTransforms) ? this.appliedImageTransforms = Kt(this.defaultTransforms) : this.appliedImageTransforms = function(t2) {
1280
- var e2 = Kt({});
1281
- if (t2) switch (t2) {
1282
- case 2:
1283
- e2.flip.horizontal = true;
1284
- break;
1285
- case 3:
1286
- e2.rotate = -180;
1287
- break;
1288
- case 4:
1289
- e2.flip.vertical = true;
1290
- break;
1291
- case 5:
1292
- e2.rotate = 90, e2.flip.vertical = true;
1293
- break;
1294
- case 6:
1295
- e2.rotate = 90;
1296
- break;
1297
- case 7:
1298
- e2.rotate = 90, e2.flip.horizontal = true;
1299
- break;
1300
- case 8:
1301
- e2.rotate = -90;
1302
- }
1303
- return e2;
1304
- }(s), this.defaultImageTransforms = g(g({}, this.appliedImageTransforms), {}, { flip: g({}, this.appliedImageTransforms.flip) }), this.$nextTick(function() {
1305
- var t2 = e.$refs.image;
1306
- t2 && t2.complete && (!function(t3) {
1307
- return Boolean(t3.naturalWidth);
1308
- }(t2) ? e.onFailLoadImage() : e.onSuccessLoadImage());
1309
- });
1310
- }, onResizeEnd: function() {
1311
- this.runAutoZoom("resize", { transitions: true });
1312
- }, onMoveEnd: function() {
1313
- this.runAutoZoom("move", { transitions: true });
1314
- }, onMove: function(t) {
1315
- var e = this;
1316
- this.transitionsOptions.enabled || this.awaitRender(function() {
1317
- e.coordinates = e.moveAlgorithm(g(g({}, e.getPublicProperties()), {}, { positionRestrictions: jt(e.positionRestrictions, e.visibleArea), coordinates: e.coordinates, event: e.normalizeEvent(t) })), e.onChange();
1318
- });
1319
- }, onResize: function(t) {
1320
- var e = this;
1321
- this.transitionsOptions.enabled || this.stencilSize && !this.autoZoom || this.awaitRender(function() {
1322
- var i = e.sizeRestrictions, n = Math.min(e.coordinates.width, e.coordinates.height, 20 * e.coefficient);
1323
- e.coordinates = e.resizeAlgorithm(g(g({}, e.getPublicProperties()), {}, { positionRestrictions: jt(e.positionRestrictions, e.visibleArea), sizeRestrictions: { maxWidth: Math.min(i.maxWidth, e.visibleArea.width), maxHeight: Math.min(i.maxHeight, e.visibleArea.height), minWidth: Math.max(i.minWidth, n), minHeight: Math.max(i.minHeight, n) }, event: e.normalizeEvent(t) })), e.onChange(), e.ticking = false;
1324
- });
1325
- }, onManipulateImage: function(t) {
1326
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
1327
- if (!this.transitionsOptions.enabled) {
1328
- var i = e.transitions, n = void 0 !== i && i, s = e.normalize, o = void 0 === s || s;
1329
- n && this.enableTransitions();
1330
- var r = Lt(g(g({}, this.getPublicProperties()), {}, { event: o ? this.normalizeEvent(t) : t, getAreaRestrictions: this.getAreaRestrictions, imageRestriction: this.imageRestriction, adjustStencil: !this.stencilSize && this.settings.resizeImage.adjustStencil })), a = r.visibleArea, h = r.coordinates;
1331
- this.visibleArea = a, this.coordinates = h, this.runAutoZoom("manipulateImage"), this.onChange(), n && this.debouncedDisableTransitions();
1332
- }
1333
- }, onPropsChange: function() {
1334
- this.coordinates = this.applyTransform(this.coordinates, true), this.onChange(false);
1335
- }, getAreaRestrictions: function() {
1336
- var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, e = t.visibleArea, i = t.type, n = void 0 === i ? "move" : i;
1337
- return this.areaRestrictionsAlgorithm({ boundaries: this.boundaries, imageSize: this.imageSize, imageRestriction: this.imageRestriction, visibleArea: e, type: n });
1338
- }, getAspectRatio: function(t) {
1339
- var e, i, n = this.stencilProps, s = n.aspectRatio, o = n.minAspectRatio, r = n.maxAspectRatio;
1340
- if (this.$refs.stencil && this.$refs.stencil.aspectRatios) {
1341
- var a = this.$refs.stencil.aspectRatios();
1342
- e = a.minimum, i = a.maximum;
1343
- }
1344
- if (D(e) && (e = D(s) ? o : s), D(i) && (i = D(s) ? r : s), !t && (D(e) || D(i))) {
1345
- var h = this.getStencilSize(), c = h ? ct(h) : null;
1346
- D(e) && (e = P(c) ? c : void 0), D(i) && (i = P(c) ? c : void 0);
1347
- }
1348
- return { minimum: e, maximum: i };
1349
- }, getStencilSize: function() {
1350
- if (this.stencilSize) return t = { currentStencilSize: { width: this.stencilCoordinates.width, height: this.stencilCoordinates.height }, stencilSize: this.stencilSize, boundaries: this.boundaries, coefficient: this.coefficient, coordinates: this.coordinates, aspectRatio: this.getAspectRatio(true) }, e = t.boundaries, i = t.stencilSize, n = t.aspectRatio, dt(ct(s = O(i) ? i({ boundaries: e, aspectRatio: n }) : i), n) && (s = Mt({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: n.minimum, maximum: n.maximum } })), (s.width > e.width || s.height > e.height) && (s = Mt({ sizeRestrictions: { maxWidth: e.width, maxHeight: e.height, minWidth: 0, minHeight: 0 }, width: s.width, height: s.height, aspectRatio: { minimum: ct(s), maximum: ct(s) } })), s;
1351
- var t, e, i, n, s;
1352
- }, getPublicProperties: function() {
1353
- return { coefficient: this.coefficient, visibleArea: this.visibleArea, coordinates: this.coordinates, boundaries: this.boundaries, sizeRestrictions: this.sizeRestrictions, positionRestrictions: this.positionRestrictions, aspectRatio: this.getAspectRatio(), imageRestriction: this.imageRestriction };
1354
- }, defaultCoordinates: function() {
1355
- return g({}, J);
1356
- }, flip: function(t, e) {
1357
- var i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = i.transitions, s = void 0 === n || n;
1358
- if (!this.transitionsActive) {
1359
- s && this.enableTransitions();
1360
- var o = g({}, this.imageTransforms.flip), r = $t({ flip: { horizontal: t ? !o.horizontal : o.horizontal, vertical: e ? !o.vertical : o.vertical }, previousFlip: o, rotate: this.imageTransforms.rotate, visibleArea: this.visibleArea, coordinates: this.coordinates, imageSize: this.imageSize, positionRestrictions: this.positionRestrictions, sizeRestrictions: this.sizeRestrictions, getAreaRestrictions: this.getAreaRestrictions, aspectRatio: this.getAspectRatio() }), a = r.visibleArea, h = r.coordinates;
1361
- t && (this.appliedImageTransforms.flip.horizontal = !this.appliedImageTransforms.flip.horizontal), e && (this.appliedImageTransforms.flip.vertical = !this.appliedImageTransforms.flip.vertical), this.visibleArea = a, this.coordinates = h, this.onChange(), s && this.debouncedDisableTransitions();
1362
- }
1363
- }, rotate: function(t) {
1364
- var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, i = e.transitions, n = void 0 === i || i;
1365
- if (!this.transitionsActive) {
1366
- n && this.enableTransitions();
1367
- var s = g({}, this.imageSize);
1368
- this.appliedImageTransforms.rotate += t;
1369
- var o = Pt({ visibleArea: this.visibleArea, coordinates: this.coordinates, previousImageSize: s, imageSize: this.imageSize, angle: t, positionRestrictions: this.positionRestrictions, sizeRestrictions: this.sizeRestrictions, getAreaRestrictions: this.getAreaRestrictions, aspectRatio: this.getAspectRatio() }), r = o.visibleArea, a = o.coordinates, h = this.processAutoZoom("rotateImage", r, a);
1370
- r = h.visibleArea, a = h.coordinates, this.visibleArea = r, this.coordinates = a, this.onChange(), n && this.debouncedDisableTransitions();
1371
- }
1372
- } }, emits: ["change", "error", "ready"] }, ve = { key: 0, ref: "canvas", style: { display: "none" } }, be = { key: 1, ref: "sourceCanvas", style: { display: "none" } };
1373
- fe.render = function(i, n, r, a, p2, g2) {
1374
- return openBlock(), createBlock("div", { ref: "cropper", class: g2.classes.cropper }, [createVNode("div", { ref: "stretcher", class: g2.classes.stretcher }, null, 2), createVNode("div", { class: g2.classes.boundaries, style: g2.boundariesStyle }, [(openBlock(), createBlock(resolveDynamicComponent(r.backgroundWrapperComponent), { class: g2.classes.cropperWrapper, "wheel-resize": g2.settings.resizeImage.wheel, "touch-resize": g2.settings.resizeImage.touch, "touch-move": g2.settings.moveImage.touch, "mouse-move": g2.settings.moveImage.mouse, onMove: g2.onManipulateImage, onResize: g2.onManipulateImage }, { default: withCtx(function() {
1375
- return [createVNode("div", { class: g2.classes.background, style: g2.boundariesStyle }, null, 6), createVNode("div", { class: g2.classes.imageWrapper }, [createVNode("img", { ref: "image", crossorigin: p2.imageAttributes.crossOrigin, src: p2.imageAttributes.src, class: g2.classes.image, style: g2.imageStyle, onMousedown: n[1] || (n[1] = withModifiers(function() {
1376
- }, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), createVNode("div", { class: g2.classes.foreground, style: g2.boundariesStyle }, null, 6), withDirectives((openBlock(), createBlock(resolveDynamicComponent(r.stencilComponent), mergeProps({ ref: "stencil", image: g2.image, coordinates: p2.coordinates, "stencil-coordinates": g2.stencilCoordinates, transitions: g2.transitionsOptions }, r.stencilProps, { onResize: g2.onResize, onResizeEnd: g2.onResizeEnd, onMove: g2.onMove, onMoveEnd: g2.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[vShow, p2.imageLoaded]]), r.canvas ? (openBlock(), createBlock("canvas", ve, null, 512)) : createCommentVNode("", true), r.canvas ? (openBlock(), createBlock("canvas", be, null, 512)) : createCommentVNode("", true)];
1377
- }), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
1378
- };
1379
- export {
1380
- fe as f,
1381
- oe as o
1382
- };