@fewangsit/wangsvue 1.5.219-alpha.1 → 1.5.219-alpha.2

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 (588) hide show
  1. package/animation/index.es.js +54 -37
  2. package/assets/lottiejs/loading-page.es.js +14 -9
  3. package/assets/lottiejs/loading-plane.es.js +2 -2
  4. package/assets/lottiejs/loading-table.es.js +14 -9
  5. package/assets/lottiejs/no-data.es.js +14 -9
  6. package/backgroundimagecropper/index.es.js +61 -37
  7. package/badge/index.es.js +77 -67
  8. package/badgegroup/index.es.js +62 -50
  9. package/basecalendar/index.es.js +1258 -735
  10. package/basetree/index.es.js +213 -113
  11. package/breadcrumb/index.es.js +46 -38
  12. package/button/index.es.js +60 -54
  13. package/buttonbulkaction/index.es.js +168 -117
  14. package/buttoncopy/index.es.js +25 -22
  15. package/buttondownload/index.es.js +125 -76
  16. package/buttonfilter/index.es.js +21 -15
  17. package/buttonradio/index.es.js +91 -67
  18. package/buttonsearch/index.es.js +62 -46
  19. package/buttonselecttree/index.es.js +233 -172
  20. package/buttontoggle/index.es.js +8 -6
  21. package/calendar/index.es.js +113 -58
  22. package/card/index.es.js +44 -42
  23. package/checkbox/index.es.js +105 -74
  24. package/codesnippet/index.es.js +91 -71
  25. package/codesnippetadapter/index.es.js +25 -21
  26. package/columnlist/index.es.js +249 -171
  27. package/components.d.ts +0 -21
  28. package/config/defaultProps.es.js +9 -9
  29. package/config/index.es.js +11 -10
  30. package/config/locale.es.js +2 -2
  31. package/customcolumn/index.es.js +95 -78
  32. package/datatable/index.es.js +1071 -732
  33. package/dialog/index.es.js +54 -54
  34. package/dialogconfirm/index.es.js +90 -75
  35. package/dialogform/index.es.js +170 -133
  36. package/dialogselecttree/index.es.js +242 -194
  37. package/directives/focus.es.js +13 -8
  38. package/dropdown/index.es.js +250 -196
  39. package/editor/index.es.js +694 -498
  40. package/editorbutton/index.es.js +21 -19
  41. package/event-bus/index.es.js +3 -3
  42. package/event-bus/mitt.es.js +37 -20
  43. package/fieldwrapper/index.es.js +30 -25
  44. package/fileupload/index.es.js +230 -140
  45. package/filtercontainer/index.es.js +299 -222
  46. package/form/index.es.js +176 -126
  47. package/gallerypreview/index.es.js +138 -101
  48. package/icon/index.es.js +38 -36
  49. package/image/index.es.js +161 -108
  50. package/imagecompressor/index.es.js +616 -449
  51. package/imageinputinfo/index.es.js +26 -22
  52. package/inlinemessage/index.es.js +77 -65
  53. package/inputbadge/index.es.js +230 -156
  54. package/inputcurrency/index.es.js +146 -109
  55. package/inputemail/index.es.js +18 -16
  56. package/inputgroup/index.es.js +19 -16
  57. package/inputnumber/index.es.js +252 -182
  58. package/inputpassword/index.es.js +120 -94
  59. package/inputphonenumber/index.es.js +1017 -550
  60. package/inputrangenumber/index.es.js +129 -98
  61. package/inputtext/index.es.js +264 -189
  62. package/inputurl/index.es.js +31 -29
  63. package/invisiblefield/index.es.js +24 -16
  64. package/litedropdown/index.es.js +87 -81
  65. package/loading/index.es.js +21 -19
  66. package/loading-page-BXZ4fLOS.js +8 -0
  67. package/loading-page-BuLpsb_1.js +8 -0
  68. package/loading-page-CNqVBg__.js +4 -0
  69. package/loading-page-DbhhZih2.js +4 -0
  70. package/loading-page-DjfWXoOy.js +8 -0
  71. package/loading-page-S-KRY5zm.js +4 -0
  72. package/loading-plane-C1mi7Whv.js +4 -0
  73. package/loading-plane-CWq1hz_l.js +8 -0
  74. package/loading-table-B7LAXzAp.js +4 -0
  75. package/loading-table-BLmgKUsR.js +4 -0
  76. package/loading-table-CG7-cuhv.js +8 -0
  77. package/loading-table-CUPS49ta.js +4 -0
  78. package/loading-table-CuWWrTbv.js +8 -0
  79. package/loading-table-DbBzVwaZ.js +8 -0
  80. package/mentionlist/index.es.js +77 -44
  81. package/mentionsection/index.es.js +53 -43
  82. package/menu/index.es.js +65 -51
  83. package/menuitem/index.es.js +39 -37
  84. package/multirow/index.es.js +29 -28
  85. package/multiselect/index.es.js +184 -152
  86. package/no-data-B781skt3.js +4 -0
  87. package/no-data-CAksOnDl.js +4 -0
  88. package/no-data-DCsjBXQR.js +4 -0
  89. package/no-data-Dz0QOe7Q.js +8 -0
  90. package/no-data-_Huxiv9q.js +8 -0
  91. package/no-data-ybRQontJ.js +8 -0
  92. package/overlaypanel/index.es.js +49 -36
  93. package/package.json +1 -1
  94. package/paginator/index.es.js +36 -33
  95. package/plugins/WangsVue.es.js +63 -45
  96. package/plugins/formValidation.es.js +15 -11
  97. package/progressbar/index.es.js +39 -32
  98. package/quickfilter/index.es.js +94 -81
  99. package/stats.html +1 -1
  100. package/style.css +1 -1
  101. package/tabmenu/index.es.js +18 -16
  102. package/textarea/index.es.js +94 -72
  103. package/timeline/index.es.js +124 -102
  104. package/timelinecontentbytype/index.es.js +114 -92
  105. package/toast/index.es.js +67 -54
  106. package/toggleswitch/index.es.js +83 -66
  107. package/tree/index.es.js +306 -198
  108. package/treenode/index.es.js +464 -339
  109. package/treesearchinput/index.es.js +32 -26
  110. package/usergroup/index.es.js +83 -67
  111. package/username/index.es.js +99 -85
  112. package/utils/addAttachment.util.es.js +47 -21
  113. package/utils/baseToast.util.es.js +41 -33
  114. package/utils/convertJsonImage.util.es.js +24 -24
  115. package/utils/date.util.es.js +131 -106
  116. package/utils/exportToExcel.util.es.js +81 -47
  117. package/utils/filterOptions.util.es.js +8 -2
  118. package/utils/genPlaceholder.util.es.js +30 -16
  119. package/utils/getProjectPermission.util.es.js +15 -12
  120. package/utils/getSalesRole.util.es.js +4 -4
  121. package/utils/getUser.util.es.js +2 -2
  122. package/utils/getUserType.util.es.js +13 -8
  123. package/utils/isIntersect.es.js +4 -2
  124. package/utils/mergePropsWithDefaults.util.es.js +7 -6
  125. package/utils/object.util.es.js +88 -54
  126. package/utils/queryParamsStringfy.util.es.js +19 -11
  127. package/utils/role.util.es.js +5 -4
  128. package/utils/statusSeverity.util.es.js +20 -5
  129. package/utils/textFormatter.util.es.js +28 -50
  130. package/utils/toast.util.es.js +8 -5
  131. package/utils/xlsx.util.es.js +12 -6
  132. package/validatormessage/index.es.js +9 -9
  133. package/vendor/@popperjs/core/lib/createPopper.es.js +110 -83
  134. package/vendor/@popperjs/core/lib/dom-utils/contains.es.js +14 -13
  135. package/vendor/@popperjs/core/lib/dom-utils/getBoundingClientRect.es.js +33 -18
  136. package/vendor/@popperjs/core/lib/dom-utils/getClippingRect.es.js +55 -31
  137. package/vendor/@popperjs/core/lib/dom-utils/getCompositeRect.es.js +43 -22
  138. package/vendor/@popperjs/core/lib/dom-utils/getComputedStyle.es.js +4 -4
  139. package/vendor/@popperjs/core/lib/dom-utils/getDocumentElement.es.js +5 -5
  140. package/vendor/@popperjs/core/lib/dom-utils/getDocumentRect.es.js +23 -13
  141. package/vendor/@popperjs/core/lib/dom-utils/getHTMLElementScroll.es.js +4 -4
  142. package/vendor/@popperjs/core/lib/dom-utils/getLayoutRect.es.js +17 -9
  143. package/vendor/@popperjs/core/lib/dom-utils/getNodeName.es.js +3 -3
  144. package/vendor/@popperjs/core/lib/dom-utils/getNodeScroll.es.js +11 -7
  145. package/vendor/@popperjs/core/lib/dom-utils/getOffsetParent.es.js +42 -26
  146. package/vendor/@popperjs/core/lib/dom-utils/getParentNode.es.js +13 -10
  147. package/vendor/@popperjs/core/lib/dom-utils/getScrollParent.es.js +13 -7
  148. package/vendor/@popperjs/core/lib/dom-utils/getViewportRect.es.js +25 -15
  149. package/vendor/@popperjs/core/lib/dom-utils/getWindow.es.js +8 -7
  150. package/vendor/@popperjs/core/lib/dom-utils/getWindowScroll.es.js +8 -6
  151. package/vendor/@popperjs/core/lib/dom-utils/getWindowScrollBarX.es.js +6 -6
  152. package/vendor/@popperjs/core/lib/dom-utils/instanceOf.es.js +16 -15
  153. package/vendor/@popperjs/core/lib/dom-utils/isLayoutViewport.es.js +4 -4
  154. package/vendor/@popperjs/core/lib/dom-utils/isScrollParent.es.js +5 -5
  155. package/vendor/@popperjs/core/lib/dom-utils/isTableElement.es.js +4 -4
  156. package/vendor/@popperjs/core/lib/dom-utils/listScrollParents.es.js +17 -11
  157. package/vendor/@popperjs/core/lib/enums.es.js +43 -20
  158. package/vendor/@popperjs/core/lib/modifiers/applyStyles.es.js +49 -25
  159. package/vendor/@popperjs/core/lib/modifiers/arrow.es.js +61 -26
  160. package/vendor/@popperjs/core/lib/modifiers/computeStyles.es.js +101 -69
  161. package/vendor/@popperjs/core/lib/modifiers/eventListeners.es.js +30 -16
  162. package/vendor/@popperjs/core/lib/modifiers/flip.es.js +99 -60
  163. package/vendor/@popperjs/core/lib/modifiers/hide.es.js +44 -31
  164. package/vendor/@popperjs/core/lib/modifiers/offset.es.js +32 -20
  165. package/vendor/@popperjs/core/lib/modifiers/popperOffsets.es.js +11 -11
  166. package/vendor/@popperjs/core/lib/modifiers/preventOverflow.es.js +91 -40
  167. package/vendor/@popperjs/core/lib/popper.es.js +14 -13
  168. package/vendor/@popperjs/core/lib/utils/computeAutoPlacement.es.js +29 -21
  169. package/vendor/@popperjs/core/lib/utils/computeOffsets.es.js +41 -36
  170. package/vendor/@popperjs/core/lib/utils/debounce.es.js +11 -7
  171. package/vendor/@popperjs/core/lib/utils/detectOverflow.es.js +42 -28
  172. package/vendor/@popperjs/core/lib/utils/expandToHashMap.es.js +5 -4
  173. package/vendor/@popperjs/core/lib/utils/getAltAxis.es.js +3 -3
  174. package/vendor/@popperjs/core/lib/utils/getBasePlacement.es.js +3 -3
  175. package/vendor/@popperjs/core/lib/utils/getFreshSideObject.es.js +2 -2
  176. package/vendor/@popperjs/core/lib/utils/getMainAxisFromPlacement.es.js +3 -3
  177. package/vendor/@popperjs/core/lib/utils/getOppositePlacement.es.js +5 -5
  178. package/vendor/@popperjs/core/lib/utils/getOppositeVariationPlacement.es.js +5 -5
  179. package/vendor/@popperjs/core/lib/utils/getVariation.es.js +3 -3
  180. package/vendor/@popperjs/core/lib/utils/math.es.js +6 -4
  181. package/vendor/@popperjs/core/lib/utils/mergeByName.es.js +11 -10
  182. package/vendor/@popperjs/core/lib/utils/mergePaddingObject.es.js +4 -4
  183. package/vendor/@popperjs/core/lib/utils/orderModifiers.es.js +30 -22
  184. package/vendor/@popperjs/core/lib/utils/rectToClientRect.es.js +7 -7
  185. package/vendor/@popperjs/core/lib/utils/userAgent.es.js +9 -6
  186. package/vendor/@popperjs/core/lib/utils/within.es.js +8 -8
  187. package/vendor/@tiptap/core/dist/index.es.js +3494 -2000
  188. package/vendor/@tiptap/extension-bold/dist/index.es.js +29 -19
  189. package/vendor/@tiptap/extension-bubble-menu/dist/index.es.js +145 -71
  190. package/vendor/@tiptap/extension-bullet-list/dist/index.es.js +32 -19
  191. package/vendor/@tiptap/extension-code/dist/index.es.js +22 -14
  192. package/vendor/@tiptap/extension-document/dist/index.es.js +4 -4
  193. package/vendor/@tiptap/extension-floating-menu/dist/index.es.js +106 -51
  194. package/vendor/@tiptap/extension-heading/dist/index.es.js +38 -22
  195. package/vendor/@tiptap/extension-history/dist/index.es.js +11 -7
  196. package/vendor/@tiptap/extension-image/dist/index.es.js +20 -17
  197. package/vendor/@tiptap/extension-italic/dist/index.es.js +28 -18
  198. package/vendor/@tiptap/extension-link/dist/index.es.js +236 -147
  199. package/vendor/@tiptap/extension-list-item/dist/index.es.js +6 -6
  200. package/vendor/@tiptap/extension-mention/dist/index.es.js +98 -63
  201. package/vendor/@tiptap/extension-ordered-list/dist/index.es.js +38 -25
  202. package/vendor/@tiptap/extension-paragraph/dist/index.es.js +8 -6
  203. package/vendor/@tiptap/extension-placeholder/dist/index.es.js +34 -27
  204. package/vendor/@tiptap/extension-text/dist/index.es.js +3 -3
  205. package/vendor/@tiptap/extension-underline/dist/index.es.js +16 -10
  206. package/vendor/@tiptap/suggestion/dist/index.es.js +174 -90
  207. package/vendor/@tiptap/vue-3/dist/index.es.js +287 -188
  208. package/vendor/@wangs-ui/core/components/p-BU8h34na.es.js +17 -14
  209. package/vendor/@wangs-ui/core/components/p-C5lMEBcj.es.js +69 -55
  210. package/vendor/@wangs-ui/core/components/p-CKYwZoTo.es.js +26 -22
  211. package/vendor/@wangs-ui/core/components/p-CsoK-EWG.es.js +147 -102
  212. package/vendor/@wangs-ui/core/components/p-DPHEi31J.es.js +102 -77
  213. package/vendor/@wangs-ui/core/components/p-DTTCzifR.es.js +1298 -551
  214. package/vendor/@wangs-ui/core/components/p-Duri5p90.es.js +60 -49
  215. package/vendor/@wangs-ui/core/components/wangs-button.es.js +19 -15
  216. package/vendor/@wangs-ui/core/components/wangs-icon.es.js +3 -3
  217. package/vendor/@wangs-ui/core/components/wangs-input-otp.es.js +3 -3
  218. package/vendor/@wangs-ui/core/components/wangs-tab-menu.es.js +3 -3
  219. package/vendor/@wangs-ui/core/dist/esm/index-DCkh3cGv.es.js +116 -102
  220. package/vendor/@wangs-ui/vue/dist/index.es.js +77 -77
  221. package/vendor/base64toblob/base64toblob.es.js +31 -15
  222. package/vendor/highlight.js/es/core.es.js +5 -5
  223. package/vendor/highlight.js/es/languages/javascript.es.js +237 -193
  224. package/vendor/highlight.js/es/languages/json.es.js +18 -15
  225. package/vendor/highlight.js/es/languages/typescript.es.js +288 -228
  226. package/vendor/highlight.js/es/languages/vbscript-html.es.js +2 -2
  227. package/vendor/highlight.js/lib/core.es.js +1144 -666
  228. package/vendor/linkifyjs/dist/linkify.es.es.js +858 -405
  229. package/vendor/lodash/_Symbol.es.js +11 -8
  230. package/vendor/lodash/_baseGetTag.es.js +19 -12
  231. package/vendor/lodash/_baseTrim.es.js +13 -10
  232. package/vendor/lodash/_freeGlobal.es.js +10 -8
  233. package/vendor/lodash/_getRawTag.es.js +28 -15
  234. package/vendor/lodash/_objectToString.es.js +12 -9
  235. package/vendor/lodash/_root.es.js +12 -8
  236. package/vendor/lodash/_trimmedEndIndex.es.js +14 -11
  237. package/vendor/lodash/debounce.es.js +92 -54
  238. package/vendor/lodash/isObject.es.js +11 -9
  239. package/vendor/lodash/isObjectLike.es.js +10 -8
  240. package/vendor/lodash/isSymbol.es.js +14 -11
  241. package/vendor/lodash/now.es.js +12 -9
  242. package/vendor/lodash/throttle.es.js +25 -17
  243. package/vendor/lodash/toNumber.es.js +33 -23
  244. package/vendor/lodash-es/_DataView.es.js +4 -4
  245. package/vendor/lodash-es/_Hash.es.js +17 -16
  246. package/vendor/lodash-es/_ListCache.es.js +17 -16
  247. package/vendor/lodash-es/_Map.es.js +4 -4
  248. package/vendor/lodash-es/_MapCache.es.js +17 -16
  249. package/vendor/lodash-es/_Promise.es.js +4 -4
  250. package/vendor/lodash-es/_Set.es.js +4 -4
  251. package/vendor/lodash-es/_SetCache.es.js +12 -10
  252. package/vendor/lodash-es/_Stack.es.js +15 -15
  253. package/vendor/lodash-es/_Symbol.es.js +3 -3
  254. package/vendor/lodash-es/_Uint8Array.es.js +3 -3
  255. package/vendor/lodash-es/_WeakMap.es.js +4 -4
  256. package/vendor/lodash-es/_arrayEach.es.js +9 -5
  257. package/vendor/lodash-es/_arrayFilter.es.js +9 -6
  258. package/vendor/lodash-es/_arrayLikeKeys.es.js +21 -17
  259. package/vendor/lodash-es/_arrayPush.es.js +7 -5
  260. package/vendor/lodash-es/_arraySome.es.js +9 -6
  261. package/vendor/lodash-es/_assignValue.es.js +10 -7
  262. package/vendor/lodash-es/_assocIndexOf.es.js +9 -6
  263. package/vendor/lodash-es/_baseAssignValue.es.js +13 -9
  264. package/vendor/lodash-es/_baseClone.es.js +67 -49
  265. package/vendor/lodash-es/_baseCreate.es.js +15 -11
  266. package/vendor/lodash-es/_baseGetAllKeys.es.js +6 -6
  267. package/vendor/lodash-es/_baseGetTag.es.js +11 -7
  268. package/vendor/lodash-es/_baseIsArguments.es.js +6 -6
  269. package/vendor/lodash-es/_baseIsEqual.es.js +11 -5
  270. package/vendor/lodash-es/_baseIsEqualDeep.es.js +39 -26
  271. package/vendor/lodash-es/_baseIsMap.es.js +6 -6
  272. package/vendor/lodash-es/_baseIsNative.es.js +18 -12
  273. package/vendor/lodash-es/_baseIsSet.es.js +6 -6
  274. package/vendor/lodash-es/_baseIsTypedArray.es.js +11 -9
  275. package/vendor/lodash-es/_baseKeys.es.js +16 -11
  276. package/vendor/lodash-es/_baseTimes.es.js +7 -5
  277. package/vendor/lodash-es/_baseTrim.es.js +5 -5
  278. package/vendor/lodash-es/_baseUnary.es.js +4 -4
  279. package/vendor/lodash-es/_cacheHas.es.js +3 -3
  280. package/vendor/lodash-es/_cloneArrayBuffer.es.js +6 -5
  281. package/vendor/lodash-es/_cloneBuffer.es.js +11 -6
  282. package/vendor/lodash-es/_cloneDataView.es.js +5 -5
  283. package/vendor/lodash-es/_cloneRegExp.es.js +6 -5
  284. package/vendor/lodash-es/_cloneSymbol.es.js +5 -5
  285. package/vendor/lodash-es/_cloneTypedArray.es.js +5 -5
  286. package/vendor/lodash-es/_coreJsData.es.js +3 -3
  287. package/vendor/lodash-es/_defineProperty.es.js +7 -6
  288. package/vendor/lodash-es/_equalArrays.es.js +38 -28
  289. package/vendor/lodash-es/_equalByTag.es.js +55 -41
  290. package/vendor/lodash-es/_equalObjects.es.js +42 -28
  291. package/vendor/lodash-es/_freeGlobal.es.js +2 -2
  292. package/vendor/lodash-es/_getAllKeys.es.js +6 -6
  293. package/vendor/lodash-es/_getMapData.es.js +5 -5
  294. package/vendor/lodash-es/_getNative.es.js +6 -6
  295. package/vendor/lodash-es/_getPrototype.es.js +3 -3
  296. package/vendor/lodash-es/_getRawTag.es.js +20 -10
  297. package/vendor/lodash-es/_getSymbols.es.js +15 -8
  298. package/vendor/lodash-es/_getTag.es.js +31 -25
  299. package/vendor/lodash-es/_getValue.es.js +3 -3
  300. package/vendor/lodash-es/_hashClear.es.js +5 -4
  301. package/vendor/lodash-es/_hashDelete.es.js +5 -4
  302. package/vendor/lodash-es/_hashGet.es.js +11 -9
  303. package/vendor/lodash-es/_hashHas.es.js +7 -6
  304. package/vendor/lodash-es/_hashSet.es.js +8 -6
  305. package/vendor/lodash-es/_initCloneArray.es.js +10 -5
  306. package/vendor/lodash-es/_initCloneByTag.es.js +39 -38
  307. package/vendor/lodash-es/_initCloneObject.es.js +6 -6
  308. package/vendor/lodash-es/_isIndex.es.js +7 -5
  309. package/vendor/lodash-es/_isKeyable.es.js +4 -4
  310. package/vendor/lodash-es/_isMasked.es.js +7 -7
  311. package/vendor/lodash-es/_isPrototype.es.js +5 -5
  312. package/vendor/lodash-es/_listCacheClear.es.js +4 -3
  313. package/vendor/lodash-es/_listCacheDelete.es.js +17 -9
  314. package/vendor/lodash-es/_listCacheGet.es.js +5 -5
  315. package/vendor/lodash-es/_listCacheHas.es.js +4 -4
  316. package/vendor/lodash-es/_listCacheSet.es.js +11 -5
  317. package/vendor/lodash-es/_mapCacheClear.es.js +10 -9
  318. package/vendor/lodash-es/_mapCacheDelete.es.js +6 -5
  319. package/vendor/lodash-es/_mapCacheGet.es.js +4 -4
  320. package/vendor/lodash-es/_mapCacheHas.es.js +4 -4
  321. package/vendor/lodash-es/_mapCacheSet.es.js +7 -5
  322. package/vendor/lodash-es/_mapToArray.es.js +7 -6
  323. package/vendor/lodash-es/_nativeCreate.es.js +3 -3
  324. package/vendor/lodash-es/_nativeKeys.es.js +3 -3
  325. package/vendor/lodash-es/_nodeUtil.es.js +13 -6
  326. package/vendor/lodash-es/_objectToString.es.js +5 -4
  327. package/vendor/lodash-es/_overArg.es.js +4 -4
  328. package/vendor/lodash-es/_root.es.js +4 -3
  329. package/vendor/lodash-es/_setCacheAdd.es.js +5 -4
  330. package/vendor/lodash-es/_setCacheHas.es.js +3 -3
  331. package/vendor/lodash-es/_setToArray.es.js +7 -6
  332. package/vendor/lodash-es/_stackClear.es.js +5 -4
  333. package/vendor/lodash-es/_stackDelete.es.js +5 -4
  334. package/vendor/lodash-es/_stackGet.es.js +3 -3
  335. package/vendor/lodash-es/_stackHas.es.js +3 -3
  336. package/vendor/lodash-es/_stackSet.es.js +18 -13
  337. package/vendor/lodash-es/_toSource.es.js +9 -8
  338. package/vendor/lodash-es/_trimmedEndIndex.es.js +7 -6
  339. package/vendor/lodash-es/cloneDeep.es.js +5 -5
  340. package/vendor/lodash-es/debounce.es.js +84 -49
  341. package/vendor/lodash-es/eq.es.js +3 -3
  342. package/vendor/lodash-es/isArguments.es.js +9 -6
  343. package/vendor/lodash-es/isArray.es.js +2 -2
  344. package/vendor/lodash-es/isArrayLike.es.js +5 -5
  345. package/vendor/lodash-es/isBuffer.es.js +9 -4
  346. package/vendor/lodash-es/isEqual.es.js +4 -4
  347. package/vendor/lodash-es/isFunction.es.js +10 -9
  348. package/vendor/lodash-es/isLength.es.js +4 -4
  349. package/vendor/lodash-es/isMap.es.js +6 -5
  350. package/vendor/lodash-es/isObject.es.js +4 -4
  351. package/vendor/lodash-es/isObjectLike.es.js +3 -3
  352. package/vendor/lodash-es/isSet.es.js +6 -5
  353. package/vendor/lodash-es/isSymbol.es.js +6 -6
  354. package/vendor/lodash-es/isTypedArray.es.js +6 -5
  355. package/vendor/lodash-es/keys.es.js +6 -6
  356. package/vendor/lodash-es/now.es.js +4 -4
  357. package/vendor/lodash-es/stubArray.es.js +2 -2
  358. package/vendor/lodash-es/stubFalse.es.js +3 -3
  359. package/vendor/lodash-es/toNumber.es.js +25 -18
  360. package/vendor/lodash-es/toString.es.js +2 -2
  361. package/vendor/lodash-es/uniqueId.es.js +6 -6
  362. package/vendor/orderedmap/dist/index.es.js +65 -49
  363. package/vendor/primevue/api/api.esm.es.js +214 -121
  364. package/vendor/primevue/avatar/avatar.esm.es.js +44 -41
  365. package/vendor/primevue/avatar/style/avatarstyle.esm.es.js +12 -11
  366. package/vendor/primevue/avatargroup/avatargroup.esm.es.js +17 -16
  367. package/vendor/primevue/avatargroup/style/avatargroupstyle.esm.es.js +6 -5
  368. package/vendor/primevue/badge/badge.esm.es.js +21 -20
  369. package/vendor/primevue/badge/style/badgestyle.esm.es.js +19 -18
  370. package/vendor/primevue/base/style/basestyle.esm.es.js +88 -99
  371. package/vendor/primevue/basecomponent/basecomponent.esm.es.js +327 -261
  372. package/vendor/primevue/basedirective/basedirective.esm.es.js +257 -186
  373. package/vendor/primevue/baseicon/baseicon.esm.es.js +55 -49
  374. package/vendor/primevue/baseicon/style/baseiconstyle.esm.es.js +5 -35
  375. package/vendor/primevue/button/button.esm.es.js +76 -72
  376. package/vendor/primevue/button/style/buttonstyle.esm.es.js +46 -39
  377. package/vendor/primevue/card/card.esm.es.js +30 -29
  378. package/vendor/primevue/card/style/cardstyle.esm.es.js +6 -5
  379. package/vendor/primevue/checkbox/checkbox.esm.es.js +109 -101
  380. package/vendor/primevue/checkbox/style/checkboxstyle.esm.es.js +12 -11
  381. package/vendor/primevue/config/config.esm.es.js +76 -58
  382. package/vendor/primevue/dialog/dialog.esm.es.js +421 -281
  383. package/vendor/primevue/dialog/style/dialogstyle.esm.es.js +26 -22
  384. package/vendor/primevue/dropdown/dropdown.esm.es.js +956 -742
  385. package/vendor/primevue/dropdown/style/dropdownstyle.esm.es.js +33 -31
  386. package/vendor/primevue/fileupload/fileupload.esm.es.js +559 -450
  387. package/vendor/primevue/fileupload/style/fileuploadstyle.esm.es.js +14 -13
  388. package/vendor/primevue/focustrap/focustrap.esm.es.js +128 -90
  389. package/vendor/primevue/focustrap/style/focustrapstyle.esm.es.js +2 -2
  390. package/vendor/primevue/icons/angledoubleleft/index.esm.es.js +13 -11
  391. package/vendor/primevue/icons/angledoubleright/index.esm.es.js +13 -11
  392. package/vendor/primevue/icons/angledown/index.esm.es.js +13 -11
  393. package/vendor/primevue/icons/angleleft/index.esm.es.js +13 -11
  394. package/vendor/primevue/icons/angleright/index.esm.es.js +13 -11
  395. package/vendor/primevue/icons/angleup/index.esm.es.js +13 -11
  396. package/vendor/primevue/icons/blank/index.esm.es.js +13 -11
  397. package/vendor/primevue/icons/check/index.esm.es.js +13 -11
  398. package/vendor/primevue/icons/chevrondown/index.esm.es.js +13 -11
  399. package/vendor/primevue/icons/exclamationtriangle/index.esm.es.js +17 -13
  400. package/vendor/primevue/icons/eye/index.esm.es.js +13 -11
  401. package/vendor/primevue/icons/eyeslash/index.esm.es.js +13 -11
  402. package/vendor/primevue/icons/infocircle/index.esm.es.js +13 -11
  403. package/vendor/primevue/icons/plus/index.esm.es.js +13 -11
  404. package/vendor/primevue/icons/refresh/index.esm.es.js +13 -11
  405. package/vendor/primevue/icons/search/index.esm.es.js +13 -11
  406. package/vendor/primevue/icons/searchminus/index.esm.es.js +13 -11
  407. package/vendor/primevue/icons/searchplus/index.esm.es.js +13 -11
  408. package/vendor/primevue/icons/spinner/index.esm.es.js +13 -11
  409. package/vendor/primevue/icons/times/index.esm.es.js +13 -11
  410. package/vendor/primevue/icons/timescircle/index.esm.es.js +13 -11
  411. package/vendor/primevue/icons/undo/index.esm.es.js +13 -11
  412. package/vendor/primevue/icons/upload/index.esm.es.js +13 -11
  413. package/vendor/primevue/icons/windowmaximize/index.esm.es.js +13 -11
  414. package/vendor/primevue/icons/windowminimize/index.esm.es.js +13 -11
  415. package/vendor/primevue/image/image.esm.es.js +280 -235
  416. package/vendor/primevue/image/style/imagestyle.esm.es.js +18 -17
  417. package/vendor/primevue/inputgroup/inputgroup.esm.es.js +17 -16
  418. package/vendor/primevue/inputgroup/style/inputgroupstyle.esm.es.js +6 -5
  419. package/vendor/primevue/inputgroupaddon/inputgroupaddon.esm.es.js +17 -16
  420. package/vendor/primevue/inputgroupaddon/style/inputgroupaddonstyle.esm.es.js +6 -5
  421. package/vendor/primevue/inputnumber/inputnumber.esm.es.js +834 -566
  422. package/vendor/primevue/inputnumber/style/inputnumberstyle.esm.es.js +23 -22
  423. package/vendor/primevue/inputtext/inputtext.esm.es.js +32 -30
  424. package/vendor/primevue/inputtext/style/inputtextstyle.esm.es.js +13 -12
  425. package/vendor/primevue/menu/menu.esm.es.js +402 -304
  426. package/vendor/primevue/menu/style/menustyle.esm.es.js +14 -13
  427. package/vendor/primevue/message/message.esm.es.js +126 -112
  428. package/vendor/primevue/message/style/messagestyle.esm.es.js +9 -8
  429. package/vendor/primevue/multiselect/multiselect.esm.es.js +1083 -835
  430. package/vendor/primevue/multiselect/style/multiselectstyle.esm.es.js +38 -36
  431. package/vendor/primevue/overlayeventbus/overlayeventbus.esm.es.js +3 -3
  432. package/vendor/primevue/overlaypanel/overlaypanel.esm.es.js +275 -169
  433. package/vendor/primevue/overlaypanel/style/overlaypanelstyle.esm.es.js +9 -8
  434. package/vendor/primevue/paginator/paginator.esm.es.js +513 -469
  435. package/vendor/primevue/paginator/style/paginatorstyle.esm.es.js +50 -43
  436. package/vendor/primevue/password/password.esm.es.js +306 -233
  437. package/vendor/primevue/password/style/passwordstyle.esm.es.js +26 -24
  438. package/vendor/primevue/portal/portal.esm.es.js +17 -17
  439. package/vendor/primevue/progressbar/progressbar.esm.es.js +37 -35
  440. package/vendor/primevue/progressbar/style/progressbarstyle.esm.es.js +10 -9
  441. package/vendor/primevue/ripple/ripple.esm.es.js +90 -62
  442. package/vendor/primevue/ripple/style/ripplestyle.esm.es.js +6 -5
  443. package/vendor/primevue/selectbutton/selectbutton.esm.es.js +213 -167
  444. package/vendor/primevue/selectbutton/style/selectbuttonstyle.esm.es.js +14 -13
  445. package/vendor/primevue/skeleton/skeleton.esm.es.js +28 -26
  446. package/vendor/primevue/skeleton/style/skeletonstyle.esm.es.js +13 -11
  447. package/vendor/primevue/textarea/style/textareastyle.esm.es.js +12 -11
  448. package/vendor/primevue/textarea/textarea.esm.es.js +49 -33
  449. package/vendor/primevue/timeline/style/timelinestyle.esm.es.js +9 -8
  450. package/vendor/primevue/timeline/timeline.esm.es.js +53 -52
  451. package/vendor/primevue/toast/style/toaststyle.esm.es.js +54 -46
  452. package/vendor/primevue/toast/toast.esm.es.js +309 -260
  453. package/vendor/primevue/toasteventbus/toasteventbus.esm.es.js +3 -3
  454. package/vendor/primevue/toastservice/toastservice.esm.es.js +16 -15
  455. package/vendor/primevue/tooltip/style/tooltipstyle.esm.es.js +6 -5
  456. package/vendor/primevue/tooltip/tooltip.esm.es.js +383 -186
  457. package/vendor/primevue/usestyle/usestyle.esm.es.js +94 -64
  458. package/vendor/primevue/usetoast/usetoast.esm.es.js +9 -8
  459. package/vendor/primevue/utils/utils.esm.es.js +1078 -772
  460. package/vendor/primevue/virtualscroller/style/virtualscrollerstyle.esm.es.js +5 -67
  461. package/vendor/primevue/virtualscroller/virtualscroller.esm.es.js +655 -428
  462. package/vendor/prosemirror-commands/dist/index.es.js +454 -316
  463. package/vendor/prosemirror-history/dist/index.es.js +286 -178
  464. package/vendor/prosemirror-keymap/dist/index.es.js +68 -48
  465. package/vendor/prosemirror-model/dist/index.es.js +1905 -1436
  466. package/vendor/prosemirror-schema-list/dist/index.es.js +115 -73
  467. package/vendor/prosemirror-state/dist/index.es.js +467 -353
  468. package/vendor/prosemirror-transform/dist/index.es.js +1146 -829
  469. package/vendor/prosemirror-view/dist/index.es.js +4127 -2719
  470. package/vendor/rope-sequence/dist/index.es.js +165 -82
  471. package/vendor/simplebar-core/dist/index.es.js +670 -242
  472. package/vendor/simplebar-vue/dist/simplebar-vue.esm.es.js +73 -60
  473. package/vendor/single-spa/lib/es2015/esm/single-spa.min.es.js +511 -510
  474. package/vendor/tippy.js/dist/tippy.esm.es.js +971 -525
  475. package/vendor/vee-validate/dist/vee-validate.esm.es.js +1830 -1097
  476. package/vendor/vue-advanced-cropper/dist/index.esm-bundler.es.js +740 -738
  477. package/vendor/w3c-keyname/index.es.js +25 -13
  478. package/wangsvue.es.js +167 -208
  479. package/wangsvue.esm.browser.js +67705 -0
  480. package/wangsvue.system.js +67600 -234
  481. package/api/index.es.js +0 -149
  482. package/apiitem/index.es.js +0 -611
  483. package/assignmember/index.es.js +0 -434
  484. package/attachment/index.es.js +0 -118
  485. package/attachmentchangelog/index.es.js +0 -79
  486. package/attachmentitem/index.es.js +0 -231
  487. package/attachmentthumbnail/index.es.js +0 -83
  488. package/changelog/index.d.ts +0 -164
  489. package/changelog/index.es.js +0 -85
  490. package/changelogfilter/index.es.js +0 -113
  491. package/changelogpage/index.d.ts +0 -184
  492. package/changelogpage/index.es.js +0 -176
  493. package/checklist/index.es.js +0 -571
  494. package/checklistchangelog/index.es.js +0 -85
  495. package/comment/index.d.ts +0 -187
  496. package/comment/index.es.js +0 -267
  497. package/commentblock/index.es.js +0 -337
  498. package/confirmdeploy/index.es.js +0 -64
  499. package/dependencycol/index.es.js +0 -32
  500. package/description/index.es.js +0 -135
  501. package/descriptiontab/index.es.js +0 -30
  502. package/detailmember/index.d.ts +0 -77
  503. package/detailmember/index.es.js +0 -32
  504. package/detailmemberadmin/index.es.js +0 -210
  505. package/detailmemberleader/index.es.js +0 -164
  506. package/detailmemberlog/index.es.js +0 -117
  507. package/detailsprint/index.d.ts +0 -86
  508. package/detailsprint/index.es.js +0 -414
  509. package/dialogaddattachment/index.es.js +0 -273
  510. package/dialogaddchecklist/index.es.js +0 -120
  511. package/dialogaddeditapi/index.es.js +0 -87
  512. package/dialogaddpbi/index.es.js +0 -197
  513. package/dialogadjustmenttask/index.es.js +0 -484
  514. package/dialogadjustmenttaskheader/index.es.js +0 -193
  515. package/dialogapichangelog/index.es.js +0 -83
  516. package/dialogassignmember/index.es.js +0 -171
  517. package/dialogconfirmapproval/index.es.js +0 -54
  518. package/dialogconfirmchecklist/index.es.js +0 -189
  519. package/dialogconfirmdeletetask/index.es.js +0 -70
  520. package/dialogconfirmdeletetaskpermanently/index.es.js +0 -50
  521. package/dialogconfirmedit/index.es.js +0 -50
  522. package/dialogconfirmfinishtask/index.es.js +0 -50
  523. package/dialogconfirmrestoretask/index.es.js +0 -46
  524. package/dialogconfirmsprint/index.es.js +0 -42
  525. package/dialogcopyapi/index.es.js +0 -130
  526. package/dialogcustomdependency/index.es.js +0 -55
  527. package/dialogdetailchecklisttemplate/index.es.js +0 -214
  528. package/dialogdetailcomponent/index.es.js +0 -121
  529. package/dialogdetailpbi/index.es.js +0 -192
  530. package/dialogfinishreview/index.es.js +0 -126
  531. package/dialogimprovementtask/index.es.js +0 -191
  532. package/dialogmemberadmin/index.es.js +0 -93
  533. package/dialogpreparepbi/index.es.js +0 -93
  534. package/dialogpriorityvalue/index.es.js +0 -85
  535. package/dialogreportbug/index.es.js +0 -207
  536. package/dialogreviewleader/index.es.js +0 -280
  537. package/dialogsavechecklisttemplate/index.es.js +0 -127
  538. package/dialogselectproject/index.es.js +0 -69
  539. package/dialogsetduration/index.es.js +0 -109
  540. package/dialogsettasklink/index.es.js +0 -153
  541. package/dialogtestapi/index.es.js +0 -389
  542. package/eventlogtab/index.es.js +0 -50
  543. package/infotasktab/index.es.js +0 -186
  544. package/inputadditional/index.es.js +0 -62
  545. package/inputinitialname/index.d.ts +0 -118
  546. package/inputinitialname/index.es.js +0 -95
  547. package/inputrepositoryname/index.d.ts +0 -86
  548. package/inputrepositoryname/index.es.js +0 -41
  549. package/isrequiredtext/index.es.js +0 -16
  550. package/legend/index.es.js +0 -727
  551. package/legendlist/index.es.js +0 -33
  552. package/loading-page-BrQattYE.js +0 -1
  553. package/loading-page-CgfbWppy.js +0 -1
  554. package/loading-page-DbLuqCHa.js +0 -1
  555. package/loading-plane-CgfbWppy.js +0 -1
  556. package/loading-table-Bdr9ZhtP.js +0 -1
  557. package/loading-table-BzrSQlA0.js +0 -1
  558. package/loading-table-chOgXi94.js +0 -1
  559. package/no-data-Cgze_Rvp.js +0 -1
  560. package/no-data-Dep79CBh.js +0 -1
  561. package/no-data-y1X5WtcQ.js +0 -1
  562. package/notificationitem/index.d.ts +0 -107
  563. package/notificationitem/index.es.js +0 -333
  564. package/reviewitem/index.es.js +0 -65
  565. package/reviewtab/index.es.js +0 -44
  566. package/services/calendar.service.es.js +0 -32
  567. package/sonarqubesummary/index.es.js +0 -234
  568. package/sprintsummary/index.es.js +0 -73
  569. package/summaryaccordion/index.d.ts +0 -121
  570. package/summaryaccordion/index.es.js +0 -365
  571. package/taskdependency/index.es.js +0 -686
  572. package/taskdetail/index.d.ts +0 -82
  573. package/taskdetail/index.es.js +0 -491
  574. package/taskdetailpbi/index.d.ts +0 -35
  575. package/taskdetailpbi/index.es.js +0 -172
  576. package/taskdetailunassignedpbi/index.es.js +0 -261
  577. package/tasklink/index.es.js +0 -257
  578. package/tasklinkchangelog/index.es.js +0 -93
  579. package/tasklist/index.es.js +0 -92
  580. package/taskmore/index.es.js +0 -52
  581. package/taskstatusbadge/index.es.js +0 -18
  582. package/tasktable/index.d.ts +0 -87
  583. package/tasktable/index.es.js +0 -832
  584. package/ticket/index.es.js +0 -151
  585. package/tooltipspan/index.es.js +0 -30
  586. package/utils/updateSprintStatus.util.es.js +0 -17
  587. package/valueformdatainput/index.es.js +0 -70
  588. package/workcalendar/index.es.js +0 -351
@@ -1,22 +1,22 @@
1
- import { a as te } from "../api/api.esm.es.js";
2
- import { s as ie } from "../checkbox/checkbox.esm.es.js";
3
- import { s as ne } from "../icons/check/index.esm.es.js";
4
- import { s as se } from "../icons/chevrondown/index.esm.es.js";
5
- import { s as le } from "../icons/search/index.esm.es.js";
6
- import { s as re } from "../icons/spinner/index.esm.es.js";
7
- import { s as oe } from "../icons/times/index.esm.es.js";
8
- import { s as ae } from "../icons/timescircle/index.esm.es.js";
9
- import { O as ue } from "../overlayeventbus/overlayeventbus.esm.es.js";
10
- import { s as de } from "../portal/portal.esm.es.js";
11
- import { R as ce } from "../ripple/ripple.esm.es.js";
12
- import { O as u, D as f, C as he, Z as G, U as z } from "../utils/utils.esm.es.js";
13
- import { s as fe } from "../virtualscroller/virtualscroller.esm.es.js";
14
- import { s as pe } from "../basecomponent/basecomponent.esm.es.js";
15
- import { M as me } from "./style/multiselectstyle.esm.es.js";
16
- import { resolveComponent as T, resolveDirective as ye, createElementBlock as d, openBlock as o, mergeProps as r, createElementVNode as O, createVNode as R, renderSlot as b, createCommentVNode as v, Fragment as C, createTextVNode as M, toDisplayString as I, renderList as q, normalizeClass as F, createBlock as S, withModifiers as W, resolveDynamicComponent as w, withCtx as x, Transition as be, withDirectives as Z, createSlots as ge, normalizeProps as Oe, guardReactiveProps as ve } from "vue";
17
- var Ie = {
1
+ import { a as FilterService } from "../api/api.esm.es.js";
2
+ import { s as script$a } from "../checkbox/checkbox.esm.es.js";
3
+ import { s as script$2 } from "../icons/check/index.esm.es.js";
4
+ import { s as script$4 } from "../icons/chevrondown/index.esm.es.js";
5
+ import { s as script$6 } from "../icons/search/index.esm.es.js";
6
+ import { s as script$3 } from "../icons/spinner/index.esm.es.js";
7
+ import { s as script$7 } from "../icons/times/index.esm.es.js";
8
+ import { s as script$5 } from "../icons/timescircle/index.esm.es.js";
9
+ import { O as OverlayEventBus } from "../overlayeventbus/overlayeventbus.esm.es.js";
10
+ import { s as script$8 } from "../portal/portal.esm.es.js";
11
+ import { R as Ripple } from "../ripple/ripple.esm.es.js";
12
+ import { O as ObjectUtils, D as DomHandler, C as ConnectedOverlayScrollHandler, Z as ZIndexUtils, U as UniqueComponentId } from "../utils/utils.esm.es.js";
13
+ import { s as script$9 } from "../virtualscroller/virtualscroller.esm.es.js";
14
+ import { s as script$b } from "../basecomponent/basecomponent.esm.es.js";
15
+ import { M as MultiSelectStyle } from "./style/multiselectstyle.esm.es.js";
16
+ import { resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, createElementVNode, createVNode, renderSlot, createCommentVNode, Fragment, createTextVNode, toDisplayString, renderList, normalizeClass, createBlock, withModifiers, resolveDynamicComponent, withCtx, Transition, withDirectives, createSlots, normalizeProps, guardReactiveProps } from "vue";
17
+ var script$1 = {
18
18
  name: "BaseMultiSelect",
19
- extends: pe,
19
+ "extends": script$b,
20
20
  props: {
21
21
  modelValue: null,
22
22
  options: Array,
@@ -27,45 +27,45 @@ var Ie = {
27
27
  optionGroupChildren: null,
28
28
  scrollHeight: {
29
29
  type: String,
30
- default: "200px"
30
+ "default": "200px"
31
31
  },
32
32
  placeholder: String,
33
33
  variant: {
34
34
  type: String,
35
- default: null
35
+ "default": null
36
36
  },
37
37
  invalid: {
38
38
  type: Boolean,
39
- default: !1
39
+ "default": false
40
40
  },
41
41
  disabled: Boolean,
42
42
  inputId: {
43
43
  type: String,
44
- default: null
44
+ "default": null
45
45
  },
46
46
  inputProps: {
47
47
  type: null,
48
- default: null
48
+ "default": null
49
49
  },
50
50
  panelClass: {
51
51
  type: String,
52
- default: null
52
+ "default": null
53
53
  },
54
54
  panelStyle: {
55
55
  type: null,
56
- default: null
56
+ "default": null
57
57
  },
58
58
  panelProps: {
59
59
  type: null,
60
- default: null
60
+ "default": null
61
61
  },
62
62
  filterInputProps: {
63
63
  type: null,
64
- default: null
64
+ "default": null
65
65
  },
66
66
  closeButtonProps: {
67
67
  type: null,
68
- default: null
68
+ "default": null
69
69
  },
70
70
  dataKey: null,
71
71
  filter: Boolean,
@@ -73,208 +73,213 @@ var Ie = {
73
73
  filterLocale: String,
74
74
  filterMatchMode: {
75
75
  type: String,
76
- default: "contains"
76
+ "default": "contains"
77
77
  },
78
78
  filterFields: {
79
79
  type: Array,
80
- default: null
80
+ "default": null
81
81
  },
82
82
  appendTo: {
83
83
  type: [String, Object],
84
- default: "body"
84
+ "default": "body"
85
85
  },
86
86
  display: {
87
87
  type: String,
88
- default: "comma"
88
+ "default": "comma"
89
89
  },
90
90
  selectedItemsLabel: {
91
91
  type: String,
92
- default: "{0} items selected"
92
+ "default": "{0} items selected"
93
93
  },
94
94
  maxSelectedLabels: {
95
95
  type: Number,
96
- default: null
96
+ "default": null
97
97
  },
98
98
  selectionLimit: {
99
99
  type: Number,
100
- default: null
100
+ "default": null
101
101
  },
102
102
  showToggleAll: {
103
103
  type: Boolean,
104
- default: !0
104
+ "default": true
105
105
  },
106
106
  loading: {
107
107
  type: Boolean,
108
- default: !1
108
+ "default": false
109
109
  },
110
110
  checkboxIcon: {
111
111
  type: String,
112
- default: void 0
112
+ "default": void 0
113
113
  },
114
114
  closeIcon: {
115
115
  type: String,
116
- default: void 0
116
+ "default": void 0
117
117
  },
118
118
  dropdownIcon: {
119
119
  type: String,
120
- default: void 0
120
+ "default": void 0
121
121
  },
122
122
  filterIcon: {
123
123
  type: String,
124
- default: void 0
124
+ "default": void 0
125
125
  },
126
126
  loadingIcon: {
127
127
  type: String,
128
- default: void 0
128
+ "default": void 0
129
129
  },
130
130
  removeTokenIcon: {
131
131
  type: String,
132
- default: void 0
132
+ "default": void 0
133
133
  },
134
134
  selectAll: {
135
135
  type: Boolean,
136
- default: null
136
+ "default": null
137
137
  },
138
138
  resetFilterOnHide: {
139
139
  type: Boolean,
140
- default: !1
140
+ "default": false
141
141
  },
142
142
  virtualScrollerOptions: {
143
143
  type: Object,
144
- default: null
144
+ "default": null
145
145
  },
146
146
  autoOptionFocus: {
147
147
  type: Boolean,
148
- default: !1
148
+ "default": false
149
149
  },
150
150
  autoFilterFocus: {
151
151
  type: Boolean,
152
- default: !1
152
+ "default": false
153
153
  },
154
154
  focusOnHover: {
155
155
  type: Boolean,
156
- default: !0
156
+ "default": true
157
157
  },
158
158
  highlightOnSelect: {
159
159
  type: Boolean,
160
- default: !1
160
+ "default": false
161
161
  },
162
162
  filterMessage: {
163
163
  type: String,
164
- default: null
164
+ "default": null
165
165
  },
166
166
  selectionMessage: {
167
167
  type: String,
168
- default: null
168
+ "default": null
169
169
  },
170
170
  emptySelectionMessage: {
171
171
  type: String,
172
- default: null
172
+ "default": null
173
173
  },
174
174
  emptyFilterMessage: {
175
175
  type: String,
176
- default: null
176
+ "default": null
177
177
  },
178
178
  emptyMessage: {
179
179
  type: String,
180
- default: null
180
+ "default": null
181
181
  },
182
182
  tabindex: {
183
183
  type: Number,
184
- default: 0
184
+ "default": 0
185
185
  },
186
186
  ariaLabel: {
187
187
  type: String,
188
- default: null
188
+ "default": null
189
189
  },
190
190
  ariaLabelledby: {
191
191
  type: String,
192
- default: null
192
+ "default": null
193
193
  }
194
194
  },
195
- style: me,
196
- provide: function() {
195
+ style: MultiSelectStyle,
196
+ provide: function provide() {
197
197
  return {
198
198
  $parentInstance: this
199
199
  };
200
200
  }
201
201
  };
202
- function E(t) {
202
+ function _typeof$1(o) {
203
203
  "@babel/helpers - typeof";
204
- return E = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
205
- return typeof e;
206
- } : function(e) {
207
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
208
- }, E(t);
204
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
205
+ return typeof o2;
206
+ } : function(o2) {
207
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
208
+ }, _typeof$1(o);
209
209
  }
210
- function J(t, e) {
211
- var i = Object.keys(t);
210
+ function ownKeys$1(e, r) {
211
+ var t = Object.keys(e);
212
212
  if (Object.getOwnPropertySymbols) {
213
- var s = Object.getOwnPropertySymbols(t);
214
- e && (s = s.filter(function(l) {
215
- return Object.getOwnPropertyDescriptor(t, l).enumerable;
216
- })), i.push.apply(i, s);
213
+ var o = Object.getOwnPropertySymbols(e);
214
+ r && (o = o.filter(function(r2) {
215
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
216
+ })), t.push.apply(t, o);
217
217
  }
218
- return i;
218
+ return t;
219
219
  }
220
- function Q(t) {
221
- for (var e = 1; e < arguments.length; e++) {
222
- var i = arguments[e] != null ? arguments[e] : {};
223
- e % 2 ? J(Object(i), !0).forEach(function(s) {
224
- $(t, s, i[s]);
225
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : J(Object(i)).forEach(function(s) {
226
- Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(i, s));
220
+ function _objectSpread$1(e) {
221
+ for (var r = 1; r < arguments.length; r++) {
222
+ var t = null != arguments[r] ? arguments[r] : {};
223
+ r % 2 ? ownKeys$1(Object(t), true).forEach(function(r2) {
224
+ _defineProperty$1(e, r2, t[r2]);
225
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function(r2) {
226
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
227
227
  });
228
228
  }
229
- return t;
229
+ return e;
230
230
  }
231
- function $(t, e, i) {
232
- return e = Se(e), e in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
231
+ function _defineProperty$1(obj, key, value) {
232
+ key = _toPropertyKey$1(key);
233
+ if (key in obj) {
234
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
235
+ } else {
236
+ obj[key] = value;
237
+ }
238
+ return obj;
233
239
  }
234
- function Se(t) {
235
- var e = ke(t, "string");
236
- return E(e) == "symbol" ? e : String(e);
240
+ function _toPropertyKey$1(t) {
241
+ var i = _toPrimitive$1(t, "string");
242
+ return "symbol" == _typeof$1(i) ? i : String(i);
237
243
  }
238
- function ke(t, e) {
239
- if (E(t) != "object" || !t) return t;
240
- var i = t[Symbol.toPrimitive];
241
- if (i !== void 0) {
242
- var s = i.call(t, e);
243
- if (E(s) != "object") return s;
244
+ function _toPrimitive$1(t, r) {
245
+ if ("object" != _typeof$1(t) || !t) return t;
246
+ var e = t[Symbol.toPrimitive];
247
+ if (void 0 !== e) {
248
+ var i = e.call(t, r);
249
+ if ("object" != _typeof$1(i)) return i;
244
250
  throw new TypeError("@@toPrimitive must return a primitive value.");
245
251
  }
246
- return (e === "string" ? String : Number)(t);
252
+ return ("string" === r ? String : Number)(t);
247
253
  }
248
- function X(t) {
249
- return we(t) || Fe(t) || Ve(t) || Le();
254
+ function _toConsumableArray(arr) {
255
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
250
256
  }
251
- function Le() {
252
- throw new TypeError(`Invalid attempt to spread non-iterable instance.
253
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
257
+ function _nonIterableSpread() {
258
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
254
259
  }
255
- function Ve(t, e) {
256
- if (t) {
257
- if (typeof t == "string") return j(t, e);
258
- var i = Object.prototype.toString.call(t).slice(8, -1);
259
- if (i === "Object" && t.constructor && (i = t.constructor.name), i === "Map" || i === "Set") return Array.from(t);
260
- if (i === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)) return j(t, e);
261
- }
260
+ function _unsupportedIterableToArray(o, minLen) {
261
+ if (!o) return;
262
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
263
+ var n = Object.prototype.toString.call(o).slice(8, -1);
264
+ if (n === "Object" && o.constructor) n = o.constructor.name;
265
+ if (n === "Map" || n === "Set") return Array.from(o);
266
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
262
267
  }
263
- function Fe(t) {
264
- if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
268
+ function _iterableToArray(iter) {
269
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
265
270
  }
266
- function we(t) {
267
- if (Array.isArray(t)) return j(t);
271
+ function _arrayWithoutHoles(arr) {
272
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
268
273
  }
269
- function j(t, e) {
270
- (e == null || e > t.length) && (e = t.length);
271
- for (var i = 0, s = new Array(e); i < e; i++) s[i] = t[i];
272
- return s;
274
+ function _arrayLikeToArray(arr, len) {
275
+ if (len == null || len > arr.length) len = arr.length;
276
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
277
+ return arr2;
273
278
  }
274
- var Ce = {
279
+ var script = {
275
280
  name: "MultiSelect",
276
- extends: Ie,
277
- inheritAttrs: !1,
281
+ "extends": script$1,
282
+ inheritAttrs: false,
278
283
  emits: ["update:modelValue", "change", "focus", "blur", "before-show", "before-hide", "show", "hide", "filter", "selectall-change"],
279
284
  outsideClickListener: null,
280
285
  scrollHandler: null,
@@ -285,1091 +290,1334 @@ var Ce = {
285
290
  startRangeIndex: -1,
286
291
  searchTimeout: null,
287
292
  searchValue: "",
288
- selectOnFocus: !1,
289
- data: function() {
293
+ selectOnFocus: false,
294
+ data: function data() {
290
295
  return {
291
296
  id: this.$attrs.id,
292
- clicked: !1,
293
- focused: !1,
297
+ clicked: false,
298
+ focused: false,
294
299
  focusedOptionIndex: -1,
295
300
  filterValue: null,
296
- overlayVisible: !1
301
+ overlayVisible: false
297
302
  };
298
303
  },
299
304
  watch: {
300
- "$attrs.id": function(e) {
301
- this.id = e || z();
305
+ "$attrs.id": function $attrsId(newValue) {
306
+ this.id = newValue || UniqueComponentId();
302
307
  },
303
- options: function() {
308
+ options: function options() {
304
309
  this.autoUpdateModel();
305
310
  }
306
311
  },
307
- mounted: function() {
308
- this.id = this.id || z(), this.autoUpdateModel();
312
+ mounted: function mounted() {
313
+ this.id = this.id || UniqueComponentId();
314
+ this.autoUpdateModel();
309
315
  },
310
- beforeUnmount: function() {
311
- this.unbindOutsideClickListener(), this.unbindResizeListener(), this.scrollHandler && (this.scrollHandler.destroy(), this.scrollHandler = null), this.overlay && (G.clear(this.overlay), this.overlay = null);
316
+ beforeUnmount: function beforeUnmount() {
317
+ this.unbindOutsideClickListener();
318
+ this.unbindResizeListener();
319
+ if (this.scrollHandler) {
320
+ this.scrollHandler.destroy();
321
+ this.scrollHandler = null;
322
+ }
323
+ if (this.overlay) {
324
+ ZIndexUtils.clear(this.overlay);
325
+ this.overlay = null;
326
+ }
312
327
  },
313
328
  methods: {
314
- getOptionIndex: function(e, i) {
315
- return this.virtualScrollerDisabled ? e : i && i(e).index;
329
+ getOptionIndex: function getOptionIndex(index, fn) {
330
+ return this.virtualScrollerDisabled ? index : fn && fn(index)["index"];
316
331
  },
317
- getOptionLabel: function(e) {
318
- return this.optionLabel ? u.resolveFieldData(e, this.optionLabel) : e;
332
+ getOptionLabel: function getOptionLabel(option) {
333
+ return this.optionLabel ? ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
319
334
  },
320
- getOptionValue: function(e) {
321
- return this.optionValue ? u.resolveFieldData(e, this.optionValue) : e;
335
+ getOptionValue: function getOptionValue(option) {
336
+ return this.optionValue ? ObjectUtils.resolveFieldData(option, this.optionValue) : option;
322
337
  },
323
- getOptionRenderKey: function(e, i) {
324
- return this.dataKey ? u.resolveFieldData(e, this.dataKey) : this.getOptionLabel(e) + "_".concat(i);
338
+ getOptionRenderKey: function getOptionRenderKey(option, index) {
339
+ return this.dataKey ? ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option) + "_".concat(index);
325
340
  },
326
- getHeaderCheckboxPTOptions: function(e) {
327
- return this.ptm(e, {
341
+ getHeaderCheckboxPTOptions: function getHeaderCheckboxPTOptions(key) {
342
+ return this.ptm(key, {
328
343
  context: {
329
344
  selected: this.allSelected
330
345
  }
331
346
  });
332
347
  },
333
- getCheckboxPTOptions: function(e, i, s, l) {
334
- return this.ptm(l, {
348
+ getCheckboxPTOptions: function getCheckboxPTOptions(option, itemOptions, index, key) {
349
+ return this.ptm(key, {
335
350
  context: {
336
- selected: this.isSelected(e),
337
- focused: this.focusedOptionIndex === this.getOptionIndex(s, i),
338
- disabled: this.isOptionDisabled(e)
351
+ selected: this.isSelected(option),
352
+ focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
353
+ disabled: this.isOptionDisabled(option)
339
354
  }
340
355
  });
341
356
  },
342
- isOptionDisabled: function(e) {
343
- return this.maxSelectionLimitReached && !this.isSelected(e) ? !0 : this.optionDisabled ? u.resolveFieldData(e, this.optionDisabled) : !1;
344
- },
345
- isOptionGroup: function(e) {
346
- return this.optionGroupLabel && e.optionGroup && e.group;
347
- },
348
- getOptionGroupLabel: function(e) {
349
- return u.resolveFieldData(e, this.optionGroupLabel);
350
- },
351
- getOptionGroupChildren: function(e) {
352
- return u.resolveFieldData(e, this.optionGroupChildren);
353
- },
354
- getAriaPosInset: function(e) {
355
- var i = this;
356
- return (this.optionGroupLabel ? e - this.visibleOptions.slice(0, e).filter(function(s) {
357
- return i.isOptionGroup(s);
358
- }).length : e) + 1;
359
- },
360
- show: function(e) {
361
- this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex(), e && f.focus(this.$refs.focusInput);
362
- },
363
- hide: function(e) {
364
- var i = this, s = function() {
365
- i.$emit("before-hide"), i.overlayVisible = !1, i.clicked = !1, i.focusedOptionIndex = -1, i.searchValue = "", i.resetFilterOnHide && (i.filterValue = null), e && f.focus(i.$refs.focusInput);
357
+ isOptionDisabled: function isOptionDisabled(option) {
358
+ if (this.maxSelectionLimitReached && !this.isSelected(option)) {
359
+ return true;
360
+ }
361
+ return this.optionDisabled ? ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
362
+ },
363
+ isOptionGroup: function isOptionGroup(option) {
364
+ return this.optionGroupLabel && option.optionGroup && option.group;
365
+ },
366
+ getOptionGroupLabel: function getOptionGroupLabel(optionGroup) {
367
+ return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
368
+ },
369
+ getOptionGroupChildren: function getOptionGroupChildren(optionGroup) {
370
+ return ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
371
+ },
372
+ getAriaPosInset: function getAriaPosInset(index) {
373
+ var _this = this;
374
+ return (this.optionGroupLabel ? index - this.visibleOptions.slice(0, index).filter(function(option) {
375
+ return _this.isOptionGroup(option);
376
+ }).length : index) + 1;
377
+ },
378
+ show: function show(isFocus) {
379
+ this.$emit("before-show");
380
+ this.overlayVisible = true;
381
+ this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
382
+ isFocus && DomHandler.focus(this.$refs.focusInput);
383
+ },
384
+ hide: function hide(isFocus) {
385
+ var _this2 = this;
386
+ var _hide = function _hide2() {
387
+ _this2.$emit("before-hide");
388
+ _this2.overlayVisible = false;
389
+ _this2.clicked = false;
390
+ _this2.focusedOptionIndex = -1;
391
+ _this2.searchValue = "";
392
+ _this2.resetFilterOnHide && (_this2.filterValue = null);
393
+ isFocus && DomHandler.focus(_this2.$refs.focusInput);
366
394
  };
367
395
  setTimeout(function() {
368
- s();
396
+ _hide();
369
397
  }, 0);
370
398
  },
371
- onFocus: function(e) {
372
- this.disabled || (this.focused = !0, this.overlayVisible && (this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex(), this.scrollInView(this.focusedOptionIndex)), this.$emit("focus", e));
399
+ onFocus: function onFocus(event) {
400
+ if (this.disabled) {
401
+ return;
402
+ }
403
+ this.focused = true;
404
+ if (this.overlayVisible) {
405
+ this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex();
406
+ this.scrollInView(this.focusedOptionIndex);
407
+ }
408
+ this.$emit("focus", event);
373
409
  },
374
- onBlur: function(e) {
375
- this.clicked = !1, this.focused = !1, this.focusedOptionIndex = -1, this.searchValue = "", this.$emit("blur", e);
410
+ onBlur: function onBlur(event) {
411
+ this.clicked = false;
412
+ this.focused = false;
413
+ this.focusedOptionIndex = -1;
414
+ this.searchValue = "";
415
+ this.$emit("blur", event);
376
416
  },
377
- onKeyDown: function(e) {
378
- var i = this;
417
+ onKeyDown: function onKeyDown(event) {
418
+ var _this3 = this;
379
419
  if (this.disabled) {
380
- e.preventDefault();
420
+ event.preventDefault();
381
421
  return;
382
422
  }
383
- var s = e.metaKey || e.ctrlKey;
384
- switch (e.code) {
423
+ var metaKey = event.metaKey || event.ctrlKey;
424
+ switch (event.code) {
385
425
  case "ArrowDown":
386
- this.onArrowDownKey(e);
426
+ this.onArrowDownKey(event);
387
427
  break;
388
428
  case "ArrowUp":
389
- this.onArrowUpKey(e);
429
+ this.onArrowUpKey(event);
390
430
  break;
391
431
  case "Home":
392
- this.onHomeKey(e);
432
+ this.onHomeKey(event);
393
433
  break;
394
434
  case "End":
395
- this.onEndKey(e);
435
+ this.onEndKey(event);
396
436
  break;
397
437
  case "PageDown":
398
- this.onPageDownKey(e);
438
+ this.onPageDownKey(event);
399
439
  break;
400
440
  case "PageUp":
401
- this.onPageUpKey(e);
441
+ this.onPageUpKey(event);
402
442
  break;
403
443
  case "Enter":
404
444
  case "NumpadEnter":
405
445
  case "Space":
406
- this.onEnterKey(e);
446
+ this.onEnterKey(event);
407
447
  break;
408
448
  case "Escape":
409
- this.onEscapeKey(e);
449
+ this.onEscapeKey(event);
410
450
  break;
411
451
  case "Tab":
412
- this.onTabKey(e);
452
+ this.onTabKey(event);
413
453
  break;
414
454
  case "ShiftLeft":
415
455
  case "ShiftRight":
416
- this.onShiftKey(e);
456
+ this.onShiftKey(event);
417
457
  break;
418
458
  default:
419
- if (e.code === "KeyA" && s) {
420
- var l = this.visibleOptions.filter(function(n) {
421
- return i.isValidOption(n);
422
- }).map(function(n) {
423
- return i.getOptionValue(n);
459
+ if (event.code === "KeyA" && metaKey) {
460
+ var value = this.visibleOptions.filter(function(option) {
461
+ return _this3.isValidOption(option);
462
+ }).map(function(option) {
463
+ return _this3.getOptionValue(option);
424
464
  });
425
- this.updateModel(e, l), e.preventDefault();
465
+ this.updateModel(event, value);
466
+ event.preventDefault();
426
467
  break;
427
468
  }
428
- !s && u.isPrintableCharacter(e.key) && (!this.overlayVisible && this.show(), this.searchOptions(e), e.preventDefault());
469
+ if (!metaKey && ObjectUtils.isPrintableCharacter(event.key)) {
470
+ !this.overlayVisible && this.show();
471
+ this.searchOptions(event);
472
+ event.preventDefault();
473
+ }
429
474
  break;
430
475
  }
431
- this.clicked = !1;
476
+ this.clicked = false;
432
477
  },
433
- onContainerClick: function(e) {
434
- this.disabled || this.loading || ((!this.overlay || !this.overlay.contains(e.target)) && (this.overlayVisible ? this.hide(!0) : this.show(!0)), this.clicked = !0);
478
+ onContainerClick: function onContainerClick(event) {
479
+ if (this.disabled || this.loading) {
480
+ return;
481
+ }
482
+ if (!this.overlay || !this.overlay.contains(event.target)) {
483
+ this.overlayVisible ? this.hide(true) : this.show(true);
484
+ }
485
+ this.clicked = true;
435
486
  },
436
- onFirstHiddenFocus: function(e) {
437
- var i = e.relatedTarget === this.$refs.focusInput ? f.getFirstFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
438
- f.focus(i);
487
+ onFirstHiddenFocus: function onFirstHiddenFocus(event) {
488
+ var focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getFirstFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
489
+ DomHandler.focus(focusableEl);
439
490
  },
440
- onLastHiddenFocus: function(e) {
441
- var i = e.relatedTarget === this.$refs.focusInput ? f.getLastFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
442
- f.focus(i);
491
+ onLastHiddenFocus: function onLastHiddenFocus(event) {
492
+ var focusableEl = event.relatedTarget === this.$refs.focusInput ? DomHandler.getLastFocusableElement(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
493
+ DomHandler.focus(focusableEl);
443
494
  },
444
- onCloseClick: function() {
445
- this.hide(!0);
495
+ onCloseClick: function onCloseClick() {
496
+ this.hide(true);
446
497
  },
447
- onOptionSelect: function(e, i) {
448
- var s = this, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1, n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1;
449
- if (!(this.disabled || this.isOptionDisabled(i))) {
450
- var h = this.isSelected(i), m = null;
451
- h ? m = this.modelValue.filter(function(y) {
452
- return !u.equals(y, s.getOptionValue(i), s.equalityKey);
453
- }) : m = [].concat(X(this.modelValue || []), [this.getOptionValue(i)]), this.updateModel(e, m), l !== -1 && (this.focusedOptionIndex = l), n && f.focus(this.$refs.focusInput);
498
+ onOptionSelect: function onOptionSelect(event, option) {
499
+ var _this4 = this;
500
+ var index = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1;
501
+ var isFocus = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
502
+ if (this.disabled || this.isOptionDisabled(option)) {
503
+ return;
504
+ }
505
+ var selected = this.isSelected(option);
506
+ var value = null;
507
+ if (selected) value = this.modelValue.filter(function(val) {
508
+ return !ObjectUtils.equals(val, _this4.getOptionValue(option), _this4.equalityKey);
509
+ });
510
+ else value = [].concat(_toConsumableArray(this.modelValue || []), [this.getOptionValue(option)]);
511
+ this.updateModel(event, value);
512
+ index !== -1 && (this.focusedOptionIndex = index);
513
+ isFocus && DomHandler.focus(this.$refs.focusInput);
514
+ },
515
+ onOptionMouseMove: function onOptionMouseMove(event, index) {
516
+ if (this.focusOnHover) {
517
+ this.changeFocusedOptionIndex(event, index);
454
518
  }
455
519
  },
456
- onOptionMouseMove: function(e, i) {
457
- this.focusOnHover && this.changeFocusedOptionIndex(e, i);
458
- },
459
- onOptionSelectRange: function(e) {
460
- var i = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1;
461
- if (s === -1 && (s = this.findNearestSelectedOptionIndex(l, !0)), l === -1 && (l = this.findNearestSelectedOptionIndex(s)), s !== -1 && l !== -1) {
462
- var n = Math.min(s, l), h = Math.max(s, l), m = this.visibleOptions.slice(n, h + 1).filter(function(y) {
463
- return i.isValidOption(y);
464
- }).map(function(y) {
465
- return i.getOptionValue(y);
520
+ onOptionSelectRange: function onOptionSelectRange(event) {
521
+ var _this5 = this;
522
+ var start = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1;
523
+ var end = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1;
524
+ start === -1 && (start = this.findNearestSelectedOptionIndex(end, true));
525
+ end === -1 && (end = this.findNearestSelectedOptionIndex(start));
526
+ if (start !== -1 && end !== -1) {
527
+ var rangeStart = Math.min(start, end);
528
+ var rangeEnd = Math.max(start, end);
529
+ var value = this.visibleOptions.slice(rangeStart, rangeEnd + 1).filter(function(option) {
530
+ return _this5.isValidOption(option);
531
+ }).map(function(option) {
532
+ return _this5.getOptionValue(option);
466
533
  });
467
- this.updateModel(e, m);
534
+ this.updateModel(event, value);
468
535
  }
469
536
  },
470
- onFilterChange: function(e) {
471
- var i = e.target.value;
472
- this.filterValue = i, this.focusedOptionIndex = -1, this.$emit("filter", {
473
- originalEvent: e,
474
- value: i
475
- }), !this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
537
+ onFilterChange: function onFilterChange(event) {
538
+ var value = event.target.value;
539
+ this.filterValue = value;
540
+ this.focusedOptionIndex = -1;
541
+ this.$emit("filter", {
542
+ originalEvent: event,
543
+ value
544
+ });
545
+ !this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
476
546
  },
477
- onFilterKeyDown: function(e) {
478
- switch (e.code) {
547
+ onFilterKeyDown: function onFilterKeyDown(event) {
548
+ switch (event.code) {
479
549
  case "ArrowDown":
480
- this.onArrowDownKey(e);
550
+ this.onArrowDownKey(event);
481
551
  break;
482
552
  case "ArrowUp":
483
- this.onArrowUpKey(e, !0);
553
+ this.onArrowUpKey(event, true);
484
554
  break;
485
555
  case "ArrowLeft":
486
556
  case "ArrowRight":
487
- this.onArrowLeftKey(e, !0);
557
+ this.onArrowLeftKey(event, true);
488
558
  break;
489
559
  case "Home":
490
- this.onHomeKey(e, !0);
560
+ this.onHomeKey(event, true);
491
561
  break;
492
562
  case "End":
493
- this.onEndKey(e, !0);
563
+ this.onEndKey(event, true);
494
564
  break;
495
565
  case "Enter":
496
566
  case "NumpadEnter":
497
- this.onEnterKey(e);
567
+ this.onEnterKey(event);
498
568
  break;
499
569
  case "Escape":
500
- this.onEscapeKey(e);
570
+ this.onEscapeKey(event);
501
571
  break;
502
572
  case "Tab":
503
- this.onTabKey(e, !0);
573
+ this.onTabKey(event, true);
504
574
  break;
505
575
  }
506
576
  },
507
- onFilterBlur: function() {
577
+ onFilterBlur: function onFilterBlur() {
508
578
  this.focusedOptionIndex = -1;
509
579
  },
510
- onFilterUpdated: function() {
511
- this.overlayVisible && this.alignOverlay();
580
+ onFilterUpdated: function onFilterUpdated() {
581
+ if (this.overlayVisible) {
582
+ this.alignOverlay();
583
+ }
512
584
  },
513
- onOverlayClick: function(e) {
514
- ue.emit("overlay-click", {
515
- originalEvent: e,
585
+ onOverlayClick: function onOverlayClick(event) {
586
+ OverlayEventBus.emit("overlay-click", {
587
+ originalEvent: event,
516
588
  target: this.$el
517
589
  });
518
590
  },
519
- onOverlayKeyDown: function(e) {
520
- switch (e.code) {
591
+ onOverlayKeyDown: function onOverlayKeyDown(event) {
592
+ switch (event.code) {
521
593
  case "Escape":
522
- this.onEscapeKey(e);
594
+ this.onEscapeKey(event);
523
595
  break;
524
596
  }
525
597
  },
526
- onArrowDownKey: function(e) {
527
- if (!this.overlayVisible)
598
+ onArrowDownKey: function onArrowDownKey(event) {
599
+ if (!this.overlayVisible) {
528
600
  this.show();
529
- else {
530
- var i = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
531
- e.shiftKey && this.onOptionSelectRange(e, this.startRangeIndex, i), this.changeFocusedOptionIndex(e, i);
532
- }
533
- e.preventDefault();
534
- },
535
- onArrowUpKey: function(e) {
536
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
537
- if (e.altKey && !i)
538
- this.focusedOptionIndex !== -1 && this.onOptionSelect(e, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(), e.preventDefault();
539
- else {
540
- var s = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
541
- e.shiftKey && this.onOptionSelectRange(e, s, this.startRangeIndex), this.changeFocusedOptionIndex(e, s), !this.overlayVisible && this.show(), e.preventDefault();
601
+ } else {
602
+ var optionIndex = this.focusedOptionIndex !== -1 ? this.findNextOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex();
603
+ if (event.shiftKey) {
604
+ this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
605
+ }
606
+ this.changeFocusedOptionIndex(event, optionIndex);
542
607
  }
608
+ event.preventDefault();
543
609
  },
544
- onArrowLeftKey: function(e) {
545
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
546
- i && (this.focusedOptionIndex = -1);
610
+ onArrowUpKey: function onArrowUpKey(event) {
611
+ var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
612
+ if (event.altKey && !pressedInInputText) {
613
+ if (this.focusedOptionIndex !== -1) {
614
+ this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
615
+ }
616
+ this.overlayVisible && this.hide();
617
+ event.preventDefault();
618
+ } else {
619
+ var optionIndex = this.focusedOptionIndex !== -1 ? this.findPrevOptionIndex(this.focusedOptionIndex) : this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex();
620
+ if (event.shiftKey) {
621
+ this.onOptionSelectRange(event, optionIndex, this.startRangeIndex);
622
+ }
623
+ this.changeFocusedOptionIndex(event, optionIndex);
624
+ !this.overlayVisible && this.show();
625
+ event.preventDefault();
626
+ }
547
627
  },
548
- onHomeKey: function(e) {
549
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
550
- if (i) {
551
- var s = e.currentTarget;
552
- e.shiftKey ? s.setSelectionRange(0, e.target.selectionStart) : (s.setSelectionRange(0, 0), this.focusedOptionIndex = -1);
628
+ onArrowLeftKey: function onArrowLeftKey(event) {
629
+ var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
630
+ pressedInInputText && (this.focusedOptionIndex = -1);
631
+ },
632
+ onHomeKey: function onHomeKey(event) {
633
+ var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
634
+ if (pressedInInputText) {
635
+ var target = event.currentTarget;
636
+ if (event.shiftKey) {
637
+ target.setSelectionRange(0, event.target.selectionStart);
638
+ } else {
639
+ target.setSelectionRange(0, 0);
640
+ this.focusedOptionIndex = -1;
641
+ }
553
642
  } else {
554
- var l = e.metaKey || e.ctrlKey, n = this.findFirstOptionIndex();
555
- e.shiftKey && l && this.onOptionSelectRange(e, n, this.startRangeIndex), this.changeFocusedOptionIndex(e, n), !this.overlayVisible && this.show();
643
+ var metaKey = event.metaKey || event.ctrlKey;
644
+ var optionIndex = this.findFirstOptionIndex();
645
+ if (event.shiftKey && metaKey) {
646
+ this.onOptionSelectRange(event, optionIndex, this.startRangeIndex);
647
+ }
648
+ this.changeFocusedOptionIndex(event, optionIndex);
649
+ !this.overlayVisible && this.show();
556
650
  }
557
- e.preventDefault();
558
- },
559
- onEndKey: function(e) {
560
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
561
- if (i) {
562
- var s = e.currentTarget;
563
- if (e.shiftKey)
564
- s.setSelectionRange(e.target.selectionStart, s.value.length);
565
- else {
566
- var l = s.value.length;
567
- s.setSelectionRange(l, l), this.focusedOptionIndex = -1;
651
+ event.preventDefault();
652
+ },
653
+ onEndKey: function onEndKey(event) {
654
+ var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
655
+ if (pressedInInputText) {
656
+ var target = event.currentTarget;
657
+ if (event.shiftKey) {
658
+ target.setSelectionRange(event.target.selectionStart, target.value.length);
659
+ } else {
660
+ var len = target.value.length;
661
+ target.setSelectionRange(len, len);
662
+ this.focusedOptionIndex = -1;
568
663
  }
569
664
  } else {
570
- var n = e.metaKey || e.ctrlKey, h = this.findLastOptionIndex();
571
- e.shiftKey && n && this.onOptionSelectRange(e, this.startRangeIndex, h), this.changeFocusedOptionIndex(e, h), !this.overlayVisible && this.show();
665
+ var metaKey = event.metaKey || event.ctrlKey;
666
+ var optionIndex = this.findLastOptionIndex();
667
+ if (event.shiftKey && metaKey) {
668
+ this.onOptionSelectRange(event, this.startRangeIndex, optionIndex);
669
+ }
670
+ this.changeFocusedOptionIndex(event, optionIndex);
671
+ !this.overlayVisible && this.show();
572
672
  }
573
- e.preventDefault();
673
+ event.preventDefault();
574
674
  },
575
- onPageUpKey: function(e) {
576
- this.scrollInView(0), e.preventDefault();
675
+ onPageUpKey: function onPageUpKey(event) {
676
+ this.scrollInView(0);
677
+ event.preventDefault();
577
678
  },
578
- onPageDownKey: function(e) {
579
- this.scrollInView(this.visibleOptions.length - 1), e.preventDefault();
679
+ onPageDownKey: function onPageDownKey(event) {
680
+ this.scrollInView(this.visibleOptions.length - 1);
681
+ event.preventDefault();
580
682
  },
581
- onEnterKey: function(e) {
582
- this.overlayVisible ? this.focusedOptionIndex !== -1 && (e.shiftKey ? this.onOptionSelectRange(e, this.focusedOptionIndex) : this.onOptionSelect(e, this.visibleOptions[this.focusedOptionIndex])) : (this.focusedOptionIndex = -1, this.onArrowDownKey(e)), e.preventDefault();
583
- },
584
- onEscapeKey: function(e) {
585
- this.overlayVisible && this.hide(!0), e.preventDefault();
586
- },
587
- onTabKey: function(e) {
588
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
589
- i || (this.overlayVisible && this.hasFocusableElements() ? (f.focus(e.shiftKey ? this.$refs.lastHiddenFocusableElementOnOverlay : this.$refs.firstHiddenFocusableElementOnOverlay), e.preventDefault()) : (this.focusedOptionIndex !== -1 && this.onOptionSelect(e, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(this.filter)));
683
+ onEnterKey: function onEnterKey(event) {
684
+ if (!this.overlayVisible) {
685
+ this.focusedOptionIndex = -1;
686
+ this.onArrowDownKey(event);
687
+ } else {
688
+ if (this.focusedOptionIndex !== -1) {
689
+ if (event.shiftKey) this.onOptionSelectRange(event, this.focusedOptionIndex);
690
+ else this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
691
+ }
692
+ }
693
+ event.preventDefault();
694
+ },
695
+ onEscapeKey: function onEscapeKey(event) {
696
+ this.overlayVisible && this.hide(true);
697
+ event.preventDefault();
698
+ },
699
+ onTabKey: function onTabKey(event) {
700
+ var pressedInInputText = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
701
+ if (!pressedInInputText) {
702
+ if (this.overlayVisible && this.hasFocusableElements()) {
703
+ DomHandler.focus(event.shiftKey ? this.$refs.lastHiddenFocusableElementOnOverlay : this.$refs.firstHiddenFocusableElementOnOverlay);
704
+ event.preventDefault();
705
+ } else {
706
+ if (this.focusedOptionIndex !== -1) {
707
+ this.onOptionSelect(event, this.visibleOptions[this.focusedOptionIndex]);
708
+ }
709
+ this.overlayVisible && this.hide(this.filter);
710
+ }
711
+ }
590
712
  },
591
- onShiftKey: function() {
713
+ onShiftKey: function onShiftKey() {
592
714
  this.startRangeIndex = this.focusedOptionIndex;
593
715
  },
594
- onOverlayEnter: function(e) {
595
- G.set("overlay", e, this.$primevue.config.zIndex.overlay), f.addStyles(e, {
716
+ onOverlayEnter: function onOverlayEnter(el) {
717
+ ZIndexUtils.set("overlay", el, this.$primevue.config.zIndex.overlay);
718
+ DomHandler.addStyles(el, {
596
719
  position: "absolute",
597
720
  top: "0",
598
721
  left: "0"
599
- }), this.alignOverlay(), this.scrollInView(), this.autoFilterFocus && f.focus(this.$refs.filterInput);
600
- },
601
- onOverlayAfterEnter: function() {
602
- this.bindOutsideClickListener(), this.bindScrollListener(), this.bindResizeListener(), this.$emit("show");
603
- },
604
- onOverlayLeave: function() {
605
- this.unbindOutsideClickListener(), this.unbindScrollListener(), this.unbindResizeListener(), this.$emit("hide"), this.overlay = null;
606
- },
607
- onOverlayAfterLeave: function(e) {
608
- G.clear(e);
609
- },
610
- alignOverlay: function() {
611
- this.appendTo === "self" ? f.relativePosition(this.overlay, this.$el) : (this.overlay.style.minWidth = f.getOuterWidth(this.$el) + "px", f.absolutePosition(this.overlay, this.$el));
722
+ });
723
+ this.alignOverlay();
724
+ this.scrollInView();
725
+ this.autoFilterFocus && DomHandler.focus(this.$refs.filterInput);
726
+ },
727
+ onOverlayAfterEnter: function onOverlayAfterEnter() {
728
+ this.bindOutsideClickListener();
729
+ this.bindScrollListener();
730
+ this.bindResizeListener();
731
+ this.$emit("show");
732
+ },
733
+ onOverlayLeave: function onOverlayLeave() {
734
+ this.unbindOutsideClickListener();
735
+ this.unbindScrollListener();
736
+ this.unbindResizeListener();
737
+ this.$emit("hide");
738
+ this.overlay = null;
739
+ },
740
+ onOverlayAfterLeave: function onOverlayAfterLeave(el) {
741
+ ZIndexUtils.clear(el);
742
+ },
743
+ alignOverlay: function alignOverlay() {
744
+ if (this.appendTo === "self") {
745
+ DomHandler.relativePosition(this.overlay, this.$el);
746
+ } else {
747
+ this.overlay.style.minWidth = DomHandler.getOuterWidth(this.$el) + "px";
748
+ DomHandler.absolutePosition(this.overlay, this.$el);
749
+ }
612
750
  },
613
- bindOutsideClickListener: function() {
614
- var e = this;
615
- this.outsideClickListener || (this.outsideClickListener = function(i) {
616
- e.overlayVisible && e.isOutsideClicked(i) && e.hide();
617
- }, document.addEventListener("click", this.outsideClickListener));
751
+ bindOutsideClickListener: function bindOutsideClickListener() {
752
+ var _this6 = this;
753
+ if (!this.outsideClickListener) {
754
+ this.outsideClickListener = function(event) {
755
+ if (_this6.overlayVisible && _this6.isOutsideClicked(event)) {
756
+ _this6.hide();
757
+ }
758
+ };
759
+ document.addEventListener("click", this.outsideClickListener);
760
+ }
618
761
  },
619
- unbindOutsideClickListener: function() {
620
- this.outsideClickListener && (document.removeEventListener("click", this.outsideClickListener), this.outsideClickListener = null);
762
+ unbindOutsideClickListener: function unbindOutsideClickListener() {
763
+ if (this.outsideClickListener) {
764
+ document.removeEventListener("click", this.outsideClickListener);
765
+ this.outsideClickListener = null;
766
+ }
621
767
  },
622
- bindScrollListener: function() {
623
- var e = this;
624
- this.scrollHandler || (this.scrollHandler = new he(this.$refs.container, function() {
625
- e.overlayVisible && e.hide();
626
- })), this.scrollHandler.bindScrollListener();
768
+ bindScrollListener: function bindScrollListener() {
769
+ var _this7 = this;
770
+ if (!this.scrollHandler) {
771
+ this.scrollHandler = new ConnectedOverlayScrollHandler(this.$refs.container, function() {
772
+ if (_this7.overlayVisible) {
773
+ _this7.hide();
774
+ }
775
+ });
776
+ }
777
+ this.scrollHandler.bindScrollListener();
627
778
  },
628
- unbindScrollListener: function() {
629
- this.scrollHandler && this.scrollHandler.unbindScrollListener();
779
+ unbindScrollListener: function unbindScrollListener() {
780
+ if (this.scrollHandler) {
781
+ this.scrollHandler.unbindScrollListener();
782
+ }
630
783
  },
631
- bindResizeListener: function() {
632
- var e = this;
633
- this.resizeListener || (this.resizeListener = function() {
634
- e.overlayVisible && !f.isTouchDevice() && e.hide();
635
- }, window.addEventListener("resize", this.resizeListener));
784
+ bindResizeListener: function bindResizeListener() {
785
+ var _this8 = this;
786
+ if (!this.resizeListener) {
787
+ this.resizeListener = function() {
788
+ if (_this8.overlayVisible && !DomHandler.isTouchDevice()) {
789
+ _this8.hide();
790
+ }
791
+ };
792
+ window.addEventListener("resize", this.resizeListener);
793
+ }
636
794
  },
637
- unbindResizeListener: function() {
638
- this.resizeListener && (window.removeEventListener("resize", this.resizeListener), this.resizeListener = null);
795
+ unbindResizeListener: function unbindResizeListener() {
796
+ if (this.resizeListener) {
797
+ window.removeEventListener("resize", this.resizeListener);
798
+ this.resizeListener = null;
799
+ }
639
800
  },
640
- isOutsideClicked: function(e) {
641
- return !(this.$el.isSameNode(e.target) || this.$el.contains(e.target) || this.overlay && this.overlay.contains(e.target));
801
+ isOutsideClicked: function isOutsideClicked(event) {
802
+ return !(this.$el.isSameNode(event.target) || this.$el.contains(event.target) || this.overlay && this.overlay.contains(event.target));
642
803
  },
643
- getLabelByValue: function(e) {
644
- var i = this, s = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [], l = s.find(function(n) {
645
- return !i.isOptionGroup(n) && u.equals(i.getOptionValue(n), e, i.equalityKey);
804
+ getLabelByValue: function getLabelByValue(value) {
805
+ var _this9 = this;
806
+ var options2 = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
807
+ var matchedOption = options2.find(function(option) {
808
+ return !_this9.isOptionGroup(option) && ObjectUtils.equals(_this9.getOptionValue(option), value, _this9.equalityKey);
646
809
  });
647
- return l ? this.getOptionLabel(l) : null;
810
+ return matchedOption ? this.getOptionLabel(matchedOption) : null;
648
811
  },
649
- getSelectedItemsLabel: function() {
650
- var e = /{(.*?)}/, i = this.selectedItemsLabel || this.$primevue.config.locale.selectionMessage;
651
- return e.test(i) ? i.replace(i.match(e)[0], this.modelValue.length + "") : i;
812
+ getSelectedItemsLabel: function getSelectedItemsLabel() {
813
+ var pattern = /{(.*?)}/;
814
+ var selectedItemsLabel = this.selectedItemsLabel || this.$primevue.config.locale.selectionMessage;
815
+ if (pattern.test(selectedItemsLabel)) {
816
+ return selectedItemsLabel.replace(selectedItemsLabel.match(pattern)[0], this.modelValue.length + "");
817
+ }
818
+ return selectedItemsLabel;
652
819
  },
653
- onToggleAll: function(e) {
654
- var i = this;
655
- if (this.selectAll !== null)
820
+ onToggleAll: function onToggleAll(event) {
821
+ var _this10 = this;
822
+ if (this.selectAll !== null) {
656
823
  this.$emit("selectall-change", {
657
- originalEvent: e,
824
+ originalEvent: event,
658
825
  checked: !this.allSelected
659
826
  });
660
- else {
661
- var s = this.allSelected ? [] : this.visibleOptions.filter(function(l) {
662
- return i.isValidOption(l);
663
- }).map(function(l) {
664
- return i.getOptionValue(l);
827
+ } else {
828
+ var value = this.allSelected ? [] : this.visibleOptions.filter(function(option) {
829
+ return _this10.isValidOption(option);
830
+ }).map(function(option) {
831
+ return _this10.getOptionValue(option);
665
832
  });
666
- this.updateModel(e, s);
833
+ this.updateModel(event, value);
667
834
  }
668
835
  },
669
- removeOption: function(e, i) {
670
- var s = this, l = this.modelValue.filter(function(n) {
671
- return !u.equals(n, i, s.equalityKey);
836
+ removeOption: function removeOption(event, optionValue) {
837
+ var _this11 = this;
838
+ var value = this.modelValue.filter(function(val) {
839
+ return !ObjectUtils.equals(val, optionValue, _this11.equalityKey);
672
840
  });
673
- this.updateModel(e, l);
841
+ this.updateModel(event, value);
674
842
  },
675
- clearFilter: function() {
843
+ clearFilter: function clearFilter() {
676
844
  this.filterValue = null;
677
845
  },
678
- hasFocusableElements: function() {
679
- return f.getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
846
+ hasFocusableElements: function hasFocusableElements() {
847
+ return DomHandler.getFocusableElements(this.overlay, ':not([data-p-hidden-focusable="true"])').length > 0;
680
848
  },
681
- isOptionMatched: function(e) {
682
- var i;
683
- return this.isValidOption(e) && ((i = this.getOptionLabel(e)) === null || i === void 0 ? void 0 : i.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
849
+ isOptionMatched: function isOptionMatched(option) {
850
+ var _this$getOptionLabel;
851
+ return this.isValidOption(option) && ((_this$getOptionLabel = this.getOptionLabel(option)) === null || _this$getOptionLabel === void 0 ? void 0 : _this$getOptionLabel.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)));
684
852
  },
685
- isValidOption: function(e) {
686
- return u.isNotEmpty(e) && !(this.isOptionDisabled(e) || this.isOptionGroup(e));
853
+ isValidOption: function isValidOption(option) {
854
+ return ObjectUtils.isNotEmpty(option) && !(this.isOptionDisabled(option) || this.isOptionGroup(option));
687
855
  },
688
- isValidSelectedOption: function(e) {
689
- return this.isValidOption(e) && this.isSelected(e);
856
+ isValidSelectedOption: function isValidSelectedOption(option) {
857
+ return this.isValidOption(option) && this.isSelected(option);
690
858
  },
691
- isEquals: function(e, i) {
692
- return u.equals(e, i, this.equalityKey);
859
+ isEquals: function isEquals(value1, value2) {
860
+ return ObjectUtils.equals(value1, value2, this.equalityKey);
693
861
  },
694
- isSelected: function(e) {
695
- var i = this, s = this.getOptionValue(e);
696
- return (this.modelValue || []).some(function(l) {
697
- return i.isEquals(l, s);
862
+ isSelected: function isSelected(option) {
863
+ var _this12 = this;
864
+ var optionValue = this.getOptionValue(option);
865
+ return (this.modelValue || []).some(function(value) {
866
+ return _this12.isEquals(value, optionValue);
698
867
  });
699
868
  },
700
- findFirstOptionIndex: function() {
701
- var e = this;
702
- return this.visibleOptions.findIndex(function(i) {
703
- return e.isValidOption(i);
869
+ findFirstOptionIndex: function findFirstOptionIndex() {
870
+ var _this13 = this;
871
+ return this.visibleOptions.findIndex(function(option) {
872
+ return _this13.isValidOption(option);
704
873
  });
705
874
  },
706
- findLastOptionIndex: function() {
707
- var e = this;
708
- return u.findLastIndex(this.visibleOptions, function(i) {
709
- return e.isValidOption(i);
875
+ findLastOptionIndex: function findLastOptionIndex() {
876
+ var _this14 = this;
877
+ return ObjectUtils.findLastIndex(this.visibleOptions, function(option) {
878
+ return _this14.isValidOption(option);
710
879
  });
711
880
  },
712
- findNextOptionIndex: function(e) {
713
- var i = this, s = e < this.visibleOptions.length - 1 ? this.visibleOptions.slice(e + 1).findIndex(function(l) {
714
- return i.isValidOption(l);
881
+ findNextOptionIndex: function findNextOptionIndex(index) {
882
+ var _this15 = this;
883
+ var matchedOptionIndex = index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function(option) {
884
+ return _this15.isValidOption(option);
715
885
  }) : -1;
716
- return s > -1 ? s + e + 1 : e;
886
+ return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : index;
717
887
  },
718
- findPrevOptionIndex: function(e) {
719
- var i = this, s = e > 0 ? u.findLastIndex(this.visibleOptions.slice(0, e), function(l) {
720
- return i.isValidOption(l);
888
+ findPrevOptionIndex: function findPrevOptionIndex(index) {
889
+ var _this16 = this;
890
+ var matchedOptionIndex = index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), function(option) {
891
+ return _this16.isValidOption(option);
721
892
  }) : -1;
722
- return s > -1 ? s : e;
893
+ return matchedOptionIndex > -1 ? matchedOptionIndex : index;
723
894
  },
724
- findSelectedOptionIndex: function() {
725
- var e = this;
895
+ findSelectedOptionIndex: function findSelectedOptionIndex() {
896
+ var _this17 = this;
726
897
  if (this.hasSelectedOption) {
727
- for (var i = function() {
728
- var h = e.modelValue[l], m = e.visibleOptions.findIndex(function(y) {
729
- return e.isValidSelectedOption(y) && e.isEquals(h, e.getOptionValue(y));
898
+ var _loop = function _loop2() {
899
+ var value = _this17.modelValue[index];
900
+ var matchedOptionIndex = _this17.visibleOptions.findIndex(function(option) {
901
+ return _this17.isValidSelectedOption(option) && _this17.isEquals(value, _this17.getOptionValue(option));
730
902
  });
731
- if (m > -1) return {
732
- v: m
903
+ if (matchedOptionIndex > -1) return {
904
+ v: matchedOptionIndex
733
905
  };
734
- }, s, l = this.modelValue.length - 1; l >= 0; l--)
735
- if (s = i(), s) return s.v;
906
+ }, _ret;
907
+ for (var index = this.modelValue.length - 1; index >= 0; index--) {
908
+ _ret = _loop();
909
+ if (_ret) return _ret.v;
910
+ }
736
911
  }
737
912
  return -1;
738
913
  },
739
- findFirstSelectedOptionIndex: function() {
740
- var e = this;
741
- return this.hasSelectedOption ? this.visibleOptions.findIndex(function(i) {
742
- return e.isValidSelectedOption(i);
914
+ findFirstSelectedOptionIndex: function findFirstSelectedOptionIndex() {
915
+ var _this18 = this;
916
+ return this.hasSelectedOption ? this.visibleOptions.findIndex(function(option) {
917
+ return _this18.isValidSelectedOption(option);
743
918
  }) : -1;
744
919
  },
745
- findLastSelectedOptionIndex: function() {
746
- var e = this;
747
- return this.hasSelectedOption ? u.findLastIndex(this.visibleOptions, function(i) {
748
- return e.isValidSelectedOption(i);
920
+ findLastSelectedOptionIndex: function findLastSelectedOptionIndex() {
921
+ var _this19 = this;
922
+ return this.hasSelectedOption ? ObjectUtils.findLastIndex(this.visibleOptions, function(option) {
923
+ return _this19.isValidSelectedOption(option);
749
924
  }) : -1;
750
925
  },
751
- findNextSelectedOptionIndex: function(e) {
752
- var i = this, s = this.hasSelectedOption && e < this.visibleOptions.length - 1 ? this.visibleOptions.slice(e + 1).findIndex(function(l) {
753
- return i.isValidSelectedOption(l);
926
+ findNextSelectedOptionIndex: function findNextSelectedOptionIndex(index) {
927
+ var _this20 = this;
928
+ var matchedOptionIndex = this.hasSelectedOption && index < this.visibleOptions.length - 1 ? this.visibleOptions.slice(index + 1).findIndex(function(option) {
929
+ return _this20.isValidSelectedOption(option);
754
930
  }) : -1;
755
- return s > -1 ? s + e + 1 : -1;
931
+ return matchedOptionIndex > -1 ? matchedOptionIndex + index + 1 : -1;
756
932
  },
757
- findPrevSelectedOptionIndex: function(e) {
758
- var i = this, s = this.hasSelectedOption && e > 0 ? u.findLastIndex(this.visibleOptions.slice(0, e), function(l) {
759
- return i.isValidSelectedOption(l);
933
+ findPrevSelectedOptionIndex: function findPrevSelectedOptionIndex(index) {
934
+ var _this21 = this;
935
+ var matchedOptionIndex = this.hasSelectedOption && index > 0 ? ObjectUtils.findLastIndex(this.visibleOptions.slice(0, index), function(option) {
936
+ return _this21.isValidSelectedOption(option);
760
937
  }) : -1;
761
- return s > -1 ? s : -1;
762
- },
763
- findNearestSelectedOptionIndex: function(e) {
764
- var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, s = -1;
765
- return this.hasSelectedOption && (i ? (s = this.findPrevSelectedOptionIndex(e), s = s === -1 ? this.findNextSelectedOptionIndex(e) : s) : (s = this.findNextSelectedOptionIndex(e), s = s === -1 ? this.findPrevSelectedOptionIndex(e) : s)), s > -1 ? s : e;
766
- },
767
- findFirstFocusedOptionIndex: function() {
768
- var e = this.findSelectedOptionIndex();
769
- return e < 0 ? this.findFirstOptionIndex() : e;
770
- },
771
- findLastFocusedOptionIndex: function() {
772
- var e = this.findSelectedOptionIndex();
773
- return e < 0 ? this.findLastOptionIndex() : e;
774
- },
775
- searchOptions: function(e) {
776
- var i = this;
777
- this.searchValue = (this.searchValue || "") + e.key;
778
- var s = -1;
779
- u.isNotEmpty(this.searchValue) && (this.focusedOptionIndex !== -1 ? (s = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(l) {
780
- return i.isOptionMatched(l);
781
- }), s = s === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function(l) {
782
- return i.isOptionMatched(l);
783
- }) : s + this.focusedOptionIndex) : s = this.visibleOptions.findIndex(function(l) {
784
- return i.isOptionMatched(l);
785
- }), s === -1 && this.focusedOptionIndex === -1 && (s = this.findFirstFocusedOptionIndex()), s !== -1 && this.changeFocusedOptionIndex(e, s)), this.searchTimeout && clearTimeout(this.searchTimeout), this.searchTimeout = setTimeout(function() {
786
- i.searchValue = "", i.searchTimeout = null;
938
+ return matchedOptionIndex > -1 ? matchedOptionIndex : -1;
939
+ },
940
+ findNearestSelectedOptionIndex: function findNearestSelectedOptionIndex(index) {
941
+ var firstCheckUp = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
942
+ var matchedOptionIndex = -1;
943
+ if (this.hasSelectedOption) {
944
+ if (firstCheckUp) {
945
+ matchedOptionIndex = this.findPrevSelectedOptionIndex(index);
946
+ matchedOptionIndex = matchedOptionIndex === -1 ? this.findNextSelectedOptionIndex(index) : matchedOptionIndex;
947
+ } else {
948
+ matchedOptionIndex = this.findNextSelectedOptionIndex(index);
949
+ matchedOptionIndex = matchedOptionIndex === -1 ? this.findPrevSelectedOptionIndex(index) : matchedOptionIndex;
950
+ }
951
+ }
952
+ return matchedOptionIndex > -1 ? matchedOptionIndex : index;
953
+ },
954
+ findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
955
+ var selectedIndex = this.findSelectedOptionIndex();
956
+ return selectedIndex < 0 ? this.findFirstOptionIndex() : selectedIndex;
957
+ },
958
+ findLastFocusedOptionIndex: function findLastFocusedOptionIndex() {
959
+ var selectedIndex = this.findSelectedOptionIndex();
960
+ return selectedIndex < 0 ? this.findLastOptionIndex() : selectedIndex;
961
+ },
962
+ searchOptions: function searchOptions(event) {
963
+ var _this22 = this;
964
+ this.searchValue = (this.searchValue || "") + event.key;
965
+ var optionIndex = -1;
966
+ if (ObjectUtils.isNotEmpty(this.searchValue)) {
967
+ if (this.focusedOptionIndex !== -1) {
968
+ optionIndex = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(option) {
969
+ return _this22.isOptionMatched(option);
970
+ });
971
+ optionIndex = optionIndex === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function(option) {
972
+ return _this22.isOptionMatched(option);
973
+ }) : optionIndex + this.focusedOptionIndex;
974
+ } else {
975
+ optionIndex = this.visibleOptions.findIndex(function(option) {
976
+ return _this22.isOptionMatched(option);
977
+ });
978
+ }
979
+ if (optionIndex === -1 && this.focusedOptionIndex === -1) {
980
+ optionIndex = this.findFirstFocusedOptionIndex();
981
+ }
982
+ if (optionIndex !== -1) {
983
+ this.changeFocusedOptionIndex(event, optionIndex);
984
+ }
985
+ }
986
+ if (this.searchTimeout) {
987
+ clearTimeout(this.searchTimeout);
988
+ }
989
+ this.searchTimeout = setTimeout(function() {
990
+ _this22.searchValue = "";
991
+ _this22.searchTimeout = null;
787
992
  }, 500);
788
993
  },
789
- changeFocusedOptionIndex: function(e, i) {
790
- this.focusedOptionIndex !== i && (this.focusedOptionIndex = i, this.scrollInView(), this.selectOnFocus && this.onOptionSelect(e, this.visibleOptions[i]));
994
+ changeFocusedOptionIndex: function changeFocusedOptionIndex(event, index) {
995
+ if (this.focusedOptionIndex !== index) {
996
+ this.focusedOptionIndex = index;
997
+ this.scrollInView();
998
+ if (this.selectOnFocus) {
999
+ this.onOptionSelect(event, this.visibleOptions[index]);
1000
+ }
1001
+ }
791
1002
  },
792
- scrollInView: function() {
793
- var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : -1;
1003
+ scrollInView: function scrollInView() {
1004
+ var _this23 = this;
1005
+ var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : -1;
794
1006
  this.$nextTick(function() {
795
- var s = i !== -1 ? "".concat(e.id, "_").concat(i) : e.focusedOptionId, l = f.findSingle(e.list, 'li[id="'.concat(s, '"]'));
796
- l ? l.scrollIntoView && l.scrollIntoView({
797
- block: "nearest",
798
- inline: "nearest"
799
- }) : e.virtualScrollerDisabled || e.virtualScroller && e.virtualScroller.scrollToIndex(i !== -1 ? i : e.focusedOptionIndex);
1007
+ var id = index !== -1 ? "".concat(_this23.id, "_").concat(index) : _this23.focusedOptionId;
1008
+ var element = DomHandler.findSingle(_this23.list, 'li[id="'.concat(id, '"]'));
1009
+ if (element) {
1010
+ element.scrollIntoView && element.scrollIntoView({
1011
+ block: "nearest",
1012
+ inline: "nearest"
1013
+ });
1014
+ } else if (!_this23.virtualScrollerDisabled) {
1015
+ _this23.virtualScroller && _this23.virtualScroller.scrollToIndex(index !== -1 ? index : _this23.focusedOptionIndex);
1016
+ }
800
1017
  });
801
1018
  },
802
- autoUpdateModel: function() {
1019
+ autoUpdateModel: function autoUpdateModel() {
803
1020
  if (this.selectOnFocus && this.autoOptionFocus && !this.hasSelectedOption) {
804
1021
  this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
805
- var e = this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);
806
- this.updateModel(null, [e]);
1022
+ var value = this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);
1023
+ this.updateModel(null, [value]);
807
1024
  }
808
1025
  },
809
- updateModel: function(e, i) {
810
- this.$emit("update:modelValue", i), this.$emit("change", {
811
- originalEvent: e,
812
- value: i
1026
+ updateModel: function updateModel(event, value) {
1027
+ this.$emit("update:modelValue", value);
1028
+ this.$emit("change", {
1029
+ originalEvent: event,
1030
+ value
813
1031
  });
814
1032
  },
815
- flatOptions: function(e) {
816
- var i = this;
817
- return (e || []).reduce(function(s, l, n) {
818
- s.push({
819
- optionGroup: l,
820
- group: !0,
821
- index: n
1033
+ flatOptions: function flatOptions(options2) {
1034
+ var _this24 = this;
1035
+ return (options2 || []).reduce(function(result, option, index) {
1036
+ result.push({
1037
+ optionGroup: option,
1038
+ group: true,
1039
+ index
1040
+ });
1041
+ var optionGroupChildren = _this24.getOptionGroupChildren(option);
1042
+ optionGroupChildren && optionGroupChildren.forEach(function(o) {
1043
+ return result.push(o);
822
1044
  });
823
- var h = i.getOptionGroupChildren(l);
824
- return h && h.forEach(function(m) {
825
- return s.push(m);
826
- }), s;
1045
+ return result;
827
1046
  }, []);
828
1047
  },
829
- overlayRef: function(e) {
830
- this.overlay = e;
1048
+ overlayRef: function overlayRef(el) {
1049
+ this.overlay = el;
831
1050
  },
832
- listRef: function(e, i) {
833
- this.list = e, i && i(e);
1051
+ listRef: function listRef(el, contentRef) {
1052
+ this.list = el;
1053
+ contentRef && contentRef(el);
834
1054
  },
835
- virtualScrollerRef: function(e) {
836
- this.virtualScroller = e;
1055
+ virtualScrollerRef: function virtualScrollerRef(el) {
1056
+ this.virtualScroller = el;
837
1057
  }
838
1058
  },
839
1059
  computed: {
840
- visibleOptions: function() {
841
- var e = this, i = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
1060
+ visibleOptions: function visibleOptions() {
1061
+ var _this25 = this;
1062
+ var options2 = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
842
1063
  if (this.filterValue) {
843
- var s = te.filter(i, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
1064
+ var filteredOptions = FilterService.filter(options2, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
844
1065
  if (this.optionGroupLabel) {
845
- var l = this.options || [], n = [];
846
- return l.forEach(function(h) {
847
- var m = e.getOptionGroupChildren(h), y = m.filter(function(H) {
848
- return s.includes(H);
1066
+ var optionGroups = this.options || [];
1067
+ var filtered = [];
1068
+ optionGroups.forEach(function(group) {
1069
+ var groupChildren = _this25.getOptionGroupChildren(group);
1070
+ var filteredItems = groupChildren.filter(function(item) {
1071
+ return filteredOptions.includes(item);
849
1072
  });
850
- y.length > 0 && n.push(Q(Q({}, h), {}, $({}, typeof e.optionGroupChildren == "string" ? e.optionGroupChildren : "items", X(y))));
851
- }), this.flatOptions(n);
1073
+ if (filteredItems.length > 0) filtered.push(_objectSpread$1(_objectSpread$1({}, group), {}, _defineProperty$1({}, typeof _this25.optionGroupChildren === "string" ? _this25.optionGroupChildren : "items", _toConsumableArray(filteredItems))));
1074
+ });
1075
+ return this.flatOptions(filtered);
852
1076
  }
853
- return s;
1077
+ return filteredOptions;
854
1078
  }
855
- return i;
1079
+ return options2;
856
1080
  },
857
- label: function() {
858
- var e;
1081
+ label: function label() {
1082
+ var label2;
859
1083
  if (this.modelValue && this.modelValue.length) {
860
- if (u.isNotEmpty(this.maxSelectedLabels) && this.modelValue.length > this.maxSelectedLabels)
1084
+ if (ObjectUtils.isNotEmpty(this.maxSelectedLabels) && this.modelValue.length > this.maxSelectedLabels) {
861
1085
  return this.getSelectedItemsLabel();
862
- e = "";
863
- for (var i = 0; i < this.modelValue.length; i++)
864
- i !== 0 && (e += ", "), e += this.getLabelByValue(this.modelValue[i]);
865
- } else
866
- e = this.placeholder;
867
- return e;
868
- },
869
- chipSelectedItems: function() {
870
- return u.isNotEmpty(this.maxSelectedLabels) && this.modelValue && this.modelValue.length > this.maxSelectedLabels ? this.modelValue.slice(0, this.maxSelectedLabels) : this.modelValue;
871
- },
872
- allSelected: function() {
873
- var e = this;
874
- return this.selectAll !== null ? this.selectAll : u.isNotEmpty(this.visibleOptions) && this.visibleOptions.every(function(i) {
875
- return e.isOptionGroup(i) || e.isOptionDisabled(i) || e.isSelected(i);
1086
+ } else {
1087
+ label2 = "";
1088
+ for (var i = 0; i < this.modelValue.length; i++) {
1089
+ if (i !== 0) {
1090
+ label2 += ", ";
1091
+ }
1092
+ label2 += this.getLabelByValue(this.modelValue[i]);
1093
+ }
1094
+ }
1095
+ } else {
1096
+ label2 = this.placeholder;
1097
+ }
1098
+ return label2;
1099
+ },
1100
+ chipSelectedItems: function chipSelectedItems() {
1101
+ return ObjectUtils.isNotEmpty(this.maxSelectedLabels) && this.modelValue && this.modelValue.length > this.maxSelectedLabels ? this.modelValue.slice(0, this.maxSelectedLabels) : this.modelValue;
1102
+ },
1103
+ allSelected: function allSelected() {
1104
+ var _this26 = this;
1105
+ return this.selectAll !== null ? this.selectAll : ObjectUtils.isNotEmpty(this.visibleOptions) && this.visibleOptions.every(function(option) {
1106
+ return _this26.isOptionGroup(option) || _this26.isOptionDisabled(option) || _this26.isSelected(option);
876
1107
  });
877
1108
  },
878
- hasSelectedOption: function() {
879
- return u.isNotEmpty(this.modelValue);
1109
+ hasSelectedOption: function hasSelectedOption() {
1110
+ return ObjectUtils.isNotEmpty(this.modelValue);
880
1111
  },
881
- equalityKey: function() {
1112
+ equalityKey: function equalityKey() {
882
1113
  return this.optionValue ? null : this.dataKey;
883
1114
  },
884
- searchFields: function() {
1115
+ searchFields: function searchFields() {
885
1116
  return this.filterFields || [this.optionLabel];
886
1117
  },
887
- maxSelectionLimitReached: function() {
1118
+ maxSelectionLimitReached: function maxSelectionLimitReached() {
888
1119
  return this.selectionLimit && this.modelValue && this.modelValue.length === this.selectionLimit;
889
1120
  },
890
- filterResultMessageText: function() {
891
- return u.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
1121
+ filterResultMessageText: function filterResultMessageText() {
1122
+ return ObjectUtils.isNotEmpty(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
892
1123
  },
893
- filterMessageText: function() {
1124
+ filterMessageText: function filterMessageText() {
894
1125
  return this.filterMessage || this.$primevue.config.locale.searchMessage || "";
895
1126
  },
896
- emptyFilterMessageText: function() {
1127
+ emptyFilterMessageText: function emptyFilterMessageText() {
897
1128
  return this.emptyFilterMessage || this.$primevue.config.locale.emptySearchMessage || this.$primevue.config.locale.emptyFilterMessage || "";
898
1129
  },
899
- emptyMessageText: function() {
1130
+ emptyMessageText: function emptyMessageText() {
900
1131
  return this.emptyMessage || this.$primevue.config.locale.emptyMessage || "";
901
1132
  },
902
- selectionMessageText: function() {
1133
+ selectionMessageText: function selectionMessageText() {
903
1134
  return this.selectionMessage || this.$primevue.config.locale.selectionMessage || "";
904
1135
  },
905
- emptySelectionMessageText: function() {
1136
+ emptySelectionMessageText: function emptySelectionMessageText() {
906
1137
  return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || "";
907
1138
  },
908
- selectedMessageText: function() {
1139
+ selectedMessageText: function selectedMessageText() {
909
1140
  return this.hasSelectedOption ? this.selectionMessageText.replaceAll("{0}", this.modelValue.length) : this.emptySelectionMessageText;
910
1141
  },
911
- focusedOptionId: function() {
1142
+ focusedOptionId: function focusedOptionId() {
912
1143
  return this.focusedOptionIndex !== -1 ? "".concat(this.id, "_").concat(this.focusedOptionIndex) : null;
913
1144
  },
914
- ariaSetSize: function() {
915
- var e = this;
916
- return this.visibleOptions.filter(function(i) {
917
- return !e.isOptionGroup(i);
1145
+ ariaSetSize: function ariaSetSize() {
1146
+ var _this27 = this;
1147
+ return this.visibleOptions.filter(function(option) {
1148
+ return !_this27.isOptionGroup(option);
918
1149
  }).length;
919
1150
  },
920
- toggleAllAriaLabel: function() {
1151
+ toggleAllAriaLabel: function toggleAllAriaLabel() {
921
1152
  return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria[this.allSelected ? "selectAll" : "unselectAll"] : void 0;
922
1153
  },
923
- closeAriaLabel: function() {
1154
+ closeAriaLabel: function closeAriaLabel() {
924
1155
  return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.close : void 0;
925
1156
  },
926
- listAriaLabel: function() {
1157
+ listAriaLabel: function listAriaLabel() {
927
1158
  return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.listLabel : void 0;
928
1159
  },
929
- virtualScrollerDisabled: function() {
1160
+ virtualScrollerDisabled: function virtualScrollerDisabled() {
930
1161
  return !this.virtualScrollerOptions;
931
1162
  }
932
1163
  },
933
1164
  directives: {
934
- ripple: ce
1165
+ ripple: Ripple
935
1166
  },
936
1167
  components: {
937
- Checkbox: ie,
938
- VirtualScroller: fe,
939
- Portal: de,
940
- TimesIcon: oe,
941
- SearchIcon: le,
942
- TimesCircleIcon: ae,
943
- ChevronDownIcon: se,
944
- SpinnerIcon: re,
945
- CheckIcon: ne
1168
+ Checkbox: script$a,
1169
+ VirtualScroller: script$9,
1170
+ Portal: script$8,
1171
+ TimesIcon: script$7,
1172
+ SearchIcon: script$6,
1173
+ TimesCircleIcon: script$5,
1174
+ ChevronDownIcon: script$4,
1175
+ SpinnerIcon: script$3,
1176
+ CheckIcon: script$2
946
1177
  }
947
1178
  };
948
- function D(t) {
1179
+ function _typeof(o) {
949
1180
  "@babel/helpers - typeof";
950
- return D = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
951
- return typeof e;
952
- } : function(e) {
953
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
954
- }, D(t);
1181
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
1182
+ return typeof o2;
1183
+ } : function(o2) {
1184
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
1185
+ }, _typeof(o);
955
1186
  }
956
- function Y(t, e) {
957
- var i = Object.keys(t);
1187
+ function ownKeys(e, r) {
1188
+ var t = Object.keys(e);
958
1189
  if (Object.getOwnPropertySymbols) {
959
- var s = Object.getOwnPropertySymbols(t);
960
- e && (s = s.filter(function(l) {
961
- return Object.getOwnPropertyDescriptor(t, l).enumerable;
962
- })), i.push.apply(i, s);
1190
+ var o = Object.getOwnPropertySymbols(e);
1191
+ r && (o = o.filter(function(r2) {
1192
+ return Object.getOwnPropertyDescriptor(e, r2).enumerable;
1193
+ })), t.push.apply(t, o);
963
1194
  }
964
- return i;
1195
+ return t;
965
1196
  }
966
- function L(t) {
967
- for (var e = 1; e < arguments.length; e++) {
968
- var i = arguments[e] != null ? arguments[e] : {};
969
- e % 2 ? Y(Object(i), !0).forEach(function(s) {
970
- N(t, s, i[s]);
971
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Y(Object(i)).forEach(function(s) {
972
- Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(i, s));
1197
+ function _objectSpread(e) {
1198
+ for (var r = 1; r < arguments.length; r++) {
1199
+ var t = null != arguments[r] ? arguments[r] : {};
1200
+ r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
1201
+ _defineProperty(e, r2, t[r2]);
1202
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
1203
+ Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
973
1204
  });
974
1205
  }
975
- return t;
1206
+ return e;
976
1207
  }
977
- function N(t, e, i) {
978
- return e = xe(e), e in t ? Object.defineProperty(t, e, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = i, t;
1208
+ function _defineProperty(obj, key, value) {
1209
+ key = _toPropertyKey(key);
1210
+ if (key in obj) {
1211
+ Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
1212
+ } else {
1213
+ obj[key] = value;
1214
+ }
1215
+ return obj;
979
1216
  }
980
- function xe(t) {
981
- var e = Ke(t, "string");
982
- return D(e) == "symbol" ? e : String(e);
1217
+ function _toPropertyKey(t) {
1218
+ var i = _toPrimitive(t, "string");
1219
+ return "symbol" == _typeof(i) ? i : String(i);
983
1220
  }
984
- function Ke(t, e) {
985
- if (D(t) != "object" || !t) return t;
986
- var i = t[Symbol.toPrimitive];
987
- if (i !== void 0) {
988
- var s = i.call(t, e);
989
- if (D(s) != "object") return s;
1221
+ function _toPrimitive(t, r) {
1222
+ if ("object" != _typeof(t) || !t) return t;
1223
+ var e = t[Symbol.toPrimitive];
1224
+ if (void 0 !== e) {
1225
+ var i = e.call(t, r);
1226
+ if ("object" != _typeof(i)) return i;
990
1227
  throw new TypeError("@@toPrimitive must return a primitive value.");
991
1228
  }
992
- return (e === "string" ? String : Number)(t);
1229
+ return ("string" === r ? String : Number)(t);
993
1230
  }
994
- var Te = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"], Me = ["onClick"], Ee = ["value", "placeholder", "aria-owns", "aria-activedescendant"], De = ["aria-label"], Ae = ["id", "aria-label"], Pe = ["id"], Re = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
995
- function He(t, e, i, s, l, n) {
996
- var h = T("TimesCircleIcon"), m = T("SpinnerIcon"), y = T("Checkbox"), H = T("VirtualScroller"), _ = T("Portal"), U = ye("ripple");
997
- return o(), d("div", r({
1231
+ var _hoisted_1 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
1232
+ var _hoisted_2 = ["onClick"];
1233
+ var _hoisted_3 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
1234
+ var _hoisted_4 = ["aria-label"];
1235
+ var _hoisted_5 = ["id", "aria-label"];
1236
+ var _hoisted_6 = ["id"];
1237
+ var _hoisted_7 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
1238
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
1239
+ var _component_TimesCircleIcon = resolveComponent("TimesCircleIcon");
1240
+ var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
1241
+ var _component_Checkbox = resolveComponent("Checkbox");
1242
+ var _component_VirtualScroller = resolveComponent("VirtualScroller");
1243
+ var _component_Portal = resolveComponent("Portal");
1244
+ var _directive_ripple = resolveDirective("ripple");
1245
+ return openBlock(), createElementBlock("div", mergeProps({
998
1246
  ref: "container",
999
- class: t.cx("root"),
1000
- style: t.sx("root"),
1001
- onClick: e[13] || (e[13] = function() {
1002
- return n.onContainerClick && n.onContainerClick.apply(n, arguments);
1247
+ "class": _ctx.cx("root"),
1248
+ style: _ctx.sx("root"),
1249
+ onClick: _cache[13] || (_cache[13] = function() {
1250
+ return $options.onContainerClick && $options.onContainerClick.apply($options, arguments);
1003
1251
  })
1004
- }, t.ptmi("root")), [O("div", r({
1005
- class: "p-hidden-accessible"
1006
- }, t.ptm("hiddenInputWrapper"), {
1007
- "data-p-hidden-accessible": !0
1008
- }), [O("input", r({
1252
+ }, _ctx.ptmi("root")), [createElementVNode("div", mergeProps({
1253
+ "class": "p-hidden-accessible"
1254
+ }, _ctx.ptm("hiddenInputWrapper"), {
1255
+ "data-p-hidden-accessible": true
1256
+ }), [createElementVNode("input", mergeProps({
1009
1257
  ref: "focusInput",
1010
- id: t.inputId,
1258
+ id: _ctx.inputId,
1011
1259
  type: "text",
1012
1260
  readonly: "",
1013
- disabled: t.disabled,
1014
- placeholder: t.placeholder,
1015
- tabindex: t.disabled ? -1 : t.tabindex,
1261
+ disabled: _ctx.disabled,
1262
+ placeholder: _ctx.placeholder,
1263
+ tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
1016
1264
  role: "combobox",
1017
- "aria-label": t.ariaLabel,
1018
- "aria-labelledby": t.ariaLabelledby,
1265
+ "aria-label": _ctx.ariaLabel,
1266
+ "aria-labelledby": _ctx.ariaLabelledby,
1019
1267
  "aria-haspopup": "listbox",
1020
- "aria-expanded": l.overlayVisible,
1021
- "aria-controls": l.id + "_list",
1022
- "aria-activedescendant": l.focused ? n.focusedOptionId : void 0,
1023
- "aria-invalid": t.invalid || void 0,
1024
- onFocus: e[0] || (e[0] = function() {
1025
- return n.onFocus && n.onFocus.apply(n, arguments);
1268
+ "aria-expanded": $data.overlayVisible,
1269
+ "aria-controls": $data.id + "_list",
1270
+ "aria-activedescendant": $data.focused ? $options.focusedOptionId : void 0,
1271
+ "aria-invalid": _ctx.invalid || void 0,
1272
+ onFocus: _cache[0] || (_cache[0] = function() {
1273
+ return $options.onFocus && $options.onFocus.apply($options, arguments);
1026
1274
  }),
1027
- onBlur: e[1] || (e[1] = function() {
1028
- return n.onBlur && n.onBlur.apply(n, arguments);
1275
+ onBlur: _cache[1] || (_cache[1] = function() {
1276
+ return $options.onBlur && $options.onBlur.apply($options, arguments);
1029
1277
  }),
1030
- onKeydown: e[2] || (e[2] = function() {
1031
- return n.onKeyDown && n.onKeyDown.apply(n, arguments);
1278
+ onKeydown: _cache[2] || (_cache[2] = function() {
1279
+ return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
1032
1280
  })
1033
- }, L(L({}, t.inputProps), t.ptm("hiddenInput"))), null, 16, Te)], 16), O("div", r({
1034
- class: t.cx("labelContainer")
1035
- }, t.ptm("labelContainer")), [O("div", r({
1036
- class: t.cx("label")
1037
- }, t.ptm("label")), [b(t.$slots, "value", {
1038
- value: t.modelValue,
1039
- placeholder: t.placeholder
1281
+ }, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm("hiddenInput"))), null, 16, _hoisted_1)], 16), createElementVNode("div", mergeProps({
1282
+ "class": _ctx.cx("labelContainer")
1283
+ }, _ctx.ptm("labelContainer")), [createElementVNode("div", mergeProps({
1284
+ "class": _ctx.cx("label")
1285
+ }, _ctx.ptm("label")), [renderSlot(_ctx.$slots, "value", {
1286
+ value: _ctx.modelValue,
1287
+ placeholder: _ctx.placeholder
1040
1288
  }, function() {
1041
- return [t.display === "comma" ? (o(), d(C, {
1289
+ return [_ctx.display === "comma" ? (openBlock(), createElementBlock(Fragment, {
1042
1290
  key: 0
1043
- }, [M(I(n.label || "empty"), 1)], 64)) : t.display === "chip" ? (o(), d(C, {
1291
+ }, [createTextVNode(toDisplayString($options.label || "empty"), 1)], 64)) : _ctx.display === "chip" ? (openBlock(), createElementBlock(Fragment, {
1044
1292
  key: 1
1045
- }, [(o(!0), d(C, null, q(n.chipSelectedItems, function(a) {
1046
- return o(), d("div", r({
1047
- key: n.getLabelByValue(a),
1048
- class: t.cx("token")
1049
- }, t.ptm("token")), [b(t.$slots, "chip", {
1050
- value: a
1293
+ }, [(openBlock(true), createElementBlock(Fragment, null, renderList($options.chipSelectedItems, function(item) {
1294
+ return openBlock(), createElementBlock("div", mergeProps({
1295
+ key: $options.getLabelByValue(item),
1296
+ "class": _ctx.cx("token")
1297
+ }, _ctx.ptm("token")), [renderSlot(_ctx.$slots, "chip", {
1298
+ value: item
1051
1299
  }, function() {
1052
- return [O("span", r({
1053
- class: t.cx("tokenLabel")
1054
- }, t.ptm("tokenLabel")), I(n.getLabelByValue(a)), 17)];
1055
- }), t.disabled ? v("", !0) : b(t.$slots, "removetokenicon", {
1300
+ return [createElementVNode("span", mergeProps({
1301
+ "class": _ctx.cx("tokenLabel")
1302
+ }, _ctx.ptm("tokenLabel")), toDisplayString($options.getLabelByValue(item)), 17)];
1303
+ }), !_ctx.disabled ? renderSlot(_ctx.$slots, "removetokenicon", {
1056
1304
  key: 0,
1057
- class: F(t.cx("removeTokenIcon")),
1058
- item: a,
1059
- onClick: function(K) {
1060
- return n.removeOption(K, a);
1305
+ "class": normalizeClass(_ctx.cx("removeTokenIcon")),
1306
+ item,
1307
+ onClick: function onClick(event) {
1308
+ return $options.removeOption(event, item);
1061
1309
  },
1062
- removeCallback: function(K) {
1063
- return n.removeOption(K, a);
1310
+ removeCallback: function removeCallback(event) {
1311
+ return $options.removeOption(event, item);
1064
1312
  }
1065
1313
  }, function() {
1066
- return [t.removeTokenIcon ? (o(), d("span", r({
1314
+ return [_ctx.removeTokenIcon ? (openBlock(), createElementBlock("span", mergeProps({
1067
1315
  key: 0,
1068
- class: [t.cx("removeTokenIcon"), t.removeTokenIcon],
1069
- onClick: W(function(k) {
1070
- return n.removeOption(k, a);
1316
+ "class": [_ctx.cx("removeTokenIcon"), _ctx.removeTokenIcon],
1317
+ onClick: withModifiers(function($event) {
1318
+ return $options.removeOption($event, item);
1071
1319
  }, ["stop"])
1072
- }, t.ptm("removeTokenIcon")), null, 16, Me)) : (o(), S(h, r({
1320
+ }, _ctx.ptm("removeTokenIcon")), null, 16, _hoisted_2)) : (openBlock(), createBlock(_component_TimesCircleIcon, mergeProps({
1073
1321
  key: 1,
1074
- class: t.cx("removeTokenIcon"),
1075
- onClick: W(function(k) {
1076
- return n.removeOption(k, a);
1322
+ "class": _ctx.cx("removeTokenIcon"),
1323
+ onClick: withModifiers(function($event) {
1324
+ return $options.removeOption($event, item);
1077
1325
  }, ["stop"])
1078
- }, t.ptm("removeTokenIcon")), null, 16, ["class", "onClick"]))];
1079
- })], 16);
1080
- }), 128)), !t.modelValue || t.modelValue.length === 0 ? (o(), d(C, {
1326
+ }, _ctx.ptm("removeTokenIcon")), null, 16, ["class", "onClick"]))];
1327
+ }) : createCommentVNode("", true)], 16);
1328
+ }), 128)), !_ctx.modelValue || _ctx.modelValue.length === 0 ? (openBlock(), createElementBlock(Fragment, {
1081
1329
  key: 0
1082
- }, [M(I(t.placeholder || "empty"), 1)], 64)) : v("", !0)], 64)) : v("", !0)];
1083
- })], 16)], 16), O("div", r({
1084
- class: t.cx("trigger")
1085
- }, t.ptm("trigger")), [t.loading ? b(t.$slots, "loadingicon", {
1330
+ }, [createTextVNode(toDisplayString(_ctx.placeholder || "empty"), 1)], 64)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)];
1331
+ })], 16)], 16), createElementVNode("div", mergeProps({
1332
+ "class": _ctx.cx("trigger")
1333
+ }, _ctx.ptm("trigger")), [_ctx.loading ? renderSlot(_ctx.$slots, "loadingicon", {
1086
1334
  key: 0,
1087
- class: F(t.cx("loadingIcon"))
1335
+ "class": normalizeClass(_ctx.cx("loadingIcon"))
1088
1336
  }, function() {
1089
- return [t.loadingIcon ? (o(), d("span", r({
1337
+ return [_ctx.loadingIcon ? (openBlock(), createElementBlock("span", mergeProps({
1090
1338
  key: 0,
1091
- class: [t.cx("loadingIcon"), "pi-spin", t.loadingIcon],
1339
+ "class": [_ctx.cx("loadingIcon"), "pi-spin", _ctx.loadingIcon],
1092
1340
  "aria-hidden": "true"
1093
- }, t.ptm("loadingIcon")), null, 16)) : (o(), S(m, r({
1341
+ }, _ctx.ptm("loadingIcon")), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
1094
1342
  key: 1,
1095
- class: t.cx("loadingIcon"),
1343
+ "class": _ctx.cx("loadingIcon"),
1096
1344
  spin: "",
1097
1345
  "aria-hidden": "true"
1098
- }, t.ptm("loadingIcon")), null, 16, ["class"]))];
1099
- }) : b(t.$slots, "dropdownicon", {
1346
+ }, _ctx.ptm("loadingIcon")), null, 16, ["class"]))];
1347
+ }) : renderSlot(_ctx.$slots, "dropdownicon", {
1100
1348
  key: 1,
1101
- class: F(t.cx("dropdownIcon"))
1349
+ "class": normalizeClass(_ctx.cx("dropdownIcon"))
1102
1350
  }, function() {
1103
- return [(o(), S(w(t.dropdownIcon ? "span" : "ChevronDownIcon"), r({
1104
- class: [t.cx("dropdownIcon"), t.dropdownIcon],
1351
+ return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.dropdownIcon ? "span" : "ChevronDownIcon"), mergeProps({
1352
+ "class": [_ctx.cx("dropdownIcon"), _ctx.dropdownIcon],
1105
1353
  "aria-hidden": "true"
1106
- }, t.ptm("dropdownIcon")), null, 16, ["class"]))];
1107
- })], 16), R(_, {
1108
- appendTo: t.appendTo
1354
+ }, _ctx.ptm("dropdownIcon")), null, 16, ["class"]))];
1355
+ })], 16), createVNode(_component_Portal, {
1356
+ appendTo: _ctx.appendTo
1109
1357
  }, {
1110
- default: x(function() {
1111
- return [R(be, r({
1358
+ "default": withCtx(function() {
1359
+ return [createVNode(Transition, mergeProps({
1112
1360
  name: "p-connected-overlay",
1113
- onEnter: n.onOverlayEnter,
1114
- onAfterEnter: n.onOverlayAfterEnter,
1115
- onLeave: n.onOverlayLeave,
1116
- onAfterLeave: n.onOverlayAfterLeave
1117
- }, t.ptm("transition")), {
1118
- default: x(function() {
1119
- return [l.overlayVisible ? (o(), d("div", r({
1361
+ onEnter: $options.onOverlayEnter,
1362
+ onAfterEnter: $options.onOverlayAfterEnter,
1363
+ onLeave: $options.onOverlayLeave,
1364
+ onAfterLeave: $options.onOverlayAfterLeave
1365
+ }, _ctx.ptm("transition")), {
1366
+ "default": withCtx(function() {
1367
+ return [$data.overlayVisible ? (openBlock(), createElementBlock("div", mergeProps({
1120
1368
  key: 0,
1121
- ref: n.overlayRef,
1122
- style: t.panelStyle,
1123
- class: [t.cx("panel"), t.panelClass],
1124
- onClick: e[11] || (e[11] = function() {
1125
- return n.onOverlayClick && n.onOverlayClick.apply(n, arguments);
1369
+ ref: $options.overlayRef,
1370
+ style: _ctx.panelStyle,
1371
+ "class": [_ctx.cx("panel"), _ctx.panelClass],
1372
+ onClick: _cache[11] || (_cache[11] = function() {
1373
+ return $options.onOverlayClick && $options.onOverlayClick.apply($options, arguments);
1126
1374
  }),
1127
- onKeydown: e[12] || (e[12] = function() {
1128
- return n.onOverlayKeyDown && n.onOverlayKeyDown.apply(n, arguments);
1375
+ onKeydown: _cache[12] || (_cache[12] = function() {
1376
+ return $options.onOverlayKeyDown && $options.onOverlayKeyDown.apply($options, arguments);
1129
1377
  })
1130
- }, L(L({}, t.panelProps), t.ptm("panel"))), [O("span", r({
1378
+ }, _objectSpread(_objectSpread({}, _ctx.panelProps), _ctx.ptm("panel"))), [createElementVNode("span", mergeProps({
1131
1379
  ref: "firstHiddenFocusableElementOnOverlay",
1132
1380
  role: "presentation",
1133
1381
  "aria-hidden": "true",
1134
- class: "p-hidden-accessible p-hidden-focusable",
1382
+ "class": "p-hidden-accessible p-hidden-focusable",
1135
1383
  tabindex: 0,
1136
- onFocus: e[3] || (e[3] = function() {
1137
- return n.onFirstHiddenFocus && n.onFirstHiddenFocus.apply(n, arguments);
1384
+ onFocus: _cache[3] || (_cache[3] = function() {
1385
+ return $options.onFirstHiddenFocus && $options.onFirstHiddenFocus.apply($options, arguments);
1138
1386
  })
1139
- }, t.ptm("hiddenFirstFocusableEl"), {
1140
- "data-p-hidden-accessible": !0,
1141
- "data-p-hidden-focusable": !0
1142
- }), null, 16), b(t.$slots, "header", {
1143
- value: t.modelValue,
1144
- options: n.visibleOptions
1145
- }), t.showToggleAll && t.selectionLimit == null || t.filter ? (o(), d("div", r({
1387
+ }, _ctx.ptm("hiddenFirstFocusableEl"), {
1388
+ "data-p-hidden-accessible": true,
1389
+ "data-p-hidden-focusable": true
1390
+ }), null, 16), renderSlot(_ctx.$slots, "header", {
1391
+ value: _ctx.modelValue,
1392
+ options: $options.visibleOptions
1393
+ }), _ctx.showToggleAll && _ctx.selectionLimit == null || _ctx.filter ? (openBlock(), createElementBlock("div", mergeProps({
1146
1394
  key: 0,
1147
- class: t.cx("header")
1148
- }, t.ptm("header")), [t.showToggleAll && t.selectionLimit == null ? (o(), S(y, {
1395
+ "class": _ctx.cx("header")
1396
+ }, _ctx.ptm("header")), [_ctx.showToggleAll && _ctx.selectionLimit == null ? (openBlock(), createBlock(_component_Checkbox, {
1149
1397
  key: 0,
1150
- modelValue: n.allSelected,
1151
- binary: !0,
1152
- disabled: t.disabled,
1153
- variant: t.variant,
1154
- "aria-label": n.toggleAllAriaLabel,
1155
- onChange: n.onToggleAll,
1156
- unstyled: t.unstyled,
1157
- pt: n.getHeaderCheckboxPTOptions("headerCheckbox")
1398
+ modelValue: $options.allSelected,
1399
+ binary: true,
1400
+ disabled: _ctx.disabled,
1401
+ variant: _ctx.variant,
1402
+ "aria-label": $options.toggleAllAriaLabel,
1403
+ onChange: $options.onToggleAll,
1404
+ unstyled: _ctx.unstyled,
1405
+ pt: $options.getHeaderCheckboxPTOptions("headerCheckbox")
1158
1406
  }, {
1159
- icon: x(function(a) {
1160
- return [t.$slots.headercheckboxicon ? (o(), S(w(t.$slots.headercheckboxicon), {
1407
+ icon: withCtx(function(slotProps) {
1408
+ return [_ctx.$slots.headercheckboxicon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.headercheckboxicon), {
1161
1409
  key: 0,
1162
- checked: a.checked,
1163
- class: F(a.class)
1164
- }, null, 8, ["checked", "class"])) : a.checked ? (o(), S(w(t.checkboxIcon ? "span" : "CheckIcon"), r({
1410
+ checked: slotProps.checked,
1411
+ "class": normalizeClass(slotProps["class"])
1412
+ }, null, 8, ["checked", "class"])) : slotProps.checked ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.checkboxIcon ? "span" : "CheckIcon"), mergeProps({
1165
1413
  key: 1,
1166
- class: [a.class, N({}, t.checkboxIcon, a.checked)]
1167
- }, n.getHeaderCheckboxPTOptions("headerCheckbox.icon")), null, 16, ["class"])) : v("", !0)];
1414
+ "class": [slotProps["class"], _defineProperty({}, _ctx.checkboxIcon, slotProps.checked)]
1415
+ }, $options.getHeaderCheckboxPTOptions("headerCheckbox.icon")), null, 16, ["class"])) : createCommentVNode("", true)];
1168
1416
  }),
1169
1417
  _: 1
1170
- }, 8, ["modelValue", "disabled", "variant", "aria-label", "onChange", "unstyled", "pt"])) : v("", !0), t.filter ? (o(), d("div", r({
1418
+ }, 8, ["modelValue", "disabled", "variant", "aria-label", "onChange", "unstyled", "pt"])) : createCommentVNode("", true), _ctx.filter ? (openBlock(), createElementBlock("div", mergeProps({
1171
1419
  key: 1,
1172
- class: t.cx("filterContainer")
1173
- }, t.ptm("filterContainer")), [O("input", r({
1420
+ "class": _ctx.cx("filterContainer")
1421
+ }, _ctx.ptm("filterContainer")), [createElementVNode("input", mergeProps({
1174
1422
  ref: "filterInput",
1175
1423
  type: "text",
1176
- value: l.filterValue,
1177
- onVnodeMounted: e[4] || (e[4] = function() {
1178
- return n.onFilterUpdated && n.onFilterUpdated.apply(n, arguments);
1424
+ value: $data.filterValue,
1425
+ onVnodeMounted: _cache[4] || (_cache[4] = function() {
1426
+ return $options.onFilterUpdated && $options.onFilterUpdated.apply($options, arguments);
1179
1427
  }),
1180
- onVnodeUpdated: e[5] || (e[5] = function() {
1181
- return n.onFilterUpdated && n.onFilterUpdated.apply(n, arguments);
1428
+ onVnodeUpdated: _cache[5] || (_cache[5] = function() {
1429
+ return $options.onFilterUpdated && $options.onFilterUpdated.apply($options, arguments);
1182
1430
  }),
1183
- class: t.cx("filterInput"),
1184
- placeholder: t.filterPlaceholder,
1431
+ "class": _ctx.cx("filterInput"),
1432
+ placeholder: _ctx.filterPlaceholder,
1185
1433
  role: "searchbox",
1186
1434
  autocomplete: "off",
1187
- "aria-owns": l.id + "_list",
1188
- "aria-activedescendant": n.focusedOptionId,
1189
- onKeydown: e[6] || (e[6] = function() {
1190
- return n.onFilterKeyDown && n.onFilterKeyDown.apply(n, arguments);
1435
+ "aria-owns": $data.id + "_list",
1436
+ "aria-activedescendant": $options.focusedOptionId,
1437
+ onKeydown: _cache[6] || (_cache[6] = function() {
1438
+ return $options.onFilterKeyDown && $options.onFilterKeyDown.apply($options, arguments);
1191
1439
  }),
1192
- onBlur: e[7] || (e[7] = function() {
1193
- return n.onFilterBlur && n.onFilterBlur.apply(n, arguments);
1440
+ onBlur: _cache[7] || (_cache[7] = function() {
1441
+ return $options.onFilterBlur && $options.onFilterBlur.apply($options, arguments);
1194
1442
  }),
1195
- onInput: e[8] || (e[8] = function() {
1196
- return n.onFilterChange && n.onFilterChange.apply(n, arguments);
1443
+ onInput: _cache[8] || (_cache[8] = function() {
1444
+ return $options.onFilterChange && $options.onFilterChange.apply($options, arguments);
1197
1445
  })
1198
- }, L(L({}, t.filterInputProps), t.ptm("filterInput"))), null, 16, Ee), b(t.$slots, "filtericon", {
1199
- class: F(t.cx("filterIcon"))
1446
+ }, _objectSpread(_objectSpread({}, _ctx.filterInputProps), _ctx.ptm("filterInput"))), null, 16, _hoisted_3), renderSlot(_ctx.$slots, "filtericon", {
1447
+ "class": normalizeClass(_ctx.cx("filterIcon"))
1200
1448
  }, function() {
1201
- return [(o(), S(w(t.filterIcon ? "span" : "SearchIcon"), r({
1202
- class: [t.cx("filterIcon"), t.filterIcon]
1203
- }, t.ptm("filterIcon")), null, 16, ["class"]))];
1204
- })], 16)) : v("", !0), t.filter ? (o(), d("span", r({
1449
+ return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.filterIcon ? "span" : "SearchIcon"), mergeProps({
1450
+ "class": [_ctx.cx("filterIcon"), _ctx.filterIcon]
1451
+ }, _ctx.ptm("filterIcon")), null, 16, ["class"]))];
1452
+ })], 16)) : createCommentVNode("", true), _ctx.filter ? (openBlock(), createElementBlock("span", mergeProps({
1205
1453
  key: 2,
1206
1454
  role: "status",
1207
1455
  "aria-live": "polite",
1208
- class: "p-hidden-accessible"
1209
- }, t.ptm("hiddenFilterResult"), {
1210
- "data-p-hidden-accessible": !0
1211
- }), I(n.filterResultMessageText), 17)) : v("", !0), Z((o(), d("button", r({
1212
- class: t.cx("closeButton"),
1213
- "aria-label": n.closeAriaLabel,
1214
- onClick: e[9] || (e[9] = function() {
1215
- return n.onCloseClick && n.onCloseClick.apply(n, arguments);
1456
+ "class": "p-hidden-accessible"
1457
+ }, _ctx.ptm("hiddenFilterResult"), {
1458
+ "data-p-hidden-accessible": true
1459
+ }), toDisplayString($options.filterResultMessageText), 17)) : createCommentVNode("", true), withDirectives((openBlock(), createElementBlock("button", mergeProps({
1460
+ "class": _ctx.cx("closeButton"),
1461
+ "aria-label": $options.closeAriaLabel,
1462
+ onClick: _cache[9] || (_cache[9] = function() {
1463
+ return $options.onCloseClick && $options.onCloseClick.apply($options, arguments);
1216
1464
  }),
1217
1465
  type: "button"
1218
- }, L(L({}, t.closeButtonProps), t.ptm("closeButton"))), [b(t.$slots, "closeicon", {
1219
- class: F(t.cx("closeIcon"))
1466
+ }, _objectSpread(_objectSpread({}, _ctx.closeButtonProps), _ctx.ptm("closeButton"))), [renderSlot(_ctx.$slots, "closeicon", {
1467
+ "class": normalizeClass(_ctx.cx("closeIcon"))
1220
1468
  }, function() {
1221
- return [(o(), S(w(t.closeIcon ? "span" : "TimesIcon"), r({
1222
- class: [t.cx("closeIcon"), t.closeIcon]
1223
- }, t.ptm("closeIcon")), null, 16, ["class"]))];
1224
- })], 16, De)), [[U]])], 16)) : v("", !0), O("div", r({
1225
- class: t.cx("wrapper"),
1469
+ return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon ? "span" : "TimesIcon"), mergeProps({
1470
+ "class": [_ctx.cx("closeIcon"), _ctx.closeIcon]
1471
+ }, _ctx.ptm("closeIcon")), null, 16, ["class"]))];
1472
+ })], 16, _hoisted_4)), [[_directive_ripple]])], 16)) : createCommentVNode("", true), createElementVNode("div", mergeProps({
1473
+ "class": _ctx.cx("wrapper"),
1226
1474
  style: {
1227
- "max-height": n.virtualScrollerDisabled ? t.scrollHeight : ""
1475
+ "max-height": $options.virtualScrollerDisabled ? _ctx.scrollHeight : ""
1228
1476
  }
1229
- }, t.ptm("wrapper")), [R(H, r({
1230
- ref: n.virtualScrollerRef
1231
- }, t.virtualScrollerOptions, {
1232
- items: n.visibleOptions,
1477
+ }, _ctx.ptm("wrapper")), [createVNode(_component_VirtualScroller, mergeProps({
1478
+ ref: $options.virtualScrollerRef
1479
+ }, _ctx.virtualScrollerOptions, {
1480
+ items: $options.visibleOptions,
1233
1481
  style: {
1234
- height: t.scrollHeight
1482
+ height: _ctx.scrollHeight
1235
1483
  },
1236
1484
  tabindex: -1,
1237
- disabled: n.virtualScrollerDisabled,
1238
- pt: t.ptm("virtualScroller")
1239
- }), ge({
1240
- content: x(function(a) {
1241
- var k = a.styleClass, K = a.contentRef, A = a.items, g = a.getItemOptions, ee = a.contentStyle, P = a.itemSize;
1242
- return [O("ul", r({
1243
- ref: function(p) {
1244
- return n.listRef(p, K);
1485
+ disabled: $options.virtualScrollerDisabled,
1486
+ pt: _ctx.ptm("virtualScroller")
1487
+ }), createSlots({
1488
+ content: withCtx(function(_ref2) {
1489
+ var styleClass = _ref2.styleClass, contentRef = _ref2.contentRef, items = _ref2.items, getItemOptions = _ref2.getItemOptions, contentStyle = _ref2.contentStyle, itemSize = _ref2.itemSize;
1490
+ return [createElementVNode("ul", mergeProps({
1491
+ ref: function ref(el) {
1492
+ return $options.listRef(el, contentRef);
1245
1493
  },
1246
- id: l.id + "_list",
1247
- class: [t.cx("list"), k],
1248
- style: ee,
1494
+ id: $data.id + "_list",
1495
+ "class": [_ctx.cx("list"), styleClass],
1496
+ style: contentStyle,
1249
1497
  role: "listbox",
1250
1498
  "aria-multiselectable": "true",
1251
- "aria-label": n.listAriaLabel
1252
- }, t.ptm("list")), [(o(!0), d(C, null, q(A, function(c, p) {
1253
- return o(), d(C, {
1254
- key: n.getOptionRenderKey(c, n.getOptionIndex(p, g))
1255
- }, [n.isOptionGroup(c) ? (o(), d("li", r({
1499
+ "aria-label": $options.listAriaLabel
1500
+ }, _ctx.ptm("list")), [(openBlock(true), createElementBlock(Fragment, null, renderList(items, function(option, i) {
1501
+ return openBlock(), createElementBlock(Fragment, {
1502
+ key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
1503
+ }, [$options.isOptionGroup(option) ? (openBlock(), createElementBlock("li", mergeProps({
1256
1504
  key: 0,
1257
- id: l.id + "_" + n.getOptionIndex(p, g),
1505
+ id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
1258
1506
  style: {
1259
- height: P ? P + "px" : void 0
1507
+ height: itemSize ? itemSize + "px" : void 0
1260
1508
  },
1261
- class: t.cx("itemGroup"),
1509
+ "class": _ctx.cx("itemGroup"),
1262
1510
  role: "option"
1263
- }, t.ptm("itemGroup")), [b(t.$slots, "optiongroup", {
1264
- option: c.optionGroup,
1265
- index: n.getOptionIndex(p, g)
1511
+ }, _ctx.ptm("itemGroup")), [renderSlot(_ctx.$slots, "optiongroup", {
1512
+ option: option.optionGroup,
1513
+ index: $options.getOptionIndex(i, getItemOptions)
1266
1514
  }, function() {
1267
- return [M(I(n.getOptionGroupLabel(c.optionGroup)), 1)];
1268
- })], 16, Pe)) : Z((o(), d("li", r({
1515
+ return [createTextVNode(toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)];
1516
+ })], 16, _hoisted_6)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1269
1517
  key: 1,
1270
- id: l.id + "_" + n.getOptionIndex(p, g),
1518
+ id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
1271
1519
  style: {
1272
- height: P ? P + "px" : void 0
1520
+ height: itemSize ? itemSize + "px" : void 0
1273
1521
  },
1274
- class: t.cx("item", {
1275
- option: c,
1276
- index: p,
1277
- getItemOptions: g
1522
+ "class": _ctx.cx("item", {
1523
+ option,
1524
+ index: i,
1525
+ getItemOptions
1278
1526
  }),
1279
1527
  role: "option",
1280
- "aria-label": n.getOptionLabel(c),
1281
- "aria-selected": n.isSelected(c),
1282
- "aria-disabled": n.isOptionDisabled(c),
1283
- "aria-setsize": n.ariaSetSize,
1284
- "aria-posinset": n.getAriaPosInset(n.getOptionIndex(p, g)),
1285
- onClick: function(B) {
1286
- return n.onOptionSelect(B, c, n.getOptionIndex(p, g), !0);
1528
+ "aria-label": $options.getOptionLabel(option),
1529
+ "aria-selected": $options.isSelected(option),
1530
+ "aria-disabled": $options.isOptionDisabled(option),
1531
+ "aria-setsize": $options.ariaSetSize,
1532
+ "aria-posinset": $options.getAriaPosInset($options.getOptionIndex(i, getItemOptions)),
1533
+ onClick: function onClick($event) {
1534
+ return $options.onOptionSelect($event, option, $options.getOptionIndex(i, getItemOptions), true);
1287
1535
  },
1288
- onMousemove: function(B) {
1289
- return n.onOptionMouseMove(B, n.getOptionIndex(p, g));
1536
+ onMousemove: function onMousemove($event) {
1537
+ return $options.onOptionMouseMove($event, $options.getOptionIndex(i, getItemOptions));
1290
1538
  }
1291
- }, n.getCheckboxPTOptions(c, g, p, "item"), {
1292
- "data-p-highlight": n.isSelected(c),
1293
- "data-p-focused": l.focusedOptionIndex === n.getOptionIndex(p, g),
1294
- "data-p-disabled": n.isOptionDisabled(c)
1295
- }), [R(y, {
1296
- modelValue: n.isSelected(c),
1297
- binary: !0,
1539
+ }, $options.getCheckboxPTOptions(option, getItemOptions, i, "item"), {
1540
+ "data-p-highlight": $options.isSelected(option),
1541
+ "data-p-focused": $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions),
1542
+ "data-p-disabled": $options.isOptionDisabled(option)
1543
+ }), [createVNode(_component_Checkbox, {
1544
+ modelValue: $options.isSelected(option),
1545
+ binary: true,
1298
1546
  tabindex: -1,
1299
- variant: t.variant,
1300
- unstyled: t.unstyled,
1301
- pt: n.getCheckboxPTOptions(c, g, p, "itemCheckbox")
1547
+ variant: _ctx.variant,
1548
+ unstyled: _ctx.unstyled,
1549
+ pt: $options.getCheckboxPTOptions(option, getItemOptions, i, "itemCheckbox")
1302
1550
  }, {
1303
- icon: x(function(V) {
1304
- return [t.$slots.itemcheckboxicon ? (o(), S(w(t.$slots.itemcheckboxicon), {
1551
+ icon: withCtx(function(slotProps) {
1552
+ return [_ctx.$slots.itemcheckboxicon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.itemcheckboxicon), {
1305
1553
  key: 0,
1306
- checked: V.checked,
1307
- class: F(V.class)
1308
- }, null, 8, ["checked", "class"])) : V.checked ? (o(), S(w(t.checkboxIcon ? "span" : "CheckIcon"), r({
1554
+ checked: slotProps.checked,
1555
+ "class": normalizeClass(slotProps["class"])
1556
+ }, null, 8, ["checked", "class"])) : slotProps.checked ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.checkboxIcon ? "span" : "CheckIcon"), mergeProps({
1309
1557
  key: 1,
1310
- class: [V.class, N({}, t.checkboxIcon, V.checked)]
1311
- }, n.getCheckboxPTOptions(c, g, p, "itemCheckbox.icon")), null, 16, ["class"])) : v("", !0)];
1558
+ "class": [slotProps["class"], _defineProperty({}, _ctx.checkboxIcon, slotProps.checked)]
1559
+ }, $options.getCheckboxPTOptions(option, getItemOptions, i, "itemCheckbox.icon")), null, 16, ["class"])) : createCommentVNode("", true)];
1312
1560
  }),
1313
1561
  _: 2
1314
- }, 1032, ["modelValue", "variant", "unstyled", "pt"]), b(t.$slots, "option", {
1315
- option: c,
1316
- index: n.getOptionIndex(p, g)
1562
+ }, 1032, ["modelValue", "variant", "unstyled", "pt"]), renderSlot(_ctx.$slots, "option", {
1563
+ option,
1564
+ index: $options.getOptionIndex(i, getItemOptions)
1317
1565
  }, function() {
1318
- return [O("span", Oe(ve(t.ptm("option"))), I(n.getOptionLabel(c)), 17)];
1319
- })], 16, Re)), [[U]])], 64);
1320
- }), 128)), l.filterValue && (!A || A && A.length === 0) ? (o(), d("li", r({
1566
+ return [createElementVNode("span", normalizeProps(guardReactiveProps(_ctx.ptm("option"))), toDisplayString($options.getOptionLabel(option)), 17)];
1567
+ })], 16, _hoisted_7)), [[_directive_ripple]])], 64);
1568
+ }), 128)), $data.filterValue && (!items || items && items.length === 0) ? (openBlock(), createElementBlock("li", mergeProps({
1321
1569
  key: 0,
1322
- class: t.cx("emptyMessage"),
1570
+ "class": _ctx.cx("emptyMessage"),
1323
1571
  role: "option"
1324
- }, t.ptm("emptyMessage")), [b(t.$slots, "emptyfilter", {}, function() {
1325
- return [M(I(n.emptyFilterMessageText), 1)];
1326
- })], 16)) : !t.options || t.options && t.options.length === 0 ? (o(), d("li", r({
1572
+ }, _ctx.ptm("emptyMessage")), [renderSlot(_ctx.$slots, "emptyfilter", {}, function() {
1573
+ return [createTextVNode(toDisplayString($options.emptyFilterMessageText), 1)];
1574
+ })], 16)) : !_ctx.options || _ctx.options && _ctx.options.length === 0 ? (openBlock(), createElementBlock("li", mergeProps({
1327
1575
  key: 1,
1328
- class: t.cx("emptyMessage"),
1576
+ "class": _ctx.cx("emptyMessage"),
1329
1577
  role: "option"
1330
- }, t.ptm("emptyMessage")), [b(t.$slots, "empty", {}, function() {
1331
- return [M(I(n.emptyMessageText), 1)];
1332
- })], 16)) : v("", !0)], 16, Ae)];
1578
+ }, _ctx.ptm("emptyMessage")), [renderSlot(_ctx.$slots, "empty", {}, function() {
1579
+ return [createTextVNode(toDisplayString($options.emptyMessageText), 1)];
1580
+ })], 16)) : createCommentVNode("", true)], 16, _hoisted_5)];
1333
1581
  }),
1334
1582
  _: 2
1335
- }, [t.$slots.loader ? {
1583
+ }, [_ctx.$slots.loader ? {
1336
1584
  name: "loader",
1337
- fn: x(function(a) {
1338
- var k = a.options;
1339
- return [b(t.$slots, "loader", {
1340
- options: k
1585
+ fn: withCtx(function(_ref4) {
1586
+ var options2 = _ref4.options;
1587
+ return [renderSlot(_ctx.$slots, "loader", {
1588
+ options: options2
1341
1589
  })];
1342
1590
  }),
1343
1591
  key: "0"
1344
- } : void 0]), 1040, ["items", "style", "disabled", "pt"])], 16), b(t.$slots, "footer", {
1345
- value: t.modelValue,
1346
- options: n.visibleOptions
1347
- }), !t.options || t.options && t.options.length === 0 ? (o(), d("span", r({
1592
+ } : void 0]), 1040, ["items", "style", "disabled", "pt"])], 16), renderSlot(_ctx.$slots, "footer", {
1593
+ value: _ctx.modelValue,
1594
+ options: $options.visibleOptions
1595
+ }), !_ctx.options || _ctx.options && _ctx.options.length === 0 ? (openBlock(), createElementBlock("span", mergeProps({
1348
1596
  key: 1,
1349
1597
  role: "status",
1350
1598
  "aria-live": "polite",
1351
- class: "p-hidden-accessible"
1352
- }, t.ptm("hiddenEmptyMessage"), {
1353
- "data-p-hidden-accessible": !0
1354
- }), I(n.emptyMessageText), 17)) : v("", !0), O("span", r({
1599
+ "class": "p-hidden-accessible"
1600
+ }, _ctx.ptm("hiddenEmptyMessage"), {
1601
+ "data-p-hidden-accessible": true
1602
+ }), toDisplayString($options.emptyMessageText), 17)) : createCommentVNode("", true), createElementVNode("span", mergeProps({
1355
1603
  role: "status",
1356
1604
  "aria-live": "polite",
1357
- class: "p-hidden-accessible"
1358
- }, t.ptm("hiddenSelectedMessage"), {
1359
- "data-p-hidden-accessible": !0
1360
- }), I(n.selectedMessageText), 17), O("span", r({
1605
+ "class": "p-hidden-accessible"
1606
+ }, _ctx.ptm("hiddenSelectedMessage"), {
1607
+ "data-p-hidden-accessible": true
1608
+ }), toDisplayString($options.selectedMessageText), 17), createElementVNode("span", mergeProps({
1361
1609
  ref: "lastHiddenFocusableElementOnOverlay",
1362
1610
  role: "presentation",
1363
1611
  "aria-hidden": "true",
1364
- class: "p-hidden-accessible p-hidden-focusable",
1612
+ "class": "p-hidden-accessible p-hidden-focusable",
1365
1613
  tabindex: 0,
1366
- onFocus: e[10] || (e[10] = function() {
1367
- return n.onLastHiddenFocus && n.onLastHiddenFocus.apply(n, arguments);
1614
+ onFocus: _cache[10] || (_cache[10] = function() {
1615
+ return $options.onLastHiddenFocus && $options.onLastHiddenFocus.apply($options, arguments);
1368
1616
  })
1369
- }, t.ptm("hiddenLastFocusableEl"), {
1370
- "data-p-hidden-accessible": !0,
1371
- "data-p-hidden-focusable": !0
1372
- }), null, 16)], 16)) : v("", !0)];
1617
+ }, _ctx.ptm("hiddenLastFocusableEl"), {
1618
+ "data-p-hidden-accessible": true,
1619
+ "data-p-hidden-focusable": true
1620
+ }), null, 16)], 16)) : createCommentVNode("", true)];
1373
1621
  }),
1374
1622
  _: 3
1375
1623
  }, 16, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])];
@@ -1377,7 +1625,7 @@ function He(t, e, i, s, l, n) {
1377
1625
  _: 3
1378
1626
  }, 8, ["appendTo"])], 16);
1379
1627
  }
1380
- Ce.render = He;
1628
+ script.render = render;
1381
1629
  export {
1382
- Ce as s
1630
+ script as s
1383
1631
  };