@opentiny/vue-renderless 3.13.0 → 3.13.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/cascader/index.js +3 -2
- package/common/deps/popper.js +28 -2
- package/package.json +1 -1
- package/select/index.js +32 -26
- package/select/vue.js +5 -3
- package/tree-menu/index.js +2 -2
- package/types/alert.type.d.ts +1 -1
- package/types/checkbox.type.d.ts +3 -3
- package/types/collapse.type.d.ts +1 -1
- package/types/date-picker.type.d.ts +1 -1
- package/types/file-upload.type.d.ts +1 -1
- package/types/form-item.type.d.ts +1 -1
- package/types/{form.type-654dccd8.d.ts → form.type-d0fd42f3.d.ts} +1 -1
- package/types/form.type.d.ts +1 -1
- package/types/milestone.type.d.ts +1 -1
- package/types/pager.type.d.ts +1 -1
- package/types/popeditor.type.d.ts +1 -1
- package/types/popover.type.d.ts +1 -1
- package/types/progress.type.d.ts +1 -1
- package/types/steps.type.d.ts +1 -1
- package/types/switch.type.d.ts +3 -3
- package/types/upload-dragger.type.d.ts +2 -2
- package/types/{upload-list.type-f76f2393.d.ts → upload-list.type-343e8c11.d.ts} +2 -2
- package/types/upload-list.type.d.ts +1 -1
- package/types/upload.type.d.ts +1 -1
package/cascader/index.js
CHANGED
|
@@ -268,7 +268,7 @@ const calcCollapseTags = ({ state, refs, nextTick }) => () => {
|
|
|
268
268
|
const collapseTagWidth = tagsLength && parseFloat(collapseTagContentWidth) + parseFloat(marginRight) + parseFloat(marginLeft);
|
|
269
269
|
const tags = Array.from(content.querySelectorAll(".tiny-tag"));
|
|
270
270
|
let { total, dom, idx } = { total: collapseTagWidth, dom: null, idx: 0 };
|
|
271
|
-
tags.
|
|
271
|
+
tags.forEach((tag, index) => {
|
|
272
272
|
if (tag !== tagsLength) {
|
|
273
273
|
const { width: tagContentWidth, marginRight: marginRight2, marginLeft: marginLeft2 } = tag && window.getComputedStyle(tag);
|
|
274
274
|
total += parseFloat(tagContentWidth) + parseFloat(marginRight2) + parseFloat(marginLeft2);
|
|
@@ -399,7 +399,8 @@ const updateStyle = ({ parent, refs, state, updatePopper, nextTick, props }) =>
|
|
|
399
399
|
}
|
|
400
400
|
const tags = $el.querySelector(CASCADER.TagClass);
|
|
401
401
|
let suggestionPanelEl = null;
|
|
402
|
-
if (suggestionPanel
|
|
402
|
+
if (suggestionPanel) {
|
|
403
|
+
suggestionPanelEl = suggestionPanel.$el;
|
|
403
404
|
const suggestionList = suggestionPanelEl.querySelector(CASCADER.ListClass);
|
|
404
405
|
suggestionList.style.minWidth = inputInner.offsetWidth + "px";
|
|
405
406
|
}
|
package/common/deps/popper.js
CHANGED
|
@@ -68,6 +68,22 @@ const isScrollElement = (el) => {
|
|
|
68
68
|
const scrollTypes = ["scroll", "auto"];
|
|
69
69
|
return scrollTypes.includes(getStyleComputedProperty(el, "overflow")) || scrollTypes.includes(getStyleComputedProperty(el, "overflow-x")) || scrollTypes.includes(getStyleComputedProperty(el, "overflow-y"));
|
|
70
70
|
};
|
|
71
|
+
const getAdjustOffset = (parent) => {
|
|
72
|
+
const placeholder = document.createElement("div");
|
|
73
|
+
setStyle(placeholder, {
|
|
74
|
+
opacity: 0,
|
|
75
|
+
position: "fixed",
|
|
76
|
+
width: 1,
|
|
77
|
+
height: 1,
|
|
78
|
+
top: 0,
|
|
79
|
+
left: 0,
|
|
80
|
+
"z-index": "-99"
|
|
81
|
+
});
|
|
82
|
+
parent.appendChild(placeholder);
|
|
83
|
+
const result = getBoundingClientRect(placeholder);
|
|
84
|
+
parent.removeChild(placeholder);
|
|
85
|
+
return result;
|
|
86
|
+
};
|
|
71
87
|
const getScrollParent = (el) => {
|
|
72
88
|
let parent = el.parentNode;
|
|
73
89
|
if (!parent) {
|
|
@@ -84,9 +100,14 @@ const getScrollParent = (el) => {
|
|
|
84
100
|
}
|
|
85
101
|
return getScrollParent(parent);
|
|
86
102
|
};
|
|
87
|
-
const getOffsetRectRelativeToCustomParent = (el, parent, fixed) => {
|
|
103
|
+
const getOffsetRectRelativeToCustomParent = (el, parent, fixed, popper) => {
|
|
88
104
|
let { top, left, width, height } = getBoundingClientRect(el);
|
|
89
105
|
if (fixed) {
|
|
106
|
+
if (popper.parentElement) {
|
|
107
|
+
const { top: adjustTop, left: adjustLeft } = getAdjustOffset(popper.parentElement);
|
|
108
|
+
top -= adjustTop;
|
|
109
|
+
left -= adjustLeft;
|
|
110
|
+
}
|
|
90
111
|
return {
|
|
91
112
|
top,
|
|
92
113
|
left,
|
|
@@ -429,7 +450,12 @@ class Popper {
|
|
|
429
450
|
placement = placement.split("-")[0];
|
|
430
451
|
let popperOffsets = { position: this.state.position };
|
|
431
452
|
let isParentFixed = popperOffsets.position === "fixed";
|
|
432
|
-
let referenceOffsets = getOffsetRectRelativeToCustomParent(
|
|
453
|
+
let referenceOffsets = getOffsetRectRelativeToCustomParent(
|
|
454
|
+
reference,
|
|
455
|
+
getOffsetParent(popper),
|
|
456
|
+
isParentFixed,
|
|
457
|
+
popper
|
|
458
|
+
);
|
|
433
459
|
const { width, height } = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = getOuterSizes(popper);
|
|
434
460
|
if (~["right", "left"].indexOf(placement)) {
|
|
435
461
|
popperOffsets.top = referenceOffsets.top + referenceOffsets.height / 2 - height / 2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-renderless",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.2",
|
|
4
4
|
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
|
|
5
5
|
"homepage": "https://opentiny.design/tiny-vue",
|
|
6
6
|
"keywords": [
|
package/select/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const gridOnQueryChange = ({ props, vm, constants, state }) => (value) => {
|
|
|
69
69
|
state.remoteData = data.filter((row) => !~selectedIds.indexOf(row[valueField])).concat(state.selected);
|
|
70
70
|
} else {
|
|
71
71
|
vm.$refs.selectGrid.clearRadioRow();
|
|
72
|
-
vm.$refs.selectGrid.setRadioRow(find(data, (item) => props.modelValue
|
|
72
|
+
vm.$refs.selectGrid.setRadioRow(find(data, (item) => props.modelValue === item[props.valueField]));
|
|
73
73
|
state.remoteData = data;
|
|
74
74
|
}
|
|
75
75
|
vm.$refs.selectGrid.$refs.tinyTable.lastScrollTop = 0;
|
|
@@ -190,6 +190,11 @@ const emitChange = ({ emit, props, state, constants }) => (value) => {
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
+
const directEmitChange = ({ emit, props, state }) => (value, key) => {
|
|
194
|
+
if (state.device === "mb" && props.multiple)
|
|
195
|
+
return;
|
|
196
|
+
emit("change", value, key);
|
|
197
|
+
};
|
|
193
198
|
const clearNoMatchValue = ({ props, emit }) => (newModelValue) => {
|
|
194
199
|
if (!props.clearNoMatchValue) {
|
|
195
200
|
return;
|
|
@@ -281,7 +286,7 @@ const setGridOrTreeSelected = ({ props, state, vm, isTree, api }) => {
|
|
|
281
286
|
}
|
|
282
287
|
const isRemote = state.filterOrSearch && props.remote && (typeof props.remoteMethod === "function" || typeof props.initQuery === "function");
|
|
283
288
|
const nestdata = isRemote ? state.remoteData : isTree ? api.getTreeData(state.treeData) : state.gridData;
|
|
284
|
-
const data = find(nestdata, (item) => props.modelValue
|
|
289
|
+
const data = find(nestdata, (item) => props.modelValue === item[props.valueField]);
|
|
285
290
|
if (isEmptyObject(data)) {
|
|
286
291
|
api.clearNoMatchValue("");
|
|
287
292
|
return;
|
|
@@ -322,7 +327,7 @@ const getPluginOption = ({ api, props, state }) => (value, isTree) => {
|
|
|
322
327
|
const isRemote = state.filterOrSearch && props.remote && (typeof props.remoteMethod === "function" || typeof props.initQuery === "function");
|
|
323
328
|
const { textField, valueField } = props;
|
|
324
329
|
const sourceData = isRemote ? state.remoteData : isTree ? api.getTreeData(state.treeData) : state.gridData;
|
|
325
|
-
const selNode = find(sourceData, (item) => item[valueField]
|
|
330
|
+
const selNode = find(sourceData, (item) => item[valueField] === value);
|
|
326
331
|
const items = [];
|
|
327
332
|
if (selNode) {
|
|
328
333
|
selNode.currentLabel = selNode[textField];
|
|
@@ -330,12 +335,21 @@ const getPluginOption = ({ api, props, state }) => (value, isTree) => {
|
|
|
330
335
|
}
|
|
331
336
|
return items;
|
|
332
337
|
};
|
|
333
|
-
const toggleCheckAll = ({ api,
|
|
338
|
+
const toggleCheckAll = ({ api, state }) => () => {
|
|
334
339
|
const getEnabledValues = (options) => {
|
|
335
340
|
let values = [];
|
|
336
341
|
for (let i = 0; i < options.length; i++) {
|
|
337
|
-
|
|
338
|
-
|
|
342
|
+
const isEnabled = !options[i].state.disabled && !options[i].state.groupDisabled;
|
|
343
|
+
const isRequired = options[i].required;
|
|
344
|
+
const isDisabledAndChecked = !isEnabled && options[i].state.selectCls === "checked-sur";
|
|
345
|
+
if (state.isSelectAll) {
|
|
346
|
+
if (isRequired || isDisabledAndChecked) {
|
|
347
|
+
values.push(options[i].value);
|
|
348
|
+
}
|
|
349
|
+
} else {
|
|
350
|
+
if (isEnabled || isRequired || isDisabledAndChecked) {
|
|
351
|
+
values.push(options[i].value);
|
|
352
|
+
}
|
|
339
353
|
}
|
|
340
354
|
}
|
|
341
355
|
return values;
|
|
@@ -347,22 +361,12 @@ const toggleCheckAll = ({ api, emit, state, props }) => () => {
|
|
|
347
361
|
const unchecked = state.options.filter((item) => !item.disabled && item.state.selectCls === "check");
|
|
348
362
|
unchecked.length ? value = getEnabledValues(state.options) : value = [];
|
|
349
363
|
} else if (state.selectCls === "checked-sur") {
|
|
350
|
-
value =
|
|
351
|
-
}
|
|
352
|
-
const requiredValue = [];
|
|
353
|
-
if (props.multiple) {
|
|
354
|
-
state.options.forEach((opt) => {
|
|
355
|
-
if (opt.required)
|
|
356
|
-
requiredValue.push(opt.value);
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
if (Array.isArray(value)) {
|
|
360
|
-
value = requiredValue.concat(value.filter((val) => !requiredValue.find((requireVal) => requireVal === val)));
|
|
364
|
+
value = getEnabledValues(state.options);
|
|
361
365
|
}
|
|
362
366
|
api.setSoftFocus();
|
|
363
367
|
state.isSilentBlur = true;
|
|
364
368
|
api.updateModelValue(value);
|
|
365
|
-
|
|
369
|
+
api.directEmitChange(value);
|
|
366
370
|
};
|
|
367
371
|
const resetFilter = ({ state, api }) => () => {
|
|
368
372
|
state.query = "";
|
|
@@ -396,16 +400,16 @@ const blur = ({ vm, state }) => () => {
|
|
|
396
400
|
(_a = vm.$refs.reference) == null ? void 0 : _a.blur();
|
|
397
401
|
};
|
|
398
402
|
const handleBlur = ({ constants, dispatch, emit, state }) => (event) => {
|
|
403
|
+
var _a;
|
|
399
404
|
clearTimeout(state.timer);
|
|
400
405
|
state.timer = setTimeout(() => {
|
|
401
|
-
var _a;
|
|
402
406
|
if (state.isSilentBlur) {
|
|
403
407
|
state.isSilentBlur = false;
|
|
404
408
|
} else {
|
|
405
409
|
emit("blur", event);
|
|
406
410
|
}
|
|
407
|
-
dispatch(constants.COMPONENT_NAME.FormItem, constants.EVENT_NAME.formBlur, (_a = event == null ? void 0 : event.target) == null ? void 0 : _a.value);
|
|
408
411
|
}, 200);
|
|
412
|
+
dispatch(constants.COMPONENT_NAME.FormItem, constants.EVENT_NAME.formBlur, (_a = event == null ? void 0 : event.target) == null ? void 0 : _a.value);
|
|
409
413
|
state.softFocus = false;
|
|
410
414
|
};
|
|
411
415
|
const handleClearClick = (api) => (event) => {
|
|
@@ -831,7 +835,7 @@ const calcOverFlow = ({ vm, props, state }) => (height) => {
|
|
|
831
835
|
} else {
|
|
832
836
|
for (let i = 1; i < tags.length; i++) {
|
|
833
837
|
let tx = tags[i].getBoundingClientRect().x;
|
|
834
|
-
if (tx
|
|
838
|
+
if (tx === x) {
|
|
835
839
|
state.overflow = i - 1;
|
|
836
840
|
break;
|
|
837
841
|
}
|
|
@@ -930,7 +934,7 @@ const toHide = ({ constants, state, props, vm, api, nextTick }) => () => {
|
|
|
930
934
|
);
|
|
931
935
|
} else {
|
|
932
936
|
vm.$refs.selectGrid.clearRadioRow();
|
|
933
|
-
vm.$refs.selectGrid.setRadioRow(find(fullData, (item) => props.modelValue
|
|
937
|
+
vm.$refs.selectGrid.setRadioRow(find(fullData, (item) => props.modelValue === item[props.valueField]));
|
|
934
938
|
}
|
|
935
939
|
if (state.filterOrSearch && typeof props.filterMethod === "function") {
|
|
936
940
|
vm.$refs.selectGrid.handleTableData(true);
|
|
@@ -1071,6 +1075,7 @@ const nodeCheckClick = ({ emit, props, state, api }) => (data, { checkedKeys, ch
|
|
|
1071
1075
|
state.selected = checkedNodes.filter((node) => {
|
|
1072
1076
|
node.currentLabel = node[props.textField];
|
|
1073
1077
|
node.value = node[props.valueField];
|
|
1078
|
+
return node;
|
|
1074
1079
|
});
|
|
1075
1080
|
api.updateModelValue(checkedKeys);
|
|
1076
1081
|
emit("change", checkedKeys, checkedNodes);
|
|
@@ -1150,7 +1155,7 @@ const buildRadioConfig = ({ props, state }) => () => {
|
|
|
1150
1155
|
const radioConfig = props.radioConfig;
|
|
1151
1156
|
return __spreadValues(__spreadValues({}, radioConfig), { checkRowKey, highlight });
|
|
1152
1157
|
};
|
|
1153
|
-
const onMouseenterNative = ({ state }) => (
|
|
1158
|
+
const onMouseenterNative = ({ state }) => () => {
|
|
1154
1159
|
state.inputHovering = true;
|
|
1155
1160
|
if (state.searchSingleCopy && state.selectedLabel) {
|
|
1156
1161
|
state.softFocus = true;
|
|
@@ -1199,7 +1204,7 @@ const calcCollapseTags = ({ state, vm }) => () => {
|
|
|
1199
1204
|
const collapseTagWidth = collapseTag && parseFloat(collapseTagContentWidth) + parseFloat(marginRight);
|
|
1200
1205
|
const tagList = Array.from(tags.querySelectorAll(".tiny-tag"));
|
|
1201
1206
|
let { total, dom, idx } = { total: collapseTagWidth, dom: null, idx: 0 };
|
|
1202
|
-
tagList.
|
|
1207
|
+
tagList.forEach((tag, index) => {
|
|
1203
1208
|
if (tag !== collapseTag) {
|
|
1204
1209
|
const { width: tagContentWidth, marginRight: marginRight2 } = tag && window.getComputedStyle(tag);
|
|
1205
1210
|
total += parseFloat(tagContentWidth) + parseFloat(marginRight2);
|
|
@@ -1521,8 +1526,8 @@ const watchShowClose = ({ nextTick, state, parent }) => () => {
|
|
|
1521
1526
|
}
|
|
1522
1527
|
});
|
|
1523
1528
|
};
|
|
1524
|
-
const computedGetIcon = ({ constants, designConfig, props }) => (
|
|
1525
|
-
return props.dropdownIcon || (designConfig == null ? void 0 : designConfig.icons[
|
|
1529
|
+
const computedGetIcon = ({ constants, designConfig, props }) => (iconKey = "dropdownIcon") => {
|
|
1530
|
+
return props.dropdownIcon || (designConfig == null ? void 0 : designConfig.icons[iconKey]) || (constants == null ? void 0 : constants.ICON_MAP[iconKey]);
|
|
1526
1531
|
};
|
|
1527
1532
|
const computedGetTagType = ({ designConfig, props }) => () => {
|
|
1528
1533
|
var _a;
|
|
@@ -1564,6 +1569,7 @@ export {
|
|
|
1564
1569
|
deletePrevTag,
|
|
1565
1570
|
deleteSelected,
|
|
1566
1571
|
deleteTag,
|
|
1572
|
+
directEmitChange,
|
|
1567
1573
|
doDestroy,
|
|
1568
1574
|
emitChange,
|
|
1569
1575
|
emptyText,
|
package/select/vue.js
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
scrollToOption,
|
|
23
23
|
handleMenuEnter,
|
|
24
24
|
emitChange,
|
|
25
|
+
directEmitChange,
|
|
25
26
|
getOption,
|
|
26
27
|
setSelected,
|
|
27
28
|
handleFocus,
|
|
@@ -213,7 +214,7 @@ const initStateAdd = ({ computed, props, api: api2, parent }) => ({
|
|
|
213
214
|
defaultCheckedKeys: [],
|
|
214
215
|
filterOrSearch: computed(() => props.filterable || props.searchable)
|
|
215
216
|
});
|
|
216
|
-
const initState = ({ reactive, computed, props, api: api2, emitter, parent, constants
|
|
217
|
+
const initState = ({ reactive, computed, props, api: api2, emitter, parent, constants }) => {
|
|
217
218
|
const stateAdd = initStateAdd({ computed, props, api: api2, parent });
|
|
218
219
|
const state = reactive(__spreadProps(__spreadValues({}, stateAdd), {
|
|
219
220
|
selectEmitter: emitter(),
|
|
@@ -246,7 +247,7 @@ const initState = ({ reactive, computed, props, api: api2, emitter, parent, cons
|
|
|
246
247
|
key: 0,
|
|
247
248
|
isSelectAll: computed(() => state.selectCls === "checked-sur"),
|
|
248
249
|
isHalfSelect: computed(() => state.selectCls === "halfselect"),
|
|
249
|
-
getIcon: computed(() => api2.computedGetIcon(
|
|
250
|
+
getIcon: computed(() => api2.computedGetIcon()),
|
|
250
251
|
getTagType: computed(() => api2.computedGetTagType()),
|
|
251
252
|
isShowDropdownIcon: computed(() => api2.computedShowDropdownIcon())
|
|
252
253
|
}));
|
|
@@ -277,7 +278,7 @@ const addApi = ({ api: api2, props, state, emit, constants, parent, nextTick, di
|
|
|
277
278
|
handleQueryChange: handleQueryChange({ api: api2, constants, nextTick, props, vm, state }),
|
|
278
279
|
handleOptionSelect: handleOptionSelect({ api: api2, nextTick, props, vm, state }),
|
|
279
280
|
getPluginOption: getPluginOption({ api: api2, props, state }),
|
|
280
|
-
toggleCheckAll: toggleCheckAll({ api: api2,
|
|
281
|
+
toggleCheckAll: toggleCheckAll({ api: api2, state }),
|
|
281
282
|
handleDebouncedQueryChange: handleDebouncedQueryChange({ state, api: api2 }),
|
|
282
283
|
debouncedQueryChange: debouncedQueryChange({ props, api: api2 }),
|
|
283
284
|
debouncedOnInputChange: debounce(state.debounce, () => {
|
|
@@ -328,6 +329,7 @@ const initApi = ({
|
|
|
328
329
|
getChildValue: getChildValue(),
|
|
329
330
|
getOption: getOption({ props, state }),
|
|
330
331
|
emitChange: emitChange({ emit, props, state, constants }),
|
|
332
|
+
directEmitChange: directEmitChange({ emit, props, state }),
|
|
331
333
|
toggleMenu: toggleMenu({ vm, state, props }),
|
|
332
334
|
showTip: showTip({ props, state, vm }),
|
|
333
335
|
onOptionDestroy: onOptionDestroy(state),
|
package/tree-menu/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__spreadValues
|
|
3
3
|
} from "../chunk-G2ADBYYC.js";
|
|
4
|
-
const initData = ({ state, props, service, api }) => () => {
|
|
4
|
+
const initData = ({ state, props, service, api }) => async () => {
|
|
5
5
|
if (props.data) {
|
|
6
6
|
state.data = props.data;
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
9
|
if (typeof service.getMenuDataSync === "function") {
|
|
10
|
-
const menuData = service.getMenuDataSync();
|
|
10
|
+
const menuData = await service.getMenuDataSync();
|
|
11
11
|
state.data = api.setMenuKey({ newData: [], menuData });
|
|
12
12
|
}
|
|
13
13
|
};
|
package/types/alert.type.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ declare const alertProps: {
|
|
|
76
76
|
type: BooleanConstructor;
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
|
-
customClass: (
|
|
79
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
80
80
|
offset: {
|
|
81
81
|
type: (StringConstructor | NumberConstructor)[];
|
|
82
82
|
default: number;
|
package/types/checkbox.type.d.ts
CHANGED
|
@@ -20,10 +20,10 @@ declare const checkboxProps: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
modelValue: {
|
|
23
|
-
type: (
|
|
23
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
24
24
|
};
|
|
25
25
|
label: {
|
|
26
|
-
type: (
|
|
26
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
indeterminate: BooleanConstructor;
|
|
@@ -40,7 +40,7 @@ declare const checkboxProps: {
|
|
|
40
40
|
border: BooleanConstructor;
|
|
41
41
|
size: StringConstructor;
|
|
42
42
|
text: StringConstructor;
|
|
43
|
-
customClass: (
|
|
43
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
44
44
|
validateEvent: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
package/types/collapse.type.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare const collapseProps: {
|
|
|
24
24
|
accordion: BooleanConstructor;
|
|
25
25
|
beforeClose: FunctionConstructor;
|
|
26
26
|
modelValue: {
|
|
27
|
-
type: (
|
|
27
|
+
type: (StringConstructor | ArrayConstructor | NumberConstructor)[];
|
|
28
28
|
default: () => never[];
|
|
29
29
|
};
|
|
30
30
|
tiny_mode: StringConstructor;
|
|
@@ -28,7 +28,7 @@ declare const $constants: {
|
|
|
28
28
|
};
|
|
29
29
|
declare const datePickerProps: {
|
|
30
30
|
type: {
|
|
31
|
-
type: PropType<"date" | "dates" | "
|
|
31
|
+
type: PropType<"date" | "dates" | "year" | "years" | "yearrange" | "month" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
_constants: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-
|
|
2
|
+
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-343e8c11.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-
|
|
2
|
+
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-d0fd42f3.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -138,7 +138,7 @@ declare const formItemProps: {
|
|
|
138
138
|
type: BooleanConstructor;
|
|
139
139
|
default: boolean;
|
|
140
140
|
};
|
|
141
|
-
rules: (
|
|
141
|
+
rules: (ObjectConstructor | ArrayConstructor)[];
|
|
142
142
|
showMessage: {
|
|
143
143
|
type: BooleanConstructor;
|
|
144
144
|
default: boolean;
|
package/types/form.type.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-
|
|
2
|
+
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-d0fd42f3.js';
|
|
3
3
|
import './shared.type.js';
|
package/types/pager.type.d.ts
CHANGED
package/types/popover.type.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ declare const popoverProps: {
|
|
|
67
67
|
maxHeight: {
|
|
68
68
|
type: (StringConstructor | NumberConstructor)[];
|
|
69
69
|
};
|
|
70
|
-
listData: (
|
|
70
|
+
listData: (ObjectConstructor | ArrayConstructor)[];
|
|
71
71
|
genArrowByHtml: {
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: () => boolean;
|
package/types/progress.type.d.ts
CHANGED
package/types/steps.type.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const stepsProps: {
|
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
|
-
data: (
|
|
17
|
+
data: (ObjectConstructor | ArrayConstructor)[];
|
|
18
18
|
space: (StringConstructor | NumberConstructor)[];
|
|
19
19
|
active: {
|
|
20
20
|
type: NumberConstructor;
|
package/types/switch.type.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ declare const switchProps: {
|
|
|
30
30
|
};
|
|
31
31
|
falseColor: StringConstructor;
|
|
32
32
|
falseValue: {
|
|
33
|
-
type: (
|
|
33
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
mini: {
|
|
@@ -38,7 +38,7 @@ declare const switchProps: {
|
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
40
|
modelValue: {
|
|
41
|
-
type: (
|
|
41
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
42
42
|
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
size: (StringConstructor | NumberConstructor)[];
|
|
@@ -48,7 +48,7 @@ declare const switchProps: {
|
|
|
48
48
|
};
|
|
49
49
|
trueColor: StringConstructor;
|
|
50
50
|
trueValue: {
|
|
51
|
-
type: (
|
|
51
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
54
|
beforeChange: FunctionConstructor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
|
-
import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-
|
|
3
|
+
import { I as IFileUploadVm, a as IFileUploadConstants } from './upload-list.type-343e8c11.js';
|
|
4
4
|
|
|
5
5
|
declare const UploadDraggerProps: {
|
|
6
6
|
disabled: BooleanConstructor;
|
|
7
|
-
customClass: (
|
|
7
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
8
8
|
tiny_mode: StringConstructor;
|
|
9
9
|
tiny_mode_root: BooleanConstructor;
|
|
10
10
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -322,7 +322,7 @@ declare const fileUploadProps: {
|
|
|
322
322
|
type: BooleanConstructor;
|
|
323
323
|
default: boolean;
|
|
324
324
|
};
|
|
325
|
-
customClass: (
|
|
325
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
326
326
|
hwh5: ObjectConstructor;
|
|
327
327
|
mode: {
|
|
328
328
|
type: StringConstructor;
|
|
@@ -644,7 +644,7 @@ declare const uploadProps: {
|
|
|
644
644
|
type: BooleanConstructor;
|
|
645
645
|
default: boolean;
|
|
646
646
|
};
|
|
647
|
-
customClass: (
|
|
647
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
648
648
|
handleTriggerClick: {
|
|
649
649
|
type: FunctionConstructor;
|
|
650
650
|
default: () => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-
|
|
2
|
+
export { H as IUploadListApi, J as IUploadListProps, K as IUploadListRenderlessParamUtils, L as IUploadListRenderlessParams, G as IUploadListState, M as IUploadListVideoParam } from './upload-list.type-343e8c11.js';
|
|
3
3
|
import './shared.type.js';
|
package/types/upload.type.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-
|
|
2
|
+
export { d as IUploadApi, i as IUploadFormData, k as IUploadOptionsOfHwh5, j as IUploadOptionsOfPost, e as IUploadProps, h as IUploadRenderlessOtherParams, f as IUploadRenderlessParamUtils, g as IUploadRenderlessParams, c as IUploadState, b as IUploadStateHeader } from './upload-list.type-343e8c11.js';
|
|
3
3
|
import './shared.type.js';
|