cc1-form 1.2.1 → 1.2.2
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/cc1-form.js +442 -443
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +196 -70
- package/dist/components/TCurd/formColumn.vue.d.ts +140 -40
- package/dist/components/TCurd/index.d.ts +140 -45
- package/dist/components/TCurd/index.vue.d.ts +308 -98
- package/dist/components/TCurd/indexType.d.ts +12 -4
- package/dist/utils/TFormConfig.d.ts +4 -0
- package/package.json +1 -1
|
@@ -653,6 +653,7 @@ export type CurdOptions<T = any> = {
|
|
|
653
653
|
* 开关选项 - 更多配置:https://element-plus.org/zh-CN/component/switch#attributes
|
|
654
654
|
*/
|
|
655
655
|
switch?: Partial<{
|
|
656
|
+
[key: string]: any;
|
|
656
657
|
/**
|
|
657
658
|
* 事件 文档:https://element-plus.org/zh-CN/component/switch#%E4%BA%8B%E4%BB%B6
|
|
658
659
|
*/
|
|
@@ -662,21 +663,28 @@ export type CurdOptions<T = any> = {
|
|
|
662
663
|
*/
|
|
663
664
|
activeValue: any;
|
|
664
665
|
/**
|
|
665
|
-
*
|
|
666
|
+
* 开启值文本 默认开启
|
|
666
667
|
*/
|
|
667
|
-
|
|
668
|
+
activeText: string;
|
|
668
669
|
/**
|
|
669
670
|
* 关闭值 默认false
|
|
670
671
|
*/
|
|
671
672
|
inactiveValue: any;
|
|
672
673
|
/**
|
|
673
|
-
*
|
|
674
|
+
* 关闭值文本 默认关闭
|
|
674
675
|
*/
|
|
675
|
-
|
|
676
|
+
inactiveText: string;
|
|
676
677
|
/**
|
|
677
678
|
* 表格直接操作切换前执行处理
|
|
678
679
|
*/
|
|
679
680
|
tableBeforeChange: (key: string, data: any) => any;
|
|
681
|
+
/** 表格中直接操作切换配置 */
|
|
682
|
+
tableConfig: Partial<{
|
|
683
|
+
/** 表格直接操作切换后是否确认 默认需要确认 需要用户确认后才进行切换 */
|
|
684
|
+
confirm: boolean;
|
|
685
|
+
/** 表格直接操作切换后是否重新加载列表 默认需要重新加载列表 */
|
|
686
|
+
loadList: boolean;
|
|
687
|
+
}>;
|
|
680
688
|
}>;
|
|
681
689
|
/**
|
|
682
690
|
* 选择组件属性 - 更多配置:https://element-plus.org/zh-CN/component/select#select-attributes
|