@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,1033 @@
1
+ import { F as e, M as t, Y as n, b as r, n as i, r as a, s as o, xt as s } from "./ripple-BilzxWfY.js";
2
+ import { H as c, K as l, M as u, Q as d, Wt as f, Y as p, d as m, f as h, p as g, q as _, qt as v, u as y, y as b } from "./runtime-core.esm-bundler-D8slQ3BU.js";
3
+ import { n as x, t as S } from "./inputtext-DGIESrd0.js";
4
+ //#region node_modules/@primevue/icons/angledown/index.mjs
5
+ var C = {
6
+ name: "AngleDownIcon",
7
+ extends: a
8
+ };
9
+ function w(e) {
10
+ return O(e) || D(e) || E(e) || T();
11
+ }
12
+ function T() {
13
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14
+ }
15
+ function E(e, t) {
16
+ if (e) {
17
+ if (typeof e == "string") return k(e, t);
18
+ var n = {}.toString.call(e).slice(8, -1);
19
+ 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) ? k(e, t) : void 0;
20
+ }
21
+ }
22
+ function D(e) {
23
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
24
+ }
25
+ function O(e) {
26
+ if (Array.isArray(e)) return k(e);
27
+ }
28
+ function k(e, t) {
29
+ (t == null || t > e.length) && (t = e.length);
30
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
31
+ return r;
32
+ }
33
+ function A(e, t, n, r, i, a) {
34
+ return c(), g("svg", u({
35
+ width: "14",
36
+ height: "14",
37
+ viewBox: "0 0 14 14",
38
+ fill: "none",
39
+ xmlns: "http://www.w3.org/2000/svg"
40
+ }, e.pti()), w(t[0] ||= [y("path", {
41
+ d: "M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",
42
+ fill: "currentColor"
43
+ }, null, -1)]), 16);
44
+ }
45
+ C.render = A;
46
+ //#endregion
47
+ //#region node_modules/@primevue/icons/angleup/index.mjs
48
+ var j = {
49
+ name: "AngleUpIcon",
50
+ extends: a
51
+ };
52
+ function M(e) {
53
+ return I(e) || F(e) || P(e) || N();
54
+ }
55
+ function N() {
56
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
57
+ }
58
+ function P(e, t) {
59
+ if (e) {
60
+ if (typeof e == "string") return L(e, t);
61
+ var n = {}.toString.call(e).slice(8, -1);
62
+ 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) ? L(e, t) : void 0;
63
+ }
64
+ }
65
+ function F(e) {
66
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
67
+ }
68
+ function I(e) {
69
+ if (Array.isArray(e)) return L(e);
70
+ }
71
+ function L(e, t) {
72
+ (t == null || t > e.length) && (t = e.length);
73
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
74
+ return r;
75
+ }
76
+ function R(e, t, n, r, i, a) {
77
+ return c(), g("svg", u({
78
+ width: "14",
79
+ height: "14",
80
+ viewBox: "0 0 14 14",
81
+ fill: "none",
82
+ xmlns: "http://www.w3.org/2000/svg"
83
+ }, e.pti()), M(t[0] ||= [y("path", {
84
+ d: "M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",
85
+ fill: "currentColor"
86
+ }, null, -1)]), 16);
87
+ }
88
+ j.render = R;
89
+ //#endregion
90
+ //#region node_modules/primevue/inputnumber/style/index.mjs
91
+ var z = o.extend({
92
+ name: "inputnumber",
93
+ style: "\n .p-inputnumber {\n display: inline-flex;\n position: relative;\n }\n\n .p-inputnumber-button {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 0 0 auto;\n cursor: pointer;\n background: dt('inputnumber.button.background');\n color: dt('inputnumber.button.color');\n width: dt('inputnumber.button.width');\n transition:\n background dt('inputnumber.transition.duration'),\n color dt('inputnumber.transition.duration'),\n border-color dt('inputnumber.transition.duration'),\n outline-color dt('inputnumber.transition.duration');\n }\n\n .p-inputnumber-button:disabled {\n cursor: auto;\n }\n\n .p-inputnumber-button:not(:disabled):hover {\n background: dt('inputnumber.button.hover.background');\n color: dt('inputnumber.button.hover.color');\n }\n\n .p-inputnumber-button:not(:disabled):active {\n background: dt('inputnumber.button.active.background');\n color: dt('inputnumber.button.active.color');\n }\n\n .p-inputnumber-stacked .p-inputnumber-button {\n position: relative;\n flex: 1 1 auto;\n border: 0 none;\n }\n\n .p-inputnumber-stacked .p-inputnumber-button-group {\n display: flex;\n flex-direction: column;\n position: absolute;\n inset-block-start: 1px;\n inset-inline-end: 1px;\n height: calc(100% - 2px);\n z-index: 1;\n }\n\n .p-inputnumber-stacked .p-inputnumber-increment-button {\n padding: 0;\n border-start-end-radius: calc(dt('inputnumber.button.border.radius') - 1px);\n }\n\n .p-inputnumber-stacked .p-inputnumber-decrement-button {\n padding: 0;\n border-end-end-radius: calc(dt('inputnumber.button.border.radius') - 1px);\n }\n\n .p-inputnumber-stacked .p-inputnumber-input {\n padding-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));\n }\n\n .p-inputnumber-horizontal .p-inputnumber-button {\n border: 1px solid dt('inputnumber.button.border.color');\n }\n\n .p-inputnumber-horizontal .p-inputnumber-button:hover {\n border-color: dt('inputnumber.button.hover.border.color');\n }\n\n .p-inputnumber-horizontal .p-inputnumber-button:active {\n border-color: dt('inputnumber.button.active.border.color');\n }\n\n .p-inputnumber-horizontal .p-inputnumber-increment-button {\n order: 3;\n border-start-end-radius: dt('inputnumber.button.border.radius');\n border-end-end-radius: dt('inputnumber.button.border.radius');\n border-inline-start: 0 none;\n }\n\n .p-inputnumber-horizontal .p-inputnumber-input {\n order: 2;\n border-radius: 0;\n }\n\n .p-inputnumber-horizontal .p-inputnumber-decrement-button {\n order: 1;\n border-start-start-radius: dt('inputnumber.button.border.radius');\n border-end-start-radius: dt('inputnumber.button.border.radius');\n border-inline-end: 0 none;\n }\n\n .p-floatlabel:has(.p-inputnumber-horizontal) label {\n margin-inline-start: dt('inputnumber.button.width');\n }\n\n .p-inputnumber-vertical {\n flex-direction: column;\n }\n\n .p-inputnumber-vertical .p-inputnumber-button {\n border: 1px solid dt('inputnumber.button.border.color');\n padding: dt('inputnumber.button.vertical.padding');\n }\n\n .p-inputnumber-vertical .p-inputnumber-button:hover {\n border-color: dt('inputnumber.button.hover.border.color');\n }\n\n .p-inputnumber-vertical .p-inputnumber-button:active {\n border-color: dt('inputnumber.button.active.border.color');\n }\n\n .p-inputnumber-vertical .p-inputnumber-increment-button {\n order: 1;\n border-start-start-radius: dt('inputnumber.button.border.radius');\n border-start-end-radius: dt('inputnumber.button.border.radius');\n width: 100%;\n border-block-end: 0 none;\n }\n\n .p-inputnumber-vertical .p-inputnumber-input {\n order: 2;\n border-radius: 0;\n text-align: center;\n }\n\n .p-inputnumber-vertical .p-inputnumber-decrement-button {\n order: 3;\n border-end-start-radius: dt('inputnumber.button.border.radius');\n border-end-end-radius: dt('inputnumber.button.border.radius');\n width: 100%;\n border-block-start: 0 none;\n }\n\n .p-inputnumber-input {\n flex: 1 1 auto;\n }\n\n .p-inputnumber-fluid {\n width: 100%;\n }\n\n .p-inputnumber-fluid .p-inputnumber-input {\n width: 1%;\n }\n\n .p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input {\n width: 100%;\n }\n\n .p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon {\n font-size: dt('form.field.sm.font.size');\n width: dt('form.field.sm.font.size');\n height: dt('form.field.sm.font.size');\n }\n\n .p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon {\n font-size: dt('form.field.lg.font.size');\n width: dt('form.field.lg.font.size');\n height: dt('form.field.lg.font.size');\n }\n\n .p-inputnumber-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n cursor: pointer;\n inset-inline-end: dt('form.field.padding.x');\n color: dt('form.field.icon.color');\n }\n\n .p-inputnumber:has(.p-inputnumber-clear-icon) .p-inputnumber-input {\n padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));\n }\n\n .p-inputnumber-stacked .p-inputnumber-clear-icon {\n inset-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));\n }\n\n .p-inputnumber-stacked:has(.p-inputnumber-clear-icon) .p-inputnumber-input {\n padding-inline-end: calc(dt('inputnumber.button.width') + (dt('form.field.padding.x') * 2) + dt('icon.size'));\n }\n\n .p-inputnumber-horizontal .p-inputnumber-clear-icon {\n inset-inline-end: calc(dt('inputnumber.button.width') + dt('form.field.padding.x'));\n }\n",
94
+ classes: {
95
+ root: function(e) {
96
+ var t = e.instance, n = e.props;
97
+ return ["p-inputnumber p-component p-inputwrapper", {
98
+ "p-invalid": t.$invalid,
99
+ "p-inputwrapper-filled": t.$filled || n.allowEmpty === !1,
100
+ "p-inputwrapper-focus": t.focused,
101
+ "p-inputnumber-stacked": n.showButtons && n.buttonLayout === "stacked",
102
+ "p-inputnumber-horizontal": n.showButtons && n.buttonLayout === "horizontal",
103
+ "p-inputnumber-vertical": n.showButtons && n.buttonLayout === "vertical",
104
+ "p-inputnumber-fluid": t.$fluid
105
+ }];
106
+ },
107
+ pcInputText: "p-inputnumber-input",
108
+ clearIcon: "p-inputnumber-clear-icon",
109
+ buttonGroup: "p-inputnumber-button-group",
110
+ incrementButton: function(e) {
111
+ var t = e.instance, n = e.props;
112
+ return ["p-inputnumber-button p-inputnumber-increment-button", { "p-disabled": n.showButtons && n.max !== null && t.maxBoundry() }];
113
+ },
114
+ decrementButton: function(e) {
115
+ var t = e.instance, n = e.props;
116
+ return ["p-inputnumber-button p-inputnumber-decrement-button", { "p-disabled": n.showButtons && n.min !== null && t.minBoundry() }];
117
+ }
118
+ }
119
+ }), B = {
120
+ name: "BaseInputNumber",
121
+ extends: x,
122
+ props: {
123
+ format: {
124
+ type: Boolean,
125
+ default: !0
126
+ },
127
+ showButtons: {
128
+ type: Boolean,
129
+ default: !1
130
+ },
131
+ buttonLayout: {
132
+ type: String,
133
+ default: "stacked"
134
+ },
135
+ incrementButtonClass: {
136
+ type: String,
137
+ default: null
138
+ },
139
+ decrementButtonClass: {
140
+ type: String,
141
+ default: null
142
+ },
143
+ incrementButtonIcon: {
144
+ type: String,
145
+ default: void 0
146
+ },
147
+ incrementIcon: {
148
+ type: String,
149
+ default: void 0
150
+ },
151
+ decrementButtonIcon: {
152
+ type: String,
153
+ default: void 0
154
+ },
155
+ decrementIcon: {
156
+ type: String,
157
+ default: void 0
158
+ },
159
+ locale: {
160
+ type: String,
161
+ default: void 0
162
+ },
163
+ localeMatcher: {
164
+ type: String,
165
+ default: void 0
166
+ },
167
+ mode: {
168
+ type: String,
169
+ default: "decimal"
170
+ },
171
+ prefix: {
172
+ type: String,
173
+ default: null
174
+ },
175
+ suffix: {
176
+ type: String,
177
+ default: null
178
+ },
179
+ currency: {
180
+ type: String,
181
+ default: void 0
182
+ },
183
+ currencyDisplay: {
184
+ type: String,
185
+ default: void 0
186
+ },
187
+ useGrouping: {
188
+ type: Boolean,
189
+ default: !0
190
+ },
191
+ minFractionDigits: {
192
+ type: Number,
193
+ default: void 0
194
+ },
195
+ maxFractionDigits: {
196
+ type: Number,
197
+ default: void 0
198
+ },
199
+ roundingMode: {
200
+ type: String,
201
+ default: "halfExpand",
202
+ validator: function(e) {
203
+ return [
204
+ "ceil",
205
+ "floor",
206
+ "expand",
207
+ "trunc",
208
+ "halfCeil",
209
+ "halfFloor",
210
+ "halfExpand",
211
+ "halfTrunc",
212
+ "halfEven"
213
+ ].includes(e);
214
+ }
215
+ },
216
+ min: {
217
+ type: Number,
218
+ default: null
219
+ },
220
+ max: {
221
+ type: Number,
222
+ default: null
223
+ },
224
+ step: {
225
+ type: Number,
226
+ default: 1
227
+ },
228
+ allowEmpty: {
229
+ type: Boolean,
230
+ default: !0
231
+ },
232
+ highlightOnFocus: {
233
+ type: Boolean,
234
+ default: !1
235
+ },
236
+ showClear: {
237
+ type: Boolean,
238
+ default: !1
239
+ },
240
+ readonly: {
241
+ type: Boolean,
242
+ default: !1
243
+ },
244
+ placeholder: {
245
+ type: String,
246
+ default: null
247
+ },
248
+ inputId: {
249
+ type: String,
250
+ default: null
251
+ },
252
+ inputClass: {
253
+ type: [String, Object],
254
+ default: null
255
+ },
256
+ inputStyle: {
257
+ type: Object,
258
+ default: null
259
+ },
260
+ ariaLabelledby: {
261
+ type: String,
262
+ default: null
263
+ },
264
+ ariaLabel: {
265
+ type: String,
266
+ default: null
267
+ },
268
+ required: {
269
+ type: Boolean,
270
+ default: !1
271
+ }
272
+ },
273
+ style: z,
274
+ provide: function() {
275
+ return {
276
+ $pcInputNumber: this,
277
+ $parentInstance: this
278
+ };
279
+ }
280
+ };
281
+ function V(e) {
282
+ "@babel/helpers - typeof";
283
+ return V = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
284
+ return typeof e;
285
+ } : function(e) {
286
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
287
+ }, V(e);
288
+ }
289
+ function H(e, t) {
290
+ var n = Object.keys(e);
291
+ if (Object.getOwnPropertySymbols) {
292
+ var r = Object.getOwnPropertySymbols(e);
293
+ t && (r = r.filter(function(t) {
294
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
295
+ })), n.push.apply(n, r);
296
+ }
297
+ return n;
298
+ }
299
+ function U(e) {
300
+ for (var t = 1; t < arguments.length; t++) {
301
+ var n = arguments[t] == null ? {} : arguments[t];
302
+ t % 2 ? H(Object(n), !0).forEach(function(t) {
303
+ W(e, t, n[t]);
304
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(t) {
305
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
306
+ });
307
+ }
308
+ return e;
309
+ }
310
+ function W(e, t, n) {
311
+ return (t = G(t)) in e ? Object.defineProperty(e, t, {
312
+ value: n,
313
+ enumerable: !0,
314
+ configurable: !0,
315
+ writable: !0
316
+ }) : e[t] = n, e;
317
+ }
318
+ function G(e) {
319
+ var t = K(e, "string");
320
+ return V(t) == "symbol" ? t : t + "";
321
+ }
322
+ function K(e, t) {
323
+ if (V(e) != "object" || !e) return e;
324
+ var n = e[Symbol.toPrimitive];
325
+ if (n !== void 0) {
326
+ var r = n.call(e, t);
327
+ if (V(r) != "object") return r;
328
+ throw TypeError("@@toPrimitive must return a primitive value.");
329
+ }
330
+ return (t === "string" ? String : Number)(e);
331
+ }
332
+ function q(e) {
333
+ return Z(e) || X(e) || Y(e) || J();
334
+ }
335
+ function J() {
336
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
337
+ }
338
+ function Y(e, t) {
339
+ if (e) {
340
+ if (typeof e == "string") return Q(e, t);
341
+ var n = {}.toString.call(e).slice(8, -1);
342
+ 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) ? Q(e, t) : void 0;
343
+ }
344
+ }
345
+ function X(e) {
346
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
347
+ }
348
+ function Z(e) {
349
+ if (Array.isArray(e)) return Q(e);
350
+ }
351
+ function Q(e, t) {
352
+ (t == null || t > e.length) && (t = e.length);
353
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
354
+ return r;
355
+ }
356
+ var $ = {
357
+ name: "InputNumber",
358
+ extends: B,
359
+ inheritAttrs: !1,
360
+ emits: [
361
+ "input",
362
+ "focus",
363
+ "blur"
364
+ ],
365
+ inject: { $pcFluid: { default: null } },
366
+ numberFormat: null,
367
+ _numeral: null,
368
+ _decimal: null,
369
+ _group: null,
370
+ _minusSign: null,
371
+ _currency: null,
372
+ _suffix: null,
373
+ _prefix: null,
374
+ _index: null,
375
+ groupChar: "",
376
+ isSpecialChar: null,
377
+ prefixChar: null,
378
+ suffixChar: null,
379
+ timer: null,
380
+ data: function() {
381
+ return {
382
+ d_modelValue: this.d_value,
383
+ focused: !1
384
+ };
385
+ },
386
+ watch: {
387
+ d_value: {
388
+ immediate: !0,
389
+ handler: function(e) {
390
+ var n;
391
+ this.d_modelValue = e, (n = this.$refs.clearIcon) != null && (n = n.$el) != null && n.style && (this.$refs.clearIcon.$el.style.display = t(e) ? "none" : "block");
392
+ }
393
+ },
394
+ locale: function(e, t) {
395
+ this.updateConstructParser(e, t);
396
+ },
397
+ localeMatcher: function(e, t) {
398
+ this.updateConstructParser(e, t);
399
+ },
400
+ mode: function(e, t) {
401
+ this.updateConstructParser(e, t);
402
+ },
403
+ currency: function(e, t) {
404
+ this.updateConstructParser(e, t);
405
+ },
406
+ currencyDisplay: function(e, t) {
407
+ this.updateConstructParser(e, t);
408
+ },
409
+ useGrouping: function(e, t) {
410
+ this.updateConstructParser(e, t);
411
+ },
412
+ minFractionDigits: function(e, t) {
413
+ this.updateConstructParser(e, t);
414
+ },
415
+ maxFractionDigits: function(e, t) {
416
+ this.updateConstructParser(e, t);
417
+ },
418
+ suffix: function(e, t) {
419
+ this.updateConstructParser(e, t);
420
+ },
421
+ prefix: function(e, t) {
422
+ this.updateConstructParser(e, t);
423
+ }
424
+ },
425
+ created: function() {
426
+ this.constructParser();
427
+ },
428
+ mounted: function() {
429
+ var e;
430
+ (e = this.$refs.clearIcon) != null && (e = e.$el) != null && e.style && (this.$refs.clearIcon.$el.style.display = this.$filled ? "block" : "none");
431
+ },
432
+ methods: {
433
+ getOptions: function() {
434
+ return {
435
+ localeMatcher: this.localeMatcher,
436
+ style: this.mode,
437
+ currency: this.currency,
438
+ currencyDisplay: this.currencyDisplay,
439
+ useGrouping: this.useGrouping,
440
+ minimumFractionDigits: this.minFractionDigits,
441
+ maximumFractionDigits: this.maxFractionDigits,
442
+ roundingMode: this.roundingMode
443
+ };
444
+ },
445
+ constructParser: function() {
446
+ this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());
447
+ var e = q(new Intl.NumberFormat(this.locale, { useGrouping: !1 }).format(9876543210)).reverse(), t = new Map(e.map(function(e, t) {
448
+ return [e, t];
449
+ }));
450
+ this._numeral = RegExp(`[${e.join("")}]`, "g"), this._group = this.getGroupingExpression(), this._minusSign = this.getMinusSignExpression(), this._currency = this.getCurrencyExpression(), this._decimal = this.getDecimalExpression(), this._suffix = this.getSuffixExpression(), this._prefix = this.getPrefixExpression(), this._index = function(e) {
451
+ return t.get(e);
452
+ };
453
+ },
454
+ updateConstructParser: function(e, t) {
455
+ e !== t && this.constructParser();
456
+ },
457
+ escapeRegExp: function(e) {
458
+ return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
459
+ },
460
+ getDecimalExpression: function() {
461
+ var e = new Intl.NumberFormat(this.locale, U(U({}, this.getOptions()), {}, { useGrouping: !1 })), t = e.format(1.1);
462
+ return t === e.format(1) ? /* @__PURE__ */ RegExp("[]", "g") : RegExp(`[${t.replace(this._currency, "").trim().replace(this._numeral, "")}]`, "g");
463
+ },
464
+ getGroupingExpression: function() {
465
+ var e = new Intl.NumberFormat(this.locale, { useGrouping: !0 });
466
+ return this.groupChar = e.format(1e6).trim().replace(this._numeral, "").charAt(0), RegExp(`[${this.groupChar}]`, "g");
467
+ },
468
+ getMinusSignExpression: function() {
469
+ var e = new Intl.NumberFormat(this.locale, { useGrouping: !1 });
470
+ return RegExp(`[${e.format(-1).trim().replace(this._numeral, "")}]`, "g");
471
+ },
472
+ getCurrencyExpression: function() {
473
+ if (this.currency) {
474
+ var e = new Intl.NumberFormat(this.locale, {
475
+ style: "currency",
476
+ currency: this.currency,
477
+ currencyDisplay: this.currencyDisplay,
478
+ minimumFractionDigits: 0,
479
+ maximumFractionDigits: 0,
480
+ roundingMode: this.roundingMode
481
+ });
482
+ return RegExp(`[${e.format(1).replace(/\s/g, "").replace(this._numeral, "").replace(this._group, "")}]`, "g");
483
+ }
484
+ return /* @__PURE__ */ RegExp("[]", "g");
485
+ },
486
+ getPrefixExpression: function() {
487
+ if (this.prefix) this.prefixChar = this.prefix;
488
+ else {
489
+ var e = new Intl.NumberFormat(this.locale, {
490
+ style: this.mode,
491
+ currency: this.currency,
492
+ currencyDisplay: this.currencyDisplay
493
+ });
494
+ this.prefixChar = e.format(1).split("1")[0];
495
+ }
496
+ return RegExp(`${this.escapeRegExp(this.prefixChar || "")}`, "g");
497
+ },
498
+ getSuffixExpression: function() {
499
+ if (this.suffix) this.suffixChar = this.suffix;
500
+ else {
501
+ var e = new Intl.NumberFormat(this.locale, {
502
+ style: this.mode,
503
+ currency: this.currency,
504
+ currencyDisplay: this.currencyDisplay,
505
+ minimumFractionDigits: 0,
506
+ maximumFractionDigits: 0,
507
+ roundingMode: this.roundingMode
508
+ });
509
+ this.suffixChar = e.format(1).split("1")[1];
510
+ }
511
+ return RegExp(`${this.escapeRegExp(this.suffixChar || "")}`, "g");
512
+ },
513
+ formatValue: function(e) {
514
+ if (e != null) {
515
+ if (e === "-") return e;
516
+ if (this.format) {
517
+ var t = new Intl.NumberFormat(this.locale, this.getOptions()).format(e);
518
+ return this.prefix && (t = this.prefix + t), this.suffix && (t += this.suffix), t;
519
+ }
520
+ return e.toString();
521
+ }
522
+ return "";
523
+ },
524
+ parseValue: function(e) {
525
+ var t = e.replace(this._suffix, "").replace(this._prefix, "").trim().replace(/\s/g, "").replace(this._currency, "").replace(this._group, "").replace(this._minusSign, "-").replace(this._decimal, ".").replace(this._numeral, this._index);
526
+ if (t) {
527
+ if (t === "-") return t;
528
+ var n = +t;
529
+ return isNaN(n) ? null : n;
530
+ }
531
+ return null;
532
+ },
533
+ repeat: function(e, t, n) {
534
+ var r = this;
535
+ if (!this.readonly) {
536
+ var i = t || 500;
537
+ this.clearTimer(), this.timer = setTimeout(function() {
538
+ r.repeat(e, 40, n);
539
+ }, i), this.spin(e, n);
540
+ }
541
+ },
542
+ addWithPrecision: function(e, t) {
543
+ var n = e.toString(), r = t.toString(), i = n.includes(".") ? n.split(".")[1].length : 0, a = r.includes(".") ? r.split(".")[1].length : 0, o = 10 ** Math.max(i, a);
544
+ return Math.round((e + t) * o) / o;
545
+ },
546
+ spin: function(e, t) {
547
+ if (this.$refs.input) {
548
+ var n = this.step * t, r = this.parseValue(this.$refs.input.$el.value) || 0, i = this.validateValue(this.addWithPrecision(r, n));
549
+ this.updateInput(i, null, "spin"), this.updateModel(e, i), this.handleOnInput(e, r, i);
550
+ }
551
+ },
552
+ onUpButtonMouseDown: function(e) {
553
+ this.disabled || (this.$refs.input.$el.focus(), this.repeat(e, null, 1), e.preventDefault());
554
+ },
555
+ onUpButtonMouseUp: function() {
556
+ this.disabled || this.clearTimer();
557
+ },
558
+ onUpButtonMouseLeave: function() {
559
+ this.disabled || this.clearTimer();
560
+ },
561
+ onUpButtonKeyUp: function() {
562
+ this.disabled || this.clearTimer();
563
+ },
564
+ onUpButtonKeyDown: function(e) {
565
+ (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter") && this.repeat(e, null, 1);
566
+ },
567
+ onDownButtonMouseDown: function(e) {
568
+ this.disabled || (this.$refs.input.$el.focus(), this.repeat(e, null, -1), e.preventDefault());
569
+ },
570
+ onDownButtonMouseUp: function() {
571
+ this.disabled || this.clearTimer();
572
+ },
573
+ onDownButtonMouseLeave: function() {
574
+ this.disabled || this.clearTimer();
575
+ },
576
+ onDownButtonKeyUp: function() {
577
+ this.disabled || this.clearTimer();
578
+ },
579
+ onDownButtonKeyDown: function(e) {
580
+ (e.code === "Space" || e.code === "Enter" || e.code === "NumpadEnter") && this.repeat(e, null, -1);
581
+ },
582
+ onUserInput: function() {
583
+ this.isSpecialChar && (this.$refs.input.$el.value = this.lastValue), this.isSpecialChar = !1;
584
+ },
585
+ onInputKeyDown: function(t) {
586
+ if (!this.readonly && !t.isComposing) {
587
+ if (t.altKey || t.ctrlKey || t.metaKey) {
588
+ this.isSpecialChar = !0, this.lastValue = this.$refs.input.$el.value;
589
+ return;
590
+ }
591
+ this.lastValue = t.target.value;
592
+ var n = t.target.selectionStart, r = t.target.selectionEnd, i = r - n, a = t.target.value, o = null;
593
+ switch (t.code || t.key) {
594
+ case "ArrowUp":
595
+ this.spin(t, 1), t.preventDefault();
596
+ break;
597
+ case "ArrowDown":
598
+ this.spin(t, -1), t.preventDefault();
599
+ break;
600
+ case "ArrowLeft":
601
+ if (i > 1) {
602
+ var s = this.isNumeralChar(a.charAt(n)) ? n + 1 : n + 2;
603
+ this.$refs.input.$el.setSelectionRange(s, s);
604
+ } else this.isNumeralChar(a.charAt(n - 1)) || t.preventDefault();
605
+ break;
606
+ case "ArrowRight":
607
+ if (i > 1) {
608
+ var c = r - 1;
609
+ this.$refs.input.$el.setSelectionRange(c, c);
610
+ } else this.isNumeralChar(a.charAt(n)) || t.preventDefault();
611
+ break;
612
+ case "Tab":
613
+ case "Enter":
614
+ case "NumpadEnter":
615
+ o = this.validateValue(this.parseValue(a)), this.$refs.input.$el.value = this.formatValue(o), this.$refs.input.$el.setAttribute("aria-valuenow", o), this.updateModel(t, o);
616
+ break;
617
+ case "Backspace":
618
+ if (t.preventDefault(), n === r) {
619
+ n >= a.length && this.suffixChar !== null && (n = a.length - this.suffixChar.length, this.$refs.input.$el.setSelectionRange(n, n));
620
+ var l = a.charAt(n - 1), u = this.getDecimalCharIndexes(a), d = u.decimalCharIndex, f = u.decimalCharIndexWithoutPrefix;
621
+ if (this.isNumeralChar(l)) {
622
+ var p = this.getDecimalLength(a);
623
+ if (this._group.test(l)) this._group.lastIndex = 0, o = a.slice(0, n - 2) + a.slice(n - 1);
624
+ else if (this._decimal.test(l)) this._decimal.lastIndex = 0, p ? this.$refs.input.$el.setSelectionRange(n - 1, n - 1) : o = a.slice(0, n - 1) + a.slice(n);
625
+ else if (d > 0 && n > d) {
626
+ var m = this.isDecimalMode() && (this.minFractionDigits || 0) < p ? "" : "0";
627
+ o = a.slice(0, n - 1) + m + a.slice(n);
628
+ } else f === 1 ? (o = a.slice(0, n - 1) + "0" + a.slice(n), o = this.parseValue(o) > 0 ? o : "") : o = a.slice(0, n - 1) + a.slice(n);
629
+ }
630
+ this.updateValue(t, o, null, "delete-single");
631
+ } else o = this.deleteRange(a, n, r), this.updateValue(t, o, null, "delete-range");
632
+ break;
633
+ case "Delete":
634
+ if (t.preventDefault(), n === r) {
635
+ var h = a.charAt(n), g = this.getDecimalCharIndexes(a), _ = g.decimalCharIndex, v = g.decimalCharIndexWithoutPrefix;
636
+ if (this.isNumeralChar(h)) {
637
+ var y = this.getDecimalLength(a);
638
+ if (this._group.test(h)) this._group.lastIndex = 0, o = a.slice(0, n) + a.slice(n + 2);
639
+ else if (this._decimal.test(h)) this._decimal.lastIndex = 0, y ? this.$refs.input.$el.setSelectionRange(n + 1, n + 1) : o = a.slice(0, n) + a.slice(n + 1);
640
+ else if (_ > 0 && n > _) {
641
+ var b = this.isDecimalMode() && (this.minFractionDigits || 0) < y ? "" : "0";
642
+ o = a.slice(0, n) + b + a.slice(n + 1);
643
+ } else v === 1 ? (o = a.slice(0, n) + "0" + a.slice(n + 1), o = this.parseValue(o) > 0 ? o : "") : o = a.slice(0, n) + a.slice(n + 1);
644
+ }
645
+ this.updateValue(t, o, null, "delete-back-single");
646
+ } else o = this.deleteRange(a, n, r), this.updateValue(t, o, null, "delete-range");
647
+ break;
648
+ case "Home":
649
+ t.preventDefault(), e(this.min) && this.updateModel(t, this.min);
650
+ break;
651
+ case "End": t.preventDefault(), e(this.max) && this.updateModel(t, this.max);
652
+ }
653
+ }
654
+ },
655
+ onInputKeyPress: function(e) {
656
+ if (!this.readonly) {
657
+ var t = e.key, n = this.isDecimalSign(t), r = this.isMinusSign(t);
658
+ e.code !== "Enter" && e.preventDefault(), (Number(t) >= 0 && Number(t) <= 9 || r || n) && this.insert(e, t, {
659
+ isDecimalSign: n,
660
+ isMinusSign: r
661
+ });
662
+ }
663
+ },
664
+ onPaste: function(e) {
665
+ if (!(this.readonly || this.disabled)) {
666
+ e.preventDefault();
667
+ var t = (e.clipboardData || window.clipboardData).getData("Text");
668
+ if (!(this.inputId === "integeronly" && /[^\d-]/.test(t)) && t) {
669
+ var n = this.parseValue(t);
670
+ n != null && this.insert(e, n.toString());
671
+ }
672
+ }
673
+ },
674
+ onClearClick: function(e) {
675
+ this.updateModel(e, null), this.$refs.input.$el.focus();
676
+ },
677
+ allowMinusSign: function() {
678
+ return this.min === null || this.min < 0;
679
+ },
680
+ isMinusSign: function(e) {
681
+ return this._minusSign.test(e) || e === "-" ? (this._minusSign.lastIndex = 0, !0) : !1;
682
+ },
683
+ isDecimalSign: function(e) {
684
+ var t;
685
+ return (t = this.locale) != null && t.includes("fr") && [".", ","].includes(e) || this._decimal.test(e) ? (this._decimal.lastIndex = 0, !0) : !1;
686
+ },
687
+ isDecimalMode: function() {
688
+ return this.mode === "decimal";
689
+ },
690
+ getDecimalCharIndexes: function(e) {
691
+ var t = e.search(this._decimal);
692
+ this._decimal.lastIndex = 0;
693
+ var n = e.replace(this._prefix, "").trim().replace(/\s/g, "").replace(this._currency, "").search(this._decimal);
694
+ return this._decimal.lastIndex = 0, {
695
+ decimalCharIndex: t,
696
+ decimalCharIndexWithoutPrefix: n
697
+ };
698
+ },
699
+ getCharIndexes: function(e) {
700
+ var t = e.search(this._decimal);
701
+ this._decimal.lastIndex = 0;
702
+ var n = e.search(this._minusSign);
703
+ this._minusSign.lastIndex = 0;
704
+ var r = e.search(this._suffix);
705
+ this._suffix.lastIndex = 0;
706
+ var i = e.search(this._currency);
707
+ return this._currency.lastIndex = 0, {
708
+ decimalCharIndex: t,
709
+ minusCharIndex: n,
710
+ suffixCharIndex: r,
711
+ currencyCharIndex: i
712
+ };
713
+ },
714
+ insert: function(e, t) {
715
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
716
+ isDecimalSign: !1,
717
+ isMinusSign: !1
718
+ }, r = t.search(this._minusSign);
719
+ if (this._minusSign.lastIndex = 0, !(!this.allowMinusSign() && r !== -1)) {
720
+ var i = this.$refs.input.$el.selectionStart, a = this.$refs.input.$el.selectionEnd, o = this.$refs.input.$el.value.trim(), s = this.getCharIndexes(o), c = s.decimalCharIndex, l = s.minusCharIndex, u = s.suffixCharIndex, d = s.currencyCharIndex, f;
721
+ if (n.isMinusSign) {
722
+ var p = l === -1;
723
+ (i === 0 || i === d + 1) && (f = o, (p || a !== 0) && (f = this.insertText(o, t, 0, a)), this.updateValue(e, f, t, "insert"));
724
+ } else if (n.isDecimalSign) c > 0 && i === c ? this.updateValue(e, o, t, "insert") : (c > i && c < a || c === -1 && this.maxFractionDigits) && (f = this.insertText(o, t, i, a), this.updateValue(e, f, t, "insert"));
725
+ else {
726
+ var m = this.numberFormat.resolvedOptions().maximumFractionDigits, h = i === a ? "insert" : "range-insert";
727
+ if (c > 0 && i > c) {
728
+ if (i + t.length - (c + 1) <= m) {
729
+ var g = d >= i ? d - 1 : u >= i ? u : o.length;
730
+ f = o.slice(0, i) + t + o.slice(i + t.length, g) + o.slice(g), this.updateValue(e, f, t, h);
731
+ }
732
+ } else f = this.insertText(o, t, i, a), this.updateValue(e, f, t, h);
733
+ }
734
+ }
735
+ },
736
+ insertText: function(e, t, n, r) {
737
+ if ((t === "." ? t : t.split(".")).length === 2) {
738
+ var i = e.slice(n, r).search(this._decimal);
739
+ return this._decimal.lastIndex = 0, i > 0 ? e.slice(0, n) + this.formatValue(t) + e.slice(r) : this.formatValue(t) || e;
740
+ }
741
+ return r - n === e.length ? this.formatValue(t) : n === 0 ? t + e.slice(r) : r === e.length ? e.slice(0, n) + t : e.slice(0, n) + t + e.slice(r);
742
+ },
743
+ deleteRange: function(e, t, n) {
744
+ return n - t === e.length ? "" : t === 0 ? e.slice(n) : n === e.length ? e.slice(0, t) : e.slice(0, t) + e.slice(n);
745
+ },
746
+ initCursor: function() {
747
+ var e = this.$refs.input.$el.selectionStart, t = this.$refs.input.$el.value, n = t.length, r = null, i = (this.prefixChar || "").length;
748
+ t = t.replace(this._prefix, ""), e -= i;
749
+ var a = t.charAt(e);
750
+ if (this.isNumeralChar(a)) return e + i;
751
+ for (var o = e - 1; o >= 0;) {
752
+ if (a = t.charAt(o), this.isNumeralChar(a)) {
753
+ r = o + i;
754
+ break;
755
+ }
756
+ o--;
757
+ }
758
+ if (r !== null) this.$refs.input.$el.setSelectionRange(r + 1, r + 1);
759
+ else {
760
+ for (o = e; o < n;) {
761
+ if (a = t.charAt(o), this.isNumeralChar(a)) {
762
+ r = o + i;
763
+ break;
764
+ }
765
+ o++;
766
+ }
767
+ r !== null && this.$refs.input.$el.setSelectionRange(r, r);
768
+ }
769
+ return r || 0;
770
+ },
771
+ onInputClick: function() {
772
+ var e = this.$refs.input.$el.value;
773
+ !this.readonly && e !== n() && this.initCursor();
774
+ },
775
+ isNumeralChar: function(e) {
776
+ return e.length === 1 && (this._numeral.test(e) || this._decimal.test(e) || this._group.test(e) || this._minusSign.test(e)) ? (this.resetRegex(), !0) : !1;
777
+ },
778
+ resetRegex: function() {
779
+ this._numeral.lastIndex = 0, this._decimal.lastIndex = 0, this._group.lastIndex = 0, this._minusSign.lastIndex = 0;
780
+ },
781
+ updateValue: function(e, t, n, r) {
782
+ var i = this.$refs.input.$el.value, a = null;
783
+ t != null && (a = this.parseValue(t), a = !a && !this.allowEmpty ? 0 : a, this.updateInput(a, n, r, t), this.handleOnInput(e, i, a));
784
+ },
785
+ handleOnInput: function(e, t, n) {
786
+ if (this.isValueChanged(t, n)) {
787
+ var r, i;
788
+ this.$emit("input", {
789
+ originalEvent: e,
790
+ value: n,
791
+ formattedValue: t
792
+ }), (r = (i = this.formField).onInput) == null || r.call(i, {
793
+ originalEvent: e,
794
+ value: n
795
+ });
796
+ }
797
+ },
798
+ isValueChanged: function(e, t) {
799
+ return t === null && e !== null || t != null && t !== (typeof e == "string" ? this.parseValue(e) : e);
800
+ },
801
+ validateValue: function(e) {
802
+ return e === "-" || e == null ? null : this.min != null && e < this.min ? this.min : this.max != null && e > this.max ? this.max : e;
803
+ },
804
+ updateInput: function(e, n, r, i) {
805
+ var a;
806
+ n ||= "";
807
+ var o = this.$refs.input.$el.value, s = this.formatValue(e), c = o.length;
808
+ if (s !== i && (s = this.concatValues(s, i)), c === 0) {
809
+ this.$refs.input.$el.value = s, this.$refs.input.$el.setSelectionRange(0, 0);
810
+ var l = this.initCursor() + n.length;
811
+ this.$refs.input.$el.setSelectionRange(l, l);
812
+ } else {
813
+ var u = this.$refs.input.$el.selectionStart, d = this.$refs.input.$el.selectionEnd;
814
+ this.$refs.input.$el.value = s;
815
+ var f = s.length;
816
+ if (r === "range-insert") {
817
+ var p = this.parseValue((o || "").slice(0, u)), m = (p === null ? "" : p.toString()).split("").join(`(${this.groupChar})?`), h = new RegExp(m, "g");
818
+ h.test(s);
819
+ var g = n.split("").join(`(${this.groupChar})?`), _ = new RegExp(g, "g");
820
+ _.test(s.slice(h.lastIndex)), d = h.lastIndex + _.lastIndex, this.$refs.input.$el.setSelectionRange(d, d);
821
+ } else if (f === c) r === "insert" || r === "delete-back-single" ? this.$refs.input.$el.setSelectionRange(d + 1, d + 1) : r === "delete-single" ? this.$refs.input.$el.setSelectionRange(d - 1, d - 1) : (r === "delete-range" || r === "spin") && this.$refs.input.$el.setSelectionRange(d, d);
822
+ else if (r === "delete-back-single") {
823
+ var v = o.charAt(d - 1), y = o.charAt(d), b = c - f, x = this._group.test(y);
824
+ x && b === 1 ? d += 1 : !x && this.isNumeralChar(v) && (d += -1 * b + 1), this._group.lastIndex = 0, this.$refs.input.$el.setSelectionRange(d, d);
825
+ } else if (o === "-" && r === "insert") {
826
+ this.$refs.input.$el.setSelectionRange(0, 0);
827
+ var S = this.initCursor() + n.length + 1;
828
+ this.$refs.input.$el.setSelectionRange(S, S);
829
+ } else d += f - c, this.$refs.input.$el.setSelectionRange(d, d);
830
+ }
831
+ this.$refs.input.$el.setAttribute("aria-valuenow", e), (a = this.$refs.clearIcon) != null && (a = a.$el) != null && a.style && (this.$refs.clearIcon.$el.style.display = t(s) ? "none" : "block");
832
+ },
833
+ concatValues: function(e, t) {
834
+ if (e && t) {
835
+ var n = t.search(this._decimal);
836
+ return this._decimal.lastIndex = 0, this.suffixChar ? n === -1 ? e : e.replace(this.suffixChar, "").split(this._decimal)[0] + t.replace(this.suffixChar, "").slice(n) + this.suffixChar : n === -1 ? e : e.split(this._decimal)[0] + t.slice(n);
837
+ }
838
+ return e;
839
+ },
840
+ getDecimalLength: function(e) {
841
+ if (e) {
842
+ var t = e.split(this._decimal);
843
+ if (t.length === 2) return t[1].replace(this._suffix, "").trim().replace(/\s/g, "").replace(this._currency, "").length;
844
+ }
845
+ return 0;
846
+ },
847
+ updateModel: function(e, t) {
848
+ this.writeValue(t, e);
849
+ },
850
+ onInputFocus: function(e) {
851
+ this.focused = !0, !this.disabled && !this.readonly && this.$refs.input.$el.value !== n() && this.highlightOnFocus && e.target.select(), this.$emit("focus", e);
852
+ },
853
+ onInputBlur: function(e) {
854
+ var t, n;
855
+ this.focused = !1;
856
+ var r = e.target, i = this.validateValue(this.parseValue(r.value));
857
+ this.$emit("blur", {
858
+ originalEvent: e,
859
+ value: r.value
860
+ }), (t = (n = this.formField).onBlur) == null || t.call(n, e), r.value = this.formatValue(i), r.setAttribute("aria-valuenow", i), this.updateModel(e, i), !this.disabled && !this.readonly && this.highlightOnFocus && s();
861
+ },
862
+ clearTimer: function() {
863
+ this.timer && clearTimeout(this.timer);
864
+ },
865
+ maxBoundry: function() {
866
+ return this.d_value >= this.max;
867
+ },
868
+ minBoundry: function() {
869
+ return this.d_value <= this.min;
870
+ }
871
+ },
872
+ computed: {
873
+ upButtonListeners: function() {
874
+ var e = this;
875
+ return {
876
+ mousedown: function(t) {
877
+ return e.onUpButtonMouseDown(t);
878
+ },
879
+ mouseup: function(t) {
880
+ return e.onUpButtonMouseUp(t);
881
+ },
882
+ mouseleave: function(t) {
883
+ return e.onUpButtonMouseLeave(t);
884
+ },
885
+ keydown: function(t) {
886
+ return e.onUpButtonKeyDown(t);
887
+ },
888
+ keyup: function(t) {
889
+ return e.onUpButtonKeyUp(t);
890
+ }
891
+ };
892
+ },
893
+ downButtonListeners: function() {
894
+ var e = this;
895
+ return {
896
+ mousedown: function(t) {
897
+ return e.onDownButtonMouseDown(t);
898
+ },
899
+ mouseup: function(t) {
900
+ return e.onDownButtonMouseUp(t);
901
+ },
902
+ mouseleave: function(t) {
903
+ return e.onDownButtonMouseLeave(t);
904
+ },
905
+ keydown: function(t) {
906
+ return e.onDownButtonKeyDown(t);
907
+ },
908
+ keyup: function(t) {
909
+ return e.onDownButtonKeyUp(t);
910
+ }
911
+ };
912
+ },
913
+ formattedValue: function() {
914
+ var e = !this.d_value && !this.allowEmpty ? 0 : this.d_value;
915
+ return this.formatValue(e);
916
+ },
917
+ getFormatter: function() {
918
+ return this.numberFormat;
919
+ },
920
+ dataP: function() {
921
+ return r(W(W({
922
+ invalid: this.$invalid,
923
+ fluid: this.$fluid,
924
+ filled: this.$variant === "filled"
925
+ }, this.size, this.size), this.buttonLayout, this.showButtons && this.buttonLayout));
926
+ }
927
+ },
928
+ components: {
929
+ InputText: S,
930
+ AngleUpIcon: j,
931
+ AngleDownIcon: C,
932
+ TimesIcon: i
933
+ }
934
+ }, ee = ["data-p"], te = ["data-p"], ne = ["disabled", "data-p"], re = ["disabled", "data-p"], ie = ["disabled", "data-p"], ae = ["disabled", "data-p"];
935
+ function oe(e, t, n, r, i, a) {
936
+ var o = _("InputText"), s = _("TimesIcon");
937
+ return c(), g("span", u({ class: e.cx("root") }, e.ptmi("root"), { "data-p": a.dataP }), [
938
+ b(o, {
939
+ ref: "input",
940
+ id: e.inputId,
941
+ name: e.$formName,
942
+ role: "spinbutton",
943
+ class: f([e.cx("pcInputText"), e.inputClass]),
944
+ style: v(e.inputStyle),
945
+ defaultValue: a.formattedValue,
946
+ "aria-valuemin": e.min,
947
+ "aria-valuemax": e.max,
948
+ "aria-valuenow": e.d_value,
949
+ inputmode: e.mode === "decimal" && !e.minFractionDigits ? "numeric" : "decimal",
950
+ disabled: e.disabled,
951
+ readonly: e.readonly,
952
+ placeholder: e.placeholder,
953
+ "aria-labelledby": e.ariaLabelledby,
954
+ "aria-label": e.ariaLabel,
955
+ required: e.required,
956
+ size: e.size,
957
+ invalid: e.invalid,
958
+ variant: e.variant,
959
+ onInput: a.onUserInput,
960
+ onKeydown: a.onInputKeyDown,
961
+ onKeypress: a.onInputKeyPress,
962
+ onPaste: a.onPaste,
963
+ onClick: a.onInputClick,
964
+ onFocus: a.onInputFocus,
965
+ onBlur: a.onInputBlur,
966
+ pt: e.ptm("pcInputText"),
967
+ unstyled: e.unstyled,
968
+ "data-p": a.dataP
969
+ }, null, 8, /* @__PURE__ */ "id.name.class.style.defaultValue.aria-valuemin.aria-valuemax.aria-valuenow.inputmode.disabled.readonly.placeholder.aria-labelledby.aria-label.required.size.invalid.variant.onInput.onKeydown.onKeypress.onPaste.onClick.onFocus.onBlur.pt.unstyled.data-p".split(".")),
970
+ e.showClear && e.buttonLayout !== "vertical" ? l(e.$slots, "clearicon", {
971
+ key: 0,
972
+ class: f(e.cx("clearIcon")),
973
+ clearCallback: a.onClearClick
974
+ }, function() {
975
+ return [b(s, u({
976
+ ref: "clearIcon",
977
+ class: [e.cx("clearIcon")],
978
+ onClick: a.onClearClick
979
+ }, e.ptm("clearIcon")), null, 16, ["class", "onClick"])];
980
+ }) : h("", !0),
981
+ e.showButtons && e.buttonLayout === "stacked" ? (c(), g("span", u({
982
+ key: 1,
983
+ class: e.cx("buttonGroup")
984
+ }, e.ptm("buttonGroup"), { "data-p": a.dataP }), [l(e.$slots, "incrementbutton", { listeners: a.upButtonListeners }, function() {
985
+ return [y("button", u({ class: [e.cx("incrementButton"), e.incrementButtonClass] }, d(a.upButtonListeners, !0), {
986
+ disabled: e.disabled,
987
+ tabindex: -1,
988
+ "aria-hidden": "true",
989
+ type: "button"
990
+ }, e.ptm("incrementButton"), { "data-p": a.dataP }), [l(e.$slots, e.$slots.incrementicon ? "incrementicon" : "incrementbuttonicon", {}, function() {
991
+ return [(c(), m(p(e.incrementIcon || e.incrementButtonIcon ? "span" : "AngleUpIcon"), u({ class: [e.incrementIcon, e.incrementButtonIcon] }, e.ptm("incrementIcon"), { "data-pc-section": "incrementicon" }), null, 16, ["class"]))];
992
+ })], 16, ne)];
993
+ }), l(e.$slots, "decrementbutton", { listeners: a.downButtonListeners }, function() {
994
+ return [y("button", u({ class: [e.cx("decrementButton"), e.decrementButtonClass] }, d(a.downButtonListeners, !0), {
995
+ disabled: e.disabled,
996
+ tabindex: -1,
997
+ "aria-hidden": "true",
998
+ type: "button"
999
+ }, e.ptm("decrementButton"), { "data-p": a.dataP }), [l(e.$slots, e.$slots.decrementicon ? "decrementicon" : "decrementbuttonicon", {}, function() {
1000
+ return [(c(), m(p(e.decrementIcon || e.decrementButtonIcon ? "span" : "AngleDownIcon"), u({ class: [e.decrementIcon, e.decrementButtonIcon] }, e.ptm("decrementIcon"), { "data-pc-section": "decrementicon" }), null, 16, ["class"]))];
1001
+ })], 16, re)];
1002
+ })], 16, te)) : h("", !0),
1003
+ l(e.$slots, "incrementbutton", { listeners: a.upButtonListeners }, function() {
1004
+ return [e.showButtons && e.buttonLayout !== "stacked" ? (c(), g("button", u({
1005
+ key: 0,
1006
+ class: [e.cx("incrementButton"), e.incrementButtonClass]
1007
+ }, d(a.upButtonListeners, !0), {
1008
+ disabled: e.disabled,
1009
+ tabindex: -1,
1010
+ "aria-hidden": "true",
1011
+ type: "button"
1012
+ }, e.ptm("incrementButton"), { "data-p": a.dataP }), [l(e.$slots, e.$slots.incrementicon ? "incrementicon" : "incrementbuttonicon", {}, function() {
1013
+ return [(c(), m(p(e.incrementIcon || e.incrementButtonIcon ? "span" : "AngleUpIcon"), u({ class: [e.incrementIcon, e.incrementButtonIcon] }, e.ptm("incrementIcon"), { "data-pc-section": "incrementicon" }), null, 16, ["class"]))];
1014
+ })], 16, ie)) : h("", !0)];
1015
+ }),
1016
+ l(e.$slots, "decrementbutton", { listeners: a.downButtonListeners }, function() {
1017
+ return [e.showButtons && e.buttonLayout !== "stacked" ? (c(), g("button", u({
1018
+ key: 0,
1019
+ class: [e.cx("decrementButton"), e.decrementButtonClass]
1020
+ }, d(a.downButtonListeners, !0), {
1021
+ disabled: e.disabled,
1022
+ tabindex: -1,
1023
+ "aria-hidden": "true",
1024
+ type: "button"
1025
+ }, e.ptm("decrementButton"), { "data-p": a.dataP }), [l(e.$slots, e.$slots.decrementicon ? "decrementicon" : "decrementbuttonicon", {}, function() {
1026
+ return [(c(), m(p(e.decrementIcon || e.decrementButtonIcon ? "span" : "AngleDownIcon"), u({ class: [e.decrementIcon, e.decrementButtonIcon] }, e.ptm("decrementIcon"), { "data-pc-section": "decrementicon" }), null, 16, ["class"]))];
1027
+ })], 16, ae)) : h("", !0)];
1028
+ })
1029
+ ], 16, ee);
1030
+ }
1031
+ $.render = oe;
1032
+ //#endregion
1033
+ export { $ as t };