themelia-react-ui 2.0.1 → 2.0.2
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/CHANGELOG.md +307 -131
- package/README.md +28 -8
- package/THIRD_PARTY_NOTICES.md +13 -0
- package/dist/{accordion-B6a3vVgA.js → accordion-Cjb6sx0G.js} +14 -13
- package/dist/accordion-Cjb6sx0G.js.map +1 -0
- package/dist/action-menu-CllU52Mm.js +280 -0
- package/dist/action-menu-CllU52Mm.js.map +1 -0
- package/dist/affordance-geometry.generated-tF36bREk.js +140 -0
- package/dist/affordance-geometry.generated-tF36bREk.js.map +1 -0
- package/dist/ai-artifact-DvTwDVyL.js +1148 -0
- package/dist/ai-artifact-DvTwDVyL.js.map +1 -0
- package/dist/{app-shell-ZK5RWdo6.js → app-shell-C4FhvCqF.js} +5 -5
- package/dist/{app-shell-ZK5RWdo6.js.map → app-shell-C4FhvCqF.js.map} +1 -1
- package/dist/attachment-BxDfL2mw.js +246 -0
- package/dist/attachment-BxDfL2mw.js.map +1 -0
- package/dist/{auth-CYxKfo69.js → auth-ax2BqjrI.js} +58 -54
- package/dist/auth-ax2BqjrI.js.map +1 -0
- package/dist/{avatar-BBnEJIx8.js → avatar-DAPlDvhJ.js} +7 -7
- package/dist/avatar-DAPlDvhJ.js.map +1 -0
- package/dist/{badge-MrKVNzW9.js → badge-HpFqoqSY.js} +40 -40
- package/dist/badge-HpFqoqSY.js.map +1 -0
- package/dist/base/accordion.js +1 -1
- package/dist/base/action-menu.js +1 -1
- package/dist/base/attachment.js +1 -1
- package/dist/base/avatar.js +1 -1
- package/dist/base/badge.js +1 -1
- package/dist/base/batch-action-bar.js +1 -1
- package/dist/base/buttons.js +1 -1
- package/dist/base/cards.js +2 -2
- package/dist/base/carousel.js +40 -36
- package/dist/base/carousel.js.map +1 -1
- package/dist/base/cascader.js +92 -92
- package/dist/base/cascader.js.map +1 -1
- package/dist/base/chart.js +1 -1
- package/dist/base/choice-inputs.js +2 -2
- package/dist/base/code-block.js +1 -1
- package/dist/base/combobox.js +2 -2
- package/dist/base/command.js +1 -1
- package/dist/base/copyable.js +1 -1
- package/dist/base/date-pickers.js +2 -2
- package/dist/base/display.js +6 -6
- package/dist/base/feedback.js +3 -3
- package/dist/base/forms-numeric.js +1 -1
- package/dist/base/forms.js +2 -2
- package/dist/base/inline-edit.js +14 -14
- package/dist/base/inline-edit.js.map +1 -1
- package/dist/base/item.js +1 -1
- package/dist/base/media-gallery.js +1 -1
- package/dist/base/metadata-list.js +1 -1
- package/dist/base/navigation.js +6 -6
- package/dist/base/popover-menu.js +1 -1
- package/dist/base/popover.js +1 -1
- package/dist/base/qr-code.js +1 -1
- package/dist/base/repeaters.js +171 -176
- package/dist/base/repeaters.js.map +1 -1
- package/dist/base/sheet.js +1 -1
- package/dist/base/sidebar.js +1 -1
- package/dist/base/signature-pad.js +6 -6
- package/dist/base/skeleton.js +1 -1
- package/dist/base/spinner.js +79 -2
- package/dist/base/spinner.js.map +1 -0
- package/dist/base/structure.js +1 -1
- package/dist/base/table.js +1 -1
- package/dist/base/text-inputs.js +2 -2
- package/dist/base/toaster.js +46 -45
- package/dist/base/toaster.js.map +1 -1
- package/dist/base/tree.js +1 -1
- package/dist/base/upload-queue.js +1 -1
- package/dist/base/upload.js +3 -3
- package/dist/base/value-inputs.js +1 -1
- package/dist/{batch-action-bar-BZGDG-Si.js → batch-action-bar-DnUJ21NQ.js} +6 -5
- package/dist/batch-action-bar-DnUJ21NQ.js.map +1 -0
- package/dist/blocks/admin.js +42 -42
- package/dist/blocks/admin.js.map +1 -1
- package/dist/blocks/ai.js +260 -240
- package/dist/blocks/ai.js.map +1 -1
- package/dist/blocks/analytics/usage-card.js +1 -1
- package/dist/blocks/analytics.js +620 -585
- package/dist/blocks/analytics.js.map +1 -1
- package/dist/blocks/collaboration.js +1 -1
- package/dist/blocks/commerce/receipt.js +1 -1
- package/dist/blocks/commerce.js +1152 -1109
- package/dist/blocks/commerce.js.map +1 -1
- package/dist/blocks/data-display.js +2 -2
- package/dist/blocks/onboarding.js +48 -39
- package/dist/blocks/onboarding.js.map +1 -1
- package/dist/blocks/planning.js +13 -12
- package/dist/blocks/planning.js.map +1 -1
- package/dist/blocks/timelines.js +1 -1
- package/dist/{breadcrumbs-D5t7I023.js → breadcrumbs-C-oqs1sQ.js} +5 -5
- package/dist/breadcrumbs-C-oqs1sQ.js.map +1 -0
- package/dist/{button-QYwiyhD2.js → button-DVzspB_G.js} +2 -2
- package/dist/{button-QYwiyhD2.js.map → button-DVzspB_G.js.map} +1 -1
- package/dist/{buttons-SbIcm1HJ.js → buttons-DPZekJFu.js} +20 -15
- package/dist/buttons-DPZekJFu.js.map +1 -0
- package/dist/cards-BaBZR-AU.js +68 -0
- package/dist/cards-BaBZR-AU.js.map +1 -0
- package/dist/{chart-QfrARkXl.js → chart-ZOYyK2xG.js} +58 -55
- package/dist/chart-ZOYyK2xG.js.map +1 -0
- package/dist/{checkbox-DhB6K0bK.js → checkbox-AWIhNhmo.js} +2 -2
- package/dist/{checkbox-DhB6K0bK.js.map → checkbox-AWIhNhmo.js.map} +1 -1
- package/dist/{choice-inputs-t6w3ATNz.js → choice-inputs-CNHvARCJ.js} +49 -45
- package/dist/choice-inputs-CNHvARCJ.js.map +1 -0
- package/dist/{code-block-Dgbu-CU3.js → code-block-DeneBJR_.js} +8 -8
- package/dist/code-block-DeneBJR_.js.map +1 -0
- package/dist/{collapsible-D8AEGU1-.js → collapsible-C-_l4hpy.js} +3 -3
- package/dist/{collapsible-D8AEGU1-.js.map → collapsible-C-_l4hpy.js.map} +1 -1
- package/dist/{collection-content-uK16Grv0.js → collection-content-By56pLog.js} +3 -3
- package/dist/{collection-content-uK16Grv0.js.map → collection-content-By56pLog.js.map} +1 -1
- package/dist/combobox-C0EQW6dr.js +875 -0
- package/dist/combobox-C0EQW6dr.js.map +1 -0
- package/dist/combobox-xCQ2RMNE.js +309 -0
- package/dist/combobox-xCQ2RMNE.js.map +1 -0
- package/dist/{command-kNR20o7x.js → command-C25VMRII.js} +7 -7
- package/dist/{command-kNR20o7x.js.map → command-C25VMRII.js.map} +1 -1
- package/dist/{comments-BpDuCUUu.js → comments-BYYlTA8E.js} +114 -105
- package/dist/comments-BYYlTA8E.js.map +1 -0
- package/dist/components/base/badge/badge.recipes.d.ts +1 -1
- package/dist/components/base/buttons/loader-button.d.ts +2 -1
- package/dist/components/base/cards/card.recipes.d.ts +2 -3
- package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +3 -13
- package/dist/components/base/cards/smart-card.types.d.ts +11 -4
- package/dist/components/base/chart/chart.d.ts +2 -5
- package/dist/components/base/combobox/combobox.strings.d.ts +7 -0
- package/dist/components/base/combobox/index.d.ts +30 -4
- package/dist/components/base/forms/form-sizing.d.ts +11 -3
- package/dist/components/base/navigation/pagination.d.ts +5 -2
- package/dist/components/base/popover/popover.recipes.d.ts +15 -1
- package/dist/components/base/table/index.d.ts +9 -2
- package/dist/components/base/text-inputs/input-group.d.ts +2 -2
- package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +1 -1
- package/dist/components/blocks/ai/ai-shimmer/types.d.ts +3 -0
- package/dist/components/blocks/commerce/fulfillment-group/types.d.ts +3 -1
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +16 -8
- package/dist/components/features/activities/partials/activity-marker.d.ts +6 -3
- package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +5 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +220 -0
- package/dist/components/features/appointment-calendar/appointment-calendar.utils.d.ts +41 -0
- package/dist/components/features/appointment-calendar/index.d.ts +3 -0
- package/dist/components/features/appointment-calendar/partials/appointment-agenda.d.ts +32 -0
- package/dist/components/features/appointment-calendar/partials/appointment-month.d.ts +13 -0
- package/dist/components/features/combobox/combobox.strings.d.ts +15 -1
- package/dist/components/features/combobox/types.d.ts +4 -0
- package/dist/components/features/media-library/media-library.strings.d.ts +2 -0
- package/dist/components/features/rich-text-editor/index.d.ts +1 -1
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +9 -1
- package/dist/components/features/table/table-header.d.ts +1 -1
- package/dist/components/features/table/table.strings.d.ts +55 -1
- package/dist/components/features/table/table.types.d.ts +17 -4
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +5 -0
- package/dist/components/primitives/number.d.ts +4 -2
- package/dist/components/primitives/value.d.ts +3 -1
- package/dist/components/typography/text-link.d.ts +4 -0
- package/dist/components/ui/combobox.d.ts +6 -2
- package/dist/components/ui/item.d.ts +8 -8
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/{containers-DmWiJa2I.js → containers-Mu1LMGV1.js} +2 -2
- package/dist/{containers-DmWiJa2I.js.map → containers-Mu1LMGV1.js.map} +1 -1
- package/dist/{copyable-B3Gwgdqc.js → copyable-ClBuk_UK.js} +4 -4
- package/dist/{copyable-B3Gwgdqc.js.map → copyable-ClBuk_UK.js.map} +1 -1
- package/dist/{data-display-DafIvCl5.js → data-display-DT_khPl_.js} +98 -87
- package/dist/data-display-DT_khPl_.js.map +1 -0
- package/dist/{date-BgK3bTdo.js → date-DCrsDTZc.js} +5 -5
- package/dist/{date-BgK3bTdo.js.map → date-DCrsDTZc.js.map} +1 -1
- package/dist/{date-picker-CF-DtUpF.js → date-picker-ay0Pha_a.js} +594 -593
- package/dist/date-picker-ay0Pha_a.js.map +1 -0
- package/dist/date-pickers-Ccw8DL2b.js +175 -0
- package/dist/date-pickers-Ccw8DL2b.js.map +1 -0
- package/dist/{display-DsQTVzMz.js → display-hAc1HjpI.js} +49 -49
- package/dist/display-hAc1HjpI.js.map +1 -0
- package/dist/dropdown-menu-Cl4X7L5S.js +193 -0
- package/dist/dropdown-menu-Cl4X7L5S.js.map +1 -0
- package/dist/editable-text-recipe-Cn61kEcv.js +10 -0
- package/dist/editable-text-recipe-Cn61kEcv.js.map +1 -0
- package/dist/features/activities.js +398 -375
- package/dist/features/activities.js.map +1 -1
- package/dist/features/ai-chat.js +188 -179
- package/dist/features/ai-chat.js.map +1 -1
- package/dist/features/appointment-calendar.js +683 -0
- package/dist/features/appointment-calendar.js.map +1 -0
- package/dist/features/async-preview.js +109 -107
- package/dist/features/async-preview.js.map +1 -1
- package/dist/features/combobox.js +1 -1
- package/dist/features/comments.js +1 -1
- package/dist/features/data-view.js +137 -137
- package/dist/features/data-view.js.map +1 -1
- package/dist/features/email-composer.js +255 -255
- package/dist/features/email-composer.js.map +1 -1
- package/dist/features/event-calendar.js +254 -248
- package/dist/features/event-calendar.js.map +1 -1
- package/dist/features/filters.js +1 -1
- package/dist/features/global-search.js +35 -32
- package/dist/features/global-search.js.map +1 -1
- package/dist/features/kanban.js +118 -117
- package/dist/features/kanban.js.map +1 -1
- package/dist/features/map.js +233 -231
- package/dist/features/map.js.map +1 -1
- package/dist/features/media-library.js +789 -775
- package/dist/features/media-library.js.map +1 -1
- package/dist/features/mentions.js +1 -1
- package/dist/features/overlays.js +1 -1
- package/dist/features/products.js +922 -902
- package/dist/features/products.js.map +1 -1
- package/dist/features/questionnaire.js +28 -24
- package/dist/features/questionnaire.js.map +1 -1
- package/dist/features/resource-assignment.js +18 -15
- package/dist/features/resource-assignment.js.map +1 -1
- package/dist/features/resource.js +12 -12
- package/dist/features/resource.js.map +1 -1
- package/dist/features/rich-text-editor.js +2 -2
- package/dist/features/schema-form.js +15 -13
- package/dist/features/schema-form.js.map +1 -1
- package/dist/features/suggestions.js +3 -3
- package/dist/features/sync.js +11 -5
- package/dist/features/sync.js.map +1 -1
- package/dist/features/table.js +1 -1
- package/dist/features/theme-tweaker.js +493 -489
- package/dist/features/theme-tweaker.js.map +1 -1
- package/dist/feedback-BYIhtitP.js +239 -0
- package/dist/feedback-BYIhtitP.js.map +1 -0
- package/dist/{field-affordance-recipes-qQeIf4lG.js → field-affordance-recipes-DZhnIL_Y.js} +11 -18
- package/dist/field-affordance-recipes-DZhnIL_Y.js.map +1 -0
- package/dist/{filters-BkHH53uv.js → filters-BGfvjP4d.js} +589 -580
- package/dist/filters-BGfvjP4d.js.map +1 -0
- package/dist/{form-field-DUt4UxSV.js → form-field-CwH9y77i.js} +6 -5
- package/dist/form-field-CwH9y77i.js.map +1 -0
- package/dist/{form-sizing-By94KzXE.js → form-sizing-BdP_Mf5p.js} +39 -44
- package/dist/form-sizing-BdP_Mf5p.js.map +1 -0
- package/dist/{forms-Bzha-Y3B.js → forms-B9G_xwzi.js} +8 -8
- package/dist/{forms-Bzha-Y3B.js.map → forms-B9G_xwzi.js.map} +1 -1
- package/dist/{forms-numeric-C0bvjRPZ.js → forms-numeric-B_jraJaQ.js} +309 -309
- package/dist/forms-numeric-B_jraJaQ.js.map +1 -0
- package/dist/{header-BOefOKd1.js → header-CGXuhcRm.js} +160 -153
- package/dist/header-CGXuhcRm.js.map +1 -0
- package/dist/{hooks-9k_TtmKh.js → hooks-Dkz0K2WT.js} +2 -2
- package/dist/{hooks-9k_TtmKh.js.map → hooks-Dkz0K2WT.js.map} +1 -1
- package/dist/{icon-badge-CAuKupo9.js → icon-badge-DYKIwvOV.js} +4 -4
- package/dist/{icon-badge-CAuKupo9.js.map → icon-badge-DYKIwvOV.js.map} +1 -1
- package/dist/index.js +3 -3
- package/dist/input-CZw8iU99.js +21 -0
- package/dist/input-CZw8iU99.js.map +1 -0
- package/dist/input-DQdEd0YD.js +263 -0
- package/dist/input-DQdEd0YD.js.map +1 -0
- package/dist/{interaction-recipes-CHr0dJUs.js → interaction-recipes-XR9ZpVYL.js} +2 -1
- package/dist/interaction-recipes-XR9ZpVYL.js.map +1 -0
- package/dist/item-K5_ghvze.js +275 -0
- package/dist/item-K5_ghvze.js.map +1 -0
- package/dist/layout/app-shell.js +1 -1
- package/dist/layout/auth.js +1 -1
- package/dist/layout/containers.js +1 -1
- package/dist/layout/header.js +1 -1
- package/dist/layout/hooks.js +1 -1
- package/dist/layout/navigation.js +1 -1
- package/dist/layout/page.js +1 -1
- package/dist/layout/settings.js +1 -1
- package/dist/layout/sidebar.js +2 -2
- package/dist/layout/workspace.js +1 -1
- package/dist/layout.js +10 -10
- package/dist/lib/affordance-geometry.generated.d.ts +71 -0
- package/dist/lib/editable-text-recipe.d.ts +4 -4
- package/dist/lib/field-affordance-recipes.d.ts +2 -2
- package/dist/lib/interaction-recipes.d.ts +5 -0
- package/dist/lib/theme-mode-css.d.ts +7 -0
- package/dist/lib/tone-recipes.d.ts +8 -0
- package/dist/lib/ui-provider/types.d.ts +2 -2
- package/dist/lib/utils.js +1 -1
- package/dist/{media-gallery-DcTtAaeC.js → media-gallery-3zIVLMWH.js} +8 -8
- package/dist/media-gallery-3zIVLMWH.js.map +1 -0
- package/dist/{mentions-D-uyCh01.js → mentions-utuUvH1K.js} +144 -142
- package/dist/mentions-utuUvH1K.js.map +1 -0
- package/dist/{message-CdHgIWKf.js → message-DZ_ruyUV.js} +6 -5
- package/dist/message-DZ_ruyUV.js.map +1 -0
- package/dist/{metadata-list-X5rYAKSB.js → metadata-list-8N16ZMW_.js} +130 -119
- package/dist/metadata-list-8N16ZMW_.js.map +1 -0
- package/dist/{navigation-D3KwXmaq.js → navigation-Bnotn4AQ.js} +19 -19
- package/dist/navigation-Bnotn4AQ.js.map +1 -0
- package/dist/{navigation-HJf5zxlH.js → navigation-BzhHI3lo.js} +36 -35
- package/dist/navigation-BzhHI3lo.js.map +1 -0
- package/dist/{navigation-row-recipes-BVowojQw.js → navigation-row-recipes-BFLCk_Aq.js} +2 -2
- package/dist/{navigation-row-recipes-BVowojQw.js.map → navigation-row-recipes-BFLCk_Aq.js.map} +1 -1
- package/dist/{number-DMhe-Vsk.js → number-DbV1Dija.js} +36 -34
- package/dist/{number-DMhe-Vsk.js.map → number-DbV1Dija.js.map} +1 -1
- package/dist/{overflow-tab-bar-sQHXLlwQ.js → overflow-tab-bar-CWY7Nogn.js} +105 -103
- package/dist/overflow-tab-bar-CWY7Nogn.js.map +1 -0
- package/dist/{overlays-I0axtYA6.js → overlays-DNWmZrJ4.js} +14 -12
- package/dist/overlays-DNWmZrJ4.js.map +1 -0
- package/dist/{page-B5dTH9gE.js → page-Bgl1F560.js} +8 -8
- package/dist/{page-B5dTH9gE.js.map → page-Bgl1F560.js.map} +1 -1
- package/dist/{page-header-commands-DjzFEq3E.js → page-header-commands-DOb6WsfD.js} +5 -5
- package/dist/{page-header-commands-DjzFEq3E.js.map → page-header-commands-DOb6WsfD.js.map} +1 -1
- package/dist/pagination-BL25hu2s.js +158 -0
- package/dist/pagination-BL25hu2s.js.map +1 -0
- package/dist/{popover-Di55PyAI.js → popover-7_m66eYW.js} +8 -7
- package/dist/{popover-Di55PyAI.js.map → popover-7_m66eYW.js.map} +1 -1
- package/dist/popover-menu-B9WWygpa.js +100 -0
- package/dist/popover-menu-B9WWygpa.js.map +1 -0
- package/dist/{popover.recipes-Bdyhj2db.js → popover.recipes-D3j8R8Yp.js} +17 -10
- package/dist/popover.recipes-D3j8R8Yp.js.map +1 -0
- package/dist/{primitives-B-CkiEMU.js → primitives-BFK08r9M.js} +45 -44
- package/dist/primitives-BFK08r9M.js.map +1 -0
- package/dist/primitives.js +4 -4
- package/dist/{progress-rnS8-uAW.js → progress-B1VnCT0K.js} +5 -5
- package/dist/{progress-rnS8-uAW.js.map → progress-B1VnCT0K.js.map} +1 -1
- package/dist/{receipt-D0oswZ0p.js → receipt-BVSOH3Xo.js} +9 -6
- package/dist/{receipt-D0oswZ0p.js.map → receipt-BVSOH3Xo.js.map} +1 -1
- package/dist/{rich-text-DvGulsNJ.js → rich-text-GOUyKQ-s.js} +3 -3
- package/dist/{rich-text-DvGulsNJ.js.map → rich-text-GOUyKQ-s.js.map} +1 -1
- package/dist/{rich-text-editor-sMU_Scqm.js → rich-text-editor-cRLC-eBK.js} +418 -426
- package/dist/rich-text-editor-cRLC-eBK.js.map +1 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js +94 -0
- package/dist/rich-text-editor-toolbar-DfXg0-VC.js.map +1 -0
- package/dist/{scroll-area-Bt_vXY2b.js → scroll-area-DcI-M1UT.js} +2 -2
- package/dist/{scroll-area-Bt_vXY2b.js.map → scroll-area-DcI-M1UT.js.map} +1 -1
- package/dist/{separator-C8DlRGwF.js → separator-BDV-Y648.js} +3 -3
- package/dist/{separator-C8DlRGwF.js.map → separator-BDV-Y648.js.map} +1 -1
- package/dist/{separator-CYHnjsAb.js → separator-Bom7NsGO.js} +2 -2
- package/dist/{separator-CYHnjsAb.js.map → separator-Bom7NsGO.js.map} +1 -1
- package/dist/services/actions.js +1 -1
- package/dist/{settings-CQW3b-Cu.js → settings-ybnjVwbd.js} +20 -19
- package/dist/settings-ybnjVwbd.js.map +1 -0
- package/dist/{sheet-4SEvVYzA.js → sheet-CGpB3omz.js} +8 -7
- package/dist/{sheet-4SEvVYzA.js.map → sheet-CGpB3omz.js.map} +1 -1
- package/dist/{sidebar-d7Dg80ln.js → sidebar-A0ElHINE.js} +14 -13
- package/dist/{sidebar-d7Dg80ln.js.map → sidebar-A0ElHINE.js.map} +1 -1
- package/dist/{sidebar-C7WWR29L.js → sidebar-CPx_7YBa.js} +183 -182
- package/dist/sidebar-CPx_7YBa.js.map +1 -0
- package/dist/{skeleton-Cz890JZF.js → skeleton-Byjnt7qr.js} +3 -3
- package/dist/{skeleton-Cz890JZF.js.map → skeleton-Byjnt7qr.js.map} +1 -1
- package/dist/smart-card-DiC5aac3.js +604 -0
- package/dist/smart-card-DiC5aac3.js.map +1 -0
- package/dist/{structure-DC2dygdA.js → structure-BmisBK-3.js} +2 -2
- package/dist/{structure-DC2dygdA.js.map → structure-BmisBK-3.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/table-BweFy_P9.js +1530 -0
- package/dist/table-BweFy_P9.js.map +1 -0
- package/dist/{table-CIKyLUsy.js → table-DsfzoUia.js} +75 -63
- package/dist/table-DsfzoUia.js.map +1 -0
- package/dist/{tabs-DwBJfjxX.js → tabs-CDocW5D1.js} +14 -13
- package/dist/tabs-CDocW5D1.js.map +1 -0
- package/dist/text-inputs-f9Ia-aCi.js +353 -0
- package/dist/text-inputs-f9Ia-aCi.js.map +1 -0
- package/dist/theme-mode-css-BB-_RYab.js +14 -0
- package/dist/theme-mode-css-BB-_RYab.js.map +1 -0
- package/dist/theme-scope-BJ6eE2xt.js +50 -0
- package/dist/theme-scope-BJ6eE2xt.js.map +1 -0
- package/dist/theme.css +285 -228
- package/dist/themes/green.css +16 -12
- package/dist/timelines-CwM_9IhD.js +457 -0
- package/dist/timelines-CwM_9IhD.js.map +1 -0
- package/dist/{tone-recipes-CPoExcTE.js → tone-recipes-BPsRAvhu.js} +5 -2
- package/dist/tone-recipes-BPsRAvhu.js.map +1 -0
- package/dist/{tooltip-CsfgrfS7.js → tooltip-yiRJUFjp.js} +4 -4
- package/dist/{tooltip-CsfgrfS7.js.map → tooltip-yiRJUFjp.js.map} +1 -1
- package/dist/{tree-BiKhg8AY.js → tree-WnKQzwbq.js} +9 -9
- package/dist/{tree-BiKhg8AY.js.map → tree-WnKQzwbq.js.map} +1 -1
- package/dist/typography/rich-text.js +1 -1
- package/dist/{typography-DTRkE9zL.js → typography-UTnveOEy.js} +6 -6
- package/dist/typography-UTnveOEy.js.map +1 -0
- package/dist/typography.js +2 -2
- package/dist/{ui-provider-1D_NSYzO.js → ui-provider-C_U0Xma4.js} +3 -3
- package/dist/ui-provider-C_U0Xma4.js.map +1 -0
- package/dist/ui-provider.js +2 -2
- package/dist/{upload-BO8-CLN6.js → upload-CXyxmQBP.js} +13 -12
- package/dist/upload-CXyxmQBP.js.map +1 -0
- package/dist/{upload-queue-EOC8g1gf.js → upload-queue-Boscubn9.js} +11 -9
- package/dist/upload-queue-Boscubn9.js.map +1 -0
- package/dist/{usage-card-obRaBskq.js → usage-card-BhO5eqkX.js} +53 -37
- package/dist/usage-card-BhO5eqkX.js.map +1 -0
- package/dist/{utils-l5LpDw2z.js → utils-BRhFDwuU.js} +59 -44
- package/dist/utils-BRhFDwuU.js.map +1 -0
- package/dist/{value-inputs-TAYMX111.js → value-inputs-DXPDjvBU.js} +268 -252
- package/dist/value-inputs-DXPDjvBU.js.map +1 -0
- package/dist/{value-typography-b8wpz1eX.js → value-typography-BP8OG6h5.js} +2 -2
- package/dist/{value-typography-b8wpz1eX.js.map → value-typography-BP8OG6h5.js.map} +1 -1
- package/dist/{workspace-DH0v0KcB.js → workspace-Cdrg7k9f.js} +34 -33
- package/dist/workspace-Cdrg7k9f.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +2 -2
- package/docs/consumer-skill/references/agents-md.md +1 -1
- package/docs/consumer-skill/references/composition.md +8 -6
- package/docs/consumer-skill/references/integration.md +4 -3
- package/docs/consumer-skill/references/public-api.json +105 -2
- package/docs/consumer-skill/references/review.md +7 -0
- package/docs/consumer-skill/references/theming.md +71 -6
- package/docs/consumer-skill/references/tokens.json +1 -1
- package/docs/consumer-skill/references/workflows.md +25 -0
- package/docs/consumer-skill/scripts/composition-policy.mjs +3 -2
- package/docs/consumer-skill/scripts/surface-policy.mjs +11 -0
- package/package.json +8 -4
- package/dist/accordion-B6a3vVgA.js.map +0 -1
- package/dist/action-menu-TzCoSlwL.js +0 -280
- package/dist/action-menu-TzCoSlwL.js.map +0 -1
- package/dist/affordance-geometry.generated-B5iu-Mkr.js +0 -69
- package/dist/affordance-geometry.generated-B5iu-Mkr.js.map +0 -1
- package/dist/ai-artifact-BMJdv-6q.js +0 -1115
- package/dist/ai-artifact-BMJdv-6q.js.map +0 -1
- package/dist/attachment-BtfhGm8i.js +0 -245
- package/dist/attachment-BtfhGm8i.js.map +0 -1
- package/dist/auth-CYxKfo69.js.map +0 -1
- package/dist/avatar-BBnEJIx8.js.map +0 -1
- package/dist/badge-MrKVNzW9.js.map +0 -1
- package/dist/batch-action-bar-BZGDG-Si.js.map +0 -1
- package/dist/breadcrumbs-D5t7I023.js.map +0 -1
- package/dist/buttons-SbIcm1HJ.js.map +0 -1
- package/dist/cards-CiiHpKYd.js +0 -66
- package/dist/cards-CiiHpKYd.js.map +0 -1
- package/dist/chart-QfrARkXl.js.map +0 -1
- package/dist/choice-inputs-t6w3ATNz.js.map +0 -1
- package/dist/code-block-Dgbu-CU3.js.map +0 -1
- package/dist/combobox-2Ic8N9bL.js +0 -278
- package/dist/combobox-2Ic8N9bL.js.map +0 -1
- package/dist/combobox-DLl0bfiq.js +0 -867
- package/dist/combobox-DLl0bfiq.js.map +0 -1
- package/dist/comments-BpDuCUUu.js.map +0 -1
- package/dist/data-display-DafIvCl5.js.map +0 -1
- package/dist/date-picker-CF-DtUpF.js.map +0 -1
- package/dist/date-pickers-BmzxJl5l.js +0 -174
- package/dist/date-pickers-BmzxJl5l.js.map +0 -1
- package/dist/display-DsQTVzMz.js.map +0 -1
- package/dist/dropdown-menu-E2qmdC7o.js +0 -193
- package/dist/dropdown-menu-E2qmdC7o.js.map +0 -1
- package/dist/editable-text-recipe-Bkm6wKHp.js +0 -10
- package/dist/editable-text-recipe-Bkm6wKHp.js.map +0 -1
- package/dist/feedback-qNuMBtRH.js +0 -233
- package/dist/feedback-qNuMBtRH.js.map +0 -1
- package/dist/field-affordance-recipes-qQeIf4lG.js.map +0 -1
- package/dist/filters-BkHH53uv.js.map +0 -1
- package/dist/form-field-DUt4UxSV.js.map +0 -1
- package/dist/form-sizing-By94KzXE.js.map +0 -1
- package/dist/forms-numeric-C0bvjRPZ.js.map +0 -1
- package/dist/header-BOefOKd1.js.map +0 -1
- package/dist/input-DWhBBBww.js +0 -262
- package/dist/input-DWhBBBww.js.map +0 -1
- package/dist/input-Ddi_LSYv.js +0 -20
- package/dist/input-Ddi_LSYv.js.map +0 -1
- package/dist/interaction-recipes-CHr0dJUs.js.map +0 -1
- package/dist/item-DEmDiTlD.js +0 -265
- package/dist/item-DEmDiTlD.js.map +0 -1
- package/dist/media-gallery-DcTtAaeC.js.map +0 -1
- package/dist/mentions-D-uyCh01.js.map +0 -1
- package/dist/message-CdHgIWKf.js.map +0 -1
- package/dist/metadata-list-X5rYAKSB.js.map +0 -1
- package/dist/navigation-D3KwXmaq.js.map +0 -1
- package/dist/navigation-HJf5zxlH.js.map +0 -1
- package/dist/overflow-tab-bar-sQHXLlwQ.js.map +0 -1
- package/dist/overlays-I0axtYA6.js.map +0 -1
- package/dist/pagination-3bPA_a6K.js +0 -149
- package/dist/pagination-3bPA_a6K.js.map +0 -1
- package/dist/popover-menu-B71Tn2Qz.js +0 -99
- package/dist/popover-menu-B71Tn2Qz.js.map +0 -1
- package/dist/popover.recipes-Bdyhj2db.js.map +0 -1
- package/dist/primitives-B-CkiEMU.js.map +0 -1
- package/dist/rich-text-editor-sMU_Scqm.js.map +0 -1
- package/dist/rich-text-editor.recipes-CadiF_Uu.js +0 -88
- package/dist/rich-text-editor.recipes-CadiF_Uu.js.map +0 -1
- package/dist/settings-CQW3b-Cu.js.map +0 -1
- package/dist/sidebar-C7WWR29L.js.map +0 -1
- package/dist/smart-card-lFKxn5Hu.js +0 -595
- package/dist/smart-card-lFKxn5Hu.js.map +0 -1
- package/dist/spinner-fa3h1Aif.js +0 -80
- package/dist/spinner-fa3h1Aif.js.map +0 -1
- package/dist/table-CIKyLUsy.js.map +0 -1
- package/dist/table-CrcLN9Io.js +0 -1458
- package/dist/table-CrcLN9Io.js.map +0 -1
- package/dist/tabs-DwBJfjxX.js.map +0 -1
- package/dist/text-inputs-aaK9wcDT.js +0 -326
- package/dist/text-inputs-aaK9wcDT.js.map +0 -1
- package/dist/theme-scope-kStaAer0.js +0 -39
- package/dist/theme-scope-kStaAer0.js.map +0 -1
- package/dist/timelines-C_SBwHNP.js +0 -442
- package/dist/timelines-C_SBwHNP.js.map +0 -1
- package/dist/tone-recipes-CPoExcTE.js.map +0 -1
- package/dist/typography-DTRkE9zL.js.map +0 -1
- package/dist/ui-provider-1D_NSYzO.js.map +0 -1
- package/dist/upload-BO8-CLN6.js.map +0 -1
- package/dist/upload-queue-EOC8g1gf.js.map +0 -1
- package/dist/usage-card-obRaBskq.js.map +0 -1
- package/dist/utils-l5LpDw2z.js.map +0 -1
- package/dist/value-inputs-TAYMX111.js.map +0 -1
- package/dist/workspace-DH0v0KcB.js.map +0 -1
package/dist/blocks/ai.js
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { mergeStrings as e, useStrings as t } from "../lib/strings.js";
|
|
3
|
-
import { t as n } from "../utils-
|
|
4
|
-
import { n as r } from "../buttons-
|
|
5
|
-
import {
|
|
3
|
+
import { t as n } from "../utils-BRhFDwuU.js";
|
|
4
|
+
import { n as r } from "../buttons-DPZekJFu.js";
|
|
5
|
+
import { c as i, o as a, t as o } from "../typography-UTnveOEy.js";
|
|
6
6
|
import { t as s } from "../focus-recipes-B653VaLq.js";
|
|
7
|
-
import { r as c, t as l } from "../structure-
|
|
8
|
-
import {
|
|
9
|
-
import { t as d } from "../
|
|
10
|
-
import { t as f } from "../
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as Ce } from "../
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
7
|
+
import { r as c, t as l } from "../structure-BmisBK-3.js";
|
|
8
|
+
import { i as u } from "../tone-recipes-BPsRAvhu.js";
|
|
9
|
+
import { t as d } from "../smart-card-DiC5aac3.js";
|
|
10
|
+
import { t as f } from "../progress-B1VnCT0K.js";
|
|
11
|
+
import { t as p } from "../interaction-recipes-XR9ZpVYL.js";
|
|
12
|
+
import { _ as m, g as h, m as g } from "../primitives-BFK08r9M.js";
|
|
13
|
+
import { n as _, t as v } from "../number-DbV1Dija.js";
|
|
14
|
+
import { t as y } from "../icon-badge-DYKIwvOV.js";
|
|
15
|
+
import { t as b } from "../badge-HpFqoqSY.js";
|
|
16
|
+
import { d as x } from "../text-inputs-f9Ia-aCi.js";
|
|
17
|
+
import { a as S, c as C, i as w, n as ee, o as te, r as T, t as E, u as D } from "../item-K5_ghvze.js";
|
|
18
|
+
import { m as O } from "../data-display-DT_khPl_.js";
|
|
19
|
+
import { C as ne, S as re, _ as ie, a as ae, b as oe, c as se, d as ce, f as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, p as _e, r as ve, s as ye, t as be, u as xe, v as Se, x as Ce, y as we } from "../ai-artifact-DvTwDVyL.js";
|
|
20
|
+
import { t as k } from "../tree-WnKQzwbq.js";
|
|
21
|
+
import { useMemo as Te, useState as A } from "react";
|
|
22
|
+
import { Fragment as Ee, jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
23
|
+
import { ChevronDown as De, ChevronRight as Oe, ExternalLink as N, File as ke, FileCode as Ae, FileText as je, Folder as Me, FolderOpen as Ne, ThumbsDown as Pe, ThumbsUp as P } from "lucide-react";
|
|
23
24
|
//#region src/components/blocks/ai/ai.strings.ts
|
|
24
|
-
var
|
|
25
|
+
var Fe = {
|
|
25
26
|
regenerate: "Regenerate",
|
|
26
27
|
confidenceLevels: {
|
|
27
28
|
low: "low",
|
|
28
29
|
medium: "medium",
|
|
29
30
|
high: "high"
|
|
30
31
|
}
|
|
31
|
-
},
|
|
32
|
+
}, Ie = {
|
|
32
33
|
title: "Classification",
|
|
33
34
|
complexityLabel: "Complexity",
|
|
34
35
|
flagsLabel: "Flags",
|
|
@@ -39,20 +40,20 @@ var F = {
|
|
|
39
40
|
medium: "Medium",
|
|
40
41
|
high: "High"
|
|
41
42
|
}
|
|
42
|
-
},
|
|
43
|
+
}, F = {
|
|
43
44
|
low: 1,
|
|
44
45
|
medium: 2,
|
|
45
46
|
high: 3
|
|
46
47
|
};
|
|
47
|
-
function
|
|
48
|
-
let r =
|
|
48
|
+
function Le({ level: e, label: t }) {
|
|
49
|
+
let r = F[e];
|
|
49
50
|
return /* @__PURE__ */ M("div", {
|
|
50
51
|
className: "ai-summary--confidence flex items-center gap-space-sm",
|
|
51
52
|
children: [/* @__PURE__ */ j("div", {
|
|
52
53
|
className: "flex items-center gap-space-2xs",
|
|
53
54
|
"aria-hidden": "true",
|
|
54
55
|
children: Array.from({ length: 3 }, (e, t) => /* @__PURE__ */ j("div", { className: n("h-2.5 w-1 rounded-radius-sm", t < r ? "bg-muted-foreground" : "bg-muted") }, `bar-${String(t)}`))
|
|
55
|
-
}), /* @__PURE__ */ j(
|
|
56
|
+
}), /* @__PURE__ */ j(i, {
|
|
56
57
|
size: "xs",
|
|
57
58
|
type: "secondary",
|
|
58
59
|
tag: "span",
|
|
@@ -61,30 +62,31 @@ function Fe({ level: e, label: t }) {
|
|
|
61
62
|
})]
|
|
62
63
|
});
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
-
let f = t(
|
|
65
|
+
function Re({ data: e, children: a, metadata: o, actions: s, footer: c, className: u, strings: d }) {
|
|
66
|
+
let f = t(Fe, d), p = /* @__PURE__ */ M("div", {
|
|
66
67
|
className: "ai-summary--metadata flex min-w-0 flex-wrap items-center gap-x-space-md gap-y-space-xs",
|
|
67
|
-
children: [!!e.generatedAt && /* @__PURE__ */ j(
|
|
68
|
+
children: [!!e.generatedAt && /* @__PURE__ */ j(h, {
|
|
68
69
|
size: "xs",
|
|
69
70
|
className: "min-w-0",
|
|
70
71
|
children: e.generatedAt
|
|
71
|
-
}), !!e.model && /* @__PURE__ */ j(
|
|
72
|
+
}), !!e.model && /* @__PURE__ */ j(h, {
|
|
72
73
|
size: "xs",
|
|
73
74
|
className: "min-w-0 truncate",
|
|
74
75
|
children: e.model
|
|
75
76
|
})]
|
|
76
|
-
}),
|
|
77
|
+
}), m = e.onRegenerate ? /* @__PURE__ */ j(r, {
|
|
77
78
|
tone: "secondary",
|
|
78
79
|
buttonStyle: "ghost",
|
|
79
80
|
onClick: e.onRegenerate,
|
|
80
81
|
children: f.regenerate
|
|
81
|
-
}) : null, g = o === void 0 ?
|
|
82
|
+
}) : null, g = o === void 0 ? p : o, _ = s === void 0 ? m : s, v = c === void 0 ? (g || _) && /* @__PURE__ */ M(Ee, { children: [g, _] }) : c;
|
|
82
83
|
return /* @__PURE__ */ M(l, {
|
|
83
84
|
"data-component": "ai-summary",
|
|
84
85
|
"data-slot": "ai-summary",
|
|
85
86
|
className: n("ai-summary--component", u),
|
|
86
87
|
children: [
|
|
87
|
-
/* @__PURE__ */ j(
|
|
88
|
+
/* @__PURE__ */ j(i, {
|
|
89
|
+
type: "inherit",
|
|
88
90
|
lineHeight: "relaxed",
|
|
89
91
|
children: e.summary
|
|
90
92
|
}),
|
|
@@ -93,17 +95,17 @@ function Ie({ data: e, children: i, metadata: o, actions: s, footer: c, classNam
|
|
|
93
95
|
wrap: !0,
|
|
94
96
|
gap: "sm",
|
|
95
97
|
className: "ai-summary--entities min-w-0",
|
|
96
|
-
children: e.entities.map((e) => /* @__PURE__ */ j(
|
|
98
|
+
children: e.entities.map((e) => /* @__PURE__ */ j(b, {
|
|
97
99
|
tone: "secondary",
|
|
98
100
|
children: e
|
|
99
101
|
}, e))
|
|
100
102
|
}),
|
|
101
|
-
/* @__PURE__ */ j(
|
|
103
|
+
/* @__PURE__ */ j(Le, {
|
|
102
104
|
level: e.confidence,
|
|
103
105
|
label: f.confidenceLevels[e.confidence]
|
|
104
106
|
}),
|
|
105
|
-
|
|
106
|
-
!!
|
|
107
|
+
a,
|
|
108
|
+
!!v && /* @__PURE__ */ j(l, {
|
|
107
109
|
direction: {
|
|
108
110
|
base: "vertical",
|
|
109
111
|
sm: "horizontal"
|
|
@@ -111,19 +113,19 @@ function Ie({ data: e, children: i, metadata: o, actions: s, footer: c, classNam
|
|
|
111
113
|
gap: "md",
|
|
112
114
|
justify: { sm: "between" },
|
|
113
115
|
className: "ai-summary--footer pt-space-xs",
|
|
114
|
-
children:
|
|
116
|
+
children: v
|
|
115
117
|
})
|
|
116
118
|
]
|
|
117
119
|
});
|
|
118
120
|
}
|
|
119
121
|
//#endregion
|
|
120
122
|
//#region src/components/blocks/ai/ai-classification/ai-classification.tsx
|
|
121
|
-
function
|
|
122
|
-
let s = t(
|
|
123
|
+
function ze({ data: e, children: r, className: a, strings: o }) {
|
|
124
|
+
let s = t(Ie, o), c = e.confidence >= .9 ? s.confidenceBands.high : e.confidence >= .7 ? s.confidenceBands.medium : s.confidenceBands.low;
|
|
123
125
|
return /* @__PURE__ */ M(l, {
|
|
124
126
|
"data-component": "ai-classification",
|
|
125
127
|
"data-slot": "ai-classification",
|
|
126
|
-
className: n("ai-classification--component",
|
|
128
|
+
className: n("ai-classification--component", a),
|
|
127
129
|
children: [
|
|
128
130
|
/* @__PURE__ */ M(l, {
|
|
129
131
|
direction: "horizontal",
|
|
@@ -131,27 +133,26 @@ function Le({ data: e, children: r, className: i, strings: o }) {
|
|
|
131
133
|
align: "center",
|
|
132
134
|
gap: "sm",
|
|
133
135
|
children: [
|
|
134
|
-
/* @__PURE__ */ j(
|
|
135
|
-
/* @__PURE__ */ j(
|
|
136
|
+
/* @__PURE__ */ j(b, { children: e.requestType }),
|
|
137
|
+
/* @__PURE__ */ j(b, {
|
|
136
138
|
tone: e.urgencyTone,
|
|
137
139
|
children: e.urgency
|
|
138
140
|
}),
|
|
139
|
-
/* @__PURE__ */ j(
|
|
141
|
+
/* @__PURE__ */ j(b, {
|
|
140
142
|
tone: e.sentimentTone,
|
|
141
143
|
dot: !0,
|
|
142
144
|
children: e.tone
|
|
143
145
|
})
|
|
144
146
|
]
|
|
145
147
|
}),
|
|
146
|
-
/* @__PURE__ */ j(
|
|
148
|
+
/* @__PURE__ */ j(O, {
|
|
147
149
|
label: s.complexityLabel,
|
|
148
|
-
labelClassName: "text-sm font-medium text-foreground",
|
|
149
150
|
value: /* @__PURE__ */ M("span", {
|
|
150
151
|
className: "flex items-center gap-space-md",
|
|
151
152
|
children: [/* @__PURE__ */ j("span", {
|
|
152
153
|
className: "flex items-center gap-space-xs",
|
|
153
154
|
children: Array.from({ length: 5 }, (t, r) => /* @__PURE__ */ j("span", { className: n("h-1.5 w-3 rounded-radius-sm", r < e.complexityScore ? "bg-muted-foreground" : "bg-muted") }, `cx-${String(r)}`))
|
|
154
|
-
}), /* @__PURE__ */ M(
|
|
155
|
+
}), /* @__PURE__ */ M(i, {
|
|
155
156
|
tag: "span",
|
|
156
157
|
size: "xs",
|
|
157
158
|
type: "secondary",
|
|
@@ -159,35 +160,33 @@ function Le({ data: e, children: r, className: i, strings: o }) {
|
|
|
159
160
|
})]
|
|
160
161
|
})
|
|
161
162
|
}),
|
|
162
|
-
e.flags.length > 0 && /* @__PURE__ */ j(
|
|
163
|
+
e.flags.length > 0 && /* @__PURE__ */ j(O, {
|
|
163
164
|
label: s.flagsLabel,
|
|
164
|
-
labelClassName: "text-sm font-medium text-foreground",
|
|
165
165
|
value: /* @__PURE__ */ j("span", {
|
|
166
166
|
className: "flex gap-space-xs",
|
|
167
|
-
children: e.flags.map((e) => /* @__PURE__ */ j(
|
|
167
|
+
children: e.flags.map((e) => /* @__PURE__ */ j(b, { children: e }, e))
|
|
168
168
|
})
|
|
169
169
|
}),
|
|
170
|
-
/* @__PURE__ */ j(
|
|
170
|
+
/* @__PURE__ */ j(O, {
|
|
171
171
|
label: s.nextStepLabel,
|
|
172
|
-
labelClassName: "text-sm font-medium text-foreground",
|
|
173
172
|
value: e.suggestedAction,
|
|
174
173
|
valueClassName: "text-right"
|
|
175
174
|
}),
|
|
176
|
-
/* @__PURE__ */ j(
|
|
175
|
+
/* @__PURE__ */ j(i, {
|
|
177
176
|
lineHeight: "relaxed",
|
|
178
177
|
type: "secondary",
|
|
179
178
|
children: e.summary
|
|
180
179
|
}),
|
|
181
180
|
/* @__PURE__ */ M("div", {
|
|
182
181
|
className: "flex items-center gap-space-md",
|
|
183
|
-
children: [/* @__PURE__ */ M(
|
|
182
|
+
children: [/* @__PURE__ */ M(b, {
|
|
184
183
|
tone: "secondary",
|
|
185
184
|
children: [
|
|
186
185
|
s.confidencePrefix,
|
|
187
186
|
": ",
|
|
188
187
|
c
|
|
189
188
|
]
|
|
190
|
-
}), /* @__PURE__ */ j(
|
|
189
|
+
}), /* @__PURE__ */ j(i, {
|
|
191
190
|
size: "xs",
|
|
192
191
|
type: "discrete",
|
|
193
192
|
tag: "span",
|
|
@@ -210,11 +209,11 @@ var I = {
|
|
|
210
209
|
};
|
|
211
210
|
//#endregion
|
|
212
211
|
//#region src/components/blocks/ai/ai-confidence/ai-confidence.tsx
|
|
213
|
-
function
|
|
212
|
+
function Be(e) {
|
|
214
213
|
return e >= .85 ? "success" : e >= .6 ? "warning" : "destructive";
|
|
215
214
|
}
|
|
216
215
|
function L({ score: e, model: r, factors: o, className: s, strings: c }) {
|
|
217
|
-
let u = t(I, c),
|
|
216
|
+
let u = t(I, c), d = Math.round(e * 100), p = Be(e), m = p === "success" ? u.levelHigh : p === "warning" ? u.levelMedium : u.levelLow, h = 2 * Math.PI * 24, g = h - d / 100 * h;
|
|
218
217
|
return /* @__PURE__ */ M(l, {
|
|
219
218
|
"data-component": "ai-confidence",
|
|
220
219
|
"data-slot": "ai-confidence",
|
|
@@ -246,29 +245,30 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
|
|
|
246
245
|
stroke: "currentColor",
|
|
247
246
|
strokeWidth: "5",
|
|
248
247
|
strokeLinecap: "round",
|
|
249
|
-
strokeDasharray:
|
|
250
|
-
strokeDashoffset:
|
|
248
|
+
strokeDasharray: h,
|
|
249
|
+
strokeDashoffset: g,
|
|
251
250
|
transform: "rotate(-90 32 32)",
|
|
252
251
|
className: n(p === "success" && "text-success", p === "warning" && "text-warning-accent", p === "destructive" && "text-destructive")
|
|
253
252
|
})]
|
|
254
253
|
}), /* @__PURE__ */ j("div", {
|
|
255
254
|
className: "absolute inset-0 flex flex-col items-center justify-center",
|
|
256
|
-
children: /* @__PURE__ */ j(
|
|
257
|
-
|
|
255
|
+
children: /* @__PURE__ */ j(_, {
|
|
256
|
+
type: "inherit",
|
|
257
|
+
value: d,
|
|
258
258
|
scaled: !0,
|
|
259
259
|
weight: "semibold",
|
|
260
|
-
|
|
260
|
+
lineHeight: "none"
|
|
261
261
|
})
|
|
262
262
|
})]
|
|
263
263
|
}), /* @__PURE__ */ M(l, {
|
|
264
264
|
gap: "sm",
|
|
265
|
-
children: [/* @__PURE__ */ j(
|
|
265
|
+
children: [/* @__PURE__ */ j(a, { children: u.confidenceLabel }), /* @__PURE__ */ M(l, {
|
|
266
266
|
direction: "horizontal",
|
|
267
267
|
gap: "sm",
|
|
268
|
-
children: [/* @__PURE__ */ j(
|
|
268
|
+
children: [/* @__PURE__ */ j(b, {
|
|
269
269
|
tone: p,
|
|
270
270
|
children: m
|
|
271
|
-
}), !!r && /* @__PURE__ */ j(
|
|
271
|
+
}), !!r && /* @__PURE__ */ j(i, {
|
|
272
272
|
size: "xs",
|
|
273
273
|
type: "secondary",
|
|
274
274
|
className: "truncate",
|
|
@@ -278,16 +278,17 @@ function L({ score: e, model: r, factors: o, className: s, strings: c }) {
|
|
|
278
278
|
})]
|
|
279
279
|
}), !!o && o.length > 0 && /* @__PURE__ */ M(l, {
|
|
280
280
|
gap: "md",
|
|
281
|
-
children: [/* @__PURE__ */ j(
|
|
281
|
+
children: [/* @__PURE__ */ j(a, { children: u.factorsLabel }), o.map((e) => /* @__PURE__ */ M(l, {
|
|
282
282
|
gap: "sm",
|
|
283
|
-
children: [/* @__PURE__ */ j(
|
|
283
|
+
children: [/* @__PURE__ */ j(O, {
|
|
284
284
|
label: e.label,
|
|
285
|
-
value: /* @__PURE__ */ j(
|
|
285
|
+
value: /* @__PURE__ */ j(_, {
|
|
286
|
+
type: "inherit",
|
|
286
287
|
value: e.score,
|
|
287
288
|
size: "xs",
|
|
288
289
|
weight: "semibold"
|
|
289
290
|
})
|
|
290
|
-
}), /* @__PURE__ */ j(
|
|
291
|
+
}), /* @__PURE__ */ j(f, {
|
|
291
292
|
value: Math.round(e.score * 100),
|
|
292
293
|
"aria-label": e.label
|
|
293
294
|
})]
|
|
@@ -313,26 +314,26 @@ function z({ suggestions: e, onPick: r, className: i, strings: a }) {
|
|
|
313
314
|
children: [/* @__PURE__ */ M(l, {
|
|
314
315
|
gap: "normal",
|
|
315
316
|
className: "ai-prompt-suggestions--intro",
|
|
316
|
-
children: [/* @__PURE__ */ j(
|
|
317
|
+
children: [/* @__PURE__ */ j(D, { children: o.title }), /* @__PURE__ */ j(w, { children: o.hint })]
|
|
317
318
|
}), /* @__PURE__ */ j("div", {
|
|
318
319
|
className: "grid grid-cols-[repeat(auto-fit,minmax(min(15rem,100%),1fr))] gap-space-xl",
|
|
319
320
|
children: e.map((e) => {
|
|
320
321
|
let t = e.icon;
|
|
321
|
-
return /* @__PURE__ */ M(
|
|
322
|
+
return /* @__PURE__ */ M(E, {
|
|
322
323
|
variant: "outline",
|
|
323
324
|
render: /* @__PURE__ */ j("button", {
|
|
324
325
|
type: "button",
|
|
325
326
|
onClick: () => r?.(e)
|
|
326
327
|
}),
|
|
327
|
-
className: n("ai-prompt-suggestions--item h-full items-start gap-space-lg p-surface",
|
|
328
|
-
children: [!!t && /* @__PURE__ */ j(
|
|
328
|
+
className: n("ai-prompt-suggestions--item h-full items-start gap-space-lg p-surface", p.rowHover),
|
|
329
|
+
children: [!!t && /* @__PURE__ */ j(C, { children: /* @__PURE__ */ j(y, {
|
|
329
330
|
icon: t,
|
|
330
331
|
tone: "neutral",
|
|
331
332
|
size: "md",
|
|
332
333
|
shape: "square"
|
|
333
|
-
}) }), /* @__PURE__ */ M(
|
|
334
|
+
}) }), /* @__PURE__ */ M(T, {
|
|
334
335
|
className: "min-w-0 gap-space-sm",
|
|
335
|
-
children: [/* @__PURE__ */ j(
|
|
336
|
+
children: [/* @__PURE__ */ j(D, { children: e.label }), !!e.description && /* @__PURE__ */ j(w, { children: e.description })]
|
|
336
337
|
})]
|
|
337
338
|
}, e.id);
|
|
338
339
|
})
|
|
@@ -351,8 +352,8 @@ var B = {
|
|
|
351
352
|
};
|
|
352
353
|
//#endregion
|
|
353
354
|
//#region src/components/blocks/ai/ai-token-usage/ai-token-usage.tsx
|
|
354
|
-
function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, className: d, strings:
|
|
355
|
-
let
|
|
355
|
+
function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, className: d, strings: p }) {
|
|
356
|
+
let h = t(B, p), g = r + o, y = u ? Math.min(100, Math.round(g / u * 100)) : 0;
|
|
356
357
|
return /* @__PURE__ */ M(l, {
|
|
357
358
|
"data-component": "ai-token-usage",
|
|
358
359
|
"data-slot": "ai-token-usage",
|
|
@@ -360,7 +361,7 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
|
|
|
360
361
|
children: [
|
|
361
362
|
!!e && /* @__PURE__ */ j("div", {
|
|
362
363
|
className: "ai-token-usage--metadata flex min-w-0 justify-start",
|
|
363
|
-
children: /* @__PURE__ */ j(
|
|
364
|
+
children: /* @__PURE__ */ j(b, {
|
|
364
365
|
tone: "secondary",
|
|
365
366
|
children: e
|
|
366
367
|
})
|
|
@@ -370,20 +371,21 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
|
|
|
370
371
|
gap: "md",
|
|
371
372
|
children: [
|
|
372
373
|
{
|
|
373
|
-
label:
|
|
374
|
+
label: h.input,
|
|
374
375
|
value: r
|
|
375
376
|
},
|
|
376
377
|
{
|
|
377
|
-
label:
|
|
378
|
+
label: h.output,
|
|
378
379
|
value: o
|
|
379
380
|
},
|
|
380
381
|
{
|
|
381
|
-
label:
|
|
382
|
-
value:
|
|
382
|
+
label: h.total,
|
|
383
|
+
value: g
|
|
383
384
|
}
|
|
384
385
|
].map((e) => /* @__PURE__ */ M(l, {
|
|
385
386
|
gap: "2xs",
|
|
386
|
-
children: [/* @__PURE__ */ j(
|
|
387
|
+
children: [/* @__PURE__ */ j(a, { children: e.label }), /* @__PURE__ */ j(v, {
|
|
388
|
+
type: "inherit",
|
|
387
389
|
value: e.value,
|
|
388
390
|
weight: "semibold",
|
|
389
391
|
align: "left"
|
|
@@ -392,54 +394,60 @@ function V({ model: e, inputTokens: r, outputTokens: o, cost: s, maxTokens: u, c
|
|
|
392
394
|
}),
|
|
393
395
|
!!u && /* @__PURE__ */ M(l, {
|
|
394
396
|
gap: "xs",
|
|
395
|
-
children: [/* @__PURE__ */ j(
|
|
397
|
+
children: [/* @__PURE__ */ j(O, {
|
|
396
398
|
label: /* @__PURE__ */ M("span", {
|
|
397
399
|
className: "inline-flex items-center gap-space-xs",
|
|
398
400
|
children: [
|
|
399
|
-
/* @__PURE__ */ j(
|
|
400
|
-
|
|
401
|
+
/* @__PURE__ */ j(v, {
|
|
402
|
+
type: "inherit",
|
|
403
|
+
value: g,
|
|
401
404
|
size: "xs",
|
|
402
405
|
align: "left"
|
|
403
406
|
}),
|
|
404
|
-
/* @__PURE__ */ j(
|
|
407
|
+
/* @__PURE__ */ j(i, {
|
|
408
|
+
type: "inherit",
|
|
405
409
|
tag: "span",
|
|
406
410
|
size: "xs",
|
|
407
411
|
"aria-hidden": !0,
|
|
408
412
|
children: "/"
|
|
409
413
|
}),
|
|
410
|
-
/* @__PURE__ */ j(
|
|
414
|
+
/* @__PURE__ */ j(v, {
|
|
415
|
+
type: "inherit",
|
|
411
416
|
value: u,
|
|
412
417
|
size: "xs",
|
|
413
418
|
align: "left"
|
|
414
419
|
})
|
|
415
420
|
]
|
|
416
421
|
}),
|
|
417
|
-
value: /* @__PURE__ */ j(
|
|
418
|
-
|
|
422
|
+
value: /* @__PURE__ */ j(_, {
|
|
423
|
+
type: "inherit",
|
|
424
|
+
value: y,
|
|
419
425
|
scaled: !0,
|
|
420
426
|
size: "xs",
|
|
421
427
|
weight: "semibold",
|
|
422
428
|
align: "right"
|
|
423
|
-
}),
|
|
424
|
-
valueClassName: "text-xs font-semibold"
|
|
425
|
-
}), /* @__PURE__ */ j("div", {
|
|
426
|
-
className: "h-1.5 w-full overflow-hidden rounded-full bg-muted",
|
|
427
|
-
children: /* @__PURE__ */ j("div", {
|
|
428
|
-
className: "h-full rounded-full bg-primary",
|
|
429
|
-
style: { width: `${_}%` }
|
|
430
429
|
})
|
|
430
|
+
}), /* @__PURE__ */ j(f, {
|
|
431
|
+
value: y,
|
|
432
|
+
"aria-label": h.title,
|
|
433
|
+
className: "ai-token-usage--bar"
|
|
431
434
|
})]
|
|
432
435
|
}),
|
|
433
|
-
!!s && /* @__PURE__ */ j(
|
|
434
|
-
label: /* @__PURE__ */ j(
|
|
436
|
+
!!s && /* @__PURE__ */ j(O, {
|
|
437
|
+
label: /* @__PURE__ */ j(i, {
|
|
438
|
+
type: "inherit",
|
|
435
439
|
tag: "span",
|
|
436
440
|
size: "xs",
|
|
437
441
|
weight: "medium",
|
|
438
442
|
lineHeight: "tight",
|
|
439
|
-
children:
|
|
443
|
+
children: h.cost
|
|
444
|
+
}),
|
|
445
|
+
value: /* @__PURE__ */ j(m, {
|
|
446
|
+
type: "inherit",
|
|
447
|
+
weight: "semibold",
|
|
448
|
+
children: s
|
|
440
449
|
}),
|
|
441
|
-
|
|
442
|
-
valueClassName: "text-sm font-bold tabular-nums"
|
|
450
|
+
valueClassName: "tabular-nums"
|
|
443
451
|
})
|
|
444
452
|
]
|
|
445
453
|
});
|
|
@@ -457,14 +465,14 @@ var H = {
|
|
|
457
465
|
};
|
|
458
466
|
//#endregion
|
|
459
467
|
//#region src/components/blocks/ai/ai-feedback/ai-feedback.tsx
|
|
460
|
-
function U({ value: e, onVote:
|
|
461
|
-
let m = t(H,
|
|
462
|
-
let n =
|
|
463
|
-
e === void 0 && g(n),
|
|
468
|
+
function U({ value: e, onVote: a, onSubmitComment: o, allowComment: s = !0, submitted: c = !1, className: d, strings: f }) {
|
|
469
|
+
let m = t(H, f), [h, g] = A(null), [_, v] = A(""), y = e ?? h, b = (t) => {
|
|
470
|
+
let n = y === t ? null : t;
|
|
471
|
+
e === void 0 && g(n), a?.(n);
|
|
464
472
|
};
|
|
465
473
|
return c ? /* @__PURE__ */ M("div", {
|
|
466
474
|
className: n("ai-feedback--component", "inline-flex items-center gap-space-md rounded-radius px-space-lg py-space-sm", u.success.wash, d),
|
|
467
|
-
children: [/* @__PURE__ */ j(P, { className: "size-icon-md text-success" }), /* @__PURE__ */ j(
|
|
475
|
+
children: [/* @__PURE__ */ j(P, { className: "size-icon-md text-success" }), /* @__PURE__ */ j(i, {
|
|
468
476
|
size: "xs",
|
|
469
477
|
type: "success",
|
|
470
478
|
weight: "medium",
|
|
@@ -475,7 +483,7 @@ function U({ value: e, onVote: i, onSubmitComment: o, allowComment: s = !0, subm
|
|
|
475
483
|
children: [/* @__PURE__ */ M("div", {
|
|
476
484
|
className: "flex items-center gap-space-md",
|
|
477
485
|
children: [
|
|
478
|
-
/* @__PURE__ */ j(
|
|
486
|
+
/* @__PURE__ */ j(i, {
|
|
479
487
|
size: "xs",
|
|
480
488
|
type: "secondary",
|
|
481
489
|
children: m.prompt
|
|
@@ -487,9 +495,9 @@ function U({ value: e, onVote: i, onSubmitComment: o, allowComment: s = !0, subm
|
|
|
487
495
|
size: "sm",
|
|
488
496
|
iconOnly: !0,
|
|
489
497
|
"aria-label": m.thumbsUpAria,
|
|
490
|
-
"aria-pressed":
|
|
491
|
-
onClick: () =>
|
|
492
|
-
className:
|
|
498
|
+
"aria-pressed": y === "up",
|
|
499
|
+
onClick: () => b("up"),
|
|
500
|
+
className: y === "up" ? p.togglePressed : p.toggleHoverButton,
|
|
493
501
|
children: /* @__PURE__ */ j(P, { className: "size-icon-md" })
|
|
494
502
|
}),
|
|
495
503
|
/* @__PURE__ */ j(r, {
|
|
@@ -499,15 +507,15 @@ function U({ value: e, onVote: i, onSubmitComment: o, allowComment: s = !0, subm
|
|
|
499
507
|
size: "sm",
|
|
500
508
|
iconOnly: !0,
|
|
501
509
|
"aria-label": m.thumbsDownAria,
|
|
502
|
-
"aria-pressed":
|
|
503
|
-
onClick: () =>
|
|
504
|
-
className:
|
|
505
|
-
children: /* @__PURE__ */ j(
|
|
510
|
+
"aria-pressed": y === "down",
|
|
511
|
+
onClick: () => b("down"),
|
|
512
|
+
className: y === "down" ? p.togglePressed : p.toggleHoverButton,
|
|
513
|
+
children: /* @__PURE__ */ j(Pe, { className: "size-icon-md" })
|
|
506
514
|
})
|
|
507
515
|
]
|
|
508
|
-
}), !!s && !!
|
|
516
|
+
}), !!s && !!y && /* @__PURE__ */ M(l, {
|
|
509
517
|
gap: "md",
|
|
510
|
-
children: [/* @__PURE__ */ j(
|
|
518
|
+
children: [/* @__PURE__ */ j(x, {
|
|
511
519
|
value: _,
|
|
512
520
|
onChange: (e) => v(e.target.value),
|
|
513
521
|
placeholder: m.commentPlaceholder,
|
|
@@ -520,7 +528,7 @@ function U({ value: e, onVote: i, onSubmitComment: o, allowComment: s = !0, subm
|
|
|
520
528
|
tone: "primary",
|
|
521
529
|
type: "button",
|
|
522
530
|
onClick: () => {
|
|
523
|
-
o?.(_,
|
|
531
|
+
o?.(_, y), v("");
|
|
524
532
|
},
|
|
525
533
|
disabled: !_.trim(),
|
|
526
534
|
children: m.submit
|
|
@@ -543,12 +551,14 @@ var W = {
|
|
|
543
551
|
};
|
|
544
552
|
//#endregion
|
|
545
553
|
//#region src/components/blocks/ai/ai-citation/ai-citation.tsx
|
|
546
|
-
function G({ sources: t, expanded:
|
|
547
|
-
let
|
|
548
|
-
|
|
549
|
-
},
|
|
550
|
-
return /* @__PURE__ */ j(
|
|
551
|
-
|
|
554
|
+
function G({ sources: t, expanded: a, defaultExpanded: o = !1, onExpandedChange: s, maxCollapsedRows: c = 0, className: u, strings: f }) {
|
|
555
|
+
let m = e(W, f), [h, g] = A(o), _ = a ?? h, v = (e) => {
|
|
556
|
+
a === void 0 && g(e), s?.(e);
|
|
557
|
+
}, y = _ ? t : t.slice(0, Math.max(0, c)), b = t.length - y.length;
|
|
558
|
+
return /* @__PURE__ */ j(d, {
|
|
559
|
+
surface: "card",
|
|
560
|
+
padding: "sm",
|
|
561
|
+
className: n("ai-citation--component", u),
|
|
552
562
|
children: /* @__PURE__ */ M(l, {
|
|
553
563
|
gap: "lg",
|
|
554
564
|
children: [/* @__PURE__ */ M(r, {
|
|
@@ -556,52 +566,58 @@ function G({ sources: t, expanded: i, defaultExpanded: o = !1, onExpandedChange:
|
|
|
556
566
|
tone: "secondary",
|
|
557
567
|
buttonStyle: "ghost",
|
|
558
568
|
size: "sm",
|
|
559
|
-
onClick: () =>
|
|
560
|
-
className: n("ai-citation--trigger h-auto min-h-0 justify-start gap-space-sm rounded-inner px-control py-row-y", `text-muted-foreground ${
|
|
561
|
-
"aria-expanded":
|
|
562
|
-
"aria-label":
|
|
563
|
-
children: [/* @__PURE__ */ M(
|
|
569
|
+
onClick: () => v(!_),
|
|
570
|
+
className: n("ai-citation--trigger h-auto min-h-0 justify-start gap-space-sm rounded-inner px-control py-row-y", `text-muted-foreground ${p.rowHover}`),
|
|
571
|
+
"aria-expanded": _,
|
|
572
|
+
"aria-label": _ ? m.collapse : m.expand,
|
|
573
|
+
children: [/* @__PURE__ */ M(i, {
|
|
574
|
+
type: "inherit",
|
|
564
575
|
weight: "medium",
|
|
565
576
|
children: [
|
|
566
|
-
|
|
577
|
+
m.title,
|
|
567
578
|
" · ",
|
|
568
|
-
|
|
579
|
+
m.sourceCount(t.length)
|
|
569
580
|
]
|
|
570
|
-
}), j(
|
|
571
|
-
}), (
|
|
581
|
+
}), j(_ ? De : Oe, { className: "size-icon-md" })]
|
|
582
|
+
}), (_ || c > 0) && /* @__PURE__ */ M(te, { children: [y.map((e, t) => /* @__PURE__ */ j(Ve, {
|
|
572
583
|
source: e,
|
|
573
584
|
index: t + 1,
|
|
574
|
-
strings:
|
|
575
|
-
}, e.id)), !
|
|
585
|
+
strings: m
|
|
586
|
+
}, e.id)), !_ && b > 0 && /* @__PURE__ */ j(i, {
|
|
576
587
|
size: "xs",
|
|
577
588
|
type: "secondary",
|
|
578
|
-
children:
|
|
589
|
+
children: m.hiddenCount(b)
|
|
579
590
|
})] })]
|
|
580
591
|
})
|
|
581
592
|
});
|
|
582
593
|
}
|
|
583
594
|
G.displayName = "AiCitation";
|
|
584
|
-
function
|
|
585
|
-
let
|
|
595
|
+
function Ve({ source: e, index: t, strings: r }) {
|
|
596
|
+
let a = typeof e.relevance == "number" ? Math.round(Math.max(0, Math.min(1, e.relevance)) * 100) : null, o = e.url ? "a" : "span", s = e.url ? {
|
|
586
597
|
href: e.url,
|
|
587
598
|
target: "_blank",
|
|
588
599
|
rel: "noopener noreferrer"
|
|
589
600
|
} : {};
|
|
590
|
-
return /* @__PURE__ */ M(
|
|
601
|
+
return /* @__PURE__ */ M(E, {
|
|
591
602
|
variant: "outline",
|
|
592
603
|
size: "sm",
|
|
593
604
|
className: "items-start px-surface-xs py-surface-xs",
|
|
594
605
|
children: [
|
|
595
|
-
/* @__PURE__ */ j(
|
|
596
|
-
|
|
597
|
-
size: "
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
606
|
+
/* @__PURE__ */ j(C, { children: /* @__PURE__ */ j(y, {
|
|
607
|
+
tone: "neutral",
|
|
608
|
+
size: "sm",
|
|
609
|
+
"aria-hidden": !1,
|
|
610
|
+
className: "shrink-0",
|
|
611
|
+
children: /* @__PURE__ */ j(v, {
|
|
612
|
+
value: t,
|
|
613
|
+
size: "xs",
|
|
614
|
+
weight: "semibold",
|
|
615
|
+
type: "secondary",
|
|
616
|
+
align: "center"
|
|
617
|
+
})
|
|
602
618
|
}) }),
|
|
603
|
-
/* @__PURE__ */ M(
|
|
604
|
-
/* @__PURE__ */ j(
|
|
619
|
+
/* @__PURE__ */ M(T, { children: [
|
|
620
|
+
/* @__PURE__ */ j(D, {
|
|
605
621
|
className: "truncate",
|
|
606
622
|
children: /* @__PURE__ */ M(o, {
|
|
607
623
|
...s,
|
|
@@ -609,50 +625,44 @@ function ze({ source: e, index: t, strings: r }) {
|
|
|
609
625
|
children: [e.title, !!e.url && /* @__PURE__ */ j(N, { className: "ml-1 inline size-icon-sm align-baseline" })]
|
|
610
626
|
})
|
|
611
627
|
}),
|
|
612
|
-
!!e.snippet && /* @__PURE__ */ j(
|
|
628
|
+
!!e.snippet && /* @__PURE__ */ j(w, {
|
|
613
629
|
clamp: 2,
|
|
614
630
|
children: e.snippet
|
|
615
631
|
}),
|
|
616
|
-
(e.publisher || e.publishedAt) && /* @__PURE__ */ M(
|
|
632
|
+
(e.publisher || e.publishedAt) && /* @__PURE__ */ M(S, {
|
|
617
633
|
className: "mt-1 justify-start gap-space-sm",
|
|
618
634
|
children: [
|
|
619
|
-
!!e.publisher && /* @__PURE__ */ j(
|
|
635
|
+
!!e.publisher && /* @__PURE__ */ j(i, {
|
|
620
636
|
size: "xs",
|
|
621
637
|
type: "discrete",
|
|
622
638
|
children: e.publisher
|
|
623
639
|
}),
|
|
624
|
-
!!e.publisher && !!e.publishedAt && /* @__PURE__ */ j(
|
|
640
|
+
!!e.publisher && !!e.publishedAt && /* @__PURE__ */ j(i, {
|
|
625
641
|
size: "xs",
|
|
626
642
|
type: "discrete",
|
|
627
643
|
children: "·"
|
|
628
644
|
}),
|
|
629
|
-
!!e.publishedAt && /* @__PURE__ */ j(
|
|
645
|
+
!!e.publishedAt && /* @__PURE__ */ j(h, {
|
|
630
646
|
size: "xs",
|
|
631
|
-
className: "tabular-nums
|
|
647
|
+
className: "tabular-nums",
|
|
632
648
|
children: e.publishedAt
|
|
633
649
|
})
|
|
634
650
|
]
|
|
635
651
|
})
|
|
636
652
|
] }),
|
|
637
|
-
|
|
653
|
+
a !== null && /* @__PURE__ */ M(ee, {
|
|
638
654
|
className: "w-16 flex-col items-end gap-space-2xs",
|
|
639
|
-
children: [/* @__PURE__ */ j(
|
|
640
|
-
value:
|
|
655
|
+
children: [/* @__PURE__ */ j(_, {
|
|
656
|
+
value: a,
|
|
641
657
|
scaled: !0,
|
|
642
658
|
size: "xs",
|
|
643
659
|
type: "secondary",
|
|
644
660
|
weight: "medium"
|
|
645
|
-
}), /* @__PURE__ */ j(
|
|
646
|
-
|
|
647
|
-
|
|
661
|
+
}), /* @__PURE__ */ j(f, {
|
|
662
|
+
value: a,
|
|
663
|
+
size: "sm",
|
|
648
664
|
"aria-label": r.relevance,
|
|
649
|
-
"
|
|
650
|
-
"aria-valuemax": 100,
|
|
651
|
-
"aria-valuenow": i,
|
|
652
|
-
children: /* @__PURE__ */ j("div", {
|
|
653
|
-
className: "h-full rounded-full bg-primary",
|
|
654
|
-
style: { width: `${i}%` }
|
|
655
|
-
})
|
|
665
|
+
className: "ai-citation--relevance"
|
|
656
666
|
})]
|
|
657
667
|
})
|
|
658
668
|
]
|
|
@@ -666,55 +676,58 @@ var K = {
|
|
|
666
676
|
};
|
|
667
677
|
//#endregion
|
|
668
678
|
//#region src/components/blocks/ai/ai-inline-citation/ai-inline-citation.tsx
|
|
669
|
-
function
|
|
679
|
+
function He(e, t) {
|
|
670
680
|
return e.replace(/\{\{\s*(\w+)\s*\}\}/g, (e, n) => {
|
|
671
681
|
let r = t[n];
|
|
672
682
|
return r === void 0 ? e : String(r);
|
|
673
683
|
});
|
|
674
684
|
}
|
|
675
|
-
function q({ index: t, title: r, url:
|
|
676
|
-
let d = e(K, u),
|
|
685
|
+
function q({ index: t, title: r, url: a, onSelect: c, className: l, strings: u }) {
|
|
686
|
+
let d = e(K, u), f = He(d.openAria, {
|
|
677
687
|
n: t,
|
|
678
688
|
title: r ?? ""
|
|
679
|
-
}), m = r ? `${d.sourcePrefix} ${t}: ${r}` : `${d.sourcePrefix} ${t}`, h = n("box-border inline-flex h-action-xs min-w-action-xs -translate-y-px items-center justify-center rounded-inner border-0 px-control-xs font-sans", "align-middle tabular-nums", "bg-muted text-muted-foreground",
|
|
680
|
-
return
|
|
681
|
-
href:
|
|
689
|
+
}), m = r ? `${d.sourcePrefix} ${t}: ${r}` : `${d.sourcePrefix} ${t}`, h = n("box-border inline-flex h-action-xs min-w-action-xs -translate-y-px items-center justify-center rounded-inner border-0 px-control-xs font-sans", "align-middle tabular-nums", "bg-muted text-muted-foreground", p.rowHover, "transition-colors duration-150", `focus-visible:outline-none ${s.edge}`, l);
|
|
690
|
+
return a ? /* @__PURE__ */ j(o, {
|
|
691
|
+
href: a,
|
|
682
692
|
size: "inherit",
|
|
683
693
|
underline: !1,
|
|
684
694
|
target: "_blank",
|
|
685
695
|
rel: "noopener noreferrer",
|
|
686
696
|
title: m,
|
|
687
|
-
"aria-label":
|
|
697
|
+
"aria-label": f,
|
|
688
698
|
className: n("ai-inline-citation--component", h),
|
|
689
|
-
children: /* @__PURE__ */ j(
|
|
699
|
+
children: /* @__PURE__ */ j(i, {
|
|
700
|
+
type: "inherit",
|
|
690
701
|
tag: "span",
|
|
691
702
|
size: "xs",
|
|
692
703
|
weight: "medium",
|
|
693
|
-
|
|
704
|
+
lineHeight: "none",
|
|
694
705
|
children: t
|
|
695
706
|
})
|
|
696
707
|
}) : c ? /* @__PURE__ */ j("button", {
|
|
697
708
|
type: "button",
|
|
698
709
|
onClick: c,
|
|
699
710
|
title: m,
|
|
700
|
-
"aria-label":
|
|
711
|
+
"aria-label": f,
|
|
701
712
|
className: n("ai-inline-citation--component", h),
|
|
702
|
-
children: /* @__PURE__ */ j(
|
|
713
|
+
children: /* @__PURE__ */ j(i, {
|
|
714
|
+
type: "inherit",
|
|
703
715
|
tag: "span",
|
|
704
716
|
size: "xs",
|
|
705
717
|
weight: "medium",
|
|
706
|
-
|
|
718
|
+
lineHeight: "none",
|
|
707
719
|
children: t
|
|
708
720
|
})
|
|
709
721
|
}) : /* @__PURE__ */ j("span", {
|
|
710
722
|
title: m,
|
|
711
|
-
"aria-label":
|
|
723
|
+
"aria-label": f,
|
|
712
724
|
className: n("ai-inline-citation--component", h),
|
|
713
|
-
children: /* @__PURE__ */ j(
|
|
725
|
+
children: /* @__PURE__ */ j(i, {
|
|
726
|
+
type: "inherit",
|
|
714
727
|
tag: "span",
|
|
715
728
|
size: "xs",
|
|
716
729
|
weight: "medium",
|
|
717
|
-
|
|
730
|
+
lineHeight: "none",
|
|
718
731
|
children: t
|
|
719
732
|
})
|
|
720
733
|
});
|
|
@@ -734,8 +747,9 @@ var J = {
|
|
|
734
747
|
};
|
|
735
748
|
//#endregion
|
|
736
749
|
//#region src/components/blocks/ai/ai-package-info/ai-package-info.tsx
|
|
737
|
-
function Y({ name: e, version:
|
|
738
|
-
let
|
|
750
|
+
function Y({ name: e, version: a, description: s, license: c, publishedAt: u, homepage: f, repository: m, weeklyDownloads: h, keywords: _, onSelect: v, className: y, strings: x }) {
|
|
751
|
+
let S = t(J, x), C = /* @__PURE__ */ M(l, {
|
|
752
|
+
gap: "md",
|
|
739
753
|
className: "min-w-0 flex-1",
|
|
740
754
|
children: [
|
|
741
755
|
/* @__PURE__ */ M(l, {
|
|
@@ -744,19 +758,20 @@ function Y({ name: e, version: i, description: s, license: c, publishedAt: u, ho
|
|
|
744
758
|
direction: "horizontal",
|
|
745
759
|
gap: "md",
|
|
746
760
|
align: "center",
|
|
747
|
-
children: [/* @__PURE__ */ j(
|
|
761
|
+
children: [/* @__PURE__ */ j(g, {
|
|
762
|
+
type: "inherit",
|
|
748
763
|
weight: "semibold",
|
|
749
764
|
className: "truncate",
|
|
750
765
|
children: e
|
|
751
|
-
}), !!
|
|
766
|
+
}), !!a && /* @__PURE__ */ j(b, {
|
|
752
767
|
tone: "secondary",
|
|
753
|
-
children: /* @__PURE__ */ M(
|
|
768
|
+
children: /* @__PURE__ */ M(g, {
|
|
754
769
|
size: "xs",
|
|
755
770
|
className: "text-inherit",
|
|
756
|
-
children: ["v",
|
|
771
|
+
children: ["v", a.replace(/^v/, "")]
|
|
757
772
|
})
|
|
758
773
|
})]
|
|
759
|
-
}), !!s && /* @__PURE__ */ j(
|
|
774
|
+
}), !!s && /* @__PURE__ */ j(i, {
|
|
760
775
|
size: "xs",
|
|
761
776
|
type: "secondary",
|
|
762
777
|
className: "line-clamp-2",
|
|
@@ -764,86 +779,91 @@ function Y({ name: e, version: i, description: s, license: c, publishedAt: u, ho
|
|
|
764
779
|
})]
|
|
765
780
|
}),
|
|
766
781
|
(c || u || h !== void 0) && /* @__PURE__ */ M("div", {
|
|
767
|
-
className: "
|
|
782
|
+
className: "ai-package-info--meta flex flex-wrap items-center gap-x-space-lg gap-y-space-xs",
|
|
768
783
|
children: [
|
|
769
784
|
!!c && /* @__PURE__ */ j(X, {
|
|
770
|
-
label:
|
|
785
|
+
label: S.licenseLabel,
|
|
771
786
|
value: c
|
|
772
787
|
}),
|
|
773
788
|
!!u && /* @__PURE__ */ j(X, {
|
|
774
|
-
label:
|
|
789
|
+
label: S.publishedLabel,
|
|
775
790
|
value: u
|
|
776
791
|
}),
|
|
777
792
|
h !== void 0 && /* @__PURE__ */ j(X, {
|
|
778
|
-
label:
|
|
793
|
+
label: S.weeklyDownloadsLabel,
|
|
779
794
|
value: String(h)
|
|
780
795
|
})
|
|
781
796
|
]
|
|
782
797
|
}),
|
|
783
|
-
!!
|
|
784
|
-
|
|
785
|
-
|
|
798
|
+
!!_?.length && /* @__PURE__ */ j(l, {
|
|
799
|
+
direction: "horizontal",
|
|
800
|
+
gap: "xs",
|
|
801
|
+
className: "ai-package-info--keywords",
|
|
802
|
+
children: _.slice(0, 6).map((e) => /* @__PURE__ */ j(b, {
|
|
786
803
|
tone: "secondary",
|
|
787
804
|
children: e
|
|
788
805
|
}, e))
|
|
789
806
|
})
|
|
790
807
|
]
|
|
791
|
-
})
|
|
792
|
-
return /* @__PURE__ */ M(
|
|
793
|
-
|
|
794
|
-
|
|
808
|
+
}), w = "ai-package-info--body flex w-full items-start gap-space-lg p-surface-xs text-left";
|
|
809
|
+
return /* @__PURE__ */ M(d, {
|
|
810
|
+
surface: "card",
|
|
811
|
+
padding: "none",
|
|
812
|
+
className: n("ai-package-info--component", y),
|
|
813
|
+
children: [v ? /* @__PURE__ */ j(r, {
|
|
795
814
|
type: "button",
|
|
796
815
|
tone: "secondary",
|
|
797
816
|
buttonStyle: "ghost",
|
|
798
|
-
onClick:
|
|
799
|
-
className: n(
|
|
800
|
-
children:
|
|
817
|
+
onClick: v,
|
|
818
|
+
className: n(w, `h-auto min-h-0 justify-start rounded-none whitespace-normal transition-colors ${p.rowHover}`),
|
|
819
|
+
children: C
|
|
801
820
|
}) : /* @__PURE__ */ j("div", {
|
|
802
|
-
className:
|
|
803
|
-
children:
|
|
804
|
-
}), (
|
|
821
|
+
className: w,
|
|
822
|
+
children: C
|
|
823
|
+
}), (f || m) && /* @__PURE__ */ j("div", {
|
|
805
824
|
className: "ai-package-info--footer px-surface-xs pb-surface-xs",
|
|
806
825
|
children: /* @__PURE__ */ M(l, {
|
|
807
826
|
direction: "horizontal",
|
|
808
827
|
align: "center",
|
|
809
828
|
gap: "md",
|
|
810
829
|
children: [
|
|
811
|
-
!!
|
|
812
|
-
href:
|
|
830
|
+
!!f && /* @__PURE__ */ M(o, {
|
|
831
|
+
href: f,
|
|
813
832
|
size: "inherit",
|
|
814
833
|
underline: !1,
|
|
815
834
|
target: "_blank",
|
|
816
835
|
rel: "noopener noreferrer",
|
|
817
836
|
onClick: (e) => e.stopPropagation(),
|
|
818
|
-
"aria-label":
|
|
837
|
+
"aria-label": S.homepageAria,
|
|
819
838
|
className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
|
|
820
|
-
children: [/* @__PURE__ */ j(
|
|
839
|
+
children: [/* @__PURE__ */ j(i, {
|
|
840
|
+
type: "inherit",
|
|
821
841
|
tag: "span",
|
|
822
842
|
weight: "medium",
|
|
823
|
-
children:
|
|
843
|
+
children: S.homepageLabel
|
|
824
844
|
}), /* @__PURE__ */ j(N, { className: "size-icon-sm" })]
|
|
825
845
|
}),
|
|
826
|
-
!!
|
|
846
|
+
!!f && !!m && /* @__PURE__ */ j(i, {
|
|
827
847
|
tag: "span",
|
|
828
848
|
size: "xs",
|
|
829
849
|
type: "secondary",
|
|
830
|
-
className: "opacity-40",
|
|
831
850
|
"aria-hidden": !0,
|
|
832
851
|
children: "·"
|
|
833
852
|
}),
|
|
834
|
-
!!
|
|
835
|
-
href:
|
|
853
|
+
!!m && /* @__PURE__ */ M(o, {
|
|
854
|
+
href: m,
|
|
836
855
|
size: "inherit",
|
|
837
856
|
underline: !1,
|
|
838
857
|
target: "_blank",
|
|
839
858
|
rel: "noopener noreferrer",
|
|
840
859
|
onClick: (e) => e.stopPropagation(),
|
|
841
|
-
"aria-label":
|
|
860
|
+
"aria-label": S.repositoryAria,
|
|
842
861
|
className: "inline-flex items-center gap-space-xs rounded-radius-xs text-muted-foreground hover:text-foreground",
|
|
843
|
-
children: [/* @__PURE__ */ j(
|
|
862
|
+
children: [/* @__PURE__ */ j(i, {
|
|
863
|
+
type: "inherit",
|
|
844
864
|
tag: "span",
|
|
845
865
|
weight: "medium",
|
|
846
|
-
children:
|
|
866
|
+
children: S.repositoryLabel
|
|
847
867
|
}), /* @__PURE__ */ j(N, { className: "size-icon-sm" })]
|
|
848
868
|
})
|
|
849
869
|
]
|
|
@@ -855,11 +875,11 @@ Y.displayName = "AiPackageInfo";
|
|
|
855
875
|
function X({ label: e, value: t }) {
|
|
856
876
|
return /* @__PURE__ */ M("div", {
|
|
857
877
|
className: "inline-flex items-baseline gap-space-xs",
|
|
858
|
-
children: [/* @__PURE__ */ j(
|
|
878
|
+
children: [/* @__PURE__ */ j(i, {
|
|
859
879
|
size: "xs",
|
|
860
880
|
type: "discrete",
|
|
861
881
|
children: e
|
|
862
|
-
}), /* @__PURE__ */ j(
|
|
882
|
+
}), /* @__PURE__ */ j(h, {
|
|
863
883
|
size: "xs",
|
|
864
884
|
weight: "medium",
|
|
865
885
|
className: "tabular-nums",
|
|
@@ -879,18 +899,18 @@ var Z = {
|
|
|
879
899
|
removed: "D",
|
|
880
900
|
renamed: "R"
|
|
881
901
|
}
|
|
882
|
-
},
|
|
902
|
+
}, Ue = {
|
|
883
903
|
added: "success",
|
|
884
904
|
modified: "warning",
|
|
885
905
|
removed: "destructive",
|
|
886
906
|
renamed: "info"
|
|
887
|
-
},
|
|
907
|
+
}, We = {
|
|
888
908
|
added: "text-success",
|
|
889
909
|
modified: "text-warning-accent",
|
|
890
910
|
removed: "text-destructive",
|
|
891
911
|
renamed: "text-info"
|
|
892
912
|
};
|
|
893
|
-
function
|
|
913
|
+
function Ge(e) {
|
|
894
914
|
let t = e.split(".").pop()?.toLowerCase() ?? "";
|
|
895
915
|
return [
|
|
896
916
|
"ts",
|
|
@@ -907,20 +927,20 @@ function Ue(e) {
|
|
|
907
927
|
"py",
|
|
908
928
|
"rs",
|
|
909
929
|
"go"
|
|
910
|
-
].includes(t) ?
|
|
930
|
+
].includes(t) ? Ae : [
|
|
911
931
|
"md",
|
|
912
932
|
"mdx",
|
|
913
933
|
"txt"
|
|
914
|
-
].includes(t) ?
|
|
934
|
+
].includes(t) ? je : ke;
|
|
915
935
|
}
|
|
916
936
|
function Q(e, t = 0) {
|
|
917
937
|
return e.flatMap((e) => [...e.kind === "directory" && (e.defaultExpanded ?? t < 1) ? [e.id] : [], ...Q(e.children ?? [], t + 1)]);
|
|
918
938
|
}
|
|
919
|
-
function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, indent: o, density: s = "compact", disabled: c, expandedIds: u, defaultExpandedIds: d, onExpandedIdsChange: f, className:
|
|
920
|
-
let
|
|
939
|
+
function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, indent: o, density: s = "compact", disabled: c, expandedIds: u, defaultExpandedIds: d, onExpandedIdsChange: f, className: p, strings: m, ..._ }) {
|
|
940
|
+
let v = t(Z, m), [y, x] = A(() => d ?? Q(e)), S = u ?? y, C = Te(() => {
|
|
921
941
|
function t(e) {
|
|
922
942
|
return e.map((e) => {
|
|
923
|
-
let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ?
|
|
943
|
+
let r = e.kind === "directory", i = e.icon ?? (r ? S.includes(e.id) ? Ne : Me : Ge(e.name));
|
|
924
944
|
return {
|
|
925
945
|
value: e.id,
|
|
926
946
|
label: e.name,
|
|
@@ -930,19 +950,19 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
|
|
|
930
950
|
children: r ? t(e.children ?? []) : void 0,
|
|
931
951
|
icon: /* @__PURE__ */ j(i, {
|
|
932
952
|
"aria-hidden": "true",
|
|
933
|
-
className: n("size-icon", e.status &&
|
|
953
|
+
className: n("size-icon", e.status && We[e.status])
|
|
934
954
|
}),
|
|
935
955
|
trailing: /* @__PURE__ */ M(l, {
|
|
936
956
|
direction: "horizontal",
|
|
937
957
|
gap: "xs",
|
|
938
958
|
align: "center",
|
|
939
959
|
className: "shrink-0",
|
|
940
|
-
children: [e.status && !a && /* @__PURE__ */ j(
|
|
941
|
-
tone:
|
|
960
|
+
children: [e.status && !a && /* @__PURE__ */ j(b, {
|
|
961
|
+
tone: Ue[e.status],
|
|
942
962
|
size: "sm",
|
|
943
963
|
title: e.status,
|
|
944
|
-
children:
|
|
945
|
-
}), e.trailing != null && /* @__PURE__ */ j(
|
|
964
|
+
children: v.statusLabels[e.status]
|
|
965
|
+
}), e.trailing != null && /* @__PURE__ */ j(h, {
|
|
946
966
|
size: "xs",
|
|
947
967
|
className: "tabular-nums",
|
|
948
968
|
children: e.trailing
|
|
@@ -956,11 +976,11 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
|
|
|
956
976
|
e,
|
|
957
977
|
S,
|
|
958
978
|
a,
|
|
959
|
-
|
|
979
|
+
v.statusLabels
|
|
960
980
|
]);
|
|
961
|
-
return /* @__PURE__ */ j(
|
|
981
|
+
return /* @__PURE__ */ j(k, {
|
|
962
982
|
..._,
|
|
963
|
-
"aria-label": _["aria-label"] ??
|
|
983
|
+
"aria-label": _["aria-label"] ?? v.treeAria,
|
|
964
984
|
items: C,
|
|
965
985
|
selectedValues: r === void 0 ? [] : [r],
|
|
966
986
|
expandedValues: S,
|
|
@@ -969,8 +989,8 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
|
|
|
969
989
|
disabled: c,
|
|
970
990
|
indent: o,
|
|
971
991
|
strings: {
|
|
972
|
-
expand: (e) => `${
|
|
973
|
-
collapse: (e) => `${
|
|
992
|
+
expand: (e) => `${v.expandAria}: ${e}`,
|
|
993
|
+
collapse: (e) => `${v.collapseAria}: ${e}`
|
|
974
994
|
},
|
|
975
995
|
onExpandedValuesChange: (e, t) => {
|
|
976
996
|
u === void 0 && x(e), f?.(e, t.data);
|
|
@@ -978,17 +998,17 @@ function $({ nodes: e, selectedId: r, onSelect: i, hideStatusLabels: a = !1, ind
|
|
|
978
998
|
onSelectedValuesChange: (e, t) => {
|
|
979
999
|
t.data?.kind === "file" && i?.(t.data);
|
|
980
1000
|
},
|
|
981
|
-
renderLabel: (e) => /* @__PURE__ */ j(
|
|
1001
|
+
renderLabel: (e) => /* @__PURE__ */ j(g, {
|
|
982
1002
|
size: "inherit",
|
|
983
1003
|
weight: "regular",
|
|
984
1004
|
className: n("ai-file-tree--name text-inherit wrap-anywhere", e.data?.status === "removed" && "line-through"),
|
|
985
1005
|
children: e.label
|
|
986
1006
|
}),
|
|
987
|
-
className: n("ai-file-tree--component",
|
|
1007
|
+
className: n("ai-file-tree--component", p)
|
|
988
1008
|
});
|
|
989
1009
|
}
|
|
990
1010
|
$.displayName = "AiFileTree";
|
|
991
1011
|
//#endregion
|
|
992
|
-
export {
|
|
1012
|
+
export { _e as AiAgent, be as AiArtifact, de as AiAttachment, ae as AiChainOfThought, G as AiCitation, ze as AiClassificationPanel, ie as AiCodeBlock, L as AiConfidence, ce as AiConfirmation, U as AiFeedback, $ as AiFileTree, q as AiInlineCitation, re as AiMessageBubble, Y as AiPackageInfo, z as AiPromptSuggestions, ye as AiReasoning, we as AiShimmer, pe as AiSources, Re as AiSummaryBlock, ve as AiTask, V as AiTokenUsage, oe as AiToolCall, me as defaultAiAgentStrings, he as defaultAiArtifactStrings, ue as defaultAiAttachmentStrings, ge as defaultAiChainOfThoughtStrings, W as defaultAiCitationStrings, Se as defaultAiCodeBlockStrings, I as defaultAiConfidenceStrings, le as defaultAiConfirmationStrings, H as defaultAiFeedbackStrings, Z as defaultAiFileTreeStrings, K as defaultAiInlineCitationStrings, ne as defaultAiMessageBubbleStrings, J as defaultAiPackageInfoStrings, R as defaultAiPromptSuggestionsStrings, se as defaultAiReasoningStrings, xe as defaultAiSourcesStrings, fe as defaultAiTaskStrings, B as defaultAiTokenUsageStrings, Ce as defaultAiToolCallStrings };
|
|
993
1013
|
|
|
994
1014
|
//# sourceMappingURL=ai.js.map
|