@runeya/runeya 2.0.114 → 2.0.115

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 (329) hide show
  1. package/{chat-HXONIBWN.js → chat-EDMSN2Z4.js} +3 -3
  2. package/{chunk-V7A622EJ.js → chunk-2QJHCNS6.js} +40 -5
  3. package/chunk-2QJHCNS6.js.map +1 -0
  4. package/{chunk-NHKZXNLU.js → chunk-KJIEAQRX.js} +38 -8
  5. package/chunk-KJIEAQRX.js.map +1 -0
  6. package/{companion-22KIHB4W.js → companion-PHE4XZBX.js} +12 -2
  7. package/index.js +3 -3
  8. package/package.json +1 -1
  9. package/{src-GRFQ5OCA.js → src-B4RWB2BN.js} +4 -4
  10. package/web/assets/AgentScalarChatInterface.vue-BF7maBl3.js +13 -0
  11. package/web/assets/AgentTerminalPage-CvmJM-z2.js +1 -0
  12. package/web/assets/AiChatPage-CZvzic7w.js +1 -0
  13. package/web/assets/AppLayout-B6rcGZ-d.js +1 -0
  14. package/web/assets/AuditPage-Zow6i_p1.js +1 -0
  15. package/web/assets/CloudAccountPage-C7NM_P_L.js +1 -0
  16. package/web/assets/CloudAccountPage-EIJZWYuK.js +1 -0
  17. package/web/assets/CloudMessagingPage-TLIkdLja.js +2 -0
  18. package/web/assets/DashboardPage-DVe-s0J_.js +164 -0
  19. package/web/assets/DirectoryPickerDialog-B7FOXRqJ.js +1 -0
  20. package/web/assets/{EditorIcon-RLOjIqbo.js → EditorIcon-DJxKo-Bu.js} +2 -2
  21. package/web/assets/EnvironmentForm-1NSDqR4s.js +108 -0
  22. package/web/assets/EnvironmentFormPage-B8u9s5R1.js +1 -0
  23. package/web/assets/EnvironmentListPage-CmzFuAkD.js +1 -0
  24. package/web/assets/KanbanBoardPage-B4luJ-Om.css +1 -0
  25. package/web/assets/KanbanBoardPage-BwlRY-B5.js +4 -0
  26. package/web/assets/KanbanListPage-BHvmkCBo.js +1 -0
  27. package/web/assets/LaunchProjectPage-CLtvEtB7.js +1 -0
  28. package/web/assets/LaunchServicesPage-CNwMUBEf.js +1 -0
  29. package/web/assets/LogViewer-CttayRws.js +3 -0
  30. package/web/assets/OrgKeyPrompt-BCUxooW7.js +1 -0
  31. package/web/assets/{ProcessControls-BR7DB2V1.js → ProcessControls-B_21fX0o.js} +1 -1
  32. package/web/assets/ProcessDetailPage-C9SV4g8j.js +1 -0
  33. package/web/assets/{ProcessMetrics-hLgUsuYP.js → ProcessMetrics-jxJHtg7z.js} +2 -2
  34. package/web/assets/RandomJobTestPage-0PVLJcpY.js +2 -0
  35. package/web/assets/ScenarioEditorPage-CDRQjUbW.js +14 -0
  36. package/web/assets/SendToChatDialog-WvHUhHoF.js +1 -0
  37. package/web/assets/ServiceControlsBar-BUTVG9E_.js +1 -0
  38. package/web/assets/ServiceDetailPage-BzPogs-k.js +2 -0
  39. package/web/assets/ServiceFormPage-BAnq0Ajd.js +1 -0
  40. package/web/assets/SettingsPage-B60IQ4-n.js +2063 -0
  41. package/web/assets/UnlockPage-BrBOIaYO.js +1 -0
  42. package/web/assets/VaultMigrationPage-DwPlrgAk.js +1 -0
  43. package/web/assets/VersionBadge-VifKvUR5.js +1 -0
  44. package/web/assets/WikiPage-hb8nDENE.js +1 -0
  45. package/web/assets/WikiView-BGFK-ViQ.js +1 -0
  46. package/web/assets/{add-scalar-classes-cHsZv3GE.js → add-scalar-classes-B7RXfMBe.js} +26 -26
  47. package/web/assets/autocomplete-CeUb1Plo.js +308 -0
  48. package/web/assets/{basic-shape-diamond.svg-BUMCcN0D.js → basic-shape-diamond.svg-D95sAEHe.js} +1 -1
  49. package/web/assets/{basic-shape-hexagon.svg-BmAnv1Zn.js → basic-shape-hexagon.svg-Bhu8sbuK.js} +1 -1
  50. package/web/assets/{basic-shape-primary-circle-ellipse-round.svg-CF2Cg5AY.js → basic-shape-primary-circle-ellipse-round.svg-BPXa2nfu.js} +1 -1
  51. package/web/assets/{basic-shape-primary-square-rectangle.svg-rdMfkqQB.js → basic-shape-primary-square-rectangle.svg-DYx2Drq6.js} +1 -1
  52. package/web/assets/{basic-shape-shield.svg-CoSrJaBH.js → basic-shape-shield.svg-iaNrBbaU.js} +1 -1
  53. package/web/assets/{browser-BoyoXZWS.js → browser-Bd9Xf4OZ.js} +1 -1
  54. package/web/assets/{browser-DbK6HdIJ.js → browser-DhkJWAns.js} +1 -1
  55. package/web/assets/card-WTAGOi1D.js +32 -0
  56. package/web/assets/{checkbox-cWhIZvRq.js → checkbox-DZeCLgbK.js} +3 -3
  57. package/web/assets/{chip-BCDh4zSF.js → chip-CzDSaVrV.js} +2 -2
  58. package/web/assets/client-DcD_v2XG.js +24 -0
  59. package/web/assets/cloud-chat.store-C0vZ0R5r.js +1 -0
  60. package/web/assets/cloud-client-P2Cyjp5i.js +1 -0
  61. package/web/assets/cloud-session-5od8XXV-.js +2 -0
  62. package/web/assets/cloud-session-DEFzA7ER.js +1 -0
  63. package/web/assets/column-D-tpUFcH.js +763 -0
  64. package/web/assets/{computer-device-desktop-monitor.svg-D3Nf3GcY.js → computer-device-desktop-monitor.svg-CK-yuA7j.js} +1 -1
  65. package/web/assets/{computer-device-desktop.svg-BQCxMSv9.js → computer-device-desktop.svg-DnR_dL9H.js} +1 -1
  66. package/web/assets/{computer-device-laptop.svg-dEMc6BOr.js → computer-device-laptop.svg-B4NDUXf6.js} +1 -1
  67. package/web/assets/{computer-device-mobile-phone-android-samsung-back.svg-B2oauuK7.js → computer-device-mobile-phone-android-samsung-back.svg-CDy5Mj_3.js} +1 -1
  68. package/web/assets/{computer-device-mobile-phone-android-samsung.svg-DbvTvgW3.js → computer-device-mobile-phone-android-samsung.svg-DZwCAngQ.js} +1 -1
  69. package/web/assets/{computer-device-mobile-phone-iphone-x-back.svg-BffVzG1Z.js → computer-device-mobile-phone-iphone-x-back.svg-qnHXKnfy.js} +1 -1
  70. package/web/assets/{computer-device-mobile-phone-iphone-x.svg-DaKjCh5i.js → computer-device-mobile-phone-iphone-x.svg-CufxVRii.js} +1 -1
  71. package/web/assets/{computer-device-mobile-tablet-touch.svg-D6enlKZz.js → computer-device-mobile-tablet-touch.svg-DvNOww1M.js} +1 -1
  72. package/web/assets/{computer-device-mobile-tablet.svg-DczqjS80.js → computer-device-mobile-tablet.svg-C30Nrbgf.js} +1 -1
  73. package/web/assets/{computer-device-network-ethernet-cat6.svg-DlENyx_k.js → computer-device-network-ethernet-cat6.svg-BkhnUZzo.js} +1 -1
  74. package/web/assets/{computer-device-network-lan-www.svg-yNt-aX4h.js → computer-device-network-lan-www.svg-DXEfVvcC.js} +1 -1
  75. package/web/assets/{computer-device-network-wifi-connection.svg-BF4mr605.js → computer-device-network-wifi-connection.svg-CRSKVh1x.js} +1 -1
  76. package/web/assets/{computer-device-network-wifi-router.svg-DRoqUaxt.js → computer-device-network-wifi-router.svg-DwfOCroy.js} +1 -1
  77. package/web/assets/{cssMode-C3skDop0.js → cssMode-Dc5jzss9.js} +1 -1
  78. package/web/assets/{divider-BNfKWMBt.js → divider-Diym1gIH.js} +2 -2
  79. package/web/assets/{docx-preview-BcKna2tp.js → docx-preview-B62lLslx.js} +1 -1
  80. package/web/assets/{ecology-science-erlenmeyer-flask.svg-DzIlVRs4.js → ecology-science-erlenmeyer-flask.svg-CVBcLrkT.js} +1 -1
  81. package/web/assets/{fieldset-BuBMzF7s.js → fieldset-xjeWC_Zd.js} +2 -2
  82. package/web/assets/{freemarker2-8KoXWZV4.js → freemarker2-CCSFwo1D.js} +1 -1
  83. package/web/assets/{handlebars-Di1mMCka.js → handlebars-Bo71unsx.js} +1 -1
  84. package/web/assets/{html-_oD0gCXS.js → html-Bm9228kc.js} +1 -1
  85. package/web/assets/{htmlMode-oO0BRqxZ.js → htmlMode-BmR9QSyO.js} +1 -1
  86. package/web/assets/{image-flash-lightning.svg-C5G7CIjI.js → image-flash-lightning.svg-BdEJcGIK.js} +1 -1
  87. package/web/assets/{image-picture-flower.svg-BlSjH6n2.js → image-picture-flower.svg-B-mtrwDE.js} +1 -1
  88. package/web/assets/{index-Bb59Dhi7.js → index-8J1A633V.js} +37 -37
  89. package/web/assets/{index-DnKWcxcI.css → index-CuOHmXqW.css} +1 -1
  90. package/web/assets/{interface-alert-exclamation-diamond.svg-CSuNI4Up.js → interface-alert-exclamation-diamond.svg-9cBuGRNJ.js} +1 -1
  91. package/web/assets/{interface-alert-exclamation-triangle-warning.svg-BS-GmL7u.js → interface-alert-exclamation-triangle-warning.svg-CEzfFTAS.js} +1 -1
  92. package/web/assets/{interface-alert-information-circle.svg-lxDiR_kN.js → interface-alert-information-circle.svg-BjpTNsHF.js} +1 -1
  93. package/web/assets/{interface-award-crown.svg-Bg3g-gp9.js → interface-award-crown.svg-DGFO5nfn.js} +1 -1
  94. package/web/assets/{interface-bookmark.svg-DjFjxPmF.js → interface-bookmark-tag.svg-D5jyBgha.js} +1 -1
  95. package/web/assets/{interface-bookmark-tag.svg-CJhcnt4y.js → interface-bookmark.svg-u38u4053.js} +1 -1
  96. package/web/assets/{interface-calendar-date-one.svg-BxlfBDAQ.js → interface-calendar-date-one.svg-CEE3ju0p.js} +1 -1
  97. package/web/assets/{interface-content-book-open-pages.svg-DRFINaMA.js → interface-content-book-open-pages.svg-S1nvOdAe.js} +1 -1
  98. package/web/assets/{interface-content-book-page.svg-BvTE7WKM.js → interface-content-book-page.svg-CtDjLJwZ.js} +1 -1
  99. package/web/assets/{interface-content-file.svg-nUkQbRVq.js → interface-content-file.svg-AD0WHI0R.js} +1 -1
  100. package/web/assets/{interface-content-folder.svg-Dk0gmwET.js → interface-content-folder.svg-CM-PNCCw.js} +1 -1
  101. package/web/assets/interface-content-folder.svg-vAfHUVxs.js +1 -0
  102. package/web/assets/{interface-copy-clipboard.svg-w8BtIe-u.js → interface-copy-clipboard.svg-rflxiB0d.js} +1 -1
  103. package/web/assets/{interface-edit-attachment.svg-DgMGWEa8.js → interface-edit-attachment.svg-DrANyzys.js} +1 -1
  104. package/web/assets/{interface-edit-binocular.svg-DN6G5CSY.js → interface-edit-binocular.svg-BETaEZ89.js} +1 -1
  105. package/web/assets/{interface-edit-magic-wand.svg-C1n98Lqv.js → interface-edit-magic-wand.svg-Bj6FVo53.js} +1 -1
  106. package/web/assets/{interface-edit-tool-paint-roller.svg-1LYXizgp.js → interface-edit-tool-paint-roller.svg-Bp6eRqNw.js} +1 -1
  107. package/web/assets/{interface-edit-tool-pencil.svg-BRO1_1Q-.js → interface-edit-tool-pencil.svg-DcLn0a3t.js} +1 -1
  108. package/web/assets/{interface-favorite-award.svg-K3RoRC9Z.js → interface-favorite-award.svg-DUwbk0Rk.js} +1 -1
  109. package/web/assets/{interface-favorite-flag.svg-eOXzJzTe.js → interface-favorite-flag.svg-BRp2Dr2h.js} +1 -1
  110. package/web/assets/{interface-favorite-heart.svg-DKmWOfFT.js → interface-favorite-heart.svg-Bt_5Dxks.js} +1 -1
  111. package/web/assets/{interface-favorite-star.svg-B4ZMi-k_.js → interface-favorite-star.svg-iaJ9oR-m.js} +1 -1
  112. package/web/assets/{interface-favorite-stars-sparkles.svg-Ccy5ljOs.js → interface-favorite-stars-sparkles.svg-C3lZkFSY.js} +1 -1
  113. package/web/assets/{interface-hierarchy-flowchart.svg-Bds4M5Kf.js → interface-hierarchy-flowchart.svg-NRnPKxEv.js} +1 -1
  114. package/web/assets/{interface-home-house.svg-aj5qQvoL.js → interface-home-house.svg-C2pnwXuY.js} +1 -1
  115. package/web/assets/{interface-hyperlink.svg-BWH__vGU.js → interface-hyperlink.svg-DMdhqTQ5.js} +1 -1
  116. package/web/assets/{interface-lighting-brightness.svg-SIIaOEUo.js → interface-lighting-brightness.svg-Dvs_nG0d.js} +1 -1
  117. package/web/assets/{interface-lock-closed.svg-DPmezgF_.js → interface-lock-closed.svg-CBeF2Ru4.js} +1 -1
  118. package/web/assets/{interface-lock-open-unlock.svg-nZAvhfDP.js → interface-lock-open-unlock.svg-sChGga1F.js} +1 -1
  119. package/web/assets/{interface-login-key.svg-DNzo1Ns4.js → interface-login-key.svg-cZB0Vhyp.js} +1 -1
  120. package/web/assets/{interface-search.svg-BNwuY49S.js → interface-search.svg-CjcIgtti.js} +1 -1
  121. package/web/assets/{interface-setting-cog.svg-CkWrZG44.js → interface-setting-cog.svg-H5RLVC2p.js} +1 -1
  122. package/web/assets/{interface-share-megaphone-bullhorn.svg-CQbFb4I6.js → interface-share-megaphone-bullhorn.svg-BEk0DA1W.js} +1 -1
  123. package/web/assets/{interface-share-rocket.svg-B3qkIino.js → interface-share-rocket.svg-p6tQEwJ6.js} +1 -1
  124. package/web/assets/{interface-share-satellite.svg-D1XVQrMX.js → interface-share-satellite.svg-BScMkxzb.js} +1 -1
  125. package/web/assets/{interface-share-space-ship.svg-CG0wysjx.js → interface-share-space-ship.svg-RtJDwluc.js} +1 -1
  126. package/web/assets/{interface-share.svg-fGDZRZpK.js → interface-share.svg-_Rnlgc89.js} +1 -1
  127. package/web/assets/{interface-signal-square.svg-728gMSFK.js → interface-signal-square.svg-sGo7FmcD.js} +1 -1
  128. package/web/assets/{interface-time-clock-circle.svg-FIPylr8W.js → interface-time-clock-circle.svg-CoQLcW4m.js} +1 -1
  129. package/web/assets/{interface-time-hour-glass.svg-kzYL54EY.js → interface-time-hour-glass.svg-C4rHS8Sx.js} +1 -1
  130. package/web/assets/{interface-users-multiple.svg-CQBUiGvK.js → interface-users-multiple.svg-B4ewwKgQ.js} +1 -1
  131. package/web/assets/{interface-weather-moon.svg-ATClcUHD.js → interface-weather-moon.svg-TOU86ccq.js} +1 -1
  132. package/web/assets/{javascript-BqC30lYi.js → javascript-3xh4h-z5.js} +1 -1
  133. package/web/assets/{jsonMode-C_1z-3bo.js → jsonMode-C6AJYdBQ.js} +2 -2
  134. package/web/assets/{liquid-CcIJLQp6.js → liquid-B1uuh-2_.js} +1 -1
  135. package/web/assets/{lspLanguageFeatures-Dkkq6B5B.js → lspLanguageFeatures-BSf4GNlz.js} +3 -3
  136. package/web/assets/{mail-chat-bubble-square.svg-DPS_WcTb.js → mail-chat-bubble-square.svg-Fe7IU49T.js} +1 -1
  137. package/web/assets/{mail-send-email-paper-airplane.svg-DecU3TSM.js → mail-send-email-paper-airplane.svg-Cu3dNuIm.js} +1 -1
  138. package/web/assets/{mail-send-envelope.svg-B0WUbrJn.js → mail-send-envelope.svg-C3l1liPg.js} +1 -1
  139. package/web/assets/{mdx-B6rZ9uHL.js → mdx-DjWUPAFj.js} +1 -1
  140. package/web/assets/{minus-DeqQKZj2.js → minus-Cy49kn7z.js} +2 -2
  141. package/web/assets/modal-4lYrZSCG.js +1 -0
  142. package/web/assets/modal-C0BaKlvZ.js +5 -0
  143. package/web/assets/{money-cashier-receipt.svg-D_YgywQm.js → money-cashier-receipt.svg-OkY-eUsN.js} +1 -1
  144. package/web/assets/{money-currency-dollar-pay.svg-Cn6r6wOa.js → money-currency-dollar-pay.svg-DVA6DUQs.js} +1 -1
  145. package/web/assets/{money-graph-arrow-increase.svg-CJNTNw-n.js → money-graph-arrow-increase.svg-5zYZLe6Q.js} +1 -1
  146. package/web/assets/{money-graph-bar-chart-increase.svg-CppRtHGi.js → money-graph-bar-chart-increase.svg-CqGQIzPc.js} +1 -1
  147. package/web/assets/multiselect-C2K875ec.js +251 -0
  148. package/web/assets/{nature-ecology-leaf.svg-CQ0MN2L3.js → nature-ecology-leaf.svg-B-jPo4Mf.js} +1 -1
  149. package/web/assets/{password-CAxjRWlv.js → password-FAGLfFXd.js} +4 -4
  150. package/web/assets/{phone-telephone.svg-B1B58EPX.js → phone-telephone.svg-BBDd4gOe.js} +1 -1
  151. package/web/assets/{plus-BbJtYZcc.js → plus-DvHGmumH.js} +6 -6
  152. package/web/assets/process.store-Dkhppeiw.js +1 -0
  153. package/web/assets/{programming-bug.svg-BEWm8EI_.js → programming-bug.svg-Di_RRUT8.js} +1 -1
  154. package/web/assets/{programming-cloud.svg-CdySvaW9.js → programming-cloud.svg-UXDdd80c.js} +1 -1
  155. package/web/assets/{programming-computer-database-server.svg-CWEUaz7j.js → programming-computer-database-server.svg-DqyeVkz2.js} +1 -1
  156. package/web/assets/{programming-computer-database.svg-CfKj2TgZ.js → programming-computer-database.svg-BB9uaRkU.js} +1 -1
  157. package/web/assets/{programming-module-four-layout.svg-C76Rw3Ex.js → programming-module-four-layout.svg-DXHXfvRQ.js} +1 -1
  158. package/web/assets/{programming-module-three.svg-CcHnlghQ.js → programming-module-three.svg-BqdjaGQY.js} +1 -1
  159. package/web/assets/{programming-module.svg-ZvGCRQcI.js → programming-module.svg-Dca7humV.js} +1 -1
  160. package/web/assets/{programming-script-code.svg-Cn120r4b.js → programming-script-code.svg-S7W_TNxH.js} +1 -1
  161. package/web/assets/project-launch.store-HsHnuv7p.js +1 -0
  162. package/web/assets/project.store-nYOH1fu8.js +1 -0
  163. package/web/assets/{python-DW1zllmK.js → python-BMgf76Zf.js} +1 -1
  164. package/web/assets/radiobutton-BQ5ty9EJ.js +145 -0
  165. package/web/assets/{razor-BZpBWSzp.js → razor-DRB94rOF.js} +1 -1
  166. package/web/assets/router-CEGkI1tc.js +1 -0
  167. package/web/assets/settings-scope-Dj1u8OM-.js +1 -0
  168. package/web/assets/settings.store-CzBxGLJM.js +1 -0
  169. package/web/assets/{shopping-cart.svg-Dw4bDHk1.js → shopping-cart.svg-BSU4UsCc.js} +1 -1
  170. package/web/assets/{shopping-gift-present.svg-D2vpkgp3.js → shopping-gift-present.svg-CC16xqoa.js} +1 -1
  171. package/web/assets/{shopping-shipping-box-parcel-package.svg-ZBGm8HDh.js → shopping-shipping-box-parcel-package.svg-jK-_sKtf.js} +1 -1
  172. package/web/assets/src-21gpk7yl.js +572 -0
  173. package/web/assets/{src-BPpAUSsR.js → src-Brqld0NK.js} +25 -25
  174. package/web/assets/{src-DT1d6_ti.css → src-D2BeOnZr.css} +1 -1
  175. package/web/assets/src-DYhMIuuF.js +1 -0
  176. package/web/assets/{tabpanel-BK5mk4wY.js → tabpanel-BytkhVWV.js} +3 -3
  177. package/web/assets/{tag-new-circle.svg-DZvtaqP7.js → tag-new-circle.svg-DOyNg7L6.js} +1 -1
  178. package/web/assets/theme-GoDEfTsY.js +1 -0
  179. package/web/assets/{toggleswitch-DV2NI7sP.js → toggleswitch-Qo70K7EJ.js} +2 -2
  180. package/web/assets/{travel-map-earth-globe.svg-DGAqIUIb.js → travel-map-earth-globe.svg-D6szY-qJ.js} +1 -1
  181. package/web/assets/trpc-D_S7-UJx.js +1 -0
  182. package/web/assets/{tsMode-BG0XT-Oz.js → tsMode-Lbkz8xJi.js} +5 -5
  183. package/web/assets/{typescript-U9wvdaB0.js → typescript-C9Y4Q3Pi.js} +1 -1
  184. package/web/assets/useAiChatDrawer-GXkAcvQ3.js +1 -0
  185. package/web/assets/useCloudOrg-C0YVyKuT.js +1 -0
  186. package/web/assets/useEnvVarAutocomplete-Dkjm0cg5.js +1 -0
  187. package/web/assets/useProjectCatalog-BwvqZBo1.js +1 -0
  188. package/web/assets/{useProjectCloudOrg-BZ6GS8YW.js → useProjectCloudOrg-DpsnzqQF.js} +1 -1
  189. package/web/assets/useServiceUrlHost-BFSLGMHh.js +1 -0
  190. package/web/assets/{xml-JveuDgU5.js → xml-BAzLHFet.js} +1 -1
  191. package/web/assets/{yaml-BNmzGPG1.js → yaml-Dd3JbA6E.js} +1 -1
  192. package/web/index.html +2 -2
  193. package/chunk-NHKZXNLU.js.map +0 -1
  194. package/chunk-V7A622EJ.js.map +0 -1
  195. package/web/assets/AgentScalarChatInterface.vue-KL1b2GDm.js +0 -13
  196. package/web/assets/AgentTerminalPage-DubTDN3-.js +0 -1
  197. package/web/assets/AiChatPage-Df1JNWxr.js +0 -1
  198. package/web/assets/AppLayout--ZEfeH5K.js +0 -1
  199. package/web/assets/AuditPage-DZLY64zx.js +0 -1
  200. package/web/assets/CloudAccountPage-BpfFidgM.js +0 -1
  201. package/web/assets/CloudAccountPage-CCk0FKF8.js +0 -1
  202. package/web/assets/CloudMessagingPage-DbnjE6pg.js +0 -2
  203. package/web/assets/DashboardPage-CPgdr3U-.js +0 -164
  204. package/web/assets/DirectoryPickerDialog-BtX228xy.js +0 -1
  205. package/web/assets/EnvironmentForm-Cwi5EARv.js +0 -108
  206. package/web/assets/EnvironmentFormPage-CMK0lTUK.js +0 -1
  207. package/web/assets/EnvironmentListPage-CY76bL-Y.js +0 -1
  208. package/web/assets/KanbanBoardPage-CoTX8nB6.css +0 -1
  209. package/web/assets/KanbanBoardPage-DtVoDQR4.js +0 -4
  210. package/web/assets/KanbanListPage-Cp_XsnaI.js +0 -1
  211. package/web/assets/LaunchProjectPage-BDcx3UWP.js +0 -1
  212. package/web/assets/LaunchServicesPage-BHfVXHts.js +0 -1
  213. package/web/assets/LogViewer-CC8Rnu8H.js +0 -3
  214. package/web/assets/OrgKeyPrompt-BpeV56y2.js +0 -1
  215. package/web/assets/ProcessDetailPage-CqKOMDor.js +0 -1
  216. package/web/assets/RandomJobTestPage-Dxeo-YM8.js +0 -2
  217. package/web/assets/ScenarioEditorPage-Ct0Hot5L.js +0 -14
  218. package/web/assets/SendToChatDialog-BFMK2Ylc.js +0 -1
  219. package/web/assets/ServiceControlsBar-BrB5-hwX.js +0 -1
  220. package/web/assets/ServiceDetailPage-CvzKj0y5.js +0 -2
  221. package/web/assets/ServiceFormPage-BQ9egUsd.js +0 -1
  222. package/web/assets/SettingsPage-BkDnemDo.js +0 -2063
  223. package/web/assets/UnlockPage-CfC9KlpU.js +0 -1
  224. package/web/assets/VaultMigrationPage--yZMLWJE.js +0 -1
  225. package/web/assets/VersionBadge-BwEG46HR.js +0 -1
  226. package/web/assets/WikiPage-BIdskAWp.js +0 -1
  227. package/web/assets/WikiView-BxEI8-0-.js +0 -1
  228. package/web/assets/autocomplete-B25vU3CM.js +0 -308
  229. package/web/assets/card-DWrsZeyX.js +0 -32
  230. package/web/assets/client-CoJfWFgW.js +0 -24
  231. package/web/assets/cloud-chat.store-D3IBLjfr.js +0 -1
  232. package/web/assets/cloud-client-1ktrZbIZ.js +0 -1
  233. package/web/assets/cloud-session-CshGFFZq.js +0 -2
  234. package/web/assets/cloud-session-xsmHULd2.js +0 -1
  235. package/web/assets/column-CUcKvWQ-.js +0 -907
  236. package/web/assets/interface-content-folder.svg-Ceg2HWM6.js +0 -1
  237. package/web/assets/modal-Dusr9NrR.js +0 -5
  238. package/web/assets/modal-HmXW4Uc-.js +0 -1
  239. package/web/assets/multiselect-CnW-FejM.js +0 -251
  240. package/web/assets/process.store-QaoIwjwH.js +0 -1
  241. package/web/assets/project-launch.store-7hF99jG1.js +0 -1
  242. package/web/assets/project.store-BrqNEqwE.js +0 -1
  243. package/web/assets/router-CD789Ucf.js +0 -1
  244. package/web/assets/settings-scope-CaZf4U98.js +0 -1
  245. package/web/assets/settings.store-CpWWaJPT.js +0 -1
  246. package/web/assets/src-Bztv-8u_.js +0 -1
  247. package/web/assets/src-Dq-jXQXa.js +0 -572
  248. package/web/assets/theme-DAC0A2ah.js +0 -1
  249. package/web/assets/trpc-C8aEpqHN.js +0 -1
  250. package/web/assets/useAiChatDrawer-DnBcJs6b.js +0 -1
  251. package/web/assets/useCloudOrg-BGJUSqH6.js +0 -1
  252. package/web/assets/useEnvVarAutocomplete-YTyAq2GI.js +0 -1
  253. package/web/assets/useProjectCatalog-ieXa-NY9.js +0 -1
  254. package/web/assets/useServiceUrlHost-C8K_BFms.js +0 -1
  255. /package/{chat-HXONIBWN.js.map → chat-EDMSN2Z4.js.map} +0 -0
  256. /package/{companion-22KIHB4W.js.map → companion-PHE4XZBX.js.map} +0 -0
  257. /package/{src-GRFQ5OCA.js.map → src-B4RWB2BN.js.map} +0 -0
  258. /package/web/assets/{abap-B8g_2xYy.js → abap-DblxFMgX.js} +0 -0
  259. /package/web/assets/{apex-Bm8w4T5A.js → apex-C_fmPlQy.js} +0 -0
  260. /package/web/assets/{azcli-BqdUW6F8.js → azcli-D73HZyav.js} +0 -0
  261. /package/web/assets/{bat-Bngf0lQU.js → bat-Br4Biw6V.js} +0 -0
  262. /package/web/assets/{bicep-DzO554JS.js → bicep-Cwg6_V-m.js} +0 -0
  263. /package/web/assets/{browser-BJX5ZrVN.js → browser-D6yPejPt.js} +0 -0
  264. /package/web/assets/{cameligo-Bcy3ohdb.js → cameligo-Dq6Izwzi.js} +0 -0
  265. /package/web/assets/{clojure-CZbiqkDV.js → clojure-U0exYVUx.js} +0 -0
  266. /package/web/assets/{coffee-CDuhyV-7.js → coffee-mPGPozSE.js} +0 -0
  267. /package/web/assets/{cpp-BklV8f4x.js → cpp-lpr_PQMA.js} +0 -0
  268. /package/web/assets/{csharp-BelR_XiC.js → csharp-saQQwY3s.js} +0 -0
  269. /package/web/assets/{csp-DUjeBS2K.js → csp-CcDpUBZN.js} +0 -0
  270. /package/web/assets/{css-CvbYbEko.js → css-D6QFYBbL.js} +0 -0
  271. /package/web/assets/{cypher-Dwrbk-SP.js → cypher-B_4KCq-w.js} +0 -0
  272. /package/web/assets/{dart-BW1E5h9O.js → dart-CgLuovz1.js} +0 -0
  273. /package/web/assets/{dockerfile-B41ilpF9.js → dockerfile-DObNIc52.js} +0 -0
  274. /package/web/assets/{ecl-BZE6Vxna.js → ecl-BpCwjSsH.js} +0 -0
  275. /package/web/assets/{elixir-CtYg0bLh.js → elixir-CebZWKus.js} +0 -0
  276. /package/web/assets/{flow9-Sgvy48_I.js → flow9-DhoDs9JD.js} +0 -0
  277. /package/web/assets/{fsharp-BzAfXfKg.js → fsharp-YDWqgr0W.js} +0 -0
  278. /package/web/assets/{go-D7oonABu.js → go-CaPX4mu5.js} +0 -0
  279. /package/web/assets/{graphql-BEN-qkl0.js → graphql-DOSo46Ed.js} +0 -0
  280. /package/web/assets/{hcl-CE0OhwCq.js → hcl-nSYpx4qj.js} +0 -0
  281. /package/web/assets/{ini-CCLtcvjA.js → ini-Ca22qQIM.js} +0 -0
  282. /package/web/assets/{java-Bao8w_gp.js → java-KrQduvTo.js} +0 -0
  283. /package/web/assets/{julia-Dr0hFYrl.js → julia-Bb2MDsY_.js} +0 -0
  284. /package/web/assets/{kotlin-Cbfu8lcM.js → kotlin-DB7e82Vg.js} +0 -0
  285. /package/web/assets/{less-BU4gEpXr.js → less-K5fiQqgY.js} +0 -0
  286. /package/web/assets/{lexon-GpBGGdTS.js → lexon-Do9EcqkA.js} +0 -0
  287. /package/web/assets/{lua-DIPKk37y.js → lua-DU9Dpzvs.js} +0 -0
  288. /package/web/assets/{m3-CSOypKGf.js → m3-pF6PmPkL.js} +0 -0
  289. /package/web/assets/{markdown-VDqAgkyM.js → markdown-BNRSTD3D.js} +0 -0
  290. /package/web/assets/{mips-BJWI6dX7.js → mips-OIXxWbNl.js} +0 -0
  291. /package/web/assets/{msdax-BLpuE5Dc.js → msdax-Blzk7oHr.js} +0 -0
  292. /package/web/assets/{mysql-ZsxiEUoY.js → mysql-CISO3r5e.js} +0 -0
  293. /package/web/assets/{objective-c-DcQa1iPc.js → objective-c-CfnC_OAj.js} +0 -0
  294. /package/web/assets/{pascal-u-hmXdyn.js → pascal-BUF-IB2S.js} +0 -0
  295. /package/web/assets/{pascaligo-DqbP-1C6.js → pascaligo-BKce2a7P.js} +0 -0
  296. /package/web/assets/{perl-CUeQpRkH.js → perl-BSNQJqG3.js} +0 -0
  297. /package/web/assets/{pgsql-CQ7FhAFN.js → pgsql-B6gnZ9Pz.js} +0 -0
  298. /package/web/assets/{php-BEf_fu3E.js → php-D3DRjlE-.js} +0 -0
  299. /package/web/assets/{pla-CXNNbT0w.js → pla-DMkpEwWz.js} +0 -0
  300. /package/web/assets/{postiats-CIXLZwPb.js → postiats-CS9vJAK8.js} +0 -0
  301. /package/web/assets/{powerquery-DnGPASFA.js → powerquery-5wdkUpGP.js} +0 -0
  302. /package/web/assets/{powershell-1Y1kqIZS.js → powershell-CFy-OLZK.js} +0 -0
  303. /package/web/assets/{protobuf-Cfo9haoG.js → protobuf-BexdMU0z.js} +0 -0
  304. /package/web/assets/{pug-BujEZqmy.js → pug-D7XxQLO5.js} +0 -0
  305. /package/web/assets/{qsharp-BL9AqNGD.js → qsharp-Cbf2FpNP.js} +0 -0
  306. /package/web/assets/{r-D0dhpGOM.js → r-DF7k9FbU.js} +0 -0
  307. /package/web/assets/{redis-BMLwD7W9.js → redis-CsS7YEaP.js} +0 -0
  308. /package/web/assets/{redshift-CkHh73og.js → redshift-ELXdujA0.js} +0 -0
  309. /package/web/assets/{restructuredtext-DZ-LF65W.js → restructuredtext-xoFIa5lj.js} +0 -0
  310. /package/web/assets/{ruby-UzPHTzc9.js → ruby-BqZs-MXO.js} +0 -0
  311. /package/web/assets/{rust-ja9NGnXZ.js → rust-Bg6ZO_et.js} +0 -0
  312. /package/web/assets/{sb-BNdOJbMY.js → sb-DiB12F6v.js} +0 -0
  313. /package/web/assets/{scala-LlhkyN6l.js → scala-DElpnKpP.js} +0 -0
  314. /package/web/assets/{scheme-BAj99YIn.js → scheme-1ahRBKOq.js} +0 -0
  315. /package/web/assets/{scss-chS-xxB3.js → scss-DEMPy3QV.js} +0 -0
  316. /package/web/assets/{shell-CcH7eYIc.js → shell-DPy86lBu.js} +0 -0
  317. /package/web/assets/{solidity-cVvnqX-K.js → solidity-BJ26fCkf.js} +0 -0
  318. /package/web/assets/{sophia-BBT-EdFw.js → sophia-BisqpnJK.js} +0 -0
  319. /package/web/assets/{sparql-DGEqOrB6.js → sparql-C7Lhhim4.js} +0 -0
  320. /package/web/assets/{sql-CcTErTxM.js → sql-BXVElqbr.js} +0 -0
  321. /package/web/assets/{st-Bjw-B4mN.js → st-C3Kk-cML.js} +0 -0
  322. /package/web/assets/{swift-Bid-7bBd.js → swift-D8IWJydR.js} +0 -0
  323. /package/web/assets/{systemverilog-CXju7Nd-.js → systemverilog-524SrI2Q.js} +0 -0
  324. /package/web/assets/{tcl-D-Dw7JFz.js → tcl-MYNTx-d-.js} +0 -0
  325. /package/web/assets/{twig-BIPbzEWT.js → twig-BAVZN0tW.js} +0 -0
  326. /package/web/assets/{typespec-UJSutGCV.js → typespec-BhgMHLJQ.js} +0 -0
  327. /package/web/assets/{vb-oyG_LJw0.js → vb-BLauMmY8.js} +0 -0
  328. /package/web/assets/{w3c-keyname-DtJs0qQm.js → w3c-keyname-tfhvQ9CV.js} +0 -0
  329. /package/web/assets/{wgsl-DXZ6ljB6.js → wgsl-ybvhdvmz.js} +0 -0
@@ -1 +0,0 @@
1
- import{$i as e,An as t,Cn as n,Da as r,Di as i,Ei as a,Hn as o,Ii as s,Ja as c,Ki as ee,Mn as l,Ni as u,Oi as d,On as f,Pi as p,Rn as m,Si as h,Ti as g,Tn as _,ba as v,bi as y,d as b,er as x,f as S,jn as C,ki as w,mn as T,ra as E,tr as te,u as ne,ur as D,za as O}from"./index-Bb59Dhi7.js";import{t as k}from"./password-CAxjRWlv.js";import{t as A}from"./card-DWrsZeyX.js";import{t as j}from"./VersionBadge-BwEG46HR.js";var M={class:`unlock-container`},N={class:`unlock-header`},P={class:`unlock-title`,"data-testid":`unlock-title`},F={class:`unlock-subtitle`},I={class:`field`},L={for:`masterPassword`},R={key:0,class:`field`},z={for:`encryptionKey`},B={class:`field-help`},V=m(s({__name:`UnlockPage`,setup(s){let m=te(),V=x(),{t:H}=D(),U=b(),W=S(),G=O(``),K=O(``),q=O(``),J=O(!1),Y=O(null),X=O(null);function Z(){ee(()=>{(X.value?.$el?.querySelector(`input`))?.focus()})}let Q=g(()=>Y.value?.state===`setup`);e(async()=>{Z();try{Y.value=await f(),Y.value.state===`unlocked`&&await $()}catch{q.value=H(`unlockPage.serverUnreachable`)}});async function re(){q.value=``,J.value=!0;try{let e;if(Y.value?.state===`setup`){let t=Y.value.hasVerifyFile&&!Y.value.isLegacyMigration&&K.value||void 0;e=await C(G.value,t)}else e=await l(G.value);t(e),await ne({loadPreferences:()=>W.loadPreferences(),initTrpcWs:_,startStatusStream:()=>U.startStatusStream()}),await $()}catch(e){q.value=e instanceof Error?e.message:H(`unlockPage.unknownError`),Z()}finally{J.value=!1}}async function $(){try{if((await f()).legacyVault){await m.push({name:`migrate-vault`});return}}catch{}let e=V.query.redirect;e&&e.startsWith(`/`)?await m.push(e):await m.push({name:`launch-project`})}return(e,t)=>(E(),w(`div`,M,[p(c(A),{class:`unlock-card`},{header:v(()=>[a(`div`,N,[a(`h1`,P,r(Q.value?c(H)(`unlockPage.titleSetup`):c(H)(`unlockPage.titleLocked`)),1),a(`p`,F,[Q.value&&Y.value?.isLegacyMigration?(E(),w(h,{key:0},[u(r(c(H)(`unlockPage.subtitleLegacyMigration`)),1)],64)):Q.value&&Y.value?.hasVerifyFile?(E(),w(h,{key:1},[u(r(c(H)(`unlockPage.subtitleHasVerifyFile`)),1)],64)):Q.value?(E(),w(h,{key:2},[u(r(c(H)(`unlockPage.subtitleSetup`)),1)],64)):(E(),w(h,{key:3},[u(r(c(H)(`unlockPage.subtitleUnlock`)),1)],64))])])]),content:v(()=>[a(`form`,{onSubmit:y(re,[`prevent`]),class:`unlock-form`},[a(`div`,I,[a(`label`,L,r(c(H)(`unlockPage.masterPasswordLabel`)),1),p(c(k),{ref_key:`passwordRef`,ref:X,id:`masterPassword`,"data-testid":`master-password-input`,modelValue:G.value,"onUpdate:modelValue":t[0]||=e=>G.value=e,feedback:Q.value,toggleMask:``,fluid:``,disabled:J.value,autocomplete:Q.value?`new-password`:`current-password`,placeholder:c(H)(`unlockPage.masterPasswordPlaceholder`)},null,8,[`modelValue`,`feedback`,`disabled`,`autocomplete`,`placeholder`])]),Q.value&&Y.value?.hasVerifyFile&&!Y.value?.isLegacyMigration?(E(),w(`div`,R,[a(`label`,z,r(c(H)(`unlockPage.encryptionKeyLabel`)),1),p(c(T),{id:`encryptionKey`,"data-testid":`encryption-key-input`,modelValue:K.value,"onUpdate:modelValue":t[1]||=e=>K.value=e,fluid:``,disabled:J.value,placeholder:c(H)(`unlockPage.encryptionKeyPlaceholder`),autocomplete:`off`},null,8,[`modelValue`,`disabled`,`placeholder`]),a(`small`,B,r(c(H)(`unlockPage.encryptionKeyHelp`)),1)])):d(``,!0),q.value?(E(),i(c(n),{key:1,severity:`error`,closable:!1,"data-testid":`unlock-error`},{default:v(()=>[u(r(q.value),1)]),_:1})):d(``,!0),Q.value?(E(),i(c(n),{key:2,severity:`info`,closable:!1,class:`machine-warning`},{default:v(()=>[u(r(c(H)(`unlockPage.machineWarning`)),1)]),_:1})):d(``,!0),p(c(o),{type:`submit`,"data-testid":`unlock-submit-btn`,label:J.value?c(H)(`unlockPage.pleaseWait`):Q.value?c(H)(`unlockPage.configure`):c(H)(`unlockPage.unlock`),disabled:J.value||!G.value,loading:J.value,fluid:``},null,8,[`label`,`disabled`,`loading`])],32)]),_:1}),p(j)]))}}),[[`__scopeId`,`data-v-321af300`]]);export{V as default};
@@ -1 +0,0 @@
1
- import{$i as e,Cn as t,Da as n,Di as r,Ei as i,Hn as a,Ii as o,Ja as s,Jt as c,Ni as l,Nn as u,Oi as d,On as f,Pi as p,Rn as m,Si as h,aa as g,ba as _,bi as v,ki as y,ra as b,tr as x,ur as S,za as C}from"./index-Bb59Dhi7.js";import{t as w}from"./password-CAxjRWlv.js";var T={class:`migration-page`,"data-testid":`page-content`},E={class:`migration-card`},D={class:`migration-title`,"data-testid":`vault-migration-title`},O={class:`migration-lead`},k={class:`migration-path`},A={for:`legacyMasterPassword`},j={class:`migration-report`},M={key:0},N={key:1,class:`migration-report__warn`},P={class:`migration-backup`},F=m(o({__name:`VaultMigrationPage`,setup(o){let m=x(),{t:F}=S(),I=C(null),L=C(``),R=C(!1),z=C(``),B=C(null);e(async()=>{try{I.value=(await f()).legacyVault??null,I.value||await m.replace({name:`launch-project`})}catch{z.value=F(`vaultMigration.statusError`)}});async function V(){if(L.value){R.value=!0,z.value=``;try{B.value=await u(L.value),L.value=``}catch(e){z.value=c(e)??F(`vaultMigration.failed`)}finally{R.value=!1}}}async function H(){await m.replace({name:`launch-project`})}return(e,o)=>(b(),y(`div`,T,[i(`div`,E,[i(`h1`,D,n(s(F)(`vaultMigration.title`)),1),B.value?(b(),y(h,{key:1},[p(s(t),{severity:`success`,closable:!1,"data-testid":`vault-migration-done`},{default:_(()=>[l(n(s(F)(`vaultMigration.done`)),1)]),_:1}),i(`ul`,j,[(b(!0),y(h,null,g(B.value.rekeyed,e=>(b(),y(`li`,{key:e.file},n(s(F)(`vaultMigration.rekeyed`,{file:e.file,count:e.values})),1))),128)),B.value.moved.length?(b(),y(`li`,M,n(s(F)(`vaultMigration.moved`,{files:B.value.moved.join(`, `)})),1)):d(``,!0),B.value.skipped.length?(b(),y(`li`,N,n(s(F)(`vaultMigration.skipped`,{files:B.value.skipped.join(`, `)})),1)):d(``,!0)]),i(`p`,P,[l(n(s(F)(`vaultMigration.backupKept`))+` `,1),i(`code`,null,n(B.value.backupDir),1)]),p(s(a),{"data-testid":`vault-migration-continue`,label:s(F)(`vaultMigration.continue`),onClick:H},null,8,[`label`])],64)):(b(),y(h,{key:0},[i(`p`,O,n(s(F)(`vaultMigration.lead`)),1),i(`p`,k,[i(`code`,null,n(I.value),1)]),p(s(t),{severity:`info`,closable:!1,class:`migration-note`},{default:_(()=>[l(n(s(F)(`vaultMigration.backupNote`)),1)]),_:1}),i(`form`,{class:`migration-form`,onSubmit:v(V,[`prevent`])},[i(`label`,A,n(s(F)(`vaultMigration.oldPasswordLabel`)),1),p(s(w),{id:`legacyMasterPassword`,modelValue:L.value,"onUpdate:modelValue":o[0]||=e=>L.value=e,"data-testid":`legacy-master-password-input`,feedback:!1,"toggle-mask":``,autocomplete:`current-password`,disabled:R.value,fluid:``},null,8,[`modelValue`,`disabled`]),z.value?(b(),r(s(t),{key:0,severity:`error`,closable:!1,"data-testid":`vault-migration-error`},{default:_(()=>[l(n(z.value),1)]),_:1})):d(``,!0),p(s(a),{type:`submit`,"data-testid":`vault-migration-submit`,label:R.value?s(F)(`vaultMigration.migrating`):s(F)(`vaultMigration.migrate`),loading:R.value,disabled:R.value||!L.value},null,8,[`label`,`loading`,`disabled`])],32)],64))])]))}}),[[`__scopeId`,`data-v-de8e80f8`]]);export{F as default};
@@ -1 +0,0 @@
1
- import{$i as e,Da as t,Dn as n,Ii as r,Oi as i,Rn as a,ki as o,ra as s,za as c}from"./index-Bb59Dhi7.js";var l={key:0,class:`version-badge`,"data-testid":`version-badge`},u=a(r({__name:`VersionBadge`,setup(r){let a=c(``);return e(()=>{n.health.check.query().then(e=>{a.value=e.version}).catch(()=>{})}),(e,n)=>a.value?(s(),o(`span`,l,`v`+t(a.value),1)):i(``,!0)}}),[[`__scopeId`,`data-v-61dd6b89`]]);export{u as t};
@@ -1 +0,0 @@
1
- import{Di as e,Ii as t,ra as n}from"./index-Bb59Dhi7.js";import"./src-BPpAUSsR.js";import"./w3c-keyname-DtJs0qQm.js";import{t as r}from"./WikiView-BxEI8-0-.js";var i=t({__name:`WikiPage`,setup(t){return(t,i)=>(n(),e(r,{scope:`global`}))}});export{i as default};
@@ -1 +0,0 @@
1
- import{$i as e,Bn as t,Da as n,Di as r,Dn as i,Ei as a,Hn as o,Ii as s,Ja as c,Ni as l,Oi as u,Pi as d,Rn as f,Si as p,Ti as m,Yi as ee,aa as h,ar as te,ba as g,bi as _,ga as v,ki as y,mn as b,ra as x,sa as S,tr as ne,wa as C,yi as w,za as T}from"./index-Bb59Dhi7.js";import{t as re}from"./src-BPpAUSsR.js";var E={class:`fs-node`},D=[`title`],O={class:`fs-node__name`},k=[`title`],A={class:`fs-node__name`},j={key:2,class:`fs-node__actions`},M={key:0,class:`fs-node__children`},ie=s({__name:`FsNode`,props:{entry:{},selectedPath:{},expanded:{},editable:{type:Boolean}},emits:[`toggle`,`select`,`create-child`,`rename`,`delete`],setup(e,{emit:t}){let r=e,i=t,o=m(()=>r.entry.type===`dir`&&r.expanded.has(r.entry.path)),s=m(()=>r.entry.type===`file`&&r.selectedPath===r.entry.path);return(t,r)=>{let c=S(`FsNode`,!0);return x(),y(`div`,E,[a(`div`,{class:C([`fs-node__row`,{"fs-node__row--selected":s.value}])},[e.entry.type===`dir`?(x(),y(`button`,{key:0,class:`fs-node__main`,title:e.entry.path,onClick:r[0]||=t=>i(`toggle`,e.entry.path)},[a(`i`,{class:C(`pi ${o.value?`pi-chevron-down`:`pi-chevron-right`} fs-node__caret`)},null,2),a(`i`,{class:C(`pi ${o.value?`pi-folder-open`:`pi-folder`} fs-node__icon fs-node__icon--folder`)},null,2),a(`span`,O,n(e.entry.name),1)],8,D)):(x(),y(`button`,{key:1,class:`fs-node__main`,title:e.entry.path,onClick:r[1]||=t=>i(`select`,e.entry.path)},[r[11]||=a(`span`,{class:`fs-node__caret-spacer`},null,-1),r[12]||=a(`i`,{class:`pi pi-file fs-node__icon`},null,-1),a(`span`,A,n(e.entry.name),1)],8,k)),e.editable?(x(),y(`div`,j,[e.entry.type===`dir`?(x(),y(`button`,{key:0,class:`fs-node__action`,title:`Nouveau fichier`,onClick:r[2]||=_(t=>i(`create-child`,e.entry.path,`file`),[`stop`])},[...r[13]||=[a(`i`,{class:`pi pi-file-plus`},null,-1)]])):u(``,!0),e.entry.type===`dir`?(x(),y(`button`,{key:1,class:`fs-node__action`,title:`Nouveau dossier`,onClick:r[3]||=_(t=>i(`create-child`,e.entry.path,`dir`),[`stop`])},[...r[14]||=[a(`i`,{class:`pi pi-folder-plus`},null,-1)]])):u(``,!0),a(`button`,{class:`fs-node__action`,title:`Renommer`,onClick:r[4]||=_(t=>i(`rename`,e.entry.path,e.entry.type===`dir`),[`stop`])},[...r[15]||=[a(`i`,{class:`pi pi-pencil`},null,-1)]]),a(`button`,{class:`fs-node__action fs-node__action--danger`,title:`Supprimer`,onClick:r[5]||=_(t=>i(`delete`,e.entry.path,e.entry.type===`dir`),[`stop`])},[...r[16]||=[a(`i`,{class:`pi pi-trash`},null,-1)]])])):u(``,!0)],2),e.entry.type===`dir`&&o.value?(x(),y(`ul`,M,[(x(!0),y(p,null,h(e.entry.children,t=>(x(),y(`li`,{key:t.path},[d(c,{entry:t,"selected-path":e.selectedPath,expanded:e.expanded,editable:e.editable,onToggle:r[6]||=e=>i(`toggle`,e),onSelect:r[7]||=e=>i(`select`,e),onCreateChild:r[8]||=(e,t)=>i(`create-child`,e,t),onRename:r[9]||=(e,t)=>i(`rename`,e,t),onDelete:r[10]||=(e,t)=>i(`delete`,e,t)},null,8,[`entry`,`selected-path`,`expanded`,`editable`])]))),128))])):u(``,!0)])}}}),ae={key:0,class:`wiki__not-configured`},oe={key:1,class:`wiki__not-configured`},se={key:0},ce={key:1},le={key:2,class:`wiki`},ue={class:`wiki__sidebar`},de={class:`wiki__sidebar-header`},fe=[`title`],pe={class:`wiki__sidebar-actions`},me={key:0,class:`wiki__loading`},he={key:1,class:`wiki__error`},ge={key:2,class:`wiki__empty`},_e={key:3,class:`wiki__tree`},ve={class:`wiki__main`},ye={class:`wiki__title-row`},be={class:`wiki__title-path`},xe={key:0,class:`wiki__status`},Se={key:0},Ce={key:1},we={key:2,class:`wiki__status-saved`},Te={key:1,class:`wiki__status wiki__status-readonly`},Ee={key:0,class:`wiki__editor-actions`},De={key:1,class:`wiki__loading`},Oe={key:1,class:`wiki__placeholder`},ke={class:`wiki__prompt-body`},Ae={for:`wiki-prompt-input`,class:`wiki__prompt-label`},je={class:`wiki__link-list`},Me=[`onClick`],Ne={class:`wiki__link-path`},Pe={key:0,class:`wiki__link-empty`},N=f(s({__name:`WikiView`,props:{scope:{}},setup(s){let f=ne(),S=s,E=te(),D=T(``),O=T([]),k=T(!1),A=T(null),j=T(!1),M=T(null),N=T(!1),P=T(new Set),F=T(null),I=T(``),L=T(!1),R=T(!1),z=T(!1),B=null,V=``,Fe=T(null),H=T(!1),U=T(``),W=T({open:!1,title:``,label:``,value:``,placeholder:``,resolve:null});function Ie(e){return new Promise(t=>{W.value={open:!0,title:e.title,label:e.label,value:e.initialValue??``,placeholder:e.placeholder??``,resolve:t}})}function Le(){let e=W.value.value.trim();W.value.resolve?.(e||null),W.value.open=!1}function G(){W.value.resolve?.(null),W.value.open=!1}let Re=m(()=>{let e=[],t=n=>{for(let r of n)r.type===`file`?e.push({path:r.path,name:r.name}):t(r.children)};return t(O.value),e}),ze=m(()=>{let e=U.value.trim().toLowerCase();return Re.value.filter(e=>e.path!==F.value).filter(t=>!e||t.path.toLowerCase().includes(e))});async function K(){k.value=!0,A.value=null,j.value=!1,M.value=null;try{let e=await i.wiki.list.query({scope:S.scope});D.value=e.root,O.value=e.entries}catch(e){let t=e.message;if(/Aucun dossier de docs|globalDocsPath|docsPath|Aucun cwd/i.test(t))j.value=!0;else{let e=t.match(/Dossier introuvable:\s*(.+)$/);e?M.value=e[1].trim():A.value=t}}finally{k.value=!1}}async function Be(){N.value=!0;try{await i.wiki.ensureRoot.mutate({scope:S.scope}),M.value=null,await K()}catch(e){A.value=e.message}finally{N.value=!1}}let q=m(()=>S.scope===`global`),Ve=m(()=>S.scope.startsWith(`service:`)),He=m(()=>Ve.value?S.scope.slice(8):null);function Ue(){q.value?f.push({name:`settings`,query:{section:`general`}}):He.value&&f.push(`/services/${He.value}/config?configTab=general`)}function We(e){P.value.has(e)?P.value.delete(e):P.value.add(e),P.value=new Set(P.value)}async function J(e){X(),z.value=!1,F.value=e,L.value=!0,I.value=``;try{let t=await i.wiki.read.query({scope:S.scope,path:e});I.value=t.content,V=t.content;let n=e.split(`/`);for(n.pop();n.length;)P.value.add(n.join(`/`)),n.pop();P.value=new Set(P.value)}catch(e){A.value=e.message}finally{L.value=!1}}function Ge(){B&&clearTimeout(B),B=setTimeout(()=>{Y()},800)}async function Y(){if(!F.value||I.value===V)return;let e=F.value,t=I.value;R.value=!0;try{await i.wiki.write.mutate({scope:S.scope,path:e,content:t}),V=t}catch(e){A.value=e.message}finally{R.value=!1}}function X(){B&&(clearTimeout(B),B=null,Y())}v(I,()=>{F.value&&z.value&&Ge()});function Ke(){z.value?(X(),z.value=!1):z.value=!0}async function Z(e,t){let n=await Ie({title:t===`file`?`Nouveau fichier`:`Nouveau dossier`,label:t===`file`?`Nom du fichier (sans extension)`:`Nom du dossier`,initialValue:t===`file`?`nouveau`:`nouveau-dossier`});if(!n)return;let r=n.trim().replace(/[^A-Za-z0-9_./-]/g,`-`);if(!r)return;let a=t===`file`&&!/\.(md|markdown)$/i.test(r)?`${r}.md`:r,o=e?`${e}/${a}`:a;try{t===`file`?(await i.wiki.createFile.mutate({scope:S.scope,path:o}),await K(),J(o)):(await i.wiki.createDir.mutate({scope:S.scope,path:o}),P.value.add(o),P.value=new Set(P.value),await K())}catch(e){A.value=e.message}}async function qe(e,t){let n=e.split(`/`),r=n[n.length-1],a=await Ie({title:`Renommer`,label:`Nouveau nom`,initialValue:r});if(!a||a===r)return;let o=a.trim().replace(/[^A-Za-z0-9_./-]/g,`-`);if(!o)return;let s=!t&&!/\.(md|markdown)$/i.test(o)?`${o}.md`:o;n[n.length-1]=s;let c=n.join(`/`);try{await i.wiki.rename.mutate({scope:S.scope,fromPath:e,toPath:c}),F.value===e&&(F.value=c),await K()}catch(e){A.value=e.message}}function Je(e,t){E.require({message:`Supprimer "${e}" ${t?`(et tout son contenu)`:``} ?`,header:`Confirmation`,icon:`pi pi-exclamation-triangle`,rejectProps:{label:`Annuler`,severity:`secondary`,outlined:!0},acceptProps:{label:`Supprimer`,severity:`danger`},accept:async()=>{try{await i.wiki.delete.mutate({scope:S.scope,path:e}),(F.value===e||t&&F.value?.startsWith(e+`/`))&&(F.value=null,I.value=``),await K()}catch(e){A.value=e.message}}})}function Ye(){U.value=``,H.value=!0}function Xe(e){let t=Ze(F.value??``,e.path);Fe.value?.insertWikiLink?.(t,e.name.replace(/\.(md|markdown)$/i,``)),H.value=!1}function Ze(e,t){let n=e.split(`/`);n.pop();let r=t.split(`/`),i=0;for(;i<n.length&&i<r.length-1&&n[i]===r[i];)i++;let a=n.length-i,o=r.slice(i);return(a===0?`./`:`../`.repeat(a))+o.join(`/`)}function Qe(e){if(e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`mailto:`)){window.open(e,`_blank`,`noopener,noreferrer`);return}if(e.startsWith(`#`)||!/\.(md|markdown)(#|\?|$)/i.test(e))return;let t=e.split(`#`)[0].split(`?`)[0],n=$e(F.value??``,t);Re.value.some(e=>e.path===n)?J(n):A.value=`Fichier introuvable: ${n}`}function $e(e,t){if(t.startsWith(`/`))return t.replace(/^\/+/,``);let n=e.includes(`/`)?e.slice(0,e.lastIndexOf(`/`)).split(`/`).filter(Boolean):[];for(let e of t.split(`/`))e===``||e===`.`||(e===`..`?n.pop():n.push(e));return n.join(`/`)}function Q(){F.value&&J(F.value)}function $(){document.visibilityState===`visible`&&Q()}return v(()=>S.scope,()=>{F.value=null,I.value=``,O.value=[],K()}),e(()=>{K(),window.addEventListener(`focus`,Q),document.addEventListener(`visibilitychange`,$)}),ee(()=>{X(),window.removeEventListener(`focus`,Q),document.removeEventListener(`visibilitychange`,$)}),(e,i)=>M.value?(x(),y(`div`,ae,[i[8]||=a(`i`,{class:`pi pi-folder-open wiki__not-configured-icon`},null,-1),i[9]||=a(`h2`,null,`Le dossier de documentation n'existe pas encore`,-1),a(`p`,null,[i[7]||=l(` Chemin attendu : `,-1),a(`code`,null,n(M.value),1)]),d(c(o),{icon:`pi pi-plus`,label:`Créer le dossier`,loading:N.value,onClick:Be},null,8,[`loading`])])):j.value?(x(),y(`div`,oe,[i[11]||=a(`i`,{class:`pi pi-cog wiki__not-configured-icon`},null,-1),a(`h2`,null,n(q.value?`Wiki global non configuré`:`Documentation du service non configurée`),1),q.value?(x(),y(`p`,se,` Le wiki global a besoin d'un chemin absolu vers un dossier sur disque pour fonctionner. `)):(x(),y(`p`,ce,[...i[10]||=[l(` Ce service n'a pas de `,-1),a(`code`,null,`cwd`,-1),l(` ni de `,-1),a(`code`,null,`docsPath`,-1),l(` renseigné. `,-1)]])),d(c(o),{icon:`pi pi-arrow-right`,label:q.value?`Configurer le wiki global`:`Configurer le service`,onClick:Ue},null,8,[`label`])])):(x(),y(`div`,le,[a(`aside`,ue,[a(`div`,de,[a(`span`,{class:`wiki__sidebar-title`,title:D.value},n(D.value||`Pages`),9,fe),a(`div`,pe,[d(c(o),{icon:`pi pi-folder-plus`,size:`small`,text:``,rounded:``,title:`Nouveau dossier racine`,onClick:i[0]||=e=>Z(``,`dir`)}),d(c(o),{icon:`pi pi-file-plus`,size:`small`,text:``,rounded:``,title:`Nouveau fichier racine`,onClick:i[1]||=e=>Z(``,`file`)}),d(c(o),{icon:`pi pi-refresh`,size:`small`,text:``,rounded:``,title:`Rafraîchir`,onClick:K})])]),k.value?(x(),y(`div`,me,`Chargement…`)):A.value?(x(),y(`div`,he,n(A.value),1)):O.value.length===0?(x(),y(`div`,ge,` Aucun fichier. Utilisez les boutons en haut pour créer un fichier ou un dossier. `)):(x(),y(`ul`,_e,[(x(!0),y(p,null,h(O.value,e=>(x(),y(`li`,{key:e.path},[d(ie,{entry:e,"selected-path":F.value,expanded:P.value,editable:!0,onToggle:We,onSelect:J,onCreateChild:Z,onRename:qe,onDelete:Je},null,8,[`entry`,`selected-path`,`expanded`])]))),128))]))]),a(`section`,ve,[F.value?(x(),y(p,{key:0},[a(`div`,ye,[i[16]||=a(`i`,{class:`pi pi-file wiki__title-icon`},null,-1),a(`span`,be,n(F.value),1),z.value?(x(),y(`span`,xe,[R.value?(x(),y(`span`,Se,[...i[12]||=[a(`i`,{class:`pi pi-spin pi-spinner`},null,-1),l(` Sauvegarde…`,-1)]])):I.value===c(V)?(x(),y(`span`,we,[...i[14]||=[a(`i`,{class:`pi pi-check`},null,-1),l(` Sauvegardé`,-1)]])):(x(),y(`span`,Ce,[...i[13]||=[a(`i`,{class:`pi pi-circle-fill wiki__status-pending`},null,-1),l(` Modifié`,-1)]]))])):(x(),y(`span`,Te,[...i[15]||=[a(`i`,{class:`pi pi-eye`},null,-1),l(` Lecture seule `,-1)]])),d(c(o),{icon:z.value?`pi pi-check`:`pi pi-pencil`,label:z.value?`Terminer`:`Modifier`,size:`small`,severity:z.value?`success`:`secondary`,outlined:!z.value,onClick:Ke},null,8,[`icon`,`label`,`severity`,`outlined`]),d(c(o),{icon:`pi pi-refresh`,size:`small`,text:``,rounded:``,title:`Recharger depuis le disque`,loading:L.value,onClick:Q},null,8,[`loading`])]),z.value?(x(),y(`div`,Ee,[d(c(o),{icon:`pi pi-link`,label:`Lier un fichier`,size:`small`,text:``,onClick:Ye})])):u(``,!0),L.value?(x(),y(`div`,De,`Chargement du fichier…`)):(x(),r(c(re),{key:2,ref_key:`editorRef`,ref:Fe,modelValue:I.value,"onUpdate:modelValue":i[2]||=e=>I.value=e,markdown:``,editable:z.value,class:C([`wiki__editor`,{"wiki__editor--readonly":!z.value}]),placeholder:`Écrivez le contenu de la page…`,onLinkClick:Qe},null,8,[`modelValue`,`editable`,`class`]))],64)):(x(),y(`div`,Oe,[...i[17]||=[a(`i`,{class:`pi pi-book wiki__placeholder-icon`},null,-1),a(`p`,null,`Sélectionnez un fichier ou créez-en un nouveau.`,-1)]]))]),d(c(t),{visible:W.value.open,"onUpdate:visible":i[4]||=e=>W.value.open=e,header:W.value.title,modal:``,style:{width:`420px`},"close-on-escape":!0,onHide:G},{footer:g(()=>[d(c(o),{label:`Annuler`,severity:`secondary`,outlined:``,size:`small`,onClick:G}),d(c(o),{label:`OK`,size:`small`,disabled:!W.value.value.trim(),onClick:Le},null,8,[`disabled`])]),default:g(()=>[a(`div`,ke,[a(`label`,Ae,n(W.value.label),1),d(c(b),{id:`wiki-prompt-input`,modelValue:W.value.value,"onUpdate:modelValue":i[3]||=e=>W.value.value=e,class:`wiki__prompt-input`,placeholder:W.value.placeholder,autofocus:``,onKeydown:[w(_(Le,[`prevent`]),[`enter`]),w(G,[`escape`])]},null,8,[`modelValue`,`placeholder`,`onKeydown`])])]),_:1},8,[`visible`,`header`]),d(c(t),{visible:H.value,"onUpdate:visible":i[6]||=e=>H.value=e,header:`Insérer un lien vers un fichier`,modal:``,style:{width:`500px`}},{default:g(()=>[d(c(b),{modelValue:U.value,"onUpdate:modelValue":i[5]||=e=>U.value=e,placeholder:`Rechercher un fichier…`,class:`wiki__link-search`,autofocus:``},null,8,[`modelValue`]),a(`div`,je,[(x(!0),y(p,null,h(ze.value,e=>(x(),y(`button`,{key:e.path,class:`wiki__link-item`,onClick:t=>Xe(e)},[i[18]||=a(`i`,{class:`pi pi-file`},null,-1),a(`span`,Ne,n(e.path),1)],8,Me))),128)),ze.value.length===0?(x(),y(`div`,Pe,` Aucun fichier disponible. `)):u(``,!0)])]),_:1},8,[`visible`])]))}}),[[`__scopeId`,`data-v-10f9637d`]]);export{N as t};
@@ -1,308 +0,0 @@
1
- import{Da as e,Di as t,Ea as n,Ei as r,Gi as i,Gn as a,Gr as o,Jr as s,Lr as c,Ni as l,Oi as u,Pi as d,Si as f,Sr as p,Vr as m,Wn as h,Zn as g,Zr as _,aa as v,ba as y,ca as ee,dn as b,dr as x,hn as S,hr as C,ii as w,ji as te,jr as ne,ki as T,la as re,li as E,mn as D,ni as O,nr as k,oa as A,oi as j,qn as ie,qr as ae,ra as M,ri as oe,sa as N,sn as P,vn as F,vr as I,wa as L,xa as R}from"./index-Bb59Dhi7.js";import{t as z}from"./chip-BCDh4zSF.js";var B=x.extend({name:`autocomplete`,style:`
2
- .p-autocomplete {
3
- display: inline-flex;
4
- }
5
-
6
- .p-autocomplete-loader {
7
- position: absolute;
8
- top: 50%;
9
- margin-top: -0.5rem;
10
- inset-inline-end: dt('autocomplete.padding.x');
11
- }
12
-
13
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-loader {
14
- inset-inline-end: calc(dt('autocomplete.dropdown.width') + dt('autocomplete.padding.x'));
15
- }
16
-
17
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input {
18
- flex: 1 1 auto;
19
- width: 1%;
20
- }
21
-
22
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input,
23
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-input-multiple {
24
- border-start-end-radius: 0;
25
- border-end-end-radius: 0;
26
- }
27
-
28
- .p-autocomplete-dropdown {
29
- cursor: pointer;
30
- display: inline-flex;
31
- user-select: none;
32
- align-items: center;
33
- justify-content: center;
34
- overflow: hidden;
35
- position: relative;
36
- width: dt('autocomplete.dropdown.width');
37
- border-start-end-radius: dt('autocomplete.dropdown.border.radius');
38
- border-end-end-radius: dt('autocomplete.dropdown.border.radius');
39
- background: dt('autocomplete.dropdown.background');
40
- border: 1px solid dt('autocomplete.dropdown.border.color');
41
- border-inline-start: 0 none;
42
- color: dt('autocomplete.dropdown.color');
43
- transition:
44
- background dt('autocomplete.transition.duration'),
45
- color dt('autocomplete.transition.duration'),
46
- border-color dt('autocomplete.transition.duration'),
47
- outline-color dt('autocomplete.transition.duration'),
48
- box-shadow dt('autocomplete.transition.duration');
49
- outline-color: transparent;
50
- }
51
-
52
- .p-autocomplete-dropdown:not(:disabled):hover {
53
- background: dt('autocomplete.dropdown.hover.background');
54
- border-color: dt('autocomplete.dropdown.hover.border.color');
55
- color: dt('autocomplete.dropdown.hover.color');
56
- }
57
-
58
- .p-autocomplete-dropdown:not(:disabled):active {
59
- background: dt('autocomplete.dropdown.active.background');
60
- border-color: dt('autocomplete.dropdown.active.border.color');
61
- color: dt('autocomplete.dropdown.active.color');
62
- }
63
-
64
- .p-autocomplete-dropdown:focus-visible {
65
- box-shadow: dt('autocomplete.dropdown.focus.ring.shadow');
66
- outline: dt('autocomplete.dropdown.focus.ring.width') dt('autocomplete.dropdown.focus.ring.style') dt('autocomplete.dropdown.focus.ring.color');
67
- outline-offset: dt('autocomplete.dropdown.focus.ring.offset');
68
- }
69
-
70
- .p-autocomplete-overlay {
71
- position: absolute;
72
- top: 0;
73
- left: 0;
74
- background: dt('autocomplete.overlay.background');
75
- color: dt('autocomplete.overlay.color');
76
- border: 1px solid dt('autocomplete.overlay.border.color');
77
- border-radius: dt('autocomplete.overlay.border.radius');
78
- box-shadow: dt('autocomplete.overlay.shadow');
79
- min-width: 100%;
80
- }
81
-
82
- .p-autocomplete-list-container {
83
- overflow: auto;
84
- }
85
-
86
- .p-autocomplete-list {
87
- margin: 0;
88
- list-style-type: none;
89
- display: flex;
90
- flex-direction: column;
91
- gap: dt('autocomplete.list.gap');
92
- padding: dt('autocomplete.list.padding');
93
- }
94
-
95
- .p-autocomplete-option {
96
- cursor: pointer;
97
- white-space: nowrap;
98
- position: relative;
99
- overflow: hidden;
100
- display: flex;
101
- align-items: center;
102
- padding: dt('autocomplete.option.padding');
103
- border: 0 none;
104
- color: dt('autocomplete.option.color');
105
- background: transparent;
106
- transition:
107
- background dt('autocomplete.transition.duration'),
108
- color dt('autocomplete.transition.duration'),
109
- border-color dt('autocomplete.transition.duration');
110
- border-radius: dt('autocomplete.option.border.radius');
111
- }
112
-
113
- .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled).p-focus {
114
- background: dt('autocomplete.option.focus.background');
115
- color: dt('autocomplete.option.focus.color');
116
- }
117
-
118
- .p-autocomplete-option:not(.p-autocomplete-option-selected):not(.p-disabled):hover {
119
- background: dt('autocomplete.option.focus.background');
120
- color: dt('autocomplete.option.focus.color');
121
- }
122
-
123
- .p-autocomplete-option-selected {
124
- background: dt('autocomplete.option.selected.background');
125
- color: dt('autocomplete.option.selected.color');
126
- }
127
-
128
- .p-autocomplete-option-selected.p-focus {
129
- background: dt('autocomplete.option.selected.focus.background');
130
- color: dt('autocomplete.option.selected.focus.color');
131
- }
132
-
133
- .p-autocomplete-option-group {
134
- margin: 0;
135
- padding: dt('autocomplete.option.group.padding');
136
- color: dt('autocomplete.option.group.color');
137
- background: dt('autocomplete.option.group.background');
138
- font-weight: dt('autocomplete.option.group.font.weight');
139
- }
140
-
141
- .p-autocomplete-input-multiple {
142
- margin: 0;
143
- list-style-type: none;
144
- cursor: text;
145
- overflow: hidden;
146
- display: flex;
147
- align-items: center;
148
- flex-wrap: wrap;
149
- padding: calc(dt('autocomplete.padding.y') / 2) dt('autocomplete.padding.x');
150
- gap: calc(dt('autocomplete.padding.y') / 2);
151
- color: dt('autocomplete.color');
152
- background: dt('autocomplete.background');
153
- border: 1px solid dt('autocomplete.border.color');
154
- border-radius: dt('autocomplete.border.radius');
155
- width: 100%;
156
- transition:
157
- background dt('autocomplete.transition.duration'),
158
- color dt('autocomplete.transition.duration'),
159
- border-color dt('autocomplete.transition.duration'),
160
- outline-color dt('autocomplete.transition.duration'),
161
- box-shadow dt('autocomplete.transition.duration');
162
- outline-color: transparent;
163
- box-shadow: dt('autocomplete.shadow');
164
- }
165
-
166
- .p-autocomplete-input-multiple.p-disabled {
167
- opacity: 1;
168
- background: dt('autocomplete.disabled.background');
169
- color: dt('autocomplete.disabled.color');
170
- }
171
-
172
- .p-autocomplete-input-multiple:not(.p-disabled):hover {
173
- border-color: dt('autocomplete.hover.border.color');
174
- }
175
-
176
- .p-autocomplete.p-focus .p-autocomplete-input-multiple:not(.p-disabled) {
177
- border-color: dt('autocomplete.focus.border.color');
178
- box-shadow: dt('autocomplete.focus.ring.shadow');
179
- outline: dt('autocomplete.focus.ring.width') dt('autocomplete.focus.ring.style') dt('autocomplete.focus.ring.color');
180
- outline-offset: dt('autocomplete.focus.ring.offset');
181
- }
182
-
183
- .p-autocomplete.p-invalid .p-autocomplete-input-multiple {
184
- border-color: dt('autocomplete.invalid.border.color');
185
- }
186
-
187
- .p-variant-filled.p-autocomplete-input-multiple {
188
- background: dt('autocomplete.filled.background');
189
- }
190
-
191
- .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled):hover {
192
- background: dt('autocomplete.filled.hover.background');
193
- }
194
-
195
- .p-autocomplete.p-focus .p-autocomplete-input-multiple.p-variant-filled:not(.p-disabled) {
196
- background: dt('autocomplete.filled.focus.background');
197
- }
198
-
199
- .p-autocomplete-chip.p-chip {
200
- padding-block-start: calc(dt('autocomplete.padding.y') / 2);
201
- padding-block-end: calc(dt('autocomplete.padding.y') / 2);
202
- border-radius: dt('autocomplete.chip.border.radius');
203
- }
204
-
205
- .p-autocomplete-input-multiple:has(.p-autocomplete-chip) {
206
- padding-inline-start: calc(dt('autocomplete.padding.y') / 2);
207
- padding-inline-end: calc(dt('autocomplete.padding.y') / 2);
208
- }
209
-
210
- .p-autocomplete-chip-item.p-focus .p-autocomplete-chip {
211
- background: dt('autocomplete.chip.focus.background');
212
- color: dt('autocomplete.chip.focus.color');
213
- }
214
-
215
- .p-autocomplete-input-chip {
216
- flex: 1 1 auto;
217
- display: inline-flex;
218
- padding-block-start: calc(dt('autocomplete.padding.y') / 2);
219
- padding-block-end: calc(dt('autocomplete.padding.y') / 2);
220
- }
221
-
222
- .p-autocomplete-input-chip input {
223
- border: 0 none;
224
- outline: 0 none;
225
- background: transparent;
226
- margin: 0;
227
- padding: 0;
228
- box-shadow: none;
229
- border-radius: 0;
230
- width: 100%;
231
- font-family: inherit;
232
- font-feature-settings: inherit;
233
- font-size: 1rem;
234
- color: inherit;
235
- }
236
-
237
- .p-autocomplete-input-chip input::placeholder {
238
- color: dt('autocomplete.placeholder.color');
239
- }
240
-
241
- .p-autocomplete.p-invalid .p-autocomplete-input-chip input::placeholder {
242
- color: dt('autocomplete.invalid.placeholder.color');
243
- }
244
-
245
- .p-autocomplete-empty-message {
246
- padding: dt('autocomplete.empty.message.padding');
247
- }
248
-
249
- .p-autocomplete-fluid {
250
- display: flex;
251
- }
252
-
253
- .p-autocomplete-fluid:has(.p-autocomplete-dropdown) .p-autocomplete-input {
254
- width: 1%;
255
- }
256
-
257
- .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown {
258
- width: dt('autocomplete.dropdown.sm.width');
259
- }
260
-
261
- .p-autocomplete:has(.p-inputtext-sm) .p-autocomplete-dropdown .p-icon {
262
- font-size: dt('form.field.sm.font.size');
263
- width: dt('form.field.sm.font.size');
264
- height: dt('form.field.sm.font.size');
265
- }
266
-
267
- .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown {
268
- width: dt('autocomplete.dropdown.lg.width');
269
- }
270
-
271
- .p-autocomplete:has(.p-inputtext-lg) .p-autocomplete-dropdown .p-icon {
272
- font-size: dt('form.field.lg.font.size');
273
- width: dt('form.field.lg.font.size');
274
- height: dt('form.field.lg.font.size');
275
- }
276
-
277
- .p-autocomplete-clear-icon {
278
- position: absolute;
279
- top: 50%;
280
- margin-top: -0.5rem;
281
- cursor: pointer;
282
- color: dt('form.field.icon.color');
283
- inset-inline-end: dt('autocomplete.padding.x');
284
- }
285
-
286
- .p-autocomplete:has(.p-autocomplete-dropdown) .p-autocomplete-clear-icon {
287
- inset-inline-end: calc(dt('autocomplete.padding.x') + dt('autocomplete.dropdown.width'));
288
- }
289
-
290
- .p-autocomplete:has(.p-autocomplete-clear-icon) .p-autocomplete-input {
291
- padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
292
- }
293
-
294
- .p-inputgroup .p-autocomplete-dropdown {
295
- border-radius: 0;
296
- }
297
-
298
- .p-inputgroup > .p-autocomplete:last-child:has(.p-autocomplete-dropdown) > .p-autocomplete-input {
299
- border-start-end-radius: 0;
300
- border-end-end-radius: 0;
301
- }
302
-
303
- .p-inputgroup > .p-autocomplete:last-child .p-autocomplete-dropdown {
304
- border-start-end-radius: dt('autocomplete.dropdown.border.radius');
305
- border-end-end-radius: dt('autocomplete.dropdown.border.radius');
306
- }
307
- `,classes:{root:function(e){var t=e.instance;return[`p-autocomplete p-component p-inputwrapper`,{"p-invalid":t.$invalid,"p-focus":t.focused,"p-inputwrapper-filled":t.$filled||j(t.inputValue),"p-inputwrapper-focus":t.focused,"p-autocomplete-open":t.overlayVisible,"p-autocomplete-fluid":t.$fluid,"p-autocomplete-clearable":t.isClearIconVisible}]},pcInputText:`p-autocomplete-input`,inputMultiple:function(e){var t=e.instance,n=e.props;return[`p-autocomplete-input-multiple`,{"p-variant-filled":t.$variant===`filled`,"p-disabled":n.disabled}]},clearIcon:`p-autocomplete-clear-icon`,chipItem:function(e){var t=e.instance,n=e.i;return[`p-autocomplete-chip-item`,{"p-focus":t.focusedMultipleOptionIndex===n}]},pcChip:`p-autocomplete-chip`,chipIcon:`p-autocomplete-chip-icon`,inputChip:`p-autocomplete-input-chip`,loader:`p-autocomplete-loader`,dropdown:`p-autocomplete-dropdown`,overlay:`p-autocomplete-overlay p-component`,listContainer:`p-autocomplete-list-container`,list:`p-autocomplete-list`,optionGroup:`p-autocomplete-option-group`,option:function(e){var t=e.instance,n=e.option,r=e.i,i=e.getItemOptions;return[`p-autocomplete-option`,{"p-autocomplete-option-selected":t.isSelected(n),"p-focus":t.focusedOptionIndex===t.getOptionIndex(r,i),"p-disabled":t.isOptionDisabled(n)}]},emptyMessage:`p-autocomplete-empty-message`},inlineStyles:{root:{position:`relative`}}}),V={name:`BaseAutoComplete`,extends:S,props:{suggestions:{type:Array,default:null},optionLabel:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:`14rem`},dropdown:{type:Boolean,default:!1},dropdownMode:{type:String,default:`blank`},multiple:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},placeholder:{type:String,default:null},dataKey:{type:String,default:null},minLength:{type:Number,default:1},delay:{type:Number,default:300},appendTo:{type:[String,Object],default:`body`},forceSelection:{type:Boolean,default:!1},completeOnFocus:{type:Boolean,default:!1},showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputStyle:{type:Object,default:null},inputClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},dropdownIcon:{type:String,default:null},dropdownClass:{type:[String,Object],default:null},loader:{type:String,default:null},loadingIcon:{type:String,default:null},removeTokenIcon:{type:String,default:null},chipIcon:{type:String,default:null},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},searchLocale:{type:String,default:void 0},searchMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptySearchMessage:{type:String,default:null},showEmptyMessage:{type:Boolean,default:!0},tabindex:{type:Number,default:0},typeahead:{type:Boolean,default:!0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:B,provide:function(){return{$pcAutoComplete:this,$parentInstance:this}}};function H(e,t,n){return(t=U(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e){var t=W(e,`string`);return G(t)==`symbol`?t:t+``}function W(e,t){if(G(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(G(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function G(e){"@babel/helpers - typeof";return G=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},G(e)}function K(e){return le(e)||ce(e)||se(e)||q()}function q(){throw TypeError(`Invalid attempt to spread non-iterable instance.
308
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function se(e,t){if(e){if(typeof e==`string`)return J(e,t);var n={}.toString.call(e).slice(8,-1);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)?J(e,t):void 0}}function ce(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function le(e){if(Array.isArray(e))return J(e)}function J(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Y={name:`AutoComplete`,extends:V,inheritAttrs:!1,emits:[`change`,`focus`,`blur`,`item-select`,`item-unselect`,`option-select`,`option-unselect`,`dropdown-click`,`clear`,`complete`,`before-show`,`before-hide`,`show`,`hide`],inject:{$pcFluid:{default:null}},outsideClickListener:null,resizeListener:null,scrollHandler:null,overlay:null,virtualScroller:null,searchTimeout:null,dirty:!1,startRangeIndex:-1,data:function(){return{clicked:!1,focused:!1,focusedOptionIndex:-1,focusedMultipleOptionIndex:-1,overlayVisible:!1,searching:!1}},watch:{suggestions:function(){this.searching&&(this.show(),this.focusedOptionIndex=this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1,this.searching=!1,!this.showEmptyMessage&&this.visibleOptions.length===0&&this.hide()),this.autoUpdateModel()}},mounted:function(){this.autoUpdateModel()},updated:function(){this.overlayVisible&&this.alignOverlay()},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.scrollHandler&&=(this.scrollHandler.destroy(),null),this.overlay&&=(C.clear(this.overlay),null)},methods:{getOptionIndex:function(e,t){return this.virtualScrollerDisabled?e:t&&t(e).index},getOptionLabel:function(e){return this.optionLabel?w(e,this.optionLabel):e},getOptionValue:function(e){return e},getOptionRenderKey:function(e,t){return(this.dataKey?w(e,this.dataKey):this.getOptionLabel(e))+`_`+t},getPTOptions:function(e,t,n,r){return this.ptm(r,{context:{option:e,index:n,selected:this.isSelected(e),focused:this.focusedOptionIndex===this.getOptionIndex(n,t),disabled:this.isOptionDisabled(e)}})},isOptionDisabled:function(e){return this.optionDisabled?w(e,this.optionDisabled):!1},isOptionGroup:function(e){return this.optionGroupLabel&&e.optionGroup&&e.group},getOptionGroupLabel:function(e){return w(e,this.optionGroupLabel)},getOptionGroupChildren:function(e){return w(e,this.optionGroupChildren)},getAriaPosInset:function(e){var t=this;return(this.optionGroupLabel?e-this.visibleOptions.slice(0,e).filter(function(e){return t.isOptionGroup(e)}).length:e)+1},show:function(e){this.$emit(`before-show`),this.dirty=!0,this.overlayVisible=!0,this.focusedOptionIndex=this.focusedOptionIndex===-1?this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1:this.focusedOptionIndex,e&&m(this.multiple?this.$refs.focusInput:this.$refs.focusInput.$el)},hide:function(e){var t=this,n=function(){t.$emit(`before-hide`),t.dirty=e,t.overlayVisible=!1,t.clicked=!1,t.focusedOptionIndex=-1,e&&m(t.multiple?t.$refs.focusInput:t.$refs.focusInput?.$el)};setTimeout(function(){n()},0)},onFocus:function(e){this.disabled||(!this.dirty&&this.completeOnFocus&&this.search(e,e.target.value,`focus`),this.dirty=!0,this.focused=!0,this.overlayVisible&&(this.focusedOptionIndex=this.focusedOptionIndex===-1?this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1:this.focusedOptionIndex,this.scrollInView(this.focusedOptionIndex)),this.$emit(`focus`,e))},onBlur:function(e){var t,n;this.dirty=!1,this.focused=!1,this.focusedOptionIndex=-1,this.$emit(`blur`,e),(t=(n=this.formField).onBlur)==null||t.call(n)},onKeyDown:function(e){if(this.disabled){e.preventDefault();return}switch(e.code){case`ArrowDown`:this.onArrowDownKey(e);break;case`ArrowUp`:this.onArrowUpKey(e);break;case`ArrowLeft`:this.onArrowLeftKey(e);break;case`ArrowRight`:this.onArrowRightKey(e);break;case`Home`:this.onHomeKey(e);break;case`End`:this.onEndKey(e);break;case`PageDown`:this.onPageDownKey(e);break;case`PageUp`:this.onPageUpKey(e);break;case`Enter`:case`NumpadEnter`:this.onEnterKey(e);break;case`Space`:this.onSpaceKey(e);break;case`Escape`:this.onEscapeKey(e);break;case`Tab`:this.onTabKey(e);break;case`ShiftLeft`:case`ShiftRight`:this.onShiftKey(e);break;case`Backspace`:this.onBackspaceKey(e);break}this.clicked=!1},onInput:function(e){var t=this;if(this.typeahead){this.searchTimeout&&clearTimeout(this.searchTimeout);var n=e.target.value;this.multiple||this.updateModel(e,n),n.length===0?(this.searching=!1,this.hide(),this.$emit(`clear`)):n.length>=this.minLength?(this.focusedOptionIndex=-1,this.searchTimeout=setTimeout(function(){t.search(e,n,`input`)},this.delay)):(this.searching=!1,this.hide())}},onChange:function(e){var t=this;if(this.forceSelection){var n=!1;if(this.visibleOptions&&!this.multiple){var r,i=this.multiple?this.$refs.focusInput.value:(r=this.$refs.focusInput)==null||(r=r.$el)==null?void 0:r.value,a=this.visibleOptions.find(function(e){return t.isOptionMatched(e,i||``)});a!==void 0&&(n=!0,!this.isSelected(a)&&this.onOptionSelect(e,a))}if(!n){if(this.multiple)this.$refs.focusInput.value=``;else{var o=this.$refs.focusInput?.$el;o&&(o.value=``)}this.$emit(`clear`),!this.multiple&&this.updateModel(e,null)}}},onMultipleContainerFocus:function(){this.disabled||(this.focused=!0)},onMultipleContainerBlur:function(){this.focusedMultipleOptionIndex=-1,this.focused=!1},onMultipleContainerKeyDown:function(e){if(this.disabled){e.preventDefault();return}switch(e.code){case`ArrowLeft`:this.onArrowLeftKeyOnMultiple(e);break;case`ArrowRight`:this.onArrowRightKeyOnMultiple(e);break;case`Backspace`:this.onBackspaceKeyOnMultiple(e);break}},onContainerClick:function(e){this.clicked=!0,!(this.disabled||this.searching||this.loading||this.isDropdownClicked(e))&&(!this.overlay||!this.overlay.contains(e.target))&&m(this.multiple?this.$refs.focusInput:this.$refs.focusInput.$el)},onDropdownClick:function(e){var t=void 0;if(this.overlayVisible)this.hide(!0);else{var n=this.multiple?this.$refs.focusInput:this.$refs.focusInput.$el;m(n),t=n.value,this.dropdownMode===`blank`?this.search(e,``,`dropdown`):this.dropdownMode===`current`&&this.search(e,t,`dropdown`)}this.$emit(`dropdown-click`,{originalEvent:e,query:t})},onOptionSelect:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,r=this.getOptionValue(t);this.multiple?(this.$refs.focusInput.value=``,this.isSelected(t)||this.updateModel(e,[].concat(K(this.d_value||[]),[r]))):this.updateModel(e,r),this.$emit(`item-select`,{originalEvent:e,value:t}),this.$emit(`option-select`,{originalEvent:e,value:t}),n&&this.hide(!0)},onOptionMouseMove:function(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)},onOptionSelectRange:function(e){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;if(n===-1&&(n=this.findNearestSelectedOptionIndex(r,!0)),r===-1&&(r=this.findNearestSelectedOptionIndex(n)),n!==-1&&r!==-1){var i=Math.min(n,r),a=Math.max(n,r),o=this.visibleOptions.slice(i,a+1).filter(function(e){return t.isValidOption(e)}).filter(function(e){return!t.isSelected(e)}).map(function(e){return t.getOptionValue(e)});this.updateModel(e,[].concat(K(this.d_value||[]),K(o)))}},onClearClick:function(e){this.updateModel(e,null),this.$emit(`clear`)},onOverlayClick:function(e){F.emit(`overlay-click`,{originalEvent:e,target:this.$el})},onOverlayKeyDown:function(e){switch(e.code){case`Escape`:this.onEscapeKey(e);break}},onArrowDownKey:function(e){if(this.overlayVisible){var t=this.focusedOptionIndex===-1?this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex():this.findNextOptionIndex(this.focusedOptionIndex);this.multiple&&e.shiftKey&&this.onOptionSelectRange(e,this.startRangeIndex,t),this.changeFocusedOptionIndex(e,t),e.preventDefault()}},onArrowUpKey:function(e){if(this.overlayVisible)if(e.altKey)this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),e.preventDefault();else{var t=this.focusedOptionIndex===-1?this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex():this.findPrevOptionIndex(this.focusedOptionIndex);this.multiple&&e.shiftKey&&this.onOptionSelectRange(e,t,this.startRangeIndex),this.changeFocusedOptionIndex(e,t),e.preventDefault()}},onArrowLeftKey:function(e){var t=e.currentTarget;this.focusedOptionIndex=-1,this.multiple&&(oe(t.value)&&this.$filled?(m(this.$refs.multiContainer),this.focusedMultipleOptionIndex=this.d_value.length):e.stopPropagation())},onArrowRightKey:function(e){this.focusedOptionIndex=-1,this.multiple&&e.stopPropagation()},onHomeKey:function(e){var t=e.currentTarget,n=t.value.length,r=e.metaKey||e.ctrlKey,i=this.findFirstOptionIndex();this.multiple&&e.shiftKey&&r&&this.onOptionSelectRange(e,i,this.startRangeIndex),t.setSelectionRange(0,e.shiftKey?n:0),this.focusedOptionIndex=-1,e.preventDefault()},onEndKey:function(e){var t=e.currentTarget,n=t.value.length,r=e.metaKey||e.ctrlKey,i=this.findLastOptionIndex();this.multiple&&e.shiftKey&&r&&this.onOptionSelectRange(e,this.startRangeIndex,i),t.setSelectionRange(e.shiftKey?0:n,n),this.focusedOptionIndex=-1,e.preventDefault()},onPageUpKey:function(e){this.scrollInView(0),e.preventDefault()},onPageDownKey:function(e){this.scrollInView(this.visibleOptions.length-1),e.preventDefault()},onEnterKey:function(e){this.typeahead?this.overlayVisible?(this.focusedOptionIndex!==-1&&(this.multiple&&e.shiftKey?this.onOptionSelectRange(e,this.focusedOptionIndex):this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),e.preventDefault()),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(e)):this.multiple&&(e.target.value.trim()&&(this.updateModel(e,[].concat(K(this.d_value||[]),[e.target.value.trim()])),this.$refs.focusInput.value=``),e.preventDefault())},onSpaceKey:function(e){!this.autoOptionFocus&&this.focusedOptionIndex!==-1&&this.onEnterKey(e)},onEscapeKey:function(e){this.overlayVisible&&this.hide(!0),e.preventDefault()},onTabKey:function(e){this.focusedOptionIndex!==-1&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide()},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onBackspaceKey:function(e){if(this.multiple){if(j(this.d_value)&&!this.$refs.focusInput.value){var t=this.d_value[this.d_value.length-1],n=this.d_value.slice(0,-1);this.writeValue(n,e),this.$emit(`item-unselect`,{originalEvent:e,value:t}),this.$emit(`option-unselect`,{originalEvent:e,value:t})}e.stopPropagation()}},onArrowLeftKeyOnMultiple:function(){this.focusedMultipleOptionIndex=this.focusedMultipleOptionIndex<1?0:this.focusedMultipleOptionIndex-1},onArrowRightKeyOnMultiple:function(){this.focusedMultipleOptionIndex++,this.focusedMultipleOptionIndex>this.d_value.length-1&&(this.focusedMultipleOptionIndex=-1,m(this.$refs.focusInput))},onBackspaceKeyOnMultiple:function(e){this.focusedMultipleOptionIndex!==-1&&this.removeOption(e,this.focusedMultipleOptionIndex)},onOverlayEnter:function(e){C.set(`overlay`,e,this.$primevue.config.zIndex.overlay),ne(e,{position:`absolute`,top:`0`}),this.alignOverlay(),this.$attrSelector&&e.setAttribute(this.$attrSelector,``)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit(`show`)},onOverlayLeave:function(e){e.style.pointerEvents=`none`,this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit(`hide`),this.overlay=null},onOverlayAfterLeave:function(e){C.clear(e)},alignOverlay:function(){var e=this.multiple?this.$refs.multiContainer:this.$refs.focusInput.$el;this.appendTo===`self`?p(this.overlay,e):(this.overlay.style.minWidth=o(e)+`px`,I(this.overlay,e))},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.overlay&&e.isOutsideClicked(t)&&e.hide()},document.addEventListener(`click`,this.outsideClickListener,!0))},unbindOutsideClickListener:function(){this.outsideClickListener&&=(document.removeEventListener(`click`,this.outsideClickListener,!0),null)},bindScrollListener:function(){var e=this;this.scrollHandler||=new k(this.$refs.container,function(){e.overlayVisible&&e.hide()}),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!c()&&e.hide()},window.addEventListener(`resize`,this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&=(window.removeEventListener(`resize`,this.resizeListener),null)},isOutsideClicked:function(e){return!this.overlay.contains(e.target)&&!this.isInputClicked(e)&&!this.isDropdownClicked(e)},isInputClicked:function(e){return this.multiple?e.target===this.$refs.multiContainer||this.$refs.multiContainer.contains(e.target):e.target===this.$refs.focusInput.$el},isDropdownClicked:function(e){return this.$refs.dropdownButton?e.target===this.$refs.dropdownButton||this.$refs.dropdownButton.contains(e.target):!1},isOptionMatched:function(e,t){return this.isValidOption(e)&&this.getOptionLabel(e)?.toLocaleLowerCase(this.searchLocale)===t.toLocaleLowerCase(this.searchLocale)},isValidOption:function(e){return j(e)&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))},isValidSelectedOption:function(e){return this.isValidOption(e)&&this.isSelected(e)},isEquals:function(e,t){return O(e,t,this.equalityKey)},isSelected:function(e){var t=this,n=this.getOptionValue(e);return this.multiple?(this.d_value||[]).some(function(e){return t.isEquals(e,n)}):this.isEquals(this.d_value,this.getOptionValue(e))},findFirstOptionIndex:function(){var e=this;return this.visibleOptions.findIndex(function(t){return e.isValidOption(t)})},findLastOptionIndex:function(){var e=this;return _(this.visibleOptions,function(t){return e.isValidOption(t)})},findNextOptionIndex:function(e){var t=this,n=e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex(function(e){return t.isValidOption(e)}):-1;return n>-1?n+e+1:e},findPrevOptionIndex:function(e){var t=this,n=e>0?_(this.visibleOptions.slice(0,e),function(e){return t.isValidOption(e)}):-1;return n>-1?n:e},findSelectedOptionIndex:function(){var e=this;return this.$filled?this.visibleOptions.findIndex(function(t){return e.isValidSelectedOption(t)}):-1},findFirstFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e},findLastFocusedOptionIndex:function(){var e=this.findSelectedOptionIndex();return e<0?this.findLastOptionIndex():e},search:function(e,t,n){t!=null&&(n===`input`&&t.trim().length===0||(this.searching=!0,this.$emit(`complete`,{originalEvent:e,query:t})))},removeOption:function(e,t){var n=this,r=this.d_value[t],i=this.d_value.filter(function(e,n){return n!==t}).map(function(e){return n.getOptionValue(e)});this.updateModel(e,i),this.$emit(`item-unselect`,{originalEvent:e,value:r}),this.$emit(`option-unselect`,{originalEvent:e,value:r}),this.dirty=!0,m(this.multiple?this.$refs.focusInput:this.$refs.focusInput.$el)},changeFocusedOptionIndex:function(e,t){this.focusedOptionIndex!==t&&(this.focusedOptionIndex=t,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(e,this.visibleOptions[t],!1))},scrollInView:function(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var n=t===-1?e.focusedOptionId:`${e.$id}_${t}`,r=ae(e.list,`li[id="${n}"]`);r?r.scrollIntoView&&r.scrollIntoView({block:`nearest`,inline:`start`}):e.virtualScrollerDisabled||e.virtualScroller&&e.virtualScroller.scrollToIndex(t===-1?e.focusedOptionIndex:t)})},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(e,t){this.writeValue(t,e),this.$emit(`change`,{originalEvent:e,value:t})},flatOptions:function(e){var t=this;return(e||[]).reduce(function(e,n,r){e.push({optionGroup:n,group:!0,index:r});var i=t.getOptionGroupChildren(n);return i&&i.forEach(function(t){return e.push(t)}),e},[])},overlayRef:function(e){this.overlay=e},listRef:function(e,t){this.list=e,t&&t(e)},virtualScrollerRef:function(e){this.virtualScroller=e},findNextSelectedOptionIndex:function(e){var t=this,n=this.$filled&&e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex(function(e){return t.isValidSelectedOption(e)}):-1;return n>-1?n+e+1:-1},findPrevSelectedOptionIndex:function(e){var t=this,n=this.$filled&&e>0?_(this.visibleOptions.slice(0,e),function(e){return t.isValidSelectedOption(e)}):-1;return n>-1?n:-1},findNearestSelectedOptionIndex:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=-1;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}},computed:{visibleOptions:function(){return this.optionGroupLabel?this.flatOptions(this.suggestions):this.suggestions||[]},inputValue:function(){return this.$filled?G(this.d_value)===`object`?this.getOptionLabel(this.d_value)??this.d_value:this.d_value:``},hasSelectedOption:function(){return this.$filled},equalityKey:function(){return this.dataKey},searchResultMessageText:function(){return j(this.visibleOptions)&&this.overlayVisible?this.searchMessageText.replaceAll(`{0}`,this.visibleOptions.length):this.emptySearchMessageText},searchMessageText:function(){return this.searchMessage||this.$primevue.config.locale.searchMessage||``},emptySearchMessageText:function(){return this.emptySearchMessage||this.$primevue.config.locale.emptySearchMessage||``},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||``},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||``},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll(`{0}`,this.multiple?this.d_value.length:`1`):this.emptySelectionMessageText},listAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.listLabel:void 0},focusedOptionId:function(){return this.focusedOptionIndex===-1?null:`${this.$id}_${this.focusedOptionIndex}`},focusedMultipleOptionId:function(){return this.focusedMultipleOptionIndex===-1?null:`${this.$id}_multiple_option_${this.focusedMultipleOptionIndex}`},isClearIconVisible:function(){return this.showClear&&this.$filled&&!this.disabled&&!this.loading},ariaSetSize:function(){var e=this;return this.visibleOptions.filter(function(t){return!e.isOptionGroup(t)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions},panelId:function(){return this.$id+`_panel`},containerDataP:function(){return s({fluid:this.$fluid})},overlayDataP:function(){return s(H({},`portal-`+this.appendTo,`portal-`+this.appendTo))},inputMultipleDataP:function(){return s(H({invalid:this.$invalid,disabled:this.disabled,focus:this.focused,fluid:this.$fluid,filled:this.$variant===`filled`,empty:!this.$filled},this.size,this.size))}},components:{InputText:D,VirtualScroller:P,Portal:g,Chip:z,ChevronDownIcon:b,SpinnerIcon:h,TimesIcon:ie},directives:{ripple:a}};function X(e){"@babel/helpers - typeof";return X=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},X(e)}function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Z(Object(n),!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return(t=de(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e){var t=fe(e,`string`);return X(t)==`symbol`?t:t+``}function fe(e,t){if(X(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(X(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var pe=[`data-p`],$=[`aria-activedescendant`,`data-p-has-dropdown`,`data-p`],me=[`id`,`aria-label`,`aria-setsize`,`aria-posinset`],he=[`id`,`placeholder`,`tabindex`,`disabled`,`aria-label`,`aria-labelledby`,`aria-expanded`,`aria-controls`,`aria-activedescendant`,`aria-invalid`],ge=[`data-p-has-dropdown`],_e=[`disabled`,`aria-expanded`,`aria-controls`],ve=[`id`,`data-p`],ye=[`id`,`aria-label`],be=[`id`],xe=[`id`,`aria-label`,`aria-selected`,`aria-disabled`,`aria-setsize`,`aria-posinset`,`onClick`,`onMousemove`,`data-p-selected`,`data-p-focused`,`data-p-disabled`];function Se(a,o,s,c,p,m){var h=N(`InputText`),g=N(`TimesIcon`),_=N(`Chip`),b=N(`SpinnerIcon`),x=N(`VirtualScroller`),S=N(`Portal`),C=ee(`ripple`);return M(),T(`div`,i({ref:`container`,class:a.cx(`root`),style:a.sx(`root`),onClick:o[11]||=function(){return m.onContainerClick&&m.onContainerClick.apply(m,arguments)},"data-p":m.containerDataP},a.ptmi(`root`)),[a.multiple?u(``,!0):(M(),t(h,{key:0,ref:`focusInput`,id:a.inputId,type:`text`,name:a.$formName,class:L([a.cx(`pcInputText`),a.inputClass]),style:n(a.inputStyle),defaultValue:m.inputValue,placeholder:a.placeholder,tabindex:a.disabled?-1:a.tabindex,fluid:a.$fluid,disabled:a.disabled,size:a.size,invalid:a.invalid,variant:a.variant,autocomplete:`off`,role:`combobox`,"aria-label":a.ariaLabel,"aria-labelledby":a.ariaLabelledby,"aria-haspopup":`listbox`,"aria-autocomplete":`list`,"aria-expanded":p.overlayVisible,"aria-controls":p.overlayVisible?m.panelId:void 0,"aria-activedescendant":p.focused?m.focusedOptionId:void 0,onFocus:m.onFocus,onBlur:m.onBlur,onKeydown:m.onKeyDown,onInput:m.onInput,onChange:m.onChange,unstyled:a.unstyled,"data-p-has-dropdown":a.dropdown,pt:a.ptm(`pcInputText`)},null,8,[`id`,`name`,`class`,`style`,`defaultValue`,`placeholder`,`tabindex`,`fluid`,`disabled`,`size`,`invalid`,`variant`,`aria-label`,`aria-labelledby`,`aria-expanded`,`aria-controls`,`aria-activedescendant`,`onFocus`,`onBlur`,`onKeydown`,`onInput`,`onChange`,`unstyled`,`data-p-has-dropdown`,`pt`])),m.isClearIconVisible?A(a.$slots,`clearicon`,{key:1,class:L(a.cx(`clearIcon`)),clearCallback:m.onClearClick},function(){return[d(g,i({class:[a.cx(`clearIcon`)],onClick:m.onClearClick},a.ptm(`clearIcon`)),null,16,[`class`,`onClick`])]}):u(``,!0),a.multiple?(M(),T(`ul`,i({key:2,ref:`multiContainer`,class:a.cx(`inputMultiple`),tabindex:`-1`,role:`listbox`,"aria-orientation":`horizontal`,"aria-activedescendant":p.focused?m.focusedMultipleOptionId:void 0,onFocus:o[5]||=function(){return m.onMultipleContainerFocus&&m.onMultipleContainerFocus.apply(m,arguments)},onBlur:o[6]||=function(){return m.onMultipleContainerBlur&&m.onMultipleContainerBlur.apply(m,arguments)},onKeydown:o[7]||=function(){return m.onMultipleContainerKeyDown&&m.onMultipleContainerKeyDown.apply(m,arguments)},"data-p-has-dropdown":a.dropdown,"data-p":m.inputMultipleDataP},a.ptm(`inputMultiple`)),[(M(!0),T(f,null,v(a.d_value,function(e,t){return M(),T(`li`,i({key:`${t}_${m.getOptionLabel(e)}`,id:a.$id+`_multiple_option_`+t,class:a.cx(`chipItem`,{i:t}),role:`option`,"aria-label":m.getOptionLabel(e),"aria-selected":!0,"aria-setsize":a.d_value.length,"aria-posinset":t+1},{ref_for:!0},a.ptm(`chipItem`)),[A(a.$slots,`chip`,i({class:a.cx(`pcChip`),value:e,index:t,removeCallback:function(e){return m.removeOption(e,t)}},{ref_for:!0},a.ptm(`pcChip`)),function(){return[d(_,{class:L(a.cx(`pcChip`)),label:m.getOptionLabel(e),removeIcon:a.chipIcon||a.removeTokenIcon,removable:``,unstyled:a.unstyled,onRemove:function(e){return m.removeOption(e,t)},"data-p-focused":p.focusedMultipleOptionIndex===t,pt:a.ptm(`pcChip`)},{removeicon:y(function(){return[A(a.$slots,a.$slots.chipicon?`chipicon`:`removetokenicon`,{class:L(a.cx(`chipIcon`)),index:t,removeCallback:function(e){return m.removeOption(e,t)}})]}),_:2},1032,[`class`,`label`,`removeIcon`,`unstyled`,`onRemove`,`data-p-focused`,`pt`])]})],16,me)}),128)),r(`li`,i({class:a.cx(`inputChip`),role:`option`},a.ptm(`inputChip`)),[r(`input`,i({ref:`focusInput`,id:a.inputId,type:`text`,style:a.inputStyle,class:a.inputClass,placeholder:a.placeholder,tabindex:a.disabled?-1:a.tabindex,disabled:a.disabled,autocomplete:`off`,role:`combobox`,"aria-label":a.ariaLabel,"aria-labelledby":a.ariaLabelledby,"aria-haspopup":`listbox`,"aria-autocomplete":`list`,"aria-expanded":p.overlayVisible,"aria-controls":a.$id+`_list`,"aria-activedescendant":p.focused?m.focusedOptionId:void 0,"aria-invalid":a.invalid||void 0,onFocus:o[0]||=function(){return m.onFocus&&m.onFocus.apply(m,arguments)},onBlur:o[1]||=function(){return m.onBlur&&m.onBlur.apply(m,arguments)},onKeydown:o[2]||=function(){return m.onKeyDown&&m.onKeyDown.apply(m,arguments)},onInput:o[3]||=function(){return m.onInput&&m.onInput.apply(m,arguments)},onChange:o[4]||=function(){return m.onChange&&m.onChange.apply(m,arguments)}},a.ptm(`input`)),null,16,he)],16)],16,$)):u(``,!0),p.searching||a.loading?A(a.$slots,a.$slots.loader?`loader`:`loadingicon`,{key:3,class:L(a.cx(`loader`))},function(){return[a.loader||a.loadingIcon?(M(),T(`i`,i({key:0,class:[`pi-spin`,a.cx(`loader`),a.loader,a.loadingIcon],"aria-hidden":`true`,"data-p-has-dropdown":a.dropdown},a.ptm(`loader`)),null,16,ge)):a.loading?(M(),t(b,i({key:1,class:a.cx(`loader`),spin:``,"aria-hidden":`true`,"data-p-has-dropdown":a.dropdown},a.ptm(`loader`)),null,16,[`class`,`data-p-has-dropdown`])):u(``,!0)]}):u(``,!0),A(a.$slots,a.$slots.dropdown?`dropdown`:`dropdownbutton`,{toggleCallback:function(e){return m.onDropdownClick(e)}},function(){return[a.dropdown?(M(),T(`button`,i({key:0,ref:`dropdownButton`,type:`button`,class:[a.cx(`dropdown`),a.dropdownClass],disabled:a.disabled,"aria-haspopup":`listbox`,"aria-expanded":p.overlayVisible,"aria-controls":m.panelId,onClick:o[8]||=function(){return m.onDropdownClick&&m.onDropdownClick.apply(m,arguments)}},a.ptm(`dropdown`)),[A(a.$slots,`dropdownicon`,{class:L(a.dropdownIcon)},function(){return[(M(),t(re(a.dropdownIcon?`span`:`ChevronDownIcon`),i({class:a.dropdownIcon},a.ptm(`dropdownIcon`)),null,16,[`class`]))]})],16,_e)):u(``,!0)]}),a.typeahead?(M(),T(`span`,i({key:4,role:`status`,"aria-live":`polite`,class:`p-hidden-accessible`},a.ptm(`hiddenSearchResult`),{"data-p-hidden-accessible":!0}),e(m.searchResultMessageText),17)):u(``,!0),d(S,{appendTo:a.appendTo},{default:y(function(){return[d(E,i({name:`p-anchored-overlay`,onEnter:m.onOverlayEnter,onAfterEnter:m.onOverlayAfterEnter,onLeave:m.onOverlayLeave,onAfterLeave:m.onOverlayAfterLeave},a.ptm(`transition`)),{default:y(function(){return[p.overlayVisible?(M(),T(`div`,i({key:0,ref:m.overlayRef,id:m.panelId,class:[a.cx(`overlay`),a.panelClass,a.overlayClass],style:Q(Q({},a.panelStyle),a.overlayStyle),onClick:o[9]||=function(){return m.onOverlayClick&&m.onOverlayClick.apply(m,arguments)},onKeydown:o[10]||=function(){return m.onOverlayKeyDown&&m.onOverlayKeyDown.apply(m,arguments)},"data-p":m.overlayDataP},a.ptm(`overlay`)),[A(a.$slots,`header`,{value:a.d_value,suggestions:m.visibleOptions}),r(`div`,i({class:a.cx(`listContainer`),style:{"max-height":m.virtualScrollerDisabled?a.scrollHeight:``}},a.ptm(`listContainer`)),[d(x,i({ref:m.virtualScrollerRef},a.virtualScrollerOptions,{style:{height:a.scrollHeight},items:m.visibleOptions,tabindex:-1,disabled:m.virtualScrollerDisabled,pt:a.ptm(`virtualScroller`)}),te({content:y(function(t){var n=t.styleClass,o=t.contentRef,s=t.items,c=t.getItemOptions,d=t.contentStyle,h=t.itemSize;return[r(`ul`,i({ref:function(e){return m.listRef(e,o)},id:a.$id+`_list`,class:[a.cx(`list`),n],style:d,role:`listbox`,"aria-label":m.listAriaLabel},a.ptm(`list`)),[(M(!0),T(f,null,v(s,function(t,n){return M(),T(f,{key:m.getOptionRenderKey(t,m.getOptionIndex(n,c))},[m.isOptionGroup(t)?(M(),T(`li`,i({key:0,id:a.$id+`_`+m.getOptionIndex(n,c),style:{height:h?h+`px`:void 0},class:a.cx(`optionGroup`),role:`option`},{ref_for:!0},a.ptm(`optionGroup`)),[A(a.$slots,`optiongroup`,{option:t.optionGroup,index:m.getOptionIndex(n,c)},function(){return[l(e(m.getOptionGroupLabel(t.optionGroup)),1)]})],16,be)):R((M(),T(`li`,i({key:1,id:a.$id+`_`+m.getOptionIndex(n,c),style:{height:h?h+`px`:void 0},class:a.cx(`option`,{option:t,i:n,getItemOptions:c}),role:`option`,"aria-label":m.getOptionLabel(t),"aria-selected":m.isSelected(t),"aria-disabled":m.isOptionDisabled(t),"aria-setsize":m.ariaSetSize,"aria-posinset":m.getAriaPosInset(m.getOptionIndex(n,c)),onClick:function(e){return m.onOptionSelect(e,t)},onMousemove:function(e){return m.onOptionMouseMove(e,m.getOptionIndex(n,c))},"data-p-selected":m.isSelected(t),"data-p-focused":p.focusedOptionIndex===m.getOptionIndex(n,c),"data-p-disabled":m.isOptionDisabled(t)},{ref_for:!0},m.getPTOptions(t,c,n,`option`)),[A(a.$slots,`option`,{option:t,index:m.getOptionIndex(n,c)},function(){return[l(e(m.getOptionLabel(t)),1)]})],16,xe)),[[C]])],64)}),128)),a.showEmptyMessage&&(!s||s&&s.length===0)?(M(),T(`li`,i({key:0,class:a.cx(`emptyMessage`),role:`option`},a.ptm(`emptyMessage`)),[A(a.$slots,`empty`,{},function(){return[l(e(m.searchResultMessageText),1)]})],16)):u(``,!0)],16,ye)]}),_:2},[a.$slots.loader?{name:`loader`,fn:y(function(e){var t=e.options;return[A(a.$slots,`loader`,{options:t})]}),key:`0`}:void 0]),1040,[`style`,`items`,`disabled`,`pt`])],16),A(a.$slots,`footer`,{value:a.d_value,suggestions:m.visibleOptions}),r(`span`,i({role:`status`,"aria-live":`polite`,class:`p-hidden-accessible`},a.ptm(`hiddenSelectedMessage`),{"data-p-hidden-accessible":!0}),e(m.selectedMessageText),17)],16,ve)):u(``,!0)]}),_:3},16,[`onEnter`,`onAfterEnter`,`onLeave`,`onAfterLeave`])]}),_:3},8,[`appendTo`])],16,pe)}Y.render=Se;export{Y as t};
@@ -1,32 +0,0 @@
1
- import{Ei as e,Gi as t,Oi as n,Xn as r,dr as i,ki as a,oa as o,ra as s}from"./index-Bb59Dhi7.js";var c={name:`Card`,extends:{name:`BaseCard`,extends:r,style:i.extend({name:`card`,style:`
2
- .p-card {
3
- background: dt('card.background');
4
- color: dt('card.color');
5
- box-shadow: dt('card.shadow');
6
- border-radius: dt('card.border.radius');
7
- display: flex;
8
- flex-direction: column;
9
- }
10
-
11
- .p-card-caption {
12
- display: flex;
13
- flex-direction: column;
14
- gap: dt('card.caption.gap');
15
- }
16
-
17
- .p-card-body {
18
- padding: dt('card.body.padding');
19
- display: flex;
20
- flex-direction: column;
21
- gap: dt('card.body.gap');
22
- }
23
-
24
- .p-card-title {
25
- font-size: dt('card.title.font.size');
26
- font-weight: dt('card.title.font.weight');
27
- }
28
-
29
- .p-card-subtitle {
30
- color: dt('card.subtitle.color');
31
- }
32
- `,classes:{root:`p-card p-component`,header:`p-card-header`,body:`p-card-body`,caption:`p-card-caption`,title:`p-card-title`,subtitle:`p-card-subtitle`,content:`p-card-content`,footer:`p-card-footer`}}),provide:function(){return{$pcCard:this,$parentInstance:this}}},inheritAttrs:!1};function l(r,i,c,l,u,d){return s(),a(`div`,t({class:r.cx(`root`)},r.ptmi(`root`)),[r.$slots.header?(s(),a(`div`,t({key:0,class:r.cx(`header`)},r.ptm(`header`)),[o(r.$slots,`header`)],16)):n(``,!0),e(`div`,t({class:r.cx(`body`)},r.ptm(`body`)),[r.$slots.title||r.$slots.subtitle?(s(),a(`div`,t({key:0,class:r.cx(`caption`)},r.ptm(`caption`)),[r.$slots.title?(s(),a(`div`,t({key:0,class:r.cx(`title`)},r.ptm(`title`)),[o(r.$slots,`title`)],16)):n(``,!0),r.$slots.subtitle?(s(),a(`div`,t({key:1,class:r.cx(`subtitle`)},r.ptm(`subtitle`)),[o(r.$slots,`subtitle`)],16)):n(``,!0)],16)):n(``,!0),e(`div`,t({class:r.cx(`content`)},r.ptm(`content`)),[o(r.$slots,`content`)],16),r.$slots.footer?(s(),a(`div`,t({key:1,class:r.cx(`footer`)},r.ptm(`footer`)),[o(r.$slots,`footer`)],16)):n(``,!0)],16)],16)}c.render=l;export{c as t};