n8n-editor-ui 1.97.0 → 1.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/dist/assets/{AnimatedSpinner-BbE6jHOu.js → AnimatedSpinner-CeafaU8r.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BZ2GH0iH.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B6tcMuMJ.js} +1 -1
  3. package/dist/assets/{AuthView-CrlqfMI5.js → AuthView-DcxHdw3B.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-CaiSjHFG.css → AuthView-jgkkdJYL.css} +29 -90
  5. package/dist/assets/{ChangePasswordView-DBFF8086.js → ChangePasswordView-C-_Y-Wdn.js} +3 -3
  6. package/dist/assets/CollectionParameter-Dal7qnlG.js +4 -0
  7. package/dist/assets/{CredentialsView-B9s5TscM.js → CredentialsView-B4AQUpNx.js} +7 -7
  8. package/dist/assets/DemoFooter-DV5GQmvM.js +22 -0
  9. package/dist/assets/{ErrorView-B6u3dXpH.js → ErrorView-OKh_lVSY.js} +1 -1
  10. package/dist/assets/{EvaluationsRootView-C1FnaqZ_.js → EvaluationsRootView-D2dmekKB.js} +25 -18
  11. package/dist/assets/{EvaluationsView-CYXSwzgF.js → EvaluationsView-CKUqX-AI.js} +3 -3
  12. package/dist/assets/{ExecutionsTime--_6xBkkx.css → ExecutionsTime-BDLkVZem.css} +25 -17
  13. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ceq2psmv.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-C-Hx4KA-.js} +52 -15
  14. package/dist/assets/{ExecutionsView-Cc64SfIc.js → ExecutionsView-WztTT6H6.js} +8 -8
  15. package/dist/assets/{FileSaver.min-Disj8eb5.js → FileSaver.min-sGd5mes-.js} +1 -1
  16. package/dist/assets/{FixedCollectionParameter-DrqR-CZn.js → FixedCollectionParameter-Cn2WDdQw.js} +2 -2
  17. package/dist/assets/{FixedCollectionParameter-CgLfAVkQ.css → FixedCollectionParameter-DjlaZyUQ.css} +18 -18
  18. package/dist/assets/{ForgotMyPasswordView-DnoUd6bs.js → ForgotMyPasswordView-DxQoCGIP.js} +3 -3
  19. package/dist/assets/{InsightsChartAverageRuntime-BaVGCN4s.js → InsightsChartAverageRuntime-CB5N_io5.js} +4 -4
  20. package/dist/assets/{InsightsChartFailed--Ck66zdr.js → InsightsChartFailed-Y-mbC7CD.js} +4 -4
  21. package/dist/assets/{InsightsChartFailureRate-BEnyD778.js → InsightsChartFailureRate-6zPSfC-G.js} +4 -4
  22. package/dist/assets/{InsightsChartTimeSaved-Chx9AJ6h.js → InsightsChartTimeSaved-Bih3Ry4R.js} +4 -4
  23. package/dist/assets/{InsightsChartTotal-BNA21_XU.js → InsightsChartTotal-N-9xWBIy.js} +4 -4
  24. package/dist/assets/{InsightsDashboard-Bsy2cANM.js → InsightsDashboard-DN5PbVTp.js} +10 -10
  25. package/dist/assets/{InsightsPaywall-GPfXhmE2.js → InsightsPaywall-CV34iKyQ.js} +1 -1
  26. package/dist/assets/{InsightsSummary-B5VSOlKK.js → InsightsSummary-b-sHA8wL.js} +1 -1
  27. package/dist/assets/{InsightsTableWorkflows-6-29Fbmj.js → InsightsTableWorkflows-Cz3GFggF.js} +2 -2
  28. package/dist/assets/{Logo-Bt_6IpKO.js → Logo-CTlaJzVH.js} +1 -1
  29. package/dist/assets/{LogsPanel-D7j-yJQx.css → LogsPanel-DVSP-ORT.css} +896 -896
  30. package/dist/assets/{LogsPanel-BOr-dFe3.js → LogsPanel-Dfj2Ol1s.js} +4768 -4594
  31. package/dist/assets/{MainHeader-C6Jx0rXI.js → MainHeader-BHGtRsRJ.js} +84 -94
  32. package/dist/assets/{MainHeader-CGwvFs2B.css → MainHeader-BRl77CT3.css} +27 -26
  33. package/dist/assets/{MainSidebar-BXXytBar.js → MainSidebar-BGXtPjO-.js} +32 -20
  34. package/dist/assets/{NodeCreation-BIfVMPa7.js → NodeCreation-DfKAwFJq.js} +3 -3
  35. package/dist/assets/{NodeCreator-DLiTvqLI.js → NodeCreator-D1mNPRWq.js} +20 -5
  36. package/dist/assets/{NodeDetailsView-BDF0fGMs.js → NodeDetailsView-DIo1g1iE.js} +628 -2203
  37. package/dist/assets/{NodeDetailsView-6JHPI3t-.css → NodeDetailsView-DWA1ZgwG.css} +349 -1000
  38. package/dist/assets/{NodeView-DgdMFdhk.js → NodeView-CFUh-L67.js} +2817 -548
  39. package/dist/assets/{NodeView-BdvXMmMp.css → NodeView-Duifly4c.css} +1274 -32
  40. package/dist/assets/{ProjectCardBadge-CofRlXsk.js → ProjectCardBadge-CWPzWiZa.js} +1 -1
  41. package/dist/assets/{ProjectHeader-BvA7Wpwr.js → ProjectHeader-Ddqs2fwN.js} +2 -2
  42. package/dist/assets/{ProjectSettings-BgunHp-2.css → ProjectSettings-8tvaQJye.css} +9 -10
  43. package/dist/assets/{ProjectSettings-CrDC-3_3.js → ProjectSettings-DFwkW9xy.js} +9 -9
  44. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DxNGSSoO.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CTSX9GvK.js} +1 -1
  45. package/dist/assets/{ResourcesListLayout-qljecvR-.js → ResourcesListLayout-DZR7Zzzo.js} +2 -2
  46. package/dist/assets/{RunData-XsmLcFYS.css → RunData-B5_okvCv.css} +205 -205
  47. package/dist/assets/{RunData-CYDMlaQ6.js → RunData-D_KDVdF4.js} +1083 -1630
  48. package/dist/assets/{RunDataJson-D5izLqQI.js → RunDataJson-LDc1ImEr.js} +6 -6
  49. package/dist/assets/{RunDataJsonActions-DAaYLHZc.js → RunDataJsonActions-DH83rAfY.js} +1 -1
  50. package/dist/assets/{RunDataParsedAiContent-DHxyWJHq.js → RunDataParsedAiContent-BU8uoK2N.js} +4 -4
  51. package/dist/assets/{RunDataSearch-TEurtb6F.js → RunDataSearch-DGVpnOkl.js} +1 -1
  52. package/dist/assets/{RunDataTable-s1WZYFih.js → RunDataTable-CSRGOCHh.js} +2 -2
  53. package/dist/assets/{SamlOnboarding-DiA_qmVn.js → SamlOnboarding-CQ4b1hlf.js} +3 -3
  54. package/dist/assets/{SettingsApiView-DeQV4O5K.js → SettingsApiView-DHQc2KYI.js} +1 -1
  55. package/dist/assets/{SettingsCommunityNodesView-C6qJjOCf.js → SettingsCommunityNodesView-C9utcS3k.js} +4 -4
  56. package/dist/assets/{SettingsExternalSecrets-kDlbID-f.js → SettingsExternalSecrets-DcD2lv4W.js} +1 -1
  57. package/dist/assets/{SettingsLdapView-C3NEUPyD.js → SettingsLdapView-DiL_dbfx.js} +1 -1
  58. package/dist/assets/{SettingsLogStreamingView-BgCKenqc.js → SettingsLogStreamingView-CN_D-m7S.js} +1 -1
  59. package/dist/assets/{SettingsPersonalView-CwV8ImYG.css → SettingsPersonalView-Bt8bL5tJ.css} +19 -15
  60. package/dist/assets/{SettingsPersonalView-Dp-2_nD5.js → SettingsPersonalView-DutmrxU7.js} +58 -10
  61. package/dist/assets/{SettingsSourceControl-BV2_t2Wa.js → SettingsSourceControl-DeBjBqNW.js} +2 -2
  62. package/dist/assets/{SettingsSso-D_XFdxcB.js → SettingsSso-xIee31bc.js} +1 -1
  63. package/dist/assets/{SettingsUsageAndPlan-BAVUu2N4.js → SettingsUsageAndPlan-Dv-wky39.js} +1 -1
  64. package/dist/assets/{SettingsUsersView-CQapkyv7.js → SettingsUsersView-JfPgtJEV.js} +1 -1
  65. package/dist/assets/{SettingsView--1XR6uFD.js → SettingsView-CHu8eepA.js} +1 -1
  66. package/dist/assets/{SetupView-DG1s9QDh.js → SetupView-UIS9B4wr.js} +3 -3
  67. package/dist/assets/{SetupWorkflowCredentialsButton-ZIVPumDO.js → SetupWorkflowCredentialsButton-Bs2dYq3b.js} +1 -1
  68. package/dist/assets/{SetupWorkflowFromTemplateView-D7uZMweH.js → SetupWorkflowFromTemplateView-BTFARopX.js} +3 -3
  69. package/dist/assets/{SigninView-KCgNlhVY.js → SigninView-B1eEz_t4.js} +12 -4
  70. package/dist/assets/{SignoutView-pE0DDq5n.js → SignoutView-CV1Qsb3z.js} +1 -1
  71. package/dist/assets/{SignupView-D2f_BLTD.js → SignupView-C2cyiw-C.js} +3 -3
  72. package/dist/assets/{TemplateDetails-BSsv4B85.js → TemplateDetails-MawFSspH.js} +1 -1
  73. package/dist/assets/{TemplateList-B1Ar74SB.js → TemplateList-AnYGr5-6.js} +1 -1
  74. package/dist/assets/{TemplatesCollectionView-BZGuPEOb.js → TemplatesCollectionView-xd0kx-UE.js} +5 -5
  75. package/dist/assets/{TemplatesSearchView-qjVhluXk.js → TemplatesSearchView-ngTSHAkQ.js} +30 -3
  76. package/dist/assets/{TemplatesView-ubkT9s02.js → TemplatesView-BAX6LGxX.js} +1 -1
  77. package/dist/assets/{TemplatesWorkflowView-Cyp0osv7.js → TemplatesWorkflowView-DGd4xJ_J.js} +5 -5
  78. package/dist/assets/{VariablesView-BrzvF0ZW.css → VariablesView-2BSJPXRB.css} +5 -5
  79. package/dist/assets/{VariablesView-DqqeMAgz.js → VariablesView-CwEnfQxV.js} +5 -5
  80. package/dist/assets/{WorkerView-BupSGWdO.js → WorkerView-DtXiHaTA.js} +6 -6
  81. package/dist/assets/{WorkflowExecutionsPreview-D7jTJ8GL.css → WorkflowActivator-C0R6Yly0.css} +162 -160
  82. package/dist/assets/{WorkflowActivator-D-Hnqidn.js → WorkflowActivator-CLLu_k_M.js} +14 -261
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-DbWLcKUA.js → WorkflowExecutionsInfoAccordion-vFGtC4-o.js} +3 -3
  84. package/dist/assets/{WorkflowExecutionsLandingPage-LVa1eb_l.js → WorkflowExecutionsLandingPage-Dp7WJMF0.js} +2 -2
  85. package/dist/assets/WorkflowExecutionsPreview-BgpOEXPG.css +711 -0
  86. package/dist/assets/WorkflowExecutionsPreview-w7h7YCEJ.js +812 -0
  87. package/dist/assets/{WorkflowExecutionsView-BZSYh9z9.js → WorkflowExecutionsView-BzKlwTMm.js} +8 -9
  88. package/dist/assets/{WorkflowExecutionsView-CZziPgtr.css → WorkflowExecutionsView-_l8AgWIb.css} +2 -2
  89. package/dist/assets/{WorkflowHistory-JVBDHINt.js → WorkflowHistory-CT3kO5Sn.js} +18 -18
  90. package/dist/assets/{WorkflowOnboardingView-Dy-1IC0L.js → WorkflowOnboardingView-C3gpu3_i.js} +1 -1
  91. package/dist/assets/{WorkflowPreview-Cigbt4bL.js → WorkflowPreview-BZm3MTEb.js} +1 -1
  92. package/dist/assets/{WorkflowsView-CT_wTBkN.js → WorkflowsView-4eqdgz9H.js} +149 -116
  93. package/dist/assets/{WorkflowsView-CQvTAWQ0.css → WorkflowsView-meCWhW8Y.css} +21 -20
  94. package/dist/assets/canvas-C0_KeJmQ.js +5 -0
  95. package/dist/assets/{chartjs.utils-B_2Gs6jF.js → chartjs.utils-Bv6lUve-.js} +2 -2
  96. package/dist/assets/{easyAiWorkflowUtils-Cr-_M_d8.js → easyAiWorkflowUtils-DRIGIHJ7.js} +1 -1
  97. package/dist/assets/en-BcWgUFsO.js +3196 -0
  98. package/dist/assets/{global-link-actions-kPS4H23l.js → global-link-actions-BF0Tj_I9.js} +1 -1
  99. package/dist/assets/{import-curl-DF3kL2Uq.js → import-curl-DsHxi7kp.js} +1 -1
  100. package/dist/assets/{index-B4xpaMaK.css → index-B-xWz5mo.css} +418 -370
  101. package/dist/assets/{index-CYJmC7Ra.js → index-Bpsc-Tmx.js} +56047 -71053
  102. package/dist/assets/{index-CnOUgoOS.js → index-DHKtGXZ1.js} +1 -1
  103. package/dist/assets/pickBy-DIPqytvl.js +27 -0
  104. package/dist/assets/{polyfills-CcXIOoWM.js → polyfills-deFGRMT9.js} +3567 -3611
  105. package/dist/assets/{templateActions-k3pgfZxR.js → templateActions-qdbZojQ1.js} +1 -1
  106. package/dist/assets/{useBeforeUnload-BUo1Q8qu.js → useBeforeUnload-B2awFcaP.js} +1 -1
  107. package/dist/assets/{useExecutionDebugging-D7uUVejC.js → useExecutionDebugging-CYIymPhg.js} +1 -1
  108. package/dist/assets/{useExecutionHelpers-C3ME9bsC.js → useExecutionHelpers-nG7T98Lv.js} +1 -1
  109. package/dist/assets/{useImportCurlCommand-CAgwrnW9.js → useImportCurlCommand-DVjZNYjv.js} +2 -2
  110. package/dist/assets/{useProjectPages-vmgKLBn6.js → useProjectPages-p-uBP4T5.js} +1 -1
  111. package/dist/assets/{usePushConnection-v75Wib9I.js → usePushConnection-B7DMiByn.js} +22 -23
  112. package/dist/assets/{useWorkflowActivate-CDImNya8.js → useWorkflowActivate-CNqz_pHl.js} +4 -3
  113. package/dist/index.html +3 -3
  114. package/package.json +1 -1
  115. package/tsconfig.json +9 -1
  116. package/vite.config.mts +10 -2
  117. package/dist/assets/AuthView-D4i2WDPk.css +0 -408
  118. package/dist/assets/CanvasChatSwitch-C3NWFgk4.js +0 -275
  119. package/dist/assets/CollectionParameter-BKrbv9MJ.js +0 -4
  120. package/dist/assets/DemoFooter-DZ9uJIf9.js +0 -23
  121. package/dist/assets/RunDataAi-CxdjuP0A.js +0 -466
  122. package/dist/assets/RunDataAi-D9VLFXIf.css +0 -443
  123. package/dist/assets/WorkflowActivator-CL2wacc7.css +0 -1084
  124. package/dist/assets/WorkflowExecutionsPreview-BxTjr1vz.js +0 -683
  125. package/dist/assets/canvas-hESuR4Ii.js +0 -24
  126. package/dist/assets/pickBy-BJdh6yK0.js +0 -16
  127. package/dist/assets/useWorkflowSaving-C8feAx2_.js +0 -66
@@ -120,54 +120,41 @@
120
120
  -------------------------- */
121
121
  /* BEM
122
122
  -------------------------- */
123
- .chat-file[data-v-70b9370d] {
123
+ ._container_1uwbw_123 {
124
+ font-size: var(--font-size-2xs);
125
+ text-align: left;
126
+ padding-inline-start: var(--spacing-s);
127
+ padding-inline-end: var(--spacing-2xs);
128
+ padding-block: var(--spacing-2xs);
129
+ background-color: var(--color-foreground-xlight);
124
130
  display: flex;
131
+ justify-content: space-between;
125
132
  align-items: center;
126
- flex-wrap: nowrap;
127
- width: -moz-fit-content;
128
- width: fit-content;
129
- max-width: 15rem;
130
- padding: 0.5rem;
131
- border-radius: 0.25rem;
132
- gap: 0.25rem;
133
- font-size: 0.75rem;
134
- background: white;
135
- color: var(--chat--color-dark);
136
- border: 1px solid var(--chat--color-dark);
133
+ line-height: var(--font-line-height-compact);
134
+ }
135
+ ._container_1uwbw_123:last-child {
136
+ /** Panel collapsed */
137
137
  cursor: pointer;
138
138
  }
139
- .chat-file-name-tooltip[data-v-70b9370d] {
140
- overflow: hidden;
139
+ ._container_1uwbw_123:not(:last-child) {
140
+ /** Panel open */
141
+ border-bottom: var(--border-base);
141
142
  }
142
- .chat-file-name[data-v-70b9370d] {
143
+ ._title_1uwbw_144 {
144
+ flex-grow: 1;
145
+ flex-shrink: 1;
143
146
  overflow: hidden;
144
- max-width: 100%;
145
147
  text-overflow: ellipsis;
146
148
  white-space: nowrap;
147
- margin: 0;
148
149
  }
149
- .chat-file-delete[data-v-70b9370d],
150
- .chat-file-preview[data-v-70b9370d] {
151
- background: none;
152
- border: none;
153
- display: block;
154
- cursor: pointer;
150
+ ._actions_1uwbw_152 {
155
151
  flex-shrink: 0;
156
- }
157
- .chat-file-delete[data-v-70b9370d] {
158
- position: relative;
159
- /* Increase hit area for better clickability */
160
- }
161
- .chat-file-delete[data-v-70b9370d]:hover {
162
- color: red;
163
- }
164
- .chat-file-delete[data-v-70b9370d]:before {
165
- content: "";
166
- position: absolute;
167
- top: -10px;
168
- right: -10px;
169
- bottom: -10px;
170
- left: -10px;
152
+ display: flex;
153
+ align-items: center;
154
+ color: var(--color-text-base);
155
+ max-width: 70%;
156
+ /* Let button heights not affect the header height */
157
+ margin-block: calc(-1 * var(--spacing-s));
171
158
  }/* BEM support Func
172
159
  -------------------------- */
173
160
  /* Transition
@@ -290,84 +277,13 @@
290
277
  -------------------------- */
291
278
  /* BEM
292
279
  -------------------------- */
293
- .chat-message {
294
- display: block;
295
- position: relative;
296
- max-width: -moz-fit-content;
297
- max-width: fit-content;
298
- font-size: var(--chat--message--font-size);
299
- padding: var(--chat--message--padding);
300
- border-radius: var(--chat--message--border-radius);
301
- scroll-margin: 3rem;
302
- }
303
- .chat-message .chat-message-actions {
304
- position: absolute;
305
- bottom: calc(100% - 0.5rem);
306
- left: 0;
307
- opacity: 0;
308
- transform: translateY(-0.25rem);
309
- display: flex;
310
- gap: 1rem;
311
- }
312
- .chat-message.chat-message-from-user .chat-message-actions {
313
- left: auto;
314
- right: 0;
315
- }
316
- .chat-message:hover .chat-message-actions {
317
- opacity: 1;
318
- }
319
- .chat-message p {
320
- line-height: var(--chat--message-line-height);
321
- word-wrap: break-word;
322
- }
323
- .chat-message + .chat-message {
324
- margin-top: var(--chat--message--margin-bottom);
325
- }
326
- .chat-message.chat-message-from-user + .chat-message.chat-message-from-bot, .chat-message.chat-message-from-bot + .chat-message.chat-message-from-user {
327
- margin-top: var(--chat--spacing);
328
- }
329
- .chat-message.chat-message-from-bot {
330
- color: var(--chat--message--bot--color);
331
- border-bottom-left-radius: 0;
332
- }
333
- .chat-message.chat-message-from-bot:not(.chat-message-transparent) {
334
- background-color: var(--chat--message--bot--background);
335
- border: var(--chat--message--bot--border);
336
- }
337
- .chat-message.chat-message-from-user {
338
- color: var(--chat--message--user--color);
339
- margin-left: auto;
340
- border-bottom-right-radius: 0;
341
- }
342
- .chat-message.chat-message-from-user:not(.chat-message-transparent) {
343
- background-color: var(--chat--message--user--background);
344
- border: var(--chat--message--user--border);
345
- }
346
- .chat-message > .chat-message-markdown {
347
- display: block;
348
- box-sizing: border-box;
349
- }
350
- .chat-message > .chat-message-markdown > *:first-child {
351
- margin-top: 0;
352
- }
353
- .chat-message > .chat-message-markdown > *:last-child {
354
- margin-bottom: 0;
355
- }
356
- .chat-message > .chat-message-markdown pre {
357
- font-family: inherit;
358
- font-size: inherit;
359
- margin: 0;
360
- white-space: pre-wrap;
361
- box-sizing: border-box;
362
- padding: var(--chat--spacing);
363
- background: var(--chat--message--pre--background);
364
- border-radius: var(--chat--border-radius);
280
+ ._name_1t0q3_123 {
281
+ overflow: hidden;
282
+ text-overflow: ellipsis;
283
+ white-space: nowrap;
365
284
  }
366
- .chat-message .chat-message-files {
367
- display: flex;
368
- flex-wrap: wrap;
369
- gap: 0.25rem;
370
- padding-top: 0.5rem;
285
+ ._name_1t0q3_123 del:not(:last-child) {
286
+ margin-right: var(--spacing-4xs);
371
287
  }/* BEM support Func
372
288
  -------------------------- */
373
289
  /* Transition
@@ -490,163 +406,146 @@
490
406
  -------------------------- */
491
407
  /* BEM
492
408
  -------------------------- */
493
- .chat-button {
494
- display: inline-flex;
495
- text-align: center;
496
- vertical-align: middle;
497
- -webkit-user-select: none;
498
- -moz-user-select: none;
499
- user-select: none;
500
- color: var(--chat--button--color);
501
- background-color: var(--chat--button--background);
502
- border: 1px solid transparent;
503
- padding: var(--chat--button--padding);
504
- font-size: 1rem;
505
- line-height: 1.5;
506
- border-radius: var(--chat--button--border-radius);
507
- transition: color var(--chat--transition-duration) ease-in-out, background-color var(--chat--transition-duration) ease-in-out, border-color var(--chat--transition-duration) ease-in-out, box-shadow var(--chat--transition-duration) ease-in-out;
508
- cursor: pointer;
409
+ ._container_1ohan_123 {
410
+ display: flex;
411
+ align-items: center;
412
+ justify-content: stretch;
413
+ overflow: hidden;
414
+ position: relative;
415
+ z-index: 1;
509
416
  }
510
- .chat-button:hover {
511
- color: var(--chat--button--hover--color);
512
- background-color: var(--chat--button--hover--background);
513
- text-decoration: none;
417
+ ._container_1ohan_123 > * {
418
+ overflow: hidden;
419
+ text-overflow: ellipsis;
420
+ white-space: nowrap;
421
+ padding: var(--spacing-2xs);
514
422
  }
515
- .chat-button:focus {
516
- outline: 0;
517
- box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
423
+ ._background_1ohan_138 {
424
+ position: absolute;
425
+ left: calc(var(--indent-depth) * 32px);
426
+ top: 0;
427
+ width: calc(100% - var(--indent-depth) * 32px);
428
+ height: 100%;
429
+ border-radius: var(--border-radius-base);
430
+ z-index: -1;
518
431
  }
519
- .chat-button:disabled {
520
- opacity: 0.65;
521
- }/* BEM support Func
522
- -------------------------- */
523
- /* Transition
524
- -------------------------- */
525
- /* Color
526
- -------------------------- */
527
- /* Link
528
- -------------------------- */
529
- /* Border
530
- -------------------------- */
531
- /* Outline
532
- -------------------------- */
533
- /* Box shadow
534
- -------------------------- */
535
- /* Fill
536
- -------------------------- */
537
- /* Typography
538
- -------------------------- */
539
- /* z-index
540
- -------------------------- */
541
- /* Disable base
542
- -------------------------- */
543
- /* Icon
544
- -------------------------- */
545
- /* Checkbox
546
- -------------------------- */
547
- /* Radio
548
- -------------------------- */
549
- /* Select
550
- -------------------------- */
551
- /* Alert
552
- -------------------------- */
553
- /* MessageBox
554
- -------------------------- */
555
- /* Message
556
- -------------------------- */
557
- /* Notification
558
- -------------------------- */
559
- /* Input
560
- -------------------------- */
561
- /* Cascader
562
- -------------------------- */
563
- /* Group
564
- -------------------------- */
565
- /* Tab
566
- -------------------------- */
567
- /* Button
568
- -------------------------- */
569
- /* cascader
570
- -------------------------- */
571
- /* Switch
572
- -------------------------- */
573
- /* Dialog
574
- -------------------------- */
575
- /* Table
576
- -------------------------- */
577
- /* Pagination
578
- -------------------------- */
579
- /* Popup
580
- -------------------------- */
581
- /* Popover
582
- -------------------------- */
583
- /* Tooltip
584
- -------------------------- */
585
- /* Tag
586
- -------------------------- */
587
- /* Tree
588
- -------------------------- */
589
- /* Dropdown
590
- -------------------------- */
591
- /* Badge
592
- -------------------------- */
593
- /* Card
594
- --------------------------*/
595
- /* Slider
596
- --------------------------*/
597
- /* Steps
598
- --------------------------*/
599
- /* Menu
600
- --------------------------*/
601
- /* Rate
602
- --------------------------*/
603
- /* DatePicker
604
- --------------------------*/
605
- /* Loading
606
- --------------------------*/
607
- /* Scrollbar
608
- --------------------------*/
609
- /* Carousel
610
- --------------------------*/
611
- /* Collapse
612
- --------------------------*/
613
- /* Transfer
614
- --------------------------*/
615
- /* Header
616
- --------------------------*/
617
- /* Footer
618
- --------------------------*/
619
- /* Main
620
- --------------------------*/
621
- /* Timeline
622
- --------------------------*/
623
- /* Backtop
624
- --------------------------*/
625
- /* Link
626
- --------------------------*/
627
- /* Calendar
628
- --------------------------*/
629
- /* Form
630
- -------------------------- */
631
- /* Avatar
632
- --------------------------*/
633
- /* Break-point
634
- --------------------------*/
635
- /* Break-points
636
- -------------------------- */
637
- /* Scrollbar
638
- -------------------------- */
639
- /* Placeholder
640
- -------------------------- */
641
- /* BEM
642
- -------------------------- */
643
- .chat-get-started {
644
- padding-top: var(--chat--spacing);
645
- padding-bottom: var(--chat--spacing);
646
- display: flex;
647
- justify-content: center;
648
- align-items: center;
432
+ ._selected_1ohan_147 ._background_1ohan_138 {
433
+ background-color: var(--color-foreground-base);
434
+ }
435
+ ._container_1ohan_123:hover:not(._selected_1ohan_147) ._background_1ohan_138 {
436
+ background-color: var(--color-background-light-base);
437
+ }
438
+ ._selected_1ohan_147:not(:hover)._error_1ohan_153 ._background_1ohan_138 {
439
+ background-color: var(--color-danger-tint-2);
440
+ }
441
+ ._indent_1ohan_157 {
442
+ flex-grow: 0;
443
+ flex-shrink: 0;
444
+ width: var(--spacing-xl);
445
+ align-self: stretch;
446
+ position: relative;
447
+ overflow: hidden;
448
+ margin-bottom: 0;
449
+ }
450
+ ._indent_1ohan_157._connectorCurved_1ohan_166:before {
451
+ content: "";
452
+ position: absolute;
453
+ left: var(--spacing-s);
454
+ bottom: var(--spacing-s);
455
+ border: 2px solid var(--color-canvas-dot);
456
+ width: var(--spacing-l);
457
+ height: var(--spacing-l);
458
+ border-radius: var(--border-radius-large);
459
+ }
460
+ ._indent_1ohan_157._connectorStraight_1ohan_176:after {
461
+ content: "";
462
+ position: absolute;
463
+ left: var(--spacing-s);
464
+ top: 0;
465
+ border-left: 2px solid var(--color-canvas-dot);
649
466
  height: 100%;
467
+ }
468
+ ._icon_1ohan_185 {
469
+ margin-left: var(--row-gap-thickness);
470
+ flex-grow: 0;
471
+ flex-shrink: 0;
472
+ }
473
+ ._name_1ohan_191 {
474
+ flex-basis: 0;
475
+ flex-grow: 1;
476
+ padding-inline-start: 0;
477
+ }
478
+ ._timeTook_1ohan_197 {
479
+ flex-grow: 0;
480
+ flex-shrink: 0;
481
+ width: 20%;
482
+ }
483
+ ._timeTook_1ohan_197 ._errorIcon_1ohan_202 {
484
+ margin-right: var(--spacing-4xs);
485
+ vertical-align: text-bottom;
486
+ }
487
+ ._startedAt_1ohan_207 {
488
+ flex-grow: 0;
489
+ flex-shrink: 0;
490
+ width: 25%;
491
+ }
492
+ ._consumedTokens_1ohan_213 {
493
+ flex-grow: 0;
494
+ flex-shrink: 0;
495
+ width: 15%;
496
+ text-align: right;
497
+ }
498
+ ._compactErrorIcon_1ohan_220 {
499
+ flex-grow: 0;
500
+ flex-shrink: 0;
501
+ }
502
+ ._container_1ohan_123:hover ._compactErrorIcon_1ohan_220 {
503
+ display: none;
504
+ }
505
+ ._partialExecutionButton_1ohan_228,
506
+ ._openNdvButton_1ohan_229 {
507
+ transition: none;
508
+ /* By default, take space but keep invisible */
509
+ visibility: hidden;
510
+ }
511
+ ._container_1ohan_123._compact_1ohan_220 ._partialExecutionButton_1ohan_228,
512
+ ._container_1ohan_123._compact_1ohan_220 ._openNdvButton_1ohan_229 {
513
+ /* When compact, collapse to save space */
514
+ display: none;
515
+ }
516
+ ._container_1ohan_123:hover ._partialExecutionButton_1ohan_228:not(._unavailable_1ohan_239),
517
+ ._container_1ohan_123:hover ._openNdvButton_1ohan_229:not(._unavailable_1ohan_239) {
518
+ visibility: visible;
519
+ display: inline-flex;
520
+ }
521
+ ._partialExecutionButton_1ohan_228,
522
+ ._openNdvButton_1ohan_229,
523
+ ._toggleButton_1ohan_247 {
524
+ flex-grow: 0;
525
+ flex-shrink: 0;
526
+ border: none;
527
+ background: transparent;
528
+ color: var(--color-text-base);
529
+ align-items: center;
530
+ justify-content: center;
531
+ }
532
+ ._partialExecutionButton_1ohan_228:last-child,
533
+ ._openNdvButton_1ohan_229:last-child,
534
+ ._toggleButton_1ohan_247:last-child {
535
+ margin-inline-end: var(--spacing-5xs);
536
+ }
537
+ ._partialExecutionButton_1ohan_228:hover,
538
+ ._openNdvButton_1ohan_229:hover,
539
+ ._toggleButton_1ohan_247:hover {
540
+ background: transparent;
541
+ }
542
+ ._partialExecutionButton_1ohan_228:disabled,
543
+ ._openNdvButton_1ohan_229:disabled,
544
+ ._toggleButton_1ohan_247:disabled {
545
+ visibility: hidden !important;
546
+ }
547
+ ._toggleButton_1ohan_247 {
548
+ display: inline-flex;
650
549
  }/* BEM support Func
651
550
  -------------------------- */
652
551
  /* Transition
@@ -769,12 +668,19 @@
769
668
  -------------------------- */
770
669
  /* BEM
771
670
  -------------------------- */
772
- .chat-powered-by {
773
- text-align: center;
671
+ ._container_pt5hk_123 {
672
+ display: flex;
673
+ align-items: center;
774
674
  }
775
- .chat-powered-by a {
776
- color: var(--chat--color-primary);
777
- text-decoration: none;
675
+ ._container_pt5hk_123 > * {
676
+ padding-inline: var(--spacing-2xs);
677
+ flex-shrink: 1;
678
+ overflow: hidden;
679
+ text-overflow: ellipsis;
680
+ white-space: nowrap;
681
+ }
682
+ ._container_pt5hk_123 > *:not(:last-child) {
683
+ border-right: var(--border-base);
778
684
  }/* BEM support Func
779
685
  -------------------------- */
780
686
  /* Transition
@@ -897,8 +803,60 @@
897
803
  -------------------------- */
898
804
  /* BEM
899
805
  -------------------------- */
900
- .chat-get-started-footer {
901
- padding: var(--chat--spacing);
806
+ ._container_fcgc7_123 {
807
+ flex-grow: 1;
808
+ flex-shrink: 1;
809
+ display: flex;
810
+ flex-direction: column;
811
+ align-items: stretch;
812
+ overflow: hidden;
813
+ background-color: var(--color-foreground-xlight);
814
+ }
815
+ ._clearButton_fcgc7_133 {
816
+ border: none;
817
+ color: var(--color-text-light);
818
+ gap: var(--spacing-5xs);
819
+ }
820
+ ._content_fcgc7_139 {
821
+ position: relative;
822
+ flex-grow: 1;
823
+ overflow: auto;
824
+ display: flex;
825
+ flex-direction: column;
826
+ align-items: stretch;
827
+ justify-content: stretch;
828
+ }
829
+ ._content_fcgc7_139._empty_fcgc7_148 {
830
+ align-items: center;
831
+ justify-content: center;
832
+ }
833
+ ._emptyText_fcgc7_153 {
834
+ max-width: 20em;
835
+ text-align: center;
836
+ }
837
+ ._summary_fcgc7_158 {
838
+ padding: var(--spacing-2xs);
839
+ }
840
+ ._tree_fcgc7_162 {
841
+ padding: 0 var(--spacing-2xs) var(--spacing-2xs) var(--spacing-2xs);
842
+ scroll-padding-block: var(--spacing-3xs);
843
+ }
844
+ ._tree_fcgc7_162 .el-icon {
845
+ display: none;
846
+ }
847
+ ._switchViewButtons_fcgc7_170 {
848
+ position: absolute;
849
+ z-index: 10; /* higher than log entry rows background */
850
+ right: 0;
851
+ top: 0;
852
+ margin: var(--spacing-4xs) var(--spacing-2xs);
853
+ visibility: hidden;
854
+ opacity: 0;
855
+ transition: opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
856
+ }
857
+ ._content_fcgc7_139:hover ._switchViewButtons_fcgc7_170 {
858
+ visibility: visible;
859
+ opacity: 1;
902
860
  }/* BEM support Func
903
861
  -------------------------- */
904
862
  /* Transition
@@ -1021,103 +979,54 @@
1021
979
  -------------------------- */
1022
980
  /* BEM
1023
981
  -------------------------- */
1024
- .chat-input[data-v-f0e5731e] {
982
+ .chat-file[data-v-70b9370d] {
1025
983
  display: flex;
1026
- justify-content: center;
1027
984
  align-items: center;
1028
- width: 100%;
1029
- flex-direction: column;
1030
- position: relative;
1031
- }
1032
- .chat-input[data-v-f0e5731e] * {
1033
- box-sizing: border-box;
1034
- }
1035
- .chat-inputs[data-v-f0e5731e] {
1036
- width: 100%;
1037
- display: flex;
1038
- justify-content: center;
1039
- align-items: flex-end;
1040
- }
1041
- .chat-inputs textarea[data-v-f0e5731e] {
1042
- font-family: inherit;
1043
- font-size: var(--chat--input--font-size);
1044
- width: 100%;
1045
- border: var(--chat--input--border, 0);
1046
- border-radius: var(--chat--input--border-radius);
1047
- padding: var(--chat--input--padding);
1048
- min-height: var(--chat--textarea--height, 2.5rem);
1049
- max-height: var(--chat--textarea--max-height);
1050
- height: var(--chat--textarea--height, 2.5rem);
1051
- resize: none;
1052
- overflow-y: auto;
1053
- background: var(--chat--input--background, white);
1054
- color: var(--chat--input--text-color, initial);
1055
- outline: none;
1056
- line-height: var(--chat--input--line-height, 1.5);
1057
- }
1058
- .chat-inputs textarea[data-v-f0e5731e]::-moz-placeholder {
1059
- font-size: var(--chat--input--placeholder--font-size, var(--chat--input--font-size));
1060
- }
1061
- .chat-inputs textarea[data-v-f0e5731e]::placeholder {
1062
- font-size: var(--chat--input--placeholder--font-size, var(--chat--input--font-size));
1063
- }
1064
- .chat-inputs textarea[data-v-f0e5731e]:focus, .chat-inputs textarea[data-v-f0e5731e]:hover {
1065
- border-color: var(--chat--input--border-active, 0);
1066
- }
1067
- .chat-inputs-controls[data-v-f0e5731e] {
1068
- display: flex;
1069
- }
1070
- .chat-input-send-button[data-v-f0e5731e],
1071
- .chat-input-file-button[data-v-f0e5731e] {
1072
- height: var(--chat--textarea--height);
1073
- width: var(--chat--textarea--height);
1074
- background: var(--chat--input--send--button--background, white);
985
+ flex-wrap: nowrap;
986
+ width: -moz-fit-content;
987
+ width: fit-content;
988
+ max-width: 15rem;
989
+ padding: 0.5rem;
990
+ border-radius: 0.25rem;
991
+ gap: 0.25rem;
992
+ font-size: 0.75rem;
993
+ background: white;
994
+ color: var(--chat--color-dark);
995
+ border: 1px solid var(--chat--color-dark);
1075
996
  cursor: pointer;
1076
- color: var(--chat--input--send--button--color, var(--chat--color-secondary));
1077
- border: 0;
1078
- font-size: 24px;
1079
- display: inline-flex;
1080
- align-items: center;
1081
- justify-content: center;
1082
- transition: color var(--chat--transition-duration) ease;
1083
997
  }
1084
- .chat-input-send-button svg[data-v-f0e5731e],
1085
- .chat-input-file-button svg[data-v-f0e5731e] {
1086
- min-width: -moz-fit-content;
1087
- min-width: fit-content;
1088
- }
1089
- .chat-input-send-button[disabled][data-v-f0e5731e],
1090
- .chat-input-file-button[disabled][data-v-f0e5731e] {
1091
- cursor: no-drop;
1092
- color: var(--chat--color-disabled);
998
+ .chat-file-name-tooltip[data-v-70b9370d] {
999
+ overflow: hidden;
1093
1000
  }
1094
- .chat-input-send-button .chat-input-send-button[data-v-f0e5731e]:hover, .chat-input-send-button .chat-input-send-button[data-v-f0e5731e]:focus,
1095
- .chat-input-file-button .chat-input-send-button[data-v-f0e5731e]:hover,
1096
- .chat-input-file-button .chat-input-send-button[data-v-f0e5731e]:focus {
1097
- background: var(--chat--input--send--button--background-hover, var(--chat--input--send--button--background));
1098
- color: var(--chat--input--send--button--color-hover);
1001
+ .chat-file-name[data-v-70b9370d] {
1002
+ overflow: hidden;
1003
+ max-width: 100%;
1004
+ text-overflow: ellipsis;
1005
+ white-space: nowrap;
1006
+ margin: 0;
1099
1007
  }
1100
- .chat-input-file-button[data-v-f0e5731e] {
1101
- background: var(--chat--input--file--button--background, white);
1102
- color: var(--chat--input--file--button--color);
1008
+ .chat-file-delete[data-v-70b9370d],
1009
+ .chat-file-preview[data-v-70b9370d] {
1010
+ background: none;
1011
+ border: none;
1012
+ display: block;
1013
+ cursor: pointer;
1014
+ flex-shrink: 0;
1103
1015
  }
1104
- .chat-input-file-button[data-v-f0e5731e]:hover {
1105
- background: var(--chat--input--file--button--background-hover);
1106
- color: var(--chat--input--file--button--color-hover);
1016
+ .chat-file-delete[data-v-70b9370d] {
1017
+ position: relative;
1018
+ /* Increase hit area for better clickability */
1107
1019
  }
1108
- .chat-files[data-v-f0e5731e] {
1109
- display: flex;
1110
- overflow-x: hidden;
1111
- overflow-y: auto;
1112
- width: 100%;
1113
- flex-direction: row;
1114
- flex-wrap: wrap;
1115
- gap: 0.5rem;
1116
- padding: var(--chat--files-spacing);
1020
+ .chat-file-delete[data-v-70b9370d]:hover {
1021
+ color: red;
1117
1022
  }
1118
- .chat-input-left-panel[data-v-f0e5731e] {
1119
- width: var(--chat--input--left--panel--width);
1120
- margin-left: 0.4rem;
1023
+ .chat-file-delete[data-v-70b9370d]:before {
1024
+ content: "";
1025
+ position: absolute;
1026
+ top: -10px;
1027
+ right: -10px;
1028
+ bottom: -10px;
1029
+ left: -10px;
1121
1030
  }/* BEM support Func
1122
1031
  -------------------------- */
1123
1032
  /* Transition
@@ -1240,49 +1149,84 @@
1240
1149
  -------------------------- */
1241
1150
  /* BEM
1242
1151
  -------------------------- */
1243
- .chat-layout {
1244
- width: 100%;
1245
- height: 100%;
1246
- display: flex;
1247
- overflow-y: auto;
1248
- flex-direction: column;
1249
- font-family: var(--chat--font-family);
1152
+ .chat-message {
1153
+ display: block;
1154
+ position: relative;
1155
+ max-width: -moz-fit-content;
1156
+ max-width: fit-content;
1157
+ font-size: var(--chat--message--font-size);
1158
+ padding: var(--chat--message--padding);
1159
+ border-radius: var(--chat--message--border-radius);
1160
+ scroll-margin: 3rem;
1250
1161
  }
1251
- .chat-layout .chat-header {
1162
+ .chat-message .chat-message-actions {
1163
+ position: absolute;
1164
+ bottom: calc(100% - 0.5rem);
1165
+ left: 0;
1166
+ opacity: 0;
1167
+ transform: translateY(-0.25rem);
1252
1168
  display: flex;
1253
- flex-direction: column;
1254
- justify-content: center;
1255
- gap: 1em;
1256
- height: var(--chat--header-height);
1257
- padding: var(--chat--header--padding);
1258
- background: var(--chat--header--background);
1259
- color: var(--chat--header--color);
1260
- border-top: var(--chat--header--border-top);
1261
- border-bottom: var(--chat--header--border-bottom);
1262
- border-left: var(--chat--header--border-left);
1263
- border-right: var(--chat--header--border-right);
1169
+ gap: 1rem;
1264
1170
  }
1265
- .chat-layout .chat-header h1 {
1266
- font-size: var(--chat--heading--font-size);
1267
- color: var(--chat--header--color);
1171
+ .chat-message.chat-message-from-user .chat-message-actions {
1172
+ left: auto;
1173
+ right: 0;
1268
1174
  }
1269
- .chat-layout .chat-header p {
1270
- font-size: var(--chat--subtitle--font-size);
1271
- line-height: var(--chat--subtitle--line-height);
1175
+ .chat-message:hover .chat-message-actions {
1176
+ opacity: 1;
1272
1177
  }
1273
- .chat-layout .chat-body {
1274
- background: var(--chat--body--background);
1275
- flex: 1;
1276
- display: flex;
1277
- flex-direction: column;
1278
- overflow-y: auto;
1279
- position: relative;
1280
- min-height: 100px;
1178
+ .chat-message p {
1179
+ line-height: var(--chat--message-line-height);
1180
+ word-wrap: break-word;
1281
1181
  }
1282
- .chat-layout .chat-footer {
1283
- border-top: 1px solid var(--chat--color-light-shade-100);
1284
- background: var(--chat--footer--background);
1285
- color: var(--chat--footer--color);
1182
+ .chat-message + .chat-message {
1183
+ margin-top: var(--chat--message--margin-bottom);
1184
+ }
1185
+ .chat-message.chat-message-from-user + .chat-message.chat-message-from-bot, .chat-message.chat-message-from-bot + .chat-message.chat-message-from-user {
1186
+ margin-top: var(--chat--spacing);
1187
+ }
1188
+ .chat-message.chat-message-from-bot {
1189
+ color: var(--chat--message--bot--color);
1190
+ border-bottom-left-radius: 0;
1191
+ }
1192
+ .chat-message.chat-message-from-bot:not(.chat-message-transparent) {
1193
+ background-color: var(--chat--message--bot--background);
1194
+ border: var(--chat--message--bot--border);
1195
+ }
1196
+ .chat-message.chat-message-from-user {
1197
+ color: var(--chat--message--user--color);
1198
+ margin-left: auto;
1199
+ border-bottom-right-radius: 0;
1200
+ }
1201
+ .chat-message.chat-message-from-user:not(.chat-message-transparent) {
1202
+ background-color: var(--chat--message--user--background);
1203
+ border: var(--chat--message--user--border);
1204
+ }
1205
+ .chat-message > .chat-message-markdown {
1206
+ display: block;
1207
+ box-sizing: border-box;
1208
+ }
1209
+ .chat-message > .chat-message-markdown > *:first-child {
1210
+ margin-top: 0;
1211
+ }
1212
+ .chat-message > .chat-message-markdown > *:last-child {
1213
+ margin-bottom: 0;
1214
+ }
1215
+ .chat-message > .chat-message-markdown pre {
1216
+ font-family: inherit;
1217
+ font-size: inherit;
1218
+ margin: 0;
1219
+ white-space: pre-wrap;
1220
+ box-sizing: border-box;
1221
+ padding: var(--chat--spacing);
1222
+ background: var(--chat--message--pre--background);
1223
+ border-radius: var(--chat--border-radius);
1224
+ }
1225
+ .chat-message .chat-message-files {
1226
+ display: flex;
1227
+ flex-wrap: wrap;
1228
+ gap: 0.25rem;
1229
+ padding-top: 0.5rem;
1286
1230
  }/* BEM support Func
1287
1231
  -------------------------- */
1288
1232
  /* Transition
@@ -1405,19 +1349,34 @@
1405
1349
  -------------------------- */
1406
1350
  /* BEM
1407
1351
  -------------------------- */
1408
- .chat-heading {
1409
- display: flex;
1410
- justify-content: space-between;
1411
- align-items: center;
1412
- }
1413
- .chat-close-button {
1414
- display: flex;
1415
- border: none;
1416
- background: none;
1352
+ .chat-button {
1353
+ display: inline-flex;
1354
+ text-align: center;
1355
+ vertical-align: middle;
1356
+ -webkit-user-select: none;
1357
+ -moz-user-select: none;
1358
+ user-select: none;
1359
+ color: var(--chat--button--color);
1360
+ background-color: var(--chat--button--background);
1361
+ border: 1px solid transparent;
1362
+ padding: var(--chat--button--padding);
1363
+ font-size: 1rem;
1364
+ line-height: 1.5;
1365
+ border-radius: var(--chat--button--border-radius);
1366
+ transition: color var(--chat--transition-duration) ease-in-out, background-color var(--chat--transition-duration) ease-in-out, border-color var(--chat--transition-duration) ease-in-out, box-shadow var(--chat--transition-duration) ease-in-out;
1417
1367
  cursor: pointer;
1418
1368
  }
1419
- .chat-close-button:hover {
1420
- color: var(--chat--close--button--color-hover, var(--chat--color-primary));
1369
+ .chat-button:hover {
1370
+ color: var(--chat--button--hover--color);
1371
+ background-color: var(--chat--button--hover--background);
1372
+ text-decoration: none;
1373
+ }
1374
+ .chat-button:focus {
1375
+ outline: 0;
1376
+ box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
1377
+ }
1378
+ .chat-button:disabled {
1379
+ opacity: 0.65;
1421
1380
  }/* BEM support Func
1422
1381
  -------------------------- */
1423
1382
  /* Transition
@@ -1540,67 +1499,13 @@
1540
1499
  -------------------------- */
1541
1500
  /* BEM
1542
1501
  -------------------------- */
1543
- .chat-window-wrapper {
1544
- position: fixed;
1545
- display: flex;
1546
- flex-direction: column;
1547
- bottom: var(--chat--window--bottom);
1548
- right: var(--chat--window--right);
1549
- z-index: var(--chat--window--z-index);
1550
- max-width: calc(100% - var(--chat--window--right, var(--chat--spacing)) * 2);
1551
- max-height: calc(100% - var(--chat--window--bottom, var(--chat--spacing)) * 2);
1552
- }
1553
- .chat-window-wrapper .chat-window {
1502
+ .chat-get-started {
1503
+ padding-top: var(--chat--spacing);
1504
+ padding-bottom: var(--chat--spacing);
1554
1505
  display: flex;
1555
- width: var(--chat--window--width);
1556
- height: var(--chat--window--height);
1557
- max-width: 100%;
1558
- max-height: 100%;
1559
- border: var(--chat--window--border, 1px solid var(--chat--color-light-shade-100));
1560
- border-radius: var(--chat--window--border-radius, var(--chat--border-radius));
1561
- margin-bottom: var(--chat--window--margin-bottom, var(--chat--spacing));
1562
- overflow: hidden;
1563
- transform-origin: bottom right;
1564
- }
1565
- .chat-window-wrapper .chat-window .chat-layout {
1566
- width: auto;
1567
- height: auto;
1568
- flex: 1;
1569
- }
1570
- .chat-window-wrapper .chat-window-toggle {
1571
- flex: 0 0 auto;
1572
- background: var(--chat--toggle--background);
1573
- color: var(--chat--toggle--color);
1574
- cursor: pointer;
1575
- width: var(--chat--toggle--width);
1576
- height: var(--chat--toggle--height);
1577
- border-radius: var(--chat--toggle--border-radius, 50%);
1578
- display: inline-flex;
1579
- align-items: center;
1580
1506
  justify-content: center;
1581
- margin-left: auto;
1582
- transition: transform var(--chat--transition-duration) ease, background var(--chat--transition-duration) ease;
1583
- }
1584
- .chat-window-wrapper .chat-window-toggle:hover, .chat-window-wrapper .chat-window-toggle:focus {
1585
- transform: scale(1.05);
1586
- background: var(--chat--toggle--hover--background);
1587
- }
1588
- .chat-window-wrapper .chat-window-toggle:active {
1589
- transform: scale(0.95);
1590
- background: var(--chat--toggle--active--background);
1591
- }
1592
- .chat-window-transition-enter-active, .chat-window-transition-leave-active {
1593
- transition: transform var(--chat--transition-duration) ease, opacity var(--chat--transition-duration) ease;
1594
- }
1595
- .chat-window-transition-enter-from, .chat-window-transition-leave-to {
1596
- transform: scale(0);
1597
- opacity: 0;
1598
- }
1599
- .chat-window-toggle-transition-enter-active, .chat-window-toggle-transition-leave-active {
1600
- transition: opacity var(--chat--transition-duration) ease;
1601
- }
1602
- .chat-window-toggle-transition-enter-from, .chat-window-toggle-transition-leave-to {
1603
- opacity: 0;
1507
+ align-items: center;
1508
+ height: 100%;
1604
1509
  }/* BEM support Func
1605
1510
  -------------------------- */
1606
1511
  /* Transition
@@ -1723,66 +1628,12 @@
1723
1628
  -------------------------- */
1724
1629
  /* BEM
1725
1630
  -------------------------- */
1726
- .chat-message-typing {
1727
- max-width: 80px;
1728
- }
1729
- .chat-message-typing.chat-message-typing-animation-scaling .chat-message-typing-circle {
1730
- animation: chat-message-typing-animation-scaling 800ms ease-in-out infinite;
1731
- animation-delay: 3600ms;
1732
- }
1733
- .chat-message-typing.chat-message-typing-animation-bouncing .chat-message-typing-circle {
1734
- animation: chat-message-typing-animation-bouncing 800ms ease-in-out infinite;
1735
- animation-delay: 3600ms;
1736
- }
1737
- .chat-message-typing .chat-message-typing-body {
1738
- display: flex;
1739
- justify-content: center;
1740
- align-items: center;
1741
- }
1742
- .chat-message-typing .chat-message-typing-circle {
1743
- display: block;
1744
- height: 10px;
1745
- width: 10px;
1746
- border-radius: 50%;
1747
- background-color: var(--chat--color-typing);
1748
- margin: 3px;
1749
- }
1750
- .chat-message-typing .chat-message-typing-circle:nth-child(1) {
1751
- animation-delay: 0ms;
1752
- }
1753
- .chat-message-typing .chat-message-typing-circle:nth-child(2) {
1754
- animation-delay: 333ms;
1755
- }
1756
- .chat-message-typing .chat-message-typing-circle:nth-child(3) {
1757
- animation-delay: 666ms;
1758
- }
1759
- @keyframes chat-message-typing-animation-scaling {
1760
- 0% {
1761
- transform: scale(1);
1762
- }
1763
- 33% {
1764
- transform: scale(1);
1765
- }
1766
- 50% {
1767
- transform: scale(1.4);
1768
- }
1769
- 100% {
1770
- transform: scale(1);
1771
- }
1772
- }
1773
- @keyframes chat-message-typing-animation-bouncing {
1774
- 0% {
1775
- transform: translateY(0);
1776
- }
1777
- 33% {
1778
- transform: translateY(0);
1779
- }
1780
- 50% {
1781
- transform: translateY(-10px);
1782
- }
1783
- 100% {
1784
- transform: translateY(0);
1631
+ .chat-powered-by {
1632
+ text-align: center;
1785
1633
  }
1634
+ .chat-powered-by a {
1635
+ color: var(--chat--color-primary);
1636
+ text-decoration: none;
1786
1637
  }/* BEM support Func
1787
1638
  -------------------------- */
1788
1639
  /* Transition
@@ -1905,45 +1756,8 @@
1905
1756
  -------------------------- */
1906
1757
  /* BEM
1907
1758
  -------------------------- */
1908
- .chat-messages-list {
1909
- margin-top: auto;
1910
- display: block;
1911
- padding: var(--chat--messages-list--padding);
1912
- }
1913
- .empty-container {
1914
- container-type: size;
1915
- display: flex;
1916
- align-items: center;
1917
- justify-content: center;
1918
- }
1919
- .empty-container p {
1920
- max-width: 16em;
1921
- margin: 0;
1922
- }
1923
- .empty {
1924
- text-align: center;
1925
- color: var(--color-text-base);
1926
- display: flex;
1927
- flex-direction: column;
1928
- align-items: center;
1929
- justify-content: center;
1930
- gap: var(--spacing-xs);
1931
- padding-inline: var(--spacing-m);
1932
- padding-bottom: var(--spacing-l);
1933
- overflow: hidden;
1934
- }
1935
- .emptyIcon {
1936
- zoom: 2.5;
1937
- color: var(--color-button-secondary-border);
1938
- }
1939
- @container (height < 150px) {
1940
- .empty {
1941
- flex-direction: row;
1942
- text-align: left;
1943
- }
1944
- .emptyIcon {
1945
- zoom: 1.5;
1946
- }
1759
+ .chat-get-started-footer {
1760
+ padding: var(--chat--spacing);
1947
1761
  }/* BEM support Func
1948
1762
  -------------------------- */
1949
1763
  /* Transition
@@ -2066,23 +1880,109 @@
2066
1880
  -------------------------- */
2067
1881
  /* BEM
2068
1882
  -------------------------- */
2069
- ._container_pqtqf_123 {
1883
+ .chat-input[data-v-f0e5731e] {
1884
+ display: flex;
1885
+ justify-content: center;
1886
+ align-items: center;
1887
+ width: 100%;
1888
+ flex-direction: column;
1889
+ position: relative;
1890
+ }
1891
+ .chat-input[data-v-f0e5731e] * {
1892
+ box-sizing: border-box;
1893
+ }
1894
+ .chat-inputs[data-v-f0e5731e] {
1895
+ width: 100%;
1896
+ display: flex;
1897
+ justify-content: center;
1898
+ align-items: flex-end;
1899
+ }
1900
+ .chat-inputs textarea[data-v-f0e5731e] {
1901
+ font-family: inherit;
1902
+ font-size: var(--chat--input--font-size);
1903
+ width: 100%;
1904
+ border: var(--chat--input--border, 0);
1905
+ border-radius: var(--chat--input--border-radius);
1906
+ padding: var(--chat--input--padding);
1907
+ min-height: var(--chat--textarea--height, 2.5rem);
1908
+ max-height: var(--chat--textarea--max-height);
1909
+ height: var(--chat--textarea--height, 2.5rem);
1910
+ resize: none;
1911
+ overflow-y: auto;
1912
+ background: var(--chat--input--background, white);
1913
+ color: var(--chat--input--text-color, initial);
1914
+ outline: none;
1915
+ line-height: var(--chat--input--line-height, 1.5);
1916
+ }
1917
+ .chat-inputs textarea[data-v-f0e5731e]::-moz-placeholder {
1918
+ font-size: var(--chat--input--placeholder--font-size, var(--chat--input--font-size));
1919
+ }
1920
+ .chat-inputs textarea[data-v-f0e5731e]::placeholder {
1921
+ font-size: var(--chat--input--placeholder--font-size, var(--chat--input--font-size));
1922
+ }
1923
+ .chat-inputs textarea[data-v-f0e5731e]:focus, .chat-inputs textarea[data-v-f0e5731e]:hover {
1924
+ border-color: var(--chat--input--border-active, 0);
1925
+ }
1926
+ .chat-inputs-controls[data-v-f0e5731e] {
1927
+ display: flex;
1928
+ }
1929
+ .chat-input-send-button[data-v-f0e5731e],
1930
+ .chat-input-file-button[data-v-f0e5731e] {
1931
+ height: var(--chat--textarea--height);
1932
+ width: var(--chat--textarea--height);
1933
+ background: var(--chat--input--send--button--background, white);
1934
+ cursor: pointer;
1935
+ color: var(--chat--input--send--button--color, var(--chat--color-secondary));
1936
+ border: 0;
1937
+ font-size: 24px;
2070
1938
  display: inline-flex;
2071
1939
  align-items: center;
2072
- margin: 0 var(--spacing-4xs);
1940
+ justify-content: center;
1941
+ transition: color var(--chat--transition-duration) ease;
2073
1942
  }
2074
- ._icon_pqtqf_129 {
2075
- color: var(--color-foreground-dark);
2076
- cursor: help;
1943
+ .chat-input-send-button svg[data-v-f0e5731e],
1944
+ .chat-input-file-button svg[data-v-f0e5731e] {
1945
+ min-width: -moz-fit-content;
1946
+ min-width: fit-content;
2077
1947
  }
2078
- ._icon_pqtqf_129:hover {
2079
- color: var(--color-primary);
2080
- }/* BEM support Func
2081
- -------------------------- */
2082
- /* Transition
2083
- -------------------------- */
2084
- /* Color
2085
- -------------------------- */
1948
+ .chat-input-send-button[disabled][data-v-f0e5731e],
1949
+ .chat-input-file-button[disabled][data-v-f0e5731e] {
1950
+ cursor: no-drop;
1951
+ color: var(--chat--color-disabled);
1952
+ }
1953
+ .chat-input-send-button .chat-input-send-button[data-v-f0e5731e]:hover, .chat-input-send-button .chat-input-send-button[data-v-f0e5731e]:focus,
1954
+ .chat-input-file-button .chat-input-send-button[data-v-f0e5731e]:hover,
1955
+ .chat-input-file-button .chat-input-send-button[data-v-f0e5731e]:focus {
1956
+ background: var(--chat--input--send--button--background-hover, var(--chat--input--send--button--background));
1957
+ color: var(--chat--input--send--button--color-hover);
1958
+ }
1959
+ .chat-input-file-button[data-v-f0e5731e] {
1960
+ background: var(--chat--input--file--button--background, white);
1961
+ color: var(--chat--input--file--button--color);
1962
+ }
1963
+ .chat-input-file-button[data-v-f0e5731e]:hover {
1964
+ background: var(--chat--input--file--button--background-hover);
1965
+ color: var(--chat--input--file--button--color-hover);
1966
+ }
1967
+ .chat-files[data-v-f0e5731e] {
1968
+ display: flex;
1969
+ overflow-x: hidden;
1970
+ overflow-y: auto;
1971
+ width: 100%;
1972
+ flex-direction: row;
1973
+ flex-wrap: wrap;
1974
+ gap: 0.5rem;
1975
+ padding: var(--chat--files-spacing);
1976
+ }
1977
+ .chat-input-left-panel[data-v-f0e5731e] {
1978
+ width: var(--chat--input--left--panel--width);
1979
+ margin-left: 0.4rem;
1980
+ }/* BEM support Func
1981
+ -------------------------- */
1982
+ /* Transition
1983
+ -------------------------- */
1984
+ /* Color
1985
+ -------------------------- */
2086
1986
  /* Link
2087
1987
  -------------------------- */
2088
1988
  /* Border
@@ -2199,17 +2099,49 @@
2199
2099
  -------------------------- */
2200
2100
  /* BEM
2201
2101
  -------------------------- */
2202
- ._container_u1r1u_123 {
2203
- display: inline-flex;
2204
- align-items: center;
2205
- margin: 0 var(--spacing-4xs);
2102
+ .chat-layout {
2103
+ width: 100%;
2104
+ height: 100%;
2105
+ display: flex;
2106
+ overflow-y: auto;
2107
+ flex-direction: column;
2108
+ font-family: var(--chat--font-family);
2206
2109
  }
2207
- ._icon_u1r1u_129 {
2208
- color: var(--color-foreground-dark);
2209
- cursor: pointer;
2110
+ .chat-layout .chat-header {
2111
+ display: flex;
2112
+ flex-direction: column;
2113
+ justify-content: center;
2114
+ gap: 1em;
2115
+ height: var(--chat--header-height);
2116
+ padding: var(--chat--header--padding);
2117
+ background: var(--chat--header--background);
2118
+ color: var(--chat--header--color);
2119
+ border-top: var(--chat--header--border-top);
2120
+ border-bottom: var(--chat--header--border-bottom);
2121
+ border-left: var(--chat--header--border-left);
2122
+ border-right: var(--chat--header--border-right);
2210
2123
  }
2211
- ._icon_u1r1u_129:hover {
2212
- color: var(--color-primary);
2124
+ .chat-layout .chat-header h1 {
2125
+ font-size: var(--chat--heading--font-size);
2126
+ color: var(--chat--header--color);
2127
+ }
2128
+ .chat-layout .chat-header p {
2129
+ font-size: var(--chat--subtitle--font-size);
2130
+ line-height: var(--chat--subtitle--line-height);
2131
+ }
2132
+ .chat-layout .chat-body {
2133
+ background: var(--chat--body--background);
2134
+ flex: 1;
2135
+ display: flex;
2136
+ flex-direction: column;
2137
+ overflow-y: auto;
2138
+ position: relative;
2139
+ min-height: 100px;
2140
+ }
2141
+ .chat-layout .chat-footer {
2142
+ border-top: 1px solid var(--chat--color-light-shade-100);
2143
+ background: var(--chat--footer--background);
2144
+ color: var(--chat--footer--color);
2213
2145
  }/* BEM support Func
2214
2146
  -------------------------- */
2215
2147
  /* Transition
@@ -2332,41 +2264,19 @@
2332
2264
  -------------------------- */
2333
2265
  /* BEM
2334
2266
  -------------------------- */
2335
- ._container_1uwbw_123 {
2336
- font-size: var(--font-size-2xs);
2337
- text-align: left;
2338
- padding-inline-start: var(--spacing-s);
2339
- padding-inline-end: var(--spacing-2xs);
2340
- padding-block: var(--spacing-2xs);
2341
- background-color: var(--color-foreground-xlight);
2267
+ .chat-heading {
2342
2268
  display: flex;
2343
2269
  justify-content: space-between;
2344
2270
  align-items: center;
2345
- line-height: var(--font-line-height-compact);
2346
2271
  }
2347
- ._container_1uwbw_123:last-child {
2348
- /** Panel collapsed */
2272
+ .chat-close-button {
2273
+ display: flex;
2274
+ border: none;
2275
+ background: none;
2349
2276
  cursor: pointer;
2350
2277
  }
2351
- ._container_1uwbw_123:not(:last-child) {
2352
- /** Panel open */
2353
- border-bottom: var(--border-base);
2354
- }
2355
- ._title_1uwbw_144 {
2356
- flex-grow: 1;
2357
- flex-shrink: 1;
2358
- overflow: hidden;
2359
- text-overflow: ellipsis;
2360
- white-space: nowrap;
2361
- }
2362
- ._actions_1uwbw_152 {
2363
- flex-shrink: 0;
2364
- display: flex;
2365
- align-items: center;
2366
- color: var(--color-text-base);
2367
- max-width: 70%;
2368
- /* Let button heights not affect the header height */
2369
- margin-block: calc(-1 * var(--spacing-s));
2278
+ .chat-close-button:hover {
2279
+ color: var(--chat--close--button--color-hover, var(--chat--color-primary));
2370
2280
  }/* BEM support Func
2371
2281
  -------------------------- */
2372
2282
  /* Transition
@@ -2489,119 +2399,67 @@
2489
2399
  -------------------------- */
2490
2400
  /* BEM
2491
2401
  -------------------------- */
2492
- ._chat_1r0jy_123 {
2493
- --chat--spacing: var(--spacing-xs);
2494
- --chat--message--padding: var(--spacing-2xs);
2495
- --chat--message--font-size: var(--font-size-xs);
2496
- --chat--input--font-size: var(--font-size-s);
2497
- --chat--input--placeholder--font-size: var(--font-size-xs);
2498
- --chat--message--bot--background: transparent;
2499
- --chat--message--user--background: var(--color-text-lighter);
2500
- --chat--message--bot--color: var(--color-text-dark);
2501
- --chat--message--user--color: var(--color-text-dark);
2502
- --chat--message--bot--border: none;
2503
- --chat--message--user--border: none;
2504
- --chat--message--user--border: none;
2505
- --chat--input--padding: var(--spacing-xs);
2506
- --chat--color-typing: var(--color-text-light);
2507
- --chat--textarea--max-height: calc(var(--panel-height) * 0.3);
2508
- --chat--message--pre--background: var(--color-foreground-light);
2509
- --chat--textarea--height: 2.5rem;
2510
- height: 100%;
2402
+ .chat-window-wrapper {
2403
+ position: fixed;
2511
2404
  display: flex;
2512
2405
  flex-direction: column;
2513
- overflow: hidden;
2514
- background-color: var(--color-background-light);
2515
- }
2516
- ._chatHeader_1r0jy_148 {
2517
- font-size: var(--font-size-s);
2518
- font-weight: var(--font-weight-regular);
2519
- line-height: 18px;
2520
- text-align: left;
2521
- border-bottom: 1px solid var(--color-foreground-base);
2522
- padding: var(--chat--spacing);
2523
- background-color: var(--color-foreground-xlight);
2524
- display: flex;
2525
- justify-content: space-between;
2526
- align-items: center;
2527
- }
2528
- ._chatTitle_1r0jy_161 {
2529
- font-weight: var(--font-weight-medium);
2406
+ bottom: var(--chat--window--bottom);
2407
+ right: var(--chat--window--right);
2408
+ z-index: var(--chat--window--z-index);
2409
+ max-width: calc(100% - var(--chat--window--right, var(--chat--spacing)) * 2);
2410
+ max-height: calc(100% - var(--chat--window--bottom, var(--chat--spacing)) * 2);
2530
2411
  }
2531
- ._session_1r0jy_165 {
2412
+ .chat-window-wrapper .chat-window {
2532
2413
  display: flex;
2533
- align-items: center;
2534
- gap: var(--spacing-2xs);
2535
- color: var(--color-text-base);
2536
- max-width: 70%;
2537
- }
2538
- ._sessionId_1r0jy_173 {
2539
- display: inline-block;
2540
- white-space: nowrap;
2541
- text-overflow: ellipsis;
2414
+ width: var(--chat--window--width);
2415
+ height: var(--chat--window--height);
2416
+ max-width: 100%;
2417
+ max-height: 100%;
2418
+ border: var(--chat--window--border, 1px solid var(--chat--color-light-shade-100));
2419
+ border-radius: var(--chat--window--border-radius, var(--chat--border-radius));
2420
+ margin-bottom: var(--chat--window--margin-bottom, var(--chat--spacing));
2542
2421
  overflow: hidden;
2422
+ transform-origin: bottom right;
2543
2423
  }
2544
- ._sessionId_1r0jy_173._copyable_1r0jy_179 {
2545
- cursor: pointer;
2546
- }
2547
- ._headerButton_1r0jy_183 {
2548
- max-height: 1.1rem;
2549
- border: none;
2550
- }
2551
- ._newHeaderButton_1r0jy_188 {
2552
- border: none;
2553
- color: var(--color-text-light);
2424
+ .chat-window-wrapper .chat-window .chat-layout {
2425
+ width: auto;
2426
+ height: auto;
2427
+ flex: 1;
2554
2428
  }
2555
- ._chatBody_1r0jy_193 {
2556
- display: flex;
2557
- height: 100%;
2558
- overflow: auto;
2559
- flex-direction: column;
2429
+ .chat-window-wrapper .chat-window-toggle {
2430
+ flex: 0 0 auto;
2431
+ background: var(--chat--toggle--background);
2432
+ color: var(--chat--toggle--color);
2433
+ cursor: pointer;
2434
+ width: var(--chat--toggle--width);
2435
+ height: var(--chat--toggle--height);
2436
+ border-radius: var(--chat--toggle--border-radius, 50%);
2437
+ display: inline-flex;
2560
2438
  align-items: center;
2561
2439
  justify-content: center;
2440
+ margin-left: auto;
2441
+ transition: transform var(--chat--transition-duration) ease, background var(--chat--transition-duration) ease;
2562
2442
  }
2563
- ._messages_1r0jy_202 {
2564
- border-radius: var(--border-radius-base);
2565
- height: 100%;
2566
- width: 100%;
2567
- overflow: auto;
2568
- padding-top: var(--spacing-l);
2569
- }
2570
- ._messages_1r0jy_202:not(:last-child) {
2571
- margin-right: 1em;
2443
+ .chat-window-wrapper .chat-window-toggle:hover, .chat-window-wrapper .chat-window-toggle:focus {
2444
+ transform: scale(1.05);
2445
+ background: var(--chat--toggle--hover--background);
2572
2446
  }
2573
- ._messagesInput_1r0jy_213 {
2574
- --input-border-color: var(--border-color-base);
2575
- --chat--input--border: none;
2576
- --chat--input--border-radius: 0.5rem;
2577
- --chat--input--send--button--background: transparent;
2578
- --chat--input--send--button--color: var(--color-primary);
2579
- --chat--input--file--button--background: transparent;
2580
- --chat--input--file--button--color: var(--color-primary);
2581
- --chat--input--border-active: var(--input-focus-border-color, var(--color-secondary));
2582
- --chat--files-spacing: var(--spacing-2xs);
2583
- --chat--input--background: transparent;
2584
- --chat--input--file--button--color: var(--color-button-secondary-font);
2585
- --chat--input--file--button--color-hover: var(--color-primary);
2586
- padding: var(--spacing-5xs);
2587
- margin: 0 var(--chat--spacing) var(--chat--spacing);
2588
- flex-grow: 1;
2589
- display: flex;
2590
- background: var(--color-lm-chat-bot-background);
2591
- border-radius: var(--chat--input--border-radius);
2592
- transition: border-color 200ms ease-in-out;
2593
- border: var(--input-border-color, var(--border-color-base)) var(--input-border-style, var(--border-style-base)) var(--input-border-width, var(--border-width-base));
2447
+ .chat-window-wrapper .chat-window-toggle:active {
2448
+ transform: scale(0.95);
2449
+ background: var(--chat--toggle--active--background);
2594
2450
  }
2595
- [data-theme=dark] ._messagesInput_1r0jy_213 {
2596
- --chat--input--text-color: var(--input-font-color, var(--color-text-dark));
2451
+ .chat-window-transition-enter-active, .chat-window-transition-leave-active {
2452
+ transition: transform var(--chat--transition-duration) ease, opacity var(--chat--transition-duration) ease;
2597
2453
  }
2598
- @media (prefers-color-scheme: dark) {
2599
- ._messagesInput_1r0jy_213 {
2600
- --chat--input--text-color: var(--input-font-color, var(--color-text-dark));
2454
+ .chat-window-transition-enter-from, .chat-window-transition-leave-to {
2455
+ transform: scale(0);
2456
+ opacity: 0;
2601
2457
  }
2458
+ .chat-window-toggle-transition-enter-active, .chat-window-toggle-transition-leave-active {
2459
+ transition: opacity var(--chat--transition-duration) ease;
2602
2460
  }
2603
- ._messagesInput_1r0jy_213:focus-within {
2604
- --input-border-color: #4538a3;
2461
+ .chat-window-toggle-transition-enter-from, .chat-window-toggle-transition-leave-to {
2462
+ opacity: 0;
2605
2463
  }/* BEM support Func
2606
2464
  -------------------------- */
2607
2465
  /* Transition
@@ -2724,13 +2582,66 @@
2724
2582
  -------------------------- */
2725
2583
  /* BEM
2726
2584
  -------------------------- */
2727
- ._name_1t0q3_123 {
2728
- overflow: hidden;
2729
- text-overflow: ellipsis;
2730
- white-space: nowrap;
2585
+ .chat-message-typing {
2586
+ max-width: 80px;
2587
+ }
2588
+ .chat-message-typing.chat-message-typing-animation-scaling .chat-message-typing-circle {
2589
+ animation: chat-message-typing-animation-scaling 800ms ease-in-out infinite;
2590
+ animation-delay: 3600ms;
2591
+ }
2592
+ .chat-message-typing.chat-message-typing-animation-bouncing .chat-message-typing-circle {
2593
+ animation: chat-message-typing-animation-bouncing 800ms ease-in-out infinite;
2594
+ animation-delay: 3600ms;
2595
+ }
2596
+ .chat-message-typing .chat-message-typing-body {
2597
+ display: flex;
2598
+ justify-content: center;
2599
+ align-items: center;
2600
+ }
2601
+ .chat-message-typing .chat-message-typing-circle {
2602
+ display: block;
2603
+ height: 10px;
2604
+ width: 10px;
2605
+ border-radius: 50%;
2606
+ background-color: var(--chat--color-typing);
2607
+ margin: 3px;
2608
+ }
2609
+ .chat-message-typing .chat-message-typing-circle:nth-child(1) {
2610
+ animation-delay: 0ms;
2611
+ }
2612
+ .chat-message-typing .chat-message-typing-circle:nth-child(2) {
2613
+ animation-delay: 333ms;
2614
+ }
2615
+ .chat-message-typing .chat-message-typing-circle:nth-child(3) {
2616
+ animation-delay: 666ms;
2617
+ }
2618
+ @keyframes chat-message-typing-animation-scaling {
2619
+ 0% {
2620
+ transform: scale(1);
2621
+ }
2622
+ 33% {
2623
+ transform: scale(1);
2624
+ }
2625
+ 50% {
2626
+ transform: scale(1.4);
2627
+ }
2628
+ 100% {
2629
+ transform: scale(1);
2630
+ }
2631
+ }
2632
+ @keyframes chat-message-typing-animation-bouncing {
2633
+ 0% {
2634
+ transform: translateY(0);
2635
+ }
2636
+ 33% {
2637
+ transform: translateY(0);
2638
+ }
2639
+ 50% {
2640
+ transform: translateY(-10px);
2641
+ }
2642
+ 100% {
2643
+ transform: translateY(0);
2731
2644
  }
2732
- ._name_1t0q3_123 del:not(:last-child) {
2733
- margin-right: var(--spacing-4xs);
2734
2645
  }/* BEM support Func
2735
2646
  -------------------------- */
2736
2647
  /* Transition
@@ -2853,146 +2764,178 @@
2853
2764
  -------------------------- */
2854
2765
  /* BEM
2855
2766
  -------------------------- */
2856
- ._container_1ohan_123 {
2767
+ .chat-messages-list {
2768
+ margin-top: auto;
2769
+ display: block;
2770
+ padding: var(--chat--messages-list--padding);
2771
+ }
2772
+ .empty-container {
2773
+ container-type: size;
2857
2774
  display: flex;
2858
2775
  align-items: center;
2859
- justify-content: stretch;
2860
- overflow: hidden;
2861
- position: relative;
2862
- z-index: 1;
2863
- }
2864
- ._container_1ohan_123 > * {
2865
- overflow: hidden;
2866
- text-overflow: ellipsis;
2867
- white-space: nowrap;
2868
- padding: var(--spacing-2xs);
2869
- }
2870
- ._background_1ohan_138 {
2871
- position: absolute;
2872
- left: calc(var(--indent-depth) * 32px);
2873
- top: 0;
2874
- width: calc(100% - var(--indent-depth) * 32px);
2875
- height: 100%;
2876
- border-radius: var(--border-radius-base);
2877
- z-index: -1;
2878
- }
2879
- ._selected_1ohan_147 ._background_1ohan_138 {
2880
- background-color: var(--color-foreground-base);
2881
- }
2882
- ._container_1ohan_123:hover:not(._selected_1ohan_147) ._background_1ohan_138 {
2883
- background-color: var(--color-background-light-base);
2776
+ justify-content: center;
2884
2777
  }
2885
- ._selected_1ohan_147:not(:hover)._error_1ohan_153 ._background_1ohan_138 {
2886
- background-color: var(--color-danger-tint-2);
2778
+ .empty-container p {
2779
+ max-width: 16em;
2780
+ margin: 0;
2887
2781
  }
2888
- ._indent_1ohan_157 {
2889
- flex-grow: 0;
2890
- flex-shrink: 0;
2891
- width: var(--spacing-xl);
2892
- align-self: stretch;
2893
- position: relative;
2782
+ .empty {
2783
+ text-align: center;
2784
+ color: var(--color-text-base);
2785
+ display: flex;
2786
+ flex-direction: column;
2787
+ align-items: center;
2788
+ justify-content: center;
2789
+ gap: var(--spacing-xs);
2790
+ padding-inline: var(--spacing-m);
2791
+ padding-bottom: var(--spacing-l);
2894
2792
  overflow: hidden;
2895
- margin-bottom: 0;
2896
- }
2897
- ._indent_1ohan_157._connectorCurved_1ohan_166:before {
2898
- content: "";
2899
- position: absolute;
2900
- left: var(--spacing-s);
2901
- bottom: var(--spacing-s);
2902
- border: 2px solid var(--color-canvas-dot);
2903
- width: var(--spacing-l);
2904
- height: var(--spacing-l);
2905
- border-radius: var(--border-radius-large);
2906
- }
2907
- ._indent_1ohan_157._connectorStraight_1ohan_176:after {
2908
- content: "";
2909
- position: absolute;
2910
- left: var(--spacing-s);
2911
- top: 0;
2912
- border-left: 2px solid var(--color-canvas-dot);
2913
- height: 100%;
2914
- }
2915
- ._icon_1ohan_185 {
2916
- margin-left: var(--row-gap-thickness);
2917
- flex-grow: 0;
2918
- flex-shrink: 0;
2919
- }
2920
- ._name_1ohan_191 {
2921
- flex-basis: 0;
2922
- flex-grow: 1;
2923
- padding-inline-start: 0;
2924
- }
2925
- ._timeTook_1ohan_197 {
2926
- flex-grow: 0;
2927
- flex-shrink: 0;
2928
- width: 20%;
2929
- }
2930
- ._timeTook_1ohan_197 ._errorIcon_1ohan_202 {
2931
- margin-right: var(--spacing-4xs);
2932
- vertical-align: text-bottom;
2933
- }
2934
- ._startedAt_1ohan_207 {
2935
- flex-grow: 0;
2936
- flex-shrink: 0;
2937
- width: 25%;
2938
- }
2939
- ._consumedTokens_1ohan_213 {
2940
- flex-grow: 0;
2941
- flex-shrink: 0;
2942
- width: 15%;
2943
- text-align: right;
2944
- }
2945
- ._compactErrorIcon_1ohan_220 {
2946
- flex-grow: 0;
2947
- flex-shrink: 0;
2948
2793
  }
2949
- ._container_1ohan_123:hover ._compactErrorIcon_1ohan_220 {
2950
- display: none;
2794
+ .emptyIcon {
2795
+ zoom: 2.5;
2796
+ color: var(--color-button-secondary-border);
2951
2797
  }
2952
- ._partialExecutionButton_1ohan_228,
2953
- ._openNdvButton_1ohan_229 {
2954
- transition: none;
2955
- /* By default, take space but keep invisible */
2956
- visibility: hidden;
2798
+ @container (height < 150px) {
2799
+ .empty {
2800
+ flex-direction: row;
2801
+ text-align: left;
2957
2802
  }
2958
- ._container_1ohan_123._compact_1ohan_220 ._partialExecutionButton_1ohan_228,
2959
- ._container_1ohan_123._compact_1ohan_220 ._openNdvButton_1ohan_229 {
2960
- /* When compact, collapse to save space */
2961
- display: none;
2803
+ .emptyIcon {
2804
+ zoom: 1.5;
2962
2805
  }
2963
- ._container_1ohan_123:hover ._partialExecutionButton_1ohan_228:not(._unavailable_1ohan_239),
2964
- ._container_1ohan_123:hover ._openNdvButton_1ohan_229:not(._unavailable_1ohan_239) {
2965
- visibility: visible;
2806
+ }/* BEM support Func
2807
+ -------------------------- */
2808
+ /* Transition
2809
+ -------------------------- */
2810
+ /* Color
2811
+ -------------------------- */
2812
+ /* Link
2813
+ -------------------------- */
2814
+ /* Border
2815
+ -------------------------- */
2816
+ /* Outline
2817
+ -------------------------- */
2818
+ /* Box shadow
2819
+ -------------------------- */
2820
+ /* Fill
2821
+ -------------------------- */
2822
+ /* Typography
2823
+ -------------------------- */
2824
+ /* z-index
2825
+ -------------------------- */
2826
+ /* Disable base
2827
+ -------------------------- */
2828
+ /* Icon
2829
+ -------------------------- */
2830
+ /* Checkbox
2831
+ -------------------------- */
2832
+ /* Radio
2833
+ -------------------------- */
2834
+ /* Select
2835
+ -------------------------- */
2836
+ /* Alert
2837
+ -------------------------- */
2838
+ /* MessageBox
2839
+ -------------------------- */
2840
+ /* Message
2841
+ -------------------------- */
2842
+ /* Notification
2843
+ -------------------------- */
2844
+ /* Input
2845
+ -------------------------- */
2846
+ /* Cascader
2847
+ -------------------------- */
2848
+ /* Group
2849
+ -------------------------- */
2850
+ /* Tab
2851
+ -------------------------- */
2852
+ /* Button
2853
+ -------------------------- */
2854
+ /* cascader
2855
+ -------------------------- */
2856
+ /* Switch
2857
+ -------------------------- */
2858
+ /* Dialog
2859
+ -------------------------- */
2860
+ /* Table
2861
+ -------------------------- */
2862
+ /* Pagination
2863
+ -------------------------- */
2864
+ /* Popup
2865
+ -------------------------- */
2866
+ /* Popover
2867
+ -------------------------- */
2868
+ /* Tooltip
2869
+ -------------------------- */
2870
+ /* Tag
2871
+ -------------------------- */
2872
+ /* Tree
2873
+ -------------------------- */
2874
+ /* Dropdown
2875
+ -------------------------- */
2876
+ /* Badge
2877
+ -------------------------- */
2878
+ /* Card
2879
+ --------------------------*/
2880
+ /* Slider
2881
+ --------------------------*/
2882
+ /* Steps
2883
+ --------------------------*/
2884
+ /* Menu
2885
+ --------------------------*/
2886
+ /* Rate
2887
+ --------------------------*/
2888
+ /* DatePicker
2889
+ --------------------------*/
2890
+ /* Loading
2891
+ --------------------------*/
2892
+ /* Scrollbar
2893
+ --------------------------*/
2894
+ /* Carousel
2895
+ --------------------------*/
2896
+ /* Collapse
2897
+ --------------------------*/
2898
+ /* Transfer
2899
+ --------------------------*/
2900
+ /* Header
2901
+ --------------------------*/
2902
+ /* Footer
2903
+ --------------------------*/
2904
+ /* Main
2905
+ --------------------------*/
2906
+ /* Timeline
2907
+ --------------------------*/
2908
+ /* Backtop
2909
+ --------------------------*/
2910
+ /* Link
2911
+ --------------------------*/
2912
+ /* Calendar
2913
+ --------------------------*/
2914
+ /* Form
2915
+ -------------------------- */
2916
+ /* Avatar
2917
+ --------------------------*/
2918
+ /* Break-point
2919
+ --------------------------*/
2920
+ /* Break-points
2921
+ -------------------------- */
2922
+ /* Scrollbar
2923
+ -------------------------- */
2924
+ /* Placeholder
2925
+ -------------------------- */
2926
+ /* BEM
2927
+ -------------------------- */
2928
+ ._container_pqtqf_123 {
2966
2929
  display: inline-flex;
2967
- }
2968
- ._partialExecutionButton_1ohan_228,
2969
- ._openNdvButton_1ohan_229,
2970
- ._toggleButton_1ohan_247 {
2971
- flex-grow: 0;
2972
- flex-shrink: 0;
2973
- border: none;
2974
- background: transparent;
2975
- color: var(--color-text-base);
2976
2930
  align-items: center;
2977
- justify-content: center;
2978
- }
2979
- ._partialExecutionButton_1ohan_228:last-child,
2980
- ._openNdvButton_1ohan_229:last-child,
2981
- ._toggleButton_1ohan_247:last-child {
2982
- margin-inline-end: var(--spacing-5xs);
2983
- }
2984
- ._partialExecutionButton_1ohan_228:hover,
2985
- ._openNdvButton_1ohan_229:hover,
2986
- ._toggleButton_1ohan_247:hover {
2987
- background: transparent;
2931
+ margin: 0 var(--spacing-4xs);
2988
2932
  }
2989
- ._partialExecutionButton_1ohan_228:disabled,
2990
- ._openNdvButton_1ohan_229:disabled,
2991
- ._toggleButton_1ohan_247:disabled {
2992
- visibility: hidden !important;
2933
+ ._icon_pqtqf_129 {
2934
+ color: var(--color-foreground-dark);
2935
+ cursor: help;
2993
2936
  }
2994
- ._toggleButton_1ohan_247 {
2995
- display: inline-flex;
2937
+ ._icon_pqtqf_129:hover {
2938
+ color: var(--color-primary);
2996
2939
  }/* BEM support Func
2997
2940
  -------------------------- */
2998
2941
  /* Transition
@@ -3115,19 +3058,17 @@
3115
3058
  -------------------------- */
3116
3059
  /* BEM
3117
3060
  -------------------------- */
3118
- ._container_pt5hk_123 {
3119
- display: flex;
3061
+ ._container_u1r1u_123 {
3062
+ display: inline-flex;
3120
3063
  align-items: center;
3064
+ margin: 0 var(--spacing-4xs);
3121
3065
  }
3122
- ._container_pt5hk_123 > * {
3123
- padding-inline: var(--spacing-2xs);
3124
- flex-shrink: 1;
3125
- overflow: hidden;
3126
- text-overflow: ellipsis;
3127
- white-space: nowrap;
3066
+ ._icon_u1r1u_129 {
3067
+ color: var(--color-foreground-dark);
3068
+ cursor: pointer;
3128
3069
  }
3129
- ._container_pt5hk_123 > *:not(:last-child) {
3130
- border-right: var(--border-base);
3070
+ ._icon_u1r1u_129:hover {
3071
+ color: var(--color-primary);
3131
3072
  }/* BEM support Func
3132
3073
  -------------------------- */
3133
3074
  /* Transition
@@ -3250,60 +3191,119 @@
3250
3191
  -------------------------- */
3251
3192
  /* BEM
3252
3193
  -------------------------- */
3253
- ._container_fcgc7_123 {
3254
- flex-grow: 1;
3255
- flex-shrink: 1;
3194
+ ._chat_1r0jy_123 {
3195
+ --chat--spacing: var(--spacing-xs);
3196
+ --chat--message--padding: var(--spacing-2xs);
3197
+ --chat--message--font-size: var(--font-size-xs);
3198
+ --chat--input--font-size: var(--font-size-s);
3199
+ --chat--input--placeholder--font-size: var(--font-size-xs);
3200
+ --chat--message--bot--background: transparent;
3201
+ --chat--message--user--background: var(--color-text-lighter);
3202
+ --chat--message--bot--color: var(--color-text-dark);
3203
+ --chat--message--user--color: var(--color-text-dark);
3204
+ --chat--message--bot--border: none;
3205
+ --chat--message--user--border: none;
3206
+ --chat--message--user--border: none;
3207
+ --chat--input--padding: var(--spacing-xs);
3208
+ --chat--color-typing: var(--color-text-light);
3209
+ --chat--textarea--max-height: calc(var(--panel-height) * 0.3);
3210
+ --chat--message--pre--background: var(--color-foreground-light);
3211
+ --chat--textarea--height: 2.5rem;
3212
+ height: 100%;
3256
3213
  display: flex;
3257
3214
  flex-direction: column;
3258
- align-items: stretch;
3259
3215
  overflow: hidden;
3216
+ background-color: var(--color-background-light);
3217
+ }
3218
+ ._chatHeader_1r0jy_148 {
3219
+ font-size: var(--font-size-s);
3220
+ font-weight: var(--font-weight-regular);
3221
+ line-height: 18px;
3222
+ text-align: left;
3223
+ border-bottom: 1px solid var(--color-foreground-base);
3224
+ padding: var(--chat--spacing);
3260
3225
  background-color: var(--color-foreground-xlight);
3226
+ display: flex;
3227
+ justify-content: space-between;
3228
+ align-items: center;
3261
3229
  }
3262
- ._clearButton_fcgc7_133 {
3230
+ ._chatTitle_1r0jy_161 {
3231
+ font-weight: var(--font-weight-medium);
3232
+ }
3233
+ ._session_1r0jy_165 {
3234
+ display: flex;
3235
+ align-items: center;
3236
+ gap: var(--spacing-2xs);
3237
+ color: var(--color-text-base);
3238
+ max-width: 70%;
3239
+ }
3240
+ ._sessionId_1r0jy_173 {
3241
+ display: inline-block;
3242
+ white-space: nowrap;
3243
+ text-overflow: ellipsis;
3244
+ overflow: hidden;
3245
+ }
3246
+ ._sessionId_1r0jy_173._copyable_1r0jy_179 {
3247
+ cursor: pointer;
3248
+ }
3249
+ ._headerButton_1r0jy_183 {
3250
+ max-height: 1.1rem;
3251
+ border: none;
3252
+ }
3253
+ ._newHeaderButton_1r0jy_188 {
3263
3254
  border: none;
3264
3255
  color: var(--color-text-light);
3265
- gap: var(--spacing-5xs);
3266
3256
  }
3267
- ._content_fcgc7_139 {
3268
- position: relative;
3269
- flex-grow: 1;
3270
- overflow: auto;
3257
+ ._chatBody_1r0jy_193 {
3271
3258
  display: flex;
3259
+ height: 100%;
3260
+ overflow: auto;
3272
3261
  flex-direction: column;
3273
- align-items: stretch;
3274
- justify-content: stretch;
3275
- }
3276
- ._content_fcgc7_139._empty_fcgc7_148 {
3277
3262
  align-items: center;
3278
3263
  justify-content: center;
3279
3264
  }
3280
- ._emptyText_fcgc7_153 {
3281
- max-width: 20em;
3282
- text-align: center;
3265
+ ._messages_1r0jy_202 {
3266
+ border-radius: var(--border-radius-base);
3267
+ height: 100%;
3268
+ width: 100%;
3269
+ overflow: auto;
3270
+ padding-top: var(--spacing-l);
3283
3271
  }
3284
- ._summary_fcgc7_158 {
3285
- padding: var(--spacing-2xs);
3272
+ ._messages_1r0jy_202:not(:last-child) {
3273
+ margin-right: 1em;
3286
3274
  }
3287
- ._tree_fcgc7_162 {
3288
- padding: 0 var(--spacing-2xs) var(--spacing-2xs) var(--spacing-2xs);
3289
- scroll-padding-block: var(--spacing-3xs);
3275
+ ._messagesInput_1r0jy_213 {
3276
+ --input-border-color: var(--border-color-base);
3277
+ --chat--input--border: none;
3278
+ --chat--input--border-radius: 0.5rem;
3279
+ --chat--input--send--button--background: transparent;
3280
+ --chat--input--send--button--color: var(--color-primary);
3281
+ --chat--input--file--button--background: transparent;
3282
+ --chat--input--file--button--color: var(--color-primary);
3283
+ --chat--input--border-active: var(--input-focus-border-color, var(--color-secondary));
3284
+ --chat--files-spacing: var(--spacing-2xs);
3285
+ --chat--input--background: transparent;
3286
+ --chat--input--file--button--color: var(--color-button-secondary-font);
3287
+ --chat--input--file--button--color-hover: var(--color-primary);
3288
+ padding: var(--spacing-5xs);
3289
+ margin: 0 var(--chat--spacing) var(--chat--spacing);
3290
+ flex-grow: 1;
3291
+ display: flex;
3292
+ background: var(--color-lm-chat-bot-background);
3293
+ border-radius: var(--chat--input--border-radius);
3294
+ transition: border-color 200ms ease-in-out;
3295
+ border: var(--input-border-color, var(--border-color-base)) var(--input-border-style, var(--border-style-base)) var(--input-border-width, var(--border-width-base));
3290
3296
  }
3291
- ._tree_fcgc7_162 .el-icon {
3292
- display: none;
3297
+ [data-theme=dark] ._messagesInput_1r0jy_213 {
3298
+ --chat--input--text-color: var(--input-font-color, var(--color-text-dark));
3293
3299
  }
3294
- ._switchViewButtons_fcgc7_170 {
3295
- position: absolute;
3296
- z-index: 10; /* higher than log entry rows background */
3297
- right: 0;
3298
- top: 0;
3299
- margin: var(--spacing-4xs) var(--spacing-2xs);
3300
- visibility: hidden;
3301
- opacity: 0;
3302
- transition: opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1);
3300
+ @media (prefers-color-scheme: dark) {
3301
+ ._messagesInput_1r0jy_213 {
3302
+ --chat--input--text-color: var(--input-font-color, var(--color-text-dark));
3303
3303
  }
3304
- ._content_fcgc7_139:hover ._switchViewButtons_fcgc7_170 {
3305
- visibility: visible;
3306
- opacity: 1;
3304
+ }
3305
+ ._messagesInput_1r0jy_213:focus-within {
3306
+ --input-border-color: #4538a3;
3307
3307
  }/* BEM support Func
3308
3308
  -------------------------- */
3309
3309
  /* Transition