@8wave/ai-elements 0.125.0-beta.36 → 0.125.0-beta.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-DsRAk1js.js → PkChatbotFilePreview-Dt0ygdJM.js} +2 -2
  2. package/dist/_chunks/{PkChatbotFilePreview-DsRAk1js.js.map → PkChatbotFilePreview-Dt0ygdJM.js.map} +1 -1
  3. package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js → PkEditorRadioButtons-Br4c42KS.js} +2 -2
  4. package/dist/_chunks/{PkEditorRadioButtons-ClUWPayk.js.map → PkEditorRadioButtons-Br4c42KS.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreview-Bic0SA47.js → PkFilePreview-BdqdC1ml.js} +5 -5
  6. package/dist/_chunks/{PkFilePreview-Bic0SA47.js.map → PkFilePreview-BdqdC1ml.js.map} +1 -1
  7. package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js → PkFilePreviewDialog-_pdW07pm.js} +3 -3
  8. package/dist/_chunks/{PkFilePreviewDialog-WKJ0Zm3O.js.map → PkFilePreviewDialog-_pdW07pm.js.map} +1 -1
  9. package/dist/_chunks/{PkHeldImage-CtIvSX8O.js → PkHeldImage-H7-q7WrE.js} +2 -2
  10. package/dist/_chunks/{PkHeldImage-CtIvSX8O.js.map → PkHeldImage-H7-q7WrE.js.map} +1 -1
  11. package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js → PkImageEditorDialog-D-ikpGo8.js} +5 -5
  12. package/dist/_chunks/{PkImageEditorDialog-BQwM06kT.js.map → PkImageEditorDialog-D-ikpGo8.js.map} +1 -1
  13. package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js → PkLazyImg-DTGucEQ9.js} +2 -2
  14. package/dist/_chunks/{PkLazyImg-Dmu5wBpK.js.map → PkLazyImg-DTGucEQ9.js.map} +1 -1
  15. package/dist/_chunks/{PkSelectionActions-mna8QQGY.js → PkSelectionActions-CjAiM1G3.js} +2 -2
  16. package/dist/_chunks/{PkSelectionActions-mna8QQGY.js.map → PkSelectionActions-CjAiM1G3.js.map} +1 -1
  17. package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js → PkToolChatFile-39PrHVVm.js} +3 -3
  18. package/dist/_chunks/{PkToolChatFile-CTBwDxvV.js.map → PkToolChatFile-39PrHVVm.js.map} +1 -1
  19. package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js → PkToolRequestGeolocation-CMSIJu4c.js} +2 -2
  20. package/dist/_chunks/{PkToolRequestGeolocation-XmQTnuwg.js.map → PkToolRequestGeolocation-CMSIJu4c.js.map} +1 -1
  21. package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js → PkToolRequestOAuthConnection-ClVVaEuK.js} +3 -3
  22. package/dist/_chunks/{PkToolRequestOAuthConnection-BSKa66Nf.js.map → PkToolRequestOAuthConnection-ClVVaEuK.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js → PkToolShareDocument-Bxm1pSpj.js} +3 -3
  24. package/dist/_chunks/{PkToolShareDocument-D5K3uJ2x.js.map → PkToolShareDocument-Bxm1pSpj.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js → PkToolShowArtifact-D1AOFL1o.js} +2 -2
  26. package/dist/_chunks/{PkToolShowArtifact-C27hZNJd.js.map → PkToolShowArtifact-D1AOFL1o.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js → PkToolShowCalendarEvent-Bf1fBrjf.js} +4 -4
  28. package/dist/_chunks/{PkToolShowCalendarEvent-Cq_ApwVL.js.map → PkToolShowCalendarEvent-Bf1fBrjf.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js → PkToolShowComparison-BURyhuOx.js} +3 -3
  30. package/dist/_chunks/{PkToolShowComparison-CmIDi-5O.js.map → PkToolShowComparison-BURyhuOx.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js → PkToolShowContactForm-CTitUxv_.js} +4 -4
  32. package/dist/_chunks/{PkToolShowContactForm-VVgxhvQd.js.map → PkToolShowContactForm-CTitUxv_.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js → PkToolShowDiagram-CwINVecL.js} +3 -3
  34. package/dist/_chunks/{PkToolShowDiagram-jpaEAi2X.js.map → PkToolShowDiagram-CwINVecL.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js → PkToolShowEmail-mGLOd6zf.js} +4 -4
  36. package/dist/_chunks/{PkToolShowEmail-Cdwe_01-.js.map → PkToolShowEmail-mGLOd6zf.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js → PkToolShowForm-YaDgT_04.js} +5 -5
  38. package/dist/_chunks/{PkToolShowForm-C4t_v1ps.js.map → PkToolShowForm-YaDgT_04.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js → PkToolShowImageGallery-BVrcfe_b.js} +3 -3
  40. package/dist/_chunks/{PkToolShowImageGallery-y3iOOanc.js.map → PkToolShowImageGallery-BVrcfe_b.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js → PkToolShowLocation-BYkY2CEF.js} +4 -4
  42. package/dist/_chunks/{PkToolShowLocation-7Uqe4JnF.js.map → PkToolShowLocation-BYkY2CEF.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowMessage-BPugVukY.js → PkToolShowMessage-CvxABht3.js} +4 -4
  44. package/dist/_chunks/{PkToolShowMessage-BPugVukY.js.map → PkToolShowMessage-CvxABht3.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js → PkToolShowProductList-CYNh8YRF.js} +4 -4
  46. package/dist/_chunks/{PkToolShowProductList-CTB2wcrz.js.map → PkToolShowProductList-CYNh8YRF.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js → PkToolShowQrCode-DgnNA0rU.js} +3 -3
  48. package/dist/_chunks/{PkToolShowQrCode-QcJxu2vI.js.map → PkToolShowQrCode-DgnNA0rU.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js → PkToolShowSources-BvH0el0N.js} +3 -3
  50. package/dist/_chunks/{PkToolShowSources-Byv7DkHR.js.map → PkToolShowSources-BvH0el0N.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js → PkToolShowSuggestedReply-PHcre0Ff.js} +2 -2
  52. package/dist/_chunks/{PkToolShowSuggestedReply-D8FQu6Pd.js.map → PkToolShowSuggestedReply-PHcre0Ff.js.map} +1 -1
  53. package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js → PkToolShowVideo-SiP-5Ekl.js} +3 -3
  54. package/dist/_chunks/{PkToolShowVideo-B8Ql2lYD.js.map → PkToolShowVideo-SiP-5Ekl.js.map} +1 -1
  55. package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js → PkToolShowWeather-BMnvmUoO.js} +2 -2
  56. package/dist/_chunks/{PkToolShowWeather-B9HWOU7p.js.map → PkToolShowWeather-BMnvmUoO.js.map} +1 -1
  57. package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js → PkToolShowWebPages-Co_33g_K.js} +4 -4
  58. package/dist/_chunks/{PkToolShowWebPages-CR-eQrdv.js.map → PkToolShowWebPages-Co_33g_K.js.map} +1 -1
  59. package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js → VvButtonLocalized-C8S7XJGv.js} +2 -2
  60. package/dist/_chunks/{VvButtonLocalized-B32dBwWJ.js.map → VvButtonLocalized-C8S7XJGv.js.map} +1 -1
  61. package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js → VvCheckbox.es-DXJ1UB8G.js} +2 -2
  62. package/dist/_chunks/{VvCheckbox.es-DScKyi1x.js.map → VvCheckbox.es-DXJ1UB8G.js.map} +1 -1
  63. package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js → VvCheckboxGroup.es-ZWG2NV9b.js} +2 -2
  64. package/dist/_chunks/{VvCheckboxGroup.es-BuoyBIix.js.map → VvCheckboxGroup.es-ZWG2NV9b.js.map} +1 -1
  65. package/dist/_chunks/{VvCombobox.es-uAWL0Asj.js → VvCombobox.es-D516ShMF.js} +318 -307
  66. package/dist/_chunks/VvCombobox.es-D516ShMF.js.map +1 -0
  67. package/dist/_chunks/{VvInputText.es-Cw6GoyJS.js → VvInputText.es-Dzf_mjzr.js} +250 -239
  68. package/dist/_chunks/VvInputText.es-Dzf_mjzr.js.map +1 -0
  69. package/dist/_chunks/{VvRadio.es-Betfu_P8.js → VvRadio.es-CksG97Js.js} +2 -2
  70. package/dist/_chunks/{VvRadio.es-Betfu_P8.js.map → VvRadio.es-CksG97Js.js.map} +1 -1
  71. package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js → VvRadioGroup.es-Bo2Pf354.js} +2 -2
  72. package/dist/_chunks/{VvRadioGroup.es-CEzr2_1l.js.map → VvRadioGroup.es-Bo2Pf354.js.map} +1 -1
  73. package/dist/_chunks/{VvSelect.es-BLMFR1iC.js → VvSelect.es-DpN2t0Oh.js} +3 -3
  74. package/dist/_chunks/{VvSelect.es-BLMFR1iC.js.map → VvSelect.es-DpN2t0Oh.js.map} +1 -1
  75. package/dist/_chunks/{VvTextarea.es-CFZHoQWF.js → VvTextarea.es-GlakViWr.js} +347 -336
  76. package/dist/_chunks/VvTextarea.es-GlakViWr.js.map +1 -0
  77. package/dist/_chunks/{iconify-oSMMdRMF.js → iconify-Cj-qXWYO.js} +175 -175
  78. package/dist/_chunks/{iconify-oSMMdRMF.js.map → iconify-Cj-qXWYO.js.map} +1 -1
  79. package/dist/_chunks/{index.es-DKgwv-Tl.js → index.es-0ah-ssIE.js} +10 -10
  80. package/dist/_chunks/{index.es-DKgwv-Tl.js.map → index.es-0ah-ssIE.js.map} +1 -1
  81. package/dist/_chunks/{index.es-D-aOuzzp.js → index.es-DIHz5I8K.js} +152 -141
  82. package/dist/_chunks/index.es-DIHz5I8K.js.map +1 -0
  83. package/dist/ai-elements.es.js +46 -46
  84. package/dist/ai-elements.es.js.map +1 -1
  85. package/dist-vue/PkChatbot.js +1 -1
  86. package/dist-vue/PkChatbotAuth.js +1 -1
  87. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  88. package/dist-vue/PkChatbotMessages.js +1 -1
  89. package/dist-vue/PkChatbotViewChat.js +1 -1
  90. package/dist-vue/_chunks/{PkChatbot-BtJsIn4h.js → PkChatbot-CfBea2qY.js} +2 -2
  91. package/dist-vue/_chunks/{PkChatbot-BtJsIn4h.js.map → PkChatbot-CfBea2qY.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js → PkChatbotAuth-Ci9NmbVb.js} +2 -2
  93. package/dist-vue/_chunks/{PkChatbotAuth-Btxg3TF0.js.map → PkChatbotAuth-Ci9NmbVb.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js → PkChatbotFeedbackForm-D3YNMO7m.js} +2 -2
  95. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Bh3tvNUW.js.map → PkChatbotFeedbackForm-D3YNMO7m.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js → PkChatbotMessages-AkfEvXEN.js} +3 -3
  97. package/dist-vue/_chunks/{PkChatbotMessages-Bmrvz0Nv.js.map → PkChatbotMessages-AkfEvXEN.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js → PkChatbotViewChat-CdcZrTJJ.js} +3 -3
  99. package/dist-vue/_chunks/{PkChatbotViewChat-B14w_WuO.js.map → PkChatbotViewChat-CdcZrTJJ.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js → PkFilePreview-DJBrACR3.js} +2 -2
  101. package/dist-vue/_chunks/{PkFilePreview-CTsoIgC0.js.map → PkFilePreview-DJBrACR3.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js → PkFilePreviewDialog-C-m04VEl.js} +2 -2
  103. package/dist-vue/_chunks/{PkFilePreviewDialog-DbTpN0hb.js.map → PkFilePreviewDialog-C-m04VEl.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js → PkToolShowContactForm-CtJSjw8M.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowContactForm-BEWOoCVa.js.map → PkToolShowContactForm-CtJSjw8M.js.map} +1 -1
  106. package/dist-vue/_chunks/{index.es-DSD1KzRg.js → index.es-MFxWj-L1.js} +2 -2
  107. package/dist-vue/_chunks/{index.es-DSD1KzRg.js.map → index.es-MFxWj-L1.js.map} +1 -1
  108. package/dist-vue/index.js +7 -7
  109. package/dist-vue/index.js.map +1 -1
  110. package/package.json +2 -2
  111. package/dist/_chunks/VvCombobox.es-uAWL0Asj.js.map +0 -1
  112. package/dist/_chunks/VvInputText.es-Cw6GoyJS.js.map +0 -1
  113. package/dist/_chunks/VvTextarea.es-CFZHoQWF.js.map +0 -1
  114. package/dist/_chunks/index.es-D-aOuzzp.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"PkEditorRadioButtons-ClUWPayk.js","names":["_useModel","__unplugin_components_0","__unplugin_components_1","_openBlock","_createBlock","_withCtx","_createElementBlock","_Fragment","_renderList","_renderSlot","_mergeProps","_createTextVNode","_toDisplayString","_sfc_main","renderSlot","useModel","mergeModels","mergeProps","init_shared_esm_bundler","renderList","createBlock","Fragment","computed","init_runtime_core_esm_bundler","toDisplayString","useId","withCtx","defineComponent","createTextVNode","createElementBlock","openBlock","fu","hi","PkEditorRadioButtons_default","\"modelValue\"","\"modelModifiers\"","props","__props","modelValue","uid","groupName","radioModifiers","_component_VvRadio","_component_VvRadioGroup","_cache","$event","option","_ctx"],"sources":["../../../../packages/components/src/PkEditorRadioButtons.vue","../../../../packages/components/src/PkEditorRadioButtons.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import type { Option } from '@volverjs/ui-vue'\n import { computed, useId } from 'vue'\n\n const props = defineProps<{\n name: string\n label?: string\n hintLabel?: string\n invalid?: boolean\n invalidLabel?: string | string[]\n required?: boolean\n options: Option[]\n readonly?: boolean\n disabled?: boolean\n modifiers?: string | string[]\n /**\n * Render the options as one segmented control (a recessed track with\n * the chosen option raised) instead of a row of boxed cards. Suits a\n * choice between a few short named states, such as a level or a mode.\n */\n segmented?: boolean\n }>()\n\n const modelValue = defineModel<\n string | number | boolean | symbol | unknown[] | undefined\n >({ default: undefined })\n\n // Native radios group by their name attribute across the whole document, so\n // two instances sharing one name become a single group: the browser unchecks\n // the other instance's inputs and Vue never puts them back, because its own\n // model did not change. It happened with \"theme\", offered by the profile\n // menu and the agent settings panel at the same time, and it can happen to\n // any two tool forms with the same step id. Scope the name to the instance.\n const uid = useId()\n const groupName = computed(() => `${props.name}-${uid}`)\n\n const radioModifiers = computed(() => {\n const toReturn = props.modifiers\n ? Array.isArray(props.modifiers)\n ? props.modifiers\n : [props.modifiers]\n : []\n return [...toReturn, props.segmented ? 'segment' : 'card']\n })\n</script>\n\n<template>\n <VvRadioGroup\n v-model=\"modelValue\"\n :name=\"groupName\"\n :label\n :hint-label=\"hintLabel\"\n :invalid\n :invalid-label=\"invalidLabel\"\n :modifiers=\"segmented ? 'segmented' : 'cards'\">\n <VvRadio\n v-for=\"(option, key) in options\"\n :key\n :name=\"groupName\"\n :required\n :readonly\n :disabled\n :value=\"option.value\"\n :modifiers=\"radioModifiers\">\n <slot :name=\"option.value\" v-bind=\"{ option }\">\n {{ option.label }}\n </slot>\n </VvRadio>\n </VvRadioGroup>\n</template>\n","<script setup lang=\"ts\">\n import type { Option } from '@volverjs/ui-vue'\n import { computed, useId } from 'vue'\n\n const props = defineProps<{\n name: string\n label?: string\n hintLabel?: string\n invalid?: boolean\n invalidLabel?: string | string[]\n required?: boolean\n options: Option[]\n readonly?: boolean\n disabled?: boolean\n modifiers?: string | string[]\n /**\n * Render the options as one segmented control (a recessed track with\n * the chosen option raised) instead of a row of boxed cards. Suits a\n * choice between a few short named states, such as a level or a mode.\n */\n segmented?: boolean\n }>()\n\n const modelValue = defineModel<\n string | number | boolean | symbol | unknown[] | undefined\n >({ default: undefined })\n\n // Native radios group by their name attribute across the whole document, so\n // two instances sharing one name become a single group: the browser unchecks\n // the other instance's inputs and Vue never puts them back, because its own\n // model did not change. It happened with \"theme\", offered by the profile\n // menu and the agent settings panel at the same time, and it can happen to\n // any two tool forms with the same step id. Scope the name to the instance.\n const uid = useId()\n const groupName = computed(() => `${props.name}-${uid}`)\n\n const radioModifiers = computed(() => {\n const toReturn = props.modifiers\n ? Array.isArray(props.modifiers)\n ? props.modifiers\n : [props.modifiers]\n : []\n return [...toReturn, props.segmented ? 'segment' : 'card']\n })\n</script>\n\n<template>\n <VvRadioGroup\n v-model=\"modelValue\"\n :name=\"groupName\"\n :label\n :hint-label=\"hintLabel\"\n :invalid\n :invalid-label=\"invalidLabel\"\n :modifiers=\"segmented ? 'segmented' : 'cards'\">\n <VvRadio\n v-for=\"(option, key) in options\"\n :key\n :name=\"groupName\"\n :required\n :readonly\n :disabled\n :value=\"option.value\"\n :modifiers=\"radioModifiers\">\n <slot :name=\"option.value\" v-bind=\"{ option }\">\n {{ option.label }}\n </slot>\n </VvRadio>\n </VvRadioGroup>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAII,IAAMoC,IAAQC,GAmBRC,IAAatC,EAElBqC,GAAA,YAAuB,GAQlBE,IAAMd,EAAM,GACZe,IAAYlB,QAAe,GAAGc,EAAM,KAAK,GAAGG,GAAK,GAEjDE,IAAiBnB,QAMZ,CAAC,GALSc,EAAM,YACjB,MAAM,QAAQA,EAAM,SAAS,IACzBA,EAAM,YACN,CAACA,EAAM,SAAS,IACpB,CAAC,GACcA,EAAM,YAAY,YAAY,MAAM,CAC5D;;;GAID,OAAAjC,EAAA,GAAAC,EAqBeuC,GAAA;IApBF,YAAAL,EAAA;IAAA,uBAAA,AAAAM,EAAA,QAAA,MAAA,EAAU,QAAAC;IAClB,MAAML,EAAA;IACN,OAAAH,EAAA;IACA,cAAYA,EAAA;IACZ,SAAAA,EAAA;IACA,iBAAeA,EAAA;IACf,WAAWA,EAAA,YAAS,cAAA;;IAEjB,SAAAhC,QAAgC,EADpCF,EAAA,EAAA,GAAAG,EAYUC,GAAA,MAAAC,EAXkB6B,EAAA,UAAhB,GAAQ,OADpBlC,EAAA,GAAAC,EAYUsC,GAAA;KAVL;KACA,MAAMF,EAAA;KACN,UAAAH,EAAA;KACA,UAAAA,EAAA;KACA,UAAAA,EAAA;KACA,OAAOS,EAAO;KACd,WAAWL,EAAA;;KACZ,SAAApC,QAEO,CAFPI,EAEOsC,EAAA,QAFMD,EAAO,OAApBpC,EAEO,EAAA,SAAA,GAAA,GAAA,EAF8B,UAAM,CAAA,SAEpC,CADAC,EAAAC,EAAAkC,EAAO,KAAK,GAAA,CAAA,C"}
1
+ {"version":3,"file":"PkEditorRadioButtons-Br4c42KS.js","names":["_useModel","__unplugin_components_0","__unplugin_components_1","_openBlock","_createBlock","_withCtx","_createElementBlock","_Fragment","_renderList","_renderSlot","_mergeProps","_createTextVNode","_toDisplayString","_sfc_main","renderSlot","useModel","mergeModels","mergeProps","init_shared_esm_bundler","renderList","createBlock","Fragment","computed","init_runtime_core_esm_bundler","toDisplayString","useId","withCtx","defineComponent","createTextVNode","createElementBlock","openBlock","bu","$s","PkEditorRadioButtons_default","\"modelValue\"","\"modelModifiers\"","props","__props","modelValue","uid","groupName","radioModifiers","_component_VvRadio","_component_VvRadioGroup","_cache","$event","option","_ctx"],"sources":["../../../../packages/components/src/PkEditorRadioButtons.vue","../../../../packages/components/src/PkEditorRadioButtons.vue"],"sourcesContent":["<script setup lang=\"ts\">\n import type { Option } from '@volverjs/ui-vue'\n import { computed, useId } from 'vue'\n\n const props = defineProps<{\n name: string\n label?: string\n hintLabel?: string\n invalid?: boolean\n invalidLabel?: string | string[]\n required?: boolean\n options: Option[]\n readonly?: boolean\n disabled?: boolean\n modifiers?: string | string[]\n /**\n * Render the options as one segmented control (a recessed track with\n * the chosen option raised) instead of a row of boxed cards. Suits a\n * choice between a few short named states, such as a level or a mode.\n */\n segmented?: boolean\n }>()\n\n const modelValue = defineModel<\n string | number | boolean | symbol | unknown[] | undefined\n >({ default: undefined })\n\n // Native radios group by their name attribute across the whole document, so\n // two instances sharing one name become a single group: the browser unchecks\n // the other instance's inputs and Vue never puts them back, because its own\n // model did not change. It happened with \"theme\", offered by the profile\n // menu and the agent settings panel at the same time, and it can happen to\n // any two tool forms with the same step id. Scope the name to the instance.\n const uid = useId()\n const groupName = computed(() => `${props.name}-${uid}`)\n\n const radioModifiers = computed(() => {\n const toReturn = props.modifiers\n ? Array.isArray(props.modifiers)\n ? props.modifiers\n : [props.modifiers]\n : []\n return [...toReturn, props.segmented ? 'segment' : 'card']\n })\n</script>\n\n<template>\n <VvRadioGroup\n v-model=\"modelValue\"\n :name=\"groupName\"\n :label\n :hint-label=\"hintLabel\"\n :invalid\n :invalid-label=\"invalidLabel\"\n :modifiers=\"segmented ? 'segmented' : 'cards'\">\n <VvRadio\n v-for=\"(option, key) in options\"\n :key\n :name=\"groupName\"\n :required\n :readonly\n :disabled\n :value=\"option.value\"\n :modifiers=\"radioModifiers\">\n <slot :name=\"option.value\" v-bind=\"{ option }\">\n {{ option.label }}\n </slot>\n </VvRadio>\n </VvRadioGroup>\n</template>\n","<script setup lang=\"ts\">\n import type { Option } from '@volverjs/ui-vue'\n import { computed, useId } from 'vue'\n\n const props = defineProps<{\n name: string\n label?: string\n hintLabel?: string\n invalid?: boolean\n invalidLabel?: string | string[]\n required?: boolean\n options: Option[]\n readonly?: boolean\n disabled?: boolean\n modifiers?: string | string[]\n /**\n * Render the options as one segmented control (a recessed track with\n * the chosen option raised) instead of a row of boxed cards. Suits a\n * choice between a few short named states, such as a level or a mode.\n */\n segmented?: boolean\n }>()\n\n const modelValue = defineModel<\n string | number | boolean | symbol | unknown[] | undefined\n >({ default: undefined })\n\n // Native radios group by their name attribute across the whole document, so\n // two instances sharing one name become a single group: the browser unchecks\n // the other instance's inputs and Vue never puts them back, because its own\n // model did not change. It happened with \"theme\", offered by the profile\n // menu and the agent settings panel at the same time, and it can happen to\n // any two tool forms with the same step id. Scope the name to the instance.\n const uid = useId()\n const groupName = computed(() => `${props.name}-${uid}`)\n\n const radioModifiers = computed(() => {\n const toReturn = props.modifiers\n ? Array.isArray(props.modifiers)\n ? props.modifiers\n : [props.modifiers]\n : []\n return [...toReturn, props.segmented ? 'segment' : 'card']\n })\n</script>\n\n<template>\n <VvRadioGroup\n v-model=\"modelValue\"\n :name=\"groupName\"\n :label\n :hint-label=\"hintLabel\"\n :invalid\n :invalid-label=\"invalidLabel\"\n :modifiers=\"segmented ? 'segmented' : 'cards'\">\n <VvRadio\n v-for=\"(option, key) in options\"\n :key\n :name=\"groupName\"\n :required\n :readonly\n :disabled\n :value=\"option.value\"\n :modifiers=\"radioModifiers\">\n <slot :name=\"option.value\" v-bind=\"{ option }\">\n {{ option.label }}\n </slot>\n </VvRadio>\n </VvRadioGroup>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAII,IAAMoC,IAAQC,GAmBRC,IAAatC,EAElBqC,GAAA,YAAuB,GAQlBE,IAAMd,EAAM,GACZe,IAAYlB,QAAe,GAAGc,EAAM,KAAK,GAAGG,GAAK,GAEjDE,IAAiBnB,QAMZ,CAAC,GALSc,EAAM,YACjB,MAAM,QAAQA,EAAM,SAAS,IACzBA,EAAM,YACN,CAACA,EAAM,SAAS,IACpB,CAAC,GACcA,EAAM,YAAY,YAAY,MAAM,CAC5D;;;GAID,OAAAjC,EAAA,GAAAC,EAqBeuC,GAAA;IApBF,YAAAL,EAAA;IAAA,uBAAA,AAAAM,EAAA,QAAA,MAAA,EAAU,QAAAC;IAClB,MAAML,EAAA;IACN,OAAAH,EAAA;IACA,cAAYA,EAAA;IACZ,SAAAA,EAAA;IACA,iBAAeA,EAAA;IACf,WAAWA,EAAA,YAAS,cAAA;;IAEjB,SAAAhC,QAAgC,EADpCF,EAAA,EAAA,GAAAG,EAYUC,GAAA,MAAAC,EAXkB6B,EAAA,UAAhB,GAAQ,OADpBlC,EAAA,GAAAC,EAYUsC,GAAA;KAVL;KACA,MAAMF,EAAA;KACN,UAAAH,EAAA;KACA,UAAAA,EAAA;KACA,UAAAA,EAAA;KACA,OAAOS,EAAO;KACd,WAAWL,EAAA;;KACZ,SAAApC,QAEO,CAFPI,EAEOsC,EAAA,QAFMD,EAAO,OAApBpC,EAEO,EAAA,SAAA,GAAA,GAAA,EAF8B,UAAM,CAAA,SAEpC,CADAC,EAAAC,EAAAkC,EAAO,KAAK,GAAA,CAAA,C"}
@@ -4,11 +4,11 @@ import { r as ie } from "./vue-i18n-POtLvOl1.js";
4
4
  import { i as A, n as j, r as M } from "./excelNumberFormat-BhQjife9.js";
5
5
  import { B as N, G as ae, H as oe, K as P, U as se, V as F, W as ce, o as I, q as le } from "./utils-DYtnrtNk.js";
6
6
  import { d as L, l as ue } from "./dist-D6oUr4J_.js";
7
- import { t as de } from "./index.es-D-aOuzzp.js";
8
- import { t as fe } from "./VvButtonLocalized-B32dBwWJ.js";
9
- import { a as pe, i as R, r as me, t as he } from "./PkSelectionActions-mna8QQGY.js";
7
+ import { r as de } from "./index.es-DIHz5I8K.js";
8
+ import { t as fe } from "./VvButtonLocalized-C8S7XJGv.js";
9
+ import { a as pe, i as R, r as me, t as he } from "./PkSelectionActions-CjAiM1G3.js";
10
10
  import { t as z } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
11
- import { t as ge } from "./PkEditorRadioButtons-ClUWPayk.js";
11
+ import { t as ge } from "./PkEditorRadioButtons-Br4c42KS.js";
12
12
  // ../../packages/components/src/chat/fileSelection.ts
13
13
  var _e = 2e3, B = 1e3, V = 60, H = 1400, U = 20, W = 100, G = (e) => Number(e.slice(1)), ve = (e) => {
14
14
  let t = [...new Set(e)].sort((e, t) => G(e) - G(t)), n = [];
@@ -1637,4 +1637,4 @@ var Nt = ["aria-label"], Pt = { class: "pk-file-preview__head" }, Ft = { class:
1637
1637
  }), Xt = ".pk-file-preview{background-color:var(--color-surface);height:100%;min-height:0;color:var(--color-word-1);outline:none;flex-direction:column;display:flex;position:relative;container-type:inline-size}.pk-file-preview__head{align-items:center;gap:var(--spacing-8) var(--spacing-12);padding:var(--spacing-12) var(--spacing-12) var(--spacing-12) var(--spacing-md);border-bottom:var(--border) solid var(--color-surface-3);flex-wrap:wrap;display:flex}.pk-file-preview__file{align-items:center;gap:var(--spacing-12);flex:12rem;min-width:0;display:flex}.pk-file-preview__tile{width:var(--spacing-32);height:var(--spacing-32);border:var(--border) solid var(--color-surface-3);border-radius:var(--rounded);flex-shrink:0;justify-content:center;align-items:center;display:flex}.pk-file-preview__tile .vv-icon{width:var(--spacing-18);height:var(--spacing-18)}.pk-file-preview__icon--word{color:#2b7de9}.pk-file-preview__icon--sheet{color:#1f9d57}.pk-file-preview__name{flex-direction:column;min-width:0;display:flex}.pk-file-preview__title{font-size:var(--text-14);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pk-file-preview__note{color:var(--color-word-3);font-size:var(--text-12)}.pk-file-preview__tools{align-items:center;gap:var(--spacing-8) var(--spacing-12);flex-wrap:wrap;display:flex}.pk-file-preview__versions{align-items:center;gap:var(--spacing-2);display:flex}.pk-file-preview__version{font-size:var(--text-14);font-weight:var(--font-semibold);font-variant-numeric:tabular-nums;white-space:nowrap}.pk-file-preview__actions{align-items:center;gap:var(--spacing-8);margin-left:auto;display:flex}@container (width<52rem){.pk-file-preview__file{order:1}.pk-file-preview__actions{order:2}.pk-file-preview__tools{flex-basis:100%;order:3}.pk-file-preview__tools .pk-file-preview__modes{flex:auto}}.pk-file-preview__mode-short{display:none}@container (width<38rem){.pk-file-preview__mode-long{display:none}.pk-file-preview__mode-short{display:inline}}@container (width<30rem){.pk-file-preview__tools .pk-file-preview__modes{flex:100%}.pk-file-preview__tools .pk-file-preview__modes .vv-radio{padding-inline:var(--spacing-4)}}.pk-file-preview__body{background-color:var(--color-surface-1);flex-direction:column;flex:1;min-height:0;display:flex}.pk-file-preview__skeleton{width:min(42rem, 100% - 2 * var(--spacing-md));margin:var(--spacing-md) auto;padding:var(--spacing-lg);box-sizing:border-box;border:var(--border) solid var(--color-surface-3);border-radius:var(--rounded);background-color:var(--color-surface)}.pk-file-preview__skeleton-line{height:var(--spacing-12);margin-bottom:var(--spacing-12);border-radius:var(--rounded)}.pk-file-preview__empty{margin:var(--spacing-lg) var(--spacing-md);color:var(--color-word-3);font-size:var(--text-14);text-align:center}", Zt = /* @__PURE__ */ e({ default: () => Qt }), Qt = /*#__PURE__*/ z(Yt, [["styles", [Xt]]]);
1638
1638
  export { Zt as n, Qt as t };
1639
1639
 
1640
- //# sourceMappingURL=PkFilePreview-Bic0SA47.js.map
1640
+ //# sourceMappingURL=PkFilePreview-BdqdC1ml.js.map