@zscreate/form-component 1.1.312 → 1.1.313
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/form-component.css +62 -62
- package/dist/form-component.umd.js +45 -14
- package/package.json +1 -1
package/dist/form-component.css
CHANGED
|
@@ -3459,46 +3459,46 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3459
3459
|
align-items: center;
|
|
3460
3460
|
}
|
|
3461
3461
|
|
|
3462
|
-
.t-border[data-v-
|
|
3462
|
+
.t-border[data-v-0c12552e] {
|
|
3463
3463
|
border-right: 1px solid #333;
|
|
3464
3464
|
border-bottom: 1px solid #333;
|
|
3465
3465
|
}
|
|
3466
|
-
[data-v-
|
|
3466
|
+
[data-v-0c12552e] * {
|
|
3467
3467
|
font-size: var(--paperFontSize);
|
|
3468
3468
|
}
|
|
3469
|
-
[data-v-
|
|
3469
|
+
[data-v-0c12552e] .custom_form_item {
|
|
3470
3470
|
height: -moz-fit-content;
|
|
3471
3471
|
height: fit-content;
|
|
3472
3472
|
}
|
|
3473
|
-
.save-pdf[data-v-
|
|
3473
|
+
.save-pdf[data-v-0c12552e] .ant-input {
|
|
3474
3474
|
border: none !important;
|
|
3475
3475
|
}
|
|
3476
|
-
.save-pdf[data-v-
|
|
3476
|
+
.save-pdf[data-v-0c12552e] .ant-select-selection {
|
|
3477
3477
|
border: none !important;
|
|
3478
3478
|
}
|
|
3479
|
-
.save-pdf[data-v-
|
|
3479
|
+
.save-pdf[data-v-0c12552e] .ant-select-arrow svg {
|
|
3480
3480
|
display: none;
|
|
3481
3481
|
}
|
|
3482
|
-
.save-pdf[data-v-
|
|
3482
|
+
.save-pdf[data-v-0c12552e] .ant-upload.ant-upload-select-picture-card {
|
|
3483
3483
|
display: none;
|
|
3484
3484
|
}
|
|
3485
|
-
.save-pdf[data-v-
|
|
3485
|
+
.save-pdf[data-v-0c12552e] .anticon svg {
|
|
3486
3486
|
display: none;
|
|
3487
3487
|
}
|
|
3488
|
-
.save-pdf[data-v-
|
|
3488
|
+
.save-pdf[data-v-0c12552e] .ant-time-picker-input {
|
|
3489
3489
|
border: none !important;
|
|
3490
3490
|
}
|
|
3491
|
-
.save-pdf[data-v-
|
|
3491
|
+
.save-pdf[data-v-0c12552e] .ant-upload.ant-upload-select {
|
|
3492
3492
|
display: none;
|
|
3493
3493
|
}
|
|
3494
3494
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3495
|
-
.computed-wrap[data-v-
|
|
3495
|
+
.computed-wrap[data-v-0c12552e] {
|
|
3496
3496
|
background: #f5f5f5;
|
|
3497
3497
|
}
|
|
3498
|
-
.computed-wrap .item[data-v-
|
|
3498
|
+
.computed-wrap .item[data-v-0c12552e] {
|
|
3499
3499
|
display: flex;
|
|
3500
3500
|
}
|
|
3501
|
-
.computed-wrap .item > div[data-v-
|
|
3501
|
+
.computed-wrap .item > div[data-v-0c12552e] {
|
|
3502
3502
|
height: 35px;
|
|
3503
3503
|
line-height: 35px;
|
|
3504
3504
|
flex: 1;
|
|
@@ -3506,129 +3506,129 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3506
3506
|
border-bottom: 1px solid #000;
|
|
3507
3507
|
text-align: center;
|
|
3508
3508
|
}
|
|
3509
|
-
.computed-wrap .item > div + div[data-v-
|
|
3509
|
+
.computed-wrap .item > div + div[data-v-0c12552e] {
|
|
3510
3510
|
flex: 2;
|
|
3511
3511
|
}
|
|
3512
|
-
.layout .paper[data-v-
|
|
3512
|
+
.layout .paper[data-v-0c12552e] {
|
|
3513
3513
|
position: relative;
|
|
3514
3514
|
}
|
|
3515
|
-
.layout .paper .form-title[data-v-
|
|
3515
|
+
.layout .paper .form-title[data-v-0c12552e] {
|
|
3516
3516
|
text-align: center;
|
|
3517
3517
|
font-weight: 600;
|
|
3518
3518
|
font-size: 16px;
|
|
3519
3519
|
height: 40px;
|
|
3520
3520
|
}
|
|
3521
|
-
.row-item[data-v-
|
|
3521
|
+
.row-item[data-v-0c12552e] {
|
|
3522
3522
|
height: -moz-fit-content;
|
|
3523
3523
|
height: fit-content;
|
|
3524
3524
|
/**打印非固定高度标签 高度不确定bug**/
|
|
3525
3525
|
}
|
|
3526
|
-
.no-row-item[data-v-
|
|
3526
|
+
.no-row-item[data-v-0c12552e] {
|
|
3527
3527
|
border-right: none;
|
|
3528
3528
|
border-bottom: none;
|
|
3529
3529
|
}
|
|
3530
3530
|
/****page边框内的 ***/
|
|
3531
|
-
.page-border[data-v-
|
|
3531
|
+
.page-border[data-v-0c12552e] {
|
|
3532
3532
|
background: #fff;
|
|
3533
3533
|
box-sizing: border-box;
|
|
3534
3534
|
}
|
|
3535
|
-
.page-border .row-item[data-v-
|
|
3535
|
+
.page-border .row-item[data-v-0c12552e]:first-child {
|
|
3536
3536
|
border-top: 1px solid #000;
|
|
3537
3537
|
}
|
|
3538
|
-
.page-border .row-item[data-v-
|
|
3538
|
+
.page-border .row-item[data-v-0c12552e] {
|
|
3539
3539
|
border-left: 1px solid #000;
|
|
3540
3540
|
}
|
|
3541
|
-
.page-border .item-bottom[data-v-
|
|
3541
|
+
.page-border .item-bottom[data-v-0c12552e] {
|
|
3542
3542
|
border-bottom: 1px solid #000;
|
|
3543
3543
|
}
|
|
3544
|
-
.page-border .row-item[data-v-
|
|
3544
|
+
.page-border .row-item[data-v-0c12552e]:not(:last-child) {
|
|
3545
3545
|
position: relative;
|
|
3546
3546
|
}
|
|
3547
|
-
.page-border li.sortable-chosen[data-v-
|
|
3547
|
+
.page-border li.sortable-chosen[data-v-0c12552e] {
|
|
3548
3548
|
height: 2px !important;
|
|
3549
3549
|
overflow: hidden !important;
|
|
3550
3550
|
background: red !important;
|
|
3551
3551
|
}
|
|
3552
|
-
.page-border .ant-time-picker-panel[data-v-
|
|
3552
|
+
.page-border .ant-time-picker-panel[data-v-0c12552e] {
|
|
3553
3553
|
z-index: 200000 !important;
|
|
3554
3554
|
}
|
|
3555
|
-
.page-border .ant-calendar-picker-container[data-v-
|
|
3555
|
+
.page-border .ant-calendar-picker-container[data-v-0c12552e] {
|
|
3556
3556
|
z-index: 200000 !important;
|
|
3557
3557
|
}
|
|
3558
|
-
[data-v-
|
|
3558
|
+
[data-v-0c12552e] .ant-time-picker-panel {
|
|
3559
3559
|
z-index: 9999 !important;
|
|
3560
3560
|
}
|
|
3561
|
-
.ant-calendar-picker-container[data-v-
|
|
3561
|
+
.ant-calendar-picker-container[data-v-0c12552e] {
|
|
3562
3562
|
z-index: 200000 !important;
|
|
3563
3563
|
}
|
|
3564
|
-
[data-v-
|
|
3564
|
+
[data-v-0c12552e] .ant-form-item-children {
|
|
3565
3565
|
display: block;
|
|
3566
3566
|
}
|
|
3567
|
-
[data-v-
|
|
3567
|
+
[data-v-0c12552e] .ant-form-item {
|
|
3568
3568
|
width: 100%;
|
|
3569
3569
|
height: 100%;
|
|
3570
3570
|
margin-bottom: 0;
|
|
3571
3571
|
display: flex;
|
|
3572
3572
|
}
|
|
3573
|
-
[data-v-
|
|
3573
|
+
[data-v-0c12552e] .ant-form-item .is_required::before {
|
|
3574
3574
|
content: "*";
|
|
3575
3575
|
color: #f56c6c;
|
|
3576
3576
|
margin-right: 4px;
|
|
3577
3577
|
}
|
|
3578
|
-
[data-v-
|
|
3578
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label {
|
|
3579
3579
|
border-right: 1px solid #000;
|
|
3580
3580
|
}
|
|
3581
|
-
[data-v-
|
|
3581
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label label {
|
|
3582
3582
|
display: flex;
|
|
3583
3583
|
justify-content: center;
|
|
3584
3584
|
align-items: center;
|
|
3585
3585
|
height: 100%;
|
|
3586
3586
|
}
|
|
3587
|
-
[data-v-
|
|
3587
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-label > label.ant-form-item-no-colon::after {
|
|
3588
3588
|
display: none;
|
|
3589
3589
|
}
|
|
3590
|
-
[data-v-
|
|
3590
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-control-wrapper {
|
|
3591
3591
|
display: flex;
|
|
3592
3592
|
align-items: center;
|
|
3593
3593
|
text-align: left;
|
|
3594
3594
|
}
|
|
3595
|
-
[data-v-
|
|
3595
|
+
[data-v-0c12552e] .ant-form-item .ant-form-item-control {
|
|
3596
3596
|
width: 98%;
|
|
3597
3597
|
margin: 0 auto;
|
|
3598
3598
|
}
|
|
3599
|
-
[data-v-
|
|
3599
|
+
[data-v-0c12552e] .ant-form-item .is_required::before {
|
|
3600
3600
|
content: "*";
|
|
3601
3601
|
color: #f56c6c;
|
|
3602
3602
|
margin-right: 4px;
|
|
3603
3603
|
}
|
|
3604
|
-
.row-table[data-v-
|
|
3604
|
+
.row-table[data-v-0c12552e] {
|
|
3605
3605
|
display: flex;
|
|
3606
3606
|
}
|
|
3607
|
-
.row-table[data-v-
|
|
3608
|
-
.row-table[data-v-
|
|
3607
|
+
.row-table[data-v-0c12552e] .ant-spin-container,
|
|
3608
|
+
.row-table[data-v-0c12552e] {
|
|
3609
3609
|
display: flex;
|
|
3610
3610
|
width: 100%;
|
|
3611
3611
|
}
|
|
3612
|
-
.row-table[data-v-
|
|
3613
|
-
.row-table .table-left[data-v-
|
|
3612
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-left,
|
|
3613
|
+
.row-table .table-left[data-v-0c12552e] {
|
|
3614
3614
|
width: 100px;
|
|
3615
3615
|
text-align: center;
|
|
3616
3616
|
border-right: 1px solid #333;
|
|
3617
3617
|
border-bottom: 1px solid #333;
|
|
3618
3618
|
position: relative;
|
|
3619
3619
|
}
|
|
3620
|
-
.row-table[data-v-
|
|
3621
|
-
.row-table .table-left p[data-v-
|
|
3620
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-left p,
|
|
3621
|
+
.row-table .table-left p[data-v-0c12552e] {
|
|
3622
3622
|
position: absolute;
|
|
3623
3623
|
top: 50%;
|
|
3624
3624
|
left: 50%;
|
|
3625
3625
|
transform: translate(-50%, -50%);
|
|
3626
3626
|
}
|
|
3627
|
-
.row-table[data-v-
|
|
3628
|
-
.row-table .table-right[data-v-
|
|
3627
|
+
.row-table[data-v-0c12552e] .ant-spin-container .table-right,
|
|
3628
|
+
.row-table .table-right[data-v-0c12552e] {
|
|
3629
3629
|
flex: 1;
|
|
3630
3630
|
}
|
|
3631
|
-
.table-content[data-v-
|
|
3631
|
+
.table-content[data-v-0c12552e] {
|
|
3632
3632
|
width: 100%;
|
|
3633
3633
|
height: 40px;
|
|
3634
3634
|
line-height: 40px;
|
|
@@ -3637,11 +3637,11 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3637
3637
|
border-bottom: 1px solid #333;
|
|
3638
3638
|
border-right: 1px solid #333;
|
|
3639
3639
|
}
|
|
3640
|
-
.sub-table-col[data-v-
|
|
3640
|
+
.sub-table-col[data-v-0c12552e] {
|
|
3641
3641
|
display: flex;
|
|
3642
3642
|
box-sizing: border-box;
|
|
3643
3643
|
}
|
|
3644
|
-
.sub-table-col > span[data-v-
|
|
3644
|
+
.sub-table-col > span[data-v-0c12552e] {
|
|
3645
3645
|
flex: 2;
|
|
3646
3646
|
border-bottom: 1px solid #000;
|
|
3647
3647
|
border-right: 1px solid #000;
|
|
@@ -3649,22 +3649,22 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3649
3649
|
line-height: 40px;
|
|
3650
3650
|
text-align: center;
|
|
3651
3651
|
}
|
|
3652
|
-
.sub-table-col > .last-one[data-v-
|
|
3652
|
+
.sub-table-col > .last-one[data-v-0c12552e] {
|
|
3653
3653
|
width: 87px;
|
|
3654
3654
|
flex: 0 0 87px;
|
|
3655
3655
|
border-right: 1px solid #333;
|
|
3656
3656
|
border-bottom: 1px solid #333;
|
|
3657
3657
|
}
|
|
3658
|
-
.sub-table-col-no-border > span[data-v-
|
|
3658
|
+
.sub-table-col-no-border > span[data-v-0c12552e] {
|
|
3659
3659
|
border: none;
|
|
3660
3660
|
height: auto;
|
|
3661
3661
|
width: 0;
|
|
3662
3662
|
}
|
|
3663
|
-
.sub-table-col-no-border > .sub-table-title[data-v-
|
|
3664
|
-
.sub-table-col-no-border > .sub-table-item[data-v-
|
|
3663
|
+
.sub-table-col-no-border > .sub-table-title[data-v-0c12552e]:last-child,
|
|
3664
|
+
.sub-table-col-no-border > .sub-table-item[data-v-0c12552e]:last-child {
|
|
3665
3665
|
border-right: none !important;
|
|
3666
3666
|
}
|
|
3667
|
-
.sub-table-col-no-border > .last-one[data-v-
|
|
3667
|
+
.sub-table-col-no-border > .last-one[data-v-0c12552e] {
|
|
3668
3668
|
width: 87px;
|
|
3669
3669
|
flex: 0 0 87px;
|
|
3670
3670
|
display: flex;
|
|
@@ -3672,33 +3672,33 @@ span.CodeMirror-selectedtext { background: none; }
|
|
|
3672
3672
|
align-items: center;
|
|
3673
3673
|
}
|
|
3674
3674
|
/*****无border *****/
|
|
3675
|
-
.no-border .page-border[data-v-
|
|
3675
|
+
.no-border .page-border[data-v-0c12552e] {
|
|
3676
3676
|
border: none;
|
|
3677
3677
|
}
|
|
3678
|
-
.no-border .page-border .row-item[data-v-
|
|
3678
|
+
.no-border .page-border .row-item[data-v-0c12552e]:not(:last-child) {
|
|
3679
3679
|
border: none;
|
|
3680
3680
|
}
|
|
3681
|
-
.no-border .page-border[data-v-
|
|
3681
|
+
.no-border .page-border[data-v-0c12552e] .ant-form-item .ant-form-item-label {
|
|
3682
3682
|
border: none;
|
|
3683
3683
|
}
|
|
3684
|
-
.table_border[data-v-
|
|
3684
|
+
.table_border[data-v-0c12552e] {
|
|
3685
3685
|
border-bottom: 0;
|
|
3686
3686
|
border-right: 0;
|
|
3687
3687
|
}
|
|
3688
3688
|
/*****无border *****/
|
|
3689
|
-
[data-v-
|
|
3689
|
+
[data-v-0c12552e] .ant-form-item-children > div > p,[data-v-0c12552e] .ant-form-item-children > div > h1,[data-v-0c12552e] .ant-form-item-children > div > h2,[data-v-0c12552e] .ant-form-item-children > div > h3,[data-v-0c12552e] .ant-form-item-children > div > h4,[data-v-0c12552e] .ant-form-item-children > div > h5,[data-v-0c12552e] .ant-form-item-children > div > table /deep/ .ant-form-item-children > div > pre {
|
|
3690
3690
|
margin: 10px 0;
|
|
3691
3691
|
line-height: 1.5;
|
|
3692
3692
|
}
|
|
3693
|
-
[data-v-
|
|
3693
|
+
[data-v-0c12552e] .ant-spin-dot {
|
|
3694
3694
|
font-size: 20px !important;
|
|
3695
3695
|
}
|
|
3696
|
-
.form_skeleton[data-v-
|
|
3696
|
+
.form_skeleton[data-v-0c12552e] {
|
|
3697
3697
|
display: block;
|
|
3698
3698
|
width: 700px;
|
|
3699
3699
|
margin: 55px auto;
|
|
3700
3700
|
}
|
|
3701
|
-
.form_skeleton[data-v-
|
|
3701
|
+
.form_skeleton[data-v-0c12552e] .ant-skeleton-title {
|
|
3702
3702
|
margin: 0 auto;
|
|
3703
3703
|
}
|
|
3704
3704
|
|
|
@@ -45969,6 +45969,10 @@ let getFileExt = filename => {
|
|
|
45969
45969
|
};
|
|
45970
45970
|
},
|
|
45971
45971
|
props: {
|
|
45972
|
+
isDesign: {
|
|
45973
|
+
type: Boolean,
|
|
45974
|
+
default: false
|
|
45975
|
+
},
|
|
45972
45976
|
showLayoutLoading: {
|
|
45973
45977
|
type: Boolean,
|
|
45974
45978
|
default: false
|
|
@@ -46168,6 +46172,7 @@ let getFileExt = filename => {
|
|
|
46168
46172
|
this.tableData[model] === undefined ? this.$set(this.tableData, model, []) : null;
|
|
46169
46173
|
const map = {};
|
|
46170
46174
|
if (addModel) {
|
|
46175
|
+
debugger;
|
|
46171
46176
|
let addModelObject = {};
|
|
46172
46177
|
dataTemp.columns.forEach(item => {
|
|
46173
46178
|
item.options.isCorrect = false;
|
|
@@ -46182,7 +46187,23 @@ let getFileExt = filename => {
|
|
|
46182
46187
|
if (!Array.isArray(this.models[model])) {
|
|
46183
46188
|
this.models[model] = [];
|
|
46184
46189
|
}
|
|
46190
|
+
const _cloneData = (0,_util_util__WEBPACK_IMPORTED_MODULE_12__/* .cloneObj */ .Cl)(addModelObject);
|
|
46185
46191
|
this.models[model].push(addModelObject);
|
|
46192
|
+
if (this.isDesign) {
|
|
46193
|
+
if (!this.destoryTable) this.destoryTable = [];
|
|
46194
|
+
this.destoryTable.push(() => {
|
|
46195
|
+
for (const key in _cloneData) {
|
|
46196
|
+
if (addModelObject.hasOwnProperty(key)) {
|
|
46197
|
+
const element = _cloneData[key];
|
|
46198
|
+
addModelObject[key] = element;
|
|
46199
|
+
}
|
|
46200
|
+
}
|
|
46201
|
+
});
|
|
46202
|
+
this.$on('hook:destroyed', () => {
|
|
46203
|
+
// addModelObject forin _cloneData
|
|
46204
|
+
this.destoryTable.forEach(func => func());
|
|
46205
|
+
});
|
|
46206
|
+
}
|
|
46186
46207
|
dataTemp.options.isCorrect = false;
|
|
46187
46208
|
} else {
|
|
46188
46209
|
dataTemp.options.isCorrect = true;
|
|
@@ -46342,6 +46363,15 @@ let getFileExt = filename => {
|
|
|
46342
46363
|
this.tableLoading = true;
|
|
46343
46364
|
let dataTemp = JSON.parse(JSON.stringify(this.tableModel[model]));
|
|
46344
46365
|
dataTemp._clone = true;
|
|
46366
|
+
if (this.isDesign) {
|
|
46367
|
+
if (!this.destoryTable) this.destoryTable = [];
|
|
46368
|
+
this.destoryTable.push(() => {
|
|
46369
|
+
this.value[model] = Array(this.models[model].length).fill({});
|
|
46370
|
+
});
|
|
46371
|
+
this.$on('hook:beforeDestroy', () => {
|
|
46372
|
+
this.destoryTable.forEach(func => func());
|
|
46373
|
+
});
|
|
46374
|
+
}
|
|
46345
46375
|
for (let i = 0; i < this.models[model].length; i++) {
|
|
46346
46376
|
this.originIndex++;
|
|
46347
46377
|
if (i < 20) {
|
|
@@ -111404,7 +111434,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111404
111434
|
|
|
111405
111435
|
/***/ }),
|
|
111406
111436
|
|
|
111407
|
-
/***/
|
|
111437
|
+
/***/ 8617:
|
|
111408
111438
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
111409
111439
|
|
|
111410
111440
|
"use strict";
|
|
@@ -111416,7 +111446,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
111416
111446
|
"default": () => (/* binding */ layoutForPaper)
|
|
111417
111447
|
});
|
|
111418
111448
|
|
|
111419
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=
|
|
111449
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=template&id=0c12552e&scoped=true&
|
|
111420
111450
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{staticClass:"layout layout-input-all-setting",class:{ 'no-border': !_vm.data.config.border, 'save-pdf': _vm.showLine, 'ant-form-noBorder': _vm.data.config.componentsNoBorder },style:({ 'overflow-x': _vm.data.config.layout === 'horizontal' ? 'auto' : 'initial' }),attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[(_vm.pageLoading && _vm.showLayoutLoading)?_c('div',{class:{ form_skeleton: _vm.pageLoading }},[(_vm.pageLoading)?_c('a-skeleton',{attrs:{"active":"","loading":_vm.pageLoading,"paragraph":{ rows: 12 }}}):_vm._e()],1):_vm._e(),_c('a-form-model',{ref:"Form",attrs:{"hideRequiredMark":true,"model":_vm.models,"rules":_vm.rules,"wrapper-col":{}},on:{"update:rules":function($event){_vm.rules=$event},"validate":_vm.validate}},_vm._l((_vm.widgetList),function(list,listindex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.widgetList[0].length > 0),expression:"widgetList[0].length > 0"}],key:listindex,staticClass:"paper",style:(_vm.contentStyle)},[(listindex == 0)?_vm._t("default"):_vm._e(),(listindex == 0)?_c('div',{staticClass:"form-title",style:(Object.assign({}, {height: _vm.formNameHeight}, _vm.formNameStyle))},[_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameLeftContent || '')}}),_vm._v(_vm._s(_vm.data.config.formName)),_c('span',{staticStyle:{"font-size":"inherit"},domProps:{"innerHTML":_vm._s(_vm.data.config.formNameRightContent || '')}})]):_vm._e(),(_vm.value && _vm.value.formIndex)?_c('div',{staticStyle:{"text-align":"right","font-weight":"bold"}},[_vm._v(_vm._s(_vm.value.formIndex))]):_vm._e(),(_vm.data.config.pageHeader && listindex === 0)?_c('div',{style:(_vm.data.config.headerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageHeader)}}):_vm._e(),_c('div',{staticClass:"page-border",style:({ borderColor: _vm.data.config.borderColor })},[_vm._l((list),function(widget,index){return [(widget.type == 'table')?[(
|
|
111421
111451
|
widget.options.layoutModel === 'auto' ||
|
|
111422
111452
|
widget.options.layoutModel === undefined
|
|
@@ -111452,15 +111482,15 @@ var staticRenderFns = []
|
|
|
111452
111482
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(7862);
|
|
111453
111483
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
111454
111484
|
/* harmony default export */ const layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
111455
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
111485
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0c12552e&prod&lang=less&scoped=true&
|
|
111456
111486
|
// extracted by mini-css-extract-plugin
|
|
111457
111487
|
|
|
111458
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
111488
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=0c12552e&prod&lang=less&scoped=true&
|
|
111459
111489
|
|
|
111460
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
111490
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0c12552e&prod&lang=css&
|
|
111461
111491
|
// extracted by mini-css-extract-plugin
|
|
111462
111492
|
|
|
111463
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=
|
|
111493
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=2&id=0c12552e&prod&lang=css&
|
|
111464
111494
|
|
|
111465
111495
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
111466
111496
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -111480,7 +111510,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
111480
111510
|
staticRenderFns,
|
|
111481
111511
|
false,
|
|
111482
111512
|
null,
|
|
111483
|
-
"
|
|
111513
|
+
"0c12552e",
|
|
111484
111514
|
null
|
|
111485
111515
|
|
|
111486
111516
|
)
|
|
@@ -120740,7 +120770,7 @@ function toNumber(value) {
|
|
|
120740
120770
|
/***/ ((module) => {
|
|
120741
120771
|
|
|
120742
120772
|
"use strict";
|
|
120743
|
-
module.exports = {"i8":"1.1.
|
|
120773
|
+
module.exports = {"i8":"1.1.313"};
|
|
120744
120774
|
|
|
120745
120775
|
/***/ })
|
|
120746
120776
|
|
|
@@ -122684,11 +122714,11 @@ icon_Icon.install = function (Vue) {
|
|
|
122684
122714
|
|
|
122685
122715
|
/* harmony default export */ const icon = (icon_Icon);
|
|
122686
122716
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutForPaper.vue + 6 modules
|
|
122687
|
-
var layoutForPaper = __webpack_require__(
|
|
122717
|
+
var layoutForPaper = __webpack_require__(8617);
|
|
122688
122718
|
// EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
|
|
122689
122719
|
var layoutItem = __webpack_require__(8396);
|
|
122690
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=
|
|
122691
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
|
|
122720
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=7e09529d&
|
|
122721
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","isDesign":true,"data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
|
|
122692
122722
|
var staticRenderFns = []
|
|
122693
122723
|
|
|
122694
122724
|
|
|
@@ -126750,6 +126780,7 @@ var onLineForm = __webpack_require__(6162);
|
|
|
126750
126780
|
//
|
|
126751
126781
|
//
|
|
126752
126782
|
//
|
|
126783
|
+
//
|
|
126753
126784
|
//
|
|
126754
126785
|
|
|
126755
126786
|
//控件库
|
|
@@ -127068,10 +127099,10 @@ __webpack_require__(9922);
|
|
|
127068
127099
|
});
|
|
127069
127100
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=script&lang=js&
|
|
127070
127101
|
/* harmony default export */ const modules_Containervue_type_script_lang_js_ = (Containervue_type_script_lang_js_);
|
|
127071
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=
|
|
127102
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=7e09529d&prod&lang=less&
|
|
127072
127103
|
// extracted by mini-css-extract-plugin
|
|
127073
127104
|
|
|
127074
|
-
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=
|
|
127105
|
+
;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=7e09529d&prod&lang=less&
|
|
127075
127106
|
|
|
127076
127107
|
;// CONCATENATED MODULE: ./src/form/modules/Container.vue
|
|
127077
127108
|
|
|
@@ -134069,7 +134100,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
|
|
|
134069
134100
|
}
|
|
134070
134101
|
},
|
|
134071
134102
|
components: {
|
|
134072
|
-
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__,
|
|
134103
|
+
layoutForPaper: () => Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 8617)),
|
|
134073
134104
|
FormulaEdit: formula_edit
|
|
134074
134105
|
},
|
|
134075
134106
|
data() {
|