@camera.ui/server 2.1.12 → 2.1.14-beta.0

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 (627) hide show
  1. package/dist/interface/assets/{404-BDi1TzED.js → 404-CVkDpT0X.js} +1 -1
  2. package/dist/interface/assets/{About-DeHiJp3n.js → About-CUgIR2xi.js} +1 -1
  3. package/dist/interface/assets/Automation-BYRKp0AC.js +3 -0
  4. package/dist/interface/assets/{AutomationImport-B3bCE-yS.js → AutomationImport-L_OzZZgi.js} +2 -2
  5. package/dist/interface/assets/{AutomationStore-BoWd7IW9.js → AutomationStore-DaNQqJoT.js} +2 -2
  6. package/dist/interface/assets/AutomationStoreDetail-Seor4Ohh.js +2 -0
  7. package/dist/interface/assets/Automations-BMQIkpUa.js +2 -0
  8. package/dist/interface/assets/Camera-3umh2Xjc.js +2 -0
  9. package/dist/interface/assets/{CameraConsole-C8XSUr7X.js → CameraConsole-BLlgkKDp.js} +2 -2
  10. package/dist/interface/assets/Cameras-DvK8E1Vk.js +651 -0
  11. package/dist/interface/assets/{Camview-Lp3QU0de.css → Camview-DIEa8IRE.css} +1 -1
  12. package/dist/interface/assets/Camview-DSO2lWxT.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-Cg89m_cM.js → CertificateUpload-BsnlaxRS.js} +1 -1
  14. package/dist/interface/assets/{Config-BDa4dy1w.js → Config-BXj83-No.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionCameraControl-DNmRpuPG.js → ConfigActionCameraControl-BGfvT6ME.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionDelay-Reg_tEG_.js → ConfigActionDelay-D10_C6yo.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionHttp-CqRBOSa3.js → ConfigActionHttp-DL4jh9Wz.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionImageInput-GWECLY4I.js → ConfigActionImageInput-DVvMUzrT.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionMqtt-Di4ZTig8.js → ConfigActionMqtt-BqK3q4cC.js} +1 -1
  20. package/dist/interface/assets/ConfigActionNotification-D_H5Q68D.js +1 -0
  21. package/dist/interface/assets/{ConfigActionNotificationControl-B_p8dnc4.js → ConfigActionNotificationControl-BnTJl4dr.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionOutput-B31cj20h.js → ConfigActionOutput-udY95_rH.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionPlugin-DCUhDIiJ.js → ConfigActionPlugin-C51LrkZb.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionSensor-De63wYQU.js → ConfigActionSensor-B2tFf8x6.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSnapshot-DZJDjOMT.js → ConfigActionSnapshot-BzmeByH3.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionVariable-Q3QXVMbR.js → ConfigActionVariable-BagC3lj5.js} +1 -1
  27. package/dist/interface/assets/{ConfigConditionIfElse-DKonPxli.js → ConfigConditionIfElse-CQOZJ19Y.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionSensorState-C_J6ERzt.js → ConfigConditionSensorState-SGYpkNP5.js} +1 -1
  29. package/dist/interface/assets/ConfigConditionSwitch-BXR6xUN8.js +1 -0
  30. package/dist/interface/assets/{ConfigConditionTime-CRDI58_P.js → ConfigConditionTime-BrEhw1R9.js} +1 -1
  31. package/dist/interface/assets/{ConfigSensorValueInput-C3ep90ds.js → ConfigSensorValueInput-DezTWtbA.js} +1 -1
  32. package/dist/interface/assets/{ConfigTriggerDetection-CbVFlyI8.js → ConfigTriggerDetection-xo0imE_3.js} +1 -1
  33. package/dist/interface/assets/ConfigTriggerGeofence-BmJpP4Ew.js +1 -0
  34. package/dist/interface/assets/{ConfigTriggerManual-7kAukUgk.js → ConfigTriggerManual-CmAdnZQK.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerMqtt-DUCZZt2j.js → ConfigTriggerMqtt-F19dhVm1.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerSchedule-lAiLdu1W.js → ConfigTriggerSchedule-BGci3Aed.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSensor-DIhCfhcN.js → ConfigTriggerSensor-DSEDGB2X.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSystem-DZu6Fp2j.js → ConfigTriggerSystem-DPy8Zir4.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerWebhook-D3a5f6vl.js → ConfigTriggerWebhook-Dv0Kmwg8.js} +1 -1
  40. package/dist/interface/assets/Console-Cuh-Vc4u.js +1 -0
  41. package/dist/interface/assets/{CuiAutomationRunsDialog-CgzW_s6M.js → CuiAutomationRunsDialog-B1UeVC6Q.js} +1 -1
  42. package/dist/interface/assets/{CuiBottomSheet-C7UdIQu1.js → CuiBottomSheet-BjkDE7_9.js} +1 -1
  43. package/dist/interface/assets/CuiBottomSheet-C9G-NoMU.js +1 -0
  44. package/dist/interface/assets/CuiCameraPipCard-nrln9zp-.js +1 -0
  45. package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +1 -0
  46. package/dist/interface/assets/CuiCameraRecordings-HKwhFpea.js +1 -0
  47. package/dist/interface/assets/{CuiCameraShares-D3fAJNWF.js → CuiCameraShares-D-fhJCro.js} +1 -1
  48. package/dist/interface/assets/{CuiCameraTable-ApLSxeO4.js → CuiCameraTable-BTVfK-HY.js} +2 -2
  49. package/dist/interface/assets/CuiCameraTable-DGg4_c_u.js +1 -0
  50. package/dist/interface/assets/{CuiChartTable-BeEij8SL.js → CuiChartTable-DAUYP-EW.js} +1 -1
  51. package/dist/interface/assets/{CuiConsole-CMxpzZ51.js → CuiConsole-C7aZj4wK.js} +2 -2
  52. package/dist/interface/assets/{CuiDataTable-f_QVzRqq.js → CuiDataTable-1B8aaZQO.js} +1 -1
  53. package/dist/interface/assets/CuiLightControl-CSA1PYc8.js +1 -0
  54. package/dist/interface/assets/{CuiList-C3oJKyJC.js → CuiList-D-hOSNou.js} +1 -1
  55. package/dist/interface/assets/CuiPluginCard-D1Hkyiy4.js +2 -0
  56. package/dist/interface/assets/{CuiPluginCategoryChip-EJhup0nM.js → CuiPluginCategoryChip-qnn-HD6g.js} +1 -1
  57. package/dist/interface/assets/{CuiPluginOAuthButton-CbPU8trR.js → CuiPluginOAuthButton-CXextmBv.js} +2 -2
  58. package/dist/interface/assets/{CuiPluginTrustBadge-B4bxBl3A.js → CuiPluginTrustBadge-C-8MN2Qc.js} +1 -1
  59. package/dist/interface/assets/{CuiQRCode-CycvR5wz.js → CuiQRCode-D1qmU4qU.js} +1 -1
  60. package/dist/interface/assets/CuiSchema-DnHOpBg4.js +1 -0
  61. package/dist/interface/assets/{CuiTopNavbarItem-D4qP-WpK.js → CuiTopNavbarItem-Csb3O1-n.js} +1 -1
  62. package/dist/interface/assets/Faces-C0QpQxuF.js +1 -0
  63. package/dist/interface/assets/FirstSteps-BqZQovY7.js +1 -0
  64. package/dist/interface/assets/{Floorplan-Da5gt435.css → Floorplan-Bxhdg4C2.css} +1 -1
  65. package/dist/interface/assets/Floorplan-CW-W5ZkV.js +1 -0
  66. package/dist/interface/assets/Instances-VSkiqKKf.js +1 -0
  67. package/dist/interface/assets/{Logs-BBZMBN6a.js → Logs-DQFS2AUi.js} +2 -2
  68. package/dist/interface/assets/{Menu-CRLIo98F.js → Menu-COvvZ_vz.js} +1 -1
  69. package/dist/interface/assets/Metrics-cvbQzChA.js +9 -0
  70. package/dist/interface/assets/OAuthDeviceFlow-3ZC2QCAs.js +1 -0
  71. package/dist/interface/assets/Plugin-DjQd3Y9J.js +1 -0
  72. package/dist/interface/assets/{PluginConsole-D2SUwFDo.js → PluginConsole-BaUkghQD.js} +2 -2
  73. package/dist/interface/assets/PluginDetail-Ofj1hk2q.js +2 -0
  74. package/dist/interface/assets/{PluginSchema-U4q4c9ak.js → PluginSchema-f-ER7hlx.js} +1 -1
  75. package/dist/interface/assets/PluginSearch-Ce3S1HDv.js +1 -0
  76. package/dist/interface/assets/PluginSearch-D5eQsj5p.js +2 -0
  77. package/dist/interface/assets/{PluginUpdateProgress-DWcs6NlJ.js → PluginUpdateProgress-BfYNLvVX.js} +1 -1
  78. package/dist/interface/assets/Plugins-DtDN9z0k.js +1 -0
  79. package/dist/interface/assets/Recordings-CQGnTZFt.js +1 -0
  80. package/dist/interface/assets/SensorEdit-BZtiJyoI.js +1 -0
  81. package/dist/interface/assets/{SensorHistory-B16b4-Um.js → SensorHistory-BFkT3teu.js} +1 -1
  82. package/dist/interface/assets/{Sensors-BsLHVGqk.css → Sensors-CaKl4PQY.css} +1 -1
  83. package/dist/interface/assets/Sensors-DSR-AUqb.js +2 -0
  84. package/dist/interface/assets/{Settings-BOd4EPix.js → Settings-DV3JZFjc.js} +1 -1
  85. package/dist/interface/assets/SettingsAccount-Cd5JPsv2.js +1 -0
  86. package/dist/interface/assets/SettingsAccount-D4ib7Asi.js +1 -0
  87. package/dist/interface/assets/SettingsAppearance-BYsQmdyo.js +1 -0
  88. package/dist/interface/assets/{SettingsAppearance-DZGa_aiI.js → SettingsAppearance-CC6StMAi.js} +1 -1
  89. package/dist/interface/assets/{SettingsBackup-DyblUiF8.js → SettingsBackup-BcVFCbhB.js} +1 -1
  90. package/dist/interface/assets/{SettingsList-DM0yAFkS.js → SettingsList-04HiM3OT.js} +1 -1
  91. package/dist/interface/assets/SettingsMqtt-XaJdsYPn.js +1 -0
  92. package/dist/interface/assets/SettingsNotifications-CUoYMHwr.js +1 -0
  93. package/dist/interface/assets/{SettingsPermissions-w2ptf4wy.js → SettingsPermissions-gFDNSlTh.js} +1 -1
  94. package/dist/interface/assets/SettingsRecordings-Bw64UZWe.js +1 -0
  95. package/dist/interface/assets/SettingsRemote-BnFW-uT-.js +2 -0
  96. package/dist/interface/assets/{SettingsSystem-BsXkYsRC.js → SettingsSystem-Cdjg5GNY.js} +2 -2
  97. package/dist/interface/assets/{SettingsUsers-BSsmo6T0.js → SettingsUsers-DphPL78H.js} +1 -1
  98. package/dist/interface/assets/{Terminal-cU-8dVL_.js → Terminal-CrNjqzTs.js} +2 -2
  99. package/dist/interface/assets/{Updates-dw0MwgsN.js → Updates-V5B9LSD-.js} +1 -1
  100. package/dist/interface/assets/{VariableInput-JSpyezJa.js → VariableInput-n0TxKRqq.js} +1 -1
  101. package/dist/interface/assets/{VariableSuggestions-DZbWgsck.js → VariableSuggestions-C4LmaCAo.js} +1 -1
  102. package/dist/interface/assets/{VersionsHandler-C_mzsgfj.js → VersionsHandler-BPocJcb0.js} +2 -2
  103. package/dist/interface/assets/{VirtualSensorCreate-3mJ8c6Tl.js → VirtualSensorCreate-BPvbrzGS.js} +1 -1
  104. package/dist/interface/assets/Workers-DEvQNzUi.js +2 -0
  105. package/dist/interface/assets/{lightbulb-outline-BtraGBwO.js → alert-outline-DtiCgufF.js} +1 -1
  106. package/dist/interface/assets/{api-COPnjVh2.js → api-BXmkXIE8.js} +1 -1
  107. package/dist/interface/assets/api-DO5wBndX.css +2 -0
  108. package/dist/interface/assets/api-x8zXlvtm.js +4 -0
  109. package/dist/interface/assets/{auth-owqLfbdn.js → auth-BKJnreuu.js} +1 -1
  110. package/dist/interface/assets/{automations-Bql07EFx.js → automations-CVuIXlAQ.js} +1 -1
  111. package/dist/interface/assets/cameraSources-C3cl6FVD.js +1 -0
  112. package/dist/interface/assets/cloudHandoff-BZvvihwX.js +1 -0
  113. package/dist/interface/assets/{config-soN-D-nC.js → config-Sw94rZxF.js} +1 -1
  114. package/dist/interface/assets/{flowSchema-BFZ6n5Su.js → flowSchema-BOrDqdeG.js} +1 -1
  115. package/dist/interface/assets/{intercomService-Bjn0OsVT.js → intercomService-CfCIMUlA.js} +1 -1
  116. package/dist/interface/assets/main-Jl93jEZK.js +3 -0
  117. package/dist/interface/assets/{main-BF8Mg561.css → main-Qqk3RyYP.css} +1 -1
  118. package/dist/interface/assets/{mqtt-CMdU36uB.js → mqtt-BaCMJJk_.js} +1 -1
  119. package/dist/interface/assets/nodeDefinitions-a8iyp3yk.js +1 -0
  120. package/dist/interface/assets/{notifications-C_CbT9aA.js → notifications-l-x8vA4D.js} +1 -1
  121. package/dist/interface/assets/{plugins-CGDE1O2F.js → plugins-GA9v-eQx.js} +1 -1
  122. package/dist/interface/assets/{rooms-BnJo8QbU.js → rooms-DX7PBdpP.js} +1 -1
  123. package/dist/interface/assets/sensorIcons-BTgouEmX.js +1 -0
  124. package/dist/interface/assets/{sensors-Bshdwbki.js → sensors-LJkBCaMk.js} +1 -1
  125. package/dist/interface/assets/{server-CaRDiFTF.js → server-dOx3q8o1.js} +1 -1
  126. package/dist/interface/assets/theme-DgrclY58.js +1 -0
  127. package/dist/interface/assets/types-CSWXRySW.js +1 -0
  128. package/dist/interface/assets/{types-Dwu7_YVv.js → types-D19FOdYo.js} +1 -1
  129. package/dist/interface/assets/types-Yq0FH8fa.js +1 -0
  130. package/dist/interface/assets/ungrouped-B_u9a5wm.js +1 -0
  131. package/dist/interface/assets/{ungrouped-uv64nr5n.css → ungrouped-DTYy_Pud.css} +1 -1
  132. package/dist/interface/assets/{updates-DelnBMM3.js → updates-BVN6uGXy.js} +1 -1
  133. package/dist/interface/assets/{useAppVersion-DeQeb6UF.js → useAppVersion-BUDIkitU.js} +1 -1
  134. package/dist/interface/assets/useBackupRestore-CnSZNCC8.js +1 -0
  135. package/dist/interface/assets/{useCameraOptions-DgMpN00_.js → useCameraOptions-Cgb4eV2d.js} +1 -1
  136. package/dist/interface/assets/{useLogsSocket-BKPqNCOv.js → useLogsSocket-CGKtL049.js} +1 -1
  137. package/dist/interface/assets/{useNavLayout-BJhl8UVM.js → useNavLayout-Dcngcb73.js} +1 -1
  138. package/dist/interface/assets/{usePermissions-Eyt2t6_8.js → usePermissions-zJF4LCPm.js} +1 -1
  139. package/dist/interface/assets/{usePluginUpdates-wfckuNy_.js → usePluginUpdates-DP--lRxm.js} +1 -1
  140. package/dist/interface/assets/{usePushRegistration-jcfB8ujf.js → usePushRegistration-BhPBp28J.js} +1 -1
  141. package/dist/interface/assets/{useServerRestart-XnqHaTb7.js → useServerRestart-BpCDYbPH.js} +1 -1
  142. package/dist/interface/assets/{useStreamStatus-8bE5h_fQ.js → useStreamStatus-BoVMk6KT.js} +1 -1
  143. package/dist/interface/assets/{useTabSwipe-DxZfseQO.js → useTabSwipe--t-Qqa31.js} +1 -1
  144. package/dist/interface/assets/{useUpdateChannel-CjxdE3h1.js → useUpdateChannel-DAuhU-__.js} +1 -1
  145. package/dist/interface/assets/{useUpdatesSocket-DFt7_yr8.js → useUpdatesSocket-C-j3b3tU.js} +1 -1
  146. package/dist/interface/assets/{useUserOptions-DStio0f5.js → useUserOptions-CcLVC73O.js} +1 -1
  147. package/dist/interface/assets/vendor-cameraui-phsC2Mmi.js +2326 -0
  148. package/dist/interface/assets/vendor-core-C0ZWoGJD.js +1 -0
  149. package/dist/interface/assets/{vendor-primevue-DXXRO7Z5.js → vendor-primevue-nPess0JU.js} +76 -76
  150. package/dist/interface/assets/vendor-zod-CJ7LAMqQ.js +99 -0
  151. package/dist/interface/ha/404-PedrGUiq.js +60 -0
  152. package/dist/interface/ha/About-l5fkBqG7.js +55 -0
  153. package/dist/interface/ha/Automation-CaSlGjT4.js +2015 -0
  154. package/dist/interface/ha/AutomationImport-BNavtjDq.js +206 -0
  155. package/dist/interface/ha/AutomationStore-BVSW8TVt.js +335 -0
  156. package/dist/interface/ha/AutomationStoreDetail-DHZwlpz0.js +122 -0
  157. package/dist/interface/ha/Automations-CZ2jvH6d.js +437 -0
  158. package/dist/interface/ha/Camera-CggUrrPm.js +625 -0
  159. package/dist/interface/ha/CameraConsole-DpzF48TF.js +52 -0
  160. package/dist/interface/ha/Cameras-K-kQF5tG.js +1970 -0
  161. package/dist/interface/ha/Camview-zJVP7JwZ.js +1337 -0
  162. package/dist/interface/ha/CertificateUpload-DbBQ87OT.js +117 -0
  163. package/dist/interface/ha/Config-Bsud2DYI.js +356 -0
  164. package/dist/interface/ha/ConfigActionCameraControl-Czkfw_NO.js +152 -0
  165. package/dist/interface/ha/ConfigActionDelay-BHug57u7.js +61 -0
  166. package/dist/interface/ha/ConfigActionHttp-LfbxbfgG.js +134 -0
  167. package/dist/interface/ha/ConfigActionImageInput-Ce2GJzCm.js +171 -0
  168. package/dist/interface/ha/ConfigActionMqtt-KmCGcNZb.js +81 -0
  169. package/dist/interface/ha/ConfigActionNotification-DUMY_3IT.js +199 -0
  170. package/dist/interface/ha/ConfigActionNotificationControl-B9Z2i5WR.js +111 -0
  171. package/dist/interface/ha/ConfigActionOutput-CX-ZQjcs.js +98 -0
  172. package/dist/interface/ha/ConfigActionPlugin-y5PuPwdk.js +172 -0
  173. package/dist/interface/ha/ConfigActionSensor-CC39Rpxi.js +139 -0
  174. package/dist/interface/ha/ConfigActionSnapshot-CWyhx6rk.js +48 -0
  175. package/dist/interface/ha/ConfigActionVariable-BNRLCthd.js +88 -0
  176. package/dist/interface/ha/ConfigConditionIfElse-BayS5_Dr.js +124 -0
  177. package/dist/interface/ha/ConfigConditionSensorState-DLXNqL-R.js +192 -0
  178. package/dist/interface/ha/ConfigConditionSwitch-BBesQgWi.js +128 -0
  179. package/dist/interface/ha/ConfigConditionTime-aD8mk2aa.js +95 -0
  180. package/dist/interface/ha/ConfigSensorValueInput-5JzesEuD.js +169 -0
  181. package/dist/interface/ha/ConfigTriggerDetection--BcjPuyh.js +241 -0
  182. package/dist/interface/ha/ConfigTriggerGeofence-BZi5a2Yv.js +4896 -0
  183. package/dist/interface/ha/ConfigTriggerManual-ConxhgNx.js +14 -0
  184. package/dist/interface/ha/ConfigTriggerMqtt-B6C9injX.js +134 -0
  185. package/dist/interface/ha/ConfigTriggerSchedule-Vv5iNKL3.js +72 -0
  186. package/dist/interface/ha/ConfigTriggerSensor-beixHfSD.js +73 -0
  187. package/dist/interface/ha/ConfigTriggerSystem-BHDpn485.js +188 -0
  188. package/dist/interface/ha/ConfigTriggerWebhook-D9cuCU_p.js +94 -0
  189. package/dist/interface/ha/Console-CbQnrt6X.js +348 -0
  190. package/dist/interface/ha/CuiAutomationRunsDialog-CckgCRNS.js +130 -0
  191. package/dist/interface/ha/CuiBottomSheet-juhGdTsO.js +270 -0
  192. package/dist/interface/ha/CuiCameraRecordings-CLzZiXhk.js +552 -0
  193. package/dist/interface/ha/CuiCameraShares-Dzx1jZGE.js +121 -0
  194. package/dist/interface/ha/CuiCameraTable-ug0ik9N-.js +153 -0
  195. package/dist/interface/ha/CuiChartTable-7EnAA-WG.js +6784 -0
  196. package/dist/interface/ha/CuiConsole-DOnyBSL7.js +244 -0
  197. package/dist/interface/ha/CuiDataTable-Cx9GBqsV.js +8725 -0
  198. package/dist/interface/ha/CuiList-C45psxFZ.js +57 -0
  199. package/dist/interface/ha/CuiMarkdownContent-D7sCtnNQ.js +4716 -0
  200. package/dist/interface/ha/CuiPluginCard-ChLIfOms.js +769 -0
  201. package/dist/interface/ha/CuiPluginOAuthButton-B6vPOEx2.js +105 -0
  202. package/dist/interface/ha/CuiPluginTrustBadge-BvPV93D0.js +123 -0
  203. package/dist/interface/ha/CuiQRCode-Djr3z54t.js +86 -0
  204. package/dist/interface/ha/CuiSchema-dl7TXv-k.js +963 -0
  205. package/dist/interface/ha/CuiTopNavbarItem-BXoda5eM.js +141 -0
  206. package/dist/interface/ha/Faces-DnqWMGWW.js +1281 -0
  207. package/dist/interface/ha/FirstSteps-CFawb017.js +251 -0
  208. package/dist/interface/ha/Floorplan-Mv-Ootly.js +3677 -0
  209. package/dist/interface/ha/Instances-DJjZ3btI.js +680 -0
  210. package/dist/interface/ha/Logs-CLFhW1xq.js +418 -0
  211. package/dist/interface/ha/Menu-D7QTRqMJ.js +161 -0
  212. package/dist/interface/ha/Metrics-CCvFtezL.js +1330 -0
  213. package/dist/interface/ha/OAuthDeviceFlow-4YupTNsK.js +112 -0
  214. package/dist/interface/ha/Plugin-BHU0yhBa.js +1404 -0
  215. package/dist/interface/ha/PluginConsole-CNrLuFQM.js +56 -0
  216. package/dist/interface/ha/PluginDetail-Bm3X-xN4.js +230 -0
  217. package/dist/interface/ha/PluginSearch-C0be8cYD.js +475 -0
  218. package/dist/interface/ha/PluginUpdateProgress-DVvgYMLG.js +34 -0
  219. package/dist/interface/ha/Plugins-R-uz0Se-.js +705 -0
  220. package/dist/interface/ha/Recordings-DAwbihs8.js +1463 -0
  221. package/dist/interface/ha/SensorEdit-BxE1cRLR.js +1460 -0
  222. package/dist/interface/ha/SensorHistory-DUGlH2pU.js +54 -0
  223. package/dist/interface/ha/Sensors-Cax5RlPH.js +1358 -0
  224. package/dist/interface/ha/Settings-DKtlCoyz.js +218 -0
  225. package/dist/interface/ha/SettingsAccount-2e_Vjpev.js +970 -0
  226. package/dist/interface/ha/SettingsAppearance-DCm60FhX.js +220 -0
  227. package/dist/interface/ha/SettingsBackup-CiM_nNWt.js +556 -0
  228. package/dist/interface/ha/SettingsList-D4D3cmLo.js +40 -0
  229. package/dist/interface/ha/SettingsMqtt-CID4L0PD.js +526 -0
  230. package/dist/interface/ha/SettingsNotifications-DGJkhm8T.js +529 -0
  231. package/dist/interface/ha/SettingsPermissions-Cd0rtgli.js +84 -0
  232. package/dist/interface/ha/SettingsRecordings-pR4L0wgy.js +151 -0
  233. package/dist/interface/ha/SettingsRemote-CYg-LSQK.js +1810 -0
  234. package/dist/interface/ha/SettingsSystem-BeYJN1Ut.js +376 -0
  235. package/dist/interface/ha/SettingsUsers-F4CZggSR.js +379 -0
  236. package/dist/interface/ha/Terminal-iQahUx9P.js +631 -0
  237. package/dist/interface/ha/Updates-ClQ77p-o.js +356 -0
  238. package/dist/interface/ha/VariableInput-BOHBmNff.js +52 -0
  239. package/dist/interface/ha/VariableSuggestions-BE06z6SW.js +201 -0
  240. package/dist/interface/ha/VersionsHandler-Cx9u0oj8.js +211 -0
  241. package/dist/interface/ha/VirtualSensorCreate-CvSzLo4N.js +101 -0
  242. package/dist/interface/ha/Workers-CEJtdSu-.js +765 -0
  243. package/dist/interface/ha/accordion-BT2wHwK8.js +577 -0
  244. package/dist/interface/ha/account-B1xL2wxD.js +19 -0
  245. package/dist/interface/ha/ace-Dh61T4RV.js +13238 -0
  246. package/dist/interface/ha/ace.config-HyzcNHkM.js +1429 -0
  247. package/dist/interface/ha/alert-circle-CLRn5GAd.js +19 -0
  248. package/dist/interface/ha/alert-outline-CGTMAqXf.js +75 -0
  249. package/dist/interface/ha/api-BmNBy1ay.js +29 -0
  250. package/dist/interface/ha/api-CWJkvtnM.js +60866 -0
  251. package/dist/interface/ha/arrow-left-DkvcResi.js +19 -0
  252. package/dist/interface/ha/auth-X6tkVYJs.js +271 -0
  253. package/dist/interface/ha/autocomplete-L_jK3s3m.js +1373 -0
  254. package/dist/interface/ha/automationBlueprint-D1TiCF7R.js +249 -0
  255. package/dist/interface/ha/back-filled-Cxzg5vQg.js +20 -0
  256. package/dist/interface/ha/base-D_LAf3cS.js +26 -0
  257. package/dist/interface/ha/base-c1lsE5TW.js +125 -0
  258. package/dist/interface/ha/bell-ring-xrXdzNHW.js +19 -0
  259. package/dist/interface/ha/brain-DyOOk3m3.js +19 -0
  260. package/dist/interface/ha/browser-Bxx7joo_.js +1227 -0
  261. package/dist/interface/ha/browserconfig.xml +11 -0
  262. package/dist/interface/ha/button-BlYuI0Q7.js +406 -0
  263. package/dist/interface/ha/cameraui-cards.js +190 -0
  264. package/dist/interface/ha/cards-CNOyNWMA.js +13316 -0
  265. package/dist/interface/ha/cctv-Bz6BH0ns.js +19 -0
  266. package/dist/interface/ha/check-circle-D_wDxrLs.js +19 -0
  267. package/dist/interface/ha/chevron-down-P5MtUhJO.js +19 -0
  268. package/dist/interface/ha/chip-DxGABeun.js +149 -0
  269. package/dist/interface/ha/clock-outline-JxApewmA.js +19 -0
  270. package/dist/interface/ha/close-Eq3txTBS.js +19 -0
  271. package/dist/interface/ha/close-circle-C2nTtN_-.js +19 -0
  272. package/dist/interface/ha/config-E4Jkelkr.js +116 -0
  273. package/dist/interface/ha/content-copy-DpPXKtKE.js +19 -0
  274. package/dist/interface/ha/copy-C48Ur26H.js +22 -0
  275. package/dist/interface/ha/datepicker-BuvKhBWJ.js +3236 -0
  276. package/dist/interface/ha/definitions-E-sY7Cxg.js +23 -0
  277. package/dist/interface/ha/delete-D-m8mqly.js +19 -0
  278. package/dist/interface/ha/dist-B7lgvbyI.js +279 -0
  279. package/dist/interface/ha/dist-Ca9_5rzq.js +3457 -0
  280. package/dist/interface/ha/divider-jkWvVbPJ.js +110 -0
  281. package/dist/interface/ha/download-Cnr7IQKX.js +19 -0
  282. package/dist/interface/ha/esm-1sIZN4t7.js +6 -0
  283. package/dist/interface/ha/esm-6hnPZcZr.js +15 -0
  284. package/dist/interface/ha/esm-B72ViJ7F.js +5 -0
  285. package/dist/interface/ha/esm-BGlkcEes.js +156 -0
  286. package/dist/interface/ha/esm-BKPZuThK.js +5 -0
  287. package/dist/interface/ha/esm-BMx7MsZ_.js +15 -0
  288. package/dist/interface/ha/esm-CChFtwcx.js +21 -0
  289. package/dist/interface/ha/esm-CMTmAdHP.js +5 -0
  290. package/dist/interface/ha/esm-CkoEL9YX.js +7 -0
  291. package/dist/interface/ha/esm-CvxDASXR.js +23 -0
  292. package/dist/interface/ha/esm-Demxl4zQ.js +5 -0
  293. package/dist/interface/ha/esm-DiBhi9zp.js +5 -0
  294. package/dist/interface/ha/esm-XFPB9fYb.js +15 -0
  295. package/dist/interface/ha/eventLabels-B4C1_4vT.js +42 -0
  296. package/dist/interface/ha/eye-off-AdumIw0H.js +33 -0
  297. package/dist/interface/ha/eye-off-outline-DO3xfiua.js +19 -0
  298. package/dist/interface/ha/fonts/InterVariable.woff2 +0 -0
  299. package/dist/interface/ha/history-BoZc8mgf.js +19 -0
  300. package/dist/interface/ha/home-am0tRTsk.js +19 -0
  301. package/dist/interface/ha/information-outline-DIdNxPCN.js +19 -0
  302. package/dist/interface/ha/inputicon-6-vaPLbw.js +324 -0
  303. package/dist/interface/ha/inputnumber-B1Buq8Nc.js +1033 -0
  304. package/dist/interface/ha/inputtext-DGIESrd0.js +257 -0
  305. package/dist/interface/ha/intercomService-jB2mTgsn.js +1406 -0
  306. package/dist/interface/ha/message-C8U_kMBA.js +244 -0
  307. package/dist/interface/ha/minus-DKa9TXat.js +19 -0
  308. package/dist/interface/ha/minus-QyTgaT70.js +46 -0
  309. package/dist/interface/ha/mqtt-BmDCmG9h.js +56 -0
  310. package/dist/interface/ha/multiselect-BbgV_fPx.js +1492 -0
  311. package/dist/interface/ha/native-BaNeloQn.js +35 -0
  312. package/dist/interface/ha/native-C8PbNqsJ.js +29 -0
  313. package/dist/interface/ha/notifications-B51yvrGL.js +159 -0
  314. package/dist/interface/ha/og-share.png +0 -0
  315. package/dist/interface/ha/pencil-outline-BqfTDXIh.js +19 -0
  316. package/dist/interface/ha/pinia-3D39Do4a.js +6934 -0
  317. package/dist/interface/ha/platformLabels-C3d1PLg-.js +27 -0
  318. package/dist/interface/ha/plugin-DAGqBiG_.js +38 -0
  319. package/dist/interface/ha/plugins-dkWbXWVM.js +592 -0
  320. package/dist/interface/ha/plus-CNdrByQb.js +46 -0
  321. package/dist/interface/ha/plus-d_caPq5l.js +19 -0
  322. package/dist/interface/ha/progressbar-CIoPoMSe.js +95 -0
  323. package/dist/interface/ha/protocol-BB4jdtUC-K1r3LFCq.js +706 -0
  324. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1136x640.png +0 -0
  325. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1334x750.png +0 -0
  326. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1792x828.png +0 -0
  327. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2048x1536.png +0 -0
  328. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2160x1620.png +0 -0
  329. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2208x1242.png +0 -0
  330. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2224x1668.png +0 -0
  331. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2388x1668.png +0 -0
  332. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2436x1125.png +0 -0
  333. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2532x1170.png +0 -0
  334. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2556x1179.png +0 -0
  335. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2688x1242.png +0 -0
  336. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2732x2048.png +0 -0
  337. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2778x1284.png +0 -0
  338. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2796x1290.png +0 -0
  339. package/dist/interface/ha/pwa/apple-splash-landscape-light-1136x640.png +0 -0
  340. package/dist/interface/ha/pwa/apple-splash-landscape-light-1334x750.png +0 -0
  341. package/dist/interface/ha/pwa/apple-splash-landscape-light-1792x828.png +0 -0
  342. package/dist/interface/ha/pwa/apple-splash-landscape-light-2048x1536.png +0 -0
  343. package/dist/interface/ha/pwa/apple-splash-landscape-light-2160x1620.png +0 -0
  344. package/dist/interface/ha/pwa/apple-splash-landscape-light-2208x1242.png +0 -0
  345. package/dist/interface/ha/pwa/apple-splash-landscape-light-2224x1668.png +0 -0
  346. package/dist/interface/ha/pwa/apple-splash-landscape-light-2388x1668.png +0 -0
  347. package/dist/interface/ha/pwa/apple-splash-landscape-light-2436x1125.png +0 -0
  348. package/dist/interface/ha/pwa/apple-splash-landscape-light-2532x1170.png +0 -0
  349. package/dist/interface/ha/pwa/apple-splash-landscape-light-2556x1179.png +0 -0
  350. package/dist/interface/ha/pwa/apple-splash-landscape-light-2688x1242.png +0 -0
  351. package/dist/interface/ha/pwa/apple-splash-landscape-light-2732x2048.png +0 -0
  352. package/dist/interface/ha/pwa/apple-splash-landscape-light-2778x1284.png +0 -0
  353. package/dist/interface/ha/pwa/apple-splash-landscape-light-2796x1290.png +0 -0
  354. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1125x2436.png +0 -0
  355. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1170x2532.png +0 -0
  356. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1179x2556.png +0 -0
  357. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2208.png +0 -0
  358. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2688.png +0 -0
  359. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1284x2778.png +0 -0
  360. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1290x2796.png +0 -0
  361. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1536x2048.png +0 -0
  362. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1620x2160.png +0 -0
  363. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2224.png +0 -0
  364. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2388.png +0 -0
  365. package/dist/interface/ha/pwa/apple-splash-portrait-dark-2048x2732.png +0 -0
  366. package/dist/interface/ha/pwa/apple-splash-portrait-dark-640x1136.png +0 -0
  367. package/dist/interface/ha/pwa/apple-splash-portrait-dark-750x1334.png +0 -0
  368. package/dist/interface/ha/pwa/apple-splash-portrait-dark-828x1792.png +0 -0
  369. package/dist/interface/ha/pwa/apple-splash-portrait-light-1125x2436.png +0 -0
  370. package/dist/interface/ha/pwa/apple-splash-portrait-light-1170x2532.png +0 -0
  371. package/dist/interface/ha/pwa/apple-splash-portrait-light-1179x2556.png +0 -0
  372. package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2208.png +0 -0
  373. package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2688.png +0 -0
  374. package/dist/interface/ha/pwa/apple-splash-portrait-light-1284x2778.png +0 -0
  375. package/dist/interface/ha/pwa/apple-splash-portrait-light-1290x2796.png +0 -0
  376. package/dist/interface/ha/pwa/apple-splash-portrait-light-1536x2048.png +0 -0
  377. package/dist/interface/ha/pwa/apple-splash-portrait-light-1620x2160.png +0 -0
  378. package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2224.png +0 -0
  379. package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2388.png +0 -0
  380. package/dist/interface/ha/pwa/apple-splash-portrait-light-2048x2732.png +0 -0
  381. package/dist/interface/ha/pwa/apple-splash-portrait-light-640x1136.png +0 -0
  382. package/dist/interface/ha/pwa/apple-splash-portrait-light-750x1334.png +0 -0
  383. package/dist/interface/ha/pwa/apple-splash-portrait-light-828x1792.png +0 -0
  384. package/dist/interface/ha/pwa/apple-touch-icon-180x180.png +0 -0
  385. package/dist/interface/ha/pwa/favicon-16.ico +0 -0
  386. package/dist/interface/ha/pwa/favicon-32.ico +0 -0
  387. package/dist/interface/ha/pwa/favicon-48.ico +0 -0
  388. package/dist/interface/ha/pwa/favicon-64.ico +0 -0
  389. package/dist/interface/ha/pwa/logo.svg +1 -0
  390. package/dist/interface/ha/pwa/maskable-icon-1240x600.png +0 -0
  391. package/dist/interface/ha/pwa/maskable-icon-512x512.png +0 -0
  392. package/dist/interface/ha/pwa/maskable-icon-620x300.png +0 -0
  393. package/dist/interface/ha/pwa/pwa-1024x1024.png +0 -0
  394. package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
  395. package/dist/interface/ha/pwa/pwa-144x144.png +0 -0
  396. package/dist/interface/ha/pwa/pwa-152x152.png +0 -0
  397. package/dist/interface/ha/pwa/pwa-167x167.png +0 -0
  398. package/dist/interface/ha/pwa/pwa-180x180.png +0 -0
  399. package/dist/interface/ha/pwa/pwa-192x192.png +0 -0
  400. package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
  401. package/dist/interface/ha/pwa/pwa-300x300.png +0 -0
  402. package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
  403. package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
  404. package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
  405. package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
  406. package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
  407. package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
  408. package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
  409. package/dist/interface/ha/radar-C7lI26j4.js +19 -0
  410. package/dist/interface/ha/refresh-BIhepekY.js +19 -0
  411. package/dist/interface/ha/ring-resize-VS4MSeBv.js +16 -0
  412. package/dist/interface/ha/ripple-BilzxWfY.js +2928 -0
  413. package/dist/interface/ha/robots.txt +2 -0
  414. package/dist/interface/ha/rolldown-runtime-CEFd7nDs.js +30 -0
  415. package/dist/interface/ha/rooms-B-FUXQ1p.js +45 -0
  416. package/dist/interface/ha/round-alt-arrow-left-bold-CWEg-ZLF.js +37 -0
  417. package/dist/interface/ha/runtime-core.esm-bundler-D8slQ3BU.js +3295 -0
  418. package/dist/interface/ha/search-CoOsbgeb.js +19 -0
  419. package/dist/interface/ha/select-DjWkRqsI.js +1382 -0
  420. package/dist/interface/ha/server-CKJKoFfg.js +239 -0
  421. package/dist/interface/ha/settings-EKkSQLzv.js +22 -0
  422. package/dist/interface/ha/source-branch-CZwSOrQA.js +19 -0
  423. package/dist/interface/ha/speeddial-Dv9txWte.js +682 -0
  424. package/dist/interface/ha/spinner-D6iUldg9.js +46 -0
  425. package/dist/interface/ha/synapse-CGrlyQDE.js +35 -0
  426. package/dist/interface/ha/tag-CXgC9OZ6.js +95 -0
  427. package/dist/interface/ha/textarea-DvLkfUX7.js +130 -0
  428. package/dist/interface/ha/tooltip-BIrD_hC8.js +277 -0
  429. package/dist/interface/ha/trash-2-C4zSCZfs.js +23 -0
  430. package/dist/interface/ha/trash-can-outline-DCqsCOd2.js +19 -0
  431. package/dist/interface/ha/trash-fill-BPsrwR8X.js +21 -0
  432. package/dist/interface/ha/types-C7MzwoQR.js +28 -0
  433. package/dist/interface/ha/types-J_J0HKlK.js +1032 -0
  434. package/dist/interface/ha/ungrouped-BpaM88Y-.js +1116 -0
  435. package/dist/interface/ha/updates-BdVmkKAa.js +341 -0
  436. package/dist/interface/ha/upload-2xJkVPZE.js +19 -0
  437. package/dist/interface/ha/upload-wQHBRZX_.js +23 -0
  438. package/dist/interface/ha/useAppVersion-DzDaOsKc.js +22 -0
  439. package/dist/interface/ha/useLogsSocket-CWUE-KXV.js +59 -0
  440. package/dist/interface/ha/useNavLayout-BqpyvD2F.js +125 -0
  441. package/dist/interface/ha/usePermissions-BIUeW4ef.js +72 -0
  442. package/dist/interface/ha/useServerRestart-0c4gA1fG.js +23 -0
  443. package/dist/interface/ha/useTabSwipe-C8LdKw23.js +45 -0
  444. package/dist/interface/ha/useUpdateChannel-CHVLthZB.js +22 -0
  445. package/dist/interface/ha/useUpdatesSocket-CaxEs511.js +34 -0
  446. package/dist/interface/ha/useUserOptions-Rk_71WAK.js +15 -0
  447. package/dist/interface/ha/utils-DYtBrGDz.js +7 -0
  448. package/dist/interface/ha/virtualscroller-s_gNqN5p.js +996 -0
  449. package/dist/interface/ha/vue-flow-background-B0Vu4-8M.js +6840 -0
  450. package/dist/interface/ha/vue-i18n-Dcb07o5U.js +2409 -0
  451. package/dist/interface/ha/web-0Kyq65na.js +78 -0
  452. package/dist/interface/ha/web-B7Dt2zZN.js +340 -0
  453. package/dist/interface/ha/web-BNdrPSpb.js +102 -0
  454. package/dist/interface/ha/web-BPBZBCtX.js +8 -0
  455. package/dist/interface/ha/web-BjKL51lK-qwJdIpM1.js +221 -0
  456. package/dist/interface/ha/web-C01i9qI1.js +57 -0
  457. package/dist/interface/ha/web-CH3JeXWa.js +211 -0
  458. package/dist/interface/ha/web-Cpm1-DVe.js +33 -0
  459. package/dist/interface/ha/web-DqRMXrnx.js +31 -0
  460. package/dist/interface/ha/web-DtVT7WYt.js +17 -0
  461. package/dist/interface/ha/web-DxJQZCiR.js +59 -0
  462. package/dist/interface/ha/web-I7Urp4AE.js +46 -0
  463. package/dist/interface/ha/web-aSaPk7kr.js +57 -0
  464. package/dist/interface/ha/web-pMey9p3Y.js +79 -0
  465. package/dist/interface/ha/xterm-B6xA6E5i.js +14833 -0
  466. package/dist/interface/ha/zoom-in-CNVB9H3D.js +41 -0
  467. package/dist/interface/index.html +29 -29
  468. package/dist/interface/sw.js +1 -1
  469. package/dist/server/package.json +9 -9
  470. package/dist/server/requirements.txt +3 -3
  471. package/dist/server/src/_camera_ui_tools/camera_ui_rpc/client.py +9 -6
  472. package/dist/server/src/_camera_ui_tools/camera_ui_rpc/types.py +2 -2
  473. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +4 -2
  474. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/config.py +8 -0
  475. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +4 -3
  476. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/__init__.py +6 -0
  477. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/sensor_rpc.py +17 -6
  478. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/manager/__init__.py +24 -70
  479. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/plugin/interfaces.py +46 -19
  480. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/__init__.py +2 -0
  481. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/base.py +65 -8
  482. package/dist/server/src/api/database/index.d.ts +1 -1
  483. package/dist/server/src/api/database/index.js +4 -32
  484. package/dist/server/src/api/database/index.js.map +1 -1
  485. package/dist/server/src/api/database/migrations/v2-1-18.d.ts +3 -0
  486. package/dist/server/src/api/database/migrations/v2-1-18.js +24 -0
  487. package/dist/server/src/api/database/migrations/v2-1-18.js.map +1 -0
  488. package/dist/server/src/api/database/record-schemas.d.ts +1 -0
  489. package/dist/server/src/api/database/types.d.ts +4 -3
  490. package/dist/server/src/api/schemas/cameras.schema.d.ts +53 -15
  491. package/dist/server/src/api/schemas/cameras.schema.js +5 -1
  492. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  493. package/dist/server/src/api/schemas/users.schema.d.ts +7 -0
  494. package/dist/server/src/api/schemas/users.schema.js +1 -1
  495. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  496. package/dist/server/src/api/services/cameras.service.js +14 -21
  497. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  498. package/dist/server/src/api/services/sensors.service.d.ts +3 -3
  499. package/dist/server/src/api/services/sensors.service.js +3 -24
  500. package/dist/server/src/api/services/sensors.service.js.map +1 -1
  501. package/dist/server/src/api/utils/regex.d.ts +2 -0
  502. package/dist/server/src/api/utils/regex.js +2 -0
  503. package/dist/server/src/api/utils/regex.js.map +1 -1
  504. package/dist/server/src/api/websocket/nsp/sensors.d.ts +3 -1
  505. package/dist/server/src/api/websocket/nsp/sensors.js +13 -3
  506. package/dist/server/src/api/websocket/nsp/sensors.js.map +1 -1
  507. package/dist/server/src/camera/decoder/debug/detection-record.d.ts +3 -1
  508. package/dist/server/src/camera/decoder/debug/detection-record.js +6 -2
  509. package/dist/server/src/camera/decoder/debug/detection-record.js.map +1 -1
  510. package/dist/server/src/camera/decoder/detection-coordinator.d.ts +2 -0
  511. package/dist/server/src/camera/decoder/detection-coordinator.js +44 -25
  512. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  513. package/dist/server/src/camera/decoder/detection-pipeline.d.ts +3 -1
  514. package/dist/server/src/camera/decoder/detection-pipeline.js +3 -22
  515. package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
  516. package/dist/server/src/camera/decoder/event-manager.d.ts +4 -3
  517. package/dist/server/src/camera/decoder/event-manager.js +17 -5
  518. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  519. package/dist/server/src/camera/decoder/event-thumbnailer.d.ts +3 -0
  520. package/dist/server/src/camera/decoder/event-thumbnailer.js +13 -8
  521. package/dist/server/src/camera/decoder/event-thumbnailer.js.map +1 -1
  522. package/dist/server/src/camera/decoder/event-trace.d.ts +58 -0
  523. package/dist/server/src/camera/decoder/event-trace.js +118 -0
  524. package/dist/server/src/camera/decoder/event-trace.js.map +1 -0
  525. package/dist/server/src/camera/decoder/nvr-sink.d.ts +2 -0
  526. package/dist/server/src/camera/decoder/nvr-sink.js.map +1 -1
  527. package/dist/server/src/camera/decoder/reconnect-backoff.js +1 -1
  528. package/dist/server/src/camera/decoder/reconnect-backoff.js.map +1 -1
  529. package/dist/server/src/camera/decoder/sources/analysis-source.d.ts +1 -0
  530. package/dist/server/src/camera/decoder/sources/buffered-source.d.ts +7 -1
  531. package/dist/server/src/camera/decoder/sources/buffered-source.js +27 -15
  532. package/dist/server/src/camera/decoder/sources/buffered-source.js.map +1 -1
  533. package/dist/server/src/camera/decoder/sources/frame-handle.d.ts +2 -1
  534. package/dist/server/src/camera/decoder/sources/frame-handle.js +5 -3
  535. package/dist/server/src/camera/decoder/sources/frame-handle.js.map +1 -1
  536. package/dist/server/src/camera/decoder/sources/frame-source.d.ts +1 -0
  537. package/dist/server/src/camera/decoder/sources/frame-source.js +7 -2
  538. package/dist/server/src/camera/decoder/sources/frame-source.js.map +1 -1
  539. package/dist/server/src/camera/decoder/sources/rtp-index.d.ts +9 -0
  540. package/dist/server/src/camera/decoder/sources/rtp-index.js +24 -0
  541. package/dist/server/src/camera/decoder/sources/rtp-index.js.map +1 -0
  542. package/dist/server/src/camera/decoder/worker.js +1 -0
  543. package/dist/server/src/camera/decoder/worker.js.map +1 -1
  544. package/dist/server/src/go2rtc/types.d.ts +1 -1
  545. package/dist/server/src/go2rtc/types.js +1 -1
  546. package/dist/server/src/go2rtc/types.js.map +1 -1
  547. package/dist/server/src/plugins/runtime/node/child.js +1 -0
  548. package/dist/server/src/plugins/runtime/node/child.js.map +1 -1
  549. package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js +3 -0
  550. package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js.map +1 -1
  551. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.d.ts +2 -5
  552. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js +95 -24
  553. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js.map +1 -1
  554. package/dist/server/src/plugins/runtime/python/child.py +1 -0
  555. package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +9 -0
  556. package/dist/server/src/plugins/runtime/python/proxy/sensor.py +2 -1
  557. package/dist/server/src/plugins/runtime/python/proxy/sensor_manager.py +185 -88
  558. package/dist/server/src/plugins/runtime/python/typings.py +18 -0
  559. package/dist/server/src/rpc/interfaces/sensor.d.ts +19 -4
  560. package/dist/server/src/sensors/discovery.d.ts +1 -1
  561. package/dist/server/src/sensors/discovery.js +10 -19
  562. package/dist/server/src/sensors/discovery.js.map +1 -1
  563. package/dist/server/src/sensors/registry.d.ts +6 -2
  564. package/dist/server/src/sensors/registry.js +75 -6
  565. package/dist/server/src/sensors/registry.js.map +1 -1
  566. package/dist/server/src/utils/camera.d.ts +12 -2
  567. package/dist/server/src/utils/camera.js +27 -1
  568. package/dist/server/src/utils/camera.js.map +1 -1
  569. package/dist/server/src/workers/pairing.js +17 -8
  570. package/dist/server/src/workers/pairing.js.map +1 -1
  571. package/package.json +9 -9
  572. package/dist/interface/assets/Automation-4HPAjq1i.js +0 -3
  573. package/dist/interface/assets/AutomationStoreDetail-C2ntfGP-.js +0 -2
  574. package/dist/interface/assets/Automations-CUUq9dxs.js +0 -2
  575. package/dist/interface/assets/Camera-DmrRrgqQ.js +0 -2
  576. package/dist/interface/assets/Cameras-B-aQUuPk.js +0 -652
  577. package/dist/interface/assets/Camview-B-W5jpCR.js +0 -1
  578. package/dist/interface/assets/ConfigActionNotification-Bq28CjsJ.js +0 -1
  579. package/dist/interface/assets/ConfigConditionSwitch-DYAlj5no.js +0 -1
  580. package/dist/interface/assets/ConfigTriggerGeofence-ClKyzb-x.js +0 -1
  581. package/dist/interface/assets/Console-ctbGFtCH.js +0 -1
  582. package/dist/interface/assets/CuiBottomSheet-Bo1wUyiN.js +0 -1
  583. package/dist/interface/assets/CuiCameraPipCard-BEAE44of.js +0 -1
  584. package/dist/interface/assets/CuiCameraRecordings-BzbwSK8-.css +0 -1
  585. package/dist/interface/assets/CuiCameraRecordings-C1evIMhc.js +0 -1
  586. package/dist/interface/assets/CuiCameraTable-BAjQ8h5H.js +0 -1
  587. package/dist/interface/assets/CuiLightControl-9OhT9YYt.js +0 -1
  588. package/dist/interface/assets/CuiPluginCard-DQgVasi7.js +0 -2
  589. package/dist/interface/assets/CuiSchema-juKEra_J.js +0 -1
  590. package/dist/interface/assets/Faces-Ce3mKYc7.js +0 -1
  591. package/dist/interface/assets/FirstSteps-BBLzX2bl.js +0 -1
  592. package/dist/interface/assets/Floorplan-B7BVj65t.js +0 -1
  593. package/dist/interface/assets/Instances-4VxGT2fm.js +0 -1
  594. package/dist/interface/assets/Metrics-DudHV8Ov.js +0 -9
  595. package/dist/interface/assets/OAuthDeviceFlow-Z3Cesvs9.js +0 -1
  596. package/dist/interface/assets/Plugin-DwadariU.js +0 -1
  597. package/dist/interface/assets/PluginDetail-C_XghvQz.js +0 -2
  598. package/dist/interface/assets/PluginSearch-11dsxfvW.js +0 -1
  599. package/dist/interface/assets/PluginSearch-DgQOryM2.js +0 -2
  600. package/dist/interface/assets/Plugins-QheVcYZB.js +0 -1
  601. package/dist/interface/assets/Recordings-DwPnYsd6.js +0 -1
  602. package/dist/interface/assets/SensorEdit-C9Ejdxaz.js +0 -1
  603. package/dist/interface/assets/Sensors-D4tY50d4.js +0 -2
  604. package/dist/interface/assets/SettingsAccount-DMvvar8D.js +0 -1
  605. package/dist/interface/assets/SettingsAccount-DYCCnjWY.js +0 -1
  606. package/dist/interface/assets/SettingsAppearance-vLBhLEag.js +0 -1
  607. package/dist/interface/assets/SettingsMqtt-Cj9ywnP2.js +0 -1
  608. package/dist/interface/assets/SettingsNotifications-flx3W4Uo.js +0 -1
  609. package/dist/interface/assets/SettingsRecordings-D3b6y2SX.js +0 -1
  610. package/dist/interface/assets/SettingsRemote-o01wgKPR.js +0 -2
  611. package/dist/interface/assets/Workers-CdaYj6Ap.js +0 -2
  612. package/dist/interface/assets/alert-outline-KxFvd3i6.js +0 -1
  613. package/dist/interface/assets/api-2VPaKkqc.js +0 -2
  614. package/dist/interface/assets/api-CEbDxsSY.css +0 -2
  615. package/dist/interface/assets/cameras.schema-CnSdfqqj.js +0 -1
  616. package/dist/interface/assets/cloudHandoff-B1z5dyPD.js +0 -1
  617. package/dist/interface/assets/main-BfL5CDS8.js +0 -3
  618. package/dist/interface/assets/nodeDefinitions-D6zhuw60.js +0 -1
  619. package/dist/interface/assets/sensorIcons-FPxm3pDg.js +0 -1
  620. package/dist/interface/assets/theme-CRQoJiuY.js +0 -1
  621. package/dist/interface/assets/types-BHgaZSm2.js +0 -1
  622. package/dist/interface/assets/types-CQpPteyx.js +0 -1
  623. package/dist/interface/assets/ungrouped-BbOtmmDD.js +0 -1
  624. package/dist/interface/assets/useBackupRestore-CT1PYJDW.js +0 -1
  625. package/dist/interface/assets/vendor-cameraui-ZyqPntQ7.js +0 -2326
  626. package/dist/interface/assets/vendor-core-DN-bpg68.js +0 -1
  627. package/dist/interface/assets/vendor-zod-B0ZFM2Pr.js +0 -127
@@ -0,0 +1,1492 @@
1
+ import { B as e, Et as t, F as n, J as r, M as i, N as a, T as o, Tt as s, W as c, b as l, c as u, j as d, lt as f, mt as p, n as m, pt as h, s as g, t as ee, tt as te, w as ne, wt as re } from "./ripple-BilzxWfY.js";
2
+ import { a as ie, i as _, l as v, o as ae, r as oe, t as se } from "./virtualscroller-s_gNqN5p.js";
3
+ import { G as y, H as b, J as ce, Jt as x, K as S, Kt as C, M as w, Wt as T, Y as E, d as D, f as O, g as le, lt as k, p as A, q as j, r as M, u as N, ut as ue, v as P, y as F } from "./runtime-core.esm-bundler-D8slQ3BU.js";
4
+ import { t as I } from "./spinner-D6iUldg9.js";
5
+ import { n as L, o as R, r as z, s as B, t as V } from "./inputicon-6-vaPLbw.js";
6
+ import { n as H, t as U } from "./inputtext-DGIESrd0.js";
7
+ import { a as de } from "./datepicker-BuvKhBWJ.js";
8
+ import { t as fe } from "./chip-DxGABeun.js";
9
+ //#endregion
10
+ //#region node_modules/primevue/multiselect/style/index.mjs
11
+ var pe = g.extend({
12
+ name: "multiselect",
13
+ style: "\n .p-multiselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n background: dt('multiselect.background');\n border: 1px solid dt('multiselect.border.color');\n transition:\n background dt('multiselect.transition.duration'),\n color dt('multiselect.transition.duration'),\n border-color dt('multiselect.transition.duration'),\n outline-color dt('multiselect.transition.duration'),\n box-shadow dt('multiselect.transition.duration');\n border-radius: dt('multiselect.border.radius');\n outline-color: transparent;\n box-shadow: dt('multiselect.shadow');\n }\n\n .p-multiselect:not(.p-disabled):hover {\n border-color: dt('multiselect.hover.border.color');\n }\n\n .p-multiselect:not(.p-disabled).p-focus {\n border-color: dt('multiselect.focus.border.color');\n box-shadow: dt('multiselect.focus.ring.shadow');\n outline: dt('multiselect.focus.ring.width') dt('multiselect.focus.ring.style') dt('multiselect.focus.ring.color');\n outline-offset: dt('multiselect.focus.ring.offset');\n }\n\n .p-multiselect.p-variant-filled {\n background: dt('multiselect.filled.background');\n }\n\n .p-multiselect.p-variant-filled:not(.p-disabled):hover {\n background: dt('multiselect.filled.hover.background');\n }\n\n .p-multiselect.p-variant-filled.p-focus {\n background: dt('multiselect.filled.focus.background');\n }\n\n .p-multiselect.p-invalid {\n border-color: dt('multiselect.invalid.border.color');\n }\n\n .p-multiselect.p-disabled {\n opacity: 1;\n background: dt('multiselect.disabled.background');\n }\n\n .p-multiselect-dropdown {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n background: transparent;\n color: dt('multiselect.dropdown.color');\n width: dt('multiselect.dropdown.width');\n border-start-end-radius: dt('multiselect.border.radius');\n border-end-end-radius: dt('multiselect.border.radius');\n }\n\n .p-multiselect-clear-icon {\n align-self: center;\n color: dt('multiselect.clear.icon.color');\n inset-inline-end: dt('multiselect.dropdown.width');\n }\n\n .p-multiselect-label-container {\n overflow: hidden;\n flex: 1 1 auto;\n cursor: pointer;\n }\n\n .p-multiselect-label {\n white-space: nowrap;\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: dt('multiselect.padding.y') dt('multiselect.padding.x');\n color: dt('multiselect.color');\n }\n\n .p-multiselect-display-chip .p-multiselect-label {\n display: flex;\n align-items: center;\n gap: calc(dt('multiselect.padding.y') / 2);\n }\n\n .p-multiselect-label.p-placeholder {\n color: dt('multiselect.placeholder.color');\n }\n\n .p-multiselect.p-invalid .p-multiselect-label.p-placeholder {\n color: dt('multiselect.invalid.placeholder.color');\n }\n\n .p-multiselect.p-disabled .p-multiselect-label {\n color: dt('multiselect.disabled.color');\n }\n\n .p-multiselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n\n .p-multiselect-overlay {\n position: absolute;\n top: 0;\n left: 0;\n background: dt('multiselect.overlay.background');\n color: dt('multiselect.overlay.color');\n border: 1px solid dt('multiselect.overlay.border.color');\n border-radius: dt('multiselect.overlay.border.radius');\n box-shadow: dt('multiselect.overlay.shadow');\n min-width: 100%;\n }\n\n .p-multiselect-header {\n display: flex;\n align-items: center;\n padding: dt('multiselect.list.header.padding');\n }\n\n .p-multiselect-header .p-checkbox {\n margin-inline-end: dt('multiselect.option.gap');\n }\n\n .p-multiselect-filter-container {\n flex: 1 1 auto;\n }\n\n .p-multiselect-filter {\n width: 100%;\n }\n\n .p-multiselect-list-container {\n overflow: auto;\n }\n\n .p-multiselect-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n padding: dt('multiselect.list.padding');\n display: flex;\n flex-direction: column;\n gap: dt('multiselect.list.gap');\n }\n\n .p-multiselect-option {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n display: flex;\n align-items: center;\n gap: dt('multiselect.option.gap');\n padding: dt('multiselect.option.padding');\n border: 0 none;\n color: dt('multiselect.option.color');\n background: transparent;\n transition:\n background dt('multiselect.transition.duration'),\n color dt('multiselect.transition.duration'),\n border-color dt('multiselect.transition.duration'),\n box-shadow dt('multiselect.transition.duration'),\n outline-color dt('multiselect.transition.duration');\n border-radius: dt('multiselect.option.border.radius');\n }\n\n .p-multiselect-option:not(.p-multiselect-option-selected):not(.p-disabled).p-focus {\n background: dt('multiselect.option.focus.background');\n color: dt('multiselect.option.focus.color');\n }\n\n .p-multiselect-option:not(.p-multiselect-option-selected):not(.p-disabled):hover {\n background: dt('multiselect.option.focus.background');\n color: dt('multiselect.option.focus.color');\n }\n\n .p-multiselect-option.p-multiselect-option-selected {\n background: dt('multiselect.option.selected.background');\n color: dt('multiselect.option.selected.color');\n }\n\n .p-multiselect-option.p-multiselect-option-selected.p-focus {\n background: dt('multiselect.option.selected.focus.background');\n color: dt('multiselect.option.selected.focus.color');\n }\n\n .p-multiselect-option-group {\n cursor: auto;\n margin: 0;\n padding: dt('multiselect.option.group.padding');\n background: dt('multiselect.option.group.background');\n color: dt('multiselect.option.group.color');\n font-weight: dt('multiselect.option.group.font.weight');\n }\n\n .p-multiselect-empty-message {\n padding: dt('multiselect.empty.message.padding');\n }\n\n .p-multiselect-label .p-chip {\n padding-block-start: calc(dt('multiselect.padding.y') / 2);\n padding-block-end: calc(dt('multiselect.padding.y') / 2);\n border-radius: dt('multiselect.chip.border.radius');\n }\n\n .p-multiselect-label:has(.p-chip) {\n padding: calc(dt('multiselect.padding.y') / 2) calc(dt('multiselect.padding.x') / 2);\n }\n\n .p-multiselect-fluid {\n display: flex;\n width: 100%;\n }\n\n .p-multiselect-sm .p-multiselect-label {\n font-size: dt('multiselect.sm.font.size');\n padding-block: dt('multiselect.sm.padding.y');\n padding-inline: dt('multiselect.sm.padding.x');\n }\n\n .p-multiselect-sm .p-multiselect-dropdown .p-icon {\n font-size: dt('multiselect.sm.font.size');\n width: dt('multiselect.sm.font.size');\n height: dt('multiselect.sm.font.size');\n }\n\n .p-multiselect-lg .p-multiselect-label {\n font-size: dt('multiselect.lg.font.size');\n padding-block: dt('multiselect.lg.padding.y');\n padding-inline: dt('multiselect.lg.padding.x');\n }\n\n .p-multiselect-lg .p-multiselect-dropdown .p-icon {\n font-size: dt('multiselect.lg.font.size');\n width: dt('multiselect.lg.font.size');\n height: dt('multiselect.lg.font.size');\n }\n\n .p-floatlabel-in .p-multiselect-filter {\n padding-block-start: dt('multiselect.padding.y');\n padding-block-end: dt('multiselect.padding.y');\n }\n",
14
+ classes: {
15
+ root: function(e) {
16
+ var t = e.instance, n = e.props;
17
+ return ["p-multiselect p-component p-inputwrapper", {
18
+ "p-multiselect-display-chip": n.display === "chip",
19
+ "p-disabled": n.disabled,
20
+ "p-invalid": t.$invalid,
21
+ "p-variant-filled": t.$variant === "filled",
22
+ "p-focus": t.focused,
23
+ "p-inputwrapper-filled": t.$filled,
24
+ "p-inputwrapper-focus": t.focused || t.overlayVisible,
25
+ "p-multiselect-open": t.overlayVisible,
26
+ "p-multiselect-fluid": t.$fluid,
27
+ "p-multiselect-sm p-inputfield-sm": n.size === "small",
28
+ "p-multiselect-lg p-inputfield-lg": n.size === "large"
29
+ }];
30
+ },
31
+ labelContainer: "p-multiselect-label-container",
32
+ label: function(e) {
33
+ var t = e.instance, n = e.props;
34
+ return ["p-multiselect-label", {
35
+ "p-placeholder": t.label === n.placeholder,
36
+ "p-multiselect-label-empty": !n.placeholder && !t.$filled
37
+ }];
38
+ },
39
+ clearIcon: "p-multiselect-clear-icon",
40
+ chipItem: "p-multiselect-chip-item",
41
+ pcChip: "p-multiselect-chip",
42
+ chipIcon: "p-multiselect-chip-icon",
43
+ dropdown: "p-multiselect-dropdown",
44
+ loadingIcon: "p-multiselect-loading-icon",
45
+ dropdownIcon: "p-multiselect-dropdown-icon",
46
+ overlay: "p-multiselect-overlay p-component",
47
+ header: "p-multiselect-header",
48
+ pcFilterContainer: "p-multiselect-filter-container",
49
+ pcFilter: "p-multiselect-filter",
50
+ listContainer: "p-multiselect-list-container",
51
+ list: "p-multiselect-list",
52
+ optionGroup: "p-multiselect-option-group",
53
+ option: function(e) {
54
+ var t = e.instance, n = e.option, r = e.index, i = e.getItemOptions, a = e.props;
55
+ return ["p-multiselect-option", {
56
+ "p-multiselect-option-selected": t.isSelected(n) && a.highlightOnSelect,
57
+ "p-focus": t.focusedOptionIndex === t.getOptionIndex(r, i),
58
+ "p-disabled": t.isOptionDisabled(n)
59
+ }];
60
+ },
61
+ emptyMessage: "p-multiselect-empty-message"
62
+ },
63
+ inlineStyles: { root: function(e) {
64
+ return { position: e.props.appendTo === "self" ? "relative" : void 0 };
65
+ } }
66
+ }), me = {
67
+ name: "BaseMultiSelect",
68
+ extends: H,
69
+ props: {
70
+ options: Array,
71
+ optionLabel: null,
72
+ optionValue: null,
73
+ optionDisabled: null,
74
+ optionGroupLabel: null,
75
+ optionGroupChildren: null,
76
+ scrollHeight: {
77
+ type: String,
78
+ default: "14rem"
79
+ },
80
+ placeholder: String,
81
+ inputId: {
82
+ type: String,
83
+ default: null
84
+ },
85
+ panelClass: {
86
+ type: String,
87
+ default: null
88
+ },
89
+ panelStyle: {
90
+ type: null,
91
+ default: null
92
+ },
93
+ overlayClass: {
94
+ type: String,
95
+ default: null
96
+ },
97
+ overlayStyle: {
98
+ type: null,
99
+ default: null
100
+ },
101
+ dataKey: null,
102
+ showClear: {
103
+ type: Boolean,
104
+ default: !1
105
+ },
106
+ clearIcon: {
107
+ type: String,
108
+ default: void 0
109
+ },
110
+ resetFilterOnClear: {
111
+ type: Boolean,
112
+ default: !1
113
+ },
114
+ filter: Boolean,
115
+ filterPlaceholder: String,
116
+ filterLocale: String,
117
+ filterMatchMode: {
118
+ type: String,
119
+ default: "contains"
120
+ },
121
+ filterFields: {
122
+ type: Array,
123
+ default: null
124
+ },
125
+ appendTo: {
126
+ type: [String, Object],
127
+ default: "body"
128
+ },
129
+ display: {
130
+ type: String,
131
+ default: "comma"
132
+ },
133
+ selectedItemsLabel: {
134
+ type: String,
135
+ default: null
136
+ },
137
+ maxSelectedLabels: {
138
+ type: Number,
139
+ default: null
140
+ },
141
+ selectionLimit: {
142
+ type: Number,
143
+ default: null
144
+ },
145
+ showToggleAll: {
146
+ type: Boolean,
147
+ default: !0
148
+ },
149
+ loading: {
150
+ type: Boolean,
151
+ default: !1
152
+ },
153
+ checkboxIcon: {
154
+ type: String,
155
+ default: void 0
156
+ },
157
+ dropdownIcon: {
158
+ type: String,
159
+ default: void 0
160
+ },
161
+ filterIcon: {
162
+ type: String,
163
+ default: void 0
164
+ },
165
+ loadingIcon: {
166
+ type: String,
167
+ default: void 0
168
+ },
169
+ removeTokenIcon: {
170
+ type: String,
171
+ default: void 0
172
+ },
173
+ chipIcon: {
174
+ type: String,
175
+ default: void 0
176
+ },
177
+ selectAll: {
178
+ type: Boolean,
179
+ default: null
180
+ },
181
+ resetFilterOnHide: {
182
+ type: Boolean,
183
+ default: !1
184
+ },
185
+ virtualScrollerOptions: {
186
+ type: Object,
187
+ default: null
188
+ },
189
+ autoOptionFocus: {
190
+ type: Boolean,
191
+ default: !1
192
+ },
193
+ autoFilterFocus: {
194
+ type: Boolean,
195
+ default: !1
196
+ },
197
+ focusOnHover: {
198
+ type: Boolean,
199
+ default: !0
200
+ },
201
+ highlightOnSelect: {
202
+ type: Boolean,
203
+ default: !1
204
+ },
205
+ filterMessage: {
206
+ type: String,
207
+ default: null
208
+ },
209
+ selectionMessage: {
210
+ type: String,
211
+ default: null
212
+ },
213
+ emptySelectionMessage: {
214
+ type: String,
215
+ default: null
216
+ },
217
+ emptyFilterMessage: {
218
+ type: String,
219
+ default: null
220
+ },
221
+ emptyMessage: {
222
+ type: String,
223
+ default: null
224
+ },
225
+ tabindex: {
226
+ type: Number,
227
+ default: 0
228
+ },
229
+ ariaLabel: {
230
+ type: String,
231
+ default: null
232
+ },
233
+ ariaLabelledby: {
234
+ type: String,
235
+ default: null
236
+ }
237
+ },
238
+ style: pe,
239
+ provide: function() {
240
+ return {
241
+ $pcMultiSelect: this,
242
+ $parentInstance: this
243
+ };
244
+ }
245
+ };
246
+ function W(e) {
247
+ "@babel/helpers - typeof";
248
+ return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
249
+ return typeof e;
250
+ } : function(e) {
251
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
252
+ }, W(e);
253
+ }
254
+ function G(e, t) {
255
+ var n = Object.keys(e);
256
+ if (Object.getOwnPropertySymbols) {
257
+ var r = Object.getOwnPropertySymbols(e);
258
+ t && (r = r.filter(function(t) {
259
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
260
+ })), n.push.apply(n, r);
261
+ }
262
+ return n;
263
+ }
264
+ function K(e) {
265
+ for (var t = 1; t < arguments.length; t++) {
266
+ var n = arguments[t] == null ? {} : arguments[t];
267
+ t % 2 ? G(Object(n), !0).forEach(function(t) {
268
+ q(e, t, n[t]);
269
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G(Object(n)).forEach(function(t) {
270
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
271
+ });
272
+ }
273
+ return e;
274
+ }
275
+ function q(e, t, n) {
276
+ return (t = he(t)) in e ? Object.defineProperty(e, t, {
277
+ value: n,
278
+ enumerable: !0,
279
+ configurable: !0,
280
+ writable: !0
281
+ }) : e[t] = n, e;
282
+ }
283
+ function he(e) {
284
+ var t = ge(e, "string");
285
+ return W(t) == "symbol" ? t : t + "";
286
+ }
287
+ function ge(e, t) {
288
+ if (W(e) != "object" || !e) return e;
289
+ var n = e[Symbol.toPrimitive];
290
+ if (n !== void 0) {
291
+ var r = n.call(e, t);
292
+ if (W(r) != "object") return r;
293
+ throw TypeError("@@toPrimitive must return a primitive value.");
294
+ }
295
+ return (t === "string" ? String : Number)(e);
296
+ }
297
+ function J(e) {
298
+ return be(e) || ye(e) || ve(e) || _e();
299
+ }
300
+ function _e() {
301
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
302
+ }
303
+ function ve(e, t) {
304
+ if (e) {
305
+ if (typeof e == "string") return Y(e, t);
306
+ var n = {}.toString.call(e).slice(8, -1);
307
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Y(e, t) : void 0;
308
+ }
309
+ }
310
+ function ye(e) {
311
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
312
+ }
313
+ function be(e) {
314
+ if (Array.isArray(e)) return Y(e);
315
+ }
316
+ function Y(e, t) {
317
+ (t == null || t > e.length) && (t = e.length);
318
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
319
+ return r;
320
+ }
321
+ var X = {
322
+ name: "MultiSelect",
323
+ extends: me,
324
+ inheritAttrs: !1,
325
+ emits: [
326
+ "change",
327
+ "focus",
328
+ "blur",
329
+ "before-show",
330
+ "before-hide",
331
+ "show",
332
+ "hide",
333
+ "filter",
334
+ "selectall-change"
335
+ ],
336
+ inject: { $pcFluid: { default: null } },
337
+ outsideClickListener: null,
338
+ scrollHandler: null,
339
+ resizeListener: null,
340
+ overlay: null,
341
+ list: null,
342
+ virtualScroller: null,
343
+ startRangeIndex: -1,
344
+ searchTimeout: null,
345
+ searchValue: "",
346
+ selectOnFocus: !1,
347
+ data: function() {
348
+ return {
349
+ clicked: !1,
350
+ focused: !1,
351
+ focusedOptionIndex: -1,
352
+ filterValue: null,
353
+ overlayVisible: !1
354
+ };
355
+ },
356
+ watch: { options: function() {
357
+ this.autoUpdateModel();
358
+ } },
359
+ mounted: function() {
360
+ this.autoUpdateModel();
361
+ },
362
+ beforeUnmount: function() {
363
+ this.unbindOutsideClickListener(), this.unbindResizeListener(), this.scrollHandler &&= (this.scrollHandler.destroy(), null), this.overlay &&= (v.clear(this.overlay), null);
364
+ },
365
+ methods: {
366
+ getOptionIndex: function(e, t) {
367
+ return this.virtualScrollerDisabled ? e : t && t(e).index;
368
+ },
369
+ getOptionLabel: function(e) {
370
+ return this.optionLabel ? a(e, this.optionLabel) : e;
371
+ },
372
+ getOptionValue: function(e) {
373
+ return this.optionValue ? a(e, this.optionValue) : e;
374
+ },
375
+ getOptionRenderKey: function(e, t) {
376
+ return this.dataKey ? a(e, this.dataKey) : this.getOptionLabel(e) + `_${t}`;
377
+ },
378
+ getHeaderCheckboxPTOptions: function(e) {
379
+ return this.ptm(e, { context: { selected: this.allSelected } });
380
+ },
381
+ getCheckboxPTOptions: function(e, t, n, r) {
382
+ return this.ptm(r, { context: {
383
+ selected: this.isSelected(e),
384
+ focused: this.focusedOptionIndex === this.getOptionIndex(n, t),
385
+ disabled: this.isOptionDisabled(e)
386
+ } });
387
+ },
388
+ isOptionDisabled: function(e) {
389
+ return this.maxSelectionLimitReached && !this.isSelected(e) ? !0 : this.optionDisabled ? a(e, this.optionDisabled) : !1;
390
+ },
391
+ isOptionGroup: function(e) {
392
+ return !!(this.optionGroupLabel && e.optionGroup && e.group);
393
+ },
394
+ getOptionGroupLabel: function(e) {
395
+ return a(e, this.optionGroupLabel);
396
+ },
397
+ getOptionGroupChildren: function(e) {
398
+ return a(e, this.optionGroupChildren);
399
+ },
400
+ getAriaPosInset: function(e) {
401
+ var t = this;
402
+ return (this.optionGroupLabel ? e - this.visibleOptions.slice(0, e).filter(function(e) {
403
+ return t.isOptionGroup(e);
404
+ }).length : e) + 1;
405
+ },
406
+ show: function(e) {
407
+ this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex === -1 ? this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex() : this.focusedOptionIndex, e && p(this.$refs.focusInput);
408
+ },
409
+ hide: function(e) {
410
+ var t = this, n = function() {
411
+ t.$emit("before-hide"), t.overlayVisible = !1, t.clicked = !1, t.focusedOptionIndex = -1, t.searchValue = "", t.resetFilterOnHide && (t.filterValue = null), e && p(t.$refs.focusInput);
412
+ };
413
+ setTimeout(function() {
414
+ n();
415
+ }, 0);
416
+ },
417
+ onFocus: function(e) {
418
+ this.disabled || (this.focused = !0, this.overlayVisible && (this.focusedOptionIndex = this.focusedOptionIndex === -1 ? this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.findSelectedOptionIndex() : this.focusedOptionIndex, !this.autoFilterFocus && this.scrollInView(this.focusedOptionIndex)), this.$emit("focus", e));
419
+ },
420
+ onBlur: function(e) {
421
+ var t, n;
422
+ this.clicked = !1, this.focused = !1, this.focusedOptionIndex = -1, this.searchValue = "", this.$emit("blur", e), (t = (n = this.formField).onBlur) == null || t.call(n);
423
+ },
424
+ onKeyDown: function(e) {
425
+ var t = this;
426
+ if (this.disabled) {
427
+ e.preventDefault();
428
+ return;
429
+ }
430
+ var n = e.metaKey || e.ctrlKey;
431
+ switch (e.code) {
432
+ case "ArrowDown":
433
+ this.onArrowDownKey(e);
434
+ break;
435
+ case "ArrowUp":
436
+ this.onArrowUpKey(e);
437
+ break;
438
+ case "Home":
439
+ this.onHomeKey(e);
440
+ break;
441
+ case "End":
442
+ this.onEndKey(e);
443
+ break;
444
+ case "PageDown":
445
+ this.onPageDownKey(e);
446
+ break;
447
+ case "PageUp":
448
+ this.onPageUpKey(e);
449
+ break;
450
+ case "Enter":
451
+ case "NumpadEnter":
452
+ case "Space":
453
+ this.onEnterKey(e);
454
+ break;
455
+ case "Escape":
456
+ this.onEscapeKey(e);
457
+ break;
458
+ case "Tab":
459
+ this.onTabKey(e);
460
+ break;
461
+ case "ShiftLeft":
462
+ case "ShiftRight":
463
+ this.onShiftKey(e);
464
+ break;
465
+ default:
466
+ if (e.code === "KeyA" && n) {
467
+ var r = this.visibleOptions.filter(function(e) {
468
+ return t.isValidOption(e);
469
+ }).map(function(e) {
470
+ return t.getOptionValue(e);
471
+ });
472
+ this.updateModel(e, r), e.preventDefault();
473
+ break;
474
+ }
475
+ !n && ne(e.key) && (!this.overlayVisible && this.show(), this.searchOptions(e), e.preventDefault());
476
+ }
477
+ this.clicked = !1;
478
+ },
479
+ onContainerClick: function(e) {
480
+ this.disabled || this.loading || e.target.tagName === "INPUT" || e.target.getAttribute("data-pc-section") === "clearicon" || e.target.closest("[data-pc-section=\"clearicon\"]") || ((!this.overlay || !this.overlay.contains(e.target)) && (this.overlayVisible ? this.hide(!0) : this.show(!0)), this.clicked = !0);
481
+ },
482
+ onClearClick: function(e) {
483
+ this.updateModel(e, []), this.resetFilterOnClear && (this.filterValue = null);
484
+ },
485
+ onFirstHiddenFocus: function(e) {
486
+ var t = e.relatedTarget === this.$refs.focusInput ? s(this.overlay, ":not([data-p-hidden-focusable=\"true\"])") : this.$refs.focusInput;
487
+ p(t);
488
+ },
489
+ onLastHiddenFocus: function(e) {
490
+ var t = e.relatedTarget === this.$refs.focusInput ? r(this.overlay, ":not([data-p-hidden-focusable=\"true\"])") : this.$refs.focusInput;
491
+ p(t);
492
+ },
493
+ onOptionSelect: function(e, t) {
494
+ var n = this, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1, i = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
495
+ if (!(this.disabled || this.isOptionDisabled(t))) {
496
+ var a = this.isSelected(t), o = null;
497
+ o = a ? this.d_value.filter(function(e) {
498
+ return !d(e, n.getOptionValue(t), n.equalityKey);
499
+ }) : [].concat(J(this.d_value || []), [this.getOptionValue(t)]), this.updateModel(e, o), r !== -1 && (this.focusedOptionIndex = r), i && p(this.$refs.focusInput);
500
+ }
501
+ },
502
+ onOptionMouseMove: function(e, t) {
503
+ this.focusOnHover && this.changeFocusedOptionIndex(e, t);
504
+ },
505
+ onOptionSelectRange: function(e) {
506
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : -1, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : -1;
507
+ if (n === -1 && (n = this.findNearestSelectedOptionIndex(r, !0)), r === -1 && (r = this.findNearestSelectedOptionIndex(n)), n !== -1 && r !== -1) {
508
+ var i = Math.min(n, r), a = Math.max(n, r), o = this.visibleOptions.slice(i, a + 1).filter(function(e) {
509
+ return t.isValidOption(e);
510
+ }).map(function(e) {
511
+ return t.getOptionValue(e);
512
+ });
513
+ this.updateModel(e, o);
514
+ }
515
+ },
516
+ onFilterChange: function(e) {
517
+ var t = e.target.value;
518
+ this.filterValue = t, this.focusedOptionIndex = -1, this.$emit("filter", {
519
+ originalEvent: e,
520
+ value: t
521
+ }), !this.virtualScrollerDisabled && this.virtualScroller.scrollToIndex(0);
522
+ },
523
+ onFilterKeyDown: function(e) {
524
+ switch (e.code) {
525
+ case "ArrowDown":
526
+ this.onArrowDownKey(e);
527
+ break;
528
+ case "ArrowUp":
529
+ this.onArrowUpKey(e, !0);
530
+ break;
531
+ case "ArrowLeft":
532
+ case "ArrowRight":
533
+ this.onArrowLeftKey(e, !0);
534
+ break;
535
+ case "Home":
536
+ this.onHomeKey(e, !0);
537
+ break;
538
+ case "End":
539
+ this.onEndKey(e, !0);
540
+ break;
541
+ case "Enter":
542
+ case "NumpadEnter":
543
+ this.onEnterKey(e);
544
+ break;
545
+ case "Escape":
546
+ this.onEscapeKey(e);
547
+ break;
548
+ case "Tab": this.onTabKey(e, !0);
549
+ }
550
+ },
551
+ onFilterBlur: function() {
552
+ this.focusedOptionIndex = -1;
553
+ },
554
+ onFilterUpdated: function() {
555
+ this.overlayVisible && this.alignOverlay();
556
+ },
557
+ onOverlayClick: function(e) {
558
+ oe.emit("overlay-click", {
559
+ originalEvent: e,
560
+ target: this.$el
561
+ });
562
+ },
563
+ onOverlayKeyDown: function(e) {
564
+ e.code === "Escape" && this.onEscapeKey(e);
565
+ },
566
+ onArrowDownKey: function(e) {
567
+ if (!this.overlayVisible) this.show();
568
+ else {
569
+ var t = this.focusedOptionIndex === -1 ? this.clicked ? this.findFirstOptionIndex() : this.findFirstFocusedOptionIndex() : this.findNextOptionIndex(this.focusedOptionIndex);
570
+ e.shiftKey && this.onOptionSelectRange(e, this.startRangeIndex, t), this.changeFocusedOptionIndex(e, t);
571
+ }
572
+ e.preventDefault();
573
+ },
574
+ onArrowUpKey: function(e) {
575
+ var t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
576
+ if (e.altKey && !t) this.focusedOptionIndex !== -1 && this.onOptionSelect(e, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(), e.preventDefault();
577
+ else {
578
+ var n = this.focusedOptionIndex === -1 ? this.clicked ? this.findLastOptionIndex() : this.findLastFocusedOptionIndex() : this.findPrevOptionIndex(this.focusedOptionIndex);
579
+ e.shiftKey && this.onOptionSelectRange(e, n, this.startRangeIndex), this.changeFocusedOptionIndex(e, n), !this.overlayVisible && this.show(), e.preventDefault();
580
+ }
581
+ },
582
+ onArrowLeftKey: function(e) {
583
+ arguments.length > 1 && arguments[1] !== void 0 && arguments[1] && (this.focusedOptionIndex = -1);
584
+ },
585
+ onHomeKey: function(e) {
586
+ if (arguments.length > 1 && arguments[1] !== void 0 && arguments[1]) {
587
+ var t = e.currentTarget;
588
+ e.shiftKey ? t.setSelectionRange(0, e.target.selectionStart) : (t.setSelectionRange(0, 0), this.focusedOptionIndex = -1);
589
+ } else {
590
+ var n = e.metaKey || e.ctrlKey, r = this.findFirstOptionIndex();
591
+ e.shiftKey && n && this.onOptionSelectRange(e, r, this.startRangeIndex), this.changeFocusedOptionIndex(e, r), !this.overlayVisible && this.show();
592
+ }
593
+ e.preventDefault();
594
+ },
595
+ onEndKey: function(e) {
596
+ if (arguments.length > 1 && arguments[1] !== void 0 && arguments[1]) {
597
+ var t = e.currentTarget;
598
+ if (e.shiftKey) t.setSelectionRange(e.target.selectionStart, t.value.length);
599
+ else {
600
+ var n = t.value.length;
601
+ t.setSelectionRange(n, n), this.focusedOptionIndex = -1;
602
+ }
603
+ } else {
604
+ var r = e.metaKey || e.ctrlKey, i = this.findLastOptionIndex();
605
+ e.shiftKey && r && this.onOptionSelectRange(e, this.startRangeIndex, i), this.changeFocusedOptionIndex(e, i), !this.overlayVisible && this.show();
606
+ }
607
+ e.preventDefault();
608
+ },
609
+ onPageUpKey: function(e) {
610
+ this.scrollInView(0), e.preventDefault();
611
+ },
612
+ onPageDownKey: function(e) {
613
+ this.scrollInView(this.visibleOptions.length - 1), e.preventDefault();
614
+ },
615
+ onEnterKey: function(e) {
616
+ 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();
617
+ },
618
+ onEscapeKey: function(e) {
619
+ this.overlayVisible && (this.hide(!0), e.stopPropagation()), e.preventDefault();
620
+ },
621
+ onTabKey: function(e) {
622
+ arguments.length > 1 && arguments[1] !== void 0 && arguments[1] || (this.overlayVisible && this.hasFocusableElements() ? (p(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)));
623
+ },
624
+ onShiftKey: function() {
625
+ this.startRangeIndex = this.focusedOptionIndex;
626
+ },
627
+ onOverlayEnter: function(e) {
628
+ v.set("overlay", e, this.$primevue.config.zIndex.overlay), te(e, {
629
+ position: "absolute",
630
+ top: "0"
631
+ }), this.alignOverlay(), this.scrollInView(), this.autoFilterFocus && p(this.$refs.filterInput.$el), this.autoUpdateModel(), this.$attrSelector && e.setAttribute(this.$attrSelector, "");
632
+ },
633
+ onOverlayAfterEnter: function() {
634
+ this.bindOutsideClickListener(), this.bindScrollListener(), this.bindResizeListener(), this.$emit("show");
635
+ },
636
+ onOverlayLeave: function(e) {
637
+ e.style.pointerEvents = "none", this.unbindOutsideClickListener(), this.unbindScrollListener(), this.unbindResizeListener(), this.$emit("hide"), this.overlay = null;
638
+ },
639
+ onOverlayAfterLeave: function(e) {
640
+ v.clear(e);
641
+ },
642
+ alignOverlay: function() {
643
+ this.appendTo === "self" ? c(this.overlay, this.$el) : (this.overlay.style.minWidth = re(this.$el) + "px", e(this.overlay, this.$el));
644
+ },
645
+ bindOutsideClickListener: function() {
646
+ var e = this;
647
+ this.outsideClickListener || (this.outsideClickListener = function(t) {
648
+ e.overlayVisible && e.isOutsideClicked(t) && e.hide();
649
+ }, document.addEventListener("click", this.outsideClickListener, !0));
650
+ },
651
+ unbindOutsideClickListener: function() {
652
+ this.outsideClickListener &&= (document.removeEventListener("click", this.outsideClickListener, !0), null);
653
+ },
654
+ bindScrollListener: function() {
655
+ var e = this;
656
+ this.scrollHandler ||= new ae(this.$refs.container, function() {
657
+ e.overlayVisible && e.hide();
658
+ }), this.scrollHandler.bindScrollListener();
659
+ },
660
+ unbindScrollListener: function() {
661
+ this.scrollHandler && this.scrollHandler.unbindScrollListener();
662
+ },
663
+ bindResizeListener: function() {
664
+ var e = this;
665
+ this.resizeListener || (this.resizeListener = function() {
666
+ e.overlayVisible && !f() && e.hide();
667
+ }, window.addEventListener("resize", this.resizeListener));
668
+ },
669
+ unbindResizeListener: function() {
670
+ this.resizeListener &&= (window.removeEventListener("resize", this.resizeListener), null);
671
+ },
672
+ isOutsideClicked: function(e) {
673
+ return !(this.$el.isSameNode(e.target) || this.$el.contains(e.target) || this.overlay && this.overlay.contains(e.target));
674
+ },
675
+ getLabelByValue: function(e) {
676
+ var t = this, n = (this.optionGroupLabel ? this.flatOptions(this.options) : this.options || []).find(function(n) {
677
+ return !t.isOptionGroup(n) && d(t.getOptionValue(n), e, t.equalityKey);
678
+ });
679
+ return this.getOptionLabel(n);
680
+ },
681
+ getSelectedItemsLabel: function() {
682
+ var e = /{(.*?)}/, t = this.selectedItemsLabel || this.$primevue.config.locale.selectionMessage;
683
+ return e.test(t) ? t.replace(t.match(e)[0], this.d_value.length + "") : t;
684
+ },
685
+ onToggleAll: function(e) {
686
+ var t = this;
687
+ if (this.selectAll !== null) this.$emit("selectall-change", {
688
+ originalEvent: e,
689
+ checked: !this.allSelected
690
+ });
691
+ else {
692
+ var n = this.allSelected ? [] : this.visibleOptions.filter(function(e) {
693
+ return t.isValidOption(e);
694
+ }).map(function(e) {
695
+ return t.getOptionValue(e);
696
+ });
697
+ this.updateModel(e, n);
698
+ }
699
+ },
700
+ removeOption: function(e, t) {
701
+ var n = this;
702
+ e.stopPropagation();
703
+ var r = this.d_value.filter(function(e) {
704
+ return !d(e, t, n.equalityKey);
705
+ });
706
+ this.updateModel(e, r);
707
+ },
708
+ clearFilter: function() {
709
+ this.filterValue = null;
710
+ },
711
+ hasFocusableElements: function() {
712
+ return h(this.overlay, ":not([data-p-hidden-focusable=\"true\"])").length > 0;
713
+ },
714
+ isOptionMatched: function(e) {
715
+ return this.isValidOption(e) && typeof this.getOptionLabel(e) == "string" && this.getOptionLabel(e)?.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
716
+ },
717
+ isValidOption: function(e) {
718
+ return n(e) && !(this.isOptionDisabled(e) || this.isOptionGroup(e));
719
+ },
720
+ isValidSelectedOption: function(e) {
721
+ return this.isValidOption(e) && this.isSelected(e);
722
+ },
723
+ isEquals: function(e, t) {
724
+ return d(e, t, this.equalityKey);
725
+ },
726
+ isSelected: function(e) {
727
+ var t = this, n = this.getOptionValue(e);
728
+ return (this.d_value || []).some(function(e) {
729
+ return t.isEquals(e, n);
730
+ });
731
+ },
732
+ findFirstOptionIndex: function() {
733
+ var e = this;
734
+ return this.visibleOptions.findIndex(function(t) {
735
+ return e.isValidOption(t);
736
+ });
737
+ },
738
+ findLastOptionIndex: function() {
739
+ var e = this;
740
+ return o(this.visibleOptions, function(t) {
741
+ return e.isValidOption(t);
742
+ });
743
+ },
744
+ findNextOptionIndex: function(e) {
745
+ var t = this, n = e < this.visibleOptions.length - 1 ? this.visibleOptions.slice(e + 1).findIndex(function(e) {
746
+ return t.isValidOption(e);
747
+ }) : -1;
748
+ return n > -1 ? n + e + 1 : e;
749
+ },
750
+ findPrevOptionIndex: function(e) {
751
+ var t = this, n = e > 0 ? o(this.visibleOptions.slice(0, e), function(e) {
752
+ return t.isValidOption(e);
753
+ }) : -1;
754
+ return n > -1 ? n : e;
755
+ },
756
+ findSelectedOptionIndex: function() {
757
+ var e = this;
758
+ if (this.$filled) {
759
+ for (var t = function() {
760
+ var t = e.d_value[r], n = e.visibleOptions.findIndex(function(n) {
761
+ return e.isValidSelectedOption(n) && e.isEquals(t, e.getOptionValue(n));
762
+ });
763
+ if (n > -1) return { v: n };
764
+ }, n, r = this.d_value.length - 1; r >= 0; r--) if (n = t(), n) return n.v;
765
+ }
766
+ return -1;
767
+ },
768
+ findFirstSelectedOptionIndex: function() {
769
+ var e = this;
770
+ return this.$filled ? this.visibleOptions.findIndex(function(t) {
771
+ return e.isValidSelectedOption(t);
772
+ }) : -1;
773
+ },
774
+ findLastSelectedOptionIndex: function() {
775
+ var e = this;
776
+ return this.$filled ? o(this.visibleOptions, function(t) {
777
+ return e.isValidSelectedOption(t);
778
+ }) : -1;
779
+ },
780
+ findNextSelectedOptionIndex: function(e) {
781
+ var t = this, n = this.$filled && e < this.visibleOptions.length - 1 ? this.visibleOptions.slice(e + 1).findIndex(function(e) {
782
+ return t.isValidSelectedOption(e);
783
+ }) : -1;
784
+ return n > -1 ? n + e + 1 : -1;
785
+ },
786
+ findPrevSelectedOptionIndex: function(e) {
787
+ var t = this, n = this.$filled && e > 0 ? o(this.visibleOptions.slice(0, e), function(e) {
788
+ return t.isValidSelectedOption(e);
789
+ }) : -1;
790
+ return n > -1 ? n : -1;
791
+ },
792
+ findNearestSelectedOptionIndex: function(e) {
793
+ var t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = -1;
794
+ return this.$filled && (t ? (n = this.findPrevSelectedOptionIndex(e), n = n === -1 ? this.findNextSelectedOptionIndex(e) : n) : (n = this.findNextSelectedOptionIndex(e), n = n === -1 ? this.findPrevSelectedOptionIndex(e) : n)), n > -1 ? n : e;
795
+ },
796
+ findFirstFocusedOptionIndex: function() {
797
+ var e = this.findFirstSelectedOptionIndex();
798
+ return e < 0 ? this.findFirstOptionIndex() : e;
799
+ },
800
+ findLastFocusedOptionIndex: function() {
801
+ var e = this.findSelectedOptionIndex();
802
+ return e < 0 ? this.findLastOptionIndex() : e;
803
+ },
804
+ searchOptions: function(e) {
805
+ var t = this;
806
+ this.searchValue = (this.searchValue || "") + e.key;
807
+ var r = -1;
808
+ n(this.searchValue) && (this.focusedOptionIndex === -1 ? r = this.visibleOptions.findIndex(function(e) {
809
+ return t.isOptionMatched(e);
810
+ }) : (r = this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(e) {
811
+ return t.isOptionMatched(e);
812
+ }), r = r === -1 ? this.visibleOptions.slice(0, this.focusedOptionIndex).findIndex(function(e) {
813
+ return t.isOptionMatched(e);
814
+ }) : r + this.focusedOptionIndex), r === -1 && this.focusedOptionIndex === -1 && (r = this.findFirstFocusedOptionIndex()), r !== -1 && this.changeFocusedOptionIndex(e, r)), this.searchTimeout && clearTimeout(this.searchTimeout), this.searchTimeout = setTimeout(function() {
815
+ t.searchValue = "", t.searchTimeout = null;
816
+ }, 500);
817
+ },
818
+ changeFocusedOptionIndex: function(e, t) {
819
+ this.focusedOptionIndex !== t && (this.focusedOptionIndex = t, this.scrollInView(), this.selectOnFocus && this.onOptionSelect(e, this.visibleOptions[t]));
820
+ },
821
+ scrollInView: function() {
822
+ var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : -1;
823
+ this.$nextTick(function() {
824
+ var r = n === -1 ? e.focusedOptionId : `${e.$id}_${n}`, i = t(e.list, `li[id="${r}"]`);
825
+ i ? i.scrollIntoView && i.scrollIntoView({
826
+ block: "nearest",
827
+ inline: "nearest"
828
+ }) : e.virtualScrollerDisabled || e.virtualScroller && e.virtualScroller.scrollToIndex(n === -1 ? e.focusedOptionIndex : n);
829
+ });
830
+ },
831
+ autoUpdateModel: function() {
832
+ if (this.autoOptionFocus && (this.focusedOptionIndex = this.findFirstFocusedOptionIndex()), this.selectOnFocus && this.autoOptionFocus && !this.$filled) {
833
+ var e = this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);
834
+ this.updateModel(null, [e]);
835
+ }
836
+ },
837
+ updateModel: function(e, t) {
838
+ this.writeValue(t, e), this.$emit("change", {
839
+ originalEvent: e,
840
+ value: t
841
+ });
842
+ },
843
+ flatOptions: function(e) {
844
+ var t = this;
845
+ return (e || []).reduce(function(e, n, r) {
846
+ var i = t.getOptionGroupChildren(n);
847
+ return i && Array.isArray(i) ? (e.push({
848
+ optionGroup: n,
849
+ group: !0,
850
+ index: r
851
+ }), i.forEach(function(t) {
852
+ return e.push(t);
853
+ })) : e.push(n), e;
854
+ }, []);
855
+ },
856
+ overlayRef: function(e) {
857
+ this.overlay = e;
858
+ },
859
+ listRef: function(e, t) {
860
+ this.list = e, t && t(e);
861
+ },
862
+ virtualScrollerRef: function(e) {
863
+ this.virtualScroller = e;
864
+ }
865
+ },
866
+ computed: {
867
+ visibleOptions: function() {
868
+ var e = this, t = this.optionGroupLabel ? this.flatOptions(this.options) : this.options || [];
869
+ if (this.filterValue) {
870
+ var n = R.filter(t, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
871
+ if (this.optionGroupLabel) {
872
+ var r = this.options || [], i = [];
873
+ return r.forEach(function(t) {
874
+ var r = e.getOptionGroupChildren(t).filter(function(e) {
875
+ return n.includes(e);
876
+ });
877
+ r.length > 0 && i.push(K(K({}, t), {}, q({}, typeof e.optionGroupChildren == "string" ? e.optionGroupChildren : "items", J(r))));
878
+ }), this.flatOptions(i);
879
+ }
880
+ return n;
881
+ }
882
+ return t;
883
+ },
884
+ label: function() {
885
+ var e;
886
+ if (this.d_value && this.d_value.length) {
887
+ if (this.loading && (!this.options || this.options.length === 0)) e = this.placeholder;
888
+ else if (n(this.maxSelectedLabels) && this.d_value.length > this.maxSelectedLabels) return this.getSelectedItemsLabel();
889
+ else {
890
+ e = "";
891
+ for (var t = 0; t < this.d_value.length; t++) t !== 0 && (e += ", "), e += this.getLabelByValue(this.d_value[t]);
892
+ }
893
+ } else e = this.placeholder;
894
+ return e;
895
+ },
896
+ chipSelectedItems: function() {
897
+ return n(this.maxSelectedLabels) && this.d_value && this.d_value.length > this.maxSelectedLabels;
898
+ },
899
+ allSelected: function() {
900
+ var e = this;
901
+ return this.selectAll === null ? n(this.visibleOptions) && this.visibleOptions.every(function(t) {
902
+ return e.isOptionGroup(t) || e.isOptionDisabled(t) || e.isSelected(t);
903
+ }) : this.selectAll;
904
+ },
905
+ hasSelectedOption: function() {
906
+ return this.$filled;
907
+ },
908
+ equalityKey: function() {
909
+ return this.optionValue ? null : this.dataKey;
910
+ },
911
+ searchFields: function() {
912
+ return this.filterFields || [this.optionLabel];
913
+ },
914
+ maxSelectionLimitReached: function() {
915
+ return this.selectionLimit && this.d_value && this.d_value.length === this.selectionLimit;
916
+ },
917
+ filterResultMessageText: function() {
918
+ return n(this.visibleOptions) ? this.filterMessageText.replaceAll("{0}", this.visibleOptions.length) : this.emptyFilterMessageText;
919
+ },
920
+ filterMessageText: function() {
921
+ return this.filterMessage || this.$primevue.config.locale.searchMessage || "";
922
+ },
923
+ emptyFilterMessageText: function() {
924
+ return this.emptyFilterMessage || this.$primevue.config.locale.emptySearchMessage || this.$primevue.config.locale.emptyFilterMessage || "";
925
+ },
926
+ emptyMessageText: function() {
927
+ return this.emptyMessage || this.$primevue.config.locale.emptyMessage || "";
928
+ },
929
+ selectionMessageText: function() {
930
+ return this.selectionMessage || this.$primevue.config.locale.selectionMessage || "";
931
+ },
932
+ emptySelectionMessageText: function() {
933
+ return this.emptySelectionMessage || this.$primevue.config.locale.emptySelectionMessage || "";
934
+ },
935
+ selectedMessageText: function() {
936
+ return this.$filled ? this.selectionMessageText.replaceAll("{0}", this.d_value.length) : this.emptySelectionMessageText;
937
+ },
938
+ focusedOptionId: function() {
939
+ return this.focusedOptionIndex === -1 ? null : `${this.$id}_${this.focusedOptionIndex}`;
940
+ },
941
+ ariaSetSize: function() {
942
+ var e = this;
943
+ return this.visibleOptions.filter(function(t) {
944
+ return !e.isOptionGroup(t);
945
+ }).length;
946
+ },
947
+ toggleAllAriaLabel: function() {
948
+ return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria[this.allSelected ? "selectAll" : "unselectAll"] : void 0;
949
+ },
950
+ listAriaLabel: function() {
951
+ return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.listLabel : void 0;
952
+ },
953
+ virtualScrollerDisabled: function() {
954
+ return !this.virtualScrollerOptions;
955
+ },
956
+ hasFluid: function() {
957
+ return i(this.fluid) ? !!this.$pcFluid : this.fluid;
958
+ },
959
+ isClearIconVisible: function() {
960
+ return this.showClear && this.d_value && this.d_value.length && this.d_value != null && n(this.options) && !this.disabled && !this.loading;
961
+ },
962
+ containerDataP: function() {
963
+ return l(q({
964
+ invalid: this.$invalid,
965
+ disabled: this.disabled,
966
+ focus: this.focused,
967
+ fluid: this.$fluid,
968
+ filled: this.$variant === "filled"
969
+ }, this.size, this.size));
970
+ },
971
+ labelDataP: function() {
972
+ return l(q(q(q({
973
+ placeholder: this.label === this.placeholder,
974
+ clearable: this.showClear,
975
+ disabled: this.disabled
976
+ }, this.size, this.size), "has-chip", this.display === "chip" && this.d_value && this.d_value.length && (!this.maxSelectedLabels || this.d_value.length <= this.maxSelectedLabels)), "empty", !this.placeholder && !this.$filled));
977
+ },
978
+ dropdownIconDataP: function() {
979
+ return l(q({}, this.size, this.size));
980
+ },
981
+ overlayDataP: function() {
982
+ return l(q({}, "portal-" + this.appendTo, "portal-" + this.appendTo));
983
+ }
984
+ },
985
+ directives: { ripple: ee },
986
+ components: {
987
+ InputText: U,
988
+ Checkbox: de,
989
+ VirtualScroller: se,
990
+ Portal: ie,
991
+ Chip: fe,
992
+ IconField: L,
993
+ InputIcon: V,
994
+ TimesIcon: m,
995
+ SearchIcon: z,
996
+ ChevronDownIcon: _,
997
+ SpinnerIcon: I,
998
+ CheckIcon: B
999
+ }
1000
+ };
1001
+ function Z(e) {
1002
+ "@babel/helpers - typeof";
1003
+ return Z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1004
+ return typeof e;
1005
+ } : function(e) {
1006
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1007
+ }, Z(e);
1008
+ }
1009
+ function Q(e, t, n) {
1010
+ return (t = xe(t)) in e ? Object.defineProperty(e, t, {
1011
+ value: n,
1012
+ enumerable: !0,
1013
+ configurable: !0,
1014
+ writable: !0
1015
+ }) : e[t] = n, e;
1016
+ }
1017
+ function xe(e) {
1018
+ var t = Se(e, "string");
1019
+ return Z(t) == "symbol" ? t : t + "";
1020
+ }
1021
+ function Se(e, t) {
1022
+ if (Z(e) != "object" || !e) return e;
1023
+ var n = e[Symbol.toPrimitive];
1024
+ if (n !== void 0) {
1025
+ var r = n.call(e, t);
1026
+ if (Z(r) != "object") return r;
1027
+ throw TypeError("@@toPrimitive must return a primitive value.");
1028
+ }
1029
+ return (t === "string" ? String : Number)(e);
1030
+ }
1031
+ var Ce = ["data-p"], $ = [
1032
+ "id",
1033
+ "disabled",
1034
+ "placeholder",
1035
+ "tabindex",
1036
+ "aria-label",
1037
+ "aria-labelledby",
1038
+ "aria-expanded",
1039
+ "aria-controls",
1040
+ "aria-activedescendant",
1041
+ "aria-invalid"
1042
+ ], we = ["data-p"], Te = { key: 1 }, Ee = ["data-p"], De = ["id", "aria-label"], Oe = ["id"], ke = [
1043
+ "id",
1044
+ "aria-label",
1045
+ "aria-selected",
1046
+ "aria-disabled",
1047
+ "aria-setsize",
1048
+ "aria-posinset",
1049
+ "onClick",
1050
+ "onMousemove",
1051
+ "data-p-selected",
1052
+ "data-p-focused",
1053
+ "data-p-disabled"
1054
+ ];
1055
+ function Ae(e, t, n, r, i, a) {
1056
+ var o = j("Chip"), s = j("SpinnerIcon"), c = j("Checkbox"), l = j("InputText"), d = j("SearchIcon"), f = j("InputIcon"), p = j("IconField"), m = j("VirtualScroller"), h = j("Portal"), g = ce("ripple");
1057
+ return b(), A("div", w({
1058
+ ref: "container",
1059
+ class: e.cx("root"),
1060
+ style: e.sx("root"),
1061
+ onClick: t[7] ||= function() {
1062
+ return a.onContainerClick && a.onContainerClick.apply(a, arguments);
1063
+ },
1064
+ "data-p": a.containerDataP
1065
+ }, e.ptmi("root")), [
1066
+ N("div", w({ class: "p-hidden-accessible" }, e.ptm("hiddenInputContainer"), { "data-p-hidden-accessible": !0 }), [N("input", w({
1067
+ ref: "focusInput",
1068
+ id: e.inputId,
1069
+ type: "text",
1070
+ readonly: "",
1071
+ disabled: e.disabled,
1072
+ placeholder: e.placeholder,
1073
+ tabindex: e.disabled ? -1 : e.tabindex,
1074
+ role: "combobox",
1075
+ "aria-label": e.ariaLabel,
1076
+ "aria-labelledby": e.ariaLabelledby,
1077
+ "aria-haspopup": "listbox",
1078
+ "aria-expanded": i.overlayVisible,
1079
+ "aria-controls": i.overlayVisible ? e.$id + "_list" : void 0,
1080
+ "aria-activedescendant": i.focused ? a.focusedOptionId : void 0,
1081
+ "aria-invalid": e.invalid || void 0,
1082
+ onFocus: t[0] ||= function() {
1083
+ return a.onFocus && a.onFocus.apply(a, arguments);
1084
+ },
1085
+ onBlur: t[1] ||= function() {
1086
+ return a.onBlur && a.onBlur.apply(a, arguments);
1087
+ },
1088
+ onKeydown: t[2] ||= function() {
1089
+ return a.onKeyDown && a.onKeyDown.apply(a, arguments);
1090
+ }
1091
+ }, e.ptm("hiddenInput")), null, 16, $)], 16),
1092
+ N("div", w({ class: e.cx("labelContainer") }, e.ptm("labelContainer")), [N("div", w({
1093
+ class: e.cx("label"),
1094
+ "data-p": a.labelDataP
1095
+ }, e.ptm("label")), [S(e.$slots, "value", {
1096
+ value: e.d_value,
1097
+ placeholder: e.placeholder
1098
+ }, function() {
1099
+ return [e.display === "comma" ? (b(), A(M, { key: 0 }, [P(x(a.label || "empty"), 1)], 64)) : e.display === "chip" ? (b(), A(M, { key: 1 }, [e.loading && (!e.options || e.options.length === 0) ? (b(), A(M, { key: 0 }, [P(x(e.placeholder || "empty"), 1)], 64)) : a.chipSelectedItems ? (b(), A("span", Te, x(a.label), 1)) : (b(!0), A(M, { key: 2 }, y(e.d_value, function(t, n) {
1100
+ return b(), A("span", w({
1101
+ key: `chip-${a.getLabelByValue(t)}_${n}`,
1102
+ class: e.cx("chipItem")
1103
+ }, { ref_for: !0 }, e.ptm("chipItem")), [S(e.$slots, "chip", {
1104
+ value: t,
1105
+ removeCallback: function(e) {
1106
+ return a.removeOption(e, t);
1107
+ }
1108
+ }, function() {
1109
+ return [F(o, {
1110
+ class: T(e.cx("pcChip")),
1111
+ label: a.getLabelByValue(t),
1112
+ removeIcon: e.chipIcon || e.removeTokenIcon,
1113
+ removable: "",
1114
+ unstyled: e.unstyled,
1115
+ onRemove: function(e) {
1116
+ return a.removeOption(e, t);
1117
+ },
1118
+ pt: e.ptm("pcChip")
1119
+ }, {
1120
+ removeicon: k(function() {
1121
+ return [S(e.$slots, e.$slots.chipicon ? "chipicon" : "removetokenicon", {
1122
+ class: T(e.cx("chipIcon")),
1123
+ item: t,
1124
+ removeCallback: function(e) {
1125
+ return a.removeOption(e, t);
1126
+ }
1127
+ })];
1128
+ }),
1129
+ _: 2
1130
+ }, 1032, [
1131
+ "class",
1132
+ "label",
1133
+ "removeIcon",
1134
+ "unstyled",
1135
+ "onRemove",
1136
+ "pt"
1137
+ ])];
1138
+ })], 16);
1139
+ }), 128)), !e.d_value || e.d_value.length === 0 ? (b(), A(M, { key: 3 }, [P(x(e.placeholder || "empty"), 1)], 64)) : O("", !0)], 64)) : O("", !0)];
1140
+ })], 16, we)], 16),
1141
+ a.isClearIconVisible ? S(e.$slots, "clearicon", {
1142
+ key: 0,
1143
+ class: T(e.cx("clearIcon")),
1144
+ clearCallback: a.onClearClick
1145
+ }, function() {
1146
+ return [(b(), D(E(e.clearIcon ? "i" : "TimesIcon"), w({
1147
+ ref: "clearIcon",
1148
+ class: [e.cx("clearIcon"), e.clearIcon],
1149
+ onClick: a.onClearClick
1150
+ }, e.ptm("clearIcon"), { "data-pc-section": "clearicon" }), null, 16, ["class", "onClick"]))];
1151
+ }) : O("", !0),
1152
+ N("div", w({ class: e.cx("dropdown") }, e.ptm("dropdown")), [e.loading ? S(e.$slots, "loadingicon", {
1153
+ key: 0,
1154
+ class: T(e.cx("loadingIcon"))
1155
+ }, function() {
1156
+ return [e.loadingIcon ? (b(), A("span", w({
1157
+ key: 0,
1158
+ class: [
1159
+ e.cx("loadingIcon"),
1160
+ "pi-spin",
1161
+ e.loadingIcon
1162
+ ],
1163
+ "aria-hidden": "true"
1164
+ }, e.ptm("loadingIcon")), null, 16)) : (b(), D(s, w({
1165
+ key: 1,
1166
+ class: e.cx("loadingIcon"),
1167
+ spin: "",
1168
+ "aria-hidden": "true"
1169
+ }, e.ptm("loadingIcon")), null, 16, ["class"]))];
1170
+ }) : S(e.$slots, "dropdownicon", {
1171
+ key: 1,
1172
+ class: T(e.cx("dropdownIcon"))
1173
+ }, function() {
1174
+ return [(b(), D(E(e.dropdownIcon ? "span" : "ChevronDownIcon"), w({
1175
+ class: [e.cx("dropdownIcon"), e.dropdownIcon],
1176
+ "aria-hidden": "true",
1177
+ "data-p": a.dropdownIconDataP
1178
+ }, e.ptm("dropdownIcon")), null, 16, ["class", "data-p"]))];
1179
+ })], 16),
1180
+ F(h, { appendTo: e.appendTo }, {
1181
+ default: k(function() {
1182
+ return [F(u, w({
1183
+ name: "p-anchored-overlay",
1184
+ onEnter: a.onOverlayEnter,
1185
+ onAfterEnter: a.onOverlayAfterEnter,
1186
+ onLeave: a.onOverlayLeave,
1187
+ onAfterLeave: a.onOverlayAfterLeave
1188
+ }, e.ptm("transition")), {
1189
+ default: k(function() {
1190
+ return [i.overlayVisible ? (b(), A("div", w({
1191
+ key: 0,
1192
+ ref: a.overlayRef,
1193
+ style: [e.panelStyle, e.overlayStyle],
1194
+ class: [
1195
+ e.cx("overlay"),
1196
+ e.panelClass,
1197
+ e.overlayClass
1198
+ ],
1199
+ onClick: t[5] ||= function() {
1200
+ return a.onOverlayClick && a.onOverlayClick.apply(a, arguments);
1201
+ },
1202
+ onKeydown: t[6] ||= function() {
1203
+ return a.onOverlayKeyDown && a.onOverlayKeyDown.apply(a, arguments);
1204
+ },
1205
+ "data-p": a.overlayDataP
1206
+ }, e.ptm("overlay")), [
1207
+ N("span", w({
1208
+ ref: "firstHiddenFocusableElementOnOverlay",
1209
+ role: "presentation",
1210
+ "aria-hidden": "true",
1211
+ class: "p-hidden-accessible p-hidden-focusable",
1212
+ tabindex: 0,
1213
+ onFocus: t[3] ||= function() {
1214
+ return a.onFirstHiddenFocus && a.onFirstHiddenFocus.apply(a, arguments);
1215
+ }
1216
+ }, e.ptm("hiddenFirstFocusableEl"), {
1217
+ "data-p-hidden-accessible": !0,
1218
+ "data-p-hidden-focusable": !0
1219
+ }), null, 16),
1220
+ S(e.$slots, "header", {
1221
+ value: e.d_value,
1222
+ options: a.visibleOptions
1223
+ }),
1224
+ e.showToggleAll && e.selectionLimit == null || e.filter ? (b(), A("div", w({
1225
+ key: 0,
1226
+ class: e.cx("header")
1227
+ }, e.ptm("header")), [
1228
+ e.showToggleAll && e.selectionLimit == null ? (b(), D(c, {
1229
+ key: 0,
1230
+ modelValue: a.allSelected,
1231
+ binary: !0,
1232
+ disabled: e.disabled,
1233
+ variant: e.variant,
1234
+ "aria-label": a.toggleAllAriaLabel,
1235
+ onChange: a.onToggleAll,
1236
+ unstyled: e.unstyled,
1237
+ pt: a.getHeaderCheckboxPTOptions("pcHeaderCheckbox"),
1238
+ formControl: { novalidate: !0 }
1239
+ }, {
1240
+ icon: k(function(t) {
1241
+ return [e.$slots.headercheckboxicon ? (b(), D(E(e.$slots.headercheckboxicon), {
1242
+ key: 0,
1243
+ checked: t.checked,
1244
+ class: T(t.class)
1245
+ }, null, 8, ["checked", "class"])) : t.checked ? (b(), D(E(e.checkboxIcon ? "span" : "CheckIcon"), w({
1246
+ key: 1,
1247
+ class: [t.class, Q({}, e.checkboxIcon, t.checked)]
1248
+ }, a.getHeaderCheckboxPTOptions("pcHeaderCheckbox.icon")), null, 16, ["class"])) : O("", !0)];
1249
+ }),
1250
+ _: 1
1251
+ }, 8, [
1252
+ "modelValue",
1253
+ "disabled",
1254
+ "variant",
1255
+ "aria-label",
1256
+ "onChange",
1257
+ "unstyled",
1258
+ "pt"
1259
+ ])) : O("", !0),
1260
+ e.filter ? (b(), D(p, {
1261
+ key: 1,
1262
+ class: T(e.cx("pcFilterContainer")),
1263
+ unstyled: e.unstyled,
1264
+ pt: e.ptm("pcFilterContainer")
1265
+ }, {
1266
+ default: k(function() {
1267
+ return [F(l, {
1268
+ ref: "filterInput",
1269
+ value: i.filterValue,
1270
+ onVnodeMounted: a.onFilterUpdated,
1271
+ onVnodeUpdated: a.onFilterUpdated,
1272
+ class: T(e.cx("pcFilter")),
1273
+ placeholder: e.filterPlaceholder,
1274
+ disabled: e.disabled,
1275
+ variant: e.variant,
1276
+ unstyled: e.unstyled,
1277
+ role: "searchbox",
1278
+ autocomplete: "off",
1279
+ "aria-owns": e.$id + "_list",
1280
+ "aria-activedescendant": a.focusedOptionId,
1281
+ onKeydown: a.onFilterKeyDown,
1282
+ onBlur: a.onFilterBlur,
1283
+ onInput: a.onFilterChange,
1284
+ pt: e.ptm("pcFilter"),
1285
+ formControl: { novalidate: !0 }
1286
+ }, null, 8, [
1287
+ "value",
1288
+ "onVnodeMounted",
1289
+ "onVnodeUpdated",
1290
+ "class",
1291
+ "placeholder",
1292
+ "disabled",
1293
+ "variant",
1294
+ "unstyled",
1295
+ "aria-owns",
1296
+ "aria-activedescendant",
1297
+ "onKeydown",
1298
+ "onBlur",
1299
+ "onInput",
1300
+ "pt"
1301
+ ]), F(f, {
1302
+ unstyled: e.unstyled,
1303
+ pt: e.ptm("pcFilterIconContainer")
1304
+ }, {
1305
+ default: k(function() {
1306
+ return [S(e.$slots, "filtericon", {}, function() {
1307
+ return [e.filterIcon ? (b(), A("span", w({
1308
+ key: 0,
1309
+ class: e.filterIcon
1310
+ }, e.ptm("filterIcon")), null, 16)) : (b(), D(d, C(w({ key: 1 }, e.ptm("filterIcon"))), null, 16))];
1311
+ })];
1312
+ }),
1313
+ _: 3
1314
+ }, 8, ["unstyled", "pt"])];
1315
+ }),
1316
+ _: 3
1317
+ }, 8, [
1318
+ "class",
1319
+ "unstyled",
1320
+ "pt"
1321
+ ])) : O("", !0),
1322
+ e.filter ? (b(), A("span", w({
1323
+ key: 2,
1324
+ role: "status",
1325
+ "aria-live": "polite",
1326
+ class: "p-hidden-accessible"
1327
+ }, e.ptm("hiddenFilterResult"), { "data-p-hidden-accessible": !0 }), x(a.filterResultMessageText), 17)) : O("", !0)
1328
+ ], 16)) : O("", !0),
1329
+ N("div", w({
1330
+ class: e.cx("listContainer"),
1331
+ style: { "max-height": a.virtualScrollerDisabled ? e.scrollHeight : "" }
1332
+ }, e.ptm("listContainer")), [F(m, w({ ref: a.virtualScrollerRef }, e.virtualScrollerOptions, {
1333
+ items: a.visibleOptions,
1334
+ style: { height: e.scrollHeight },
1335
+ tabindex: -1,
1336
+ disabled: a.virtualScrollerDisabled,
1337
+ pt: e.ptm("virtualScroller")
1338
+ }), le({
1339
+ content: k(function(t) {
1340
+ var n = t.styleClass, r = t.contentRef, o = t.items, s = t.getItemOptions, l = t.contentStyle, u = t.itemSize;
1341
+ return [N("ul", w({
1342
+ ref: function(e) {
1343
+ return a.listRef(e, r);
1344
+ },
1345
+ id: e.$id + "_list",
1346
+ class: [e.cx("list"), n],
1347
+ style: l,
1348
+ role: "listbox",
1349
+ "aria-multiselectable": "true",
1350
+ "aria-label": a.listAriaLabel
1351
+ }, e.ptm("list")), [(b(!0), A(M, null, y(o, function(t, n) {
1352
+ return b(), A(M, { key: a.getOptionRenderKey(t, a.getOptionIndex(n, s)) }, [a.isOptionGroup(t) ? (b(), A("li", w({
1353
+ key: 0,
1354
+ id: e.$id + "_" + a.getOptionIndex(n, s),
1355
+ style: { height: u ? u + "px" : void 0 },
1356
+ class: e.cx("optionGroup"),
1357
+ role: "option"
1358
+ }, { ref_for: !0 }, e.ptm("optionGroup")), [S(e.$slots, "optiongroup", {
1359
+ option: t.optionGroup,
1360
+ index: a.getOptionIndex(n, s)
1361
+ }, function() {
1362
+ return [P(x(a.getOptionGroupLabel(t.optionGroup)), 1)];
1363
+ })], 16, Oe)) : ue((b(), A("li", w({
1364
+ key: 1,
1365
+ id: e.$id + "_" + a.getOptionIndex(n, s),
1366
+ style: { height: u ? u + "px" : void 0 },
1367
+ class: e.cx("option", {
1368
+ option: t,
1369
+ index: n,
1370
+ getItemOptions: s
1371
+ }),
1372
+ role: "option",
1373
+ "aria-label": a.getOptionLabel(t),
1374
+ "aria-selected": a.isSelected(t),
1375
+ "aria-disabled": a.isOptionDisabled(t),
1376
+ "aria-setsize": a.ariaSetSize,
1377
+ "aria-posinset": a.getAriaPosInset(a.getOptionIndex(n, s)),
1378
+ onClick: function(e) {
1379
+ return a.onOptionSelect(e, t, a.getOptionIndex(n, s), !0);
1380
+ },
1381
+ onMousemove: function(e) {
1382
+ return a.onOptionMouseMove(e, a.getOptionIndex(n, s));
1383
+ }
1384
+ }, { ref_for: !0 }, a.getCheckboxPTOptions(t, s, n, "option"), {
1385
+ "data-p-selected": a.isSelected(t),
1386
+ "data-p-focused": i.focusedOptionIndex === a.getOptionIndex(n, s),
1387
+ "data-p-disabled": a.isOptionDisabled(t)
1388
+ }), [F(c, {
1389
+ defaultValue: a.isSelected(t),
1390
+ binary: !0,
1391
+ tabindex: -1,
1392
+ variant: e.variant,
1393
+ unstyled: e.unstyled,
1394
+ pt: a.getCheckboxPTOptions(t, s, n, "pcOptionCheckbox"),
1395
+ formControl: { novalidate: !0 }
1396
+ }, {
1397
+ icon: k(function(r) {
1398
+ return [e.$slots.optioncheckboxicon || e.$slots.itemcheckboxicon ? (b(), D(E(e.$slots.optioncheckboxicon || e.$slots.itemcheckboxicon), {
1399
+ key: 0,
1400
+ checked: r.checked,
1401
+ class: T(r.class)
1402
+ }, null, 8, ["checked", "class"])) : r.checked ? (b(), D(E(e.checkboxIcon ? "span" : "CheckIcon"), w({
1403
+ key: 1,
1404
+ class: [r.class, Q({}, e.checkboxIcon, r.checked)]
1405
+ }, { ref_for: !0 }, a.getCheckboxPTOptions(t, s, n, "pcOptionCheckbox.icon")), null, 16, ["class"])) : O("", !0)];
1406
+ }),
1407
+ _: 2
1408
+ }, 1032, [
1409
+ "defaultValue",
1410
+ "variant",
1411
+ "unstyled",
1412
+ "pt"
1413
+ ]), S(e.$slots, "option", {
1414
+ option: t,
1415
+ selected: a.isSelected(t),
1416
+ index: a.getOptionIndex(n, s)
1417
+ }, function() {
1418
+ return [N("span", w({ ref_for: !0 }, e.ptm("optionLabel")), x(a.getOptionLabel(t)), 17)];
1419
+ })], 16, ke)), [[g]])], 64);
1420
+ }), 128)), i.filterValue && (!o || o && o.length === 0) ? (b(), A("li", w({
1421
+ key: 0,
1422
+ class: e.cx("emptyMessage"),
1423
+ role: "option"
1424
+ }, e.ptm("emptyMessage")), [S(e.$slots, "emptyfilter", {}, function() {
1425
+ return [P(x(a.emptyFilterMessageText), 1)];
1426
+ })], 16)) : !e.options || e.options && e.options.length === 0 ? (b(), A("li", w({
1427
+ key: 1,
1428
+ class: e.cx("emptyMessage"),
1429
+ role: "option"
1430
+ }, e.ptm("emptyMessage")), [S(e.$slots, "empty", {}, function() {
1431
+ return [P(x(a.emptyMessageText), 1)];
1432
+ })], 16)) : O("", !0)], 16, De)];
1433
+ }),
1434
+ _: 2
1435
+ }, [e.$slots.loader ? {
1436
+ name: "loader",
1437
+ fn: k(function(t) {
1438
+ var n = t.options;
1439
+ return [S(e.$slots, "loader", { options: n })];
1440
+ }),
1441
+ key: "0"
1442
+ } : void 0]), 1040, [
1443
+ "items",
1444
+ "style",
1445
+ "disabled",
1446
+ "pt"
1447
+ ])], 16),
1448
+ S(e.$slots, "footer", {
1449
+ value: e.d_value,
1450
+ options: a.visibleOptions
1451
+ }),
1452
+ !e.options || e.options && e.options.length === 0 ? (b(), A("span", w({
1453
+ key: 1,
1454
+ role: "status",
1455
+ "aria-live": "polite",
1456
+ class: "p-hidden-accessible"
1457
+ }, e.ptm("hiddenEmptyMessage"), { "data-p-hidden-accessible": !0 }), x(a.emptyMessageText), 17)) : O("", !0),
1458
+ N("span", w({
1459
+ role: "status",
1460
+ "aria-live": "polite",
1461
+ class: "p-hidden-accessible"
1462
+ }, e.ptm("hiddenSelectedMessage"), { "data-p-hidden-accessible": !0 }), x(a.selectedMessageText), 17),
1463
+ N("span", w({
1464
+ ref: "lastHiddenFocusableElementOnOverlay",
1465
+ role: "presentation",
1466
+ "aria-hidden": "true",
1467
+ class: "p-hidden-accessible p-hidden-focusable",
1468
+ tabindex: 0,
1469
+ onFocus: t[4] ||= function() {
1470
+ return a.onLastHiddenFocus && a.onLastHiddenFocus.apply(a, arguments);
1471
+ }
1472
+ }, e.ptm("hiddenLastFocusableEl"), {
1473
+ "data-p-hidden-accessible": !0,
1474
+ "data-p-hidden-focusable": !0
1475
+ }), null, 16)
1476
+ ], 16, Ee)) : O("", !0)];
1477
+ }),
1478
+ _: 3
1479
+ }, 16, [
1480
+ "onEnter",
1481
+ "onAfterEnter",
1482
+ "onLeave",
1483
+ "onAfterLeave"
1484
+ ])];
1485
+ }),
1486
+ _: 3
1487
+ }, 8, ["appendTo"])
1488
+ ], 16, Ce);
1489
+ }
1490
+ X.render = Ae;
1491
+ //#endregion
1492
+ export { X as t };