@simai-studio/chat 1.0.0 → 1.1.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 (208) hide show
  1. package/README.md +7 -5
  2. package/dist/package-receipt.json +438 -436
  3. package/dist/set.json +4 -2
  4. package/dist/smart/chat-composer/aliases.json +11 -0
  5. package/dist/smart/chat-composer/aliases.json.gz +0 -0
  6. package/dist/smart/chat-composer/component.json +44 -4
  7. package/dist/smart/chat-composer/component.json.gz +0 -0
  8. package/dist/smart/chat-composer/css/chat-composer.css +8 -103
  9. package/dist/smart/chat-composer/css/chat-composer.css.gz +0 -0
  10. package/dist/smart/chat-composer/css/chat-composer.min.css +2 -2
  11. package/dist/smart/chat-composer/css/chat-composer.min.css.gz +0 -0
  12. package/dist/smart/chat-composer/examples.json +27 -8
  13. package/dist/smart/chat-composer/examples.json.gz +0 -0
  14. package/dist/smart/chat-composer/js/chat-composer.js +65 -60
  15. package/dist/smart/chat-composer/js/chat-composer.js.gz +0 -0
  16. package/dist/smart/chat-composer/js/chat-composer.min.js +17 -19
  17. package/dist/smart/chat-composer/js/chat-composer.min.js.gz +0 -0
  18. package/dist/smart/chat-composer/lang/en.json +1 -4
  19. package/dist/smart/chat-composer/lang/en.json.gz +0 -0
  20. package/dist/smart/chat-composer/lang/ru.json +1 -4
  21. package/dist/smart/chat-composer/lang/ru.json.gz +0 -0
  22. package/dist/smart/chat-composer/probe.json +21 -5
  23. package/dist/smart/chat-composer/probe.json.gz +0 -0
  24. package/dist/smart/chat-composer/smart.manifest.json +41 -15
  25. package/dist/smart/chat-composer/smart.manifest.json.gz +0 -0
  26. package/dist/smart/chat-composer/static/default/busy.html +2 -2
  27. package/dist/smart/chat-composer/static/default/busy.html.gz +0 -0
  28. package/dist/smart/chat-composer/static/default/disabled.html +1 -1
  29. package/dist/smart/chat-composer/static/default/disabled.html.gz +0 -0
  30. package/dist/smart/chat-composer/static/default/files.html +82 -27
  31. package/dist/smart/chat-composer/static/default/files.html.gz +0 -0
  32. package/dist/smart/chat-composer/static/default/near-limit.html +2 -2
  33. package/dist/smart/chat-composer/static/default/near-limit.html.gz +0 -0
  34. package/dist/smart/chat-composer/static/default/reference.html +2 -2
  35. package/dist/smart/chat-composer/static/default/reference.html.gz +0 -0
  36. package/dist/smart/chat-composer/static/sheets.json +24 -2
  37. package/dist/smart/chat-composer/static/sheets.json.gz +0 -0
  38. package/dist/smart/chat-composer/template/default.css +7 -82
  39. package/dist/smart/chat-composer/template/default.css.gz +0 -0
  40. package/dist/smart/chat-composer/template/default.js +1 -1
  41. package/dist/smart/chat-composer/template/default.js.gz +0 -0
  42. package/dist/smart/chat-composer/template/parts.js +40 -33
  43. package/dist/smart/chat-composer/template/parts.js.gz +0 -0
  44. package/dist/smart/chat-interlocutor/component.json +3 -2
  45. package/dist/smart/chat-interlocutor/component.json.gz +0 -0
  46. package/dist/smart/chat-interlocutor/css/chat-interlocutor.css +1 -36
  47. package/dist/smart/chat-interlocutor/css/chat-interlocutor.css.gz +0 -0
  48. package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css +2 -2
  49. package/dist/smart/chat-interlocutor/css/chat-interlocutor.min.css.gz +0 -0
  50. package/dist/smart/chat-interlocutor/js/chat-interlocutor.js +1 -1
  51. package/dist/smart/chat-interlocutor/js/chat-interlocutor.js.gz +0 -0
  52. package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js +1 -1
  53. package/dist/smart/chat-interlocutor/js/chat-interlocutor.min.js.gz +0 -0
  54. package/dist/smart/chat-interlocutor/smart.manifest.json +4 -4
  55. package/dist/smart/chat-interlocutor/smart.manifest.json.gz +0 -0
  56. package/dist/smart/chat-interlocutor/static/default/former.html +1 -1
  57. package/dist/smart/chat-interlocutor/static/default/former.html.gz +0 -0
  58. package/dist/smart/chat-interlocutor/static/default/grouped.html +1 -1
  59. package/dist/smart/chat-interlocutor/static/default/grouped.html.gz +0 -0
  60. package/dist/smart/chat-interlocutor/static/default/reference.html +1 -1
  61. package/dist/smart/chat-interlocutor/static/default/reference.html.gz +0 -0
  62. package/dist/smart/chat-interlocutor/static/default/single.html +1 -1
  63. package/dist/smart/chat-interlocutor/static/default/single.html.gz +0 -0
  64. package/dist/smart/chat-interlocutor/static/sheets.json +10 -5
  65. package/dist/smart/chat-interlocutor/static/sheets.json.gz +0 -0
  66. package/dist/smart/chat-interlocutor/template/default.css +1 -1
  67. package/dist/smart/chat-interlocutor/template/default.css.gz +0 -0
  68. package/dist/smart/chat-message/aliases.json +11 -0
  69. package/dist/smart/chat-message/aliases.json.gz +0 -0
  70. package/dist/smart/chat-message/component.json +30 -2
  71. package/dist/smart/chat-message/component.json.gz +0 -0
  72. package/dist/smart/chat-message/css/chat-message.css +91 -1122
  73. package/dist/smart/chat-message/css/chat-message.css.gz +0 -0
  74. package/dist/smart/chat-message/css/chat-message.min.css +2 -2
  75. package/dist/smart/chat-message/css/chat-message.min.css.gz +0 -0
  76. package/dist/smart/chat-message/examples.json +32 -10
  77. package/dist/smart/chat-message/examples.json.gz +0 -0
  78. package/dist/smart/chat-message/js/chat-message.js +511 -150
  79. package/dist/smart/chat-message/js/chat-message.js.gz +0 -0
  80. package/dist/smart/chat-message/js/chat-message.min.js +15 -25
  81. package/dist/smart/chat-message/js/chat-message.min.js.gz +0 -0
  82. package/dist/smart/chat-message/lang/en.json +1 -6
  83. package/dist/smart/chat-message/lang/en.json.gz +0 -0
  84. package/dist/smart/chat-message/lang/ru.json +1 -6
  85. package/dist/smart/chat-message/lang/ru.json.gz +0 -0
  86. package/dist/smart/chat-message/probe.json +31 -9
  87. package/dist/smart/chat-message/probe.json.gz +0 -0
  88. package/dist/smart/chat-message/smart.manifest.json +23 -13
  89. package/dist/smart/chat-message/smart.manifest.json.gz +0 -0
  90. package/dist/smart/chat-message/static/default/brief-card.html +1 -1
  91. package/dist/smart/chat-message/static/default/brief-card.html.gz +0 -0
  92. package/dist/smart/chat-message/static/default/brief-questions.html +1 -1
  93. package/dist/smart/chat-message/static/default/brief-questions.html.gz +0 -0
  94. package/dist/smart/chat-message/static/default/deliverables.html +1 -1
  95. package/dist/smart/chat-message/static/default/deliverables.html.gz +0 -0
  96. package/dist/smart/chat-message/static/default/document.html +2 -2
  97. package/dist/smart/chat-message/static/default/document.html.gz +0 -0
  98. package/dist/smart/chat-message/static/default/failed.html +1 -1
  99. package/dist/smart/chat-message/static/default/failed.html.gz +0 -0
  100. package/dist/smart/chat-message/static/default/feedback-reason.html +1 -1
  101. package/dist/smart/chat-message/static/default/feedback-reason.html.gz +0 -0
  102. package/dist/smart/chat-message/static/default/limit.html +1 -1
  103. package/dist/smart/chat-message/static/default/limit.html.gz +0 -0
  104. package/dist/smart/chat-message/static/default/proposal.html +17 -19
  105. package/dist/smart/chat-message/static/default/proposal.html.gz +0 -0
  106. package/dist/smart/chat-message/static/default/question.html +15 -11
  107. package/dist/smart/chat-message/static/default/question.html.gz +0 -0
  108. package/dist/smart/chat-message/static/default/reference.html +1 -1
  109. package/dist/smart/chat-message/static/default/reference.html.gz +0 -0
  110. package/dist/smart/chat-message/static/default/steps.html +1 -1
  111. package/dist/smart/chat-message/static/default/steps.html.gz +0 -0
  112. package/dist/smart/chat-message/static/default/stopped.html +1 -1
  113. package/dist/smart/chat-message/static/default/stopped.html.gz +0 -0
  114. package/dist/smart/chat-message/static/person/person-own.html +1 -1
  115. package/dist/smart/chat-message/static/person/person-own.html.gz +0 -0
  116. package/dist/smart/chat-message/static/person/person-reply.html +1 -5
  117. package/dist/smart/chat-message/static/person/person-reply.html.gz +0 -0
  118. package/dist/smart/chat-message/static/person/person.html +8 -10
  119. package/dist/smart/chat-message/static/person/person.html.gz +0 -0
  120. package/dist/smart/chat-message/static/sheets.json +66 -12
  121. package/dist/smart/chat-message/static/sheets.json.gz +0 -0
  122. package/dist/smart/chat-message/template/default.css +9 -99
  123. package/dist/smart/chat-message/template/default.css.gz +0 -0
  124. package/dist/smart/chat-threads/component.json +10 -2
  125. package/dist/smart/chat-threads/component.json.gz +0 -0
  126. package/dist/smart/chat-threads/css/chat-threads.css +1 -17
  127. package/dist/smart/chat-threads/css/chat-threads.css.gz +0 -0
  128. package/dist/smart/chat-threads/css/chat-threads.min.css +2 -2
  129. package/dist/smart/chat-threads/css/chat-threads.min.css.gz +0 -0
  130. package/dist/smart/chat-threads/examples.json +3 -3
  131. package/dist/smart/chat-threads/examples.json.gz +0 -0
  132. package/dist/smart/chat-threads/js/chat-threads.js +1 -1
  133. package/dist/smart/chat-threads/js/chat-threads.js.gz +0 -0
  134. package/dist/smart/chat-threads/js/chat-threads.min.js +1 -1
  135. package/dist/smart/chat-threads/js/chat-threads.min.js.gz +0 -0
  136. package/dist/smart/chat-threads/probe.json +3 -3
  137. package/dist/smart/chat-threads/probe.json.gz +0 -0
  138. package/dist/smart/chat-threads/smart.manifest.json +11 -4
  139. package/dist/smart/chat-threads/smart.manifest.json.gz +0 -0
  140. package/dist/smart/chat-threads/static/default/activity.html +27 -21
  141. package/dist/smart/chat-threads/static/default/activity.html.gz +0 -0
  142. package/dist/smart/chat-threads/static/default/activity.skeleton.html +27 -21
  143. package/dist/smart/chat-threads/static/default/activity.skeleton.html.gz +0 -0
  144. package/dist/smart/chat-threads/static/default/archive.html +9 -6
  145. package/dist/smart/chat-threads/static/default/archive.html.gz +0 -0
  146. package/dist/smart/chat-threads/static/default/archive.skeleton.html +9 -6
  147. package/dist/smart/chat-threads/static/default/archive.skeleton.html.gz +0 -0
  148. package/dist/smart/chat-threads/static/default/avatars.html +25 -13
  149. package/dist/smart/chat-threads/static/default/avatars.html.gz +0 -0
  150. package/dist/smart/chat-threads/static/default/avatars.skeleton.html +25 -13
  151. package/dist/smart/chat-threads/static/default/avatars.skeleton.html.gz +0 -0
  152. package/dist/smart/chat-threads/static/default/empty.html +11 -9
  153. package/dist/smart/chat-threads/static/default/empty.html.gz +0 -0
  154. package/dist/smart/chat-threads/static/default/loading.html +11 -9
  155. package/dist/smart/chat-threads/static/default/loading.html.gz +0 -0
  156. package/dist/smart/chat-threads/static/default/people.html +20 -11
  157. package/dist/smart/chat-threads/static/default/people.html.gz +0 -0
  158. package/dist/smart/chat-threads/static/default/people.skeleton.html +20 -11
  159. package/dist/smart/chat-threads/static/default/people.skeleton.html.gz +0 -0
  160. package/dist/smart/chat-threads/static/default/reference.html +22 -13
  161. package/dist/smart/chat-threads/static/default/reference.html.gz +0 -0
  162. package/dist/smart/chat-threads/static/default/reference.skeleton.html +22 -13
  163. package/dist/smart/chat-threads/static/default/reference.skeleton.html.gz +0 -0
  164. package/dist/smart/chat-threads/static/default/ungrouped.html +18 -13
  165. package/dist/smart/chat-threads/static/default/ungrouped.html.gz +0 -0
  166. package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html +18 -13
  167. package/dist/smart/chat-threads/static/default/ungrouped.skeleton.html.gz +0 -0
  168. package/dist/smart/chat-threads/static/sheets.json +81 -0
  169. package/dist/smart/chat-threads/static/sheets.json.gz +0 -0
  170. package/dist/smart/chat-threads/template/default.css +1 -1
  171. package/dist/smart/chat-threads/template/default.css.gz +0 -0
  172. package/dist/smart/chat-window/component.json +12 -2
  173. package/dist/smart/chat-window/component.json.gz +0 -0
  174. package/dist/smart/chat-window/css/chat-window.css +1 -209
  175. package/dist/smart/chat-window/css/chat-window.css.gz +0 -0
  176. package/dist/smart/chat-window/css/chat-window.min.css +2 -2
  177. package/dist/smart/chat-window/css/chat-window.min.css.gz +0 -0
  178. package/dist/smart/chat-window/examples.json +3 -3
  179. package/dist/smart/chat-window/examples.json.gz +0 -0
  180. package/dist/smart/chat-window/js/chat-window.js +520 -122
  181. package/dist/smart/chat-window/js/chat-window.js.gz +0 -0
  182. package/dist/smart/chat-window/js/chat-window.min.js +1 -1
  183. package/dist/smart/chat-window/js/chat-window.min.js.gz +0 -0
  184. package/dist/smart/chat-window/probe.json +3 -3
  185. package/dist/smart/chat-window/probe.json.gz +0 -0
  186. package/dist/smart/chat-window/smart.manifest.json +15 -6
  187. package/dist/smart/chat-window/smart.manifest.json.gz +0 -0
  188. package/dist/smart/chat-window/static/default/archived.html +15 -12
  189. package/dist/smart/chat-window/static/default/archived.html.gz +0 -0
  190. package/dist/smart/chat-window/static/default/embedded.html +19 -13
  191. package/dist/smart/chat-window/static/default/embedded.html.gz +0 -0
  192. package/dist/smart/chat-window/static/default/greeting.html +19 -13
  193. package/dist/smart/chat-window/static/default/greeting.html.gz +0 -0
  194. package/dist/smart/chat-window/static/default/people.html +21 -27
  195. package/dist/smart/chat-window/static/default/people.html.gz +0 -0
  196. package/dist/smart/chat-window/static/default/proposal.html +36 -32
  197. package/dist/smart/chat-window/static/default/proposal.html.gz +0 -0
  198. package/dist/smart/chat-window/static/default/reference.html +20 -14
  199. package/dist/smart/chat-window/static/default/reference.html.gz +0 -0
  200. package/dist/smart/chat-window/static/default/waiting.html +19 -13
  201. package/dist/smart/chat-window/static/default/waiting.html.gz +0 -0
  202. package/dist/smart/chat-window/static/sheets.json +50 -0
  203. package/dist/smart/chat-window/static/sheets.json.gz +0 -0
  204. package/dist/smart/chat-window/template/default.css +1 -1
  205. package/dist/smart/chat-window/template/default.css.gz +0 -0
  206. package/dist/smart/rule.js +8 -0
  207. package/dist/smart/rule.js.gz +0 -0
  208. package/package.json +1 -1
@@ -735,7 +735,7 @@
735
735
  {
736
736
  "script": "(await Promise.all(['sf-chat-window','sf-list-feed','sf-chat-message','sf-chat-composer','sf-chat-interlocutor','sf-thread-list'].map((t) => customElements.whenDefined(t))), window.w = document.querySelector('#w'), window.calls = [], window.answers = {}, window.msgs = [{\"id\": 20, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Коллеги, в регламент возвратов добавили пункт про подарочные карты.\", \"created_at\": \"2026-10-30T09:02:00Z\", \"revision\": 3, \"can_edit\": false, \"can_delete\": false}, {\"id\": 21, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Посмотрите, пожалуйста, до обеда.\", \"created_at\": \"2026-10-30T09:03:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 22, \"kind\": \"person\", \"author\": {\"id\": 101, \"name\": \"Анна Соколова\", \"own\": true}, \"body\": \"Посмотрю. А срок возврата для карт тот же — 14 дней?\", \"created_at\": \"2026-10-30T09:06:00Z\", \"revision\": 2, \"can_edit\": true, \"can_delete\": true, \"is_edited\": true}, {\"id\": 23, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"Нет, для карт — 30 дней, это в пункте 4.2.\", \"created_at\": \"2026-10-30T09:09:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 24, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"И заявление можно подать в личном кабинете.\", \"created_at\": \"2026-10-30T09:20:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 50, \"kind\": \"assistant\", \"author\": {\"id\": \"helper\", \"name\": \"Помощник\"}, \"status\": \"completed\", \"body\": \"Пункт 4.2: срок возврата подарочной карты — 30 дней.\", \"created_at\": \"2026-10-30T09:21:00Z\"}, {\"id\": 25, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Верно.\", \"created_at\": \"2026-10-30T09:22:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 26, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Обновил шаблон ответа клиенту.\", \"created_at\": \"2026-10-30T09:23:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false, \"files\": [{\"id\": 9, \"name\": \"Шаблон ответа.docx\", \"size\": 21504, \"state\": \"ready\", \"download_url\": \"/files/9\"}]}, {\"id\": 27, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"Шаблон смотрю.\", \"created_at\": \"2026-10-30T09:24:00Z\", \"revision\": 3, \"can_edit\": false, \"can_delete\": true}], window.item = (id) => window.w.querySelector('.sf-list-feed__item[data-id=\"' + id + '\"]'), window.payloads = (intent) => window.calls.filter((one) => one[0] === intent).map((one) => one[1]), window.w.connectPort({port: 'simai.chat-port', version: '1.0.0', capabilities: [\"people\", \"edit\", \"delete\"], raise: async (intent, payload) => { window.calls.push([intent, payload]); const answer = window.answers[intent]; return answer ? answer(payload) : {answer: 'applied'}; }}), window.w.setData({\"me\": {\"id\": 101, \"name\": \"Анна Соколова\"}, \"conversations\": [{\"id\": 7, \"title\": \"Команда поддержки\", \"type\": \"group\", \"unread_count\": 0, \"updated_at\": \"2026-10-30T09:24:00Z\"}, {\"id\": 8, \"title\": \"Иван Петров\", \"type\": \"private\", \"unread_count\": 0, \"updated_at\": \"2026-10-30T09:05:00Z\"}], \"conversation\": {\"id\": 7, \"title\": \"Команда поддержки\", \"type\": \"group\", \"can_send\": true}, \"messages\": [{\"id\": 20, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Коллеги, в регламент возвратов добавили пункт про подарочные карты.\", \"created_at\": \"2026-10-30T09:02:00Z\", \"revision\": 3, \"can_edit\": false, \"can_delete\": false}, {\"id\": 21, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Посмотрите, пожалуйста, до обеда.\", \"created_at\": \"2026-10-30T09:03:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 22, \"kind\": \"person\", \"author\": {\"id\": 101, \"name\": \"Анна Соколова\", \"own\": true}, \"body\": \"Посмотрю. А срок возврата для карт тот же — 14 дней?\", \"created_at\": \"2026-10-30T09:06:00Z\", \"revision\": 2, \"can_edit\": true, \"can_delete\": true, \"is_edited\": true}, {\"id\": 23, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"Нет, для карт — 30 дней, это в пункте 4.2.\", \"created_at\": \"2026-10-30T09:09:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 24, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"И заявление можно подать в личном кабинете.\", \"created_at\": \"2026-10-30T09:20:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 50, \"kind\": \"assistant\", \"author\": {\"id\": \"helper\", \"name\": \"Помощник\"}, \"status\": \"completed\", \"body\": \"Пункт 4.2: срок возврата подарочной карты — 30 дней.\", \"created_at\": \"2026-10-30T09:21:00Z\"}, {\"id\": 25, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Верно.\", \"created_at\": \"2026-10-30T09:22:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false}, {\"id\": 26, \"kind\": \"person\", \"author\": {\"id\": 102, \"name\": \"Иван Петров\"}, \"body\": \"Обновил шаблон ответа клиенту.\", \"created_at\": \"2026-10-30T09:23:00Z\", \"revision\": 1, \"can_edit\": false, \"can_delete\": false, \"files\": [{\"id\": 9, \"name\": \"Шаблон ответа.docx\", \"size\": 21504, \"state\": \"ready\", \"download_url\": \"/files/9\"}]}, {\"id\": 27, \"kind\": \"person\", \"author\": {\"id\": 103, \"name\": \"Ольга Смирнова\"}, \"body\": \"Шаблон смотрю.\", \"created_at\": \"2026-10-30T09:24:00Z\", \"revision\": 3, \"can_edit\": false, \"can_delete\": true}], \"history\": {\"has_older\": false}, \"feed_state\": \"ready\", \"limits\": {\"body_chars\": 10000}}), true)",
737
737
  "wait": 900,
738
- "check": "(() => { const w = window.w; const has = (id, c) => window.item(id).querySelector('article').classList.contains('sf-chat-person--' + c); const name = (id) => window.item(id).querySelector('.sf-chat-person__name')?.textContent ?? null; const tools = (id) => [...window.item(id).querySelectorAll('.sf-chat-person__tools button')].map((b) => b.classList.contains('sf-chat-person__edit') ? 'edit' : 'delete').join(','); return w.querySelectorAll('sf-list-feed sf-chat-message[template=person]').length === 8 && !window.item(50).querySelector('sf-chat-message').hasAttribute('template') && Boolean(window.item(50).querySelector('.sf-chat-message--assistant')) && has(20, 'first') && !has(20, 'last') && !has(21, 'first') && has(21, 'last') && name(20) === 'Иван Петров' && name(21) === null && has(22, 'own') && window.item(22).querySelector('article').getAttribute('aria-label') === 'Вы' && name(22) === null && has(23, 'first') && has(23, 'last') && has(24, 'first') && name(24) === 'Ольга Смирнова' && has(25, 'first') && !has(25, 'last') && has(26, 'last') && window.item(20).querySelector('.sf-chat-person__avatar sf-avatar').getAttribute('text') === 'ИП' && window.item(26).querySelector('.sf-chat-attachment__name')?.textContent === 'Шаблон ответа.docx' && tools(22) === 'edit,delete' && tools(27) === 'delete' && tools(20) === '' && !w.querySelector('.sf-chat-divider--unread') && w.querySelector('sf-chat-composer').getAttribute('placeholder') === 'Напишите сообщение'; })()"
738
+ "check": "(() => { const w = window.w; const has = (id, c) => window.item(id).querySelector('article').classList.contains('sf-chat-person--' + c); const name = (id) => window.item(id).querySelector('.sf-chat-person__name')?.textContent ?? null; const tools = (id) => [...window.item(id).querySelectorAll('.sf-chat-person__tools button')].map((b) => b.classList.contains('sf-chat-person__edit') ? 'edit' : 'delete').join(','); return w.querySelectorAll('sf-list-feed sf-chat-message[template=person]').length === 8 && !window.item(50).querySelector('sf-chat-message').hasAttribute('template') && Boolean(window.item(50).querySelector('.sf-chat-message--assistant')) && has(20, 'first') && !has(20, 'last') && !has(21, 'first') && has(21, 'last') && name(20) === 'Иван Петров' && name(21) === null && has(22, 'own') && window.item(22).querySelector('article').getAttribute('aria-label') === 'Вы' && name(22) === null && has(23, 'first') && has(23, 'last') && has(24, 'first') && name(24) === 'Ольга Смирнова' && has(25, 'first') && !has(25, 'last') && has(26, 'last') && window.item(20).querySelector('.sf-chat-person__avatar sf-avatar').getAttribute('text') === 'ИП' && window.item(26).querySelector('sf-file-preview[appearance=chip]')?.getAttribute('file-name') === 'Шаблон ответа.docx' && tools(22) === 'edit,delete' && tools(27) === 'delete' && tools(20) === '' && !w.querySelector('.sf-chat-divider--unread') && w.querySelector('sf-chat-composer').getAttribute('placeholder') === 'Напишите сообщение'; })()"
739
739
  },
740
740
  {
741
741
  "script": "(window.w.setData({conversation: {id: 7, title: 'Команда поддержки', type: 'private', can_send: true}}), true)",
@@ -1146,7 +1146,7 @@
1146
1146
  {
1147
1147
  "script": "(window.w.openStart({kind: 'group'}), window.answers['recipients.search'] = () => ({answer: 'applied', data: {items: [window.people.a, window.people.b]}}), true)",
1148
1148
  "wait": 600,
1149
- "check": "window.lookup().getAttribute('max-items') === '2' && window.titleField().querySelector('input').maxLength === 10 && JSON.stringify(window.lookup().exclude) === '[7]'"
1149
+ "check": "window.lookup().getAttribute('max-items') === '2' && window.titleField().getAttribute('maxlength') === '10' && JSON.stringify(window.lookup().exclude) === '[7]'"
1150
1150
  },
1151
1151
  {
1152
1152
  "script": "(window.w.querySelector('.chat-start__create button').click(), true)",
@@ -1563,7 +1563,7 @@
1563
1563
  {
1564
1564
  "script": "(await Promise.all(['sf-chat-window','sf-list-feed','sf-chat-message','sf-chat-composer','sf-chat-interlocutor','sf-thread-list'].map((t) => customElements.whenDefined(t))), window.w = document.querySelector('#w'), window.calls = [], window.answers = {}, window.item = (id) => window.w.querySelector('.sf-list-feed__item[data-id=\"' + id + '\"]'), window.payloads = (intent) => window.calls.filter((one) => one[0] === intent).map((one) => one[1]), window.field = () => window.w.querySelector('textarea.sf-chat-composer__input'), window.editor = () => window.w.querySelector('.sf-chat-person__edit-field'), window.setText = (node, value) => { node.value = value; node.dispatchEvent(new Event('input', {bubbles: true})); }, window.up = (more = {}) => { const e = new KeyboardEvent('keydown', {key: 'ArrowUp', bubbles: true, cancelable: true, ...more}); window.field().dispatchEvent(e); return e; }, window.at = (days, h = 12, m = 0) => { const n = new Date(); return new Date(n.getFullYear(), n.getMonth(), n.getDate() - days, h, m).toISOString(); }, window.ivan = {id: 102, name: 'Иван Петров'}, window.anna = {id: 101, name: 'Анна', own: true}, window.person = (id, author, created_at, more = {}) => ({id, kind: 'person', author, body: 'm' + id, ...(created_at ? {created_at} : {}), revision: 1, can_edit: false, can_delete: false, ...more}), window.w.connectPort({port: 'simai.chat-port', version: '1.0.0', raise: async (intent, payload) => { window.calls.push([intent, payload]); const given = window.answers[intent]; const answer = typeof given === 'function' ? await given(payload) : given; return answer ?? {answer: 'applied'}; }}), window.w.setAttribute('capabilities', \"people\"), window.w.setData({\"me\": {\"id\": 101, \"name\": \"Анна\"}, \"conversations\": [{\"id\": 7, \"title\": \"Команда\", \"type\": \"group\"}], \"conversation\": {\"id\": 7, \"title\": \"Команда\", \"type\": \"group\"}, \"feed_state\": \"ready\"}), window.long = new Date(new Date().getFullYear() - 1, 2, 5, 12).toISOString(), window.dated = (days) => { const n = new Date(); const d = new Date(n.getFullYear(), n.getMonth(), n.getDate() - days, 12); return new Intl.DateTimeFormat('ru', {day: 'numeric', month: 'long', ...(d.getFullYear() === n.getFullYear() ? {} : {year: 'numeric'})}).format(d); }, window.msgs = [window.person(1, window.ivan, window.long), window.person(2, window.ivan, window.at(3)), window.person(3, window.ivan, window.at(3, 12, 1)), window.person(4, window.ivan, null), window.person(5, window.anna, window.at(1)), window.person(6, window.ivan, null), window.person(7, window.ivan, window.at(0, 0, 1)), window.person(8, window.ivan, window.at(0, 0, 2))], window.w.setData({messages: window.msgs}), window.words = () => [...window.w.querySelectorAll('.sf-chat-divider')].map((one) => [one.closest('.sf-list-feed__item').dataset.id, one.textContent]), true)",
1565
1565
  "wait": 500,
1566
- "check": "(() => { const y = new Date().getFullYear() - 1; const got = window.words(); const want = [['1', new Intl.DateTimeFormat('ru', {day: 'numeric', month: 'long', year: 'numeric'}).format(new Date(y, 2, 5, 12))], ['2', window.dated(3)], ['5', 'Вчера'], ['7', 'Сегодня']]; return JSON.stringify(got) === JSON.stringify(want) && got[0][1].includes(String(y)) && (new Date().getMonth() < 1 && new Date().getDate() < 5 || !got[1][1].match(/\\d{4}/u)); })()"
1566
+ "check": "(() => { const y = new Date().getFullYear() - 1; const got = window.words().map(([id, text]) => [id, text.replace(/\\u00a0/gu, ' ')]); const want = [['1', new Intl.DateTimeFormat('ru', {day: 'numeric', month: 'long', year: 'numeric'}).format(new Date(y, 2, 5, 12))], ['2', window.dated(3)], ['5', 'Вчера'], ['7', 'Сегодня']]; return JSON.stringify(got) === JSON.stringify(want) && got[0][1].includes(String(y)) && (new Date().getMonth() < 1 && new Date().getDate() < 5 || !got[1][1].match(/\\d{4}/u)); })()"
1567
1567
  },
1568
1568
  {
1569
1569
  "check": "(() => { const line = window.item(5).querySelector('.sf-chat-divider'); const log = window.w.querySelector('.sf-list-feed__column').getBoundingClientRect(); const box = line.getBoundingClientRect(); const fine = line.getAttribute('role') === 'separator' && line.getAttribute('aria-label') === 'Вчера' && line.classList.contains('sf-chat-divider--day') && box.width > log.width * 0.9; return fine && !line.querySelector('button, a, [tabindex]'); })()"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 2,
3
3
  "id": "smart.chat-window",
4
- "version": "1.14.3",
4
+ "version": "1.14.4",
5
5
  "title": "Chat window",
6
6
  "summary": "A whole chat window on the host port simai.chat-port 1.0.0: the conversations (archive, paging, search, pinning), the open conversation with its messages, proposals, ratings and task briefs, the field with its files and the questions queued while an answer is awaited, the search within the conversation, whom one talks to, and «Мои файлы». It never talks to a server: the host gives the data and answers each intent, through the port or the settle action.",
7
7
  "kind": "smart",
@@ -2553,8 +2553,8 @@
2553
2553
  "version": 2
2554
2554
  },
2555
2555
  "runtime_pair": {
2556
- "ui_revision": "0edd49be08f802b60ed92f176b68911a42a12f3f",
2557
- "ui_smart_revision": "0edd49be08f802b60ed92f176b68911a42a12f3f"
2556
+ "ui_revision": "0000000000000000000000000000000000000000",
2557
+ "ui_smart_revision": "0000000000000000000000000000000000000000"
2558
2558
  },
2559
2559
  "aliases": [],
2560
2560
  "deprecations": [],
@@ -2727,6 +2727,15 @@
2727
2727
  "changes": [
2728
2728
  "sf-chat-threads 2.0.0: the list's rows are the Framework's sf-list. The window finds a row by .sf-list__row[data-id] and its «⋯» by .sf-list__actions (per-row Pin or Unpin, the focus after pinning, restoring and archiving); its words for a row's rename and menu (threads-rename, threads-rename-label, threads-actions), the day headings (threads-today, threads-yesterday, threads-earlier) and threads-loading are gone: the rows speak sf-list's. Nothing to change for a host."
2729
2729
  ]
2730
+ },
2731
+ {
2732
+ "from": "1.14.3",
2733
+ "to": "1.14.4",
2734
+ "changes": [
2735
+ "The composed message and field draw file chips as SIMAI Framework's sf-file-preview (K-08, pair ui-73df5d1b4d4c); the window's settings, values and events are unchanged. A page that read sf-chat-attachment__name in a window reads the chip's file-name.",
2736
+ "The start form's first field takes the focus on that pair as before (asked again until it has it).",
2737
+ "«Повторить» on a composer chip that did not upload asks the host's file.retry with message_id null and the chip's key as file_key; a host without it answers unavailable, nothing else changes."
2738
+ ]
2730
2739
  }
2731
2740
  ]
2732
2741
  },
@@ -2736,7 +2745,7 @@
2736
2745
  "source_artifacts": [
2737
2746
  {
2738
2747
  "path": "src/smart/chat-window/index.js",
2739
- "sha256": "25093b20e3017593b8429b5004a654536beddc58ee93cb03aae1fb65dcc61f96"
2748
+ "sha256": "68a9cbe63282e4118b75c3113f8839ee92e915217d05fc2c74646eb677a3bb51"
2740
2749
  },
2741
2750
  {
2742
2751
  "path": "src/smart/chat-window/js/port.js",
@@ -2768,7 +2777,7 @@
2768
2777
  },
2769
2778
  {
2770
2779
  "path": "src/smart/chat-window/js/start-view.js",
2771
- "sha256": "9255cf690df6841c9c02e0ba62d59ef66e2bb280e33bd97a57358ef134ed5669"
2780
+ "sha256": "46f48f1772abeee680e1eb37f8e4d6923d50a2f35394da748bbb148d74b7ba33"
2772
2781
  },
2773
2782
  {
2774
2783
  "path": "src/smart/chat-window/js/start-model.js",
@@ -2792,7 +2801,7 @@
2792
2801
  },
2793
2802
  {
2794
2803
  "path": "src/smart/chat-window/component.json",
2795
- "sha256": "1417fa803d48cefed3b0a7bb808a4384c9ccd4be6b43426a0bb9a3fdda225631"
2804
+ "sha256": "93ede4f20609b06bb529160d43639de12194662e47e1eb6b49183485dbba3a23"
2796
2805
  },
2797
2806
  {
2798
2807
  "path": "src/smart/chat-window/aliases.json",
@@ -4,7 +4,7 @@
4
4
  <div class="sf-thread-list__head">
5
5
 
6
6
  <button type="button" class="sf-thread-list__command" data-action="create">
7
- <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
7
+ <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
8
8
  <span>Новый разговор</span>
9
9
  </button>
10
10
 
@@ -15,17 +15,20 @@
15
15
  </div>
16
16
  <div class="sf-thread-list__scroller">
17
17
  <sf-list class="sf-thread-list__rows" heading-level="2" no-wrap label="Разговоры" group-by="day" empty-text="Разговоров пока нет" selected="thr_01" renamable style="display: contents;">
18
- <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-list-narrow data-sf-static>
18
+ <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-static>
19
19
  <span class="sf-list__width" aria-hidden="true"></span>
20
20
 
21
21
  <div class="sf-list__body" data-sf-list>
22
22
 
23
+
23
24
  <section class="sf-list__group" data-group="day:-6">
24
25
  <div role="heading" class="sf-group-heading sf-list__heading" aria-level="2" id="sf-chat-window-archived-1">Среда</div>
25
26
 
26
27
  <ul class="sf-list__rows" aria-labelledby="sf-chat-window-archived-1">
27
28
 
28
- <li class="sf-list__row " data-id="thr_02">
29
+
30
+ <li class="sf-list__row " data-id="thr_02">
31
+
29
32
  <sf-list-item interactive kind="text" size="1" value="thr_02" text="График на ноябрь" supporting="Кадры" title="График на ноябрь · Кадры" style="display: contents;" data-sf-size-relative>
30
33
  <div class="sf-list-item flex items-cross-center sf-list-item--text sf-list-item--size-1 sf-list-item--two-line sf-list-item--interactive" data-sf-list-roving tabindex="0" data-sf-static>
31
34
 
@@ -34,18 +37,18 @@
34
37
  </div>
35
38
  </div>
36
39
  </sf-list-item>
37
- <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
40
+ <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--ghost sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
38
41
  </li>
39
42
 
43
+
40
44
  </ul>
41
45
 
42
46
  </section>
47
+
43
48
  </div>
44
49
 
45
50
  <div class="sf-list__next" hidden></div>
46
- <sf-menu-context class="sf-list__menu" popup style="display: contents;">
47
- <div class="sf-context-menu" role="menu" data-sf-static></div>
48
- </sf-menu-context>
51
+
49
52
  </div>
50
53
  </sf-list>
51
54
  <p class="sf-thread-list__status" role="status" hidden></p>
@@ -53,16 +56,16 @@
53
56
  <div class="sf-thread-list__footer">
54
57
 
55
58
  <button type="button" class="sf-thread-list__command" data-action="archive-view">
56
- <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
59
+ <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
57
60
  <span>Архив</span>
58
61
  </button>
59
62
 
60
63
 
61
64
  </div>
62
65
  </nav>
63
- </sf-chat-threads></aside><main class="chat-shell__main sf-workspace-main"><h1 class="sf-chat-offscreen chat-shell__page-title">Отпуск и перенос</h1><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
66
+ </sf-chat-threads></aside><main class="chat-shell__main sf-workspace-main"><h1 class="sf-chat-offscreen chat-shell__page-title">Отпуск и перенос</h1><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" data-sf-icon-mirror aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
64
67
  <div class="sf-chat-interlocutor" data-sf-static>
65
- <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-archived-2"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
68
+ <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-archived-2"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
66
69
  <sf-menu-context class="sf-chat-interlocutor__menu" popup aria-label="Выбрать помощника" style="display: contents;">
67
70
  <div class="sf-context-menu" role="menu" aria-label="Выбрать помощника" data-sf-static></div>
68
71
  </sf-menu-context>
@@ -72,7 +75,7 @@
72
75
  <div role="region" tabindex="0" class="sf-list-feed " aria-label="Переписка" data-sf-static>
73
76
  <div class="sf-list-feed__earlier" hidden></div>
74
77
  <div class="sf-list-feed__empty" hidden></div>
75
- <div class="sf-list-feed__column" role="log" aria-live="off" aria-label="Сообщения"><div class="sf-list-feed__item sf-list-feed__item--own sf-list-feed__item--first sf-list-feed__item--last" data-id="msg_01"><sf-chat-message style="display: contents;"><script type="application/json" data-sf-settings>{"features":{"feedback":true,"proposals":true,"memory":true,"brief":false,"blocks":false},"display":{"busy":false},"message":{"id":"msg_01","role":"user","author":"user","own":true,"growing":false,"text":"Сколько дней отпуска мне положено и можно ли его перенести?","attachments":[]}}</script><div class="sf-chat-message-host" data-sf-static><article class="sf-chat-message sf-chat-message--user" data-id="msg_01" aria-label="Вы"><div class="sf-chat-message__bubble">Сколько дней отпуска мне положено и можно ли его перенести?</div></article></div></sf-chat-message></div><div class="sf-list-feed__item sf-list-feed__item--first sf-list-feed__item--last sf-list-feed__item--end" data-id="msg_02"><sf-chat-message style="display: contents;"><script type="application/json" data-sf-settings>{"features":{"feedback":true,"proposals":true,"memory":true,"brief":false,"blocks":false},"display":{"busy":false},"message":{"id":"msg_02","role":"assistant","author":"assistant","own":false,"growing":false,"text":"Ежегодный отпуск — 28 календарных дней[1]. Перенос — по заявлению[2].","attachments":[],"status":"completed","stage":null,"html":"\u003cp>Ежегодный отпуск — \u003cstrong>28 календарных дней\u003c/strong>[1]. Перенос — по заявлению не позднее чем за две недели[2].\u003c/p>","sources":[{"n":1,"kind":"base","title":"Положение об отпусках"},{"n":2,"kind":"web","title":"Трудовой кодекс, статья 124","url":"https://example.com/tk/124"}],"verification":"verified","notices":[],"proposal":null,"finished_at":null}}</script><div class="sf-chat-message-host" data-sf-static><article class="sf-chat-message sf-chat-message--assistant sf-chat-message--completed sf-chat-message--last" data-id="msg_02" aria-label="Помощник"><div class="sf-chat-message__body"><div class="sf-chat-markup"><p>Ежегодный отпуск — <strong>28 календарных </strong><span class="sf-chat-markup__cite"><strong>дней</strong><sup class="sf-chat-markup__ref"><button class="sf-chat-footnote" type="button" aria-label="Источник 1" aria-controls="m-msg_02-source-1">1</button></sup>.</span> Перенос — по заявлению не позднее чем за две <span class="sf-chat-markup__cite">недели<sup class="sf-chat-markup__ref"><button class="sf-chat-footnote" type="button" aria-label="Источник 2" aria-controls="m-msg_02-source-2">2</button></sup>.</span></p></div><div class="sf-chat-message__actions"><button class="sf-chat-chip sf-chat-chip--sources" type="button" aria-expanded="false" aria-controls="m-msg_02-sources" aria-label="Источники 2"><sf-icon icon="library_books" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>library_books</i></sf-icon><span class="sf-chat-chip__label">Источники</span><span>2</span></button><span class="sf-chat-chip sf-chat-chip--verified" title="Проверен по источникам"><sf-icon icon="verified" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>verified</i></sf-icon><span>Проверен</span><span class="sf-chat-offscreen"> по источникам</span></span><span class="sf-chat-message__divider sf-chat-message__tool" aria-hidden="true"></span><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Копировать ответ" title="Копировать ответ"><sf-icon icon="content_copy" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>content_copy</i></sf-icon></button><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Полезно" title="Полезно" aria-pressed="false" data-rating="up"><sf-icon icon="thumb_up" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>thumb_up</i></sf-icon></button><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Не полезно" title="Не полезно" aria-pressed="false" data-rating="down"><sf-icon icon="thumb_down" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>thumb_down</i></sf-icon></button><span class="sf-chat-offscreen" role="status" aria-live="polite"></span></div><ol class="sf-chat-sources" id="m-msg_02-sources" aria-label="Источники (2)" hidden></ol></div></article></div></sf-chat-message></div></div>
78
+ <div class="sf-list-feed__column" role="log" aria-live="off" aria-label="Сообщения"><div class="sf-list-feed__item sf-list-feed__item--own sf-list-feed__item--first sf-list-feed__item--last" data-id="msg_01"><sf-chat-message style="display: contents;"><script type="application/json" data-sf-settings>{"features":{"feedback":true,"proposals":true,"memory":true,"brief":false,"blocks":false},"display":{"busy":false},"message":{"id":"msg_01","role":"user","author":"user","own":true,"growing":false,"text":"Сколько дней отпуска мне положено и можно ли его перенести?","attachments":[]}}</script><div class="sf-chat-message-host" data-sf-static><article class="sf-chat-message sf-chat-message--user" data-id="msg_01" aria-label="Вы"><div class="sf-chat-message__bubble">Сколько дней отпуска мне положено и можно ли его перенести?</div></article></div></sf-chat-message></div><div class="sf-list-feed__item sf-list-feed__item--first sf-list-feed__item--last sf-list-feed__item--end" data-id="msg_02"><sf-chat-message style="display: contents;"><script type="application/json" data-sf-settings>{"features":{"feedback":true,"proposals":true,"memory":true,"brief":false,"blocks":false},"display":{"busy":false},"message":{"id":"msg_02","role":"assistant","author":"assistant","own":false,"growing":false,"text":"Ежегодный отпуск — 28 календарных дней[1]. Перенос — по заявлению[2].","attachments":[],"status":"completed","stage":null,"html":"\u003cp>Ежегодный отпуск — \u003cstrong>28 календарных дней\u003c/strong>[1]. Перенос — по заявлению не позднее чем за две недели[2].\u003c/p>","sources":[{"n":1,"kind":"base","title":"Положение об отпусках"},{"n":2,"kind":"web","title":"Трудовой кодекс, статья 124","url":"https://example.com/tk/124"}],"verification":"verified","notices":[],"proposal":null,"finished_at":null}}</script><div class="sf-chat-message-host" data-sf-static><article class="sf-chat-message sf-chat-message--assistant sf-chat-message--completed sf-chat-message--last" data-id="msg_02" aria-label="Помощник"><div class="sf-chat-message__body"><div class="sf-chat-markup"><p>Ежегодный отпуск — <strong>28 календарных </strong><span class="sf-chat-markup__cite"><strong>дней</strong><sup class="sf-chat-markup__ref"><button class="sf-chat-footnote" type="button" aria-label="Источник 1" aria-controls="m-msg_02-source-1">1</button></sup>.</span> Перенос — по заявлению не позднее чем за две <span class="sf-chat-markup__cite">недели<sup class="sf-chat-markup__ref"><button class="sf-chat-footnote" type="button" aria-label="Источник 2" aria-controls="m-msg_02-source-2">2</button></sup>.</span></p></div><div class="sf-chat-message__actions"><button class="sf-chat-chip sf-chat-chip--sources" type="button" aria-expanded="false" aria-controls="m-msg_02-sources" aria-label="Источники 2"><sf-icon icon="library_books" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1" aria-hidden="true" data-sf-static>library_books</i></sf-icon><span class="sf-chat-chip__label">Источники</span><span>2</span></button><span class="sf-chat-chip sf-chat-chip--verified" title="Проверен по источникам"><sf-icon icon="verified" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1" aria-hidden="true" data-sf-static>verified</i></sf-icon><span>Проверен</span><span class="sf-chat-offscreen"> по источникам</span></span><span class="sf-chat-message__divider sf-chat-message__tool" aria-hidden="true"></span><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Копировать ответ" title="Копировать ответ"><sf-icon icon="content_copy" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1" aria-hidden="true" data-sf-static>content_copy</i></sf-icon></button><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Полезно" title="Полезно" aria-pressed="false" data-rating="up"><sf-icon icon="thumb_up" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1" aria-hidden="true" data-sf-static>thumb_up</i></sf-icon></button><button class="sf-icon-button sf-icon-button--size-1/2 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-message__tool" type="button" aria-label="Не полезно" title="Не полезно" aria-pressed="false" data-rating="down"><sf-icon icon="thumb_down" size="1" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1" aria-hidden="true" data-sf-static>thumb_down</i></sf-icon></button><span class="sf-chat-offscreen" role="status" aria-live="polite"></span></div><ol class="sf-chat-sources" id="m-msg_02-sources" aria-label="Источники (2)" hidden></ol></div></article></div></sf-chat-message></div></div>
76
79
  <div class="sf-list-feed__jump" hidden></div>
77
80
  <div class="sf-list-feed__announcer sr-only" aria-live="polite"></div>
78
81
  </div>
@@ -84,7 +87,7 @@
84
87
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__attach" aria-label="Прикрепить файл" title="Прикрепить файл" hidden></button>
85
88
  <label class="sf-textarea sf-textarea--size-1 sf-textarea--flush sf-chat-composer__field sf-textarea--auto-grow" data-sf-textarea-bound="1" for="sf-chat-window-archived-3"><textarea class="sf-chat-composer__input" rows="1" data-auto-grow data-max-rows="8" id="sf-chat-window-archived-3" aria-label="Сообщение" aria-describedby="sf-chat-window-archived-4" placeholder="Спросите что-нибудь" style="--sf-textarea--min-rows: 1; --sf-textarea--max-rows: 8;"></textarea></label>
86
89
  <span class="sf-chat-composer__count" id="sf-chat-window-archived-4" hidden></span>
87
- <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
90
+ <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
88
91
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--default sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__stop" aria-label="Остановить ожидание" title="Остановить ожидание" hidden></button>
89
92
  </div>
90
93
  <div class="sf-chat-composer__drop" aria-hidden="true">Отпустите, чтобы прикрепить</div>
@@ -4,7 +4,7 @@
4
4
  <div class="sf-thread-list__head">
5
5
 
6
6
  <button type="button" class="sf-thread-list__command" data-action="create">
7
- <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
7
+ <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
8
8
  <span>Новый разговор</span>
9
9
  </button>
10
10
 
@@ -15,17 +15,20 @@
15
15
  </div>
16
16
  <div class="sf-thread-list__scroller">
17
17
  <sf-list class="sf-thread-list__rows" heading-level="2" no-wrap label="Разговоры" group-by="day" empty-text="Разговоров пока нет" selected renamable style="display: contents;">
18
- <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-list-narrow data-sf-static>
18
+ <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-static>
19
19
  <span class="sf-list__width" aria-hidden="true"></span>
20
20
 
21
21
  <div class="sf-list__body" data-sf-list>
22
22
 
23
+
23
24
  <section class="sf-list__group" data-group="day:-5">
24
25
  <div role="heading" class="sf-group-heading sf-list__heading" aria-level="2" id="sf-chat-window-embedded-1">Четверг</div>
25
26
 
26
27
  <ul class="sf-list__rows" aria-labelledby="sf-chat-window-embedded-1">
27
28
 
28
- <li class="sf-list__row " data-id="thr_01">
29
+
30
+ <li class="sf-list__row " data-id="thr_01">
31
+
29
32
  <sf-list-item interactive kind="text" size="1" value="thr_01" text="Отпуск и перенос" title="Отпуск и перенос" style="display: contents;" data-sf-size-relative>
30
33
  <div class="sf-list-item flex items-cross-center sf-list-item--text sf-list-item--size-1 sf-list-item--interactive" data-sf-list-roving tabindex="0" data-sf-static>
31
34
 
@@ -34,9 +37,10 @@
34
37
  </div>
35
38
  </div>
36
39
  </sf-list-item>
37
- <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: Отпуск и перенос" title="Действия: Отпуск и перенос"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
40
+ <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--ghost sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: Отпуск и перенос" title="Действия: Отпуск и перенос"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
38
41
  </li>
39
42
 
43
+
40
44
  </ul>
41
45
 
42
46
  </section>
@@ -45,7 +49,9 @@
45
49
 
46
50
  <ul class="sf-list__rows" aria-labelledby="sf-chat-window-embedded-2">
47
51
 
48
- <li class="sf-list__row " data-id="thr_02">
52
+
53
+ <li class="sf-list__row " data-id="thr_02">
54
+
49
55
  <sf-list-item interactive kind="text" size="1" value="thr_02" text="График на ноябрь" supporting="Кадры" title="График на ноябрь · Кадры" style="display: contents;" data-sf-size-relative>
50
56
  <div class="sf-list-item flex items-cross-center sf-list-item--text sf-list-item--size-1 sf-list-item--two-line sf-list-item--interactive" data-sf-list-roving tabindex="-1" data-sf-static>
51
57
 
@@ -54,18 +60,18 @@
54
60
  </div>
55
61
  </div>
56
62
  </sf-list-item>
57
- <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
63
+ <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--ghost sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
58
64
  </li>
59
65
 
66
+
60
67
  </ul>
61
68
 
62
69
  </section>
70
+
63
71
  </div>
64
72
 
65
73
  <div class="sf-list__next" hidden></div>
66
- <sf-menu-context class="sf-list__menu" popup style="display: contents;">
67
- <div class="sf-context-menu" role="menu" data-sf-static></div>
68
- </sf-menu-context>
74
+
69
75
  </div>
70
76
  </sf-list>
71
77
  <p class="sf-thread-list__status" role="status" hidden></p>
@@ -73,16 +79,16 @@
73
79
  <div class="sf-thread-list__footer">
74
80
 
75
81
  <button type="button" class="sf-thread-list__command" data-action="archive-view">
76
- <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
82
+ <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
77
83
  <span>Архив</span>
78
84
  </button>
79
85
 
80
86
 
81
87
  </div>
82
88
  </nav>
83
- </sf-chat-threads></aside><section class="chat-shell__main sf-workspace-main"><h2 class="sf-chat-offscreen chat-shell__page-title" hidden></h2><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
89
+ </sf-chat-threads></aside><section class="chat-shell__main sf-workspace-main"><h2 class="sf-chat-offscreen chat-shell__page-title" hidden></h2><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" data-sf-icon-mirror aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
84
90
  <div class="sf-chat-interlocutor" data-sf-static>
85
- <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-embedded-3"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
91
+ <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-embedded-3"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
86
92
  <sf-menu-context class="sf-chat-interlocutor__menu" popup aria-label="Выбрать помощника" style="display: contents;">
87
93
  <div class="sf-context-menu" role="menu" aria-label="Выбрать помощника" data-sf-static></div>
88
94
  </sf-menu-context>
@@ -106,7 +112,7 @@
106
112
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__attach" aria-label="Прикрепить файл" title="Прикрепить файл" hidden></button>
107
113
  <label class="sf-textarea sf-textarea--size-1 sf-textarea--flush sf-chat-composer__field sf-textarea--auto-grow" data-sf-textarea-bound="1" for="sf-chat-window-embedded-5"><textarea class="sf-chat-composer__input" rows="1" data-auto-grow data-max-rows="8" id="sf-chat-window-embedded-5" aria-label="Сообщение" aria-describedby="sf-chat-window-embedded-6" placeholder="Спросите что-нибудь" style="--sf-textarea--min-rows: 1; --sf-textarea--max-rows: 8;"></textarea></label>
108
114
  <span class="sf-chat-composer__count" id="sf-chat-window-embedded-6" hidden></span>
109
- <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
115
+ <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
110
116
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--default sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__stop" aria-label="Остановить ожидание" title="Остановить ожидание" hidden></button>
111
117
  </div>
112
118
  <div class="sf-chat-composer__drop" aria-hidden="true">Отпустите, чтобы прикрепить</div>
@@ -4,7 +4,7 @@
4
4
  <div class="sf-thread-list__head">
5
5
 
6
6
  <button type="button" class="sf-thread-list__command" data-action="create">
7
- <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
7
+ <sf-icon size="2" aria-hidden="true" icon="edit_square" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>edit_square</i></sf-icon>
8
8
  <span>Новый разговор</span>
9
9
  </button>
10
10
 
@@ -15,17 +15,20 @@
15
15
  </div>
16
16
  <div class="sf-thread-list__scroller">
17
17
  <sf-list class="sf-thread-list__rows" heading-level="2" no-wrap label="Разговоры" group-by="day" empty-text="Разговоров пока нет" selected renamable style="display: contents;">
18
- <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-list-narrow data-sf-static>
18
+ <div class="sf-list sf-list__frame sf-list--size-1 sf-list--no-wrap " role="group" aria-label="Разговоры" aria-busy="false" data-sf-static>
19
19
  <span class="sf-list__width" aria-hidden="true"></span>
20
20
 
21
21
  <div class="sf-list__body" data-sf-list>
22
22
 
23
+
23
24
  <section class="sf-list__group" data-group="day:-5">
24
25
  <div role="heading" class="sf-group-heading sf-list__heading" aria-level="2" id="sf-chat-window-greeting-1">Четверг</div>
25
26
 
26
27
  <ul class="sf-list__rows" aria-labelledby="sf-chat-window-greeting-1">
27
28
 
28
- <li class="sf-list__row " data-id="thr_01">
29
+
30
+ <li class="sf-list__row " data-id="thr_01">
31
+
29
32
  <sf-list-item interactive kind="text" size="1" value="thr_01" text="Отпуск и перенос" title="Отпуск и перенос" style="display: contents;" data-sf-size-relative>
30
33
  <div class="sf-list-item flex items-cross-center sf-list-item--text sf-list-item--size-1 sf-list-item--interactive" data-sf-list-roving tabindex="0" data-sf-static>
31
34
 
@@ -34,9 +37,10 @@
34
37
  </div>
35
38
  </div>
36
39
  </sf-list-item>
37
- <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: Отпуск и перенос" title="Действия: Отпуск и перенос"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
40
+ <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--ghost sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: Отпуск и перенос" title="Действия: Отпуск и перенос"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
38
41
  </li>
39
42
 
43
+
40
44
  </ul>
41
45
 
42
46
  </section>
@@ -45,7 +49,9 @@
45
49
 
46
50
  <ul class="sf-list__rows" aria-labelledby="sf-chat-window-greeting-2">
47
51
 
48
- <li class="sf-list__row " data-id="thr_02">
52
+
53
+ <li class="sf-list__row " data-id="thr_02">
54
+
49
55
  <sf-list-item interactive kind="text" size="1" value="thr_02" text="График на ноябрь" supporting="Кадры" title="График на ноябрь · Кадры" style="display: contents;" data-sf-size-relative>
50
56
  <div class="sf-list-item flex items-cross-center sf-list-item--text sf-list-item--size-1 sf-list-item--two-line sf-list-item--interactive" data-sf-list-roving tabindex="-1" data-sf-static>
51
57
 
@@ -54,18 +60,18 @@
54
60
  </div>
55
61
  </div>
56
62
  </sf-list-item>
57
- <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
63
+ <button type="button" tabindex="-1" aria-haspopup="menu" class="sf-list__actions sf-icon-button sf-icon-button--icon sf-icon-button--ghost sf-icon-button--on-surface sf-icon-button--size-1 flex items-cross-center content-main-center flex-none" aria-label="Действия: График на ноябрь" title="Действия: График на ноябрь"><sf-icon icon="more_horiz" aria-hidden="true" style="display: contents;"><i class="sf-icon" aria-hidden="true" data-sf-static>more_horiz</i></sf-icon></button>
58
64
  </li>
59
65
 
66
+
60
67
  </ul>
61
68
 
62
69
  </section>
70
+
63
71
  </div>
64
72
 
65
73
  <div class="sf-list__next" hidden></div>
66
- <sf-menu-context class="sf-list__menu" popup style="display: contents;">
67
- <div class="sf-context-menu" role="menu" data-sf-static></div>
68
- </sf-menu-context>
74
+
69
75
  </div>
70
76
  </sf-list>
71
77
  <p class="sf-thread-list__status" role="status" hidden></p>
@@ -73,16 +79,16 @@
73
79
  <div class="sf-thread-list__footer">
74
80
 
75
81
  <button type="button" class="sf-thread-list__command" data-action="archive-view">
76
- <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
82
+ <sf-icon size="2" aria-hidden="true" icon="inventory_2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>inventory_2</i></sf-icon>
77
83
  <span>Архив</span>
78
84
  </button>
79
85
 
80
86
 
81
87
  </div>
82
88
  </nav>
83
- </sf-chat-threads></aside><main class="chat-shell__main sf-workspace-main"><h1 class="sf-chat-offscreen chat-shell__page-title" hidden></h1><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
89
+ </sf-chat-threads></aside><main class="chat-shell__main sf-workspace-main"><h1 class="sf-chat-offscreen chat-shell__page-title" hidden></h1><header class="chat-shell__header"><button class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-workspace-back chat-shell__back" type="button" aria-label="К разговорам" title="К разговорам"><sf-icon icon="arrow_back" size="2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" data-sf-icon-mirror aria-hidden="true" data-sf-static>arrow_back</i></sf-icon></button><sf-chat-interlocutor style="display: contents;" value="personal"><script type="application/json" data-sf-settings>{"options":[{"id":"personal","kind":"personal","title":"Мой помощник","greeting":"Чем помочь? Спросите о правилах компании или пришлите документ.","suggestions":["Сколько дней отпуска?","Как оформить командировку?"],"capabilities":{"attachments":true,"proposals":true,"memory":true}},{"id":"hr","kind":"knowledge","title":"Кадры","greeting":"Вопросы об отпусках, графике и документах.","suggestions":[]}]}</script>
84
90
  <div class="sf-chat-interlocutor" data-sf-static>
85
- <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-greeting-3"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
91
+ <button type="button" class="sf-chat-interlocutor__button" aria-label="Помощник: Мой помощник" aria-haspopup="menu" aria-expanded="false" aria-describedby="sf-chat-window-greeting-3"><span class="sf-chat-interlocutor__title">Мой помощник</span><sf-icon icon="expand_more" size="1/2" aria-hidden="true" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-1/2" aria-hidden="true" data-sf-static>expand_more</i></sf-icon></button>
86
92
  <sf-menu-context class="sf-chat-interlocutor__menu" popup aria-label="Выбрать помощника" style="display: contents;">
87
93
  <div class="sf-context-menu" role="menu" aria-label="Выбрать помощника" data-sf-static></div>
88
94
  </sf-menu-context>
@@ -106,7 +112,7 @@
106
112
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--link sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__attach" aria-label="Прикрепить файл" title="Прикрепить файл" hidden></button>
107
113
  <label class="sf-textarea sf-textarea--size-1 sf-textarea--flush sf-chat-composer__field sf-textarea--auto-grow" data-sf-textarea-bound="1" for="sf-chat-window-greeting-5"><textarea class="sf-chat-composer__input" rows="1" data-auto-grow data-max-rows="8" id="sf-chat-window-greeting-5" aria-label="Сообщение" aria-describedby="sf-chat-window-greeting-6" placeholder="Спросите что-нибудь" style="--sf-textarea--min-rows: 1; --sf-textarea--max-rows: 8;"></textarea></label>
108
114
  <span class="sf-chat-composer__count" id="sf-chat-window-greeting-6" hidden></span>
109
- <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2 sf-icon--weight-regular" style="--sf-icon--grade:0;--sf-icon--optical-size:24" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
115
+ <button type="submit" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--tonal sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__send" aria-label="Отправить" title="Отправить" disabled><sf-icon aria-hidden="true" icon="arrow_upward" size="2" style="display: contents;" data-sf-size-relative><i class="sf-icon sf-icon--size-2" aria-hidden="true" data-sf-static>arrow_upward</i></sf-icon></button>
110
116
  <button type="button" class="sf-icon-button sf-icon-button--size-1 sf-icon-button--icon sf-icon-button--default sf-icon-button--on-surface flex items-cross-center content-main-center sf-chat-composer__stop" aria-label="Остановить ожидание" title="Остановить ожидание" hidden></button>
111
117
  </div>
112
118
  <div class="sf-chat-composer__drop" aria-hidden="true">Отпустите, чтобы прикрепить</div>