@webx-ui/module-blog 0.3.0 → 0.4.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/{ArticleAddress.d.ts → ArticleSlug.d.ts} +1 -1
- package/dist/ArticleUnpublish.d.ts +2 -0
- package/dist/RubricDialog.d.ts +34 -0
- package/dist/RubricsPage.d.ts +6 -5
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1598 -1586
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/dist/RubricForm.d.ts +0 -39
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wx-article-
|
|
1
|
+
.wx-article-editor[data-v-d3973be7]{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-d3973be7]{max-width:420px}.wx-article-editor__screen[data-v-d3973be7]{display:flex;flex-direction:column;flex:1;min-height:0}.wx-article-editor__screen[data-v-d3973be7] .wx-screen-host,.wx-article-editor__screen[data-v-d3973be7] .wx-screen,.wx-article-editor__screen[data-v-d3973be7] .wx-tabs,.wx-article-editor__screen[data-v-d3973be7] .wx-tabs__layout,.wx-article-editor__screen[data-v-d3973be7] .wx-tabs__panels,.wx-article-editor__screen[data-v-d3973be7] .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-rubrics[data-v-76ca7a6f]{display:flex;flex-direction:column;gap:var(--wx-space-8)}.wx-article-rubrics[data-v-76ca7a6f] .wx-sortable-list__content{display:flex;align-items:center;gap:var(--wx-space-8);min-width:0}.wx-article-rubrics__name[data-v-76ca7a6f]{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-2d93df26]{min-width:0}.wx-articles__cover[data-v-2d93df26]{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-2d93df26]{border:1px dashed var(--wx-border-color);background:var(--wx-bg-base)}.wx-articles__cover img[data-v-2d93df26]{width:100%;height:100%;min-width:0;object-fit:cover}.wx-articles__name[data-v-2d93df26]{display:flex;align-items:center;gap:var(--wx-space-8);min-width:0}.wx-articles__name-text[data-v-2d93df26]{display:flex;flex-direction:column;min-width:0}.wx-articles__pin[data-v-2d93df26]{flex:none;color:var(--wx-color-primary)}.wx-articles__title[data-v-2d93df26]{overflow:hidden;font-weight:var(--wx-font-weight-medium);white-space:nowrap;text-overflow:ellipsis}.wx-articles__address[data-v-2d93df26]{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-2d93df26],.wx-articles__state[data-v-2d93df26]{display:flex;align-items:center;gap:var(--wx-space-4);min-width:0;overflow:hidden}.wx-articles[data-v-2d93df26] .wx-articles__when{white-space:nowrap}.wx-rubric-dialog__panel[data-v-ff50aaf6]{display:flex;flex-direction:column;gap:var(--wx-space-16)}.wx-rubric-dialog__row[data-v-ff50aaf6]{display:flex;flex-wrap:wrap;gap:var(--wx-space-16);align-items:flex-start}.wx-rubric-dialog__field[data-v-ff50aaf6]{flex:1 1 240px;min-width:0}.wx-rubric-dialog__cover[data-v-ff50aaf6]{max-width:420px}.wx-rubrics__loading{padding:var(--wx-space-8)}.wx-rubrics__list.is-plain .wx-sortable-list__row{padding-inline:var(--wx-space-8)}.wx-rubrics__note{margin-block-start:var(--wx-space-8)}.wx-rubrics__list .wx-sortable-list__row:hover{background:var(--wx-bg-subtle);border-radius:var(--wx-radius-sm)}.wx-rubric-row{display:flex;flex-direction:column;gap:var(--wx-space-2);align-items:flex-start;flex:1 1 auto;min-width:0;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:start;cursor:pointer}.wx-rubric-row__name{display:flex;align-items:center;gap:var(--wx-space-6);min-width:0;max-width:100%}.wx-rubric-row.is-hidden{color:var(--wx-text-muted)}.wx-rubric-row__count{flex:none;font-variant-numeric:tabular-nums}.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-beb86d88]{display:flex;flex-direction:column;gap:var(--wx-space-12);min-width:0}.wx-tags__rename[data-v-beb86d88]{display:block;min-width:0}.wx-tags__sort[data-v-beb86d88]{display:flex;gap:var(--wx-space-4);min-width:0}.wx-tags__name[data-v-beb86d88]{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-beb86d88]:hover{text-decoration:underline;text-decoration-style:dotted}.wx-tags__bar[data-v-beb86d88] .wx-action-bar__state{flex:0 1 auto}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webx-ui/module-blog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.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.
|
|
47
|
-
"@webx-ui/module-admin": "^0.12.
|
|
48
|
-
"@webx-ui/module-blocks": "^0.6.
|
|
49
|
-
"@webx-ui/schema": "^0.3.
|
|
46
|
+
"@webx-ui/core": "^0.29.0",
|
|
47
|
+
"@webx-ui/module-admin": "^0.12.2",
|
|
48
|
+
"@webx-ui/module-blocks": "^0.6.3",
|
|
49
|
+
"@webx-ui/schema": "^0.3.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^24.10.1",
|
package/dist/RubricForm.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { RubricRow } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* One rubric, in the pane beside the list (§10).
|
|
4
|
-
*
|
|
5
|
-
* Six fields and nothing described: nothing patches a rubric, so there is no screen to extend
|
|
6
|
-
* and no registry to go through. What it does borrow from the described screens are the two
|
|
7
|
-
* fields it has no business drawing itself — the library picker and the SEO card, both looked
|
|
8
|
-
* up in the panel's own type registry. A panel without `module-media` still edits everything
|
|
9
|
-
* else; it simply has no picture.
|
|
10
|
-
*
|
|
11
|
-
* The SEO card starts folded, with a sentence about where the page's title comes from without
|
|
12
|
-
* it. That is the truth for most rubrics — the rules cover them — and a card of ten empty
|
|
13
|
-
* fields under every form teaches editors to fill in ten empty fields (§12).
|
|
14
|
-
*/
|
|
15
|
-
type __VLS_Props = {
|
|
16
|
-
/** `null` while a new one is being made: the form of a row that is not in the list yet. */
|
|
17
|
-
rubric: RubricRow | null;
|
|
18
|
-
/** The first segment of every blog address, for the line under the slug (§4). */
|
|
19
|
-
prefix?: string;
|
|
20
|
-
/** False when the pane is a drawer over the list, which is where the way back lives. */
|
|
21
|
-
inline?: boolean;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
};
|
|
24
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
-
articles: (rubric: RubricRow) => any;
|
|
26
|
-
deleted: () => any;
|
|
27
|
-
back: () => any;
|
|
28
|
-
saved: (rubric: RubricRow) => any;
|
|
29
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
-
onArticles?: ((rubric: RubricRow) => any) | undefined;
|
|
31
|
-
onDeleted?: (() => any) | undefined;
|
|
32
|
-
onBack?: (() => any) | undefined;
|
|
33
|
-
onSaved?: ((rubric: RubricRow) => any) | undefined;
|
|
34
|
-
}>, {
|
|
35
|
-
disabled: boolean;
|
|
36
|
-
prefix: string;
|
|
37
|
-
inline: boolean;
|
|
38
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
39
|
-
export default _default;
|