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