persagy-vant 0.0.42 → 0.0.43
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/es/action-sheet/ActionSheet.d.ts +4 -0
- package/es/action-sheet/ActionSheet.mjs +4 -1
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +3 -0
- package/es/action-sheet/index.less +4 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/lang/en-US.d.ts +6 -0
- package/es/locale/lang/en-US.mjs +6 -0
- package/es/locale/lang/zh-CN.d.ts +6 -0
- package/es/locale/lang/zh-CN.mjs +6 -0
- package/es/uploader/Uploader.d.ts +6 -1
- package/es/uploader/Uploader.mjs +80 -19
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +6 -2
- package/es/uploader/index.less +4 -0
- package/es/uploader/style/index.mjs +3 -0
- package/es/uploader/style/less.mjs +3 -0
- package/es/uploader/types.d.ts +2 -1
- package/lib/action-sheet/ActionSheet.d.ts +4 -0
- package/lib/action-sheet/ActionSheet.js +4 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +3 -0
- package/lib/action-sheet/index.less +4 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en-US.d.ts +6 -0
- package/lib/locale/lang/en-US.js +6 -0
- package/lib/locale/lang/zh-CN.d.ts +6 -0
- package/lib/locale/lang/zh-CN.js +6 -0
- package/lib/uploader/Uploader.d.ts +6 -1
- package/lib/uploader/Uploader.js +79 -18
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +6 -2
- package/lib/uploader/index.less +4 -0
- package/lib/uploader/style/index.js +3 -0
- package/lib/uploader/style/less.js +3 -0
- package/lib/uploader/types.d.ts +2 -1
- package/lib/vant.cjs.js +89 -20
- package/lib/vant.es.js +89 -20
- package/lib/vant.js +89 -20
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1 -1
- package/package.json +1 -1
- package/skills/use-persagy-vant/references/component-catalog.md +1 -1
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
- `form-panel` + `form` + `field`:多字段编辑的表单面板、校验、输入与只读选择入口;需要录入文本时统一采用【输入框】换行文本域样式:`type="textarea"`、`label-position="top"`、`maxlength="200"`、`show-word-limit`,并按内容使用 `rows`、`autosize`。不要将同一编辑任务拆为零散弹层,也不要自绘文本域。
|
|
17
17
|
- `radio-panel`、`checkbox-panel`:动态面板内的单项和多项选择;单选使用 `radio-panel` 的 `v-model` 与 `select`,多选使用 `checkbox-panel` 的 `v-model` 与 `confirm`,不要自行拼接选择底部面板。
|
|
18
|
-
- `uploader
|
|
18
|
+
- `uploader`:图片、视频和文件上传统一采用【文件上传】表单示例的字段标签、白色卡片、上传与预览布局;图片/视频混合上传使用 `source-picker` 明确提供拍照、拍视频和从相册选择,使用 `accept` 区分文件类型,使用 `multiple`、`max-count="9"` 和 `preview-size="70"` 配置多文件上传。上传状态、删除、大小校验和超限提示只使用其公开 Props、事件和插槽。
|
|
19
19
|
- `checkbox`、`radio`、`switch`、`stepper`、`rate`、`slider`:布尔、单选、多选与数值录入。
|
|
20
20
|
- `picker`、`datetime-picker`、`calendar`、`area`、`cascader`、`tree-select`:普通选项、日期、地区、级联与树形数据选择。
|
|
21
21
|
- `search`、`filter-tag`、`dropdown-menu`、`dropdown-item`:搜索与轻量筛选;识别到搜索功能时,`search` 统一使用【搜索】纯净样式 `variant="pure"`,沿用 `v-model`、`search`、`cancel` 等公开能力连接既有筛选逻辑,不手写搜索区域。短选项的外露筛选优先使用 `filter-tag`,需要更大触达面积时选其大尺寸规格。
|