@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.esm.js
CHANGED
|
@@ -39337,7 +39337,7 @@ var script$f = {
|
|
|
39337
39337
|
|
|
39338
39338
|
const props = __props;
|
|
39339
39339
|
|
|
39340
|
-
const input = {
|
|
39340
|
+
const input = reactive({
|
|
39341
39341
|
placeholder: computed(() => () => {
|
|
39342
39342
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.input
|
|
39343
39343
|
}),
|
|
@@ -39347,9 +39347,9 @@ const input = {
|
|
|
39347
39347
|
hdlCannotInput: event => { // 解决偶发不能输入的问题
|
|
39348
39348
|
props.dataBox.fieldsValue[props.item.fieldName] = event.target.value;
|
|
39349
39349
|
}
|
|
39350
|
-
};
|
|
39350
|
+
});
|
|
39351
39351
|
|
|
39352
|
-
const select = {
|
|
39352
|
+
const select = reactive({
|
|
39353
39353
|
placeholder: computed(() => () => {
|
|
39354
39354
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.select
|
|
39355
39355
|
}),
|
|
@@ -39365,9 +39365,9 @@ const select = {
|
|
|
39365
39365
|
props.item.hdlChange(props.scopeThis, value);
|
|
39366
39366
|
}
|
|
39367
39367
|
}
|
|
39368
|
-
};
|
|
39368
|
+
});
|
|
39369
39369
|
|
|
39370
|
-
const datePicker = {
|
|
39370
|
+
const datePicker = reactive({
|
|
39371
39371
|
placeholder: computed(()=> () => {
|
|
39372
39372
|
if (props.item.placeholder) {
|
|
39373
39373
|
return props.item.placeholder
|
|
@@ -39397,25 +39397,25 @@ const datePicker = {
|
|
|
39397
39397
|
props.item.hdlChange(props.scopeThis, value);
|
|
39398
39398
|
}
|
|
39399
39399
|
}
|
|
39400
|
-
};
|
|
39400
|
+
});
|
|
39401
39401
|
|
|
39402
|
-
const ly0switch = {
|
|
39402
|
+
const ly0switch = reactive({
|
|
39403
39403
|
hdlChange: value => {
|
|
39404
39404
|
if (props.item.hdlChange) {
|
|
39405
39405
|
props.item.hdlChange(props.scopeThis, value);
|
|
39406
39406
|
}
|
|
39407
39407
|
}
|
|
39408
|
-
};
|
|
39408
|
+
});
|
|
39409
39409
|
|
|
39410
|
-
const radioGroup = {
|
|
39410
|
+
const radioGroup = reactive({
|
|
39411
39411
|
hdlChange: value => {
|
|
39412
39412
|
if (props.item.hdlChange) {
|
|
39413
39413
|
props.item.hdlChange(props.scopeThis, value);
|
|
39414
39414
|
}
|
|
39415
39415
|
}
|
|
39416
|
-
};
|
|
39416
|
+
});
|
|
39417
39417
|
|
|
39418
|
-
const image = {
|
|
39418
|
+
const image = reactive({
|
|
39419
39419
|
getSrc: computed(() => () => {
|
|
39420
39420
|
if (
|
|
39421
39421
|
props.item.imageDelete &&
|
|
@@ -39434,9 +39434,9 @@ const image = {
|
|
|
39434
39434
|
props.dataBox.fieldsValue[props.item.imageDelete] =
|
|
39435
39435
|
!props.dataBox.fieldsValue[props.item.imageDelete];
|
|
39436
39436
|
}
|
|
39437
|
-
};
|
|
39437
|
+
});
|
|
39438
39438
|
|
|
39439
|
-
const images = {
|
|
39439
|
+
const images = reactive({
|
|
39440
39440
|
getSrc: (itemImages, indexImages) => {
|
|
39441
39441
|
if (
|
|
39442
39442
|
!props.item.imageDelete ||
|
|
@@ -39475,9 +39475,9 @@ const images = {
|
|
|
39475
39475
|
}
|
|
39476
39476
|
return result
|
|
39477
39477
|
})
|
|
39478
|
-
};
|
|
39478
|
+
});
|
|
39479
39479
|
|
|
39480
|
-
const richtext = {
|
|
39480
|
+
const richtext = reactive({
|
|
39481
39481
|
options: computed(()=>()=>{
|
|
39482
39482
|
return {
|
|
39483
39483
|
action: props.dataBox.upload, // 必填参数 图片上传地址
|
|
@@ -39488,9 +39488,9 @@ const richtext = {
|
|
|
39488
39488
|
// accept: 'multipart/form-data, image/png, image/gif, image/jpeg, image/bmp, image/x-icon,image/jpg' // 可选参数 可上传的图片格式
|
|
39489
39489
|
}
|
|
39490
39490
|
})
|
|
39491
|
-
};
|
|
39491
|
+
});
|
|
39492
39492
|
|
|
39493
|
-
const video = {
|
|
39493
|
+
const video = reactive({
|
|
39494
39494
|
src: computed(()=>()=>{
|
|
39495
39495
|
if (
|
|
39496
39496
|
props.item.videoDelete &&
|
|
@@ -39523,9 +39523,9 @@ const video = {
|
|
|
39523
39523
|
props.dataBox.fieldsValue[props.item.videoDelete] =
|
|
39524
39524
|
!props.dataBox.fieldsValue[props.item.videoDelete];
|
|
39525
39525
|
},
|
|
39526
|
-
};
|
|
39526
|
+
});
|
|
39527
39527
|
|
|
39528
|
-
const download = {
|
|
39528
|
+
const download = reactive({
|
|
39529
39529
|
fileName: computed(() => () => {
|
|
39530
39530
|
if (props.item.downloadFileName) {
|
|
39531
39531
|
return props.item.downloadFileName
|
|
@@ -39547,9 +39547,9 @@ const download = {
|
|
|
39547
39547
|
}
|
|
39548
39548
|
return ''
|
|
39549
39549
|
})
|
|
39550
|
-
};
|
|
39550
|
+
});
|
|
39551
39551
|
|
|
39552
|
-
const upload = {
|
|
39552
|
+
const upload = reactive({
|
|
39553
39553
|
props: {
|
|
39554
39554
|
val: computed(()=>{return {
|
|
39555
39555
|
uploadUrl: props.dataBox.upload
|
|
@@ -39586,7 +39586,7 @@ const upload = {
|
|
|
39586
39586
|
result.result && result.result.txt ? result.result.txt : '';
|
|
39587
39587
|
}
|
|
39588
39588
|
}
|
|
39589
|
-
};
|
|
39589
|
+
});
|
|
39590
39590
|
|
|
39591
39591
|
const style = reactive({
|
|
39592
39592
|
box: styleModule.input.box,
|