@nubisco/ui 5.52.2 → 5.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ActionGroup-McCtSDV8.cjs → ActionGroup-0rG92kFk.cjs} +1 -1
- package/dist/{ActionGroup-CkwZEnUN.js → ActionGroup-Cn22xj1t.js} +2 -2
- package/dist/{AiLabel-oV9j_9bX.cjs → AiLabel-AGSSBanb.cjs} +1 -1
- package/dist/{AiLabel-DKhHwWNt.js → AiLabel-D32aNf1F.js} +1 -1
- package/dist/{AiProvider-GiId484Q.cjs → AiProvider-CLtCD_UR.cjs} +1 -1
- package/dist/{AiProvider-D1Sn67yz.js → AiProvider-gprbR5ts.js} +14 -14
- package/dist/{AiUsage-C2t5uXV-.cjs → AiUsage-XOKmuxyo.cjs} +1 -1
- package/dist/{AiUsage-eY9pNKxE.js → AiUsage-v8EdG3EN.js} +2 -2
- package/dist/{BackToTop-DumUwoJ1.js → BackToTop-BDFb1y3c.js} +1 -1
- package/dist/{BackToTop-DQ6vCoQu.cjs → BackToTop-R6yiw3lt.cjs} +1 -1
- package/dist/{Banner-FWDVwwVx.js → Banner-BjnbX4C3.js} +5 -5
- package/dist/{Banner-DTIRkPRb.cjs → Banner-C-mikJ5n.cjs} +1 -1
- package/dist/{BarChart-DKpSrGm3.cjs → BarChart-CVoLmSKs.cjs} +1 -1
- package/dist/{BarChart-hs_OZZD4.js → BarChart-GO-rGcKL.js} +5 -5
- package/dist/{BatchActions-DmMLy_y-.cjs → BatchActions-6IO5GRFm.cjs} +1 -1
- package/dist/{BatchActions-B5hv7U0E.js → BatchActions-Ckx8kyZt.js} +2 -2
- package/dist/Blueprint-BDPb5y1N.cjs +1 -0
- package/dist/Blueprint-DEboZ8ul.js +1538 -0
- package/dist/{BlueprintCard-Ce48mEtN.js → BlueprintCard-BO2pjY2S.js} +206 -162
- package/dist/BlueprintCard-CDxodt3T.cjs +1 -0
- package/dist/{BlueprintControls-DQE_gDOe.js → BlueprintControls-Bt4KoDp5.js} +5 -5
- package/dist/{BlueprintControls-C0V9FX8S.cjs → BlueprintControls-zX5yxOB1.cjs} +1 -1
- package/dist/{Board-DyAO3ko2.js → Board-BdqGOVNF.js} +1 -1
- package/dist/{Board-Htlm-mra.cjs → Board-DtOWyvKh.cjs} +1 -1
- package/dist/{BottomPanel-Dad7czGY.cjs → BottomPanel-C_u39INJ.cjs} +1 -1
- package/dist/{BottomPanel-BsfMrQaS.js → BottomPanel-CkEc9gvb.js} +1 -1
- package/dist/{Breadcrumbs-DrXxTJB4.js → Breadcrumbs-Bc-acmPE.js} +2 -2
- package/dist/{Breadcrumbs-Ck445rx6.cjs → Breadcrumbs-BzyDVvEk.cjs} +1 -1
- package/dist/{Briefing-nJ0LjXnp.js → Briefing-BiEICh1u.js} +3 -3
- package/dist/{Briefing-UMUWCsHh.cjs → Briefing-DwKWCOGm.cjs} +1 -1
- package/dist/{BriefingDestination-BMsPXWd6.js → BriefingDestination-BjNteNgh.js} +1 -1
- package/dist/{BriefingDestination-B2_e90ZN.cjs → BriefingDestination-Cs1y3z_5.cjs} +1 -1
- package/dist/Button-CGIbF1e-.cjs +1 -0
- package/dist/{Button-CxJMKPpw.js → Button-DmJ_J3UO.js} +55 -53
- package/dist/{ButtonSet-2vJioRDT.js → ButtonSet-Cg1ixzOK.js} +1 -1
- package/dist/{ButtonSet-CbR2EwbT.cjs → ButtonSet-SziuuT6_.cjs} +1 -1
- package/dist/{Calendar-C_UWF6F5.js → Calendar-fVDg_EgD.js} +1 -1
- package/dist/{Calendar-BKJoim3w.cjs → Calendar-fsZN4OIr.cjs} +1 -1
- package/dist/ChatMessage-1L_xCXZF.cjs +1 -0
- package/dist/ChatMessage-C2Ecm175.js +66 -0
- package/dist/ChatThread-B_F3xTdE.cjs +1 -0
- package/dist/ChatThread-COdOb1rH.js +154 -0
- package/dist/{Checkbox-B6qnpOXg.cjs → Checkbox-B2O4tB6x.cjs} +1 -1
- package/dist/{Checkbox-Bf3XzGbG.js → Checkbox-U1tS47Qx.js} +1 -1
- package/dist/{CheckboxGroup-C3ng8k3R.js → CheckboxGroup-DRQxWsVv.js} +2 -2
- package/dist/{CheckboxGroup-BG1efn5_.cjs → CheckboxGroup-md4kjLSp.cjs} +1 -1
- package/dist/{CloseButton-D0Aj3uQK.cjs → CloseButton-Bdk7rJ8E.cjs} +1 -1
- package/dist/{CloseButton-BeaS7MQc.js → CloseButton-CAPfd6yf.js} +1 -1
- package/dist/{ColorStrip-BaLKZV51.js → ColorStrip-CZcIHOg3.js} +14 -14
- package/dist/{ColorStrip-D6p71EPQ.cjs → ColorStrip-EDliYkMo.cjs} +1 -1
- package/dist/{CommandPalette-CI31tVG0.cjs → CommandPalette-CC_Aj4Uh.cjs} +1 -1
- package/dist/{CommandPalette-Co6sxIQz.js → CommandPalette-zqTMjpm8.js} +1 -1
- package/dist/{Confirm-jHGXPMJE.cjs → Confirm-Baz2WG7b.cjs} +1 -1
- package/dist/{Confirm-CJQsUNOq.js → Confirm-CvMuXK9Q.js} +4 -4
- package/dist/{ContentSwitcher-B96jZqzZ.cjs → ContentSwitcher-DYxJZdcm.cjs} +1 -1
- package/dist/{ContentSwitcher-DCB9W7wd.js → ContentSwitcher-NpFxiGbz.js} +1 -1
- package/dist/{CopyButton-DMuuBwJc.cjs → CopyButton-D-cnpfOJ.cjs} +1 -1
- package/dist/{CopyButton-CfEOWedU.js → CopyButton-MOJj3pS0.js} +1 -1
- package/dist/{DataTable-CA_p6GdD.js → DataTable-B8THDBLS.js} +12 -12
- package/dist/{DataTable-DNAUGxuj.cjs → DataTable-DeFzOlcP.cjs} +1 -1
- package/dist/{DatePicker-l-HrmC9V.cjs → DatePicker-B5YRb64p.cjs} +1 -1
- package/dist/{DatePicker-DKNte5ZT.js → DatePicker-BrUXcNUj.js} +18 -18
- package/dist/{FileUploader-CYa_FX-W.js → FileUploader-CcGdRBxp.js} +1 -1
- package/dist/{FileUploader-DCTMJY5p.cjs → FileUploader-CcieVEGZ.cjs} +1 -1
- package/dist/{Form-Co-23Ktg.js → Form-BztycGqC.js} +1 -1
- package/dist/{Form-Bc4QF6Lk.cjs → Form-DlzhKRWM.cjs} +1 -1
- package/dist/{GanttChart-D24__YLV.cjs → GanttChart-BiDTXqR1.cjs} +1 -1
- package/dist/{GanttChart-C70BwZZo.js → GanttChart-CFGdp4xL.js} +3 -3
- package/dist/{ImageCropper-3omi5zWi.cjs → ImageCropper-CgmDT83u.cjs} +1 -1
- package/dist/{ImageCropper-lLgzrsWr.js → ImageCropper-D61PEzb2.js} +2 -2
- package/dist/{ImagePicker-DOnGfEc6.js → ImagePicker-LhpR7jjR.js} +2 -2
- package/dist/{ImagePicker-4LRkWaLL.cjs → ImagePicker-vhg7b-UL.cjs} +1 -1
- package/dist/{InlineLoading-BovtIkg7.cjs → InlineLoading-CA0_IT29.cjs} +1 -1
- package/dist/{InlineLoading-CNetV7ih.js → InlineLoading-Cknqq0vv.js} +4 -4
- package/dist/{InputGroup-BHOJSSQ_.cjs → InputGroup-CjcEkzFL.cjs} +1 -1
- package/dist/{InputGroup-OytJ8AMk.js → InputGroup-Dgv9hKmM.js} +5 -5
- package/dist/{InterpolationChart-DnHzBcLG.cjs → InterpolationChart-BWFOnJWn.cjs} +1 -1
- package/dist/{InterpolationChart-Cohmbfep.js → InterpolationChart-CiY-hBgJ.js} +3 -3
- package/dist/{LineChart-BNhJBKO6.cjs → LineChart-BdVIHw3u.cjs} +1 -1
- package/dist/{LineChart-lMX9rTr7.js → LineChart-D0h0rBVq.js} +5 -5
- package/dist/LogView-BLa9W5S7.js +136 -0
- package/dist/LogView-BNztzJri.cjs +2 -0
- package/dist/{Message-BJO4MjiQ.cjs → Message-B1CQ0Bcf.cjs} +1 -1
- package/dist/{Message-DCeg8qsC.js → Message-Bi70NgGd.js} +6 -6
- package/dist/{Modal-BywbXivu.js → Modal-CESCi2dE.js} +10 -10
- package/dist/{Modal-GsDlHF-E.cjs → Modal-C_EWDvmH.cjs} +1 -1
- package/dist/{NotificationCenter-4MBTSGRl.js → NotificationCenter-DkGc0ETD.js} +209 -209
- package/dist/{NotificationCenter-BuVz7oP1.cjs → NotificationCenter-DxZgHQyt.cjs} +1 -1
- package/dist/{NotificationCenterItem-zIL89umA.cjs → NotificationCenterItem--0XKF1Bf.cjs} +1 -1
- package/dist/{NotificationCenterItem-DdH7jvvg.js → NotificationCenterItem-Hf0S6Jls.js} +6 -6
- package/dist/{NumberInput-DmKNMQLk.js → NumberInput-B91ahziS.js} +5 -5
- package/dist/{NumberInput-04v9eS0u.cjs → NumberInput-DLPSNgsr.cjs} +1 -1
- package/dist/{OverflowMenu-DXJ8waZo.js → OverflowMenu-BWZ7c8oI.js} +1 -1
- package/dist/{OverflowMenu-CWgdicDN.cjs → OverflowMenu-C8q28FrD.cjs} +1 -1
- package/dist/{PageHeader-8n0wHC1J.cjs → PageHeader-DElq_kdh.cjs} +1 -1
- package/dist/{PageHeader-ChUje7zF.js → PageHeader-DOYN9sto.js} +1 -1
- package/dist/{Pagination-CvvzkY1W.cjs → Pagination-9mPN8ych.cjs} +1 -1
- package/dist/{Pagination-DccRxFxs.js → Pagination-CxBHFwy0.js} +2 -2
- package/dist/{PieChart-Be8RVmz0.js → PieChart-BgDtTMZg.js} +4 -4
- package/dist/{PieChart-0_n0Ihir.cjs → PieChart-WU4Cxtrp.cjs} +1 -1
- package/dist/{ProgressBar-C-mDH8u0.js → ProgressBar-B2ZMiY12.js} +4 -4
- package/dist/{ProgressBar-BSPcsJ13.cjs → ProgressBar-BSqwVfaP.cjs} +1 -1
- package/dist/{Radio-LlTK1Sug.cjs → Radio-BJ4SLyFW.cjs} +1 -1
- package/dist/{Radio-q_unHymB.js → Radio-CfJTD69M.js} +1 -1
- package/dist/{Search-CI787J6m.js → Search-Bwdxxe29.js} +2 -2
- package/dist/{Search-BxYPouus.cjs → Search-DIZ1Ea45.cjs} +1 -1
- package/dist/Select-7gJ3_fWh.js +615 -0
- package/dist/Select-Dg4HSHOu.cjs +1 -0
- package/dist/{Shell-Btxqmkh-.cjs → Shell-BZslT2aj.cjs} +1 -1
- package/dist/{Shell-nNxGdcuI.js → Shell-CRmhoU2H.js} +2 -2
- package/dist/{ShellPanel-D1-l6JRg.js → ShellPanel-C4vQJmRI.js} +1 -1
- package/dist/{ShellPanel-BeTojwfU.cjs → ShellPanel-DUBq5BL6.cjs} +1 -1
- package/dist/SidebarBrand-BPInsf52.cjs +1 -0
- package/dist/SidebarBrand-Dp9YZCqy.js +54 -0
- package/dist/{SidebarCollapseToggle-DobruD4n.cjs → SidebarCollapseToggle-CABmF-PC.cjs} +1 -1
- package/dist/{SidebarCollapseToggle-BLY8EEaD.js → SidebarCollapseToggle-DraqbhwM.js} +2 -2
- package/dist/{SidebarHeaderToggle-TwULd9e3.cjs → SidebarHeaderToggle-DB2Q6u5x.cjs} +1 -1
- package/dist/{SidebarHeaderToggle-BVfhMhvD.js → SidebarHeaderToggle-DbUS4eEa.js} +1 -1
- package/dist/SidebarMenuItem-DQRQtqrp.js +300 -0
- package/dist/SidebarMenuItem-Dwk7vKN5.cjs +1 -0
- package/dist/{Skeleton-CUUa44lM.cjs → Skeleton-D46kzIzB.cjs} +1 -1
- package/dist/{Skeleton-DI7l_96J.js → Skeleton-DFi5DNiP.js} +1 -1
- package/dist/{Slider-D7BgYMeu.js → Slider-B6QXQMqb.js} +8 -8
- package/dist/{Slider-CtN6andn.cjs → Slider-B7m_luyq.cjs} +1 -1
- package/dist/{Sparkline-0CmemDu3.js → Sparkline-B9547TtT.js} +1 -1
- package/dist/{Sparkline-ByPgkuSC.cjs → Sparkline-DfiriQYp.cjs} +1 -1
- package/dist/{Spinner-D_6qJT6u.js → Spinner-DYFhiTB1.js} +1 -1
- package/dist/{Spinner-BDwIIS4H.cjs → Spinner-j13gRoUF.cjs} +1 -1
- package/dist/{Stat-BiuBoOoE.cjs → Stat-BCvXYr-z.cjs} +1 -1
- package/dist/{Stat-C_Z2D-TS.js → Stat-No3RhGB3.js} +1 -1
- package/dist/{Stepper-CARQL6xx.cjs → Stepper-CoLXwmrJ.cjs} +1 -1
- package/dist/{Stepper-BG9PfjPD.js → Stepper-pk0QfMn_.js} +1 -1
- package/dist/{StepperStep-C7F_8ErM.js → StepperStep-BGUqRHwQ.js} +1 -1
- package/dist/{StepperStep-DHsfAMv0.cjs → StepperStep-Bo8aYLjJ.cjs} +1 -1
- package/dist/{SuggestionList-BT-xOJBx.cjs → SuggestionList-Cxy4jjjd.cjs} +1 -1
- package/dist/{SuggestionList-Cm0pD7_C.js → SuggestionList-Dv4yQAi-.js} +15 -15
- package/dist/{Switch-CqLfdT_m.js → Switch-Bvt-JPWp.js} +4 -4
- package/dist/{Switch-CQj6AsQh.cjs → Switch-PBdutuj_.cjs} +1 -1
- package/dist/{TableOfContents-B7Qmz4t9.js → TableOfContents-CeZX4dH0.js} +1 -1
- package/dist/{TableOfContents-IQordoiY.cjs → TableOfContents-D9FCu6gN.cjs} +1 -1
- package/dist/{Tabs-W2hUdYvl.cjs → Tabs-C9bZ5cp1.cjs} +1 -1
- package/dist/{Tabs-D_LFyWTX.js → Tabs-CCVuHp4s.js} +1 -1
- package/dist/{TextInput-DG8aUZeu.js → TextInput-BeqDf1R7.js} +12 -12
- package/dist/{TextInput-r8ap24-5.cjs → TextInput-SJ34hD2Y.cjs} +2 -2
- package/dist/{Toast-yB4u936W.cjs → Toast-CN5Jzkr5.cjs} +1 -1
- package/dist/{Toast-CpdX-63Q.js → Toast-DIf2XRCa.js} +8 -8
- package/dist/{Toaster-XMqkamDu.js → Toaster-ByObLDkk.js} +1 -1
- package/dist/{Toaster-BqCi69_x.cjs → Toaster-CJAbZ9pv.cjs} +1 -1
- package/dist/{Tree-hitkY9yg.cjs → Tree-BhR3gNlT.cjs} +1 -1
- package/dist/{Tree-Nn3HGP-T.js → Tree-CW-735rp.js} +1 -1
- package/dist/{TreeNode-giUfunjf.js → TreeNode-BGVvJ76v.js} +1 -1
- package/dist/{TreeNode-DHSYezap.cjs → TreeNode-Dx8SKr1Z.cjs} +1 -1
- package/dist/UserMenu-BjSO_Uml.cjs +1 -0
- package/dist/{UserMenu-C52WN7-m.js → UserMenu-CjmhyTwN.js} +56 -48
- package/dist/{Video-B0FTFBYF.js → Video-Agby8uRA.js} +1 -1
- package/dist/{Video-DxTpvMsS.cjs → Video-B93sRbBU.cjs} +1 -1
- package/dist/{Walkthrough-BRtkSFsq.js → Walkthrough-DYYqtpwJ.js} +2 -2
- package/dist/{Walkthrough-DO75HV1w.cjs → Walkthrough-DxAIdo3M.cjs} +1 -1
- package/dist/all.cjs +1 -1
- package/dist/all.mjs +282 -276
- package/dist/blueprint-connect-DyenBFX3.cjs +1 -0
- package/dist/blueprint-connect-dcuHxtzp.js +6 -0
- package/dist/component-styles.json +23 -0
- package/dist/components/ActionGroup.cjs +1 -1
- package/dist/components/ActionGroup.mjs +1 -1
- package/dist/components/AiLabel.cjs +1 -1
- package/dist/components/AiLabel.mjs +1 -1
- package/dist/components/AiProvider.cjs +1 -1
- package/dist/components/AiProvider.mjs +1 -1
- package/dist/components/AiUsage.cjs +1 -1
- package/dist/components/AiUsage.mjs +1 -1
- package/dist/components/AiUsage.vue.d.ts +1 -1
- package/dist/components/BackToTop.cjs +1 -1
- package/dist/components/BackToTop.mjs +1 -1
- package/dist/components/Badge.cjs +1 -1
- package/dist/components/Badge.mjs +1 -1
- package/dist/components/Badge.vue.d.ts +1 -1
- package/dist/components/Banner.cjs +1 -1
- package/dist/components/Banner.mjs +1 -1
- package/dist/components/BatchActions.cjs +1 -1
- package/dist/components/BatchActions.mjs +1 -1
- package/dist/components/Blueprint.cjs +1 -1
- package/dist/components/Blueprint.mjs +1 -1
- package/dist/components/Blueprint.types.d.ts +58 -1
- package/dist/components/Blueprint.types.d.ts.map +1 -1
- package/dist/components/Blueprint.vue.d.ts +1 -0
- package/dist/components/Blueprint.vue.d.ts.map +1 -1
- package/dist/components/BlueprintBackground.cjs +1 -1
- package/dist/components/BlueprintBackground.mjs +1 -1
- package/dist/components/BlueprintCard.cjs +1 -1
- package/dist/components/BlueprintCard.mjs +1 -1
- package/dist/components/BlueprintCard.types.d.ts +35 -5
- package/dist/components/BlueprintCard.types.d.ts.map +1 -1
- package/dist/components/BlueprintCard.vue.d.ts +1 -0
- package/dist/components/BlueprintCard.vue.d.ts.map +1 -1
- package/dist/components/BlueprintControls.cjs +1 -1
- package/dist/components/BlueprintControls.mjs +1 -1
- package/dist/components/BlueprintControls.vue.d.ts.map +1 -1
- package/dist/components/BlueprintMinimap.cjs +1 -1
- package/dist/components/BlueprintMinimap.mjs +1 -1
- package/dist/components/Board.cjs +1 -1
- package/dist/components/Board.mjs +1 -1
- package/dist/components/BottomPanel.cjs +1 -1
- package/dist/components/BottomPanel.mjs +1 -1
- package/dist/components/Breadcrumbs.cjs +1 -1
- package/dist/components/Breadcrumbs.mjs +1 -1
- package/dist/components/Briefing.cjs +1 -1
- package/dist/components/Briefing.mjs +1 -1
- package/dist/components/BriefingDestination.cjs +1 -1
- package/dist/components/BriefingDestination.mjs +1 -1
- package/dist/components/Button.cjs +1 -1
- package/dist/components/Button.context.d.ts +21 -0
- package/dist/components/Button.context.d.ts.map +1 -0
- package/dist/components/Button.d.ts +10 -0
- package/dist/components/Button.mjs +1 -1
- package/dist/components/Button.vue.d.ts +1 -0
- package/dist/components/Button.vue.d.ts.map +1 -1
- package/dist/components/ButtonSet.cjs +1 -1
- package/dist/components/ButtonSet.mjs +1 -1
- package/dist/components/Calendar.cjs +1 -1
- package/dist/components/Calendar.mjs +1 -1
- package/dist/components/Charts/BarChart.cjs +1 -1
- package/dist/components/Charts/BarChart.mjs +1 -1
- package/dist/components/Charts/GanttChart.cjs +1 -1
- package/dist/components/Charts/GanttChart.mjs +1 -1
- package/dist/components/Charts/InterpolationChart.cjs +1 -1
- package/dist/components/Charts/InterpolationChart.mjs +1 -1
- package/dist/components/Charts/LineChart.cjs +1 -1
- package/dist/components/Charts/LineChart.mjs +1 -1
- package/dist/components/Charts/PieChart.cjs +1 -1
- package/dist/components/Charts/PieChart.mjs +1 -1
- package/dist/components/Charts/Sparkline.cjs +1 -1
- package/dist/components/Charts/Sparkline.mjs +1 -1
- package/dist/components/ChatMessage.cjs +1 -0
- package/dist/components/ChatMessage.d.ts +49 -0
- package/dist/components/ChatMessage.mjs +2 -0
- package/dist/components/ChatMessage.vue.d.ts +32 -0
- package/dist/components/ChatMessage.vue.d.ts.map +1 -0
- package/dist/components/ChatThread.cjs +1 -0
- package/dist/components/ChatThread.d.ts +62 -0
- package/dist/components/ChatThread.mjs +2 -0
- package/dist/components/ChatThread.vue.d.ts +49 -0
- package/dist/components/ChatThread.vue.d.ts.map +1 -0
- package/dist/components/Checkbox.cjs +1 -1
- package/dist/components/Checkbox.mjs +1 -1
- package/dist/components/CheckboxGroup.cjs +1 -1
- package/dist/components/CheckboxGroup.mjs +1 -1
- package/dist/components/ChipGroup.cjs +1 -1
- package/dist/components/ChipGroup.mjs +1 -1
- package/dist/components/CloseButton.cjs +1 -1
- package/dist/components/CloseButton.mjs +1 -1
- package/dist/components/ColorStrip.cjs +1 -1
- package/dist/components/ColorStrip.mjs +1 -1
- package/dist/components/CommandPalette.cjs +1 -1
- package/dist/components/CommandPalette.mjs +1 -1
- package/dist/components/Confirm.cjs +1 -1
- package/dist/components/Confirm.mjs +1 -1
- package/dist/components/Confirm.vue.d.ts +1 -1
- package/dist/components/ContainedList.cjs +1 -1
- package/dist/components/ContainedList.mjs +1 -1
- package/dist/components/ContainedListItem.cjs +1 -1
- package/dist/components/ContainedListItem.mjs +1 -1
- package/dist/components/ContentSwitcher.cjs +1 -1
- package/dist/components/ContentSwitcher.mjs +1 -1
- package/dist/components/CopyButton.cjs +1 -1
- package/dist/components/CopyButton.mjs +1 -1
- package/dist/components/DataTable.cjs +1 -1
- package/dist/components/DataTable.mjs +1 -1
- package/dist/components/DatePicker.cjs +1 -1
- package/dist/components/DatePicker.mjs +1 -1
- package/dist/components/DatePicker.vue.d.ts +1 -1
- package/dist/components/DefinitionList.cjs +1 -1
- package/dist/components/DefinitionList.mjs +1 -1
- package/dist/components/DefinitionListItem.cjs +1 -1
- package/dist/components/DefinitionListItem.mjs +1 -1
- package/dist/components/DragHandle.cjs +1 -1
- package/dist/components/DragHandle.mjs +1 -1
- package/dist/components/EmptyState.cjs +1 -1
- package/dist/components/EmptyState.mjs +1 -1
- package/dist/components/Field.cjs +1 -1
- package/dist/components/Field.mjs +1 -1
- package/dist/components/FileUploader.cjs +1 -1
- package/dist/components/FileUploader.mjs +1 -1
- package/dist/components/Flag.cjs +1 -1
- package/dist/components/Flag.mjs +1 -1
- package/dist/components/FloatingToolbar.cjs +1 -1
- package/dist/components/FloatingToolbar.mjs +1 -1
- package/dist/components/Form.cjs +1 -1
- package/dist/components/Form.mjs +1 -1
- package/dist/components/Grid.cjs +1 -1
- package/dist/components/Grid.mjs +1 -1
- package/dist/components/ImageCropper.cjs +1 -1
- package/dist/components/ImageCropper.mjs +1 -1
- package/dist/components/ImagePicker.cjs +1 -1
- package/dist/components/ImagePicker.mjs +1 -1
- package/dist/components/InlineEdit.cjs +1 -1
- package/dist/components/InlineEdit.mjs +1 -1
- package/dist/components/InlineLoading.cjs +1 -1
- package/dist/components/InlineLoading.mjs +1 -1
- package/dist/components/InlineLoading.vue.d.ts +1 -1
- package/dist/components/InputGroup.cjs +1 -1
- package/dist/components/InputGroup.mjs +1 -1
- package/dist/components/JsonTree.cjs +1 -1
- package/dist/components/JsonTree.mjs +1 -1
- package/dist/components/Layer.cjs +1 -1
- package/dist/components/Layer.mjs +1 -1
- package/dist/components/LogView.cjs +1 -0
- package/dist/components/LogView.d.ts +75 -0
- package/dist/components/LogView.mjs +2 -0
- package/dist/components/LogView.vue.d.ts +27 -0
- package/dist/components/LogView.vue.d.ts.map +1 -0
- package/dist/components/MenuBar.cjs +1 -1
- package/dist/components/MenuBar.mjs +1 -1
- package/dist/components/MenuBarItem.cjs +1 -1
- package/dist/components/MenuBarItem.mjs +1 -1
- package/dist/components/MenuDivider.cjs +1 -1
- package/dist/components/MenuDivider.mjs +1 -1
- package/dist/components/Message.cjs +1 -1
- package/dist/components/Message.mjs +1 -1
- package/dist/components/Modal.cjs +1 -1
- package/dist/components/Modal.mjs +1 -1
- package/dist/components/NotificationCenter.cjs +1 -1
- package/dist/components/NotificationCenter.mjs +1 -1
- package/dist/components/NotificationCenterItem.cjs +1 -1
- package/dist/components/NotificationCenterItem.mjs +1 -1
- package/dist/components/NotificationCenterItem.vue.d.ts +1 -1
- package/dist/components/NubiscoMark.cjs +1 -1
- package/dist/components/NubiscoMark.mjs +1 -1
- package/dist/components/NubiscoPlatformMark.cjs +1 -1
- package/dist/components/NubiscoPlatformMark.mjs +1 -1
- package/dist/components/NumberInput.cjs +1 -1
- package/dist/components/NumberInput.mjs +1 -1
- package/dist/components/NumberInput.vue.d.ts +1 -1
- package/dist/components/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/OverflowMenu.cjs +1 -1
- package/dist/components/OverflowMenu.mjs +1 -1
- package/dist/components/PageHeader.cjs +1 -1
- package/dist/components/PageHeader.mjs +1 -1
- package/dist/components/PageLayout.cjs +1 -1
- package/dist/components/PageLayout.mjs +1 -1
- package/dist/components/Pagination.cjs +1 -1
- package/dist/components/Pagination.mjs +1 -1
- package/dist/components/Panel.cjs +1 -1
- package/dist/components/Panel.mjs +1 -1
- package/dist/components/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar.mjs +1 -1
- package/dist/components/Radio.cjs +1 -1
- package/dist/components/Radio.mjs +1 -1
- package/dist/components/ReorderList.cjs +1 -1
- package/dist/components/ReorderList.mjs +1 -1
- package/dist/components/Search.cjs +1 -1
- package/dist/components/Search.mjs +1 -1
- package/dist/components/Select.cjs +1 -1
- package/dist/components/Select.mjs +1 -1
- package/dist/components/Select.vue.d.ts +2 -2
- package/dist/components/Shell.cjs +1 -1
- package/dist/components/Shell.mjs +1 -1
- package/dist/components/ShellPanel.cjs +1 -1
- package/dist/components/ShellPanel.mjs +1 -1
- package/dist/components/SidebarBrand.cjs +1 -1
- package/dist/components/SidebarBrand.d.ts +11 -0
- package/dist/components/SidebarBrand.mjs +1 -1
- package/dist/components/SidebarBrand.vue.d.ts +1 -0
- package/dist/components/SidebarBrand.vue.d.ts.map +1 -1
- package/dist/components/SidebarCollapseToggle.cjs +1 -1
- package/dist/components/SidebarCollapseToggle.mjs +1 -1
- package/dist/components/SidebarHeaderToggle.cjs +1 -1
- package/dist/components/SidebarHeaderToggle.mjs +1 -1
- package/dist/components/SidebarLink.cjs +1 -1
- package/dist/components/SidebarLink.mjs +1 -1
- package/dist/components/SidebarMenu.cjs +1 -1
- package/dist/components/SidebarMenu.mjs +1 -1
- package/dist/components/SidebarMenuGroup.cjs +1 -1
- package/dist/components/SidebarMenuGroup.mjs +1 -1
- package/dist/components/SidebarMenuItem.cjs +1 -1
- package/dist/components/SidebarMenuItem.d.ts +16 -0
- package/dist/components/SidebarMenuItem.mjs +1 -1
- package/dist/components/SidebarMenuItem.vue.d.ts +2 -0
- package/dist/components/SidebarMenuItem.vue.d.ts.map +1 -1
- package/dist/components/SidebarStatus.cjs +1 -1
- package/dist/components/SidebarStatus.mjs +1 -1
- package/dist/components/Skeleton.cjs +1 -1
- package/dist/components/Skeleton.mjs +1 -1
- package/dist/components/Skeleton.vue.d.ts +1 -1
- package/dist/components/Slider.cjs +1 -1
- package/dist/components/Slider.mjs +1 -1
- package/dist/components/Slider.vue.d.ts +1 -1
- package/dist/components/Spinner.cjs +1 -1
- package/dist/components/Spinner.mjs +1 -1
- package/dist/components/Spinner.vue.d.ts +1 -1
- package/dist/components/Stat.cjs +1 -1
- package/dist/components/Stat.mjs +1 -1
- package/dist/components/Stepper.cjs +1 -1
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Stepper.vue.d.ts +1 -1
- package/dist/components/StepperStep.cjs +1 -1
- package/dist/components/StepperStep.mjs +1 -1
- package/dist/components/StructuredList.cjs +1 -1
- package/dist/components/StructuredList.mjs +1 -1
- package/dist/components/Submenu.cjs +1 -1
- package/dist/components/Submenu.mjs +1 -1
- package/dist/components/SuggestionList.cjs +1 -1
- package/dist/components/SuggestionList.mjs +1 -1
- package/dist/components/Switch.cjs +1 -1
- package/dist/components/Switch.mjs +1 -1
- package/dist/components/TableOfContents.cjs +1 -1
- package/dist/components/TableOfContents.mjs +1 -1
- package/dist/components/TableOfContents.vue.d.ts +1 -1
- package/dist/components/Tabs.cjs +1 -1
- package/dist/components/Tabs.mjs +1 -1
- package/dist/components/TextInput.cjs +1 -1
- package/dist/components/TextInput.mjs +1 -1
- package/dist/components/TextInput.vue.d.ts +2 -2
- package/dist/components/TextInput.vue.d.ts.map +1 -1
- package/dist/components/Toast.cjs +1 -1
- package/dist/components/Toast.mjs +1 -1
- package/dist/components/Toaster.cjs +1 -1
- package/dist/components/Toaster.mjs +1 -1
- package/dist/components/Toolbar.cjs +1 -1
- package/dist/components/Toolbar.mjs +1 -1
- package/dist/components/Tree.cjs +1 -1
- package/dist/components/Tree.mjs +1 -1
- package/dist/components/TreeNode.cjs +1 -1
- package/dist/components/TreeNode.mjs +1 -1
- package/dist/components/UserMenu.cjs +1 -1
- package/dist/components/UserMenu.mjs +1 -1
- package/dist/components/UserMenu.vue.d.ts.map +1 -1
- package/dist/components/Video.cjs +1 -1
- package/dist/components/Video.mjs +1 -1
- package/dist/components/Walkthrough.cjs +1 -1
- package/dist/components/Walkthrough.mjs +1 -1
- package/dist/components/Wireframe.cjs +1 -1
- package/dist/components/Wireframe.mjs +1 -1
- package/dist/components/blueprint-connect.d.ts +16 -0
- package/dist/components/blueprint-connect.d.ts.map +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/manifest.d.ts +3 -0
- package/dist/components/manifest.d.ts.map +1 -1
- package/dist/components/manifest.js +3 -0
- package/dist/composables/useBlueprint.composable.cjs +1 -1
- package/dist/composables/useBlueprint.composable.mjs +1 -1
- package/dist/composables/useConfirm.composable.cjs +1 -1
- package/dist/composables/useConfirm.composable.mjs +3 -3
- package/dist/composables/useFollowNewest.composable.cjs +1 -0
- package/dist/composables/useFollowNewest.composable.d.ts +21 -0
- package/dist/composables/useFollowNewest.composable.d.ts.map +1 -0
- package/dist/composables/useFollowNewest.composable.mjs +47 -0
- package/dist/composables/useInlineLoading.composable.cjs +1 -1
- package/dist/composables/useInlineLoading.composable.mjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.cjs +1 -1
- package/dist/composables/useLoadingAnnouncer.composable.mjs +1 -1
- package/dist/composables/useNbStrings.composable.cjs +1 -1
- package/dist/composables/useNbStrings.composable.d.ts +26 -0
- package/dist/composables/useNbStrings.composable.d.ts.map +1 -1
- package/dist/composables/useNbStrings.composable.mjs +19 -0
- package/dist/global.d.ts +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +155 -152
- package/dist/{main-Dr-OZ97R.cjs → main-Cs0FFBfV.cjs} +2 -2
- package/dist/{main-hHSQ2Z9E.js → main-D6qY7QeE.js} +76 -76
- package/dist/main.d.ts +17 -2
- package/dist/main.d.ts.map +1 -1
- package/dist/styles/Blueprint.css +1 -1
- package/dist/styles/BlueprintCard.css +1 -1
- package/dist/styles/BlueprintControls.css +1 -1
- package/dist/styles/Button.css +1 -1
- package/dist/styles/ChatMessage.css +1 -0
- package/dist/styles/ChatThread.css +1 -0
- package/dist/styles/LogView.css +1 -0
- package/dist/styles/SidebarBrand.css +1 -1
- package/dist/styles/SidebarMenuItem.css +1 -1
- package/dist/ui.css +11 -8
- package/package.json +1 -1
- package/src/styles/_theme.scss +5 -0
- package/dist/Blueprint-ePiyl5dw.js +0 -1501
- package/dist/Blueprint-kNZLEHJz.cjs +0 -1
- package/dist/BlueprintCard-L5FqZKvJ.cjs +0 -1
- package/dist/Button-5ClGtoaz.cjs +0 -1
- package/dist/Select-C3AHxgi1.cjs +0 -1
- package/dist/Select-e-sgQurr.js +0 -615
- package/dist/SidebarBrand-DmWBakJG.cjs +0 -1
- package/dist/SidebarBrand-Dz8O0JHj.js +0 -31
- package/dist/SidebarMenuItem-D7rkGP2L.js +0 -268
- package/dist/SidebarMenuItem-DYREDfqx.cjs +0 -1
- package/dist/UserMenu-DFxqVHMM.cjs +0 -1
- /package/dist/{Badge-BYfdJcdD.cjs → Badge-Bf0l95o1.cjs} +0 -0
- /package/dist/{Badge-scjsdx_V.js → Badge-TXLmvfLG.js} +0 -0
- /package/dist/{Blueprint.context-KUd38ozw.cjs → Blueprint.context-CKxT98w8.cjs} +0 -0
- /package/dist/{Blueprint.context-CWzHXNtU.js → Blueprint.context-Cr8R0YY2.js} +0 -0
- /package/dist/{BlueprintBackground-CfII_po9.cjs → BlueprintBackground-BSrAsA2t.cjs} +0 -0
- /package/dist/{BlueprintBackground-CBU9iwAA.js → BlueprintBackground-XyU-rJ20.js} +0 -0
- /package/dist/{BlueprintMinimap-5mdeNCgk.cjs → BlueprintMinimap-DIjmvRAm.cjs} +0 -0
- /package/dist/{BlueprintMinimap-CP2-gY4i.js → BlueprintMinimap-DWx_bkp3.js} +0 -0
- /package/dist/{ChartLegend-LDNukufA.js → ChartLegend-CQQwcGvz.js} +0 -0
- /package/dist/{ChartLegend-COJeG-2B.cjs → ChartLegend-DMxlEhT6.cjs} +0 -0
- /package/dist/{CheckboxGroup.context-B21mAPv4.js → CheckboxGroup.context-B2xhGoXC.js} +0 -0
- /package/dist/{CheckboxGroup.context-DRWqTj9S.cjs → CheckboxGroup.context-RLOznZPB.cjs} +0 -0
- /package/dist/{ChipGroup-BplLSI81.cjs → ChipGroup-C8ar8YCb.cjs} +0 -0
- /package/dist/{ChipGroup-BNp7OB2t.js → ChipGroup-E8l7aJxx.js} +0 -0
- /package/dist/{ContainedList-PUA2OJ08.js → ContainedList-DPGBeeeX.js} +0 -0
- /package/dist/{ContainedList-CBWwEmoK.cjs → ContainedList-Dky4V9Ob.cjs} +0 -0
- /package/dist/{ContainedListItem-BKvHedZO.cjs → ContainedListItem-3p-iC-eG.cjs} +0 -0
- /package/dist/{ContainedListItem-8z2bmoRG.js → ContainedListItem-BLn6xfWd.js} +0 -0
- /package/dist/{DefinitionList-BOVcW-V7.js → DefinitionList--Q2HEB_R.js} +0 -0
- /package/dist/{DefinitionList-CndoLDLs.cjs → DefinitionList-CGIDl914.cjs} +0 -0
- /package/dist/{DefinitionListItem-C3VrLhWY.js → DefinitionListItem-B4iWsaSC.js} +0 -0
- /package/dist/{DefinitionListItem-CLztc8mQ.cjs → DefinitionListItem-CR5vx_kx.cjs} +0 -0
- /package/dist/{DragHandle-IJoaUK75.cjs → DragHandle-BiYccTJN.cjs} +0 -0
- /package/dist/{DragHandle-CuEBPvz8.js → DragHandle-qTw3v4uw.js} +0 -0
- /package/dist/{EmptyState-Db0Zrrk2.cjs → EmptyState-1ZLgFpJO.cjs} +0 -0
- /package/dist/{EmptyState-DhlJV0C6.js → EmptyState-DE1pPuw-.js} +0 -0
- /package/dist/{Field-COMPegVv.cjs → Field-AXSzk3l3.cjs} +0 -0
- /package/dist/{Field-D12Dja-u.js → Field-B8wNroAI.js} +0 -0
- /package/dist/{Flag-CKhucUhD.js → Flag-DxtJyiq7.js} +0 -0
- /package/dist/{Flag-D5hPnq37.cjs → Flag-sm9H7OLB.cjs} +0 -0
- /package/dist/{FloatingToolbar-Clz7tlQQ.js → FloatingToolbar-BikX_AsP.js} +0 -0
- /package/dist/{FloatingToolbar-By_-ubVi.cjs → FloatingToolbar-DWVY8Fxo.cjs} +0 -0
- /package/dist/{Grid-B7d8x0tA.js → Grid-BVIhOyQ1.js} +0 -0
- /package/dist/{Grid-BOtE_jXr.cjs → Grid-tn5_R2fP.cjs} +0 -0
- /package/dist/{InlineEdit-hVNTw3FL.cjs → InlineEdit-DNYN-OKH.cjs} +0 -0
- /package/dist/{InlineEdit-Ccm5eW9r.js → InlineEdit-vsfyBgw7.js} +0 -0
- /package/dist/{JsonTree-E9Z-ELBN.js → JsonTree-6CdJ-Gzr.js} +0 -0
- /package/dist/{JsonTree-D2auUavc.cjs → JsonTree-Da24d7DW.cjs} +0 -0
- /package/dist/{Layer--aoEMtI2.js → Layer-CSuwMbCG.js} +0 -0
- /package/dist/{Layer-C8RYJ-6a.cjs → Layer-DgvW9hHn.cjs} +0 -0
- /package/dist/{MenuBar-3tuFXaKq.cjs → MenuBar-C9DS_hIo.cjs} +0 -0
- /package/dist/{MenuBar-T-R82ARB.js → MenuBar-DVv2g_rC.js} +0 -0
- /package/dist/{MenuBarItem-GgXvNoo-.cjs → MenuBarItem-DlnIAhRw.cjs} +0 -0
- /package/dist/{MenuBarItem-DWx9J8-L.js → MenuBarItem-yr5aizl3.js} +0 -0
- /package/dist/{MenuDivider-9wQ-fCik.cjs → MenuDivider-CN0P3E6g.cjs} +0 -0
- /package/dist/{MenuDivider-ksA6NvMu.js → MenuDivider-DdwhPon9.js} +0 -0
- /package/dist/{NubiscoMark-BmzCQO-3.js → NubiscoMark-0ZIaMys6.js} +0 -0
- /package/dist/{NubiscoMark-xthZ972G.cjs → NubiscoMark-BM7WFUNi.cjs} +0 -0
- /package/dist/{NubiscoPlatformMark-DCr77bqN.js → NubiscoPlatformMark-D09gaMWr.js} +0 -0
- /package/dist/{NubiscoPlatformMark-DA2jJFJN.cjs → NubiscoPlatformMark-DoU7dFxt.cjs} +0 -0
- /package/dist/{PageLayout-DHi1w1PD.cjs → PageLayout-BkkrJvOm.cjs} +0 -0
- /package/dist/{PageLayout-BMcT2mzU.js → PageLayout-Czzxu6ua.js} +0 -0
- /package/dist/{Panel-7LIVYu68.js → Panel-4itscCsS.js} +0 -0
- /package/dist/{Panel-BRPE3B-O.cjs → Panel-BKASZF-B.cjs} +0 -0
- /package/dist/{ReorderList-qScXc3-v.cjs → ReorderList-DJSXspkB.cjs} +0 -0
- /package/dist/{ReorderList-DmjW30Mw.js → ReorderList-DRFcrUfl.js} +0 -0
- /package/dist/{SidebarLink-D1rsmzP_.cjs → SidebarLink-C-tnZtCU.cjs} +0 -0
- /package/dist/{SidebarLink-qbDy2Jip.js → SidebarLink-D9w9PHz_.js} +0 -0
- /package/dist/{SidebarMenu-CEff0kWr.cjs → SidebarMenu-BVqk_jY1.cjs} +0 -0
- /package/dist/{SidebarMenu-Cz7k20qd.js → SidebarMenu-CxFS4i9J.js} +0 -0
- /package/dist/{SidebarMenuGroup-BvrYrQQi.js → SidebarMenuGroup-BxMynLi3.js} +0 -0
- /package/dist/{SidebarMenuGroup-vc3SM277.cjs → SidebarMenuGroup-CPhxz_bV.cjs} +0 -0
- /package/dist/{SidebarStatus-COgGJjkA.js → SidebarStatus-Bw8CU-vJ.js} +0 -0
- /package/dist/{SidebarStatus-Coh-cSGj.cjs → SidebarStatus-Cv95lDM4.cjs} +0 -0
- /package/dist/{Stepper.context-CIIC0ucN.cjs → Stepper.context--rpq0sA4.cjs} +0 -0
- /package/dist/{Stepper.context-BBwBAwSJ.js → Stepper.context-BI40m7my.js} +0 -0
- /package/dist/{StructuredList-BexC0c1Z.cjs → StructuredList-C7A2hCt7.cjs} +0 -0
- /package/dist/{StructuredList-DuBBP01p.js → StructuredList-DuHjSiZQ.js} +0 -0
- /package/dist/{Submenu-M1q8mdSB.js → Submenu-BDs-yAqv.js} +0 -0
- /package/dist/{Submenu-DK6C5mjc.cjs → Submenu-BLjx2kWl.cjs} +0 -0
- /package/dist/{TextInput.context-B-mipPOo.js → TextInput.context-CIHw4T0Y.js} +0 -0
- /package/dist/{TextInput.context-ChkcqMNM.cjs → TextInput.context-pJ99Jqwr.cjs} +0 -0
- /package/dist/{Toolbar-DN0gMuyj.cjs → Toolbar-0yonvSaQ.cjs} +0 -0
- /package/dist/{Toolbar-Cc_31FMW.js → Toolbar-DX2l8FUL.js} +0 -0
- /package/dist/{TreeContext-JbeO4_mW.cjs → TreeContext-CA4uqhBq.cjs} +0 -0
- /package/dist/{TreeContext-BSNQGIEd.js → TreeContext-CwTEdedz.js} +0 -0
- /package/dist/{Wireframe-B-Dnmefu.js → Wireframe-DJRZl5rd.js} +0 -0
- /package/dist/{Wireframe-DBqyeEzE.cjs → Wireframe-Dhxj8wYJ.cjs} +0 -0
- /package/dist/{palette-BPqd521m.js → palette-4rzDlIAy.js} +0 -0
- /package/dist/{palette-MlQ_k4iu.cjs → palette-DxWvvteq.cjs} +0 -0
- /package/dist/{pixi-scene-RJljCo62.cjs → pixi-scene-ZtVQmHpg.cjs} +0 -0
- /package/dist/{pixi-scene-CdHSFEve.js → pixi-scene-hlXJlAf5.js} +0 -0
- /package/dist/{scales-BRSHTjbp.cjs → scales-Dbh3TYrl.cjs} +0 -0
- /package/dist/{scales-BGzTviac.js → scales-TfA6Pl4e.js} +0 -0
- /package/dist/{useChartEntrance-D8vJ7eWq.cjs → useChartEntrance-BSMpWsax.cjs} +0 -0
- /package/dist/{useChartEntrance-heEx5_ZG.js → useChartEntrance-BqG_st9U.js} +0 -0
- /package/dist/{useChartSize-05CLdiR0.js → useChartSize-B-Rv6Q7a.js} +0 -0
- /package/dist/{useChartSize-CUZ7BuGD.cjs → useChartSize-c75YO_2m.cjs} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-CZT2zf7e.js → useLoadingAnnouncer.composable-Cihu0ZHU.js} +0 -0
- /package/dist/{useLoadingAnnouncer.composable-BXyCMUDe.cjs → useLoadingAnnouncer.composable-vqmtAsfY.cjs} +0 -0
- /package/dist/{vue-i18n-D8JKgg8C.cjs → vue-i18n-BaeznwnA.cjs} +0 -0
- /package/dist/{vue-i18n-B8N89VAx.js → vue-i18n-DgCNp5tk.js} +0 -0
|
@@ -34,17 +34,17 @@ var g = Object.defineProperty, _ = (e, t) => {
|
|
|
34
34
|
"ul",
|
|
35
35
|
"ol",
|
|
36
36
|
"li"
|
|
37
|
-
]),
|
|
37
|
+
]), b = new Set(["br"]), x = new Set([
|
|
38
38
|
"class",
|
|
39
39
|
"style",
|
|
40
40
|
"dir",
|
|
41
41
|
"lang"
|
|
42
|
-
]),
|
|
42
|
+
]), ue = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), S = new Set(/* @__PURE__ */ "color.background-color.font-family.font-size.font-style.font-variant.font-weight.letter-spacing.line-height.text-align.text-decoration.text-transform.white-space.word-break.overflow-wrap.opacity.display.flex-direction.align-items.justify-content.gap.margin.margin-top.margin-right.margin-bottom.margin-left.padding.padding-top.padding-right.padding-bottom.padding-left.max-width.min-width.border-radius".split(".")), C = /url\(|image-set\(|expression\(|javascript:|@import|\\/i, de = /^[A-Za-z_-][A-Za-z0-9_-]*$/, fe = (e) => e.split(";").map((e) => {
|
|
43
43
|
let t = e.indexOf(":");
|
|
44
44
|
if (t < 0) return "";
|
|
45
45
|
let n = e.slice(0, t).trim().toLowerCase(), r = e.slice(t + 1).trim();
|
|
46
|
-
return !n || !r ? "" :
|
|
47
|
-
}).filter(Boolean).join("; "),
|
|
46
|
+
return !n || !r ? "" : S.has(n) ? C.test(r) ? (k(`style-value:${n}`, `The value of "${n}" was dropped: tooltip content may not load a resource or call a CSS function that does.`), "") : `${n}: ${r}` : (k(`style:${n}`, `"${n}" is not an allowed tooltip content style property and was dropped.`), "");
|
|
47
|
+
}).filter(Boolean).join("; "), w = (e) => e.split(/\s+/).filter((e) => e ? de.test(e) ? !0 : (k(`class:${e}`, `"${e}" is not a valid class token for tooltip content and was dropped.`), !1) : !1).join(" "), T = (e, t) => e === "style" ? fe(t) : e === "class" ? w(t) : t, pe = new Set([
|
|
48
48
|
"b",
|
|
49
49
|
"strong",
|
|
50
50
|
"em",
|
|
@@ -56,15 +56,15 @@ var g = Object.defineProperty, _ = (e, t) => {
|
|
|
56
56
|
"kbd",
|
|
57
57
|
"br",
|
|
58
58
|
"p"
|
|
59
|
-
]),
|
|
59
|
+
]), me = {
|
|
60
60
|
"<": "<",
|
|
61
61
|
">": ">",
|
|
62
62
|
"\"": """,
|
|
63
63
|
"'": "'"
|
|
64
|
-
}, E = (e) => e.replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]{1,10}|#\d{1,7}|#[xX][0-9a-fA-F]{1,6});)/g, "&").replace(/[<>"']/g, (e) =>
|
|
64
|
+
}, E = (e) => e.replace(/&(?!(?:[a-zA-Z][a-zA-Z0-9]{1,10}|#\d{1,7}|#[xX][0-9a-fA-F]{1,6});)/g, "&").replace(/[<>"']/g, (e) => me[e]), D = (e) => e.split(/(<[^<>]*>)/g).map((e) => {
|
|
65
65
|
if (e.startsWith("<") && e.endsWith(">")) {
|
|
66
66
|
let t = /^<\s*(\/?)\s*([a-zA-Z][a-zA-Z0-9]*)\s*\/?\s*>$/.exec(e), n = t?.[2]?.toLowerCase();
|
|
67
|
-
return n &&
|
|
67
|
+
return n && pe.has(n) ? `<${t[1]}${n}>` : (n && k(`string-tag:${n}`, `<${n}> is not allowed in a tooltip string and was shown as text. Use the structured content form for anything richer.`), E(e));
|
|
68
68
|
}
|
|
69
69
|
return E(e).replace(/\n/g, "<br>");
|
|
70
70
|
}).join(""), O = /* @__PURE__ */ new Set(), k = (e, t) => {
|
|
@@ -74,8 +74,8 @@ var g = Object.defineProperty, _ = (e, t) => {
|
|
|
74
74
|
if (!e || typeof e != "object" || !e.component) return "";
|
|
75
75
|
let { component: t, props: n = {}, children: r, content: i } = e, a = r === void 0 ? i : r, o = Array.isArray(a) ? A(a) : a === void 0 ? "" : D(String(a)), s = String(t).toLowerCase();
|
|
76
76
|
if (!y.has(s)) return k(`tag:${s}`, `<${s}> is not allowed in tooltip content and was dropped. Allowed tags: ${[...y].join(", ")}.`), o;
|
|
77
|
-
let c = Object.entries(n).filter(([e]) =>
|
|
78
|
-
return
|
|
77
|
+
let c = Object.entries(n).filter(([e]) => x.has(e) ? !0 : (k(`prop:${e}`, `"${e}" is not an allowed tooltip content prop and was dropped. Allowed props: ${[...x].join(", ")}.`), !1)).map(([e, t]) => [e, T(e, String(t))]).filter(([, e]) => e !== "").map(([e, t]) => `${e}="${ue(t)}"`).join(" "), l = `<${s}${c ? ` ${c}` : ""}>`;
|
|
78
|
+
return b.has(s) ? l : `${l}${o}</${s}>`;
|
|
79
79
|
}, j = (e) => e ? typeof e == "string" ? D(e) : Array.isArray(e) ? A(e) : "" : "", M = Object.freeze({
|
|
80
80
|
micro: 70,
|
|
81
81
|
quick: 110,
|
|
@@ -531,21 +531,21 @@ function St() {
|
|
|
531
531
|
document.querySelectorAll("span.nb-tooltip").forEach((e) => e.remove());
|
|
532
532
|
}
|
|
533
533
|
//#endregion
|
|
534
|
-
//#region src/components/Button.
|
|
535
|
-
var Ct = /* @__PURE__ */ function(e) {
|
|
534
|
+
//#region src/components/Button.context.ts
|
|
535
|
+
var Ct = Symbol.for("@nubisco/ui:button-defaults"), wt = /* @__PURE__ */ function(e) {
|
|
536
536
|
return e.Button = "button", e.Submit = "submit", e.Reset = "reset", e;
|
|
537
|
-
}(
|
|
537
|
+
}(wt || {}), Tt = {
|
|
538
538
|
key: 0,
|
|
539
539
|
class: "nb-button__label"
|
|
540
|
-
},
|
|
540
|
+
}, Et = {
|
|
541
541
|
key: 1,
|
|
542
542
|
class: "nb-button__decorations"
|
|
543
|
-
},
|
|
543
|
+
}, Dt = {
|
|
544
544
|
key: 0,
|
|
545
545
|
class: "nb-button__spinner",
|
|
546
546
|
"aria-hidden": "true"
|
|
547
|
-
},
|
|
548
|
-
function
|
|
547
|
+
}, Ot = /* @__PURE__ */ new Set();
|
|
548
|
+
function kt(e) {
|
|
549
549
|
if (typeof e == "string") return e;
|
|
550
550
|
if (e && (typeof e == "object" || typeof e == "function")) {
|
|
551
551
|
let t = e;
|
|
@@ -555,7 +555,7 @@ function Ot(e) {
|
|
|
555
555
|
}
|
|
556
556
|
//#endregion
|
|
557
557
|
//#region src/components/Button.vue
|
|
558
|
-
var
|
|
558
|
+
var At = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
559
559
|
__name: "Button",
|
|
560
560
|
props: {
|
|
561
561
|
variant: { default: void 0 },
|
|
@@ -563,6 +563,7 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
563
563
|
type: Boolean,
|
|
564
564
|
default: !1
|
|
565
565
|
},
|
|
566
|
+
align: { default: void 0 },
|
|
566
567
|
size: { default: void 0 },
|
|
567
568
|
disabled: {
|
|
568
569
|
type: Boolean,
|
|
@@ -581,7 +582,7 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
581
582
|
type: Boolean,
|
|
582
583
|
default: void 0
|
|
583
584
|
},
|
|
584
|
-
type: { default:
|
|
585
|
+
type: { default: wt.Button },
|
|
585
586
|
href: { default: void 0 },
|
|
586
587
|
target: { default: void 0 },
|
|
587
588
|
rel: { default: void 0 },
|
|
@@ -589,40 +590,40 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
589
590
|
},
|
|
590
591
|
emits: ["click"],
|
|
591
592
|
setup(e, { emit: t }) {
|
|
592
|
-
let d = e, g = t, _ = s(() => d.variant === "tertiary" ? "primary" : d.variant === "danger-tertiary" ? "danger" : d.variant), v = s(() => d.outlined || d.variant === "tertiary" || d.variant === "danger-tertiary"), y = p(o, null),
|
|
593
|
+
let d = e, g = t, _ = s(() => d.variant === "tertiary" ? "primary" : d.variant === "danger-tertiary" ? "danger" : d.variant), v = s(() => d.outlined || d.variant === "tertiary" || d.variant === "danger-tertiary"), y = p(o, null), b = s(() => d.size ?? y?.size.value ?? r.Medium), x = p(Ct, {}), ue = s(() => d.align ?? x.align ?? "start"), S = p(a, null), C = null;
|
|
593
594
|
ne(() => {
|
|
594
|
-
|
|
595
|
-
}), te(() =>
|
|
596
|
-
let de = se(), fe = oe(),
|
|
597
|
-
if (!(!
|
|
595
|
+
S && _.value === "primary" && !v.value && (C = S.register());
|
|
596
|
+
}), te(() => C?.());
|
|
597
|
+
let de = se(), fe = oe(), w = s(() => !de.default && !!(d.icon || d.loading)), T = s(() => !!(d.loading || d.icon)), pe = s(() => {
|
|
598
|
+
if (!(!w.value || !d.label)) return fe["aria-label"] ?? d.label;
|
|
598
599
|
}), me = s(() => {
|
|
599
600
|
let e = d.tooltipPosition;
|
|
600
|
-
return
|
|
601
|
-
header:
|
|
601
|
+
return O.value ? {
|
|
602
|
+
header: w.value ? d.label : void 0,
|
|
602
603
|
body: d.disabledReason,
|
|
603
604
|
aria: "description",
|
|
604
605
|
position: e
|
|
605
|
-
} :
|
|
606
|
+
} : w.value && d.label ? {
|
|
606
607
|
body: d.label,
|
|
607
608
|
aria: "none",
|
|
608
609
|
position: e
|
|
609
610
|
} : void 0;
|
|
610
|
-
}),
|
|
611
|
+
}), E = i(), D = s(() => d.disabled || d.loading), O = s(() => d.disabled && !!d.disabledReason), k = s(() => M.value === "button" && D.value && !O.value ? !0 : void 0), A = s(() => d.to != null && !!E.value && !D.value), j = s(() => {
|
|
611
612
|
if (typeof d.to == "string") return d.to;
|
|
612
613
|
if (d.href) return d.href;
|
|
613
|
-
}),
|
|
614
|
-
href:
|
|
614
|
+
}), M = s(() => A.value ? E.value : j.value || d.to != null && E.value ? "a" : "button"), he = s(() => M.value === "a" ? D.value ? { role: "link" } : {
|
|
615
|
+
href: j.value,
|
|
615
616
|
target: d.target,
|
|
616
617
|
rel: d.rel
|
|
617
618
|
} : {});
|
|
618
|
-
function
|
|
619
|
-
if (
|
|
619
|
+
function ge(e) {
|
|
620
|
+
if (D.value) {
|
|
620
621
|
e.preventDefault();
|
|
621
622
|
return;
|
|
622
623
|
}
|
|
623
624
|
g("click", e);
|
|
624
625
|
}
|
|
625
|
-
let
|
|
626
|
+
let N = {
|
|
626
627
|
xxs: 16,
|
|
627
628
|
xs: 16,
|
|
628
629
|
sm: 16,
|
|
@@ -630,7 +631,7 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
630
631
|
lg: 16,
|
|
631
632
|
xl: 16,
|
|
632
633
|
xxl: 16
|
|
633
|
-
},
|
|
634
|
+
}, P = {
|
|
634
635
|
xxs: 16,
|
|
635
636
|
xs: 16,
|
|
636
637
|
sm: 16,
|
|
@@ -638,44 +639,45 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
638
639
|
lg: 20,
|
|
639
640
|
xl: 24,
|
|
640
641
|
xxl: 32
|
|
641
|
-
},
|
|
642
|
+
}, F = s(() => (w.value ? P : N)[b.value] ?? (w.value ? 20 : 16)), _e = f();
|
|
642
643
|
return ne(() => {
|
|
643
|
-
typeof process < "u" && process.env.NODE_ENV === "production" ||
|
|
644
|
-
let e =
|
|
644
|
+
typeof process < "u" && process.env.NODE_ENV === "production" || w.value && ee(() => {
|
|
645
|
+
let e = _e?.proxy?.$el;
|
|
645
646
|
if (!e || typeof e.getAttribute != "function" || [
|
|
646
647
|
"aria-label",
|
|
647
648
|
"aria-labelledby",
|
|
648
649
|
"title"
|
|
649
650
|
].some((t) => (e.getAttribute(t) ?? "").trim().length > 0) || (e.textContent ?? "").trim().length > 0) return;
|
|
650
|
-
let t =
|
|
651
|
-
|
|
651
|
+
let t = kt(d.icon);
|
|
652
|
+
Ot.has(t) || (Ot.add(t), console.warn(`[NbButton] An icon-only button${t ? ` (icon "${t}")` : ""} has no accessible name, so a screen reader announces it as "button". Give it a \`label\`, which names it and shows the same words as its tooltip.`, e));
|
|
652
653
|
});
|
|
653
|
-
}), (t, r) => le((h(), c(ie(
|
|
654
|
+
}), (t, r) => le((h(), c(ie(M.value), m({
|
|
654
655
|
class: [
|
|
655
656
|
"nb-button",
|
|
656
657
|
_.value ? `nb-button--${_.value}` : null,
|
|
657
|
-
`nb-button--${
|
|
658
|
+
`nb-button--${b.value}`,
|
|
658
659
|
{ "nb-button--outlined": v.value },
|
|
659
660
|
{ "nb-button--loading": e.loading },
|
|
660
|
-
{ "nb-button--icon-only":
|
|
661
|
-
{ "nb-button--with-icon":
|
|
661
|
+
{ "nb-button--icon-only": w.value },
|
|
662
|
+
{ "nb-button--with-icon": T.value && !w.value },
|
|
662
663
|
{ "nb-button--pressed": e.pressed },
|
|
663
664
|
{ "nb-button--flush": ae(y)?.flush.value },
|
|
664
|
-
{ "nb-button--explained":
|
|
665
|
+
{ "nb-button--explained": O.value },
|
|
666
|
+
{ "nb-button--centered": ue.value === "center" }
|
|
665
667
|
],
|
|
666
|
-
to:
|
|
667
|
-
},
|
|
668
|
-
disabled:
|
|
669
|
-
"aria-disabled":
|
|
668
|
+
to: A.value ? e.to : void 0
|
|
669
|
+
}, he.value, {
|
|
670
|
+
disabled: k.value,
|
|
671
|
+
"aria-disabled": D.value && !k.value ? !0 : void 0,
|
|
670
672
|
"aria-label": pe.value,
|
|
671
673
|
"aria-pressed": e.pressed === void 0 ? void 0 : e.pressed,
|
|
672
|
-
type:
|
|
673
|
-
onClick:
|
|
674
|
+
type: M.value === "button" ? e.type : void 0,
|
|
675
|
+
onClick: ge
|
|
674
676
|
}), {
|
|
675
|
-
default: ce(() => [
|
|
677
|
+
default: ce(() => [w.value ? l("", !0) : (h(), u("span", Tt, [re(t.$slots, "default", {}, void 0, !0)])), T.value ? (h(), u("span", Et, [e.loading ? (h(), u("span", Dt)) : e.icon ? (h(), c(n, {
|
|
676
678
|
key: 1,
|
|
677
679
|
name: e.icon,
|
|
678
|
-
size:
|
|
680
|
+
size: F.value,
|
|
679
681
|
weight: e.iconWeight,
|
|
680
682
|
class: "nb-button__icon"
|
|
681
683
|
}, null, 8, [
|
|
@@ -694,6 +696,6 @@ var kt = /* @__PURE__ */ t(/* @__PURE__ */ d({
|
|
|
694
696
|
"type"
|
|
695
697
|
])), [[ae(Y), me.value]]);
|
|
696
698
|
}
|
|
697
|
-
}), [["__scopeId", "data-v-
|
|
699
|
+
}), [["__scopeId", "data-v-e2614a7f"]]);
|
|
698
700
|
//#endregion
|
|
699
|
-
export {
|
|
701
|
+
export { St as a, M as c, ge as i, v as l, wt as n, ft as o, Ct as r, he as s, At as t, _ as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-DmJ_J3UO.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
3
|
import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
|
|
4
4
|
import { Comment as r, Fragment as i, Text as a, cloneVNode as o, computed as s, createBlock as c, createElementBlock as l, defineComponent as u, normalizeClass as d, openBlock as f, renderList as p, resolveDynamicComponent as m, useSlots as h } from "vue";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./Button-CGIbF1e-.cjs`),t=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),n=require(`./composables/usePhoneLayout.composable.cjs`);let r=require(`vue`);var i=3,a=(0,r.defineComponent)({__name:`ButtonSet`,props:{fluid:{type:Boolean,default:!1},stack:{default:`never`},align:{default:`start`},size:{default:void 0},focusOrder:{default:`reading`}},setup(t){let a=t,{phone:o}=n.usePhoneLayout(),s=(0,r.computed)(()=>a.stack===`always`||a.stack===`phone`&&o.value),c=(0,r.useSlots)(),l=!1;function u(e,t=[]){for(let n of e){if(n.type===r.Fragment&&Array.isArray(n.children)){u(n.children,t);continue}n.type!==r.Comment&&(n.type===r.Text&&String(n.children??``).trim()===``||t.push({node:n,index:t.length}))}return t}function d(e){let t=e.props??{};return t.variant!==`primary`&&t.variant!==`danger`?!1:!(`outlined`in t)||t.outlined===!1}function f(t){let n=u(t),i=-1;for(let e=n.length-1;e>=0;e--)if(d(n[e].node)){i=e;break}let o=n.filter((e,t)=>t!==i),c=i>=0?[n[i]]:[],l;return l=a.focusOrder===`rank`?[...c,...o.reverse()]:s.value?[...c,...o]:[...o,...c],l.map(({node:t,index:n})=>(0,r.cloneVNode)(t,{key:t.key??`nb-button-set-${n}`,...a.size&&t.type===e.t?{size:a.size}:{}}))}function p(e){l||e<=i||typeof process<`u`&&process.env.NODE_ENV===`production`||(l=!0,console.warn(`[NbButtonSet] ${e} buttons in one set. A set holds at most ${i}: one primary and two others. Move the rest into an overflow menu or onto the page.`))}function m(){let e=f(c.default?.()??[]);return p(e.length),e}return(e,n)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)([`nb-button-set`,`nb-button-set--stack-${t.stack}`,`nb-button-set--align-${t.align}`,`nb-button-set--${t.focusOrder}`,{"nb-button-set--fluid":t.fluid},{"nb-button-set--stacked":s.value}])},[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(m(),e=>((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(e),{key:e.key}))),128))],2))}}),o=t.t(a,[[`__scopeId`,`data-v-7dc6c4e4`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-DmJ_J3UO.js";
|
|
2
2
|
import { useSurfaceLayer as t } from "./composables/useSurfaceLayer.composable.mjs";
|
|
3
3
|
import { useNbStrings as n } from "./composables/useNbStrings.composable.mjs";
|
|
4
4
|
import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, watch as y, withCtx as b, withModifiers as x } from "vue";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-CGIbF1e-.cjs`),n=require(`./composables/useSurfaceLayer.composable.cjs`),r=require(`./composables/useNbStrings.composable.cjs`);let i=require(`vue`),a=require(`@nubisco/ui/icons/caret-right`);a=e.n(a);let o=require(`@nubisco/ui/icons/caret-left`);o=e.n(o);var s={class:`nb-calendar__header`},c={class:`nb-calendar__title`,"aria-live":`polite`},l={class:`nb-calendar__weekdays`},u={class:`nb-calendar__grid`},d=[`onClick`],f={class:`nb-calendar__day-num`},p={class:`nb-calendar__events`},m=[`title`,`onClick`],h={class:`nb-calendar__event-label`},g=(0,i.defineComponent)({__name:`Calendar`,props:{events:{default:()=>[]},month:{default:void 0},weekStart:{default:1},locale:{default:void 0}},emits:[`day-click`,`event-click`],setup(e){let g=r.useNbStrings(),_=e,{layerProps:v}=n.useSurfaceLayer();function y(e){return typeof e==`string`?e.slice(0,10):e.toISOString().slice(0,10)}let b=(0,i.ref)(new Date().getFullYear()),x=(0,i.ref)(new Date().getMonth());(0,i.watch)(()=>_.month,e=>{if(!e)return;let t=typeof e==`string`?new Date(e+`-01`):e;b.value=t.getFullYear(),x.value=t.getMonth()},{immediate:!0});function S(){x.value===0?(x.value=11,b.value--):x.value--}function C(){x.value===11?(x.value=0,b.value++):x.value++}function w(){let e=new Date;b.value=e.getFullYear(),x.value=e.getMonth()}let T=(0,i.computed)(()=>_.locale||(typeof navigator<`u`?navigator.language:``)||`en`),E=(0,i.computed)(()=>{let e=new Date(b.value,x.value,1).toLocaleDateString(T.value,{month:`long`,year:`numeric`});return e.charAt(0).toUpperCase()+e.slice(1)}),D=(0,i.computed)(()=>{let e=[],t=new Date(2024,0,_.weekStart===0?7:1);for(let n=0;n<7;n++){let r=new Date(t);r.setDate(t.getDate()+n);let i=r.toLocaleDateString(T.value,{weekday:`short`});e.push(i.charAt(0).toUpperCase()+i.slice(1))}return e}),O=(0,i.computed)(()=>y(new Date)),k=(0,i.computed)(()=>{let e=b.value,t=x.value,n=new Date(e,t,1),r=new Date(e,t+1,0),i=n.getDay();_.weekStart===1&&(i=i===0?6:i-1);let a=[];for(let n=i-1;n>=0;n--){let r=new Date(e,t,-n),i=y(r);a.push({key:i,date:i,day:r.getDate(),inMonth:!1,isToday:i===O.value,events:A(i)})}for(let n=1;n<=r.getDate();n++){let r=`${e}-${String(t+1).padStart(2,`0`)}-${String(n).padStart(2,`0`)}`;a.push({key:r,date:r,day:n,inMonth:!0,isToday:r===O.value,events:A(r)})}let o=7-a.length%7;if(o<7)for(let n=1;n<=o;n++){let r=new Date(e,t+1,n),i=y(r);a.push({key:i,date:i,day:r.getDate(),inMonth:!1,isToday:i===O.value,events:A(i)})}return a});function A(e){return(_.events??[]).filter(t=>{let n=y(t.start),r=t.end?y(t.end):n;return e>=n&&e<=r})}return(e,n)=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,(0,i.mergeProps)({class:`nb-calendar`},(0,i.unref)(v)),[(0,i.createElementVNode)(`div`,s,[(0,i.createVNode)(t.t,{class:`nb-calendar__today-btn`,variant:`ghost`,size:`sm`,onClick:w},{default:(0,i.withCtx)(()=>[(0,i.createTextVNode)((0,i.toDisplayString)((0,i.unref)(g).calendarToday),1)]),_:1}),(0,i.createVNode)(t.t,{class:`nb-calendar__nav`,variant:`ghost`,size:`sm`,icon:o,label:(0,i.unref)(g).calendarPreviousMonth,onClick:S},null,8,[`label`]),(0,i.createVNode)(t.t,{class:`nb-calendar__nav`,variant:`ghost`,size:`sm`,icon:a,label:(0,i.unref)(g).calendarNextMonth,onClick:C},null,8,[`label`]),(0,i.createElementVNode)(`span`,c,(0,i.toDisplayString)(E.value),1)]),(0,i.createElementVNode)(`div`,l,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(D.value,e=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:e,class:`nb-calendar__weekday`},(0,i.toDisplayString)(e),1))),128))]),(0,i.createElementVNode)(`div`,u,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(k.value,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:t.key,class:(0,i.normalizeClass)([`nb-calendar__cell`,{"nb-calendar__cell--outside":!t.inMonth,"nb-calendar__cell--today":t.isToday}]),onClick:n=>e.$emit(`day-click`,t.date)},[(0,i.createElementVNode)(`span`,f,(0,i.toDisplayString)(t.day),1),(0,i.createElementVNode)(`div`,p,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(t.events,t=>((0,i.openBlock)(),(0,i.createElementBlock)(`div`,{key:t.id,class:`nb-calendar__event`,style:(0,i.normalizeStyle)({background:t.color||`var(--nb-c-primary)`}),title:t.label,onClick:(0,i.withModifiers)(n=>e.$emit(`event-click`,t),[`stop`])},[(0,i.renderSlot)(e.$slots,`event`,{event:t},()=>[(0,i.createElementVNode)(`span`,h,(0,i.toDisplayString)(t.label),1)])],12,m))),128))])],10,d))),128))])],16))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return g}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./Avatar-UO0ySqkY.cjs`),n=require(`./AiLabel-AGSSBanb.cjs`);let r=require(`vue`);var i={class:`nb-chat-message__main`},a={class:`nb-chat-message__head`},o={class:`nb-chat-message__author`},s=[`datetime`,`title`],c={class:`nb-chat-message__body`},l=(0,r.defineComponent)({__name:`ChatMessage`,props:{author:{},picture:{default:void 0},own:{type:Boolean,default:!1},text:{default:``},time:{default:void 0},timeLabel:{default:void 0},locale:{default:void 0},ai:{type:Boolean,default:!1},aiExplain:{default:void 0}},setup(e){let l=e,u=(0,r.computed)(()=>{if(l.time===void 0||l.time===null)return null;let e=l.time instanceof Date?l.time:new Date(l.time);return Number.isNaN(e.getTime())?null:e}),d=(0,r.computed)(()=>u.value?.toISOString()),f=(0,r.computed)(()=>l.timeLabel?l.timeLabel:u.value?new Intl.DateTimeFormat(l.locale,{timeStyle:`short`}).format(u.value):``),p=(0,r.computed)(()=>u.value?new Intl.DateTimeFormat(l.locale,{dateStyle:`medium`,timeStyle:`short`}).format(u.value):void 0);return(l,u)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)([`nb-chat-message`,{"nb-chat-message--own":e.own,"nb-chat-message--with-avatar":e.picture!==void 0}])},[e.picture===void 0?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createBlock)(t.t,{key:0,class:`nb-chat-message__avatar`,name:e.author,picture:e.picture,size:`md`,decorative:``},null,8,[`name`,`picture`])),(0,r.createElementVNode)(`div`,i,[(0,r.createElementVNode)(`div`,a,[(0,r.createElementVNode)(`span`,o,(0,r.toDisplayString)(e.author),1),e.ai||l.$slots[`ai-label`]?(0,r.renderSlot)(l.$slots,`ai-label`,{key:0},()=>[(0,r.createVNode)(n.t,{class:`nb-chat-message__ai`,variant:`inline`,size:`sm`,explain:e.aiExplain},(0,r.createSlots)({_:2},[l.$slots[`ai-explain`]?{name:`explain`,fn:(0,r.withCtx)(()=>[(0,r.renderSlot)(l.$slots,`ai-explain`)]),key:`0`}:void 0]),1032,[`explain`])]):(0,r.createCommentVNode)(``,!0),f.value?((0,r.openBlock)(),(0,r.createElementBlock)(`time`,{key:1,class:`nb-chat-message__time`,datetime:d.value,title:p.value},(0,r.toDisplayString)(f.value),9,s)):(0,r.createCommentVNode)(``,!0)]),(0,r.createElementVNode)(`div`,c,[(0,r.renderSlot)(l.$slots,`default`,{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.text),1)])])])],2))}}),u=e.t(l,[[`__scopeId`,`data-v-09a08366`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
+
import { t } from "./Avatar-ZG-WROXx.js";
|
|
3
|
+
import { t as n } from "./AiLabel-D32aNf1F.js";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, openBlock as p, renderSlot as m, toDisplayString as h, withCtx as g } from "vue";
|
|
5
|
+
//#region src/components/ChatMessage.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var _ = { class: "nb-chat-message__main" }, v = { class: "nb-chat-message__head" }, y = { class: "nb-chat-message__author" }, b = ["datetime", "title"], x = { class: "nb-chat-message__body" }, S = /* @__PURE__ */ e(/* @__PURE__ */ d({
|
|
7
|
+
__name: "ChatMessage",
|
|
8
|
+
props: {
|
|
9
|
+
author: {},
|
|
10
|
+
picture: { default: void 0 },
|
|
11
|
+
own: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
text: { default: "" },
|
|
16
|
+
time: { default: void 0 },
|
|
17
|
+
timeLabel: { default: void 0 },
|
|
18
|
+
locale: { default: void 0 },
|
|
19
|
+
ai: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
default: !1
|
|
22
|
+
},
|
|
23
|
+
aiExplain: { default: void 0 }
|
|
24
|
+
},
|
|
25
|
+
setup(e) {
|
|
26
|
+
let d = e, S = r(() => {
|
|
27
|
+
if (d.time === void 0 || d.time === null) return null;
|
|
28
|
+
let e = d.time instanceof Date ? d.time : new Date(d.time);
|
|
29
|
+
return Number.isNaN(e.getTime()) ? null : e;
|
|
30
|
+
}), C = r(() => S.value?.toISOString()), w = r(() => d.timeLabel ? d.timeLabel : S.value ? new Intl.DateTimeFormat(d.locale, { timeStyle: "short" }).format(S.value) : ""), T = r(() => S.value ? new Intl.DateTimeFormat(d.locale, {
|
|
31
|
+
dateStyle: "medium",
|
|
32
|
+
timeStyle: "short"
|
|
33
|
+
}).format(S.value) : void 0);
|
|
34
|
+
return (r, d) => (p(), o("div", { class: f(["nb-chat-message", {
|
|
35
|
+
"nb-chat-message--own": e.own,
|
|
36
|
+
"nb-chat-message--with-avatar": e.picture !== void 0
|
|
37
|
+
}]) }, [e.picture === void 0 ? a("", !0) : (p(), i(t, {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: "nb-chat-message__avatar",
|
|
40
|
+
name: e.author,
|
|
41
|
+
picture: e.picture,
|
|
42
|
+
size: "md",
|
|
43
|
+
decorative: ""
|
|
44
|
+
}, null, 8, ["name", "picture"])), s("div", _, [s("div", v, [
|
|
45
|
+
s("span", y, h(e.author), 1),
|
|
46
|
+
e.ai || r.$slots["ai-label"] ? m(r.$slots, "ai-label", { key: 0 }, () => [u(n, {
|
|
47
|
+
class: "nb-chat-message__ai",
|
|
48
|
+
variant: "inline",
|
|
49
|
+
size: "sm",
|
|
50
|
+
explain: e.aiExplain
|
|
51
|
+
}, c({ _: 2 }, [r.$slots["ai-explain"] ? {
|
|
52
|
+
name: "explain",
|
|
53
|
+
fn: g(() => [m(r.$slots, "ai-explain")]),
|
|
54
|
+
key: "0"
|
|
55
|
+
} : void 0]), 1032, ["explain"])]) : a("", !0),
|
|
56
|
+
w.value ? (p(), o("time", {
|
|
57
|
+
key: 1,
|
|
58
|
+
class: "nb-chat-message__time",
|
|
59
|
+
datetime: C.value,
|
|
60
|
+
title: T.value
|
|
61
|
+
}, h(w.value), 9, b)) : a("", !0)
|
|
62
|
+
]), s("div", x, [m(r.$slots, "default", {}, () => [l(h(e.text), 1)])])])], 2));
|
|
63
|
+
}
|
|
64
|
+
}), [["__scopeId", "data-v-09a08366"]]);
|
|
65
|
+
//#endregion
|
|
66
|
+
export { S as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-CGIbF1e-.cjs`),n=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),r=require(`./composables/usePhoneLayout.composable.cjs`),i=require(`./composables/useNbStrings.composable.cjs`),a=require(`./utils/slotContent.helper.cjs`),o=require(`./InlineLoading-CA0_IT29.cjs`),s=require(`./TextInput-SJ34hD2Y.cjs`),c=require(`./composables/useFollowNewest.composable.cjs`);let l=require(`vue`),u=require(`@nubisco/ui/icons/arrow-down`);u=e.n(u);let d=require(`@nubisco/ui/icons/paper-plane-right`);d=e.n(d);let f=require(`@nubisco/ui/icons/stop`);f=e.n(f);var p={class:`nb-chat-thread__viewport`},m=[`aria-label`,`aria-busy`],h={key:1,class:`nb-chat-thread__empty`},g={key:2,class:`nb-chat-thread__working`},_={key:0,class:`nb-chat-thread__jump`},v={class:`nb-chat-thread__row`},y={class:`nb-chat-thread__actions`},b={key:0,class:`nb-chat-thread__reason`},x=(0,l.defineComponent)({__name:`ChatThread`,props:(0,l.mergeModels)({label:{default:void 0},working:{type:Boolean,default:!1},workingLabel:{default:void 0},composer:{type:Boolean,default:!1},composerLabel:{default:void 0},placeholder:{default:void 0},disabled:{type:Boolean,default:!1},disabledReason:{default:void 0},stoppable:{type:Boolean,default:!1},sendLabel:{default:void 0},stopLabel:{default:void 0},maxRows:{default:6}},{draft:{default:``},draftModifiers:{}}),emits:(0,l.mergeModels)([`send`,`stop`],[`update:draft`]),setup(e,{expose:n,emit:x}){let S=e,C=x,w=(0,l.useModel)(e,`draft`),T=i.useNbStrings(),{phone:E}=r.usePhoneLayout(),D=(0,l.useSlots)(),O=(0,l.computed)(()=>S.label??T.value.chatThreadLabel),k=(0,l.computed)(()=>S.workingLabel??T.value.chatThreadWorking),A=(0,l.computed)(()=>S.composerLabel??T.value.chatThreadMessage),j=(0,l.computed)(()=>S.placeholder??T.value.chatThreadPlaceholder),M=(0,l.computed)(()=>S.sendLabel??T.value.chatThreadSend),N=(0,l.computed)(()=>S.stopLabel??T.value.chatThreadStop),P=(0,l.computed)(()=>{let e=D.default?.();return e?a.hasRenderableContent(e):!1}),F=(0,l.ref)(null),I=(0,l.ref)(null),L=c.useFollowNewest(F);function R(){L.scrollToEnd(!0)}function z(){if(S.disabled)return;let e=w.value.trim();e&&(C(`send`,e),w.value=``,(0,l.nextTick)(()=>L.scrollToEnd()))}function B(e){e.key===`Enter`&&(e.isComposing||e.keyCode===229||e.shiftKey||e.altKey||E.value&&!e.metaKey&&!e.ctrlKey||(e.preventDefault(),z()))}return n({scrollToNewest:()=>L.scrollToEnd(),focus:()=>I.value?.focus()}),(n,r)=>((0,l.openBlock)(),(0,l.createElementBlock)(`div`,{class:(0,l.normalizeClass)([`nb-chat-thread`,{"nb-chat-thread--with-composer":e.composer}])},[(0,l.createElementVNode)(`div`,p,[(0,l.createElementVNode)(`div`,{ref_key:`logRef`,ref:F,class:`nb-chat-thread__log`,role:`log`,"aria-live":`polite`,"aria-relevant":`additions`,"aria-label":O.value,"aria-busy":e.working||void 0,tabindex:`0`,onScrollPassive:r[0]||=(...e)=>(0,l.unref)(L).onScroll&&(0,l.unref)(L).onScroll(...e)},[P.value?(0,l.renderSlot)(n.$slots,`default`,{key:0},void 0,!0):n.$slots.empty?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,h,[(0,l.renderSlot)(n.$slots,`empty`,{},void 0,!0)])):(0,l.createCommentVNode)(``,!0),e.working?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,g,[(0,l.createVNode)(o.t,{status:`active`,label:k.value,"reserve-space":!1},null,8,[`label`])])):(0,l.createCommentVNode)(``,!0)],40,m),(0,l.createVNode)(l.Transition,{name:`nb-chat-thread-jump`},{default:(0,l.withCtx)(()=>[(0,l.unref)(L).unseen.value?((0,l.openBlock)(),(0,l.createElementBlock)(`div`,_,[(0,l.createVNode)(t.t,{variant:`secondary`,size:`sm`,icon:u,class:`nb-chat-thread__jump-button`,onClick:R},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)((0,l.unref)(T).jumpToNewest),1)]),_:1})])):(0,l.createCommentVNode)(``,!0)]),_:1})]),e.composer?((0,l.openBlock)(),(0,l.createElementBlock)(`form`,{key:0,class:`nb-chat-thread__composer`,onSubmit:(0,l.withModifiers)(z,[`prevent`])},[(0,l.createElementVNode)(`div`,v,[(0,l.createElementVNode)(`div`,{class:`nb-chat-thread__field`,style:(0,l.normalizeStyle)({"--nb-chat-thread-max-rows":String(e.maxRows)})},[(0,l.createVNode)(s.t,{ref_key:`fieldRef`,ref:I,modelValue:w.value,"onUpdate:modelValue":r[1]||=e=>w.value=e,multiline:``,rows:1,"aria-label":A.value,placeholder:j.value,disabled:e.disabled,enterkeyhint:(0,l.unref)(E)?`enter`:`send`,onKeydown:B},null,8,[`modelValue`,`aria-label`,`placeholder`,`disabled`,`enterkeyhint`])],4),(0,l.createElementVNode)(`div`,y,[e.working&&e.stoppable?((0,l.openBlock)(),(0,l.createBlock)(t.t,{key:0,variant:`secondary`,icon:f,label:N.value,"tooltip-position":`top`,class:`nb-chat-thread__stop`,onClick:r[2]||=e=>C(`stop`)},null,8,[`label`])):(0,l.createCommentVNode)(``,!0),(0,l.createVNode)(t.t,{type:`submit`,variant:`primary`,icon:d,label:M.value,"tooltip-position":`top`,disabled:e.disabled,"disabled-reason":e.disabled?e.disabledReason:void 0,class:`nb-chat-thread__send`},null,8,[`label`,`disabled`,`disabled-reason`])])]),e.disabled&&e.disabledReason?((0,l.openBlock)(),(0,l.createElementBlock)(`p`,b,(0,l.toDisplayString)(e.disabledReason),1)):(0,l.createCommentVNode)(``,!0)],32)):(0,l.createCommentVNode)(``,!0)],2))}}),S=n.t(x,[[`__scopeId`,`data-v-f5c7cfed`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return S}});
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { t as e } from "./Button-DmJ_J3UO.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
3
|
+
import { usePhoneLayout as n } from "./composables/usePhoneLayout.composable.mjs";
|
|
4
|
+
import { useNbStrings as r } from "./composables/useNbStrings.composable.mjs";
|
|
5
|
+
import { hasRenderableContent as i } from "./utils/slotContent.helper.mjs";
|
|
6
|
+
import { t as ee } from "./InlineLoading-Cknqq0vv.js";
|
|
7
|
+
import { t as a } from "./TextInput-BeqDf1R7.js";
|
|
8
|
+
import { useFollowNewest as o } from "./composables/useFollowNewest.composable.mjs";
|
|
9
|
+
import { Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as te, createVNode as p, defineComponent as m, mergeModels as h, nextTick as g, normalizeClass as _, normalizeStyle as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, unref as C, useModel as ne, useSlots as re, withCtx as w, withModifiers as T } from "vue";
|
|
10
|
+
import * as E from "@nubisco/ui/icons/arrow-down";
|
|
11
|
+
import * as D from "@nubisco/ui/icons/paper-plane-right";
|
|
12
|
+
import * as O from "@nubisco/ui/icons/stop";
|
|
13
|
+
//#region src/components/ChatThread.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
+
var k = { class: "nb-chat-thread__viewport" }, A = ["aria-label", "aria-busy"], j = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "nb-chat-thread__empty"
|
|
17
|
+
}, M = {
|
|
18
|
+
key: 2,
|
|
19
|
+
class: "nb-chat-thread__working"
|
|
20
|
+
}, N = {
|
|
21
|
+
key: 0,
|
|
22
|
+
class: "nb-chat-thread__jump"
|
|
23
|
+
}, P = { class: "nb-chat-thread__row" }, F = { class: "nb-chat-thread__actions" }, I = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "nb-chat-thread__reason"
|
|
26
|
+
}, L = /* @__PURE__ */ t(/* @__PURE__ */ m({
|
|
27
|
+
__name: "ChatThread",
|
|
28
|
+
props: /* @__PURE__ */ h({
|
|
29
|
+
label: { default: void 0 },
|
|
30
|
+
working: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !1
|
|
33
|
+
},
|
|
34
|
+
workingLabel: { default: void 0 },
|
|
35
|
+
composer: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
},
|
|
39
|
+
composerLabel: { default: void 0 },
|
|
40
|
+
placeholder: { default: void 0 },
|
|
41
|
+
disabled: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !1
|
|
44
|
+
},
|
|
45
|
+
disabledReason: { default: void 0 },
|
|
46
|
+
stoppable: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: !1
|
|
49
|
+
},
|
|
50
|
+
sendLabel: { default: void 0 },
|
|
51
|
+
stopLabel: { default: void 0 },
|
|
52
|
+
maxRows: { default: 6 }
|
|
53
|
+
}, {
|
|
54
|
+
draft: { default: "" },
|
|
55
|
+
draftModifiers: {}
|
|
56
|
+
}),
|
|
57
|
+
emits: /* @__PURE__ */ h(["send", "stop"], ["update:draft"]),
|
|
58
|
+
setup(t, { expose: m, emit: h }) {
|
|
59
|
+
let L = t, R = h, z = ne(t, "draft"), B = r(), { phone: V } = n(), H = re(), U = c(() => L.label ?? B.value.chatThreadLabel), W = c(() => L.workingLabel ?? B.value.chatThreadWorking), G = c(() => L.composerLabel ?? B.value.chatThreadMessage), K = c(() => L.placeholder ?? B.value.chatThreadPlaceholder), q = c(() => L.sendLabel ?? B.value.chatThreadSend), J = c(() => L.stopLabel ?? B.value.chatThreadStop), Y = c(() => {
|
|
60
|
+
let e = H.default?.();
|
|
61
|
+
return e ? i(e) : !1;
|
|
62
|
+
}), X = b(null), Z = b(null), Q = o(X);
|
|
63
|
+
function ie() {
|
|
64
|
+
Q.scrollToEnd(!0);
|
|
65
|
+
}
|
|
66
|
+
function $() {
|
|
67
|
+
if (L.disabled) return;
|
|
68
|
+
let e = z.value.trim();
|
|
69
|
+
e && (R("send", e), z.value = "", g(() => Q.scrollToEnd()));
|
|
70
|
+
}
|
|
71
|
+
function ae(e) {
|
|
72
|
+
e.key === "Enter" && (e.isComposing || e.keyCode === 229 || e.shiftKey || e.altKey || V.value && !e.metaKey && !e.ctrlKey || (e.preventDefault(), $()));
|
|
73
|
+
}
|
|
74
|
+
return m({
|
|
75
|
+
scrollToNewest: () => Q.scrollToEnd(),
|
|
76
|
+
focus: () => Z.value?.focus()
|
|
77
|
+
}), (n, r) => (y(), d("div", { class: _(["nb-chat-thread", { "nb-chat-thread--with-composer": t.composer }]) }, [f("div", k, [f("div", {
|
|
78
|
+
ref_key: "logRef",
|
|
79
|
+
ref: X,
|
|
80
|
+
class: "nb-chat-thread__log",
|
|
81
|
+
role: "log",
|
|
82
|
+
"aria-live": "polite",
|
|
83
|
+
"aria-relevant": "additions",
|
|
84
|
+
"aria-label": U.value,
|
|
85
|
+
"aria-busy": t.working || void 0,
|
|
86
|
+
tabindex: "0",
|
|
87
|
+
onScrollPassive: r[0] ||= (...e) => C(Q).onScroll && C(Q).onScroll(...e)
|
|
88
|
+
}, [Y.value ? x(n.$slots, "default", { key: 0 }, void 0, !0) : n.$slots.empty ? (y(), d("div", j, [x(n.$slots, "empty", {}, void 0, !0)])) : u("", !0), t.working ? (y(), d("div", M, [p(ee, {
|
|
89
|
+
status: "active",
|
|
90
|
+
label: W.value,
|
|
91
|
+
"reserve-space": !1
|
|
92
|
+
}, null, 8, ["label"])])) : u("", !0)], 40, A), p(s, { name: "nb-chat-thread-jump" }, {
|
|
93
|
+
default: w(() => [C(Q).unseen.value ? (y(), d("div", N, [p(e, {
|
|
94
|
+
variant: "secondary",
|
|
95
|
+
size: "sm",
|
|
96
|
+
icon: E,
|
|
97
|
+
class: "nb-chat-thread__jump-button",
|
|
98
|
+
onClick: ie
|
|
99
|
+
}, {
|
|
100
|
+
default: w(() => [te(S(C(B).jumpToNewest), 1)]),
|
|
101
|
+
_: 1
|
|
102
|
+
})])) : u("", !0)]),
|
|
103
|
+
_: 1
|
|
104
|
+
})]), t.composer ? (y(), d("form", {
|
|
105
|
+
key: 0,
|
|
106
|
+
class: "nb-chat-thread__composer",
|
|
107
|
+
onSubmit: T($, ["prevent"])
|
|
108
|
+
}, [f("div", P, [f("div", {
|
|
109
|
+
class: "nb-chat-thread__field",
|
|
110
|
+
style: v({ "--nb-chat-thread-max-rows": String(t.maxRows) })
|
|
111
|
+
}, [p(a, {
|
|
112
|
+
ref_key: "fieldRef",
|
|
113
|
+
ref: Z,
|
|
114
|
+
modelValue: z.value,
|
|
115
|
+
"onUpdate:modelValue": r[1] ||= (e) => z.value = e,
|
|
116
|
+
multiline: "",
|
|
117
|
+
rows: 1,
|
|
118
|
+
"aria-label": G.value,
|
|
119
|
+
placeholder: K.value,
|
|
120
|
+
disabled: t.disabled,
|
|
121
|
+
enterkeyhint: C(V) ? "enter" : "send",
|
|
122
|
+
onKeydown: ae
|
|
123
|
+
}, null, 8, [
|
|
124
|
+
"modelValue",
|
|
125
|
+
"aria-label",
|
|
126
|
+
"placeholder",
|
|
127
|
+
"disabled",
|
|
128
|
+
"enterkeyhint"
|
|
129
|
+
])], 4), f("div", F, [t.working && t.stoppable ? (y(), l(e, {
|
|
130
|
+
key: 0,
|
|
131
|
+
variant: "secondary",
|
|
132
|
+
icon: O,
|
|
133
|
+
label: J.value,
|
|
134
|
+
"tooltip-position": "top",
|
|
135
|
+
class: "nb-chat-thread__stop",
|
|
136
|
+
onClick: r[2] ||= (e) => R("stop")
|
|
137
|
+
}, null, 8, ["label"])) : u("", !0), p(e, {
|
|
138
|
+
type: "submit",
|
|
139
|
+
variant: "primary",
|
|
140
|
+
icon: D,
|
|
141
|
+
label: q.value,
|
|
142
|
+
"tooltip-position": "top",
|
|
143
|
+
disabled: t.disabled,
|
|
144
|
+
"disabled-reason": t.disabled ? t.disabledReason : void 0,
|
|
145
|
+
class: "nb-chat-thread__send"
|
|
146
|
+
}, null, 8, [
|
|
147
|
+
"label",
|
|
148
|
+
"disabled",
|
|
149
|
+
"disabled-reason"
|
|
150
|
+
])])]), t.disabled && t.disabledReason ? (y(), d("p", I, S(t.disabledReason), 1)) : u("", !0)], 32)) : u("", !0)], 2));
|
|
151
|
+
}
|
|
152
|
+
}), [["__scopeId", "data-v-f5c7cfed"]]);
|
|
153
|
+
//#endregion
|
|
154
|
+
export { L as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./CheckboxGroup.context-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./CheckboxGroup.context-RLOznZPB.cjs`);let n=require(`vue`);var r={class:`nb-checkbox__control`},i=[`checked`,`disabled`,`indeterminate`,`aria-invalid`,`aria-describedby`],a={class:`nb-checkbox__box`},o={key:0,class:`nb-checkbox__check`,viewBox:`0 0 10 8`,fill:`none`},s={key:1,class:`nb-checkbox__dash`},c={key:0,class:`nb-checkbox__label`},l=(0,n.defineComponent)({__name:`Checkbox`,props:{modelValue:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`checkbox`},label:{}},emits:[`update:modelValue`],setup(e,{emit:l}){let u=e,d=l,f=(0,n.inject)(t.t,null),p=(0,n.computed)(()=>u.disabled||!!f?.disabled.value);function m(e){p.value||d(`update:modelValue`,e.target.checked)}return(t,l)=>((0,n.openBlock)(),(0,n.createElementBlock)(`label`,{class:(0,n.normalizeClass)([`nb-checkbox`,{"nb-checkbox--disabled":p.value}])},[(0,n.createElementVNode)(`span`,r,[(0,n.createElementVNode)(`input`,{type:`checkbox`,checked:e.modelValue,disabled:p.value,indeterminate:e.indeterminate,"aria-invalid":(0,n.unref)(f)?.invalid?.value,"aria-describedby":(0,n.unref)(f)?.describedBy?.value,class:`nb-checkbox__input`,onChange:m},null,40,i),(0,n.createElementVNode)(`span`,a,[e.modelValue&&!e.indeterminate?((0,n.openBlock)(),(0,n.createElementBlock)(`svg`,o,[...l[0]||=[(0,n.createElementVNode)(`path`,{d:`M1 4l3 3 5-6`,stroke:`currentColor`,"stroke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])):(0,n.createCommentVNode)(``,!0),e.indeterminate?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,s)):(0,n.createCommentVNode)(``,!0)])]),e.label?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,c,(0,n.toDisplayString)(e.label),1)):(0,n.renderSlot)(t.$slots,`default`,{key:1},void 0,!0)],2))}}),u=e.t(l,[[`__scopeId`,`data-v-d8e431ef`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
|
-
import { t } from "./CheckboxGroup.context-
|
|
2
|
+
import { t } from "./CheckboxGroup.context-B2xhGoXC.js";
|
|
3
3
|
import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, inject as s, normalizeClass as c, openBlock as l, renderSlot as u, toDisplayString as d, unref as f } from "vue";
|
|
4
4
|
//#region src/components/Checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var p = { class: "nb-checkbox__control" }, m = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C6QCLu9I.js";
|
|
2
2
|
import { useStableId as t } from "./composables/useStableId.composable.mjs";
|
|
3
3
|
import { t as n } from "./Label-xwHw_UbN.js";
|
|
4
|
-
import { t as r } from "./Message-
|
|
4
|
+
import { t as r } from "./Message-Bi70NgGd.js";
|
|
5
5
|
import { useFieldMessage as i } from "./composables/useFieldMessage.composable.mjs";
|
|
6
|
-
import { t as a } from "./CheckboxGroup.context-
|
|
6
|
+
import { t as a } from "./CheckboxGroup.context-B2xhGoXC.js";
|
|
7
7
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, provide as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
8
8
|
//#region src/components/CheckboxGroup.d.ts
|
|
9
9
|
var b = /* @__PURE__ */ function(e) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-CjxnZgNy.cjs`),r=require(`./Message-
|
|
1
|
+
require(`./chunk-D-qHiVGv.cjs`);const e=require(`./_plugin-vue_export-helper-D0Q0f7-M.cjs`),t=require(`./composables/useStableId.composable.cjs`),n=require(`./Label-CjxnZgNy.cjs`),r=require(`./Message-B1CQ0Bcf.cjs`),i=require(`./composables/useFieldMessage.composable.cjs`),a=require(`./CheckboxGroup.context-RLOznZPB.cjs`);let o=require(`vue`);var s=function(e){return e.Horizontal=`horizontal`,e.Vertical=`vertical`,e}(s||{}),c=[`aria-label`],l=(0,o.defineComponent)({__name:`CheckboxGroup`,props:{direction:{default:s.Vertical},name:{},disabled:{type:Boolean,default:!1},required:{type:Boolean},id:{default:`checkbox-group`},label:{},error:{default:void 0},warning:{default:void 0},helper:{default:void 0}},setup(e){let s=e,l=t.useStableId({}),{variant:u,text:d,messageId:f,invalid:p,live:m,key:h}=i.useFieldMessage(s,(0,o.computed)(()=>s.id&&s.id!==`checkbox-group`?s.id:l));(0,o.provide)(a.t,{disabled:(0,o.computed)(()=>s.disabled),invalid:p,describedBy:f});let g=(0,o.computed)(()=>[`nb-checkbox-group`,{"nb-checkbox-group--error":!!s.error,"nb-checkbox-group--warning":!s.error&&!!s.warning,"nb-checkbox-group--disabled":s.disabled}]);return(t,i)=>((0,o.openBlock)(),(0,o.createElementBlock)(`div`,{class:(0,o.normalizeClass)(g.value),role:`group`,"aria-label":e.label||void 0},[e.label?((0,o.openBlock)(),(0,o.createBlock)(n.t,{key:0,disabled:e.disabled},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.label),1)]),_:1},8,[`disabled`])):(0,o.createCommentVNode)(``,!0),(0,o.createElementVNode)(`div`,{class:(0,o.normalizeClass)([`nb-checkbox-group__items`,`nb-checkbox-group__items--${e.direction}`])},[(0,o.renderSlot)(t.$slots,`default`,{},void 0,!0)],2),(0,o.unref)(u)?((0,o.openBlock)(),(0,o.createBlock)(r.t,{id:(0,o.unref)(f),key:(0,o.unref)(h),variant:(0,o.unref)(u),live:(0,o.unref)(m),class:`nb-checkbox-group__message`},{default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)((0,o.unref)(d)),1)]),_:1},8,[`id`,`variant`,`live`])):(0,o.createCommentVNode)(``,!0)],10,c))}}),u=e.t(l,[[`__scopeId`,`data-v-4562a3c3`]]);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return u}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-
|
|
1
|
+
const e=require(`./chunk-D-qHiVGv.cjs`),t=require(`./Button-CGIbF1e-.cjs`),n=require(`./composables/useNbStrings.composable.cjs`);let r=require(`vue`),i=require(`@nubisco/ui/icons/x`);i=e.n(i);var a=(0,r.defineComponent)({__name:`CloseButton`,props:{label:{default:void 0},size:{default:`sm`},disabled:{type:Boolean,default:!1},tooltipPosition:{default:`bottom`}},emits:[`click`],setup(e,{expose:a,emit:o}){let s=e,c=o,l=n.useNbStrings(),u=(0,r.computed)(()=>s.label??l.value.close),d=(0,r.ref)(null);function f(){let e=d.value?.$el;return e instanceof HTMLElement?e:null}return a({focus:()=>f()?.focus(),el:f}),(n,a)=>((0,r.openBlock)(),(0,r.createBlock)(t.t,{ref_key:`buttonRef`,ref:d,class:`nb-close-button`,variant:`ghost`,size:e.size,icon:i,label:u.value,"tooltip-position":e.tooltipPosition,disabled:e.disabled,onClick:a[0]||=e=>c(`click`,e)},null,8,[`size`,`label`,`tooltip-position`,`disabled`]))}});Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./Button-
|
|
1
|
+
import { t as e } from "./Button-DmJ_J3UO.js";
|
|
2
2
|
import { useNbStrings as t } from "./composables/useNbStrings.composable.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, openBlock as a, ref as o } from "vue";
|
|
4
4
|
import * as s from "@nubisco/ui/icons/x";
|