duck-vue-components 0.2.94 → 0.2.96
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/{controls-CuH40KCu.js → controls-BF01TOYx.js} +11 -5
- package/dist/{controls-BQlFJIgD.cjs → controls-CMcTUuF3.cjs} +11 -5
- package/dist/controls.cjs +1 -1
- package/dist/controls.d.cts +1 -1
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +1 -1
- package/dist/{index-CKbuWGbX.d.cts → index-BvKuioFU.d.cts} +6 -5
- package/dist/{index-BG2SKPFy.d.cts → index-CGLHDKsu.d.cts} +1 -1
- package/dist/{index-CmF1SlsJ.d.ts → index-CrjFXz2d.d.ts} +1 -1
- package/dist/{index-DsCTKLOZ.d.ts → index-D8nK_KjV.d.ts} +6 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/pages.cjs +1 -1
- package/dist/pages.d.cts +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +1 -1
- package/dist/stores.d.cts +1 -1
- package/dist/stores.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4510,6 +4510,9 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4510
4510
|
"faf3e6da-control.imgWidth ? (control.imgHeight ? control.imgWidth + \"px\" : control.imgWidth + \"px\") : \"var(--el-upload-list-picture-card-size, 148px)\"": _ctx.control.imgWidth ? _ctx.control.imgHeight ? _ctx.control.imgWidth + "px" : _ctx.control.imgWidth + "px" : "var(--el-upload-list-picture-card-size, 148px)",
|
|
4511
4511
|
"faf3e6da-control.imgWidth ? (control.imgHeight ? control.imgHeight + \"px\" : control.imgWidth + \"px\") : \"var(--el-upload-list-picture-card-size, 148px)\"": _ctx.control.imgWidth ? _ctx.control.imgHeight ? _ctx.control.imgHeight + "px" : _ctx.control.imgWidth + "px" : "var(--el-upload-list-picture-card-size, 148px)"
|
|
4512
4512
|
}));
|
|
4513
|
+
const config = inject("frameworkConfig");
|
|
4514
|
+
setBaseUrl(config.apiBaseUrl ? config.apiBaseUrl : "/");
|
|
4515
|
+
console.log("upload:Upload component received config:", config);
|
|
4513
4516
|
const props = __props;
|
|
4514
4517
|
const { fieldValue } = useFormValue("RwUpload", props.control);
|
|
4515
4518
|
const dialogShow = ref(false);
|
|
@@ -4650,11 +4653,14 @@ var upload_exports = /* @__PURE__ */ __exportAll({
|
|
|
4650
4653
|
initFile: () => initFile,
|
|
4651
4654
|
isEmpty: () => isEmpty,
|
|
4652
4655
|
removeUploadedFile: () => removeUploadedFile,
|
|
4656
|
+
setBaseUrl: () => setBaseUrl,
|
|
4653
4657
|
showUploadExceedMessage: () => showUploadExceedMessage,
|
|
4654
4658
|
validateUploadLimit: () => validateUploadLimit
|
|
4655
4659
|
});
|
|
4656
|
-
const
|
|
4657
|
-
|
|
4660
|
+
const baseUrl = ref("");
|
|
4661
|
+
function setBaseUrl(apiBaseUrl) {
|
|
4662
|
+
baseUrl.value = apiBaseUrl;
|
|
4663
|
+
}
|
|
4658
4664
|
const Template$15 = withInstall(upload_default);
|
|
4659
4665
|
function init$18(moduleName, name, options = {}) {
|
|
4660
4666
|
return {
|
|
@@ -4688,7 +4694,7 @@ const getUploadAccept = (fileType) => {
|
|
|
4688
4694
|
const removeUploadedFile = async (fileId, userType = "0") => {
|
|
4689
4695
|
try {
|
|
4690
4696
|
const endpoint = userType === "0" ? "?p=files&a=delUserFile" : "?p=files&a=delSiteFile";
|
|
4691
|
-
if ((await http.post(
|
|
4697
|
+
if ((await http.post(baseUrl.value + endpoint, { FileID: fileId }))?.status === 0) {
|
|
4692
4698
|
ElMessage.success("成功删除上传的文件");
|
|
4693
4699
|
return true;
|
|
4694
4700
|
} else {
|
|
@@ -4706,10 +4712,10 @@ const handleUploadError = (error, fileName) => {
|
|
|
4706
4712
|
ElMessage.error(`文件 ${fileName} 上传失败(${message})`);
|
|
4707
4713
|
};
|
|
4708
4714
|
const initFile = async (data) => {
|
|
4709
|
-
return http.post(
|
|
4715
|
+
return http.post(baseUrl.value + "?p=Files&a=getInitFile&apiName=Files/getInitFile", data);
|
|
4710
4716
|
};
|
|
4711
4717
|
const getFileList = async (data) => {
|
|
4712
|
-
return http.post(
|
|
4718
|
+
return http.post(baseUrl.value + "?p=Files&a=getFileList", data);
|
|
4713
4719
|
};
|
|
4714
4720
|
const isEmpty = (value) => {
|
|
4715
4721
|
if (value == null) return true;
|
|
@@ -4512,6 +4512,9 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
4512
4512
|
"faf3e6da-control.imgWidth ? (control.imgHeight ? control.imgWidth + \"px\" : control.imgWidth + \"px\") : \"var(--el-upload-list-picture-card-size, 148px)\"": _ctx.control.imgWidth ? _ctx.control.imgHeight ? _ctx.control.imgWidth + "px" : _ctx.control.imgWidth + "px" : "var(--el-upload-list-picture-card-size, 148px)",
|
|
4513
4513
|
"faf3e6da-control.imgWidth ? (control.imgHeight ? control.imgHeight + \"px\" : control.imgWidth + \"px\") : \"var(--el-upload-list-picture-card-size, 148px)\"": _ctx.control.imgWidth ? _ctx.control.imgHeight ? _ctx.control.imgHeight + "px" : _ctx.control.imgWidth + "px" : "var(--el-upload-list-picture-card-size, 148px)"
|
|
4514
4514
|
}));
|
|
4515
|
+
const config = (0, vue.inject)("frameworkConfig");
|
|
4516
|
+
setBaseUrl(config.apiBaseUrl ? config.apiBaseUrl : "/");
|
|
4517
|
+
console.log("upload:Upload component received config:", config);
|
|
4515
4518
|
const props = __props;
|
|
4516
4519
|
const { fieldValue } = require_hooks.useFormValue("RwUpload", props.control);
|
|
4517
4520
|
const dialogShow = (0, vue.ref)(false);
|
|
@@ -4652,11 +4655,14 @@ var upload_exports = /* @__PURE__ */ require_locale.__exportAll({
|
|
|
4652
4655
|
initFile: () => initFile,
|
|
4653
4656
|
isEmpty: () => isEmpty,
|
|
4654
4657
|
removeUploadedFile: () => removeUploadedFile,
|
|
4658
|
+
setBaseUrl: () => setBaseUrl,
|
|
4655
4659
|
showUploadExceedMessage: () => showUploadExceedMessage,
|
|
4656
4660
|
validateUploadLimit: () => validateUploadLimit
|
|
4657
4661
|
});
|
|
4658
|
-
const
|
|
4659
|
-
|
|
4662
|
+
const baseUrl = (0, vue.ref)("");
|
|
4663
|
+
function setBaseUrl(apiBaseUrl) {
|
|
4664
|
+
baseUrl.value = apiBaseUrl;
|
|
4665
|
+
}
|
|
4660
4666
|
const Template$15 = require_utils.withInstall(upload_default);
|
|
4661
4667
|
function init$18(moduleName, name, options = {}) {
|
|
4662
4668
|
return {
|
|
@@ -4690,7 +4696,7 @@ const getUploadAccept = (fileType) => {
|
|
|
4690
4696
|
const removeUploadedFile = async (fileId, userType = "0") => {
|
|
4691
4697
|
try {
|
|
4692
4698
|
const endpoint = userType === "0" ? "?p=files&a=delUserFile" : "?p=files&a=delSiteFile";
|
|
4693
|
-
if ((await require_utils.http.post(
|
|
4699
|
+
if ((await require_utils.http.post(baseUrl.value + endpoint, { FileID: fileId }))?.status === 0) {
|
|
4694
4700
|
element_plus.ElMessage.success("成功删除上传的文件");
|
|
4695
4701
|
return true;
|
|
4696
4702
|
} else {
|
|
@@ -4708,10 +4714,10 @@ const handleUploadError = (error, fileName) => {
|
|
|
4708
4714
|
element_plus.ElMessage.error(`文件 ${fileName} 上传失败(${message})`);
|
|
4709
4715
|
};
|
|
4710
4716
|
const initFile = async (data) => {
|
|
4711
|
-
return require_utils.http.post(
|
|
4717
|
+
return require_utils.http.post(baseUrl.value + "?p=Files&a=getInitFile&apiName=Files/getInitFile", data);
|
|
4712
4718
|
};
|
|
4713
4719
|
const getFileList = async (data) => {
|
|
4714
|
-
return require_utils.http.post(
|
|
4720
|
+
return require_utils.http.post(baseUrl.value + "?p=Files&a=getFileList", data);
|
|
4715
4721
|
};
|
|
4716
4722
|
const isEmpty = (value) => {
|
|
4717
4723
|
if (value == null) return true;
|
package/dist/controls.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_controls = require("./controls-
|
|
2
|
+
const require_controls = require("./controls-CMcTUuF3.cjs");
|
|
3
3
|
Object.defineProperty(exports, "RwAffix", {
|
|
4
4
|
enumerable: true,
|
|
5
5
|
get: function() {
|
package/dist/controls.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as inputNumber_d_exports, B as autocomplete_d_exports, C as upload_d_exports, D as mergeSelect_d_exports, E as switch_d_exports, F as dialog_d_exports, H as alert_d_exports, I as buttonGroup_d_exports, L as dropdown_d_exports, M as select_d_exports, N as input_d_exports, O as mergeInput_d_exports, P as divider_d_exports, R as popconfirm_d_exports, S as tree_d_exports, T as slider_d_exports, U as affix_d_exports, V as avatar_d_exports, _ as table_d_exports, a as mTreeSTable_d_exports, b as image_d_exports, d as pageBase_d_exports, f as RwForm, g as segmented_d_exports, h as RwFormItems, i as progress_d_exports, j as inputTag_d_exports, k as radio_d_exports, l as pageStruct_d_exports, m as tabPane_d_exports, n as search_d_exports, o as pageTable_d_exports, p as tabs_d_exports, r as pagination_d_exports, s as pageForm_d_exports, u as tableStruct_d_exports, v as tagComp_d_exports, w as map_d_exports, x as text_d_exports, y as tag_d_exports, z as button_d_exports } from "./index-
|
|
1
|
+
import { A as inputNumber_d_exports, B as autocomplete_d_exports, C as upload_d_exports, D as mergeSelect_d_exports, E as switch_d_exports, F as dialog_d_exports, H as alert_d_exports, I as buttonGroup_d_exports, L as dropdown_d_exports, M as select_d_exports, N as input_d_exports, O as mergeInput_d_exports, P as divider_d_exports, R as popconfirm_d_exports, S as tree_d_exports, T as slider_d_exports, U as affix_d_exports, V as avatar_d_exports, _ as table_d_exports, a as mTreeSTable_d_exports, b as image_d_exports, d as pageBase_d_exports, f as RwForm, g as segmented_d_exports, h as RwFormItems, i as progress_d_exports, j as inputTag_d_exports, k as radio_d_exports, l as pageStruct_d_exports, m as tabPane_d_exports, n as search_d_exports, o as pageTable_d_exports, p as tabs_d_exports, r as pagination_d_exports, s as pageForm_d_exports, u as tableStruct_d_exports, v as tagComp_d_exports, w as map_d_exports, x as text_d_exports, y as tag_d_exports, z as button_d_exports } from "./index-BvKuioFU.cjs";
|
|
2
2
|
export { affix_d_exports as RwAffix, alert_d_exports as RwAlert, autocomplete_d_exports as RwAutocomplete, avatar_d_exports as RwAvatar, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, dialog_d_exports as RwDialog, divider_d_exports as RwDivider, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, progress_d_exports as RwProgress, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, tableStruct_d_exports as tableStruct };
|
package/dist/controls.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as inputNumber_d_exports, B as autocomplete_d_exports, C as upload_d_exports, D as mergeSelect_d_exports, E as switch_d_exports, F as dialog_d_exports, H as alert_d_exports, I as buttonGroup_d_exports, L as dropdown_d_exports, M as select_d_exports, N as input_d_exports, O as mergeInput_d_exports, P as divider_d_exports, R as popconfirm_d_exports, S as tree_d_exports, T as slider_d_exports, U as affix_d_exports, V as avatar_d_exports, _ as table_d_exports, a as mTreeSTable_d_exports, b as image_d_exports, d as pageBase_d_exports, f as RwForm, g as segmented_d_exports, h as RwFormItems, i as progress_d_exports, j as inputTag_d_exports, k as radio_d_exports, l as pageStruct_d_exports, m as tabPane_d_exports, n as search_d_exports, o as pageTable_d_exports, p as tabs_d_exports, r as pagination_d_exports, s as pageForm_d_exports, u as tableStruct_d_exports, v as tagComp_d_exports, w as map_d_exports, x as text_d_exports, y as tag_d_exports, z as button_d_exports } from "./index-
|
|
1
|
+
import { A as inputNumber_d_exports, B as autocomplete_d_exports, C as upload_d_exports, D as mergeSelect_d_exports, E as switch_d_exports, F as dialog_d_exports, H as alert_d_exports, I as buttonGroup_d_exports, L as dropdown_d_exports, M as select_d_exports, N as input_d_exports, O as mergeInput_d_exports, P as divider_d_exports, R as popconfirm_d_exports, S as tree_d_exports, T as slider_d_exports, U as affix_d_exports, V as avatar_d_exports, _ as table_d_exports, a as mTreeSTable_d_exports, b as image_d_exports, d as pageBase_d_exports, f as RwForm, g as segmented_d_exports, h as RwFormItems, i as progress_d_exports, j as inputTag_d_exports, k as radio_d_exports, l as pageStruct_d_exports, m as tabPane_d_exports, n as search_d_exports, o as pageTable_d_exports, p as tabs_d_exports, r as pagination_d_exports, s as pageForm_d_exports, u as tableStruct_d_exports, v as tagComp_d_exports, w as map_d_exports, x as text_d_exports, y as tag_d_exports, z as button_d_exports } from "./index-D8nK_KjV.js";
|
|
2
2
|
export { affix_d_exports as RwAffix, alert_d_exports as RwAlert, autocomplete_d_exports as RwAutocomplete, avatar_d_exports as RwAvatar, button_d_exports as RwButton, buttonGroup_d_exports as RwButtonGroup, dialog_d_exports as RwDialog, divider_d_exports as RwDivider, dropdown_d_exports as RwDropdown, RwForm, RwFormItems, image_d_exports as RwImage, input_d_exports as RwInput, inputNumber_d_exports as RwInputNumber, inputTag_d_exports as RwInputTag, mTreeSTable_d_exports as RwMTreeSTable, map_d_exports as RwMap, mergeInput_d_exports as RwMergeInput, mergeSelect_d_exports as RwMergeSelect, pageBase_d_exports as RwPageBase, pageForm_d_exports as RwPageForm, pageTable_d_exports as RwPageTable, pagination_d_exports as RwPagination, popconfirm_d_exports as RwPopconfirm, progress_d_exports as RwProgress, radio_d_exports as RwRadio, search_d_exports as RwSearch, segmented_d_exports as RwSegmented, select_d_exports as RwSelect, slider_d_exports as RwSlider, switch_d_exports as RwSwitch, tabPane_d_exports as RwTabPane, table_d_exports as RwTable, tabs_d_exports as RwTabs, tag_d_exports as RwTag, tagComp_d_exports as RwTagComp, text_d_exports as RwText, tree_d_exports as RwTree, upload_d_exports as RwUpload, pageStruct_d_exports as pageStruct, tableStruct_d_exports as tableStruct };
|
package/dist/controls.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as mergeInput_exports, B as popconfirm_exports, C as upload_exports, D as mergeSelect_exports, E as slider_exports, F as input_exports, G as alert_exports, I as divider_exports, K as affix_exports, L as dialog_exports, M as inputNumber_exports, N as inputTag_exports, O as image_exports, P as select_exports, R as buttonGroup_exports, S as tree_exports, T as map_exports, U as autocomplete_exports, V as button_exports, W as avatar_exports, _ as segmented_exports, a as pageTable_exports, b as tag_exports, d as pageBase_exports, f as RwForm, g as RwFormItems, h as tabPane_exports, i as mTreeSTable_exports, j as radio_exports, k as switch_exports, l as pageStruct_exports, m as tabs_exports, n as search_exports, r as progress_exports, s as pageForm_exports, u as tableStruct_exports, v as table_exports, w as pagination_exports, x as text_exports, y as tagComp_exports, z as dropdown_exports } from "./controls-
|
|
1
|
+
import { A as mergeInput_exports, B as popconfirm_exports, C as upload_exports, D as mergeSelect_exports, E as slider_exports, F as input_exports, G as alert_exports, I as divider_exports, K as affix_exports, L as dialog_exports, M as inputNumber_exports, N as inputTag_exports, O as image_exports, P as select_exports, R as buttonGroup_exports, S as tree_exports, T as map_exports, U as autocomplete_exports, V as button_exports, W as avatar_exports, _ as segmented_exports, a as pageTable_exports, b as tag_exports, d as pageBase_exports, f as RwForm, g as RwFormItems, h as tabPane_exports, i as mTreeSTable_exports, j as radio_exports, k as switch_exports, l as pageStruct_exports, m as tabs_exports, n as search_exports, r as progress_exports, s as pageForm_exports, u as tableStruct_exports, v as table_exports, w as pagination_exports, x as text_exports, y as tagComp_exports, z as dropdown_exports } from "./controls-BF01TOYx.js";
|
|
2
2
|
export { affix_exports as RwAffix, alert_exports as RwAlert, autocomplete_exports as RwAutocomplete, avatar_exports as RwAvatar, button_exports as RwButton, buttonGroup_exports as RwButtonGroup, dialog_exports as RwDialog, divider_exports as RwDivider, dropdown_exports as RwDropdown, RwForm, RwFormItems, image_exports as RwImage, input_exports as RwInput, inputNumber_exports as RwInputNumber, inputTag_exports as RwInputTag, mTreeSTable_exports as RwMTreeSTable, map_exports as RwMap, mergeInput_exports as RwMergeInput, mergeSelect_exports as RwMergeSelect, pageBase_exports as RwPageBase, pageForm_exports as RwPageForm, pageTable_exports as RwPageTable, pagination_exports as RwPagination, popconfirm_exports as RwPopconfirm, progress_exports as RwProgress, radio_exports as RwRadio, search_exports as RwSearch, segmented_exports as RwSegmented, select_exports as RwSelect, slider_exports as RwSlider, switch_exports as RwSwitch, tabPane_exports as RwTabPane, table_exports as RwTable, tabs_exports as RwTabs, tag_exports as RwTag, tagComp_exports as RwTagComp, text_exports as RwText, tree_exports as RwTree, upload_exports as RwUpload, pageStruct_exports as pageStruct, tableStruct_exports as tableStruct };
|
|
@@ -414,7 +414,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
414
414
|
$root: _$vue.ComponentPublicInstance | null;
|
|
415
415
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
416
416
|
$host: Element | null;
|
|
417
|
-
$emit: ((event: "
|
|
417
|
+
$emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
418
418
|
$el: any;
|
|
419
419
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
420
420
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -511,7 +511,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
511
511
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
512
512
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
513
513
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
514
|
-
}>, "
|
|
514
|
+
}>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
515
515
|
input: HTMLInputElement | undefined;
|
|
516
516
|
textarea: HTMLTextAreaElement | undefined;
|
|
517
517
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -596,7 +596,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
596
596
|
$root: _$vue.ComponentPublicInstance | null;
|
|
597
597
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
598
598
|
$host: Element | null;
|
|
599
|
-
$emit: ((event: "
|
|
599
|
+
$emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
600
600
|
$el: any;
|
|
601
601
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
602
602
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -693,7 +693,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
693
693
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
694
694
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
695
695
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
696
|
-
}>, "
|
|
696
|
+
}>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
697
697
|
input: HTMLInputElement | undefined;
|
|
698
698
|
textarea: HTMLTextAreaElement | undefined;
|
|
699
699
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -1190,8 +1190,9 @@ declare const __VLS_export$17: _$vue.DefineComponent<Props$1, {}, {}, {}, {}, _$
|
|
|
1190
1190
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1191
1191
|
declare const _default$13: typeof __VLS_export$17;
|
|
1192
1192
|
declare namespace upload_d_exports {
|
|
1193
|
-
export { ApiResponse, Awaitable, FileData, FileTypeT, ImageTypeT, InitFileParams, MediaTypeT, Mutable, OptionT$21 as OptionT, Template$15 as Template, UploadFile$1 as UploadFile, UploadFiles, UploadTypeT, UploadUserFile, UserTypeT, getFileList, getUploadAccept, handleUploadError, init$20 as init, initFile, isEmpty, removeUploadedFile, showUploadExceedMessage, validateUploadLimit };
|
|
1193
|
+
export { ApiResponse, Awaitable, FileData, FileTypeT, ImageTypeT, InitFileParams, MediaTypeT, Mutable, OptionT$21 as OptionT, Template$15 as Template, UploadFile$1 as UploadFile, UploadFiles, UploadTypeT, UploadUserFile, UserTypeT, getFileList, getUploadAccept, handleUploadError, init$20 as init, initFile, isEmpty, removeUploadedFile, setBaseUrl, showUploadExceedMessage, validateUploadLimit };
|
|
1194
1194
|
}
|
|
1195
|
+
declare function setBaseUrl(apiBaseUrl: string): void;
|
|
1195
1196
|
declare const Template$15: SFCWithInstall<typeof _default$13>;
|
|
1196
1197
|
type ImageTypeT = 'png' | 'jpg' | 'jpeg' | 'gif' | 'webp';
|
|
1197
1198
|
type FileTypeT = 'doc' | 'docx' | 'xls' | 'xlsx' | 'ppt' | 'pptx' | 'pdf' | 'txt' | 'zip' | 'rar';
|
|
@@ -44,7 +44,7 @@ declare const useColumnsSettingStore: _$pinia.StoreDefinition<"columnsSetting",
|
|
|
44
44
|
setOrderColumns: (moduleName: string, orderColumns: any[]) => void;
|
|
45
45
|
fieldsOrder: any;
|
|
46
46
|
setFieldsOrder: (moduleName: string, fieldsOrderArr: any) => void;
|
|
47
|
-
}, "
|
|
47
|
+
}, "getFromRemote" | "saveToRemote" | "fieldsOrder" | "isChecked" | "setItem" | "clearColumns" | "getColumns" | "tableOrderColumns" | "setOrderColumns" | "setFieldsOrder">>;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/packages/stores/appConfig.d.ts
|
|
50
50
|
type layoutT = 'ltb' | 'tlr' | 'tb' | 'tlmb' | 'ltmb' | 'lr';
|
|
@@ -44,7 +44,7 @@ declare const useColumnsSettingStore: _$pinia.StoreDefinition<"columnsSetting",
|
|
|
44
44
|
setOrderColumns: (moduleName: string, orderColumns: any[]) => void;
|
|
45
45
|
fieldsOrder: any;
|
|
46
46
|
setFieldsOrder: (moduleName: string, fieldsOrderArr: any) => void;
|
|
47
|
-
}, "
|
|
47
|
+
}, "getFromRemote" | "saveToRemote" | "fieldsOrder" | "isChecked" | "setItem" | "clearColumns" | "getColumns" | "tableOrderColumns" | "setOrderColumns" | "setFieldsOrder">>;
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/packages/stores/appConfig.d.ts
|
|
50
50
|
type layoutT = 'ltb' | 'tlr' | 'tb' | 'tlmb' | 'ltmb' | 'lr';
|
|
@@ -412,7 +412,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
412
412
|
$root: _$vue.ComponentPublicInstance | null;
|
|
413
413
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
414
414
|
$host: Element | null;
|
|
415
|
-
$emit: ((event: "
|
|
415
|
+
$emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
416
416
|
$el: any;
|
|
417
417
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
418
418
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -509,7 +509,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
509
509
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
510
510
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
511
511
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
512
|
-
}>, "
|
|
512
|
+
}>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
513
513
|
input: HTMLInputElement | undefined;
|
|
514
514
|
textarea: HTMLTextAreaElement | undefined;
|
|
515
515
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -594,7 +594,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
594
594
|
$root: _$vue.ComponentPublicInstance | null;
|
|
595
595
|
$parent: _$vue.ComponentPublicInstance | null;
|
|
596
596
|
$host: Element | null;
|
|
597
|
-
$emit: ((event: "
|
|
597
|
+
$emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "input", value: string) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
598
598
|
$el: any;
|
|
599
599
|
$options: _$vue.ComponentOptionsBase<Readonly<_$element_plus0.InputProps> & Readonly<{
|
|
600
600
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
@@ -691,7 +691,7 @@ declare const __VLS_base$14: _$vue.DefineComponent<__VLS_Props$23, {
|
|
|
691
691
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
692
692
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
693
693
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
694
|
-
}>, "
|
|
694
|
+
}>, "input" | "type" | "clear" | "modelValue" | "disabled" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textarea" | "ref" | "textareaStyle" | "isComposing" | "focus" | "blur" | "select" | "resizeTextarea"> & {
|
|
695
695
|
input: HTMLInputElement | undefined;
|
|
696
696
|
textarea: HTMLTextAreaElement | undefined;
|
|
697
697
|
ref: HTMLInputElement | HTMLTextAreaElement | undefined;
|
|
@@ -1188,8 +1188,9 @@ declare const __VLS_export$17: _$vue.DefineComponent<Props$1, {}, {}, {}, {}, _$
|
|
|
1188
1188
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1189
1189
|
declare const _default$13: typeof __VLS_export$17;
|
|
1190
1190
|
declare namespace upload_d_exports {
|
|
1191
|
-
export { ApiResponse, Awaitable, FileData, FileTypeT, ImageTypeT, InitFileParams, MediaTypeT, Mutable, OptionT$21 as OptionT, Template$15 as Template, UploadFile$1 as UploadFile, UploadFiles, UploadTypeT, UploadUserFile, UserTypeT, getFileList, getUploadAccept, handleUploadError, init$20 as init, initFile, isEmpty, removeUploadedFile, showUploadExceedMessage, validateUploadLimit };
|
|
1191
|
+
export { ApiResponse, Awaitable, FileData, FileTypeT, ImageTypeT, InitFileParams, MediaTypeT, Mutable, OptionT$21 as OptionT, Template$15 as Template, UploadFile$1 as UploadFile, UploadFiles, UploadTypeT, UploadUserFile, UserTypeT, getFileList, getUploadAccept, handleUploadError, init$20 as init, initFile, isEmpty, removeUploadedFile, setBaseUrl, showUploadExceedMessage, validateUploadLimit };
|
|
1192
1192
|
}
|
|
1193
|
+
declare function setBaseUrl(apiBaseUrl: string): void;
|
|
1193
1194
|
declare const Template$15: SFCWithInstall<typeof _default$13>;
|
|
1194
1195
|
type ImageTypeT = 'png' | 'jpg' | 'jpeg' | 'gif' | 'webp';
|
|
1195
1196
|
type FileTypeT = 'doc' | 'docx' | 'xls' | 'xlsx' | 'ppt' | 'pptx' | 'pdf' | 'txt' | 'zip' | 'rar';
|
package/dist/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
6
|
-
const require_controls = require("./controls-
|
|
6
|
+
const require_controls = require("./controls-CMcTUuF3.cjs");
|
|
7
7
|
require("element-plus/dist/index.css");
|
|
8
8
|
require("element-plus/theme-chalk/dark/css-vars.css");
|
|
9
9
|
let element_plus = require("element-plus");
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as FrameworkOptions } from "./index-BPQVuYZD.js";
|
|
2
|
-
import { t as index_d_exports } from "./index-
|
|
2
|
+
import { t as index_d_exports } from "./index-D8nK_KjV.js";
|
|
3
3
|
import * as _$vue from "vue";
|
|
4
4
|
export * from "element-plus";
|
|
5
5
|
export * from "pinia";
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as tw_default, f as en_default, p as cn_default } from "./locale-BscyDzS3.js";
|
|
2
|
-
import { t as controls_exports } from "./controls-
|
|
2
|
+
import { t as controls_exports } from "./controls-BF01TOYx.js";
|
|
3
3
|
import "element-plus/dist/index.css";
|
|
4
4
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
5
5
|
import ElementPlus from "element-plus";
|
package/dist/pages.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
3
3
|
const require_utils = require("./utils-CJUw1Ktb.cjs");
|
|
4
|
-
const require_controls = require("./controls-
|
|
4
|
+
const require_controls = require("./controls-CMcTUuF3.cjs");
|
|
5
5
|
const require_stores = require("./stores.cjs");
|
|
6
6
|
const require_hooks = require("./hooks.cjs");
|
|
7
7
|
let element_plus = require("element-plus");
|
package/dist/pages.d.cts
CHANGED
package/dist/pages.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { nn as SFCWithInstall } from "./index-DjM1ozxC.js";
|
|
2
|
-
import { c as OptionT$2 } from "./index-
|
|
2
|
+
import { c as OptionT$2 } from "./index-D8nK_KjV.js";
|
|
3
3
|
import * as _$vue from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/packages/pages/localSetting/localSetting.vue.d.ts
|
package/dist/pages.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
2
|
import { P as withInstall, u as useAppConfigStore } from "./utils-Cx01ubSA.js";
|
|
3
3
|
import { a as localeOptions, l as setLanguage, o as mergeLocaleMessage, u as t } from "./locale-BscyDzS3.js";
|
|
4
|
-
import { H as _plugin_vue_export_helper_default, c as init$2, g as RwFormItems, o as init, p as init$1, s as pageForm_exports } from "./controls-
|
|
4
|
+
import { H as _plugin_vue_export_helper_default, c as init$2, g as RwFormItems, o as init, p as init$1, s as pageForm_exports } from "./controls-BF01TOYx.js";
|
|
5
5
|
import { useLocalSettingStore } from "./stores.js";
|
|
6
6
|
import { useMouse } from "./hooks.js";
|
|
7
7
|
import { ElAlert, ElMessage } from "element-plus";
|
package/dist/stores.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as appConfigI, c as layoutI, d as mapI, f as mapTypeT, i as useLocalSettingStore, l as layoutT, m as useColumnsSettingStore, n as useErrorStore, o as chalkT, p as useAppConfigStore, r as LocalSettingState, s as expiresI, t as store, u as loginT } from "./index-
|
|
1
|
+
import { a as appConfigI, c as layoutI, d as mapI, f as mapTypeT, i as useLocalSettingStore, l as layoutT, m as useColumnsSettingStore, n as useErrorStore, o as chalkT, p as useAppConfigStore, r as LocalSettingState, s as expiresI, t as store, u as loginT } from "./index-CGLHDKsu.cjs";
|
|
2
2
|
export * from "pinia";
|
|
3
3
|
export { LocalSettingState, appConfigI, chalkT, expiresI, layoutI, layoutT, loginT, mapI, mapTypeT, store, useAppConfigStore, useColumnsSettingStore, useErrorStore, useLocalSettingStore };
|
package/dist/stores.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as appConfigI, c as layoutI, d as mapI, f as mapTypeT, i as useLocalSettingStore, l as layoutT, m as useColumnsSettingStore, n as useErrorStore, o as chalkT, p as useAppConfigStore, r as LocalSettingState, s as expiresI, t as store, u as loginT } from "./index-
|
|
1
|
+
import { a as appConfigI, c as layoutI, d as mapI, f as mapTypeT, i as useLocalSettingStore, l as layoutT, m as useColumnsSettingStore, n as useErrorStore, o as chalkT, p as useAppConfigStore, r as LocalSettingState, s as expiresI, t as store, u as loginT } from "./index-CrjFXz2d.js";
|
|
2
2
|
export * from "pinia";
|
|
3
3
|
export { LocalSettingState, appConfigI, chalkT, expiresI, layoutI, layoutT, loginT, mapI, mapTypeT, store, useAppConfigStore, useColumnsSettingStore, useErrorStore, useLocalSettingStore };
|
package/package.json
CHANGED