@runeya/runeya 2.0.113 → 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.
- package/{chat-HXONIBWN.js → chat-EDMSN2Z4.js} +3 -3
- package/{chunk-V7A622EJ.js → chunk-2QJHCNS6.js} +40 -5
- package/chunk-2QJHCNS6.js.map +1 -0
- package/{chunk-NHKZXNLU.js → chunk-KJIEAQRX.js} +38 -8
- package/chunk-KJIEAQRX.js.map +1 -0
- package/{companion-22KIHB4W.js → companion-PHE4XZBX.js} +12 -2
- package/index.js +3 -3
- package/package.json +1 -1
- package/{src-GRFQ5OCA.js → src-B4RWB2BN.js} +4 -4
- package/web/assets/AgentScalarChatInterface.vue-BF7maBl3.js +13 -0
- package/web/assets/AgentTerminalPage-CvmJM-z2.js +1 -0
- package/web/assets/AiChatPage-CZvzic7w.js +1 -0
- package/web/assets/AppLayout-B6rcGZ-d.js +1 -0
- package/web/assets/AuditPage-Zow6i_p1.js +1 -0
- package/web/assets/CloudAccountPage-C7NM_P_L.js +1 -0
- package/web/assets/CloudAccountPage-EIJZWYuK.js +1 -0
- package/web/assets/CloudMessagingPage-TLIkdLja.js +2 -0
- package/web/assets/DashboardPage-DVe-s0J_.js +164 -0
- package/web/assets/DirectoryPickerDialog-B7FOXRqJ.js +1 -0
- package/web/assets/{EditorIcon-BhpkYIot.js → EditorIcon-DJxKo-Bu.js} +2 -2
- package/web/assets/EnvironmentForm-1NSDqR4s.js +108 -0
- package/web/assets/EnvironmentFormPage-B8u9s5R1.js +1 -0
- package/web/assets/EnvironmentListPage-CmzFuAkD.js +1 -0
- package/web/assets/KanbanBoardPage-B4luJ-Om.css +1 -0
- package/web/assets/KanbanBoardPage-BwlRY-B5.js +4 -0
- package/web/assets/KanbanListPage-BHvmkCBo.js +1 -0
- package/web/assets/LaunchProjectPage-CLtvEtB7.js +1 -0
- package/web/assets/LaunchServicesPage-CNwMUBEf.js +1 -0
- package/web/assets/LogViewer-CttayRws.js +3 -0
- package/web/assets/OrgKeyPrompt-BCUxooW7.js +1 -0
- package/web/assets/{ProcessControls-Gz7cXhYA.js → ProcessControls-B_21fX0o.js} +1 -1
- package/web/assets/ProcessDetailPage-C9SV4g8j.js +1 -0
- package/web/assets/{ProcessMetrics-BpIsA9MD.js → ProcessMetrics-jxJHtg7z.js} +2 -2
- package/web/assets/RandomJobTestPage-0PVLJcpY.js +2 -0
- package/web/assets/ScenarioEditorPage-CDRQjUbW.js +14 -0
- package/web/assets/SendToChatDialog-WvHUhHoF.js +1 -0
- package/web/assets/ServiceControlsBar-BUTVG9E_.js +1 -0
- package/web/assets/ServiceDetailPage-BzPogs-k.js +2 -0
- package/web/assets/ServiceFormPage-BAnq0Ajd.js +1 -0
- package/web/assets/SettingsPage-B60IQ4-n.js +2063 -0
- package/web/assets/UnlockPage-BrBOIaYO.js +1 -0
- package/web/assets/VaultMigrationPage-DwPlrgAk.js +1 -0
- package/web/assets/VersionBadge-VifKvUR5.js +1 -0
- package/web/assets/WikiPage-hb8nDENE.js +1 -0
- package/web/assets/WikiView-BGFK-ViQ.js +1 -0
- package/web/assets/{add-scalar-classes-DpYXm-U6.js → add-scalar-classes-B7RXfMBe.js} +26 -26
- package/web/assets/autocomplete-CeUb1Plo.js +308 -0
- package/web/assets/{basic-shape-diamond.svg-Dw510icC.js → basic-shape-diamond.svg-D95sAEHe.js} +1 -1
- package/web/assets/{basic-shape-hexagon.svg-DAUAQVtJ.js → basic-shape-hexagon.svg-Bhu8sbuK.js} +1 -1
- package/web/assets/{basic-shape-primary-circle-ellipse-round.svg-CKCcovEE.js → basic-shape-primary-circle-ellipse-round.svg-BPXa2nfu.js} +1 -1
- package/web/assets/{basic-shape-primary-square-rectangle.svg-Bw-g7R9z.js → basic-shape-primary-square-rectangle.svg-DYx2Drq6.js} +1 -1
- package/web/assets/{basic-shape-shield.svg-vSAGsG0t.js → basic-shape-shield.svg-iaNrBbaU.js} +1 -1
- package/web/assets/{browser-CbVH3LXi.js → browser-Bd9Xf4OZ.js} +1 -1
- package/web/assets/{browser-CLqt2uce.js → browser-DhkJWAns.js} +1 -1
- package/web/assets/card-WTAGOi1D.js +32 -0
- package/web/assets/{checkbox-6xutr3Uz.js → checkbox-DZeCLgbK.js} +3 -3
- package/web/assets/{chip-eBEgs_bQ.js → chip-CzDSaVrV.js} +2 -2
- package/web/assets/client-DcD_v2XG.js +24 -0
- package/web/assets/cloud-chat.store-C0vZ0R5r.js +1 -0
- package/web/assets/cloud-client-P2Cyjp5i.js +1 -0
- package/web/assets/cloud-session-5od8XXV-.js +2 -0
- package/web/assets/cloud-session-DEFzA7ER.js +1 -0
- package/web/assets/column-D-tpUFcH.js +763 -0
- package/web/assets/{computer-device-desktop-monitor.svg-0KS4lxfa.js → computer-device-desktop-monitor.svg-CK-yuA7j.js} +1 -1
- package/web/assets/{computer-device-desktop.svg-cz46dsVO.js → computer-device-desktop.svg-DnR_dL9H.js} +1 -1
- package/web/assets/{computer-device-laptop.svg-w81e7NOt.js → computer-device-laptop.svg-B4NDUXf6.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung-back.svg-3VrHDWIa.js → computer-device-mobile-phone-android-samsung-back.svg-CDy5Mj_3.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-android-samsung.svg-CtvzAyFA.js → computer-device-mobile-phone-android-samsung.svg-DZwCAngQ.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x-back.svg-BEkM4iIy.js → computer-device-mobile-phone-iphone-x-back.svg-qnHXKnfy.js} +1 -1
- package/web/assets/{computer-device-mobile-phone-iphone-x.svg-CBmGOL5-.js → computer-device-mobile-phone-iphone-x.svg-CufxVRii.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet-touch.svg-DhrH7L9h.js → computer-device-mobile-tablet-touch.svg-DvNOww1M.js} +1 -1
- package/web/assets/{computer-device-mobile-tablet.svg-B4USI2rv.js → computer-device-mobile-tablet.svg-C30Nrbgf.js} +1 -1
- package/web/assets/{computer-device-network-ethernet-cat6.svg-ZHp62Ism.js → computer-device-network-ethernet-cat6.svg-BkhnUZzo.js} +1 -1
- package/web/assets/{computer-device-network-lan-www.svg-BP2r4gph.js → computer-device-network-lan-www.svg-DXEfVvcC.js} +1 -1
- package/web/assets/{computer-device-network-wifi-connection.svg--VFJWtga.js → computer-device-network-wifi-connection.svg-CRSKVh1x.js} +1 -1
- package/web/assets/{computer-device-network-wifi-router.svg-Coiprxzw.js → computer-device-network-wifi-router.svg-DwfOCroy.js} +1 -1
- package/web/assets/{cssMode-Chx6pDSt.js → cssMode-Dc5jzss9.js} +1 -1
- package/web/assets/{divider-DqByoKk7.js → divider-Diym1gIH.js} +2 -2
- package/web/assets/{docx-preview-DAn19CK-.js → docx-preview-B62lLslx.js} +1 -1
- package/web/assets/{ecology-science-erlenmeyer-flask.svg-CCX_qJng.js → ecology-science-erlenmeyer-flask.svg-CVBcLrkT.js} +1 -1
- package/web/assets/{fieldset-CPbu6OwO.js → fieldset-xjeWC_Zd.js} +2 -2
- package/web/assets/{freemarker2-D6ng20XU.js → freemarker2-CCSFwo1D.js} +1 -1
- package/web/assets/{handlebars-TqAejWLR.js → handlebars-Bo71unsx.js} +1 -1
- package/web/assets/{html-DHQesxYl.js → html-Bm9228kc.js} +1 -1
- package/web/assets/{htmlMode-BWi8yckG.js → htmlMode-BmR9QSyO.js} +1 -1
- package/web/assets/{image-flash-lightning.svg-kUZlJdyJ.js → image-flash-lightning.svg-BdEJcGIK.js} +1 -1
- package/web/assets/{image-picture-flower.svg-BETKnfPQ.js → image-picture-flower.svg-B-mtrwDE.js} +1 -1
- package/web/assets/{index-B0kiM8Uq.js → index-8J1A633V.js} +37 -37
- package/web/assets/{index-Cx6MK6xV.css → index-CuOHmXqW.css} +1 -1
- package/web/assets/{interface-alert-exclamation-diamond.svg-Dk0gh_cA.js → interface-alert-exclamation-diamond.svg-9cBuGRNJ.js} +1 -1
- package/web/assets/{interface-alert-exclamation-triangle-warning.svg-BbKCEPKO.js → interface-alert-exclamation-triangle-warning.svg-CEzfFTAS.js} +1 -1
- package/web/assets/{interface-alert-information-circle.svg-DP5fZC8P.js → interface-alert-information-circle.svg-BjpTNsHF.js} +1 -1
- package/web/assets/{interface-award-crown.svg-Dm0E71Fs.js → interface-award-crown.svg-DGFO5nfn.js} +1 -1
- package/web/assets/{interface-bookmark.svg-DseGESru.js → interface-bookmark-tag.svg-D5jyBgha.js} +1 -1
- package/web/assets/{interface-bookmark-tag.svg-DaRPmm-0.js → interface-bookmark.svg-u38u4053.js} +1 -1
- package/web/assets/{interface-calendar-date-one.svg-DX8Z93PO.js → interface-calendar-date-one.svg-CEE3ju0p.js} +1 -1
- package/web/assets/{interface-content-book-open-pages.svg-KuFgFaqm.js → interface-content-book-open-pages.svg-S1nvOdAe.js} +1 -1
- package/web/assets/{interface-content-book-page.svg-Qdk33UcS.js → interface-content-book-page.svg-CtDjLJwZ.js} +1 -1
- package/web/assets/{interface-content-file.svg-DgpD79Ev.js → interface-content-file.svg-AD0WHI0R.js} +1 -1
- package/web/assets/{interface-content-folder.svg-BnMxx8TW.js → interface-content-folder.svg-CM-PNCCw.js} +1 -1
- package/web/assets/interface-content-folder.svg-vAfHUVxs.js +1 -0
- package/web/assets/{interface-copy-clipboard.svg-awn7TT5B.js → interface-copy-clipboard.svg-rflxiB0d.js} +1 -1
- package/web/assets/{interface-edit-attachment.svg-CScvR12z.js → interface-edit-attachment.svg-DrANyzys.js} +1 -1
- package/web/assets/{interface-edit-binocular.svg-BIwe5N-S.js → interface-edit-binocular.svg-BETaEZ89.js} +1 -1
- package/web/assets/{interface-edit-magic-wand.svg-CjQxAQEW.js → interface-edit-magic-wand.svg-Bj6FVo53.js} +1 -1
- package/web/assets/{interface-edit-tool-paint-roller.svg-BO2K3qYQ.js → interface-edit-tool-paint-roller.svg-Bp6eRqNw.js} +1 -1
- package/web/assets/{interface-edit-tool-pencil.svg-BnFekVYc.js → interface-edit-tool-pencil.svg-DcLn0a3t.js} +1 -1
- package/web/assets/{interface-favorite-award.svg-Dk8Ekfxn.js → interface-favorite-award.svg-DUwbk0Rk.js} +1 -1
- package/web/assets/{interface-favorite-flag.svg-paEpQ6YD.js → interface-favorite-flag.svg-BRp2Dr2h.js} +1 -1
- package/web/assets/{interface-favorite-heart.svg-CDYe8n3S.js → interface-favorite-heart.svg-Bt_5Dxks.js} +1 -1
- package/web/assets/{interface-favorite-star.svg-CujlOsyC.js → interface-favorite-star.svg-iaJ9oR-m.js} +1 -1
- package/web/assets/{interface-favorite-stars-sparkles.svg-Bn2JUKHO.js → interface-favorite-stars-sparkles.svg-C3lZkFSY.js} +1 -1
- package/web/assets/{interface-hierarchy-flowchart.svg-BkZP3ONF.js → interface-hierarchy-flowchart.svg-NRnPKxEv.js} +1 -1
- package/web/assets/{interface-home-house.svg-B6ZSqByM.js → interface-home-house.svg-C2pnwXuY.js} +1 -1
- package/web/assets/{interface-hyperlink.svg-_GL_I8Cc.js → interface-hyperlink.svg-DMdhqTQ5.js} +1 -1
- package/web/assets/{interface-lighting-brightness.svg-BKNud1ST.js → interface-lighting-brightness.svg-Dvs_nG0d.js} +1 -1
- package/web/assets/{interface-lock-closed.svg-BIxB901I.js → interface-lock-closed.svg-CBeF2Ru4.js} +1 -1
- package/web/assets/{interface-lock-open-unlock.svg-C346zEiw.js → interface-lock-open-unlock.svg-sChGga1F.js} +1 -1
- package/web/assets/{interface-login-key.svg-PNjWTx1n.js → interface-login-key.svg-cZB0Vhyp.js} +1 -1
- package/web/assets/{interface-search.svg-DvmyTaRC.js → interface-search.svg-CjcIgtti.js} +1 -1
- package/web/assets/{interface-setting-cog.svg-txFEx4YE.js → interface-setting-cog.svg-H5RLVC2p.js} +1 -1
- package/web/assets/{interface-share-megaphone-bullhorn.svg-CZ4oac9R.js → interface-share-megaphone-bullhorn.svg-BEk0DA1W.js} +1 -1
- package/web/assets/{interface-share-rocket.svg-CXsQvaj4.js → interface-share-rocket.svg-p6tQEwJ6.js} +1 -1
- package/web/assets/{interface-share-satellite.svg-DtMf8zxH.js → interface-share-satellite.svg-BScMkxzb.js} +1 -1
- package/web/assets/{interface-share-space-ship.svg-B05HWrko.js → interface-share-space-ship.svg-RtJDwluc.js} +1 -1
- package/web/assets/{interface-share.svg-Cqalcrk-.js → interface-share.svg-_Rnlgc89.js} +1 -1
- package/web/assets/{interface-signal-square.svg-6SgjThqO.js → interface-signal-square.svg-sGo7FmcD.js} +1 -1
- package/web/assets/{interface-time-clock-circle.svg-YJcweKwg.js → interface-time-clock-circle.svg-CoQLcW4m.js} +1 -1
- package/web/assets/{interface-time-hour-glass.svg-BzWuAOkl.js → interface-time-hour-glass.svg-C4rHS8Sx.js} +1 -1
- package/web/assets/{interface-users-multiple.svg-BE_ZCFqc.js → interface-users-multiple.svg-B4ewwKgQ.js} +1 -1
- package/web/assets/{interface-weather-moon.svg-D0TATNWY.js → interface-weather-moon.svg-TOU86ccq.js} +1 -1
- package/web/assets/{javascript-4-Eop2R5.js → javascript-3xh4h-z5.js} +1 -1
- package/web/assets/{jsonMode-BMW06p5R.js → jsonMode-C6AJYdBQ.js} +2 -2
- package/web/assets/{liquid-CxxYVHLZ.js → liquid-B1uuh-2_.js} +1 -1
- package/web/assets/{lspLanguageFeatures-CmmZxeg_.js → lspLanguageFeatures-BSf4GNlz.js} +3 -3
- package/web/assets/{mail-chat-bubble-square.svg-B0G9gjcU.js → mail-chat-bubble-square.svg-Fe7IU49T.js} +1 -1
- package/web/assets/{mail-send-email-paper-airplane.svg-CJ0XB-9H.js → mail-send-email-paper-airplane.svg-Cu3dNuIm.js} +1 -1
- package/web/assets/{mail-send-envelope.svg-B0kJ3Aqs.js → mail-send-envelope.svg-C3l1liPg.js} +1 -1
- package/web/assets/{mdx-DYajWYAG.js → mdx-DjWUPAFj.js} +1 -1
- package/web/assets/{minus-DE9nJx8C.js → minus-Cy49kn7z.js} +2 -2
- package/web/assets/modal-4lYrZSCG.js +1 -0
- package/web/assets/modal-C0BaKlvZ.js +5 -0
- package/web/assets/{money-cashier-receipt.svg-X6ZcpHAU.js → money-cashier-receipt.svg-OkY-eUsN.js} +1 -1
- package/web/assets/{money-currency-dollar-pay.svg-B2OX8V4o.js → money-currency-dollar-pay.svg-DVA6DUQs.js} +1 -1
- package/web/assets/{money-graph-arrow-increase.svg-kA0v_EBq.js → money-graph-arrow-increase.svg-5zYZLe6Q.js} +1 -1
- package/web/assets/{money-graph-bar-chart-increase.svg-C6tRwpKs.js → money-graph-bar-chart-increase.svg-CqGQIzPc.js} +1 -1
- package/web/assets/multiselect-C2K875ec.js +251 -0
- package/web/assets/{nature-ecology-leaf.svg-CL6BWjEA.js → nature-ecology-leaf.svg-B-jPo4Mf.js} +1 -1
- package/web/assets/{password-CKC2s9br.js → password-FAGLfFXd.js} +4 -4
- package/web/assets/{phone-telephone.svg-BPLPilFX.js → phone-telephone.svg-BBDd4gOe.js} +1 -1
- package/web/assets/{plus-BH3nQRRu.js → plus-DvHGmumH.js} +6 -6
- package/web/assets/process.store-Dkhppeiw.js +1 -0
- package/web/assets/{programming-bug.svg-Buj_Rgb2.js → programming-bug.svg-Di_RRUT8.js} +1 -1
- package/web/assets/{programming-cloud.svg-Bglfw_Zj.js → programming-cloud.svg-UXDdd80c.js} +1 -1
- package/web/assets/{programming-computer-database-server.svg-6eELEA6V.js → programming-computer-database-server.svg-DqyeVkz2.js} +1 -1
- package/web/assets/{programming-computer-database.svg-65_8NiQD.js → programming-computer-database.svg-BB9uaRkU.js} +1 -1
- package/web/assets/{programming-module-four-layout.svg-CjU4rdjM.js → programming-module-four-layout.svg-DXHXfvRQ.js} +1 -1
- package/web/assets/{programming-module-three.svg-uzO2fYfp.js → programming-module-three.svg-BqdjaGQY.js} +1 -1
- package/web/assets/{programming-module.svg-D_yinDJ2.js → programming-module.svg-Dca7humV.js} +1 -1
- package/web/assets/{programming-script-code.svg-m6RVi2sN.js → programming-script-code.svg-S7W_TNxH.js} +1 -1
- package/web/assets/project-launch.store-HsHnuv7p.js +1 -0
- package/web/assets/project.store-nYOH1fu8.js +1 -0
- package/web/assets/{python-o3cRZGny.js → python-BMgf76Zf.js} +1 -1
- package/web/assets/radiobutton-BQ5ty9EJ.js +145 -0
- package/web/assets/{razor-C8gMtRsE.js → razor-DRB94rOF.js} +1 -1
- package/web/assets/router-CEGkI1tc.js +1 -0
- package/web/assets/settings-scope-Dj1u8OM-.js +1 -0
- package/web/assets/settings.store-CzBxGLJM.js +1 -0
- package/web/assets/{shopping-cart.svg-mVZb0dt8.js → shopping-cart.svg-BSU4UsCc.js} +1 -1
- package/web/assets/{shopping-gift-present.svg-B2fOaFL6.js → shopping-gift-present.svg-CC16xqoa.js} +1 -1
- package/web/assets/{shopping-shipping-box-parcel-package.svg-pfcqoFKm.js → shopping-shipping-box-parcel-package.svg-jK-_sKtf.js} +1 -1
- package/web/assets/src-21gpk7yl.js +572 -0
- package/web/assets/{src-D3c-zXYU.js → src-Brqld0NK.js} +25 -25
- package/web/assets/{src-DT1d6_ti.css → src-D2BeOnZr.css} +1 -1
- package/web/assets/src-DYhMIuuF.js +1 -0
- package/web/assets/{tabpanel-OrNxV1at.js → tabpanel-BytkhVWV.js} +3 -3
- package/web/assets/{tag-new-circle.svg-BEhLoxQb.js → tag-new-circle.svg-DOyNg7L6.js} +1 -1
- package/web/assets/theme-GoDEfTsY.js +1 -0
- package/web/assets/{toggleswitch-D6b-czAC.js → toggleswitch-Qo70K7EJ.js} +2 -2
- package/web/assets/{travel-map-earth-globe.svg-D60khzGq.js → travel-map-earth-globe.svg-D6szY-qJ.js} +1 -1
- package/web/assets/trpc-D_S7-UJx.js +1 -0
- package/web/assets/{tsMode-6ciwXVTf.js → tsMode-Lbkz8xJi.js} +5 -5
- package/web/assets/{typescript-DApY0khT.js → typescript-C9Y4Q3Pi.js} +1 -1
- package/web/assets/useAiChatDrawer-GXkAcvQ3.js +1 -0
- package/web/assets/useCloudOrg-C0YVyKuT.js +1 -0
- package/web/assets/useEnvVarAutocomplete-Dkjm0cg5.js +1 -0
- package/web/assets/useProjectCatalog-BwvqZBo1.js +1 -0
- package/web/assets/{useProjectCloudOrg-CA9dCOT6.js → useProjectCloudOrg-DpsnzqQF.js} +1 -1
- package/web/assets/useServiceUrlHost-BFSLGMHh.js +1 -0
- package/web/assets/{xml-_xh5s6fZ.js → xml-BAzLHFet.js} +1 -1
- package/web/assets/{yaml-DzcQUAmz.js → yaml-Dd3JbA6E.js} +1 -1
- package/web/index.html +2 -2
- package/chunk-NHKZXNLU.js.map +0 -1
- package/chunk-V7A622EJ.js.map +0 -1
- package/web/assets/AgentScalarChatInterface.vue-Z5bWSo4C.js +0 -13
- package/web/assets/AgentTerminalPage-DqYAPwNY.js +0 -1
- package/web/assets/AiChatPage-BR5Bi1Oj.js +0 -1
- package/web/assets/AppLayout-CYIFKQ_x.js +0 -1
- package/web/assets/AuditPage-B8zSi1dg.js +0 -1
- package/web/assets/CloudAccountPage-Bqlg6VxM.js +0 -1
- package/web/assets/CloudAccountPage-DnMVAIWn.js +0 -1
- package/web/assets/CloudMessagingPage-ClfNjh3p.js +0 -2
- package/web/assets/DashboardPage-D6Dxvk9Q.js +0 -164
- package/web/assets/DirectoryPickerDialog-CPRYW6fS.js +0 -1
- package/web/assets/EnvironmentForm-0gNFIaoB.js +0 -108
- package/web/assets/EnvironmentFormPage-D3oLRMLP.js +0 -1
- package/web/assets/EnvironmentListPage-T5YAsrxp.js +0 -1
- package/web/assets/KanbanBoardPage-CQrFm9Lo.js +0 -4
- package/web/assets/KanbanBoardPage-CoTX8nB6.css +0 -1
- package/web/assets/KanbanListPage-COuQzvnd.js +0 -1
- package/web/assets/LaunchProjectPage-a5UxmXCC.js +0 -1
- package/web/assets/LaunchServicesPage-AWuveZpe.js +0 -1
- package/web/assets/LogViewer-C5Ti7nj5.js +0 -3
- package/web/assets/OrgKeyPrompt-Bd6qahGE.js +0 -1
- package/web/assets/ProcessDetailPage-CBuqIMLQ.js +0 -1
- package/web/assets/RandomJobTestPage-LZ9kMOPw.js +0 -2
- package/web/assets/ScenarioEditorPage-BkPbDnbt.js +0 -14
- package/web/assets/SendToChatDialog-9faJrdK8.js +0 -1
- package/web/assets/ServiceControlsBar-DgzEKcl2.js +0 -1
- package/web/assets/ServiceDetailPage-DZ8qxlw0.js +0 -2
- package/web/assets/ServiceFormPage-BWI0haLY.js +0 -1
- package/web/assets/SettingsPage-CVMNZHte.js +0 -2063
- package/web/assets/UnlockPage-DXRPhh3Z.js +0 -1
- package/web/assets/VaultMigrationPage-CE5CQTDP.js +0 -1
- package/web/assets/VersionBadge-D2dOmSKk.js +0 -1
- package/web/assets/WikiPage-BGJtm8Og.js +0 -1
- package/web/assets/WikiView-f6JuU8Aw.js +0 -1
- package/web/assets/autocomplete-DBinILnh.js +0 -308
- package/web/assets/card-BSbMp3Kr.js +0 -32
- package/web/assets/client-BkGi3BlZ.js +0 -24
- package/web/assets/cloud-chat.store-x2q_LSzq.js +0 -1
- package/web/assets/cloud-client-B8cQzeUY.js +0 -1
- package/web/assets/cloud-session-Cu62l8R4.js +0 -1
- package/web/assets/cloud-session-DCJy83es.js +0 -2
- package/web/assets/column-F3hROoso.js +0 -907
- package/web/assets/interface-content-folder.svg-C1AwKF6V.js +0 -1
- package/web/assets/modal-BoC-2XTi.js +0 -5
- package/web/assets/modal-C3DNZpYl.js +0 -1
- package/web/assets/multiselect-BHTnSIIV.js +0 -251
- package/web/assets/process.store-D60i9PpE.js +0 -1
- package/web/assets/project-launch.store-Ce2W53Kx.js +0 -1
- package/web/assets/project.store-ChsUuqm_.js +0 -1
- package/web/assets/router-kNyLCndK.js +0 -1
- package/web/assets/settings-scope-TpYzDp7B.js +0 -1
- package/web/assets/settings.store-qJ9zLEXQ.js +0 -1
- package/web/assets/src-lY9OM2VQ.js +0 -572
- package/web/assets/src-ymQ55sVM.js +0 -1
- package/web/assets/theme-B39euHea.js +0 -1
- package/web/assets/trpc-Bfo0Lx6p.js +0 -1
- package/web/assets/useAiChatDrawer-Dms_9-iX.js +0 -1
- package/web/assets/useCloudOrg-BokVr_5R.js +0 -1
- package/web/assets/useEnvVarAutocomplete-DjkSwQ-F.js +0 -1
- package/web/assets/useProjectCatalog-SfXm3pux.js +0 -1
- package/web/assets/useServiceUrlHost-DWXwXa-z.js +0 -1
- /package/{chat-HXONIBWN.js.map → chat-EDMSN2Z4.js.map} +0 -0
- /package/{companion-22KIHB4W.js.map → companion-PHE4XZBX.js.map} +0 -0
- /package/{src-GRFQ5OCA.js.map → src-B4RWB2BN.js.map} +0 -0
- /package/web/assets/{abap-B8g_2xYy.js → abap-DblxFMgX.js} +0 -0
- /package/web/assets/{apex-Bm8w4T5A.js → apex-C_fmPlQy.js} +0 -0
- /package/web/assets/{azcli-BqdUW6F8.js → azcli-D73HZyav.js} +0 -0
- /package/web/assets/{bat-Bngf0lQU.js → bat-Br4Biw6V.js} +0 -0
- /package/web/assets/{bicep-DzO554JS.js → bicep-Cwg6_V-m.js} +0 -0
- /package/web/assets/{browser-BJX5ZrVN.js → browser-D6yPejPt.js} +0 -0
- /package/web/assets/{cameligo-Bcy3ohdb.js → cameligo-Dq6Izwzi.js} +0 -0
- /package/web/assets/{clojure-CZbiqkDV.js → clojure-U0exYVUx.js} +0 -0
- /package/web/assets/{coffee-CDuhyV-7.js → coffee-mPGPozSE.js} +0 -0
- /package/web/assets/{cpp-BklV8f4x.js → cpp-lpr_PQMA.js} +0 -0
- /package/web/assets/{csharp-BelR_XiC.js → csharp-saQQwY3s.js} +0 -0
- /package/web/assets/{csp-DUjeBS2K.js → csp-CcDpUBZN.js} +0 -0
- /package/web/assets/{css-CvbYbEko.js → css-D6QFYBbL.js} +0 -0
- /package/web/assets/{cypher-Dwrbk-SP.js → cypher-B_4KCq-w.js} +0 -0
- /package/web/assets/{dart-BW1E5h9O.js → dart-CgLuovz1.js} +0 -0
- /package/web/assets/{dockerfile-B41ilpF9.js → dockerfile-DObNIc52.js} +0 -0
- /package/web/assets/{ecl-BZE6Vxna.js → ecl-BpCwjSsH.js} +0 -0
- /package/web/assets/{elixir-CtYg0bLh.js → elixir-CebZWKus.js} +0 -0
- /package/web/assets/{flow9-Sgvy48_I.js → flow9-DhoDs9JD.js} +0 -0
- /package/web/assets/{fsharp-BzAfXfKg.js → fsharp-YDWqgr0W.js} +0 -0
- /package/web/assets/{go-D7oonABu.js → go-CaPX4mu5.js} +0 -0
- /package/web/assets/{graphql-BEN-qkl0.js → graphql-DOSo46Ed.js} +0 -0
- /package/web/assets/{hcl-CE0OhwCq.js → hcl-nSYpx4qj.js} +0 -0
- /package/web/assets/{ini-CCLtcvjA.js → ini-Ca22qQIM.js} +0 -0
- /package/web/assets/{java-Bao8w_gp.js → java-KrQduvTo.js} +0 -0
- /package/web/assets/{julia-Dr0hFYrl.js → julia-Bb2MDsY_.js} +0 -0
- /package/web/assets/{kotlin-Cbfu8lcM.js → kotlin-DB7e82Vg.js} +0 -0
- /package/web/assets/{less-BU4gEpXr.js → less-K5fiQqgY.js} +0 -0
- /package/web/assets/{lexon-GpBGGdTS.js → lexon-Do9EcqkA.js} +0 -0
- /package/web/assets/{lua-DIPKk37y.js → lua-DU9Dpzvs.js} +0 -0
- /package/web/assets/{m3-CSOypKGf.js → m3-pF6PmPkL.js} +0 -0
- /package/web/assets/{markdown-VDqAgkyM.js → markdown-BNRSTD3D.js} +0 -0
- /package/web/assets/{mips-BJWI6dX7.js → mips-OIXxWbNl.js} +0 -0
- /package/web/assets/{msdax-BLpuE5Dc.js → msdax-Blzk7oHr.js} +0 -0
- /package/web/assets/{mysql-ZsxiEUoY.js → mysql-CISO3r5e.js} +0 -0
- /package/web/assets/{objective-c-DcQa1iPc.js → objective-c-CfnC_OAj.js} +0 -0
- /package/web/assets/{pascal-u-hmXdyn.js → pascal-BUF-IB2S.js} +0 -0
- /package/web/assets/{pascaligo-DqbP-1C6.js → pascaligo-BKce2a7P.js} +0 -0
- /package/web/assets/{perl-CUeQpRkH.js → perl-BSNQJqG3.js} +0 -0
- /package/web/assets/{pgsql-CQ7FhAFN.js → pgsql-B6gnZ9Pz.js} +0 -0
- /package/web/assets/{php-BEf_fu3E.js → php-D3DRjlE-.js} +0 -0
- /package/web/assets/{pla-CXNNbT0w.js → pla-DMkpEwWz.js} +0 -0
- /package/web/assets/{postiats-CIXLZwPb.js → postiats-CS9vJAK8.js} +0 -0
- /package/web/assets/{powerquery-DnGPASFA.js → powerquery-5wdkUpGP.js} +0 -0
- /package/web/assets/{powershell-1Y1kqIZS.js → powershell-CFy-OLZK.js} +0 -0
- /package/web/assets/{protobuf-Cfo9haoG.js → protobuf-BexdMU0z.js} +0 -0
- /package/web/assets/{pug-BujEZqmy.js → pug-D7XxQLO5.js} +0 -0
- /package/web/assets/{qsharp-BL9AqNGD.js → qsharp-Cbf2FpNP.js} +0 -0
- /package/web/assets/{r-D0dhpGOM.js → r-DF7k9FbU.js} +0 -0
- /package/web/assets/{redis-BMLwD7W9.js → redis-CsS7YEaP.js} +0 -0
- /package/web/assets/{redshift-CkHh73og.js → redshift-ELXdujA0.js} +0 -0
- /package/web/assets/{restructuredtext-DZ-LF65W.js → restructuredtext-xoFIa5lj.js} +0 -0
- /package/web/assets/{ruby-UzPHTzc9.js → ruby-BqZs-MXO.js} +0 -0
- /package/web/assets/{rust-ja9NGnXZ.js → rust-Bg6ZO_et.js} +0 -0
- /package/web/assets/{sb-BNdOJbMY.js → sb-DiB12F6v.js} +0 -0
- /package/web/assets/{scala-LlhkyN6l.js → scala-DElpnKpP.js} +0 -0
- /package/web/assets/{scheme-BAj99YIn.js → scheme-1ahRBKOq.js} +0 -0
- /package/web/assets/{scss-chS-xxB3.js → scss-DEMPy3QV.js} +0 -0
- /package/web/assets/{shell-CcH7eYIc.js → shell-DPy86lBu.js} +0 -0
- /package/web/assets/{solidity-cVvnqX-K.js → solidity-BJ26fCkf.js} +0 -0
- /package/web/assets/{sophia-BBT-EdFw.js → sophia-BisqpnJK.js} +0 -0
- /package/web/assets/{sparql-DGEqOrB6.js → sparql-C7Lhhim4.js} +0 -0
- /package/web/assets/{sql-CcTErTxM.js → sql-BXVElqbr.js} +0 -0
- /package/web/assets/{st-Bjw-B4mN.js → st-C3Kk-cML.js} +0 -0
- /package/web/assets/{swift-Bid-7bBd.js → swift-D8IWJydR.js} +0 -0
- /package/web/assets/{systemverilog-CXju7Nd-.js → systemverilog-524SrI2Q.js} +0 -0
- /package/web/assets/{tcl-D-Dw7JFz.js → tcl-MYNTx-d-.js} +0 -0
- /package/web/assets/{twig-BIPbzEWT.js → twig-BAVZN0tW.js} +0 -0
- /package/web/assets/{typespec-UJSutGCV.js → typespec-BhgMHLJQ.js} +0 -0
- /package/web/assets/{vb-oyG_LJw0.js → vb-BLauMmY8.js} +0 -0
- /package/web/assets/{w3c-keyname-DtJs0qQm.js → w3c-keyname-tfhvQ9CV.js} +0 -0
- /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-B0kiM8Uq.js";import{t as k}from"./password-CKC2s9br.js";import{t as A}from"./card-BSbMp3Kr.js";import{t as j}from"./VersionBadge-D2dOmSKk.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-B0kiM8Uq.js";import{t as w}from"./password-CKC2s9br.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-B0kiM8Uq.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-B0kiM8Uq.js";import"./src-D3c-zXYU.js";import"./w3c-keyname-DtJs0qQm.js";import{t as r}from"./WikiView-f6JuU8Aw.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-B0kiM8Uq.js";import{t as re}from"./src-D3c-zXYU.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-B0kiM8Uq.js";import{t as z}from"./chip-eBEgs_bQ.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-B0kiM8Uq.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};
|