@tongfun/ui 0.0.1-alpha.10 → 0.0.1-alpha.12
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/dashboard-data-table/index.d.ts +1 -0
- package/dist/dashboard-data-table/types.d.ts +129 -0
- package/dist/exceljs.min-CBamQKM1.js +25017 -0
- package/dist/{index-Ci3-2oB_.js → index-DAdD8sbe.js} +114231 -121042
- package/dist/index.d.ts +38 -0
- package/dist/{index.es-CoCAKfeh.js → index.es-C-cCf-c_.js} +135 -131
- package/dist/index.js +1049 -828
- package/dist/{jspdf.es.min-B9-wXZ_S.js → jspdf.es.min-Bf9MNfa_.js} +2 -2
- package/dist/list-filter/types.d.ts +280 -0
- package/dist/lowcode-agent/icons.js +10 -2
- package/dist/lowcode-agent/index.js +8669 -142
- package/dist/lowcode-agent/types.d.ts +2 -2
- package/dist/skill/golden-examples/dashboard-workbench.md +1 -1
- package/dist/skill/golden-examples/management-list.md +1 -1
- package/dist/skill/tongfun-ui-skill.json +2 -2
- package/dist/skill/tongfun-ui-skill.md +2 -2
- package/dist/style.css +2 -2
- package/package.json +31 -14
|
@@ -8,7 +8,7 @@ export type LowcodeAgentJSONValue =
|
|
|
8
8
|
export type LowcodeAgentFramework = 'vue3'
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Material icons use the PascalCase export names exposed by lucide
|
|
11
|
+
* Material icons use the PascalCase export names exposed by @lucide/vue.
|
|
12
12
|
* The registry and icon picker must resolve this value without a kebab-case
|
|
13
13
|
* conversion or a custom alias table.
|
|
14
14
|
*/
|
|
@@ -345,7 +345,7 @@ export interface LowcodeAgentLowcodeSchema {
|
|
|
345
345
|
[key: string]: unknown
|
|
346
346
|
}
|
|
347
347
|
palette: {
|
|
348
|
-
/** A registered PascalCase export name from lucide
|
|
348
|
+
/** A registered PascalCase export name from @lucide/vue. */
|
|
349
349
|
icon?: LowcodeAgentLucideIconName
|
|
350
350
|
order?: number
|
|
351
351
|
draggable?: boolean
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"<script setup lang=\"ts\">",
|
|
8
8
|
"TypeScript",
|
|
9
9
|
"Tailwind CSS for layout, spacing and small utility classes only",
|
|
10
|
-
"lucide
|
|
10
|
+
"@lucide/vue for icons",
|
|
11
11
|
"reka-ui only as an accessibility fallback when @tongfun/ui lacks a complex interaction"
|
|
12
12
|
],
|
|
13
13
|
"componentPriority": [
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"Group forms with more than 8 fields.",
|
|
415
415
|
"Cover empty/loading/error states on list pages.",
|
|
416
416
|
"Provide loading and error feedback for save, submit and delete actions.",
|
|
417
|
-
"Use lucide
|
|
417
|
+
"Use @lucide/vue icons for recognizable actions.",
|
|
418
418
|
"Define TypeScript types for rows, forms, filters and event payloads.",
|
|
419
419
|
"Report the @tongfun/ui component list after generation."
|
|
420
420
|
],
|
|
@@ -20,7 +20,7 @@ Agent 生成前端代码时,应把 `@tongfun/ui` 作为首选组件来源。
|
|
|
20
20
|
- 使用 `<script setup lang="ts">`。
|
|
21
21
|
- 使用 TypeScript 类型约束 props、emits、表单模型、表格行数据和 API 结果。
|
|
22
22
|
- Tailwind CSS 仅用于布局、间距、栅格、flex、少量辅助 class。
|
|
23
|
-
- 图标使用
|
|
23
|
+
- 图标使用 `@lucide/vue`。
|
|
24
24
|
- `reka-ui` 仅在 `@tongfun/ui` 缺少复杂无障碍交互能力时作为补充。
|
|
25
25
|
- 禁止随意引入其他 UI 库。
|
|
26
26
|
- 禁止混用 Element Plus、Ant Design Vue、Naive UI、Arco Design 等 UI 库。
|
|
@@ -240,7 +240,7 @@ Do:
|
|
|
240
240
|
- 表单超过 8 个字段时分组。
|
|
241
241
|
- 列表页必须有 empty、loading、error 状态。
|
|
242
242
|
- 保存、提交、删除等动作必须有 loading 和错误反馈。
|
|
243
|
-
- 使用
|
|
243
|
+
- 使用 `@lucide/vue` 图标增强操作识别。
|
|
244
244
|
- 用 TypeScript 定义行数据、表单模型、筛选模型和事件 payload。
|
|
245
245
|
- 生成代码后说明使用的 `@tongfun/ui` 组件清单。
|
|
246
246
|
|