{"id":464085,"date":"2025-06-21T21:00:08","date_gmt":"2025-06-21T21:00:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=464085"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2025-06-21T21:00:08","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=464085","title":{"rendered":"<span>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e @vue-dnd-kit\/components: \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u0432\u0430\u043c <a href=\"https:\/\/habr.com\/ru\/news\/902384\/\" rel=\"noopener noreferrer nofollow\">Vue DnD Kit<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u0432 Vue 3. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u043e\u0432\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 <strong>vue-dnd-kit\/components<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 drag &amp; drop \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432.<\/p>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: \u042d\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u0430\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u043e \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/zizigy.github.io\/vue-dnd-kit\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p><strong>\u26a0\ufe0f \u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/strong>: \u041f\u0430\u043a\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 (\u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u044f). API \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u043c\u0438\u043d\u043e\u0440\u043d\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438. \u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.0.0.<\/p>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 vue-dnd-kit\/components?<\/h3>\n<p><code>vue-dnd-kit\/components<\/code> \u2014 \u044d\u0442\u043e \u043f\u0430\u043a\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>vue-dnd-kit\/core<\/code>. \u041e\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0442\u0438\u043f\u043e\u0432\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f drag &amp; drop, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a:<\/p>\n<ul>\n<li>\n<p>\ud83d\udccb <strong>\u0421\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/strong> \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\ud83d\udcca <strong>\u041a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0438<\/strong> \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\ud83c\udf33 <strong>\u0414\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/strong> \u0441 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e<\/p>\n<\/li>\n<li>\n<p>\ud83e\udde9 <strong>\u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b<\/strong> \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u043c\u0438<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/h3>\n<h4>1. CLI \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/h4>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043a\u0440\u0443\u0442\u044b\u0445 \u0444\u0438\u0447 \u2014 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 CLI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 <a href=\"https:\/\/ui.shadcn.com\/\" rel=\"noopener noreferrer nofollow\">shadcn\/ui<\/a>:<\/p>\n<pre><code class=\"bash\"># \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b pnpm dlx @vue-dnd-kit\/components list  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 pnpm dlx @vue-dnd-kit\/components add Table  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 pnpm dlx @vue-dnd-kit\/components add Kanban --dir src\/shared\/components <\/code><\/pre>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: CLI \u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442, \u0434\u0430\u0432\u0430\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u043a\u043e\u0434\u043e\u043c \u0438 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b \u2014 \u044d\u0442\u043e \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0432\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434!<\/p>\n<h4>2. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0434\u0438\u0437\u0430\u0439\u043d-\u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/p>\n<pre><code class=\"typescript\">&lt;template&gt;   &lt;Table     :rows=\"users\"     :columns=\"columns\"   &gt;     &lt;template #caption&gt;\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439&lt;\/template&gt;     &lt;template #default=\"props\"&gt;       &lt;TableRow         v-for=\"(user, index) in users\"         :key=\"user.id\"         :row=\"user\"         :row-index=\"index\"         v-bind=\"props\"       \/&gt;     &lt;\/template&gt;   &lt;\/Table&gt; &lt;\/template&gt;  &lt;style&gt;   \/* \u0412\u0430\u0448\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 *\/   .vue-dnd-table {     @apply w-full border-collapse;   }    .vue-dnd-table-row {     @apply hover:bg-gray-50 transition-colors;   } &lt;\/style&gt; <\/code><\/pre>\n<h4>3. \u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043b\u043e\u0442\u043e\u0432<\/h4>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"typescript\">&lt;template&gt;   &lt;Kanban     :columns=\"columns\"     v-slot=\"{ columns }\"   &gt;     &lt;KanbanColumn       v-for=\"(column, index) in columns\"       :key=\"column.id\"       :column=\"column\"       :columns=\"columns\"       :column-index=\"index\"       :body-source=\"column.tasks\"     &gt;       &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u043e\u043b\u043e\u043d\u043a\u0438 --&gt;       &lt;template #header&gt;         &lt;div class=\"flex items-center gap-2\"&gt;           &lt;span class=\"font-semibold\"&gt;{{ column.title }}&lt;\/span&gt;           &lt;span class=\"text-sm text-gray-500\"&gt;({{ column.tasks.length }})&lt;\/span&gt;         &lt;\/div&gt;       &lt;\/template&gt;        &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0437\u0430\u0434\u0430\u0447 --&gt;       &lt;KanbanItem         v-for=\"(task, taskIndex) in column.tasks\"         :key=\"task.id\"         :item=\"task\"         :items=\"column.tasks\"         :item-index=\"taskIndex\"       &gt;         &lt;div class=\"p-3 bg-white rounded-lg shadow-sm\"&gt;           &lt;h4 class=\"font-medium\"&gt;{{ task.title }}&lt;\/h4&gt;           &lt;p class=\"text-sm text-gray-600 mt-1\"&gt;{{ task.description }}&lt;\/p&gt;         &lt;\/div&gt;       &lt;\/KanbanItem&gt;        &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0444\u0443\u0442\u0435\u0440 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 --&gt;       &lt;template #footer&gt;         &lt;button class=\"w-full p-2 text-gray-500 hover:bg-gray-50 rounded\"&gt;           + \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443         &lt;\/button&gt;       &lt;\/template&gt;     &lt;\/KanbanColumn&gt;   &lt;\/Kanban&gt; &lt;\/template&gt; <\/code><\/pre>\n<h3>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<h4>\ud83d\udccb Table \u2014 \u0421\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/h4>\n<p>\u041f\u043e\u043b\u043d\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Table, TableRow, type ITableColumn } from '.\/components\/Table';    interface IUser {     id: number;     name: string;     email: string;     role: string;   }    const users = ref&lt;IUser[]&gt;([     { id: 1, name: '\u0418\u0432\u0430\u043d \u041f\u0435\u0442\u0440\u043e\u0432', email: 'ivan@example.com', role: '\u0410\u0434\u043c\u0438\u043d' },     {       id: 2,       name: '\u041c\u0430\u0440\u0438\u044f \u0421\u0438\u0434\u043e\u0440\u043e\u0432\u0430',       email: 'maria@example.com',       role: '\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440',     },     {       id: 3,       name: '\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041a\u043e\u0437\u043b\u043e\u0432',       email: 'alex@example.com',       role: '\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a',     },   ]);    const columns = ref&lt;ITableColumn&lt;IUser&gt;[]&gt;([     { label: 'ID', key: 'id' },     { label: '\u0418\u043c\u044f', key: 'name' },     { label: 'Email', key: 'email' },     { label: '\u0420\u043e\u043b\u044c', key: 'role' },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Table     :rows=\"users\"     :columns=\"columns\"   &gt;     &lt;template #caption&gt;\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432&lt;\/template&gt;     &lt;template #default=\"props\"&gt;       &lt;TableRow         v-for=\"(user, index) in users\"         :key=\"user.id\"         :row=\"user\"         :row-index=\"index\"         v-bind=\"props\"       \/&gt;     &lt;\/template&gt;   &lt;\/Table&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u0441\u043b\u043e\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432 (success, processing, failed)<\/p>\n<\/li>\n<li>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0438<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83d\udcca Kanban \u2014 \u041a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0438<\/h4>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u043a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Kanban, KanbanColumn, KanbanItem } from '.\/components\/Kanban';    interface ITask {     id: number;     title: string;     description: string;     priority: 'low' | 'medium' | 'high';   }    interface IColumn {     id: number;     title: string;     tasks: ITask[];   }    const columns = ref&lt;IColumn[]&gt;([     {       id: 1,       title: '\u041a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e',       tasks: [         {           id: 1,           title: '\u0418\u0437\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e',           description: '\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c API docs',           priority: 'medium',         },         {           id: 2,           title: '\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b',           description: '\u041f\u043e\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0434 \u0442\u0435\u0441\u0442\u0430\u043c\u0438',           priority: 'high',         },       ],     },     {       id: 2,       title: '\u0412 \u0440\u0430\u0431\u043e\u0442\u0435',       tasks: [         {           id: 3,           title: '\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c UI',           description: '\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b',           priority: 'high',         },       ],     },     {       id: 3,       title: '\u0413\u043e\u0442\u043e\u0432\u043e',       tasks: [         {           id: 4,           title: '\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430',           description: '\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f',           priority: 'low',         },       ],     },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Kanban     :columns=\"columns\"     v-slot=\"{ columns }\"   &gt;     &lt;KanbanColumn       v-for=\"(column, index) in columns\"       :key=\"column.id\"       :column=\"column\"       :columns=\"columns\"       :column-index=\"index\"       :body-source=\"column.tasks\"     &gt;       &lt;template #header&gt;         &lt;div class=\"flex items-center justify-between\"&gt;           &lt;span class=\"font-semibold\"&gt;{{ column.title }}&lt;\/span&gt;           &lt;span class=\"text-sm bg-gray-100 px-2 py-1 rounded-full\"&gt;             {{ column.tasks.length }}           &lt;\/span&gt;         &lt;\/div&gt;       &lt;\/template&gt;        &lt;KanbanItem         v-for=\"(task, taskIndex) in column.tasks\"         :key=\"task.id\"         :item=\"task\"         :items=\"column.tasks\"         :item-index=\"taskIndex\"       &gt;         &lt;div           class=\"p-3 bg-white rounded-lg shadow-sm border-l-4\"           :class=\"{             'border-red-500': task.priority === 'high',             'border-yellow-500': task.priority === 'medium',             'border-green-500': task.priority === 'low',           }\"         &gt;           &lt;h4 class=\"font-medium text-sm\"&gt;{{ task.title }}&lt;\/h4&gt;           &lt;p class=\"text-xs text-gray-600 mt-1\"&gt;{{ task.description }}&lt;\/p&gt;         &lt;\/div&gt;       &lt;\/KanbanItem&gt;     &lt;\/KanbanColumn&gt;   &lt;\/Kanban&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0438 \u0444\u0443\u0442\u0435\u0440\u044b \u043a\u043e\u043b\u043e\u043d\u043e\u043a<\/p>\n<\/li>\n<li>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043b\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83c\udf33 Tree \u2014 \u0414\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/h4>\n<p>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0441 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Tree } from '.\/components\/Tree';    interface IFile {     id: number;     name: string;     type: 'file' | 'folder';     children?: IFile[];   }    const files = ref&lt;IFile[]&gt;([     {       id: 1,       name: '\u041f\u0440\u043e\u0435\u043a\u0442',       type: 'folder',       children: [         {           id: 2,           name: 'src',           type: 'folder',           children: [             { id: 3, name: 'main.ts', type: 'file' },             { id: 4, name: 'App.vue', type: 'file' },           ],         },         {           id: 5,           name: 'docs',           type: 'folder',           children: [{ id: 6, name: 'README.md', type: 'file' }],         },       ],     },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Tree     :data=\"files\"     item-key=\"id\"     nesting-key=\"children\"     v-slot=\"{ item }\"   &gt;     &lt;div class=\"flex items-center gap-2 py-1\"&gt;       &lt;span         class=\"text-lg\"         :class=\"item.type === 'folder' ? 'text-blue-500' : 'text-gray-500'\"       &gt;         {{ item.type === 'folder' ? '\ud83d\udcc1' : '\ud83d\udcc4' }}       &lt;\/span&gt;       &lt;span class=\"font-medium\"&gt;{{ item.name }}&lt;\/span&gt;     &lt;\/div&gt;   &lt;\/Tree&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u0430\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435\/\u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0443\u0437\u043b\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0434\u0435\u0442\u044c\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0437\u043e\u043d \u0434\u043b\u044f \u0441\u0431\u0440\u043e\u0441\u0430<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83e\udde9 Dashboard \u2014 \u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b<\/h4>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Dashboard, DashboardItem } from '.\/components\/Dashboard';   import ChartCard from '.\/components\/Dashboard\/Example\/ChartCard.vue';   import StatCard from '.\/components\/Dashboard\/Example\/StatCard.vue';   import TaskList from '.\/components\/Dashboard\/Example\/TaskList.vue';    interface IDashboardItem {     id: number;     component: Component;   }    const dashboard = ref&lt;IDashboardItem[]&gt;([     { id: 1, component: ChartCard },     { id: 2, component: TaskList },     { id: 3, component: StatCard },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Dashboard     :data=\"dashboard\"     class=\"dashboard\"   &gt;     &lt;TransitionGroup       name=\"dashboard\"       appear     &gt;       &lt;DashboardItem         v-for=\"(item, index) in dashboard\"         :key=\"item.id\"         :index=\"index\"         :source=\"dashboard\"         class=\"dashboard-item\"       &gt;         &lt;component :is=\"item.component\" \/&gt;       &lt;\/DashboardItem&gt;     &lt;\/TransitionGroup&gt;   &lt;\/Dashboard&gt; &lt;\/template&gt;  &lt;style&gt;   .dashboard {     display: grid;     grid-template-columns: 1fr 1fr;     grid-template-rows: auto auto;     gap: 20px;     padding: 20px;   }    .dashboard-item {     border-radius: 12px;     background: white;     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);     transition: all 0.3s ease;   }    .dashboard-move {     transition: all 0.3s ease;   } &lt;\/style&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>CSS Grid \u0434\u043b\u044f \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u043b\u0430\u0432\u043d\u044b\u0435 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 TransitionGroup<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0447\u0435\u0440\u0435\u0437 \u0441\u043b\u043e\u0442\u044b<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c<\/h3>\n<h4>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h4>\n<pre><code class=\"bash\"># npm npm install @vue-dnd-kit\/components @vue-dnd-kit\/core  # yarn yarn add @vue-dnd-kit\/components @vue-dnd-kit\/core  # pnpm pnpm add @vue-dnd-kit\/components @vue-dnd-kit\/core <\/code><\/pre>\n<h4>\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 \u0441 CLI<\/h4>\n<pre><code class=\"bash\"># \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443 pnpm dlx @vue-dnd-kit\/components add Table  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0443 pnpm dlx @vue-dnd-kit\/components add Kanban  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0435\u0440\u0435\u0432\u043e pnpm dlx @vue-dnd-kit\/components add Tree  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u0448\u0431\u043e\u0440\u0434 pnpm dlx @vue-dnd-kit\/components add Dashboard <\/code><\/pre>\n<h4>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u043a \u043f\u043b\u0430\u0433\u0438\u043d<\/h4>\n<pre><code class=\"typescript\">import { createApp } from 'vue'; import App from '.\/App.vue'; import VueDnDKitPlugin from '@vue-dnd-kit\/core';  const app = createApp(App); app.use(VueDnDKitPlugin); app.mount('#app'); <\/code><\/pre>\n<h3>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043f\u0435\u0440\u0435\u0434 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438<\/h3>\n<h4>1. \u041f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<ul>\n<li>\n<p>CLI \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u0418\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u044b\u0439 API \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0441\u043b\u043e\u0442\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/p>\n<\/li>\n<\/ul>\n<h4>2. \u0413\u0438\u0431\u043a\u043e\u0441\u0442\u044c<\/h4>\n<ul>\n<li>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b \u0434\u043b\u044f \u043b\u044e\u0431\u043e\u0439 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c UI-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h4>\n<ul>\n<li>\n<p>\u041e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>\u042d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0441\u043f\u0438\u0441\u043a\u0430\u043c\u0438<\/p>\n<\/li>\n<\/ul>\n<h4>4. \u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0441\u0442\u044c<\/h4>\n<ul>\n<li>\n<p>\u041f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u043d\u043e\u0439 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441\u043e \u0441\u043a\u0440\u0438\u043d\u0440\u0438\u0434\u0435\u0440\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u0421\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0430<\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435<\/h3>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f! \u0412 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b:<\/p>\n<ul>\n<li>\n<p><strong>SortableList<\/strong> \u2014 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0441\u043f\u0438\u0441\u043a\u0438<\/p>\n<\/li>\n<li>\n<p><strong>FormBuilder<\/strong> \u2014 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0444\u043e\u0440\u043c \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c<\/p>\n<\/li>\n<li>\n<p><strong>Tabs<\/strong> \u2014 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438<\/p>\n<\/li>\n<li>\n<p><strong>FileExplorer<\/strong> \u2014 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440<\/p>\n<\/li>\n<li>\n<p><strong>Grid<\/strong> \u2014 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0430\u044f \u0441\u0435\u0442\u043a\u0430<\/p>\n<\/li>\n<\/ul>\n<p><strong>Roadmap:<\/strong><\/p>\n<ul>\n<li>\n<p>[x] \u0411\u0430\u0437\u043e\u0432\u044b\u0435 drag &amp; drop \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>[x] Table \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/p>\n<\/li>\n<li>\n<p>[x] Kanban \u0434\u043e\u0441\u043a\u0430<\/p>\n<\/li>\n<li>\n<p>[x] Tree \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/p>\n<\/li>\n<li>\n<p>[ ] SortableList<\/p>\n<\/li>\n<li>\n<p>[ ] FormBuilder<\/p>\n<\/li>\n<li>\n<p>[ ] Dashboard<\/p>\n<\/li>\n<li>\n<p>[ ] Tabs<\/p>\n<\/li>\n<li>\n<p>[ ] FileExplorer<\/p>\n<\/li>\n<li>\n<p>[ ] Grid<\/p>\n<\/li>\n<li>\n<p>[ ] \u0422\u0435\u0441\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>[ ] \u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 API (\u0432\u0435\u0440\u0441\u0438\u044f 1.0.0)<\/p>\n<\/li>\n<\/ul>\n<h3>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h3>\n<p><code>vue-dnd-kit\/components<\/code> \u2014 \u044d\u0442\u043e \u043c\u043e\u0449\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f CLI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 shadcn\/ui, \u0433\u0438\u0431\u043a\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0441\u043b\u043e\u0442\u043e\u0432 \u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 drag &amp; drop \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u043c\u0438\u043d\u0443\u0442\u044b.<\/p>\n<p><strong>\u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e<\/strong>: \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043a\u043b\u043e\u043d\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0432 \u0432\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442, \u0430 \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u0443\u044e \u0441\u0432\u043e\u0431\u043e\u0434\u0443 \u0432 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c, \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0438 \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u043e\u043c\u0443 \u0432\u043a\u043b\u0430\u0434\u0443 \u043e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430!<\/p>\n<p><strong>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\ud83d\udcda <a href=\"https:\/\/zizigy.github.io\/vue-dnd-kit\/\" rel=\"noopener noreferrer nofollow\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><\/p>\n<\/li>\n<li>\n<p>\ud83d\udc19 <a href=\"https:\/\/github.com\/zizigy\/vue-dnd-kit\" rel=\"noopener noreferrer nofollow\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a><\/p>\n<\/li>\n<li>\n<p>\ud83d\udce6 <a href=\"https:\/\/www.npmjs.com\/package\/@vue-dnd-kit\/components\" rel=\"noopener noreferrer nofollow\">npm \u043f\u0430\u043a\u0435\u0442<\/a><\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u0432\u0430\u0448\u0438\u043c \u043e\u0442\u0437\u044b\u0432\u0430\u043c \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/p>\n<hr\/>\n<p><strong>\u0422\u0435\u0433\u0438:<\/strong> vue.js, drag-and-drop, dnd-kit, frontend-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, components, ui-library<\/p>\n<p><strong>\u0425\u0430\u0431\u044b:<\/strong> VueJS, Frontend-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/920620\/\"> https:\/\/habr.com\/ru\/articles\/920620\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u0432\u0430\u043c <a href=\"https:\/\/habr.com\/ru\/news\/902384\/\" rel=\"noopener noreferrer nofollow\">Vue DnD Kit<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u0432 Vue 3. \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u043d\u043e\u0432\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 <strong>vue-dnd-kit\/components<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 drag &amp; drop \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432.<\/p>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: \u042d\u0442\u0430 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u0430\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u043e \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u0430\u043a\u0435\u0442\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/zizigy.github.io\/vue-dnd-kit\/\" rel=\"noopener noreferrer nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a>.<\/p>\n<p><strong>\u26a0\ufe0f \u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u0430<\/strong>: \u041f\u0430\u043a\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 (\u0431\u0435\u0442\u0430-\u0432\u0435\u0440\u0441\u0438\u044f). API \u043c\u043e\u0436\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u043c\u0438\u043d\u043e\u0440\u043d\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438. \u041d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 1.0.0.<\/p>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 vue-dnd-kit\/components?<\/h3>\n<p><code>vue-dnd-kit\/components<\/code> \u2014 \u044d\u0442\u043e \u043f\u0430\u043a\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 <code>vue-dnd-kit\/core<\/code>. \u041e\u043d \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0442\u0438\u043f\u043e\u0432\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f drag &amp; drop, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a:<\/p>\n<ul>\n<li>\n<p>\ud83d\udccb <strong>\u0421\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/strong> \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\ud83d\udcca <strong>\u041a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0438<\/strong> \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\ud83c\udf33 <strong>\u0414\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/strong> \u0441 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e<\/p>\n<\/li>\n<li>\n<p>\ud83e\udde9 <strong>\u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b<\/strong> \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c\u044b\u043c\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u043c\u0438<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438<\/h3>\n<h4>1. CLI \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/h4>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043a\u0440\u0443\u0442\u044b\u0445 \u0444\u0438\u0447 \u2014 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 CLI, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 <a href=\"https:\/\/ui.shadcn.com\/\" rel=\"noopener noreferrer nofollow\">shadcn\/ui<\/a>:<\/p>\n<pre><code class=\"bash\"># \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b pnpm dlx @vue-dnd-kit\/components list  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 pnpm dlx @vue-dnd-kit\/components add Table  # \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 pnpm dlx @vue-dnd-kit\/components add Kanban --dir src\/shared\/components <\/code><\/pre>\n<p><strong>\u0412\u0430\u0436\u043d\u043e<\/strong>: CLI \u043a\u043b\u043e\u043d\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u0440\u044f\u043c\u043e \u0432 \u0432\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442, \u0434\u0430\u0432\u0430\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u043a\u043e\u0434\u043e\u043c \u0438 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b \u2014 \u044d\u0442\u043e \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044c, \u0430 \u0432\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434!<\/p>\n<h4>2. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043b\u0435\u0433\u043a\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0434\u0438\u0437\u0430\u0439\u043d-\u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/p>\n<pre><code class=\"typescript\">&lt;template&gt;   &lt;Table     :rows=\"users\"     :columns=\"columns\"   &gt;     &lt;template #caption&gt;\u0421\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439&lt;\/template&gt;     &lt;template #default=\"props\"&gt;       &lt;TableRow         v-for=\"(user, index) in users\"         :key=\"user.id\"         :row=\"user\"         :row-index=\"index\"         v-bind=\"props\"       \/&gt;     &lt;\/template&gt;   &lt;\/Table&gt; &lt;\/template&gt;  &lt;style&gt;   \/* \u0412\u0430\u0448\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0442\u0438\u043b\u0438 *\/   .vue-dnd-table {     @apply w-full border-collapse;   }    .vue-dnd-table-row {     @apply hover:bg-gray-50 transition-colors;   } &lt;\/style&gt; <\/code><\/pre>\n<h4>3. \u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043b\u043e\u0442\u043e\u0432<\/h4>\n<p>\u041a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438:<\/p>\n<pre><code class=\"typescript\">&lt;template&gt;   &lt;Kanban     :columns=\"columns\"     v-slot=\"{ columns }\"   &gt;     &lt;KanbanColumn       v-for=\"(column, index) in columns\"       :key=\"column.id\"       :column=\"column\"       :columns=\"columns\"       :column-index=\"index\"       :body-source=\"column.tasks\"     &gt;       &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u043e\u043b\u043e\u043d\u043a\u0438 --&gt;       &lt;template #header&gt;         &lt;div class=\"flex items-center gap-2\"&gt;           &lt;span class=\"font-semibold\"&gt;{{ column.title }}&lt;\/span&gt;           &lt;span class=\"text-sm text-gray-500\"&gt;({{ column.tasks.length }})&lt;\/span&gt;         &lt;\/div&gt;       &lt;\/template&gt;        &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438 \u0437\u0430\u0434\u0430\u0447 --&gt;       &lt;KanbanItem         v-for=\"(task, taskIndex) in column.tasks\"         :key=\"task.id\"         :item=\"task\"         :items=\"column.tasks\"         :item-index=\"taskIndex\"       &gt;         &lt;div class=\"p-3 bg-white rounded-lg shadow-sm\"&gt;           &lt;h4 class=\"font-medium\"&gt;{{ task.title }}&lt;\/h4&gt;           &lt;p class=\"text-sm text-gray-600 mt-1\"&gt;{{ task.description }}&lt;\/p&gt;         &lt;\/div&gt;       &lt;\/KanbanItem&gt;        &lt;!-- \u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0444\u0443\u0442\u0435\u0440 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 --&gt;       &lt;template #footer&gt;         &lt;button class=\"w-full p-2 text-gray-500 hover:bg-gray-50 rounded\"&gt;           + \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443         &lt;\/button&gt;       &lt;\/template&gt;     &lt;\/KanbanColumn&gt;   &lt;\/Kanban&gt; &lt;\/template&gt; <\/code><\/pre>\n<h3>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<h4>\ud83d\udccb Table \u2014 \u0421\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/h4>\n<p>\u041f\u043e\u043b\u043d\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Table, TableRow, type ITableColumn } from '.\/components\/Table';    interface IUser {     id: number;     name: string;     email: string;     role: string;   }    const users = ref&lt;IUser[]&gt;([     { id: 1, name: '\u0418\u0432\u0430\u043d \u041f\u0435\u0442\u0440\u043e\u0432', email: 'ivan@example.com', role: '\u0410\u0434\u043c\u0438\u043d' },     {       id: 2,       name: '\u041c\u0430\u0440\u0438\u044f \u0421\u0438\u0434\u043e\u0440\u043e\u0432\u0430',       email: 'maria@example.com',       role: '\u041c\u0435\u043d\u0435\u0434\u0436\u0435\u0440',     },     {       id: 3,       name: '\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041a\u043e\u0437\u043b\u043e\u0432',       email: 'alex@example.com',       role: '\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a',     },   ]);    const columns = ref&lt;ITableColumn&lt;IUser&gt;[]&gt;([     { label: 'ID', key: 'id' },     { label: '\u0418\u043c\u044f', key: 'name' },     { label: 'Email', key: 'email' },     { label: '\u0420\u043e\u043b\u044c', key: 'role' },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Table     :rows=\"users\"     :columns=\"columns\"   &gt;     &lt;template #caption&gt;\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432&lt;\/template&gt;     &lt;template #default=\"props\"&gt;       &lt;TableRow         v-for=\"(user, index) in users\"         :key=\"user.id\"         :row=\"user\"         :row-index=\"index\"         v-bind=\"props\"       \/&gt;     &lt;\/template&gt;   &lt;\/Table&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0441\u0442\u043e\u043b\u0431\u0446\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u0441\u043b\u043e\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u043e\u0432 (success, processing, failed)<\/p>\n<\/li>\n<li>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0438<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83d\udcca Kanban \u2014 \u041a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0438<\/h4>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u043a\u0430\u043d\u0431\u0430\u043d-\u0434\u043e\u0441\u043a\u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447\u0430\u043c\u0438 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Kanban, KanbanColumn, KanbanItem } from '.\/components\/Kanban';    interface ITask {     id: number;     title: string;     description: string;     priority: 'low' | 'medium' | 'high';   }    interface IColumn {     id: number;     title: string;     tasks: ITask[];   }    const columns = ref&lt;IColumn[]&gt;([     {       id: 1,       title: '\u041a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e',       tasks: [         {           id: 1,           title: '\u0418\u0437\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e',           description: '\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c API docs',           priority: 'medium',         },         {           id: 2,           title: '\u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b',           description: '\u041f\u043e\u043a\u0440\u044b\u0442\u044c \u043a\u043e\u0434 \u0442\u0435\u0441\u0442\u0430\u043c\u0438',           priority: 'high',         },       ],     },     {       id: 2,       title: '\u0412 \u0440\u0430\u0431\u043e\u0442\u0435',       tasks: [         {           id: 3,           title: '\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c UI',           description: '\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b',           priority: 'high',         },       ],     },     {       id: 3,       title: '\u0413\u043e\u0442\u043e\u0432\u043e',       tasks: [         {           id: 4,           title: '\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0430',           description: '\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f',           priority: 'low',         },       ],     },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Kanban     :columns=\"columns\"     v-slot=\"{ columns }\"   &gt;     &lt;KanbanColumn       v-for=\"(column, index) in columns\"       :key=\"column.id\"       :column=\"column\"       :columns=\"columns\"       :column-index=\"index\"       :body-source=\"column.tasks\"     &gt;       &lt;template #header&gt;         &lt;div class=\"flex items-center justify-between\"&gt;           &lt;span class=\"font-semibold\"&gt;{{ column.title }}&lt;\/span&gt;           &lt;span class=\"text-sm bg-gray-100 px-2 py-1 rounded-full\"&gt;             {{ column.tasks.length }}           &lt;\/span&gt;         &lt;\/div&gt;       &lt;\/template&gt;        &lt;KanbanItem         v-for=\"(task, taskIndex) in column.tasks\"         :key=\"task.id\"         :item=\"task\"         :items=\"column.tasks\"         :item-index=\"taskIndex\"       &gt;         &lt;div           class=\"p-3 bg-white rounded-lg shadow-sm border-l-4\"           :class=\"{             'border-red-500': task.priority === 'high',             'border-yellow-500': task.priority === 'medium',             'border-green-500': task.priority === 'low',           }\"         &gt;           &lt;h4 class=\"font-medium text-sm\"&gt;{{ task.title }}&lt;\/h4&gt;           &lt;p class=\"text-xs text-gray-600 mt-1\"&gt;{{ task.description }}&lt;\/p&gt;         &lt;\/div&gt;       &lt;\/KanbanItem&gt;     &lt;\/KanbanColumn&gt;   &lt;\/Kanban&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447 \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043b\u043e\u043d\u043e\u043a \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u044f\u0434\u043a\u0430<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0438 \u0444\u0443\u0442\u0435\u0440\u044b \u043a\u043e\u043b\u043e\u043d\u043e\u043a<\/p>\n<\/li>\n<li>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0441\u043b\u043e\u0442\u043e\u0432 \u0434\u043b\u044f \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83c\udf33 Tree \u2014 \u0414\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b<\/h4>\n<p>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0441 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0439 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Tree } from '.\/components\/Tree';    interface IFile {     id: number;     name: string;     type: 'file' | 'folder';     children?: IFile[];   }    const files = ref&lt;IFile[]&gt;([     {       id: 1,       name: '\u041f\u0440\u043e\u0435\u043a\u0442',       type: 'folder',       children: [         {           id: 2,           name: 'src',           type: 'folder',           children: [             { id: 3, name: 'main.ts', type: 'file' },             { id: 4, name: 'App.vue', type: 'file' },           ],         },         {           id: 5,           name: 'docs',           type: 'folder',           children: [{ id: 6, name: 'README.md', type: 'file' }],         },       ],     },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;Tree     :data=\"files\"     item-key=\"id\"     nesting-key=\"children\"     v-slot=\"{ item }\"   &gt;     &lt;div class=\"flex items-center gap-2 py-1\"&gt;       &lt;span         class=\"text-lg\"         :class=\"item.type === 'folder' ? 'text-blue-500' : 'text-gray-500'\"       &gt;         {{ item.type === 'folder' ? '\ud83d\udcc1' : '\ud83d\udcc4' }}       &lt;\/span&gt;       &lt;span class=\"font-medium\"&gt;{{ item.name }}&lt;\/span&gt;     &lt;\/div&gt;   &lt;\/Tree&gt; &lt;\/template&gt; <\/code><\/pre>\n<p><strong>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/strong><\/p>\n<ul>\n<li>\n<p>\u041d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u0430\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0441\u0442\u044c<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435\/\u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0443\u0437\u043b\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0435\u0436\u0434\u0443 \u0443\u0440\u043e\u0432\u043d\u044f\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0434\u0435\u0442\u044c\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0437\u043e\u043d \u0434\u043b\u044f \u0441\u0431\u0440\u043e\u0441\u0430<\/p>\n<\/li>\n<\/ul>\n<h4>\ud83e\udde9 Dashboard \u2014 \u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0434\u0430\u0448\u0431\u043e\u0440\u0434\u044b<\/h4>\n<p>\u0413\u0438\u0431\u043a\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u0438\u0434\u0436\u0435\u0442\u043e\u0432 \u0441 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre><code class=\"typescript\">&lt;script setup lang=\"ts\"&gt;   import { ref } from 'vue';   import { Dashboard, DashboardItem } from '.\/components\/Dashboard';   import ChartCard from '.\/components\/Dashboard\/Example\/ChartCard.vue';   import StatCard from '.\/components\/Dashboard\/Example\/StatCard.vue';   import TaskList from '.\/components\/Dashboard\/Example\/TaskList.vue';    interface IDashboardItem {     id: number;     component: Component;   }    const dashboard = ref&lt;IDashboardItem[]&gt;([     { id: 1, component: ChartCard },     { id: 2, component: TaskList },     { id: 3, component: StatCard },   ]); &lt;\/script&gt;  &lt;template&gt;   &lt;<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-464085","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/464085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=464085"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/464085\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=464085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=464085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=464085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}