@yoooloo42/joker 1.0.31 → 1.0.32
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 +14 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +14 -14
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -39338,10 +39338,10 @@ var script$f = {
|
|
|
39338
39338
|
const props = __props;
|
|
39339
39339
|
|
|
39340
39340
|
const input = reactive({
|
|
39341
|
-
placeholder: computed(() =>
|
|
39341
|
+
placeholder: computed(() => {
|
|
39342
39342
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.input
|
|
39343
39343
|
}),
|
|
39344
|
-
showPassword: computed(()=>
|
|
39344
|
+
showPassword: computed(()=>{
|
|
39345
39345
|
return !!this.item.showPassword
|
|
39346
39346
|
}),
|
|
39347
39347
|
hdlCannotInput: event => { // 解决偶发不能输入的问题
|
|
@@ -39350,10 +39350,10 @@ const input = reactive({
|
|
|
39350
39350
|
});
|
|
39351
39351
|
|
|
39352
39352
|
const select = reactive({
|
|
39353
|
-
placeholder: computed(() =>
|
|
39353
|
+
placeholder: computed(() => {
|
|
39354
39354
|
return props.item.placeholder ? props.item.placeholder : props.myProps.placeholder.select
|
|
39355
39355
|
}),
|
|
39356
|
-
items: computed(()=>
|
|
39356
|
+
items: computed(()=>{
|
|
39357
39357
|
if (props.item.items) {
|
|
39358
39358
|
return props.item.items
|
|
39359
39359
|
} else if (props.item.hdlGetItems) {
|
|
@@ -39368,7 +39368,7 @@ const select = reactive({
|
|
|
39368
39368
|
});
|
|
39369
39369
|
|
|
39370
39370
|
const datePicker = reactive({
|
|
39371
|
-
placeholder: computed(()=>
|
|
39371
|
+
placeholder: computed(()=> {
|
|
39372
39372
|
if (props.item.placeholder) {
|
|
39373
39373
|
return props.item.placeholder
|
|
39374
39374
|
}
|
|
@@ -39380,7 +39380,7 @@ const datePicker = reactive({
|
|
|
39380
39380
|
}
|
|
39381
39381
|
return props.myProps.placeholder.datetime
|
|
39382
39382
|
}),
|
|
39383
|
-
format: computed(() =>
|
|
39383
|
+
format: computed(() => {
|
|
39384
39384
|
if (props.item.format) {
|
|
39385
39385
|
return props.item.format
|
|
39386
39386
|
}
|
|
@@ -39416,7 +39416,7 @@ const radioGroup = reactive({
|
|
|
39416
39416
|
});
|
|
39417
39417
|
|
|
39418
39418
|
const image = reactive({
|
|
39419
|
-
getSrc: computed(() =>
|
|
39419
|
+
getSrc: computed(() => {
|
|
39420
39420
|
if (
|
|
39421
39421
|
props.item.imageDelete &&
|
|
39422
39422
|
props.dataBox.fieldsValue[props.item.imageDelete] &&
|
|
@@ -39458,7 +39458,7 @@ const images = reactive({
|
|
|
39458
39458
|
return i !== itemImages
|
|
39459
39459
|
});
|
|
39460
39460
|
},
|
|
39461
|
-
show: computed(()=>
|
|
39461
|
+
show: computed(()=>{
|
|
39462
39462
|
let result = [];
|
|
39463
39463
|
if (!props.item.imageDelete) {
|
|
39464
39464
|
props.dataBox.fieldsValue[props.item.fieldName].forEach(i => {
|
|
@@ -39478,7 +39478,7 @@ const images = reactive({
|
|
|
39478
39478
|
});
|
|
39479
39479
|
|
|
39480
39480
|
const richtext = reactive({
|
|
39481
|
-
options: computed(()=>
|
|
39481
|
+
options: computed(()=>{
|
|
39482
39482
|
return {
|
|
39483
39483
|
action: props.dataBox.upload, // 必填参数 图片上传地址
|
|
39484
39484
|
methods: 'post', // 必填参数 图片上传方式
|
|
@@ -39491,7 +39491,7 @@ const richtext = reactive({
|
|
|
39491
39491
|
});
|
|
39492
39492
|
|
|
39493
39493
|
const video = reactive({
|
|
39494
|
-
src: computed(()=>
|
|
39494
|
+
src: computed(()=>{
|
|
39495
39495
|
if (
|
|
39496
39496
|
props.item.videoDelete &&
|
|
39497
39497
|
props.dataBox.fieldsValue[props.item.videoDelete] &&
|
|
@@ -39505,7 +39505,7 @@ const video = reactive({
|
|
|
39505
39505
|
}
|
|
39506
39506
|
return ''
|
|
39507
39507
|
}),
|
|
39508
|
-
poster: computed(()=>
|
|
39508
|
+
poster: computed(()=>{
|
|
39509
39509
|
if (
|
|
39510
39510
|
props.item.videoDelete &&
|
|
39511
39511
|
props.dataBox.fieldsValue[props.item.videoDelete] &&
|
|
@@ -39526,13 +39526,13 @@ const video = reactive({
|
|
|
39526
39526
|
});
|
|
39527
39527
|
|
|
39528
39528
|
const download = reactive({
|
|
39529
|
-
fileName: computed(() =>
|
|
39529
|
+
fileName: computed(() => {
|
|
39530
39530
|
if (props.item.downloadFileName) {
|
|
39531
39531
|
return props.item.downloadFileName
|
|
39532
39532
|
}
|
|
39533
39533
|
return props.myProps.download.fileName
|
|
39534
39534
|
}),
|
|
39535
|
-
downloadLabel: computed(() =>
|
|
39535
|
+
downloadLabel: computed(() => {
|
|
39536
39536
|
if (!props.dataBox.fieldsValue[props.item.fieldName]) {
|
|
39537
39537
|
return props.myProps.download.downloadLabelNoSrc
|
|
39538
39538
|
}
|
|
@@ -39541,7 +39541,7 @@ const download = reactive({
|
|
|
39541
39541
|
}
|
|
39542
39542
|
return props.myProps.download.downloadLabel
|
|
39543
39543
|
}),
|
|
39544
|
-
downloadSrc: computed(() =>
|
|
39544
|
+
downloadSrc: computed(() => {
|
|
39545
39545
|
if (props.dataBox.fieldsValue[props.item.fieldName]) {
|
|
39546
39546
|
return props.dataBox.fieldsValue[props.item.fieldName]
|
|
39547
39547
|
}
|