@tmagic/form 1.2.0-beta.18 → 1.2.0-beta.19

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.0-beta.18",
2
+ "version": "1.2.0-beta.19",
3
3
  "name": "@tmagic/form",
4
4
  "sideEffects": [
5
5
  "dist/*",
@@ -35,8 +35,8 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@element-plus/icons-vue": "^2.0.9",
38
- "@tmagic/design": "1.2.0-beta.18",
39
- "@tmagic/utils": "1.2.0-beta.18",
38
+ "@tmagic/design": "1.2.0-beta.19",
39
+ "@tmagic/utils": "1.2.0-beta.19",
40
40
  "lodash-es": "^4.17.21",
41
41
  "sortablejs": "^1.14.0",
42
42
  "vue": "^3.2.37"
@@ -57,6 +57,6 @@
57
57
  "typescript": "^4.7.4",
58
58
  "vite": "^3.1.3",
59
59
  "vite-plugin-vue-setup-extend": "^0.4.0",
60
- "vue-tsc": "^1.0.8"
60
+ "vue-tsc": "^1.0.10"
61
61
  }
62
62
  }
package/src/Form.vue CHANGED
@@ -4,7 +4,6 @@
4
4
  ref="tMagicForm"
5
5
  :model="values"
6
6
  :label-width="labelWidth"
7
- :disabled="disabled"
8
7
  :style="`height: ${height}`"
9
8
  :inline="inline"
10
9
  :label-position="labelPosition"
@@ -12,6 +11,7 @@
12
11
  <template v-if="initialized && Array.isArray(config)">
13
12
  <Container
14
13
  v-for="(item, index) in config"
14
+ :disabled="disabled"
15
15
  :key="item[keyProp] ?? index"
16
16
  :config="item"
17
17
  :model="values"
@@ -20,6 +20,7 @@
20
20
  v-model="stepActive"
21
21
  ref="form"
22
22
  :size="size"
23
+ :disabled="disabled"
23
24
  :config="config"
24
25
  :init-values="values"
25
26
  :parent-values="parentValues"
@@ -71,6 +72,7 @@ const props = withDefaults(
71
72
  width?: string | number;
72
73
  labelWidth?: string;
73
74
  fullscreen?: boolean;
75
+ disabled?: boolean;
74
76
  title?: string;
75
77
  zIndex?: number;
76
78
  size?: 'small' | 'default' | 'large';
@@ -7,6 +7,7 @@
7
7
  :label-width="config.labelWidth || labelWidth"
8
8
  :expand-more="expandMore"
9
9
  :size="size"
10
+ :disabled="disabled"
10
11
  @change="changeHandler"
11
12
  ></Container>
12
13
  </TMagicCol>
@@ -30,6 +31,7 @@ const props = defineProps<{
30
31
  span?: number;
31
32
  size?: string;
32
33
  prop?: string;
34
+ disabled?: boolean;
33
35
  }>();
34
36
 
35
37
  const emit = defineEmits(['change']);
@@ -21,6 +21,7 @@
21
21
  :is="tagName"
22
22
  :model="model"
23
23
  :config="config"
24
+ :disabled="disabled"
24
25
  :name="name"
25
26
  :prop="itemProp"
26
27
  :step-active="stepActive"
@@ -87,6 +88,7 @@
87
88
  :model="name || name === 0 ? model[name] : model"
88
89
  :config="item"
89
90
  :size="size"
91
+ :disabled="disabled"
90
92
  :step-active="stepActive"
91
93
  :expand-more="expand"
92
94
  :label-width="itemLabelWidth"
@@ -97,7 +99,7 @@
97
99
  </template>
98
100
 
99
101
  <div style="text-align: center" v-if="config.expand && type !== 'fieldset'">
100
- <TMagicButton type="primary" size="small" text @click="expandHandler">{{
102
+ <TMagicButton type="primary" size="small" :disabled="false" text @click="expandHandler">{{
101
103
  expand ? '收起配置' : '展开更多配置'
102
104
  }}</TMagicButton>
103
105
  </div>
@@ -118,6 +120,7 @@ const props = withDefaults(
118
120
  model: FormValue;
119
121
  config: ChildConfig;
120
122
  prop?: string;
123
+ disabled?: boolean;
121
124
  labelWidth?: string;
122
125
  expandMore?: boolean;
123
126
  stepActive?: string | number;
@@ -159,7 +162,9 @@ const tagName = computed(() => {
159
162
  return 'm-fields-text';
160
163
  });
161
164
 
162
- const disabled = computed(() => filterFunction(mForm, props.config.disabled, props));
165
+ const disabled = computed(() =>
166
+ typeof props.disabled === 'undefined' ? filterFunction(mForm, props.config.disabled, props) : props.disabled,
167
+ );
163
168
 
164
169
  const tooltip = computed(() => filterFunction(mForm, props.config.tooltip, props));
165
170
 
@@ -27,6 +27,7 @@
27
27
  :rules="name ? rules[name] : []"
28
28
  :config="item"
29
29
  :prop="prop"
30
+ :disabled="disabled"
30
31
  :labelWidth="lWidth"
31
32
  :size="size"
32
33
  @change="change"
@@ -46,6 +47,7 @@
46
47
  :prop="prop"
47
48
  :labelWidth="lWidth"
48
49
  :size="size"
50
+ :disabled="disabled"
49
51
  @change="change"
50
52
  ></Container>
51
53
  </template>
@@ -69,6 +71,7 @@ const props = withDefaults(
69
71
  model: Record<string, any>;
70
72
  config: FieldsetConfig;
71
73
  rules?: any;
74
+ disabled?: boolean;
72
75
  }>(),
73
76
  {
74
77
  rules: {},
@@ -15,13 +15,14 @@
15
15
  :index="index"
16
16
  :label-width="labelWidth"
17
17
  :size="size"
18
+ :disabled="disabled"
18
19
  :group-model="model[name]"
19
20
  @remove-item="removeHandler"
20
21
  @swap-item="swapHandler"
21
22
  @change="changeHandler"
22
23
  ></MFieldsGroupListItem>
23
24
 
24
- <TMagicButton @click="addHandler" size="small" v-if="addable">添加组</TMagicButton>
25
+ <TMagicButton @click="addHandler" size="small" :disabled="disabled" v-if="addable">添加组</TMagicButton>
25
26
 
26
27
  <TMagicButton :icon="Grid" size="small" @click="toggleMode" v-if="config.enableToggleMode">切换为表格</TMagicButton>
27
28
  </div>
@@ -45,6 +46,7 @@ const props = defineProps<{
45
46
  labelWidth?: string;
46
47
  prop?: string;
47
48
  size?: string;
49
+ disabled?: boolean;
48
50
  }>();
49
51
 
50
52
  const emit = defineEmits(['change']);
@@ -5,21 +5,22 @@
5
5
  ><CaretBottom v-if="expand" /><CaretRight v-else
6
6
  /></TMagicIcon>
7
7
 
8
- <TMagicButton text @click="expandHandler">{{ title }}</TMagicButton>
8
+ <TMagicButton text :disabled="disabled" @click="expandHandler">{{ title }}</TMagicButton>
9
9
 
10
10
  <TMagicButton
11
11
  v-show="showDelete(parseInt(String(index)))"
12
+ style="color: #f56c6c"
12
13
  text
13
14
  :icon="Delete"
14
- style="color: #f56c6c"
15
+ :disabled="disabled"
15
16
  @click="removeHandler"
16
17
  ></TMagicButton>
17
18
 
18
19
  <template v-if="movable()">
19
- <TMagicButton v-show="index !== 0" text size="small" @click="changeOrder(-1)"
20
+ <TMagicButton v-show="index !== 0" text :disabled="disabled" size="small" @click="changeOrder(-1)"
20
21
  >上移<TMagicIcon><CaretTop /></TMagicIcon
21
22
  ></TMagicButton>
22
- <TMagicButton v-show="index !== length - 1" text size="small" @click="changeOrder(1)"
23
+ <TMagicButton v-show="index !== length - 1" :disabled="disabled" text size="small" @click="changeOrder(1)"
23
24
  >下移<TMagicIcon><CaretBottom /></TMagicIcon
24
25
  ></TMagicButton>
25
26
  </template>
@@ -34,6 +35,7 @@
34
35
  :labelWidth="labelWidth"
35
36
  :prop="`${prop}${prop ? '.' : ''}${String(index)}`"
36
37
  :size="size"
38
+ :disabled="disabled"
37
39
  @change="changeHandler"
38
40
  ></Container>
39
41
  </div>
@@ -58,6 +60,7 @@ const props = defineProps<{
58
60
  prop?: string;
59
61
  size?: string;
60
62
  index: number;
63
+ disabled?: boolean;
61
64
  }>();
62
65
 
63
66
  const emit = defineEmits(['swap-item', 'remove-item', 'change']);
@@ -25,6 +25,7 @@
25
25
  :model="name ? model[name] : model"
26
26
  :prop="prop"
27
27
  :size="size"
28
+ :disabled="disabled"
28
29
  :label-width="config.labelWidth || labelWidth"
29
30
  @change="changeHandler"
30
31
  ></Container>
@@ -41,6 +42,7 @@
41
42
  :model="name ? model[name] : model"
42
43
  :prop="prop"
43
44
  :size="size"
45
+ :disabled="disabled"
44
46
  :label-width="config.labelWidth || labelWidth"
45
47
  @change="changeHandler"
46
48
  ></Container>
@@ -67,6 +69,7 @@ const props = defineProps<{
67
69
  labelWidth?: string;
68
70
  prop?: string;
69
71
  size?: string;
72
+ disabled?: boolean;
70
73
  }>();
71
74
 
72
75
  const emit = defineEmits(['change']);
@@ -10,6 +10,7 @@
10
10
  :model="name ? model[name] : model"
11
11
  :prop="prop"
12
12
  :size="size"
13
+ :disabled="disabled"
13
14
  @change="changeHandler"
14
15
  />
15
16
  </TMagicRow>
@@ -32,6 +33,7 @@ const props = defineProps<{
32
33
  prop?: string;
33
34
  size?: string;
34
35
  expandMore?: boolean;
36
+ disabled?: boolean;
35
37
  }>();
36
38
 
37
39
  const emit = defineEmits(['change']);
@@ -20,6 +20,7 @@
20
20
  :model="step.name ? model[step.name] : model"
21
21
  :prop="`${step.name}`"
22
22
  :size="size"
23
+ :disabled="disabled"
23
24
  :label-width="config.labelWidth || labelWidth"
24
25
  @change="changeHandler"
25
26
  ></Container>
@@ -44,6 +45,7 @@ const props = withDefaults(
44
45
  stepActive?: number;
45
46
  labelWidth?: string;
46
47
  size?: string;
48
+ disabled?: boolean;
47
49
  }>(),
48
50
  {
49
51
  stepActive: 1,
@@ -7,6 +7,7 @@
7
7
  v-if="model[modelName]"
8
8
  ref="tMagicTable"
9
9
  style="width: 100%"
10
+ :row-key="config.rowKey || 'id'"
10
11
  :data="data"
11
12
  :border="config.border"
12
13
  :max-height="config.maxHeight"
@@ -49,6 +50,7 @@
49
50
  size="small"
50
51
  type="primary"
51
52
  :icon="ArrowUp"
53
+ :disabled="disabled"
52
54
  text
53
55
  @click="upHandler(scope.$index + 1 + pagecontext * pagesize - 1)"
54
56
  @dblclick="topHandler(scope.$index + 1 + pagecontext * pagesize - 1)"
@@ -64,6 +66,7 @@
64
66
  size="small"
65
67
  type="primary"
66
68
  :icon="ArrowDown"
69
+ :disabled="disabled"
67
70
  text
68
71
  @click="downHandler(scope.$index + 1 + pagecontext * pagesize - 1)"
69
72
  @dblclick="bottomHandler(scope.$index + 1 + pagecontext * pagesize - 1)"
@@ -99,6 +102,7 @@
99
102
  <Container
100
103
  v-if="scope.$index > -1"
101
104
  labelWidth="0"
105
+ :disabled="disabled"
102
106
  :prop="getProp(scope.$index)"
103
107
  :rules="column.rules"
104
108
  :config="makeConfig(column, scope.row)"
@@ -112,7 +116,10 @@
112
116
  </TMagicTable>
113
117
  </TMagicTooltip>
114
118
  <slot></slot>
115
- <TMagicButton v-if="addable" size="small" type="primary" plain @click="newHandler()">添加</TMagicButton> &nbsp;
119
+ <TMagicButton v-if="addable" size="small" type="primary" :disabled="disabled" plain @click="newHandler()"
120
+ >添加</TMagicButton
121
+ >
122
+ &nbsp;
116
123
  <TMagicButton
117
124
  :icon="Grid"
118
125
  size="small"
@@ -132,15 +139,18 @@
132
139
  </TMagicButton>
133
140
  <TMagicUpload
134
141
  v-if="importable"
142
+ style="display: inline-block"
135
143
  ref="excelBtn"
136
144
  action="/noop"
145
+ :disabled="disabled"
137
146
  :on-change="excelHandler"
138
147
  :auto-upload="false"
139
- style="display: inline-block"
140
148
  >
141
- <TMagicButton size="small" type="success" plain>导入EXCEL</TMagicButton> </TMagicUpload
149
+ <TMagicButton size="small" type="success" :disabled="disabled" plain>导入EXCEL</TMagicButton> </TMagicUpload
142
150
  >&nbsp;
143
- <TMagicButton v-if="importable" size="small" type="warning" plain @click="clearHandler()">清空</TMagicButton>
151
+ <TMagicButton v-if="importable" size="small" type="warning" :disabled="disabled" plain @click="clearHandler()"
152
+ >清空</TMagicButton
153
+ >
144
154
  </div>
145
155
 
146
156
  <div class="bottom" style="text-align: right" v-if="config.pagination">
@@ -190,6 +200,7 @@ const props = withDefaults(
190
200
  prop?: string;
191
201
  labelWidth?: string;
192
202
  sort?: boolean;
203
+ disabled?: boolean;
193
204
  sortKey?: string;
194
205
  text?: string;
195
206
  size?: string;
@@ -413,6 +424,7 @@ const itemExtra = (fuc: any, index: number) => {
413
424
  };
414
425
 
415
426
  const removeHandler = (index: number) => {
427
+ if (props.disabled) return;
416
428
  props.model[modelName.value].splice(index, 1);
417
429
  emit('change', props.model[modelName.value]);
418
430
  };
@@ -22,6 +22,7 @@
22
22
  v-for="item in tabItems(tab)"
23
23
  :key="item[mForm?.keyProp || '__key']"
24
24
  :config="item"
25
+ :disabled="disabled"
25
26
  :model="
26
27
  config.dynamic
27
28
  ? (name ? model[name] : model)[tabIndex]
@@ -90,6 +91,7 @@ const props = defineProps<{
90
91
  labelWidth?: string;
91
92
  prop?: string;
92
93
  expandMore?: boolean;
94
+ disabled?: boolean;
93
95
  }>();
94
96
 
95
97
  const emit = defineEmits(['change']);
package/src/schema.ts CHANGED
@@ -633,6 +633,7 @@ export interface TableConfig extends FormItem {
633
633
  enableFullscreen?: boolean;
634
634
  fixed?: boolean;
635
635
  itemExtra?: string | FilterFunction;
636
+ rowKey: string;
636
637
  }
637
638
 
638
639
  export interface GroupListConfig extends FormItem {
@@ -14,6 +14,7 @@ declare const _default: {
14
14
  width?: string | number | undefined;
15
15
  labelWidth?: string | undefined;
16
16
  fullscreen?: boolean | undefined;
17
+ disabled?: boolean | undefined;
17
18
  title?: string | undefined;
18
19
  zIndex?: number | undefined;
19
20
  size?: "small" | "default" | "large" | undefined;
@@ -48,6 +49,7 @@ declare const _default: {
48
49
  width?: string | number | undefined;
49
50
  labelWidth?: string | undefined;
50
51
  fullscreen?: boolean | undefined;
52
+ disabled?: boolean | undefined;
51
53
  title?: string | undefined;
52
54
  zIndex?: number | undefined;
53
55
  size?: "small" | "default" | "large" | undefined;
@@ -360,6 +362,7 @@ declare const _default: {
360
362
  width?: string | number | undefined;
361
363
  labelWidth?: string | undefined;
362
364
  fullscreen?: boolean | undefined;
365
+ disabled?: boolean | undefined;
363
366
  title?: string | undefined;
364
367
  zIndex?: number | undefined;
365
368
  size?: "small" | "default" | "large" | undefined;
@@ -652,6 +655,7 @@ declare const _default: {
652
655
  width?: string | number | undefined;
653
656
  labelWidth?: string | undefined;
654
657
  fullscreen?: boolean | undefined;
658
+ disabled?: boolean | undefined;
655
659
  title?: string | undefined;
656
660
  zIndex?: number | undefined;
657
661
  size?: "small" | "default" | "large" | undefined;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  span?: number | undefined;
12
12
  size?: string | undefined;
13
13
  prop?: string | undefined;
14
+ disabled?: boolean | undefined;
14
15
  }>>> & {
15
16
  onChange?: ((...args: any[]) => any) | undefined;
16
17
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -35,6 +36,7 @@ declare const _default: {
35
36
  span?: number | undefined;
36
37
  size?: string | undefined;
37
38
  prop?: string | undefined;
39
+ disabled?: boolean | undefined;
38
40
  }>>> & {
39
41
  onChange?: ((...args: any[]) => any) | undefined;
40
42
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
@@ -65,6 +67,7 @@ declare const _default: {
65
67
  span?: number | undefined;
66
68
  size?: string | undefined;
67
69
  prop?: string | undefined;
70
+ disabled?: boolean | undefined;
68
71
  }>>> & {
69
72
  onChange?: ((...args: any[]) => any) | undefined;
70
73
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
@@ -79,6 +82,7 @@ declare const _default: {
79
82
  span?: number | undefined;
80
83
  size?: string | undefined;
81
84
  prop?: string | undefined;
85
+ disabled?: boolean | undefined;
82
86
  }>>> & {
83
87
  onChange?: ((...args: any[]) => any) | undefined;
84
88
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  model: FormValue;
12
12
  config: ChildConfig;
13
13
  prop?: string | undefined;
14
+ disabled?: boolean | undefined;
14
15
  labelWidth?: string | undefined;
15
16
  expandMore?: boolean | undefined;
16
17
  stepActive?: string | number | undefined;
@@ -39,6 +40,7 @@ declare const _default: {
39
40
  model: FormValue;
40
41
  config: ChildConfig;
41
42
  prop?: string | undefined;
43
+ disabled?: boolean | undefined;
42
44
  labelWidth?: string | undefined;
43
45
  expandMore?: boolean | undefined;
44
46
  stepActive?: string | number | undefined;
@@ -77,6 +79,7 @@ declare const _default: {
77
79
  model: FormValue;
78
80
  config: ChildConfig;
79
81
  prop?: string | undefined;
82
+ disabled?: boolean | undefined;
80
83
  labelWidth?: string | undefined;
81
84
  expandMore?: boolean | undefined;
82
85
  stepActive?: string | number | undefined;
@@ -95,6 +98,7 @@ declare const _default: {
95
98
  model: FormValue;
96
99
  config: ChildConfig;
97
100
  prop?: string | undefined;
101
+ disabled?: boolean | undefined;
98
102
  labelWidth?: string | undefined;
99
103
  expandMore?: boolean | undefined;
100
104
  stepActive?: string | number | undefined;
@@ -13,6 +13,7 @@ declare const _default: {
13
13
  model: Record<string, any>;
14
14
  config: FieldsetConfig;
15
15
  rules?: any;
16
+ disabled?: boolean | undefined;
16
17
  }>, {
17
18
  rules: {};
18
19
  prop: string;
@@ -39,6 +40,7 @@ declare const _default: {
39
40
  model: Record<string, any>;
40
41
  config: FieldsetConfig;
41
42
  rules?: any;
43
+ disabled?: boolean | undefined;
42
44
  }>, {
43
45
  rules: {};
44
46
  prop: string;
@@ -74,6 +76,7 @@ declare const _default: {
74
76
  model: Record<string, any>;
75
77
  config: FieldsetConfig;
76
78
  rules?: any;
79
+ disabled?: boolean | undefined;
77
80
  }>, {
78
81
  rules: {};
79
82
  prop: string;
@@ -90,6 +93,7 @@ declare const _default: {
90
93
  model: Record<string, any>;
91
94
  config: FieldsetConfig;
92
95
  rules?: any;
96
+ disabled?: boolean | undefined;
93
97
  }>, {
94
98
  rules: {};
95
99
  prop: string;
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  labelWidth?: string | undefined;
11
11
  prop?: string | undefined;
12
12
  size?: string | undefined;
13
+ disabled?: boolean | undefined;
13
14
  }>>> & {
14
15
  onChange?: ((...args: any[]) => any) | undefined;
15
16
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -33,6 +34,7 @@ declare const _default: {
33
34
  labelWidth?: string | undefined;
34
35
  prop?: string | undefined;
35
36
  size?: string | undefined;
37
+ disabled?: boolean | undefined;
36
38
  }>>> & {
37
39
  onChange?: ((...args: any[]) => any) | undefined;
38
40
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
@@ -62,6 +64,7 @@ declare const _default: {
62
64
  labelWidth?: string | undefined;
63
65
  prop?: string | undefined;
64
66
  size?: string | undefined;
67
+ disabled?: boolean | undefined;
65
68
  }>>> & {
66
69
  onChange?: ((...args: any[]) => any) | undefined;
67
70
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
@@ -75,6 +78,7 @@ declare const _default: {
75
78
  labelWidth?: string | undefined;
76
79
  prop?: string | undefined;
77
80
  size?: string | undefined;
81
+ disabled?: boolean | undefined;
78
82
  }>>> & {
79
83
  onChange?: ((...args: any[]) => any) | undefined;
80
84
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  prop?: string | undefined;
12
12
  size?: string | undefined;
13
13
  index: number;
14
+ disabled?: boolean | undefined;
14
15
  }>>> & {
15
16
  onChange?: ((...args: any[]) => any) | undefined;
16
17
  "onSwap-item"?: ((...args: any[]) => any) | undefined;
@@ -37,6 +38,7 @@ declare const _default: {
37
38
  prop?: string | undefined;
38
39
  size?: string | undefined;
39
40
  index: number;
41
+ disabled?: boolean | undefined;
40
42
  }>>> & {
41
43
  onChange?: ((...args: any[]) => any) | undefined;
42
44
  "onSwap-item"?: ((...args: any[]) => any) | undefined;
@@ -69,6 +71,7 @@ declare const _default: {
69
71
  prop?: string | undefined;
70
72
  size?: string | undefined;
71
73
  index: number;
74
+ disabled?: boolean | undefined;
72
75
  }>>> & {
73
76
  onChange?: ((...args: any[]) => any) | undefined;
74
77
  "onSwap-item"?: ((...args: any[]) => any) | undefined;
@@ -85,6 +88,7 @@ declare const _default: {
85
88
  prop?: string | undefined;
86
89
  size?: string | undefined;
87
90
  index: number;
91
+ disabled?: boolean | undefined;
88
92
  }>>> & {
89
93
  onChange?: ((...args: any[]) => any) | undefined;
90
94
  "onSwap-item"?: ((...args: any[]) => any) | undefined;
@@ -10,6 +10,7 @@ declare const _default: {
10
10
  labelWidth?: string | undefined;
11
11
  prop?: string | undefined;
12
12
  size?: string | undefined;
13
+ disabled?: boolean | undefined;
13
14
  }>>> & {
14
15
  onChange?: ((...args: any[]) => any) | undefined;
15
16
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -33,6 +34,7 @@ declare const _default: {
33
34
  labelWidth?: string | undefined;
34
35
  prop?: string | undefined;
35
36
  size?: string | undefined;
37
+ disabled?: boolean | undefined;
36
38
  }>>> & {
37
39
  onChange?: ((...args: any[]) => any) | undefined;
38
40
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
@@ -62,6 +64,7 @@ declare const _default: {
62
64
  labelWidth?: string | undefined;
63
65
  prop?: string | undefined;
64
66
  size?: string | undefined;
67
+ disabled?: boolean | undefined;
65
68
  }>>> & {
66
69
  onChange?: ((...args: any[]) => any) | undefined;
67
70
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
@@ -75,6 +78,7 @@ declare const _default: {
75
78
  labelWidth?: string | undefined;
76
79
  prop?: string | undefined;
77
80
  size?: string | undefined;
81
+ disabled?: boolean | undefined;
78
82
  }>>> & {
79
83
  onChange?: ((...args: any[]) => any) | undefined;
80
84
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  prop?: string | undefined;
12
12
  size?: string | undefined;
13
13
  expandMore?: boolean | undefined;
14
+ disabled?: boolean | undefined;
14
15
  }>>> & {
15
16
  onChange?: ((...args: any[]) => any) | undefined;
16
17
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
@@ -35,6 +36,7 @@ declare const _default: {
35
36
  prop?: string | undefined;
36
37
  size?: string | undefined;
37
38
  expandMore?: boolean | undefined;
39
+ disabled?: boolean | undefined;
38
40
  }>>> & {
39
41
  onChange?: ((...args: any[]) => any) | undefined;
40
42
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
@@ -65,6 +67,7 @@ declare const _default: {
65
67
  prop?: string | undefined;
66
68
  size?: string | undefined;
67
69
  expandMore?: boolean | undefined;
70
+ disabled?: boolean | undefined;
68
71
  }>>> & {
69
72
  onChange?: ((...args: any[]) => any) | undefined;
70
73
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
@@ -79,6 +82,7 @@ declare const _default: {
79
82
  prop?: string | undefined;
80
83
  size?: string | undefined;
81
84
  expandMore?: boolean | undefined;
85
+ disabled?: boolean | undefined;
82
86
  }>>> & {
83
87
  onChange?: ((...args: any[]) => any) | undefined;
84
88
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  stepActive?: number | undefined;
12
12
  labelWidth?: string | undefined;
13
13
  size?: string | undefined;
14
+ disabled?: boolean | undefined;
14
15
  }>, {
15
16
  stepActive: number;
16
17
  }>>> & {
@@ -35,6 +36,7 @@ declare const _default: {
35
36
  stepActive?: number | undefined;
36
37
  labelWidth?: string | undefined;
37
38
  size?: string | undefined;
39
+ disabled?: boolean | undefined;
38
40
  }>, {
39
41
  stepActive: number;
40
42
  }>>> & {
@@ -67,6 +69,7 @@ declare const _default: {
67
69
  stepActive?: number | undefined;
68
70
  labelWidth?: string | undefined;
69
71
  size?: string | undefined;
72
+ disabled?: boolean | undefined;
70
73
  }>, {
71
74
  stepActive: number;
72
75
  }>>> & {
@@ -81,6 +84,7 @@ declare const _default: {
81
84
  stepActive?: number | undefined;
82
85
  labelWidth?: string | undefined;
83
86
  size?: string | undefined;
87
+ disabled?: boolean | undefined;
84
88
  }>, {
85
89
  stepActive: number;
86
90
  }>>> & {