@wangnanshan/dsh-nanshan-publish-manager 1.0.6 → 1.0.7
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/client.js +17 -11
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -759,7 +759,9 @@ window.__ModuleLoader__.load({
|
|
|
759
759
|
.np-card__name{display:block;margin-top:2px;color:var(--np-ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
760
760
|
.np-card__desc{margin:0;height:38px;font-size:12.5px;line-height:1.55;color:var(--np-ink-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
|
|
761
761
|
.np-card__tags{display:flex;flex-wrap:wrap;gap:6px}
|
|
762
|
-
.np-
|
|
762
|
+
.np-card__bottom{display:flex;flex-direction:column;gap:8px;margin-top:auto;padding-top:10px;border-top:1px solid var(--np-line)}
|
|
763
|
+
.np-card__statusline{display:flex;align-items:center;gap:6px;min-height:22px}
|
|
764
|
+
.np-card__foot{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;font-size:12px;color:var(--np-ink-soft);min-width:0}
|
|
763
765
|
.np-card__version{flex:none;font-size:12.5px;font-weight:600;color:var(--np-ink);font-variant-numeric:tabular-nums}
|
|
764
766
|
.np-card__version-label{margin-right:4px;font-size:11px;font-weight:400;color:var(--np-ink-soft)}
|
|
765
767
|
.np-card__last{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
|
@@ -1600,7 +1602,6 @@ window.__ModuleLoader__.load({
|
|
|
1600
1602
|
h('span', { className: 'np-card__title' }, component.title || component.name),
|
|
1601
1603
|
h('span', { className: 'np-card__name np-mono' }, component.name),
|
|
1602
1604
|
),
|
|
1603
|
-
h(StatusTag, { status: component.status }),
|
|
1604
1605
|
),
|
|
1605
1606
|
h('p', { className: 'np-card__desc' }, component.description || t('common.noDescription')),
|
|
1606
1607
|
h('div', { className: 'np-card__tags' },
|
|
@@ -1613,17 +1614,22 @@ window.__ModuleLoader__.load({
|
|
|
1613
1614
|
component.status && component.status.attention ? h('span', { className: 'np-chip np-chip--fail' }, t('card.attention')) : null,
|
|
1614
1615
|
component.recordCount > 0 ? h('span', { className: 'np-chip' }, tr('card.records', { n: component.recordCount })) : null,
|
|
1615
1616
|
),
|
|
1616
|
-
h('div', { className: 'np-
|
|
1617
|
-
h('
|
|
1618
|
-
h(
|
|
1619
|
-
`v${component.version || '0.0.0'}`,
|
|
1617
|
+
h('div', { className: 'np-card__bottom' },
|
|
1618
|
+
h('div', { className: 'np-card__statusline' },
|
|
1619
|
+
h(StatusTag, { status: component.status }),
|
|
1620
1620
|
),
|
|
1621
|
-
h('
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1621
|
+
h('div', { className: 'np-card__foot' },
|
|
1622
|
+
h('span', { className: 'np-card__version' },
|
|
1623
|
+
h('span', { className: 'np-card__version-label' }, t('card.version')),
|
|
1624
|
+
`v${component.version || '0.0.0'}`,
|
|
1625
|
+
),
|
|
1626
|
+
h('span', { className: 'np-card__last' },
|
|
1627
|
+
component.lastPublish
|
|
1628
|
+
? tr('card.lastPublish', { version: component.lastPublish.version, time: formatShortDate(component.lastPublish.at) })
|
|
1629
|
+
: t('card.never'),
|
|
1630
|
+
),
|
|
1631
|
+
h('span', { className: 'np-card__open' }, t('card.open'), h(Glyph, { name: 'arrow', size: 13 })),
|
|
1625
1632
|
),
|
|
1626
|
-
h('span', { className: 'np-card__open' }, t('card.open'), h(Glyph, { name: 'arrow', size: 13 })),
|
|
1627
1633
|
),
|
|
1628
1634
|
)
|
|
1629
1635
|
}
|
package/package.json
CHANGED