@yoooloo42/joker 1.0.29 → 1.0.31
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/index.cjs.js +22 -22
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +22 -22
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -39341,7 +39341,7 @@ var script$f = {
|
|
|
39341
39341
|
|
|
39342
39342
|
const props = __props;
|
|
39343
39343
|
|
|
39344
|
-
const input = {
|
|
39344
|
+
const input = vue.reactive({
|
|
39345
39345
|
placeholder: vue.computed(() => () => {
|
|
39346
39346
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.input
|
|
39347
39347
|
}),
|
|
@@ -39351,9 +39351,9 @@ const input = {
|
|
|
39351
39351
|
hdlCannotInput: event => { // 解决偶发不能输入的问题
|
|
39352
39352
|
props.dataBox.fieldsValue[props.item.fieldName] = event.target.value;
|
|
39353
39353
|
}
|
|
39354
|
-
};
|
|
39354
|
+
});
|
|
39355
39355
|
|
|
39356
|
-
const select = {
|
|
39356
|
+
const select = vue.reactive({
|
|
39357
39357
|
placeholder: vue.computed(() => () => {
|
|
39358
39358
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.select
|
|
39359
39359
|
}),
|
|
@@ -39369,9 +39369,9 @@ const select = {
|
|
|
39369
39369
|
props.item.hdlChange(props.scopeThis, value);
|
|
39370
39370
|
}
|
|
39371
39371
|
}
|
|
39372
|
-
};
|
|
39372
|
+
});
|
|
39373
39373
|
|
|
39374
|
-
const datePicker = {
|
|
39374
|
+
const datePicker = vue.reactive({
|
|
39375
39375
|
placeholder: vue.computed(()=> () => {
|
|
39376
39376
|
if (props.item.placeholder) {
|
|
39377
39377
|
return props.item.placeholder
|
|
@@ -39401,25 +39401,25 @@ const datePicker = {
|
|
|
39401
39401
|
props.item.hdlChange(props.scopeThis, value);
|
|
39402
39402
|
}
|
|
39403
39403
|
}
|
|
39404
|
-
};
|
|
39404
|
+
});
|
|
39405
39405
|
|
|
39406
|
-
const ly0switch = {
|
|
39406
|
+
const ly0switch = vue.reactive({
|
|
39407
39407
|
hdlChange: value => {
|
|
39408
39408
|
if (props.item.hdlChange) {
|
|
39409
39409
|
props.item.hdlChange(props.scopeThis, value);
|
|
39410
39410
|
}
|
|
39411
39411
|
}
|
|
39412
|
-
};
|
|
39412
|
+
});
|
|
39413
39413
|
|
|
39414
|
-
const radioGroup = {
|
|
39414
|
+
const radioGroup = vue.reactive({
|
|
39415
39415
|
hdlChange: value => {
|
|
39416
39416
|
if (props.item.hdlChange) {
|
|
39417
39417
|
props.item.hdlChange(props.scopeThis, value);
|
|
39418
39418
|
}
|
|
39419
39419
|
}
|
|
39420
|
-
};
|
|
39420
|
+
});
|
|
39421
39421
|
|
|
39422
|
-
const image = {
|
|
39422
|
+
const image = vue.reactive({
|
|
39423
39423
|
getSrc: vue.computed(() => () => {
|
|
39424
39424
|
if (
|
|
39425
39425
|
props.item.imageDelete &&
|
|
@@ -39438,9 +39438,9 @@ const image = {
|
|
|
39438
39438
|
props.dataBox.fieldsValue[props.item.imageDelete] =
|
|
39439
39439
|
!props.dataBox.fieldsValue[props.item.imageDelete];
|
|
39440
39440
|
}
|
|
39441
|
-
};
|
|
39441
|
+
});
|
|
39442
39442
|
|
|
39443
|
-
const images = {
|
|
39443
|
+
const images = vue.reactive({
|
|
39444
39444
|
getSrc: (itemImages, indexImages) => {
|
|
39445
39445
|
if (
|
|
39446
39446
|
!props.item.imageDelete ||
|
|
@@ -39479,9 +39479,9 @@ const images = {
|
|
|
39479
39479
|
}
|
|
39480
39480
|
return result
|
|
39481
39481
|
})
|
|
39482
|
-
};
|
|
39482
|
+
});
|
|
39483
39483
|
|
|
39484
|
-
const richtext = {
|
|
39484
|
+
const richtext = vue.reactive({
|
|
39485
39485
|
options: vue.computed(()=>()=>{
|
|
39486
39486
|
return {
|
|
39487
39487
|
action: props.dataBox.upload, // 必填参数 图片上传地址
|
|
@@ -39492,9 +39492,9 @@ const richtext = {
|
|
|
39492
39492
|
// accept: 'multipart/form-data, image/png, image/gif, image/jpeg, image/bmp, image/x-icon,image/jpg' // 可选参数 可上传的图片格式
|
|
39493
39493
|
}
|
|
39494
39494
|
})
|
|
39495
|
-
};
|
|
39495
|
+
});
|
|
39496
39496
|
|
|
39497
|
-
const video = {
|
|
39497
|
+
const video = vue.reactive({
|
|
39498
39498
|
src: vue.computed(()=>()=>{
|
|
39499
39499
|
if (
|
|
39500
39500
|
props.item.videoDelete &&
|
|
@@ -39527,9 +39527,9 @@ const video = {
|
|
|
39527
39527
|
props.dataBox.fieldsValue[props.item.videoDelete] =
|
|
39528
39528
|
!props.dataBox.fieldsValue[props.item.videoDelete];
|
|
39529
39529
|
},
|
|
39530
|
-
};
|
|
39530
|
+
});
|
|
39531
39531
|
|
|
39532
|
-
const download = {
|
|
39532
|
+
const download = vue.reactive({
|
|
39533
39533
|
fileName: vue.computed(() => () => {
|
|
39534
39534
|
if (props.item.downloadFileName) {
|
|
39535
39535
|
return props.item.downloadFileName
|
|
@@ -39551,9 +39551,9 @@ const download = {
|
|
|
39551
39551
|
}
|
|
39552
39552
|
return ''
|
|
39553
39553
|
})
|
|
39554
|
-
};
|
|
39554
|
+
});
|
|
39555
39555
|
|
|
39556
|
-
const upload = {
|
|
39556
|
+
const upload = vue.reactive({
|
|
39557
39557
|
props: {
|
|
39558
39558
|
val: vue.computed(()=>{return {
|
|
39559
39559
|
uploadUrl: props.dataBox.upload
|
|
@@ -39590,7 +39590,7 @@ const upload = {
|
|
|
39590
39590
|
result.result && result.result.txt ? result.result.txt : '';
|
|
39591
39591
|
}
|
|
39592
39592
|
}
|
|
39593
|
-
};
|
|
39593
|
+
});
|
|
39594
39594
|
|
|
39595
39595
|
const style = vue.reactive({
|
|
39596
39596
|
box: styleModule.input.box,
|