element-less 0.0.37 → 0.0.38
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/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +1 -1
- package/element-less.umd.cjs +1 -1
- package/elementui/form/index.d.ts +3 -3
- package/elementui/form/src/form.vue.d.ts +1 -1
- package/{index-COmfwsh9.js → index-BUnMAUGI.js} +21 -12
- package/index-B_2DpDzg.cjs +1 -0
- package/{inner-CMDHL7M_.cjs → inner-B2WCNbgc.cjs} +1 -1
- package/{inner-Fm8Kmq4p.js → inner-CDAbZqtI.js} +1 -1
- package/{innerItem-dKupLi5C.js → innerItem-BhDRJl1T.js} +1 -1
- package/{innerItem-Cu2Hd_rM.cjs → innerItem-zzdH06Mo.cjs} +1 -1
- package/{mode-csharp-D4oTLxO2.cjs → mode-csharp-CUIiuYMJ.cjs} +1 -1
- package/{mode-csharp-32iL7DHh.js → mode-csharp-KubfvzAu.js} +1 -1
- package/{mode-css-yzpzHUkh.cjs → mode-css-BTo0G1B0.cjs} +1 -1
- package/{mode-css-BrpOjcZ_.js → mode-css-DMiL-zyI.js} +1 -1
- package/{mode-javascript-BHzEvYqv.js → mode-javascript-Bmr95Wl-.js} +1 -1
- package/{mode-javascript-C9FcrQtq.cjs → mode-javascript-D_n8lDqx.cjs} +1 -1
- package/{mode-json-B2SagrEt.js → mode-json-Bfk4cMla.js} +1 -1
- package/{mode-json-DM9PZ7hE.cjs → mode-json-DBWbGBPa.cjs} +1 -1
- package/{mode-mysql-Dps5-Sqb.cjs → mode-mysql-BZujH6mQ.cjs} +1 -1
- package/{mode-mysql-BJLhipx4.js → mode-mysql-gDIwIu5c.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/index-BFgIOz4V.cjs +0 -1
|
@@ -43,7 +43,7 @@ export declare const ElsForm: import('element-plus/es/utils/index').SFCWithInsta
|
|
|
43
43
|
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
44
44
|
"onUpdate:isValidate"?: ((...args: any[]) => any) | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
save: (url
|
|
46
|
+
save: (url?: string) => Promise<unknown>;
|
|
47
47
|
clearValidate: () => void;
|
|
48
48
|
validateField: (fields: any) => any;
|
|
49
49
|
validate: () => Promise<unknown>;
|
|
@@ -158,7 +158,7 @@ export declare const ElsForm: import('element-plus/es/utils/index').SFCWithInsta
|
|
|
158
158
|
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
159
159
|
"onUpdate:isValidate"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
}, {
|
|
161
|
-
save: (url
|
|
161
|
+
save: (url?: string) => Promise<unknown>;
|
|
162
162
|
clearValidate: () => void;
|
|
163
163
|
validateField: (fields: any) => any;
|
|
164
164
|
validate: () => Promise<unknown>;
|
|
@@ -224,7 +224,7 @@ export declare const ElsForm: import('element-plus/es/utils/index').SFCWithInsta
|
|
|
224
224
|
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
225
225
|
"onUpdate:isValidate"?: ((...args: any[]) => any) | undefined;
|
|
226
226
|
}, {
|
|
227
|
-
save: (url
|
|
227
|
+
save: (url?: string) => Promise<unknown>;
|
|
228
228
|
clearValidate: () => void;
|
|
229
229
|
validateField: (fields: any) => any;
|
|
230
230
|
validate: () => Promise<unknown>;
|
|
@@ -7620,7 +7620,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
7620
7620
|
utils.removeArrayItem(elsPageStore.value.validates, validateStore);
|
|
7621
7621
|
}
|
|
7622
7622
|
});
|
|
7623
|
-
function saveData(url) {
|
|
7623
|
+
function saveData(url = "") {
|
|
7624
7624
|
return new Promise((resolve, reject) => {
|
|
7625
7625
|
let currSaveUrl = props.saveUrl ?? "";
|
|
7626
7626
|
if (!currSaveUrl) {
|
|
@@ -7774,7 +7774,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
|
|
|
7774
7774
|
};
|
|
7775
7775
|
}
|
|
7776
7776
|
});
|
|
7777
|
-
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$1W, [["__scopeId", "data-v-
|
|
7777
|
+
const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$1W, [["__scopeId", "data-v-fe97d4ab"]]);
|
|
7778
7778
|
const formProps = formProps$1;
|
|
7779
7779
|
const ElsForm = withInstall(Form);
|
|
7780
7780
|
const formQueryProps = buildProps({
|
|
@@ -37624,6 +37624,15 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
37624
37624
|
}
|
|
37625
37625
|
function elsMenuCommand(menu) {
|
|
37626
37626
|
return new Promise((resolve2, reject) => {
|
|
37627
|
+
const action = menu[$actionTypeField];
|
|
37628
|
+
if (typeof action === "function") {
|
|
37629
|
+
action(menu).then((res) => {
|
|
37630
|
+
resolve2({ menu, res });
|
|
37631
|
+
}).catch((err) => {
|
|
37632
|
+
reject(err);
|
|
37633
|
+
});
|
|
37634
|
+
return;
|
|
37635
|
+
}
|
|
37627
37636
|
switch (menu[$actionTypeField]) {
|
|
37628
37637
|
case "Save":
|
|
37629
37638
|
menu.IsLoading = true;
|
|
@@ -38428,7 +38437,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
38428
38437
|
emits: /* @__PURE__ */ mergeModels(["removeItem"], ["update:children"]),
|
|
38429
38438
|
setup(__props, { emit: __emit }) {
|
|
38430
38439
|
const DynamicDesignerInnerItem = defineAsyncComponent(() => {
|
|
38431
|
-
return import("./innerItem-
|
|
38440
|
+
return import("./innerItem-BhDRJl1T.js");
|
|
38432
38441
|
});
|
|
38433
38442
|
const { getValue: getValue2 } = useProps();
|
|
38434
38443
|
const tagID = getValue2("tagID");
|
|
@@ -39278,10 +39287,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
39278
39287
|
emits: ["update:modelValue"],
|
|
39279
39288
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39280
39289
|
const DynamicRenderInner = defineAsyncComponent(() => {
|
|
39281
|
-
return import("./inner-
|
|
39290
|
+
return import("./inner-CDAbZqtI.js").then((n) => n.i);
|
|
39282
39291
|
});
|
|
39283
39292
|
const DynamicRenderForm = defineAsyncComponent(() => {
|
|
39284
|
-
return import("./inner-
|
|
39293
|
+
return import("./inner-CDAbZqtI.js").then((n) => n.f);
|
|
39285
39294
|
});
|
|
39286
39295
|
const props = __props;
|
|
39287
39296
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -39511,10 +39520,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
39511
39520
|
emits: ["update:modelValue"],
|
|
39512
39521
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
39513
39522
|
const DynamicRenderInnerAsync = defineAsyncComponent(() => {
|
|
39514
|
-
return import("./inner-
|
|
39523
|
+
return import("./inner-CDAbZqtI.js").then((n) => n.i);
|
|
39515
39524
|
});
|
|
39516
39525
|
const DynamicRenderFormAsync = defineAsyncComponent(() => {
|
|
39517
|
-
return import("./inner-
|
|
39526
|
+
return import("./inner-CDAbZqtI.js").then((n) => n.f);
|
|
39518
39527
|
});
|
|
39519
39528
|
const props = __props;
|
|
39520
39529
|
const { getValue: getValue2, setValue, formNodeProps } = useProps(props);
|
|
@@ -44323,31 +44332,31 @@ let AceEditor$1 = class AceEditor extends TBaseFormItem {
|
|
|
44323
44332
|
__publicField(this, "editor", ref());
|
|
44324
44333
|
onMounted(() => {
|
|
44325
44334
|
if (props.language === "json") {
|
|
44326
|
-
const currModule = import("./mode-json-
|
|
44335
|
+
const currModule = import("./mode-json-Bfk4cMla.js").then((n) => n.m);
|
|
44327
44336
|
currModule.then((res) => {
|
|
44328
44337
|
ace.config.setModuleUrl("ace/mode/json", res);
|
|
44329
44338
|
this.init();
|
|
44330
44339
|
});
|
|
44331
44340
|
} else if (props.language === "javascript") {
|
|
44332
|
-
const currModule = import("./mode-javascript-
|
|
44341
|
+
const currModule = import("./mode-javascript-Bmr95Wl-.js").then((n) => n.m);
|
|
44333
44342
|
currModule.then((res) => {
|
|
44334
44343
|
ace.config.setModuleUrl("ace/mode/javascript", res);
|
|
44335
44344
|
this.init();
|
|
44336
44345
|
});
|
|
44337
44346
|
} else if (props.language === "csharp") {
|
|
44338
|
-
const currModule = import("./mode-csharp-
|
|
44347
|
+
const currModule = import("./mode-csharp-KubfvzAu.js").then((n) => n.m);
|
|
44339
44348
|
currModule.then((res) => {
|
|
44340
44349
|
ace.config.setModuleUrl("ace/mode/csharp", res);
|
|
44341
44350
|
this.init();
|
|
44342
44351
|
});
|
|
44343
44352
|
} else if (props.language === "mysql") {
|
|
44344
|
-
const currModule = import("./mode-mysql-
|
|
44353
|
+
const currModule = import("./mode-mysql-gDIwIu5c.js").then((n) => n.m);
|
|
44345
44354
|
currModule.then((res) => {
|
|
44346
44355
|
ace.config.setModuleUrl("ace/mode/mysql", res);
|
|
44347
44356
|
this.init();
|
|
44348
44357
|
});
|
|
44349
44358
|
} else if (props.language === "css") {
|
|
44350
|
-
const currModule = import("./mode-css-
|
|
44359
|
+
const currModule = import("./mode-css-DMiL-zyI.js").then((n) => n.m);
|
|
44351
44360
|
currModule.then((res) => {
|
|
44352
44361
|
ace.config.setModuleUrl("ace/mode/css", res);
|
|
44353
44362
|
this.init();
|