cc1-form 1.2.1 → 1.2.3
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 +612 -606
- package/dist/cc1-form.umd.cjs +1 -1
- package/dist/components/TCurd/com/form/column.vue.d.ts +252 -70
- package/dist/components/TCurd/formColumn.vue.d.ts +180 -40
- package/dist/components/TCurd/index.d.ts +180 -45
- package/dist/components/TCurd/index.vue.d.ts +396 -98
- package/dist/components/TCurd/indexType.d.ts +16 -4
- package/dist/utils/TFormConfig.d.ts +5 -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,32 @@ 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
|
+
/** 是否在表格中进行切换,默认true */
|
|
684
|
+
change: boolean;
|
|
685
|
+
/** 表格直接操作切换后是否确认 默认需要确认 需要用户确认后才进行切换 */
|
|
686
|
+
confirm: boolean;
|
|
687
|
+
/** 表格直接操作切换后是否重新加载列表 默认需要重新加载列表 */
|
|
688
|
+
loadList: boolean;
|
|
689
|
+
/** 切换绑定api,用于切换后执行处理 */
|
|
690
|
+
api: (data: T) => any;
|
|
691
|
+
}>;
|
|
680
692
|
}>;
|
|
681
693
|
/**
|
|
682
694
|
* 选择组件属性 - 更多配置:https://element-plus.org/zh-CN/component/select#select-attributes
|