duck-vue-components 0.2.98 → 0.3.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/dist/{controls-DChLTdrs.js → controls-D9f-spZ0.js} +2 -2
- package/dist/{controls-Co4b80fK.cjs → controls-gNBoiGgL.cjs} +2 -2
- 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/hooks.cjs +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{index-Irx8VXt_.d.cts → index-CQu1oZ1O.d.cts} +4 -4
- package/dist/{index-D7J0bM92.d.ts → index-Dba0e0yB.d.ts} +4 -4
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/pages.cjs +2 -2
- package/dist/pages.d.cts +1 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +2 -2
- package/dist/stores.cjs +1 -1
- package/dist/stores.js +1 -1
- package/dist/{utils-CJUw1Ktb.cjs → utils-Cl3bl6VE.cjs} +1 -0
- package/dist/{utils-Cx01ubSA.js → utils-brs6QYsu.js} +1 -0
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
|
-
import { Et as isHTML, Lt as renderTemplate, P as withInstall, a as bd09ToGcj02, h as http, n as PathUtils, o as gcj02ToBd09, qt as loadScript, r as createFormData, s as exportExcel, t as FormDataKey, tt as assignmentData, u as useAppConfigStore, ut as transDataToString, xt as isComponent } from "./utils-
|
|
2
|
+
import { Et as isHTML, Lt as renderTemplate, P as withInstall, a as bd09ToGcj02, h as http, n as PathUtils, o as gcj02ToBd09, qt as loadScript, r as createFormData, s as exportExcel, t as FormDataKey, tt as assignmentData, u as useAppConfigStore, ut as transDataToString, xt as isComponent } from "./utils-brs6QYsu.js";
|
|
3
3
|
import { a as localeOptions, i as locale, t as i18n, u as t$3 } from "./locale-BscyDzS3.js";
|
|
4
4
|
import { useColumnsSettingStore, useLocalSettingStore } from "./stores.js";
|
|
5
5
|
import { useFormValue } from "./hooks.js";
|
|
@@ -3743,7 +3743,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
3743
3743
|
pageSize: pagination.pageSize,
|
|
3744
3744
|
page: pagination.page
|
|
3745
3745
|
};
|
|
3746
|
-
const response = await http.post("?p=Files&a=getFileList", searchParams);
|
|
3746
|
+
const response = await http.post(config?.apiBaseUrl + "?p=Files&a=getFileList", searchParams);
|
|
3747
3747
|
if (response.status === 0) {
|
|
3748
3748
|
rwFileList.value = response.data.rows || [];
|
|
3749
3749
|
pagination.total = response.data.total || 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
2
|
-
const require_utils = require("./utils-
|
|
2
|
+
const require_utils = require("./utils-Cl3bl6VE.cjs");
|
|
3
3
|
const require_stores = require("./stores.cjs");
|
|
4
4
|
const require_hooks = require("./hooks.cjs");
|
|
5
5
|
let element_plus = require("element-plus");
|
|
@@ -3745,7 +3745,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
|
|
|
3745
3745
|
pageSize: pagination.pageSize,
|
|
3746
3746
|
page: pagination.page
|
|
3747
3747
|
};
|
|
3748
|
-
const response = await require_utils.http.post("?p=Files&a=getFileList", searchParams);
|
|
3748
|
+
const response = await require_utils.http.post(config?.apiBaseUrl + "?p=Files&a=getFileList", searchParams);
|
|
3749
3749
|
if (response.status === 0) {
|
|
3750
3750
|
rwFileList.value = response.data.rows || [];
|
|
3751
3751
|
pagination.total = response.data.total || 0;
|
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-gNBoiGgL.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-CQu1oZ1O.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-Dba0e0yB.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-D9f-spZ0.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 };
|
package/dist/hooks.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("./locale-BTmar3YP.cjs");
|
|
3
|
-
const require_utils = require("./utils-
|
|
3
|
+
const require_utils = require("./utils-Cl3bl6VE.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#region src/packages/hooks/use-namespace/index.ts
|
|
6
6
|
const defaultNamespace = "el";
|
package/dist/hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as FormDataKey } from "./utils-
|
|
1
|
+
import { t as FormDataKey } from "./utils-brs6QYsu.js";
|
|
2
2
|
import { computed, getCurrentInstance, inject, onUnmounted, ref, unref } from "vue";
|
|
3
3
|
//#region src/packages/hooks/use-namespace/index.ts
|
|
4
4
|
const defaultNamespace = "el";
|
|
@@ -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;
|
|
@@ -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;
|
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-gNBoiGgL.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");
|
|
@@ -25,6 +25,7 @@ const makeInstaller = (components = []) => {
|
|
|
25
25
|
apiBaseUrl,
|
|
26
26
|
privateKey
|
|
27
27
|
});
|
|
28
|
+
app.config.globalProperties.$privateKey = privateKey;
|
|
28
29
|
components.forEach((component) => {
|
|
29
30
|
app.use(component);
|
|
30
31
|
});
|
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-Dba0e0yB.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-D9f-spZ0.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";
|
|
@@ -22,6 +22,7 @@ const makeInstaller = (components = []) => {
|
|
|
22
22
|
apiBaseUrl,
|
|
23
23
|
privateKey
|
|
24
24
|
});
|
|
25
|
+
app.config.globalProperties.$privateKey = privateKey;
|
|
25
26
|
components.forEach((component) => {
|
|
26
27
|
app.use(component);
|
|
27
28
|
});
|
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
|
-
const require_utils = require("./utils-
|
|
4
|
-
const require_controls = require("./controls-
|
|
3
|
+
const require_utils = require("./utils-Cl3bl6VE.cjs");
|
|
4
|
+
const require_controls = require("./controls-gNBoiGgL.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-Dba0e0yB.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
|
-
import { P as withInstall, u as useAppConfigStore } from "./utils-
|
|
2
|
+
import { P as withInstall, u as useAppConfigStore } from "./utils-brs6QYsu.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-D9f-spZ0.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.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_locale = require("./locale-BTmar3YP.cjs");
|
|
3
|
-
const require_utils = require("./utils-
|
|
3
|
+
const require_utils = require("./utils-Cl3bl6VE.cjs");
|
|
4
4
|
let element_plus = require("element-plus");
|
|
5
5
|
let pinia = require("pinia");
|
|
6
6
|
let _vueuse_core = require("@vueuse/core");
|
package/dist/stores.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as rwDecode, h as http, p as rwEncode, u as useAppConfigStore } from "./utils-
|
|
1
|
+
import { f as rwDecode, h as http, p as rwEncode, u as useAppConfigStore } from "./utils-brs6QYsu.js";
|
|
2
2
|
import { ElMessage } from "element-plus";
|
|
3
3
|
import { createPinia, defineStore } from "pinia";
|
|
4
4
|
import { useDark, useToggle } from "@vueuse/core";
|
|
@@ -959,6 +959,7 @@ const useHttp = () => http;
|
|
|
959
959
|
//#endregion
|
|
960
960
|
//#region src/packages/utils/encrypt.ts
|
|
961
961
|
const config = (0, vue.inject)("frameworkConfig");
|
|
962
|
+
console.log("Using frameworkConfig in encrypt.ts:", config);
|
|
962
963
|
function rwEncode(data, privateKey = config.privateKey || "") {
|
|
963
964
|
const dataString = JSON.stringify(data);
|
|
964
965
|
const keyHex = crypto_js.default.enc.Utf8.parse(privateKey);
|
|
@@ -955,6 +955,7 @@ const useHttp = () => http;
|
|
|
955
955
|
//#endregion
|
|
956
956
|
//#region src/packages/utils/encrypt.ts
|
|
957
957
|
const config = inject("frameworkConfig");
|
|
958
|
+
console.log("Using frameworkConfig in encrypt.ts:", config);
|
|
958
959
|
function rwEncode(data, privateKey = config.privateKey || "") {
|
|
959
960
|
const dataString = JSON.stringify(data);
|
|
960
961
|
const keyHex = CryptoJS.enc.Utf8.parse(privateKey);
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("./locale-BTmar3YP.cjs");
|
|
3
|
-
const require_utils = require("./utils-
|
|
3
|
+
const require_utils = require("./utils-Cl3bl6VE.cjs");
|
|
4
4
|
let _vue_shared = require("@vue/shared");
|
|
5
5
|
let lodash_unified = require("lodash-unified");
|
|
6
6
|
let _vueuse_core = require("@vueuse/core");
|
package/dist/utils.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as debugWarn, $t as isFocusable, A as buildProps, At as isPromise, B as getScrollContainer, Bt as getClientXY, C as toRawType, Ct as isElement, D as uniqueBy, Dt as isNumber, E as unique, Et as isHTML, F as withInstallDirective, Ft as isUndefined, G as addClass, Gt as isFirefox, H as getScrollTop, Ht as getOffsetTopDistance, I as withInstallFunction, It as isWindow, J as getStyle, Jt as composeEventHandlers, K as addUnit, Kt as isIOS, L as getElement, Lt as renderTemplate, M as epPropKey, Mt as isString, N as isEpProp, Nt as isStringNumber, O as uniqueByFn, Ot as isObject, P as withInstall, Pt as isSymbol, Q as setStyle, Qt as getSibling, R as animateScrollTo, Rt as stringToArray, S as NOOP, St as isDate, T as ensureArray, Tt as isFunction, U as isScroll, Ut as isInContainer, V as getScrollElement, Vt as getOffsetTop, W as scrollIntoView, Wt as isClient, X as removeClass, Xt as attemptFocus, Y as hasClass, Yt as whenMouse, Z as removeStyle, Zt as focusNode, _ as useHttp, _t as cAF, a as bd09ToGcj02, at as getProp, b as generateId, bt as isBoolean, c as exportExcelAll, ct as safeGet, d as md5, dt as validateObjectStructure, en as isLeaf, et as throwError, f as rwDecode, ft as camelize, g as initHttp, gt as kebabCase, h as http, ht as hyphenate, i as useFormField, it as entriesOf, j as definePropType, jt as isPropAbsent, k as buildProp, kt as isPlainObject, l as loadConfig, lt as safeSet, m as Http, mt as escapeStringRegexp, n as PathUtils, nn as obtainAllFocusableElements, nt as deepMerge, o as gcj02ToBd09, ot as hasOwn, p as rwEncode, pt as capitalize, q as classNameToArray, qt as loadScript, r as createFormData, rn as triggerEvent, rt as deepMergeInPlace, s as exportExcel, st as keysOf, t as FormDataKey, tn as isVisible, tt as assignmentData, ut as transDataToString, v as throttleByRaf, vt as rAF, w as castArray, wt as isEmpty, x as getRandomInt, xt as isComponent, y as mutable, yt as isArray, z as getScrollBarWidth, zt as easeInOutCubic } from "./utils-
|
|
1
|
+
import { $ as debugWarn, $t as isFocusable, A as buildProps, At as isPromise, B as getScrollContainer, Bt as getClientXY, C as toRawType, Ct as isElement, D as uniqueBy, Dt as isNumber, E as unique, Et as isHTML, F as withInstallDirective, Ft as isUndefined, G as addClass, Gt as isFirefox, H as getScrollTop, Ht as getOffsetTopDistance, I as withInstallFunction, It as isWindow, J as getStyle, Jt as composeEventHandlers, K as addUnit, Kt as isIOS, L as getElement, Lt as renderTemplate, M as epPropKey, Mt as isString, N as isEpProp, Nt as isStringNumber, O as uniqueByFn, Ot as isObject, P as withInstall, Pt as isSymbol, Q as setStyle, Qt as getSibling, R as animateScrollTo, Rt as stringToArray, S as NOOP, St as isDate, T as ensureArray, Tt as isFunction, U as isScroll, Ut as isInContainer, V as getScrollElement, Vt as getOffsetTop, W as scrollIntoView, Wt as isClient, X as removeClass, Xt as attemptFocus, Y as hasClass, Yt as whenMouse, Z as removeStyle, Zt as focusNode, _ as useHttp, _t as cAF, a as bd09ToGcj02, at as getProp, b as generateId, bt as isBoolean, c as exportExcelAll, ct as safeGet, d as md5, dt as validateObjectStructure, en as isLeaf, et as throwError, f as rwDecode, ft as camelize, g as initHttp, gt as kebabCase, h as http, ht as hyphenate, i as useFormField, it as entriesOf, j as definePropType, jt as isPropAbsent, k as buildProp, kt as isPlainObject, l as loadConfig, lt as safeSet, m as Http, mt as escapeStringRegexp, n as PathUtils, nn as obtainAllFocusableElements, nt as deepMerge, o as gcj02ToBd09, ot as hasOwn, p as rwEncode, pt as capitalize, q as classNameToArray, qt as loadScript, r as createFormData, rn as triggerEvent, rt as deepMergeInPlace, s as exportExcel, st as keysOf, t as FormDataKey, tn as isVisible, tt as assignmentData, ut as transDataToString, v as throttleByRaf, vt as rAF, w as castArray, wt as isEmpty, x as getRandomInt, xt as isComponent, y as mutable, yt as isArray, z as getScrollBarWidth, zt as easeInOutCubic } from "./utils-brs6QYsu.js";
|
|
2
2
|
export { FormDataKey, Http, NOOP, PathUtils, addClass, addUnit, animateScrollTo, assignmentData, attemptFocus, bd09ToGcj02, buildProp, buildProps, cAF, camelize, capitalize, castArray, classNameToArray, composeEventHandlers, createFormData, debugWarn, deepMerge, deepMergeInPlace, definePropType, easeInOutCubic, ensureArray, entriesOf, epPropKey, escapeStringRegexp, exportExcel, exportExcelAll, focusNode, gcj02ToBd09, generateId, getClientXY, getElement, getOffsetTop, getOffsetTopDistance, getProp, getRandomInt, getScrollBarWidth, getScrollContainer, getScrollElement, getScrollTop, getSibling, getStyle, hasClass, hasOwn, http, hyphenate, initHttp, isArray, isBoolean, isClient, isComponent, isDate, isElement, isEmpty, isEpProp, isFirefox, isFocusable, isFunction, isHTML, isIOS, isInContainer, isLeaf, isNumber, isObject, isPlainObject, isPromise, isPropAbsent, isScroll, isString, isStringNumber, isSymbol, isUndefined, isVisible, isWindow, kebabCase, keysOf, loadConfig, loadScript, md5, mutable, obtainAllFocusableElements, rAF, removeClass, removeStyle, renderTemplate, rwDecode, rwEncode, safeGet, safeSet, scrollIntoView, setStyle, stringToArray, throttleByRaf, throwError, toRawType, transDataToString, triggerEvent, unique, uniqueBy, uniqueByFn, useFormField, useHttp, validateObjectStructure, whenMouse, withInstall, withInstallDirective, withInstallFunction };
|
package/package.json
CHANGED