@v-c/cascader 1.0.2 → 1.0.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/OptionList/Column.js +76 -72
- package/dist/OptionList/List.js +2 -2
- package/package.json +4 -4
|
@@ -141,76 +141,80 @@ var Column_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
141
141
|
]);
|
|
142
142
|
})]);
|
|
143
143
|
};
|
|
144
|
-
}, {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
144
|
+
}, {
|
|
145
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
146
|
+
prefixCls: {
|
|
147
|
+
type: String,
|
|
148
|
+
required: true,
|
|
149
|
+
default: void 0
|
|
150
|
+
},
|
|
151
|
+
multiple: {
|
|
152
|
+
type: Boolean,
|
|
153
|
+
required: false,
|
|
154
|
+
default: void 0
|
|
155
|
+
},
|
|
156
|
+
options: {
|
|
157
|
+
type: Array,
|
|
158
|
+
required: true,
|
|
159
|
+
default: void 0
|
|
160
|
+
},
|
|
161
|
+
activeValue: {
|
|
162
|
+
type: [String, Number],
|
|
163
|
+
required: false,
|
|
164
|
+
default: void 0
|
|
165
|
+
},
|
|
166
|
+
prevValuePath: {
|
|
167
|
+
type: Array,
|
|
168
|
+
required: true,
|
|
169
|
+
default: void 0
|
|
170
|
+
},
|
|
171
|
+
onToggleOpen: {
|
|
172
|
+
type: Function,
|
|
173
|
+
required: true,
|
|
174
|
+
default: void 0
|
|
175
|
+
},
|
|
176
|
+
onSelect: {
|
|
177
|
+
type: Function,
|
|
178
|
+
required: true,
|
|
179
|
+
default: void 0
|
|
180
|
+
},
|
|
181
|
+
onActive: {
|
|
182
|
+
type: Function,
|
|
183
|
+
required: true,
|
|
184
|
+
default: void 0
|
|
185
|
+
},
|
|
186
|
+
checkedSet: {
|
|
187
|
+
type: Set,
|
|
188
|
+
required: true,
|
|
189
|
+
default: void 0
|
|
190
|
+
},
|
|
191
|
+
halfCheckedSet: {
|
|
192
|
+
type: Set,
|
|
193
|
+
required: true,
|
|
194
|
+
default: void 0
|
|
195
|
+
},
|
|
196
|
+
loadingKeys: {
|
|
197
|
+
type: Array,
|
|
198
|
+
required: true,
|
|
199
|
+
default: void 0
|
|
200
|
+
},
|
|
201
|
+
isSelectable: {
|
|
202
|
+
type: Function,
|
|
203
|
+
required: true,
|
|
204
|
+
default: void 0
|
|
205
|
+
},
|
|
206
|
+
disabled: {
|
|
207
|
+
type: Boolean,
|
|
208
|
+
required: false,
|
|
209
|
+
default: void 0
|
|
210
|
+
},
|
|
211
|
+
style: {
|
|
212
|
+
type: Object,
|
|
213
|
+
required: false,
|
|
214
|
+
default: void 0
|
|
215
|
+
}
|
|
216
|
+
}, columnDefaults),
|
|
217
|
+
name: "Column",
|
|
218
|
+
inheritAttrs: false
|
|
219
|
+
});
|
|
216
220
|
export { FIX_LABEL, Column_default as default };
|
package/dist/OptionList/List.js
CHANGED
|
@@ -108,7 +108,6 @@ var List_default = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
108
108
|
disabled: true
|
|
109
109
|
}];
|
|
110
110
|
const columnProps = {
|
|
111
|
-
...props,
|
|
112
111
|
multiple: !isEmpty && props.multiple,
|
|
113
112
|
onSelect: onPathSelect,
|
|
114
113
|
onActive: onPathOpen,
|
|
@@ -116,7 +115,8 @@ var List_default = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
116
115
|
checkedSet: checkedSet.value,
|
|
117
116
|
halfCheckedSet: halfCheckedSet.value,
|
|
118
117
|
loadingKeys: loadingKeys.value,
|
|
119
|
-
isSelectable
|
|
118
|
+
isSelectable,
|
|
119
|
+
disabled: props.disabled
|
|
120
120
|
};
|
|
121
121
|
const columnNodes = (isEmpty ? [{ options: emptyList }] : optionColumns.value).map((col, index) => {
|
|
122
122
|
const prevValuePath = activeValueCells.value.slice(0, index);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-c/cascader",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"vue": "^3.0.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@v-c/select": "^1.0.
|
|
28
|
-
"@v-c/tree": "^1.0.
|
|
29
|
-
"@v-c/util": "^1.0.
|
|
27
|
+
"@v-c/select": "^1.0.20",
|
|
28
|
+
"@v-c/tree": "^1.0.5",
|
|
29
|
+
"@v-c/util": "^1.0.19"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "vite build",
|