@opentiny/vue-renderless 3.23.0 → 3.24.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.
- package/dialog-select/index.js +4 -2
- package/dialog-select/vue.js +2 -2
- package/file-upload/index.js +30 -9
- package/package.json +3 -3
- package/qr-code/vue.js +1 -1
- package/select/index.js +2 -1
- package/types/action-menu.type.d.ts +1 -0
- package/types/action-sheet.type.d.ts +1 -0
- package/types/alert.type.d.ts +1 -0
- package/types/amount.type.d.ts +1 -0
- package/types/area.type.d.ts +1 -0
- package/types/async-flowchart.type.d.ts +1 -0
- package/types/autocomplete.type.d.ts +1 -0
- package/types/badge.type.d.ts +1 -0
- package/types/breadcrumb-item.type.d.ts +1 -0
- package/types/breadcrumb.type.d.ts +1 -0
- package/types/button-group.type.d.ts +1 -0
- package/types/button.type.d.ts +1 -0
- package/types/cascader.type.d.ts +1 -0
- package/types/checkbox.type.d.ts +1 -0
- package/types/collapse-item.type.d.ts +1 -0
- package/types/collapse.type.d.ts +1 -0
- package/types/dialog-box.type.d.ts +1 -0
- package/types/divider.type.d.ts +1 -0
- package/types/drawer.type.d.ts +1 -0
- package/types/{dropdown-item.type-c9badbc1.d.ts → dropdown-item.type-b3ced3ce.d.ts} +2 -0
- package/types/dropdown-item.type.d.ts +1 -1
- package/types/dropdown-menu.type.d.ts +1 -1
- package/types/dropdown.type.d.ts +1 -0
- package/types/fall-menu.type.d.ts +1 -0
- package/types/file-upload.type.d.ts +1 -1
- package/types/float-button.type.d.ts +1 -0
- package/types/floatbar.type.d.ts +1 -0
- package/types/form-item.type.d.ts +1 -1
- package/types/{form.type-4e0ec0a1.d.ts → form.type-dd403065.d.ts} +2 -0
- package/types/form.type.d.ts +1 -1
- package/types/image.type.d.ts +1 -0
- package/types/{index-a975a7a2.d.ts → index-cada95ca.d.ts} +2 -0
- package/types/input.type.d.ts +1 -0
- package/types/ip-address.type.d.ts +1 -0
- package/types/link.type.d.ts +1 -0
- package/types/load-list.type.d.ts +1 -0
- package/types/loading.type.d.ts +1 -0
- package/types/milestone.type.d.ts +1 -0
- package/types/mind-map.type.d.ts +1 -0
- package/types/modal.type.d.ts +1 -0
- package/types/nav-menu.type.d.ts +1 -0
- package/types/numeric.type.d.ts +1 -0
- package/types/pager.type.d.ts +1 -0
- package/types/popconfirm.type.d.ts +1 -0
- package/types/popeditor.type.d.ts +5 -0
- package/types/popover.type.d.ts +1 -0
- package/types/progress.type.d.ts +1 -0
- package/types/radio-button.type.d.ts +1 -0
- package/types/radio-group.type.d.ts +1 -0
- package/types/radio.type.d.ts +1 -0
- package/types/rate.type.d.ts +1 -0
- package/types/search.type.d.ts +1 -0
- package/types/skeleton-item.type.d.ts +1 -0
- package/types/skeleton.type.d.ts +1 -0
- package/types/slider.type.d.ts +1 -0
- package/types/statistic.type.d.ts +1 -0
- package/types/steps.type.d.ts +5 -0
- package/types/switch.type.d.ts +1 -0
- package/types/tab-bar.type.d.ts +1 -1
- package/types/tab-item.type.d.ts +1 -0
- package/types/tab-nav.type.d.ts +1 -1
- package/types/tabs.type.d.ts +1 -0
- package/types/tag-group.type.d.ts +1 -0
- package/types/tag.type.d.ts +1 -0
- package/types/{time-line.type-9fb16096.d.ts → time-line.type-ad280ca5.d.ts} +2 -0
- package/types/time-line.type.d.ts +1 -1
- package/types/timeline-item.type.d.ts +1 -1
- package/types/tooltip.type.d.ts +1 -0
- package/types/transfer.type.d.ts +1 -0
- package/types/tree-menu.type.d.ts +1 -0
- package/types/upload-dragger.type.d.ts +2 -1
- package/types/{upload-list.type-eaf82b7a.d.ts → upload-list.type-36a8374a.d.ts} +4 -1
- package/types/upload-list.type.d.ts +1 -1
- package/types/upload.type.d.ts +1 -1
- package/types/user-contact.type.d.ts +1 -0
- package/types/user-head.type.d.ts +3 -2
- package/types/wizard.type.d.ts +1 -0
package/dialog-select/index.js
CHANGED
|
@@ -119,7 +119,7 @@ const selectedBoxInit = ({ props, vm, nextTick }) => () => {
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
const selectedBoxClear = ({ props, state, vm }) => () => {
|
|
122
|
+
const selectedBoxClear = ({ props, state, vm, emit }) => () => {
|
|
123
123
|
const { multi, popseletor } = props;
|
|
124
124
|
if (multi && popseletor === "grid") {
|
|
125
125
|
vm.$refs.multiGrid.clearSelection();
|
|
@@ -130,6 +130,7 @@ const selectedBoxClear = ({ props, state, vm }) => () => {
|
|
|
130
130
|
state.selectedValues = [];
|
|
131
131
|
state.selectedDatas = [];
|
|
132
132
|
state.selectedChanged = true;
|
|
133
|
+
emit("clear");
|
|
133
134
|
};
|
|
134
135
|
const setTreeSelection = ({ api, state, vm, props }) => (keys, value) => {
|
|
135
136
|
const tree = vm.$refs.multiTree;
|
|
@@ -205,7 +206,7 @@ const setSelection = ({ props, api }) => (data, value) => {
|
|
|
205
206
|
}
|
|
206
207
|
};
|
|
207
208
|
const getSelection = ({ state }) => () => state.selectedDatas;
|
|
208
|
-
const selectedBoxDelete = ({ props, state, vm }) => ({ option: row }) => {
|
|
209
|
+
const selectedBoxDelete = ({ props, state, vm, emit }) => ({ option: row }) => {
|
|
209
210
|
const { multi, popseletor } = props;
|
|
210
211
|
if (multi && popseletor === "grid") {
|
|
211
212
|
vm.$refs.multiGrid.setSelection(
|
|
@@ -222,6 +223,7 @@ const selectedBoxDelete = ({ props, state, vm }) => ({ option: row }) => {
|
|
|
222
223
|
state.selectedDatas = [...state.selectedDatas.slice(0, index), ...state.selectedDatas.slice(index + 1)];
|
|
223
224
|
state.selectedChanged = true;
|
|
224
225
|
}
|
|
226
|
+
emit("delete", row);
|
|
225
227
|
};
|
|
226
228
|
const selectedBoxDrag = ({ props, state }) => ({ state: { select } }) => {
|
|
227
229
|
if (select && select.length) {
|
package/dialog-select/vue.js
CHANGED
|
@@ -92,8 +92,8 @@ const renderless = (props, { reactive, computed, watch }, { vm, nextTick, emit,
|
|
|
92
92
|
state,
|
|
93
93
|
computedGridColumns: computedGridColumns(props),
|
|
94
94
|
selectedBoxInit: selectedBoxInit({ props, vm, nextTick }),
|
|
95
|
-
selectedBoxClear: selectedBoxClear({ props, state, vm }),
|
|
96
|
-
selectedBoxDelete: selectedBoxDelete({ props, state, vm }),
|
|
95
|
+
selectedBoxClear: selectedBoxClear({ props, state, vm, emit }),
|
|
96
|
+
selectedBoxDelete: selectedBoxDelete({ props, state, vm, emit }),
|
|
97
97
|
selectedBoxDrag: selectedBoxDrag({ props, state }),
|
|
98
98
|
doMultiTreeFilter: doMultiTreeFilter({ props, state, nextTick, vm }),
|
|
99
99
|
multiTreeFilterNode: multiTreeFilterNode(props),
|
package/file-upload/index.js
CHANGED
|
@@ -133,6 +133,14 @@ const onBeforeIsPromise = ({
|
|
|
133
133
|
}
|
|
134
134
|
);
|
|
135
135
|
};
|
|
136
|
+
const isAcceptType = (acceptArray, file, constants, fileType) => {
|
|
137
|
+
return acceptArray.some((type) => {
|
|
138
|
+
if (type.toLowerCase() === constants.IMAGE_TYPE) {
|
|
139
|
+
return constants.FILE_TYPE.PICTURE.split("/").includes(fileType);
|
|
140
|
+
}
|
|
141
|
+
return new RegExp(`(${type.trim()})$`, "i").test(file.name);
|
|
142
|
+
});
|
|
143
|
+
};
|
|
136
144
|
const getFileType = ({ file }) => {
|
|
137
145
|
const { name, url } = file;
|
|
138
146
|
let fileType = "";
|
|
@@ -164,7 +172,7 @@ const beforeUpload = ({
|
|
|
164
172
|
constants,
|
|
165
173
|
t,
|
|
166
174
|
state
|
|
167
|
-
}) => (file, autoRemove, doUpload) => {
|
|
175
|
+
}) => (file, autoRemove, doUpload, isMergeUpload = false) => {
|
|
168
176
|
if (state.isEdm && file.name.length > 255) {
|
|
169
177
|
remove({ api, file, autoRemove });
|
|
170
178
|
return Modal.message({
|
|
@@ -176,15 +184,28 @@ const beforeUpload = ({
|
|
|
176
184
|
let isValid = true;
|
|
177
185
|
const accept = state.isEdm ? state.accept : props.accept;
|
|
178
186
|
const types = constants.FILE_TYPE[state.triggerClickType.toUpperCase()];
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
187
|
+
const acceptArray = accept ? accept.split(",") : [];
|
|
188
|
+
let fileType = "";
|
|
189
|
+
if (isMergeUpload) {
|
|
190
|
+
const fileRow = [];
|
|
191
|
+
fileType = file.raw.flatMap((f) => {
|
|
192
|
+
const type = getFileType({ file: f });
|
|
193
|
+
if (accept) {
|
|
194
|
+
const isExist = isAcceptType(acceptArray, f, constants, type);
|
|
195
|
+
isExist ? fileRow.push(f) : remove({ api, file: f, autoRemove });
|
|
184
196
|
}
|
|
185
|
-
return
|
|
197
|
+
return type;
|
|
186
198
|
});
|
|
187
|
-
|
|
199
|
+
if (!fileRow.length) {
|
|
200
|
+
isValid = false;
|
|
201
|
+
}
|
|
202
|
+
file.raw = fileRow;
|
|
203
|
+
} else {
|
|
204
|
+
fileType = getFileType({ file });
|
|
205
|
+
if (accept) {
|
|
206
|
+
const isExist = isAcceptType(acceptArray, file, constants, fileType);
|
|
207
|
+
!isExist && (isValid = false);
|
|
208
|
+
}
|
|
188
209
|
}
|
|
189
210
|
if (state.triggerClickType && types) {
|
|
190
211
|
const isExist = types.split("/").includes(fileType);
|
|
@@ -465,7 +486,7 @@ const handleStart = ({
|
|
|
465
486
|
if (!state.isEdm && props.autoUpload) {
|
|
466
487
|
if (props.multiple && props.mergeService) {
|
|
467
488
|
const handler = (file) => vm.$refs[constants.UPLOAD_INNER].$refs[constants.UPLOAD_INNER_TEMPLATE].upload(file.raw);
|
|
468
|
-
rawFiles.length && api.beforeUpload({ raw: rawFiles }, true, handler);
|
|
489
|
+
rawFiles.length && api.beforeUpload({ raw: rawFiles }, true, handler, true);
|
|
469
490
|
} else {
|
|
470
491
|
rawFiles.forEach((rawFile) => {
|
|
471
492
|
const file = api.getFile(rawFile);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-renderless",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.24.0",
|
|
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
|
"author": "OpenTiny Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
],
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/utils": "~3.
|
|
29
|
-
"@opentiny/vue-hooks": "~3.
|
|
28
|
+
"@opentiny/utils": "~3.24.0",
|
|
29
|
+
"@opentiny/vue-hooks": "~3.24.0",
|
|
30
30
|
"color": "4.2.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
package/qr-code/vue.js
CHANGED
|
@@ -17,7 +17,7 @@ const renderless = (props, { reactive, watch, onMounted }, { vm, emit }, { QRCod
|
|
|
17
17
|
api2.draw();
|
|
18
18
|
});
|
|
19
19
|
watch(
|
|
20
|
-
() => [props.level, props.value],
|
|
20
|
+
() => [props.level, props.value, props.color, props.style, props.size, props.icon, props.iconSize, props.bordered],
|
|
21
21
|
() => {
|
|
22
22
|
api2.draw();
|
|
23
23
|
api2.change();
|
package/select/index.js
CHANGED
|
@@ -621,7 +621,8 @@ const handleOptionSelect = ({ api, nextTick, props, vm, state }) => (option, byC
|
|
|
621
621
|
state.visible = false;
|
|
622
622
|
}
|
|
623
623
|
state.isSilentBlur = byClick;
|
|
624
|
-
|
|
624
|
+
if (!props.automaticDropdown)
|
|
625
|
+
api.setSoftFocus();
|
|
625
626
|
if (state.visible) {
|
|
626
627
|
return;
|
|
627
628
|
}
|
package/types/alert.type.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ declare const alertProps: {
|
|
|
100
100
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
101
101
|
tiny_renderless: FunctionConstructor;
|
|
102
102
|
tiny_theme: StringConstructor;
|
|
103
|
+
tiny_mcp_config: ObjectConstructor;
|
|
103
104
|
tiny_chart_theme: ObjectConstructor;
|
|
104
105
|
};
|
|
105
106
|
|
package/types/amount.type.d.ts
CHANGED
|
@@ -121,6 +121,7 @@ declare const amountProps: {
|
|
|
121
121
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
122
122
|
tiny_renderless: FunctionConstructor;
|
|
123
123
|
tiny_theme: StringConstructor;
|
|
124
|
+
tiny_mcp_config: ObjectConstructor;
|
|
124
125
|
tiny_chart_theme: ObjectConstructor;
|
|
125
126
|
};
|
|
126
127
|
|
package/types/area.type.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare const asyncFlowchartProps: {
|
|
|
12
12
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
13
13
|
tiny_renderless: FunctionConstructor;
|
|
14
14
|
tiny_theme: StringConstructor;
|
|
15
|
+
tiny_mcp_config: ObjectConstructor;
|
|
15
16
|
tiny_chart_theme: ObjectConstructor;
|
|
16
17
|
};
|
|
17
18
|
|
package/types/badge.type.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ declare const breadcrumbItemProps: {
|
|
|
21
21
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
22
22
|
tiny_renderless: FunctionConstructor;
|
|
23
23
|
tiny_theme: StringConstructor;
|
|
24
|
+
tiny_mcp_config: ObjectConstructor;
|
|
24
25
|
tiny_chart_theme: ObjectConstructor;
|
|
25
26
|
};
|
|
26
27
|
|
package/types/button.type.d.ts
CHANGED
package/types/cascader.type.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ declare const cascaderProps: {
|
|
|
98
98
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
99
99
|
tiny_renderless: FunctionConstructor;
|
|
100
100
|
tiny_theme: StringConstructor;
|
|
101
|
+
tiny_mcp_config: ObjectConstructor;
|
|
101
102
|
tiny_chart_theme: ObjectConstructor;
|
|
102
103
|
};
|
|
103
104
|
|
package/types/checkbox.type.d.ts
CHANGED
package/types/collapse.type.d.ts
CHANGED
|
@@ -143,6 +143,7 @@ declare const dialogBoxProps: {
|
|
|
143
143
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
144
144
|
tiny_renderless: FunctionConstructor;
|
|
145
145
|
tiny_theme: StringConstructor;
|
|
146
|
+
tiny_mcp_config: ObjectConstructor;
|
|
146
147
|
tiny_chart_theme: ObjectConstructor;
|
|
147
148
|
};
|
|
148
149
|
|
package/types/divider.type.d.ts
CHANGED
package/types/drawer.type.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ declare const dropdownItemProps: {
|
|
|
91
91
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
92
92
|
tiny_renderless: FunctionConstructor;
|
|
93
93
|
tiny_theme: StringConstructor;
|
|
94
|
+
tiny_mcp_config: ObjectConstructor;
|
|
94
95
|
tiny_chart_theme: ObjectConstructor;
|
|
95
96
|
};
|
|
96
97
|
|
|
@@ -164,6 +165,7 @@ declare const dropdownMenuProps: {
|
|
|
164
165
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
165
166
|
tiny_renderless: FunctionConstructor;
|
|
166
167
|
tiny_theme: StringConstructor;
|
|
168
|
+
tiny_mcp_config: ObjectConstructor;
|
|
167
169
|
tiny_chart_theme: ObjectConstructor;
|
|
168
170
|
};
|
|
169
171
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-
|
|
2
|
+
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-b3ced3ce.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import './dropdown.type.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-
|
|
2
|
+
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-b3ced3ce.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import './dropdown.type.js';
|
package/types/dropdown.type.d.ts
CHANGED
|
@@ -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-36a8374a.js';
|
|
3
3
|
import './shared.type.js';
|
package/types/floatbar.type.d.ts
CHANGED
|
@@ -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-dd403065.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -106,6 +106,7 @@ declare const formProps: {
|
|
|
106
106
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
107
107
|
tiny_renderless: FunctionConstructor;
|
|
108
108
|
tiny_theme: StringConstructor;
|
|
109
|
+
tiny_mcp_config: ObjectConstructor;
|
|
109
110
|
tiny_chart_theme: ObjectConstructor;
|
|
110
111
|
};
|
|
111
112
|
|
|
@@ -174,6 +175,7 @@ declare const formItemProps: {
|
|
|
174
175
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
175
176
|
tiny_renderless: FunctionConstructor;
|
|
176
177
|
tiny_theme: StringConstructor;
|
|
178
|
+
tiny_mcp_config: ObjectConstructor;
|
|
177
179
|
tiny_chart_theme: ObjectConstructor;
|
|
178
180
|
};
|
|
179
181
|
|
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-dd403065.js';
|
|
3
3
|
import './shared.type.js';
|
package/types/image.type.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const tabNavPcProps: {
|
|
|
39
39
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
40
40
|
tiny_renderless: FunctionConstructor;
|
|
41
41
|
tiny_theme: StringConstructor;
|
|
42
|
+
tiny_mcp_config: ObjectConstructor;
|
|
42
43
|
tiny_chart_theme: ObjectConstructor;
|
|
43
44
|
};
|
|
44
45
|
declare const tabBarProps: {
|
|
@@ -48,6 +49,7 @@ declare const tabBarProps: {
|
|
|
48
49
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
49
50
|
tiny_renderless: FunctionConstructor;
|
|
50
51
|
tiny_theme: StringConstructor;
|
|
52
|
+
tiny_mcp_config: ObjectConstructor;
|
|
51
53
|
tiny_chart_theme: ObjectConstructor;
|
|
52
54
|
};
|
|
53
55
|
|
package/types/input.type.d.ts
CHANGED
|
@@ -203,6 +203,7 @@ declare const inputProps: {
|
|
|
203
203
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
204
204
|
tiny_renderless: FunctionConstructor;
|
|
205
205
|
tiny_theme: StringConstructor;
|
|
206
|
+
tiny_mcp_config: ObjectConstructor;
|
|
206
207
|
tiny_chart_theme: ObjectConstructor;
|
|
207
208
|
};
|
|
208
209
|
|
package/types/link.type.d.ts
CHANGED
package/types/loading.type.d.ts
CHANGED
package/types/mind-map.type.d.ts
CHANGED
package/types/modal.type.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ declare const modalProps: {
|
|
|
149
149
|
tiny_mode_root: BooleanConstructor;
|
|
150
150
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
151
151
|
tiny_renderless: FunctionConstructor;
|
|
152
|
+
tiny_mcp_config: ObjectConstructor;
|
|
152
153
|
tiny_chart_theme: ObjectConstructor;
|
|
153
154
|
};
|
|
154
155
|
|
package/types/nav-menu.type.d.ts
CHANGED
package/types/numeric.type.d.ts
CHANGED
|
@@ -153,6 +153,7 @@ declare const numericProps: {
|
|
|
153
153
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
154
154
|
tiny_renderless: FunctionConstructor;
|
|
155
155
|
tiny_theme: StringConstructor;
|
|
156
|
+
tiny_mcp_config: ObjectConstructor;
|
|
156
157
|
tiny_chart_theme: ObjectConstructor;
|
|
157
158
|
};
|
|
158
159
|
|
package/types/pager.type.d.ts
CHANGED
|
@@ -186,6 +186,10 @@ declare const popeditorProps: {
|
|
|
186
186
|
type: BooleanConstructor;
|
|
187
187
|
default: boolean;
|
|
188
188
|
};
|
|
189
|
+
lockScroll: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
189
193
|
placement: {
|
|
190
194
|
type: StringConstructor;
|
|
191
195
|
default: string;
|
|
@@ -221,6 +225,7 @@ declare const popeditorProps: {
|
|
|
221
225
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
222
226
|
tiny_renderless: FunctionConstructor;
|
|
223
227
|
tiny_theme: StringConstructor;
|
|
228
|
+
tiny_mcp_config: ObjectConstructor;
|
|
224
229
|
tiny_chart_theme: ObjectConstructor;
|
|
225
230
|
};
|
|
226
231
|
|
package/types/popover.type.d.ts
CHANGED
package/types/progress.type.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ declare const progressProps: {
|
|
|
140
140
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
141
141
|
tiny_renderless: FunctionConstructor;
|
|
142
142
|
tiny_theme: StringConstructor;
|
|
143
|
+
tiny_mcp_config: ObjectConstructor;
|
|
143
144
|
tiny_chart_theme: ObjectConstructor;
|
|
144
145
|
};
|
|
145
146
|
|
package/types/radio.type.d.ts
CHANGED
package/types/rate.type.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ declare const rateProps: {
|
|
|
104
104
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
105
105
|
tiny_renderless: FunctionConstructor;
|
|
106
106
|
tiny_theme: StringConstructor;
|
|
107
|
+
tiny_mcp_config: ObjectConstructor;
|
|
107
108
|
tiny_chart_theme: ObjectConstructor;
|
|
108
109
|
};
|
|
109
110
|
|
package/types/search.type.d.ts
CHANGED
package/types/skeleton.type.d.ts
CHANGED
package/types/slider.type.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ declare const sliderProps: {
|
|
|
132
132
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
133
133
|
tiny_renderless: FunctionConstructor;
|
|
134
134
|
tiny_theme: StringConstructor;
|
|
135
|
+
tiny_mcp_config: ObjectConstructor;
|
|
135
136
|
tiny_chart_theme: ObjectConstructor;
|
|
136
137
|
};
|
|
137
138
|
|
package/types/steps.type.d.ts
CHANGED
|
@@ -49,11 +49,16 @@ declare const stepsProps: {
|
|
|
49
49
|
noArrow: BooleanConstructor;
|
|
50
50
|
flex: BooleanConstructor;
|
|
51
51
|
contentCenter: BooleanConstructor;
|
|
52
|
+
itemStyle: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
52
56
|
tiny_mode: StringConstructor;
|
|
53
57
|
tiny_mode_root: BooleanConstructor;
|
|
54
58
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
55
59
|
tiny_renderless: FunctionConstructor;
|
|
56
60
|
tiny_theme: StringConstructor;
|
|
61
|
+
tiny_mcp_config: ObjectConstructor;
|
|
57
62
|
tiny_chart_theme: ObjectConstructor;
|
|
58
63
|
};
|
|
59
64
|
|
package/types/switch.type.d.ts
CHANGED
package/types/tab-bar.type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ITabsVm } from './tabs.type.js';
|
|
3
3
|
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
|
-
import { t as tabBarProps } from './index-
|
|
4
|
+
import { t as tabBarProps } from './index-cada95ca.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Copyright (c) 2022 - present TinyVue Authors.
|
package/types/tab-item.type.d.ts
CHANGED
package/types/tab-nav.type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { ITabsProps, ITabsVm } from './tabs.type.js';
|
|
3
3
|
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
|
-
import { a as tabNavPcProps } from './index-
|
|
4
|
+
import { a as tabNavPcProps } from './index-cada95ca.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Copyright (c) 2022 - present TinyVue Authors.
|
package/types/tabs.type.d.ts
CHANGED
package/types/tag.type.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ declare const timelineProps: {
|
|
|
114
114
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
115
115
|
tiny_renderless: FunctionConstructor;
|
|
116
116
|
tiny_theme: StringConstructor;
|
|
117
|
+
tiny_mcp_config: ObjectConstructor;
|
|
117
118
|
tiny_chart_theme: ObjectConstructor;
|
|
118
119
|
};
|
|
119
120
|
|
|
@@ -176,6 +177,7 @@ declare const timelineItemProps: {
|
|
|
176
177
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
177
178
|
tiny_renderless: FunctionConstructor;
|
|
178
179
|
tiny_theme: StringConstructor;
|
|
180
|
+
tiny_mcp_config: ObjectConstructor;
|
|
179
181
|
tiny_chart_theme: ObjectConstructor;
|
|
180
182
|
};
|
|
181
183
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-
|
|
2
|
+
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-ad280ca5.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-
|
|
2
|
+
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-ad280ca5.js';
|
|
3
3
|
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
package/types/tooltip.type.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ declare const tooltipProps: {
|
|
|
106
106
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
107
107
|
tiny_renderless: FunctionConstructor;
|
|
108
108
|
tiny_theme: StringConstructor;
|
|
109
|
+
tiny_mcp_config: ObjectConstructor;
|
|
109
110
|
tiny_chart_theme: ObjectConstructor;
|
|
110
111
|
};
|
|
111
112
|
|
package/types/transfer.type.d.ts
CHANGED
|
@@ -101,6 +101,7 @@ declare const transferProps: {
|
|
|
101
101
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
102
102
|
tiny_renderless: FunctionConstructor;
|
|
103
103
|
tiny_theme: StringConstructor;
|
|
104
|
+
tiny_mcp_config: ObjectConstructor;
|
|
104
105
|
tiny_chart_theme: ObjectConstructor;
|
|
105
106
|
};
|
|
106
107
|
|
|
@@ -104,6 +104,7 @@ declare const treeMenuProps: {
|
|
|
104
104
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
105
105
|
tiny_renderless: FunctionConstructor;
|
|
106
106
|
tiny_theme: StringConstructor;
|
|
107
|
+
tiny_mcp_config: ObjectConstructor;
|
|
107
108
|
tiny_chart_theme: ObjectConstructor;
|
|
108
109
|
};
|
|
109
110
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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-36a8374a.js';
|
|
4
4
|
|
|
5
5
|
declare const UploadDraggerProps: {
|
|
6
6
|
disabled: BooleanConstructor;
|
|
@@ -10,6 +10,7 @@ declare const UploadDraggerProps: {
|
|
|
10
10
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
11
11
|
tiny_renderless: FunctionConstructor;
|
|
12
12
|
tiny_theme: StringConstructor;
|
|
13
|
+
tiny_mcp_config: ObjectConstructor;
|
|
13
14
|
tiny_chart_theme: ObjectConstructor;
|
|
14
15
|
};
|
|
15
16
|
|
|
@@ -386,6 +386,7 @@ declare const fileUploadProps: {
|
|
|
386
386
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
387
387
|
tiny_renderless: FunctionConstructor;
|
|
388
388
|
tiny_theme: StringConstructor;
|
|
389
|
+
tiny_mcp_config: ObjectConstructor;
|
|
389
390
|
tiny_chart_theme: ObjectConstructor;
|
|
390
391
|
};
|
|
391
392
|
|
|
@@ -406,7 +407,7 @@ declare const computedUploadDisabled: ({ props, state }: Pick<IFileUploadRenderl
|
|
|
406
407
|
declare const computedUploadingSize: ({ state, constants }: Pick<IFileUploadRenderlessParams, 'state' | 'constants'>) => () => number;
|
|
407
408
|
declare const watchListType: ({ constants, state, api }: Pick<IFileUploadRenderlessParams, 'constants' | 'state' | 'api'>) => (type: string) => void;
|
|
408
409
|
declare const watchFileList: ({ constants, state, props, api }: Pick<IFileUploadRenderlessParams, 'constants' | 'state' | 'props' | 'api'>) => (fileList: IFileUploadFile[]) => void;
|
|
409
|
-
declare const beforeUpload: ({ props, api, Modal, constants, t, state }: Pick<IFileUploadRenderlessParams, 'props' | 'api' | 'constants' | 't' | 'state'> & IFileUploadModalVm) => (file: IFileUploadFile, autoRemove: boolean, doUpload: Function) => any;
|
|
410
|
+
declare const beforeUpload: ({ props, api, Modal, constants, t, state }: Pick<IFileUploadRenderlessParams, 'props' | 'api' | 'constants' | 't' | 'state'> & IFileUploadModalVm) => (file: IFileUploadFile, autoRemove: boolean, doUpload: Function, isMergeUpload?: boolean) => any;
|
|
410
411
|
declare const startUpload: ({ state, constants, vm, Modal, api, t }: Pick<IFileUploadRenderlessParams, 'state' | 'constants' | 'vm' | 'api' | 't'> & IFileUploadModalVm) => (file: IFileUploadFile, isList: boolean) => void;
|
|
411
412
|
declare const properFileSize: ({ props, state, api, constants, Modal, t }: Pick<IFileUploadRenderlessParams, 'props' | 'state' | 'constants' | 'api' | 't'> & IFileUploadModalVm) => (file: IFileUploadFile) => boolean;
|
|
412
413
|
declare const addFileToList: ({ api, constants, emit, props, state, mode }: Pick<IFileUploadRenderlessParams, 'api' | 'constants' | 'emit' | 'props' | 'state' | 'mode'>) => (rawFile: IFileUploadFile, updateId: string, reUpload: boolean) => void;
|
|
@@ -696,6 +697,7 @@ declare const uploadProps: {
|
|
|
696
697
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
697
698
|
tiny_renderless: FunctionConstructor;
|
|
698
699
|
tiny_theme: StringConstructor;
|
|
700
|
+
tiny_mcp_config: ObjectConstructor;
|
|
699
701
|
tiny_chart_theme: ObjectConstructor;
|
|
700
702
|
};
|
|
701
703
|
|
|
@@ -1131,6 +1133,7 @@ declare const uploadListProps: {
|
|
|
1131
1133
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
1132
1134
|
tiny_renderless: FunctionConstructor;
|
|
1133
1135
|
tiny_theme: StringConstructor;
|
|
1136
|
+
tiny_mcp_config: ObjectConstructor;
|
|
1134
1137
|
tiny_chart_theme: ObjectConstructor;
|
|
1135
1138
|
};
|
|
1136
1139
|
|
|
@@ -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-36a8374a.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-36a8374a.js';
|
|
3
3
|
import './shared.type.js';
|
|
@@ -43,7 +43,7 @@ declare const userHeadProps: {
|
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* @property {String} - 头像资源
|
|
46
|
-
* type=icon
|
|
46
|
+
* type=icon 时为图标组件,type=label时为字体串,type=image时为资源路径
|
|
47
47
|
*/
|
|
48
48
|
value: {
|
|
49
49
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -51,7 +51,7 @@ declare const userHeadProps: {
|
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* @property {String} - 头像资源
|
|
54
|
-
* type=icon
|
|
54
|
+
* type=icon 时为图标组件,type=label时为字体串,type=image时为资源路径
|
|
55
55
|
*/
|
|
56
56
|
modelValue: {
|
|
57
57
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -85,6 +85,7 @@ declare const userHeadProps: {
|
|
|
85
85
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
86
86
|
tiny_renderless: FunctionConstructor;
|
|
87
87
|
tiny_theme: StringConstructor;
|
|
88
|
+
tiny_mcp_config: ObjectConstructor;
|
|
88
89
|
tiny_chart_theme: ObjectConstructor;
|
|
89
90
|
};
|
|
90
91
|
|
package/types/wizard.type.d.ts
CHANGED