cc1-form 1.3.8 → 1.4.0

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.
@@ -32,6 +32,7 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
32
32
  show: boolean;
33
33
  button: boolean;
34
34
  saveButton: boolean;
35
+ tipText: string;
35
36
  width: any;
36
37
  label: string;
37
38
  fixed: "left" | "right";
@@ -67,6 +68,7 @@ export declare const createTableModule: (_getConf: CurdConfGetter, props: CurdPr
67
68
  show: boolean;
68
69
  button: boolean;
69
70
  saveButton: boolean;
71
+ tipText: string;
70
72
  width: any;
71
73
  label: string;
72
74
  fixed: "left" | "right";
@@ -1379,6 +1379,7 @@ export declare const curdConf: (props: CurdProps) => {
1379
1379
  show: boolean;
1380
1380
  button: boolean;
1381
1381
  saveButton: boolean;
1382
+ tipText: string;
1382
1383
  width: any;
1383
1384
  label: string;
1384
1385
  fixed: "left" | "right";
@@ -1414,6 +1415,7 @@ export declare const curdConf: (props: CurdProps) => {
1414
1415
  show: boolean;
1415
1416
  button: boolean;
1416
1417
  saveButton: boolean;
1418
+ tipText: string;
1417
1419
  width: any;
1418
1420
  label: string;
1419
1421
  fixed: "left" | "right";
@@ -1991,6 +1993,7 @@ export declare const curdConf: (props: CurdProps) => {
1991
1993
  show?: boolean | undefined;
1992
1994
  button?: boolean | undefined;
1993
1995
  saveButton?: boolean | undefined;
1996
+ tipText?: string | undefined;
1994
1997
  width?: any;
1995
1998
  label?: string | undefined;
1996
1999
  fixed?: "left" | "right" | undefined;
@@ -1396,6 +1396,7 @@ declare const conf: {
1396
1396
  show: boolean;
1397
1397
  button: boolean;
1398
1398
  saveButton: boolean;
1399
+ tipText: string;
1399
1400
  width: any;
1400
1401
  label: string;
1401
1402
  fixed: "left" | "right";
@@ -1431,6 +1432,7 @@ declare const conf: {
1431
1432
  show: boolean;
1432
1433
  button: boolean;
1433
1434
  saveButton: boolean;
1435
+ tipText: string;
1434
1436
  width: any;
1435
1437
  label: string;
1436
1438
  fixed: "left" | "right";
@@ -2008,6 +2010,7 @@ declare const conf: {
2008
2010
  show?: boolean | undefined;
2009
2011
  button?: boolean | undefined;
2010
2012
  saveButton?: boolean | undefined;
2013
+ tipText?: string | undefined;
2011
2014
  width?: any;
2012
2015
  label?: string | undefined;
2013
2016
  fixed?: "left" | "right" | undefined;
@@ -7156,6 +7159,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
7156
7159
  show: boolean;
7157
7160
  button: boolean;
7158
7161
  saveButton: boolean;
7162
+ tipText: string;
7159
7163
  width: any;
7160
7164
  label: string;
7161
7165
  fixed: "left" | "right";
@@ -7191,6 +7195,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
7191
7195
  show: boolean;
7192
7196
  button: boolean;
7193
7197
  saveButton: boolean;
7198
+ tipText: string;
7194
7199
  width: any;
7195
7200
  label: string;
7196
7201
  fixed: "left" | "right";
@@ -7768,6 +7773,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
7768
7773
  show?: boolean | undefined;
7769
7774
  button?: boolean | undefined;
7770
7775
  saveButton?: boolean | undefined;
7776
+ tipText?: string | undefined;
7771
7777
  width?: any;
7772
7778
  label?: string | undefined;
7773
7779
  fixed?: "left" | "right" | undefined;
@@ -198,6 +198,8 @@ export interface CurdConfig<T = any> {
198
198
  button: boolean;
199
199
  /** 是否显示保存排序按钮 - 默认开启 当button关闭时使用 */
200
200
  saveButton: boolean;
201
+ /** 拖拽列提示文本 */
202
+ tipText: string;
201
203
  /** 拖拽列宽度,默认54 */
202
204
  width: any;
203
205
  /** 拖拽列标题 */
@@ -571,7 +573,7 @@ export interface CurdConfigColumn<T = any> {
571
573
  * - `upload` — 文件上传
572
574
  * - `editor` — 富文本编辑器
573
575
  * - `tree` — 树形控件
574
- * - `tree-select` — 树形选择器 (ElTreeSelect),通过 `options.treeSelect` 配置
576
+ * - `treeSelect` — 树形选择器 (ElTreeSelect),通过 `options.treeSelect` 配置
575
577
  * - `list` — 动态列表表单 (TFormList),通过 `options.list` 配置
576
578
  *
577
579
  * 也可传入自定义组件名称(需通过插件 `customComponent` 选项或 `TForm.customComponent` 注册),
@@ -58,6 +58,11 @@ export default class TSys {
58
58
  * 模块赋值
59
59
  */
60
60
  static moduleObj: any;
61
+ /**
62
+ * 设置模块
63
+ * @param configObj
64
+ */
65
+ static setModule: (configObj: any) => void;
61
66
  /**
62
67
  * 加载模块
63
68
  * @param module
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc1-form",
3
- "version": "1.3.8",
3
+ "version": "1.4.0",
4
4
  "description": "我来助你-表单组件库",
5
5
  "repository": {
6
6
  "type": "git",