@webx-ui/module-blog 0.5.19 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .wx-article-editor[data-v-98dc2b0f]{display:flex;flex-direction:column;gap:var(--wx-gap, var(--wx-space-16));height:100%;min-height:0;container-type:inline-size}.wx-article-editor__ghost[data-v-98dc2b0f]{max-width:420px}.wx-article-editor__screen[data-v-98dc2b0f]{display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-editor__screen[data-v-98dc2b0f] .wx-screen-host,.wx-article-editor__screen[data-v-98dc2b0f] .wx-screen,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs__layout,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tabs__panels,.wx-article-editor__screen[data-v-98dc2b0f] .wx-tab:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-history[data-v-0a997938]{display:flex;flex-direction:column;border:1px solid var(--wx-border-default);border-radius:var(--wx-radius-md);background:var(--wx-bg-surface);overflow:hidden}.wx-article-history__ghost[data-v-0a997938]{padding:var(--wx-space-10) var(--wx-space-12)}.wx-article-history__row[data-v-0a997938]{display:flex;align-items:center;gap:var(--wx-space-12);padding:var(--wx-space-10) var(--wx-space-12);border-block-end:1px solid var(--wx-border-default);flex-wrap:wrap}.wx-article-history__row[data-v-0a997938]:last-child{border-block-end:0}.wx-article-history__number[data-v-0a997938]{width:40px;font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-sm);color:var(--wx-text-muted)}.wx-article-history__who[data-v-0a997938]{display:flex;flex-direction:column;flex:1;min-width:160px}.wx-article-related[data-v-164e86fe]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-related__name[data-v-164e86fe]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wx-article-slug[data-v-5da20e5e]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-slug__prefix[data-v-5da20e5e],.wx-article-slug[data-v-5da20e5e] .wx-input__inner{font-family:var(--wx-font-family-mono)}.wx-article-slug__prefix[data-v-5da20e5e]{color:var(--wx-text-muted)}.wx-article-tags[data-v-faf5adec]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-tags__chips[data-v-faf5adec]{display:flex;flex-wrap:wrap;gap:var(--wx-space-6)}.wx-article-tags__pick[data-v-faf5adec]{display:flex;align-items:center;gap:var(--wx-space-8);flex-wrap:wrap}.wx-article-tags__pick[data-v-faf5adec]>.wx-select{flex:1 1 220px;min-width:0}.wx-article-unpublish[data-v-c311cff2] .wx-button{align-self:flex-start}.wx-articles[data-v-5dfe798a]{min-width:0}.wx-articles__cover[data-v-5dfe798a]{display:flex;align-items:center;justify-content:center;width:44px;height:32px;overflow:hidden;border-radius:var(--wx-radius-xs);background:var(--wx-bg-subtle);color:var(--wx-text-muted)}.wx-articles__cover.is-empty[data-v-5dfe798a]{border:1px dashed var(--wx-border-default);background:var(--wx-bg-surface)}.wx-articles__cover img[data-v-5dfe798a]{width:100%;height:100%;min-width:0;object-fit:cover}.wx-articles__name[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-8);min-width:0}.wx-articles__name-text[data-v-5dfe798a]{display:flex;flex-direction:column;min-width:0}.wx-articles__pin[data-v-5dfe798a]{flex:none;color:var(--wx-color-primary)}.wx-articles__title[data-v-5dfe798a]{overflow:hidden;font-weight:var(--wx-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.wx-articles__address[data-v-5dfe798a]{overflow:hidden;color:var(--wx-text-muted);font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-xs);white-space:nowrap;text-overflow:ellipsis}.wx-articles__chips[data-v-5dfe798a],.wx-articles__state[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-4);min-width:0;overflow:hidden}.wx-articles[data-v-5dfe798a] .wx-articles__when{white-space:nowrap}.wx-tag-merge[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-12)}.wx-tag-merge__chips[data-v-aa68b3a8]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wx-space-6);min-width:0}.wx-tag-merge__redirect[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-2)}.wx-tags[data-v-d9b8d73d]{display:flex;flex-direction:column;gap:var(--wx-space-12);min-width:0}.wx-tags__rename[data-v-d9b8d73d]{display:block;min-width:0}.wx-tags__sort[data-v-d9b8d73d]{display:flex;gap:var(--wx-space-4);min-width:0}.wx-tags__name[data-v-d9b8d73d]{max-width:100%;overflow:hidden;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:text}.wx-tags__name[data-v-d9b8d73d]:hover{text-decoration:underline;text-decoration-style:dotted}.wx-tags__bar[data-v-d9b8d73d] .wx-action-bar__state{flex:0 1 auto}
1
+ .wx-article-editor[data-v-49f5a61d]{display:flex;flex-direction:column;gap:var(--wx-gap, var(--wx-space-16));height:100%;min-height:0;container-type:inline-size}.wx-article-editor__ghost[data-v-49f5a61d]{max-width:420px}.wx-article-editor__screen[data-v-49f5a61d]{display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-editor__screen[data-v-49f5a61d] .wx-screen-host,.wx-article-editor__screen[data-v-49f5a61d] .wx-screen,.wx-article-editor__screen[data-v-49f5a61d] .wx-tabs,.wx-article-editor__screen[data-v-49f5a61d] .wx-tabs__layout,.wx-article-editor__screen[data-v-49f5a61d] .wx-tabs__panels,.wx-article-editor__screen[data-v-49f5a61d] .wx-tab:not([hidden]){display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-history-tab[data-v-0052c4f9]{display:flex;flex-direction:column;gap:var(--wx-space-24)}.wx-article-history[data-v-0052c4f9]{display:flex;flex-direction:column;border:1px solid var(--wx-border-default);border-radius:var(--wx-radius-md);background:var(--wx-bg-surface);overflow:hidden}.wx-article-history__ghost[data-v-0052c4f9]{padding:var(--wx-space-10) var(--wx-space-12)}.wx-article-history__row[data-v-0052c4f9]{display:flex;align-items:center;gap:var(--wx-space-12);padding:var(--wx-space-10) var(--wx-space-12);border-block-end:1px solid var(--wx-border-default);flex-wrap:wrap}.wx-article-history__row[data-v-0052c4f9]:last-child{border-block-end:0}.wx-article-history__number[data-v-0052c4f9]{width:40px;font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-sm);color:var(--wx-text-muted)}.wx-article-history__who[data-v-0052c4f9]{display:flex;flex-direction:column;flex:1;min-width:160px}.wx-article-related[data-v-164e86fe]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-related__name[data-v-164e86fe]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wx-article-slug[data-v-5da20e5e]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-slug__prefix[data-v-5da20e5e],.wx-article-slug[data-v-5da20e5e] .wx-input__inner{font-family:var(--wx-font-family-mono)}.wx-article-slug__prefix[data-v-5da20e5e]{color:var(--wx-text-muted)}.wx-article-tags[data-v-faf5adec]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-tags__chips[data-v-faf5adec]{display:flex;flex-wrap:wrap;gap:var(--wx-space-6)}.wx-article-tags__pick[data-v-faf5adec]{display:flex;align-items:center;gap:var(--wx-space-8);flex-wrap:wrap}.wx-article-tags__pick[data-v-faf5adec]>.wx-select{flex:1 1 220px;min-width:0}.wx-article-unpublish[data-v-c311cff2] .wx-button{align-self:flex-start}.wx-articles[data-v-5dfe798a]{min-width:0}.wx-articles__cover[data-v-5dfe798a]{display:flex;align-items:center;justify-content:center;width:44px;height:32px;overflow:hidden;border-radius:var(--wx-radius-xs);background:var(--wx-bg-subtle);color:var(--wx-text-muted)}.wx-articles__cover.is-empty[data-v-5dfe798a]{border:1px dashed var(--wx-border-default);background:var(--wx-bg-surface)}.wx-articles__cover img[data-v-5dfe798a]{width:100%;height:100%;min-width:0;object-fit:cover}.wx-articles__name[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-8);min-width:0}.wx-articles__name-text[data-v-5dfe798a]{display:flex;flex-direction:column;min-width:0}.wx-articles__pin[data-v-5dfe798a]{flex:none;color:var(--wx-color-primary)}.wx-articles__title[data-v-5dfe798a]{overflow:hidden;font-weight:var(--wx-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.wx-articles__address[data-v-5dfe798a]{overflow:hidden;color:var(--wx-text-muted);font-family:var(--wx-font-family-mono);font-size:var(--wx-font-size-xs);white-space:nowrap;text-overflow:ellipsis}.wx-articles__chips[data-v-5dfe798a],.wx-articles__state[data-v-5dfe798a]{display:flex;align-items:center;gap:var(--wx-space-4);min-width:0;overflow:hidden}.wx-articles[data-v-5dfe798a] .wx-articles__when{white-space:nowrap}.wx-tag-merge[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-12)}.wx-tag-merge__chips[data-v-aa68b3a8]{display:flex;flex-wrap:wrap;align-items:center;gap:var(--wx-space-6);min-width:0}.wx-tag-merge__redirect[data-v-aa68b3a8]{display:flex;flex-direction:column;gap:var(--wx-space-2)}.wx-tags[data-v-d9b8d73d]{display:flex;flex-direction:column;gap:var(--wx-space-12);min-width:0}.wx-tags__rename[data-v-d9b8d73d]{display:block;min-width:0}.wx-tags__sort[data-v-d9b8d73d]{display:flex;gap:var(--wx-space-4);min-width:0}.wx-tags__name[data-v-d9b8d73d]{max-width:100%;overflow:hidden;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:text}.wx-tags__name[data-v-d9b8d73d]:hover{text-decoration:underline;text-decoration-style:dotted}.wx-tags__bar[data-v-d9b8d73d] .wx-action-bar__state{flex:0 1 auto}
package/dist/types.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { LocalizedValue, Paginated } from '@webx-ui/core';
2
2
  import { ScreenModel } from '@webx-ui/schema';
3
- import { CategoryRow } from '@webx-ui/module-admin';
3
+ import { CategoryRow, EditingChange } from '@webx-ui/module-admin';
4
4
  /**
5
5
  * Never published · waiting for its day · on the site · on the site with edits waiting · taken
6
6
  * off it (§10).
@@ -168,6 +168,8 @@ export interface ArticleDetail {
168
168
  export interface ArticleConflict {
169
169
  message: string;
170
170
  data: ArticleDetail;
171
+ /** Who wrote it last and through which door — the panel, an agent, an import. */
172
+ changed?: EditingChange | null;
171
173
  }
172
174
  /**
173
175
  * One rubric, as both halves of its screen need it (§10).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webx-ui/module-blog",
3
- "version": "0.5.19",
3
+ "version": "0.6.1",
4
4
  "description": "Blog for the WebX UI admin panel: articles made of blocks, rubrics and tags, scheduled publication.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -43,10 +43,10 @@
43
43
  "vue-router": "^4.5.0"
44
44
  },
45
45
  "dependencies": {
46
- "@webx-ui/core": "^0.38.0",
47
- "@webx-ui/module-admin": "^0.23.5",
48
- "@webx-ui/module-blocks": "^0.12.0",
49
- "@webx-ui/schema": "^0.8.0"
46
+ "@webx-ui/core": "^0.40.0",
47
+ "@webx-ui/module-admin": "^0.25.0",
48
+ "@webx-ui/module-blocks": "^0.13.1",
49
+ "@webx-ui/schema": "^0.9.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^24.10.1",