chore(build): 同步构建产物(site/** + sitemap 公网基址)——含本任务接线后的 data.json/data.js/逐端页,以及并行会话(S10/S9-P3)在途工作的生成物;其源码文件仍留在工作区未提交

This commit is contained in:
aurora-admin
2026-09-25 04:22:40 +08:00
parent f07f38b09d
commit 1b02768bf6
1681 changed files with 153974 additions and 1651 deletions
+36 -1
View File
@@ -1 +1,36 @@
{"slug":"listpicker","mode":"single","examples":[{"id":"listpicker-ex-1","title":"基础用法","titleSrc":"","desc":"","html":"<div class=\"demo\">\n <h1>Kole UI · ListPicker 组件(纯 H5)</h1>\n <p class=\"sub\">对齐 ListPicker 规范:下拉列表、多选、分组、搜索、全选、标签</p>\n <div class=\"demo-block\">\n <p class=\"hint\">技术栈多选(分组 + 搜索 + 全选)</p>\n <div class=\"kole-listpicker\" data-listpicker></div>\n </div>\n</div>","preview":{"show":[[0]],"hide":[],"mode":"single"},"previewSafe":true,"previewUnsafeReasons":[],"source":"api-derived","code":{"html":"<h1>Kole UI · ListPicker 组件(纯 H5)</h1>\n<p>对齐 ListPicker 规范:下拉列表、多选、分组、搜索、全选、标签</p>\n<p>技术栈多选(分组 + 搜索 + 全选)</p>\n<div class=\"kole-listpicker\"></div>","jsx":"import { KoleListPicker } from 'kole-ui/react';\n\n<KoleListPicker />","vue3":"<template>\n <KoleListPicker />\n</template>\n\n<script setup>\nimport { KoleListPicker } from 'kole-ui/vue3';\n</script>","vue2":"<template>\n <KoleListPicker />\n</template>\n\n<script>\nimport { KoleListPicker } from 'kole-ui/vue2';\nexport default { components: { KoleListPicker } };\n</script>"},"notes":["演示页标记只含页面结构,未含可映射的组件属性","演示页未含可映射的调用标记,本片段依据组件 API 表推导"]}]}
{
"slug": "listpicker",
"mode": "single",
"examples": [
{
"id": "listpicker-ex-1",
"title": "基础用法",
"titleSrc": "",
"desc": "",
"html": "<div class=\"demo\">\n <h1>Kole UI · ListPicker 组件(纯 H5)</h1>\n <p class=\"sub\">对齐 ListPicker 规范:下拉列表、多选、分组、搜索、全选、标签</p>\n <div class=\"demo-block\">\n <p class=\"hint\">技术栈多选(分组 + 搜索 + 全选)</p>\n <div class=\"kole-listpicker\" data-listpicker></div>\n </div>\n</div>",
"preview": {
"show": [
[
0
]
],
"hide": [],
"mode": "single"
},
"previewSafe": true,
"previewUnsafeReasons": [],
"source": "curated",
"code": {
"html": "<h1>Kole UI · ListPicker 组件(纯 H5)</h1>\n<p>对齐 ListPicker 规范:下拉列表、多选、分组、搜索、全选、标签</p>\n<p>技术栈多选(分组 + 搜索 + 全选)</p>\n<div class=\"kole-listpicker\"></div>",
"jsx": "import { useState } from 'react';\nimport { KoleListPicker } from 'kole-ui/react';\n\nconst OPTIONS = [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] }\n];\n\nexport default function TechPicker() {\n const [tech, setTech] = useState(['vue', 'react']);\n return (\n <KoleListPicker\n options={OPTIONS}\n value={tech}\n onChange={setTech}\n filterable\n placeholder=\"请选择技术栈\"\n />\n );\n}",
"vue3": "<template>\n <KoleListPicker v-model=\"tech\" :options=\"OPTIONS\" :filterable=\"true\" placeholder=\"请选择技术栈\" />\n</template>\n\n<script setup>\nimport { ref } from 'vue';\nimport { KoleListPicker } from 'kole-ui/vue3';\n\nconst OPTIONS = [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] }\n];\n\nconst tech = ref(['vue', 'react']);\n</script>",
"vue2": "<template>\n <KoleListPicker v-model=\"tech\" :options=\"OPTIONS\" :filterable=\"true\" placeholder=\"请选择技术栈\" />\n</template>\n\n<script>\nimport { KoleListPicker } from 'kole-ui/vue2';\n\nexport default {\n components: { KoleListPicker },\n data() {\n return {\n tech: ['vue', 'react'],\n OPTIONS: [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] }\n ]\n };\n }\n};\n</script>",
"tsx": "import { useState } from 'react';\nimport { KoleListPicker } from 'kole-ui/react';\n\ninterface PickerOption {\n value: string;\n label: string;\n disabled?: boolean;\n}\n\ninterface PickerGroup {\n label: string;\n children: ReadonlyArray<PickerOption>;\n}\n\nconst OPTIONS: ReadonlyArray<PickerGroup> = [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] },\n];\n\nexport default function TechPicker(): JSX.Element {\n const [tech, setTech] = useState<ReadonlyArray<string>>(['vue', 'react']);\n return (\n <KoleListPicker\n options={OPTIONS}\n value={tech}\n onChange={setTech}\n filterable\n placeholder=\"请选择技术栈\"\n />\n );\n}",
"vue3ts": "<template>\n <KoleListPicker v-model=\"tech\" :options=\"OPTIONS\" :filterable=\"true\" placeholder=\"请选择技术栈\" />\n</template>\n\n<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { KoleListPicker } from 'kole-ui/vue3';\n\ninterface PickerOption {\n value: string;\n label: string;\n disabled?: boolean;\n}\n\ninterface PickerGroup {\n label: string;\n children: ReadonlyArray<PickerOption>;\n}\n\nconst OPTIONS: ReadonlyArray<PickerGroup> = [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] },\n];\n\nconst tech = ref<ReadonlyArray<string>>(['vue', 'react']);\n</script>",
"vue2ts": "<template>\n <div>\n <KoleListPicker v-model=\"tech\" :options=\"OPTIONS\" :filterable=\"true\" placeholder=\"请选择技术栈\" />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport Vue from 'vue';\nimport { KoleListPicker } from 'kole-ui/vue2';\n\ninterface PickerOption {\n value: string;\n label: string;\n disabled?: boolean;\n}\n\ninterface PickerGroup {\n label: string;\n children: ReadonlyArray<PickerOption>;\n}\n\nexport default Vue.extend({\n components: { KoleListPicker },\n data(): { tech: ReadonlyArray<string>; OPTIONS: ReadonlyArray<PickerGroup> } {\n return {\n tech: ['vue', 'react'],\n OPTIONS: [\n { label: '前端', children: [{ value: 'vue', label: 'Vue' }, { value: 'react', label: 'React' }, { value: 'ng', label: 'Angular', disabled: true }] },\n { label: '后端', children: [{ value: 'java', label: 'Java' }, { value: 'go', label: 'Go' }, { value: 'py', label: 'Python' }] },\n ],\n };\n },\n});\n</script>"
},
"notes": "依据 frameworks/ListPicker.html 脚本 L29-32 的分组 OPTIONS、L37 初值 [\"vue\",\"react\"]、L45 空态占位「请选择技术栈」、L57-58 搜索框与「全选」行;prop 名取自 ListPicker.jsx L15-22(options/value/defaultValue/filterable/placeholder/onChange)与 ListPicker.vue3.vue L36-41(modelValue/options/filterable/placeholder)。"
}
],
"curated": true
}