feat(widgets): replicate 12 reference widgets for full Zibll parity

- rewrite schemas for posts, tab_posts, oneline_posts, hot_posts,
  term_cards, term_aggregation, media_cards, combo_info, partners,
  recent_comments, posts_toc and slider_media_combo to mirror the
  modern reference modules field by field (options, defaults,
  dependencies, min/max/step, subheadings)
- port reference renderers: hot ranking with TOP badges, category
  aggregation card, graphic cover cards, partners CSS marquee,
  combo info cards with auto band palette, recent comment list
- rename 分类与标签聚合卡片 to 分类聚合卡片 and restrict it to
  categories (no tags/topics branch in this project)
- drop topics filter fields and the topics query branch; align
  orderby value domain with supported post meta
- add searchable sortable terms admin field type and spinner unit
  suffix rendering
- unify widget pagination and lazy loading on the REST client with
  the runtime-owned ias reveal trigger; remove the legacy
  post_ajax_trigger dual path
- align section-navs TOC with the reference contract (wznav ids,
  3-heading minimum, zib-widget box)
This commit is contained in:
kate522 committed 2026-09-05 11:28:00 +08:00
1 parent 9dc278bd83
commit b639d57c5b
25 files changed
+1388 -446

No files matched your search

+3 -3
View File
@@ -9,7 +9,7 @@
'use strict';
var HEADING_SEL = 'h1, h2, h3, h4';
var MIN_HEADINGS = 2;
var MIN_HEADINGS = 3;
var NAVBOX = '.posts-nav-box';
var NAV_CLASS = 'posts-nav-lists';
@@ -19,7 +19,7 @@
function ensureId(el, index) {
if (!el.id) {
el.id = 'section-nav-' + index;
el.id = 'wznav_' + index;
}
return el.id;
}
@@ -54,7 +54,7 @@
box.insertAdjacentHTML(
'beforeend',
titleHtml +
'<div class="aksrt-panel"><div class="' +
'<div class="zib-widget"><div class="' +
NAV_CLASS +
' scroll-y mini-scrollbar list-unstyled">' +
listsHtml +