bpmax-cli 0.1.44-beta.14 → 0.1.44-beta.16
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/bin.js +698 -105
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
- package/skills/bpmax-ai-taskbook/SKILL.md +3 -0
- package/skills/bpmax-approval-matrix/SKILL.md +87 -0
- package/skills/bpmax-cli/SKILL.md +2 -0
- package/skills/bpmax-dataset-field-template-editor/SKILL.md +3 -0
- package/skills/bpmax-dataset-template-editor/references/pre-process-script-example-catalog.md +8 -8
- package/skills/bpmax-e2e-flow-test-operator/SKILL.md +11 -3
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale.json +4 -4
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_final_v2.json +4 -4
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_main.json +4 -4
- package/skills/bpmax-e2e-flow-test-operator/profiles/negative_sale_region.json +4 -4
- package/skills/bpmax-e2e-flow-test-operator/references/filter-field-discovery.md +2 -2
- package/skills/bpmax-e2e-flow-test-operator/references/negative-sale-api-matrix.md +3 -3
- package/skills/bpmax-e2e-flow-test-operator/references/profile-schema.md +6 -4
- package/skills/bpmax-e2e-flow-test-operator/scripts/flow_test_profile.py +11 -11
- package/skills/bpmax-flow-template-editor/SKILL.md +1 -1
- package/skills/bpmax-flow-template-editor/references/lessons-from-price-plan-flow.md +3 -3
- package/skills/bpmax-flow-template-editor/references/matrix-flow-form-nav-collaboration.md +7 -4
- package/skills/bpmax-form-template-editor/SKILL.md +14 -9
- package/skills/bpmax-project/SKILL.md +8 -1
- package/skills/form-control-library/references/form-controls.md +37 -37
|
@@ -19,32 +19,32 @@
|
|
|
19
19
|
|
|
20
20
|
| field_type | 出现次数 | 典型标签 | 样例路径 |
|
|
21
21
|
| --- | ---: | --- | --- |
|
|
22
|
-
| `i_input` | 104 | SN、产品SN、关联SO订单 | `think_form_template
|
|
23
|
-
| `i_textarea` | 20 | 备注、退货原因、项目内容描述 | `think_form_template
|
|
24
|
-
| `i_input_number` | 16 | 数量、金额、项目预算 | `think_form_template
|
|
25
|
-
| `input` | 10 | SN码、异常照片、扫描时间 | `think_form_template
|
|
26
|
-
| `code_control` | 2 | 代码编辑器 | `think_form_template
|
|
27
|
-
| `fc-editor` | 2 | 富文本组件 | `think_form_template
|
|
28
|
-
| `i_markdown` | 2 | Markdown | `think_form_template
|
|
29
|
-
| `i_rate` | 2 | 评分 | `think_form_template
|
|
30
|
-
| `sn_number` | 8 | 流水单号、门店编号 | `think_form_template
|
|
22
|
+
| `i_input` | 104 | SN、产品SN、关联SO订单 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'tl01qtfgax3mf/form_rule.value` |
|
|
23
|
+
| `i_textarea` | 20 | 备注、退货原因、项目内容描述 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fmwpmn403mqvahc/form_rule.value` |
|
|
24
|
+
| `i_input_number` | 16 | 数量、金额、项目预算 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'k4a6ag2dbenp/form_rule.value` |
|
|
25
|
+
| `input` | 10 | SN码、异常照片、扫描时间 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'pda_exception_sn/form_rule.value` |
|
|
26
|
+
| `code_control` | 2 | 代码编辑器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'F679mn30d9lfawc/form_rule.value` |
|
|
27
|
+
| `fc-editor` | 2 | 富文本组件 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'vvc1qw4d0o8yp/form_rule.value` |
|
|
28
|
+
| `i_markdown` | 2 | Markdown | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fgllmn30eyduazc/form_rule.value` |
|
|
29
|
+
| `i_rate` | 2 | 评分 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'F7zbmn30dylbaxc/form_rule.value` |
|
|
30
|
+
| `sn_number` | 8 | 流水单号、门店编号 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fhz3mny90d26alc/form_rule.value` |
|
|
31
31
|
|
|
32
32
|
### 选择类
|
|
33
33
|
|
|
34
34
|
| field_type | 出现次数 | 典型标签 | 样例路径 |
|
|
35
35
|
| --- | ---: | --- | --- |
|
|
36
|
-
| `i_select` | 30 | 国家、地区、产品线 | `think_form_template
|
|
37
|
-
| `group_select` | 28 | 门店、仓库、申请部门 | `think_form_template
|
|
38
|
-
| `radio` | 14 | 是否样机、是否一口价 | `think_form_template
|
|
39
|
-
| `user_select` | 14 | 申请人、负责人、项目经理 | `think_form_template
|
|
40
|
-
| `bp-cascader` | 4 | 级联选择器 | `think_form_template
|
|
41
|
-
| `project_selector_new` | 4 | 关联项目 | `think_form_template
|
|
42
|
-
| `checkbox` | 2 | 多选框 | `think_form_template
|
|
43
|
-
| `enum_select` | 2 | 枚举选择器 | `think_form_template
|
|
44
|
-
| `es_project_selector` | 8 | 产品层次、关联订单、项目选择器(ES) | `think_form_template
|
|
45
|
-
| `knowledge_form` | 2 | 知识库 | `think_form_template
|
|
46
|
-
| `model_selector` | 2 | 模型选择器 | `think_form_template
|
|
47
|
-
| `plugin_address_select` | 2 | 选择地址 | `think_form_template
|
|
36
|
+
| `i_select` | 30 | 国家、地区、产品线 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'xss6ag2dah9q/form_rule.value` |
|
|
37
|
+
| `group_select` | 28 | 门店、仓库、申请部门 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'5861qtfg9fs6d/form_rule.value` |
|
|
38
|
+
| `radio` | 14 | 是否样机、是否一口价 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'x4m1qqt8bxj73/form_rule.value` |
|
|
39
|
+
| `user_select` | 14 | 申请人、负责人、项目经理 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'eye69vdud9mn/form_rule.value` |
|
|
40
|
+
| `bp-cascader` | 4 | 级联选择器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'5qu1qw4cpok4o/form_rule.value` |
|
|
41
|
+
| `project_selector_new` | 4 | 关联项目 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'e6c1q8bj9mbqk/form_rule.value` |
|
|
42
|
+
| `checkbox` | 2 | 多选框 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'nfy6aeu1p9wd/form_rule.value` |
|
|
43
|
+
| `enum_select` | 2 | 枚举选择器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'q9s1qw4cytbe8/form_rule.value` |
|
|
44
|
+
| `es_project_selector` | 8 | 产品层次、关联订单、项目选择器(ES) | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'fyb69u27kudl/form_rule.value` |
|
|
45
|
+
| `knowledge_form` | 2 | 知识库 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'F46omn30ct8dauc/form_rule.value` |
|
|
46
|
+
| `model_selector` | 2 | 模型选择器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fj4smn30cxi3avc/form_rule.value` |
|
|
47
|
+
| `plugin_address_select` | 2 | 选择地址 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'5sy6a4vgqdpg/form_rule.value` |
|
|
48
48
|
|
|
49
49
|
`group_select` 不是简单的静态选择控件。它的 `filterConditions.parentGroups / models / modelFieldsData`、`hideUnmatchedTeams`、`excludeMatched` 在运行时的真实消费方式,以及 `/api/group/group_user` 是否真的按这些参数过滤,见 [group-select-runtime.md](./group-select-runtime.md)。
|
|
50
50
|
|
|
@@ -52,28 +52,28 @@
|
|
|
52
52
|
|
|
53
53
|
| field_type | 出现次数 | 典型标签 | 样例路径 |
|
|
54
54
|
| --- | ---: | --- | --- |
|
|
55
|
-
| `bp-date-picker` | 18 | 发货日期、申请日期、立项时间 | `think_form_template
|
|
56
|
-
| `bp-time-picker` | 2 | 时间选择器 | `think_form_template
|
|
57
|
-
| `i_time_selector` | 2 | 时间步骤选择器 | `think_form_template
|
|
58
|
-
| `i_address` | 2 | 地址 | `think_form_template
|
|
55
|
+
| `bp-date-picker` | 18 | 发货日期、申请日期、立项时间 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'n161qtgpjd01j/form_rule.value` |
|
|
56
|
+
| `bp-time-picker` | 2 | 时间选择器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'4ee1qw4cw4nzt/form_rule.value` |
|
|
57
|
+
| `i_time_selector` | 2 | 时间步骤选择器 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'hxk1qw4d6rx7z/form_rule.value` |
|
|
58
|
+
| `i_address` | 2 | 地址 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'xdo1qw4cy1eri/form_rule.value` |
|
|
59
59
|
|
|
60
60
|
### 上传与插件
|
|
61
61
|
|
|
62
62
|
| field_type | 出现次数 | 典型标签 | 样例路径 |
|
|
63
63
|
| --- | ---: | --- | --- |
|
|
64
|
-
| `image_upload` | 18 | 上传照片、拍照、退货照片 | `think_form_template
|
|
65
|
-
| `bp-upload` | 12 | 发票上传、附件上传、文件上传 | `think_form_template
|
|
66
|
-
| `plugin-pda-scan-demo` | 2 | PDA扫码Demo | `think_form_template
|
|
64
|
+
| `image_upload` | 18 | 上传照片、拍照、退货照片 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'r5j1qtfgc6sdk/form_rule.value` |
|
|
65
|
+
| `bp-upload` | 12 | 发票上传、附件上传、文件上传 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'9wp6ag2dbxqe/form_rule.value` |
|
|
66
|
+
| `plugin-pda-scan-demo` | 2 | PDA扫码Demo | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'htk6ahnv58w0/form_rule.value` |
|
|
67
67
|
|
|
68
68
|
## 展示与结构控件
|
|
69
69
|
|
|
70
70
|
| field_type | 出现次数 | 典型用途 | 样例路径 |
|
|
71
71
|
| --- | ---: | --- | --- |
|
|
72
|
-
| `h_label` | 28 | 标题、段落标签 | `think_form_template
|
|
73
|
-
| `i_hr` | 8 | 分割线、分区标题 | `think_form_template
|
|
74
|
-
| `description` | 4 | 说明文案、描述块 | `think_form_template
|
|
75
|
-
| `raw` | 116 | 只读数据回显、公式结果 | `think_form_template
|
|
76
|
-
| `sub_form` | 22 | 子表单容器、明细列表 | `think_form_template
|
|
72
|
+
| `h_label` | 28 | 标题、段落标签 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Ffngml5381vbafc/form_rule.value` |
|
|
73
|
+
| `i_hr` | 8 | 分割线、分区标题 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fb4hmn3092ljatc/form_rule.value` |
|
|
74
|
+
| `description` | 4 | 说明文案、描述块 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fwfcmn303rs0abc/form_rule.value` |
|
|
75
|
+
| `raw` | 116 | 只读数据回显、公式结果 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Ffa7ml07zs4uafc/form_rule.value` |
|
|
76
|
+
| `sub_form` | 22 | 子表单容器、明细列表 | `think_form_template/<local-mirror-template-dir>/think_form_rule/field'i1u6ahnv7jfx/form_rule.value` |
|
|
77
77
|
|
|
78
78
|
## 使用建议
|
|
79
79
|
- 如果用户问“有多少种表单控件”,默认回答:当前仓库实际落地 `33` 种 `field_type`。
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
- 不要手动预填最终流水号;后端只在当前值为空时生成,已有值会被视为编辑态并跳过生成。
|
|
147
147
|
|
|
148
148
|
真实样例:
|
|
149
|
-
- `think_form_template
|
|
150
|
-
- `think_form_template
|
|
149
|
+
- `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fhz3mny90d26alc/form_rule.rule`
|
|
150
|
+
- `think_form_template/<local-mirror-template-dir>/think_form_rule/field'Fhz3mny90d26alc/form_rule.value`
|
|
151
151
|
|
|
152
152
|
### `raw`(只读数据字段)
|
|
153
153
|
|
|
@@ -195,5 +195,5 @@
|
|
|
195
195
|
- `props.disabled` 对 `raw` 不是主要只读保障;只读来自控件本身。不要把 `raw` 当成可编辑输入框使用。
|
|
196
196
|
|
|
197
197
|
真实样例:
|
|
198
|
-
- 条件显示回显:`think_form_template
|
|
199
|
-
- 隐藏兼容传值:`think_form_template
|
|
198
|
+
- 条件显示回显:`think_form_template/<local-mirror-template-dir>/think_form_rule/field'Ffa7ml07zs4uafc/form_rule.rule`
|
|
199
|
+
- 隐藏兼容传值:`think_form_template/<local-mirror-template-dir>/think_form_rule/field'F2rtucp0a3/form_rule.rule`
|