@longhongguo/form-create-ant-design-vue 3.3.28 → 3.3.29
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-create.css +107 -3
- package/dist/form-create.esm.css +107 -3
- package/dist/form-create.esm.js +2 -2
- package/dist/form-create.esm.js.map +1 -1
- package/dist/form-create.js +2 -2
- package/dist/form-create.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CusStoreSelect/index.vue +5 -0
- package/src/components/CusUserSelect/index.vue +5 -0
- package/src/style/index.css +107 -3
package/dist/form-create.css
CHANGED
|
@@ -503,6 +503,110 @@ textarea[readonly].ant-input {
|
|
|
503
503
|
cursor: pointer !important;
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
+
/* 预览模式:允许 tableForm 组件选择和复制文本 */
|
|
507
|
+
.form-create.is-preview ._fc-table-form {
|
|
508
|
+
pointer-events: auto !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.form-create.is-preview ._fc-table-form table,
|
|
512
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-table {
|
|
513
|
+
pointer-events: auto !important;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.form-create.is-preview ._fc-table-form table *,
|
|
517
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-table * {
|
|
518
|
+
pointer-events: auto !important;
|
|
519
|
+
user-select: text !important;
|
|
520
|
+
-webkit-user-select: text !important;
|
|
521
|
+
-moz-user-select: text !important;
|
|
522
|
+
-ms-user-select: text !important;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/* 预览模式:tableForm 中的选择列 checkbox 和操作列按钮保持不可交互 */
|
|
526
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-select,
|
|
527
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-select *,
|
|
528
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-btn,
|
|
529
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-btn * {
|
|
530
|
+
pointer-events: none !important;
|
|
531
|
+
user-select: none !important;
|
|
532
|
+
-webkit-user-select: none !important;
|
|
533
|
+
-moz-user-select: none !important;
|
|
534
|
+
-ms-user-select: none !important;
|
|
535
|
+
cursor: default !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* 预览模式:允许 select 组件选择和复制文本 */
|
|
539
|
+
/* 整个容器禁用 pointer-events,但文本内容区域启用以支持选择 */
|
|
540
|
+
.form-create.is-preview .ant-select {
|
|
541
|
+
pointer-events: none !important;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.form-create.is-preview .ant-select-selector {
|
|
545
|
+
pointer-events: auto !important;
|
|
546
|
+
user-select: text !important;
|
|
547
|
+
-webkit-user-select: text !important;
|
|
548
|
+
-moz-user-select: text !important;
|
|
549
|
+
-ms-user-select: text !important;
|
|
550
|
+
cursor: text !important;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.form-create.is-preview .ant-select-selection,
|
|
554
|
+
.form-create.is-preview .ant-select-selection-item,
|
|
555
|
+
.form-create.is-preview .ant-select-selection-placeholder {
|
|
556
|
+
pointer-events: auto !important;
|
|
557
|
+
user-select: text !important;
|
|
558
|
+
-webkit-user-select: text !important;
|
|
559
|
+
-moz-user-select: text !important;
|
|
560
|
+
-ms-user-select: text !important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/* 禁用 select 的下拉箭头和清除按钮 */
|
|
564
|
+
.form-create.is-preview .ant-select .ant-select-arrow,
|
|
565
|
+
.form-create.is-preview .ant-select .ant-select-suffix,
|
|
566
|
+
.form-create.is-preview .ant-select .ant-select-clear {
|
|
567
|
+
pointer-events: none !important;
|
|
568
|
+
user-select: none !important;
|
|
569
|
+
-webkit-user-select: none !important;
|
|
570
|
+
-moz-user-select: none !important;
|
|
571
|
+
-ms-user-select: none !important;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/* 预览模式:允许自定义 select 组件(fc-cus-select)选择和复制文本 */
|
|
575
|
+
/* CusStoreSelect 和 CusUserSelect 都使用 CusSelect */
|
|
576
|
+
.form-create.is-preview .fc-cus-select {
|
|
577
|
+
pointer-events: none !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.form-create.is-preview .fc-cus-select-selector {
|
|
581
|
+
pointer-events: auto !important;
|
|
582
|
+
user-select: text !important;
|
|
583
|
+
-webkit-user-select: text !important;
|
|
584
|
+
-moz-user-select: text !important;
|
|
585
|
+
-ms-user-select: text !important;
|
|
586
|
+
cursor: text !important;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.form-create.is-preview .fc-cus-select-selection-item,
|
|
590
|
+
.form-create.is-preview .fc-cus-select-selection-placeholder,
|
|
591
|
+
.form-create.is-preview .fc-cus-select-selection-item-content {
|
|
592
|
+
pointer-events: auto !important;
|
|
593
|
+
user-select: text !important;
|
|
594
|
+
-webkit-user-select: text !important;
|
|
595
|
+
-moz-user-select: text !important;
|
|
596
|
+
-ms-user-select: text !important;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/* 禁用自定义 select 的下拉箭头、清除按钮和移除按钮 */
|
|
600
|
+
.form-create.is-preview .fc-cus-select .fc-cus-select-arrow,
|
|
601
|
+
.form-create.is-preview .fc-cus-select .fc-cus-select-clear,
|
|
602
|
+
.form-create.is-preview .fc-cus-select-selection-item-remove {
|
|
603
|
+
pointer-events: none !important;
|
|
604
|
+
user-select: none !important;
|
|
605
|
+
-webkit-user-select: none !important;
|
|
606
|
+
-moz-user-select: none !important;
|
|
607
|
+
-ms-user-select: none !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
506
610
|
/* 禁止编辑:通过 contenteditable 属性控制 */
|
|
507
611
|
.form-create.is-preview .w-e-text {
|
|
508
612
|
user-select: text !important;
|
|
@@ -511,10 +615,10 @@ textarea[readonly].ant-input {
|
|
|
511
615
|
-ms-user-select: text !important;
|
|
512
616
|
}
|
|
513
617
|
|
|
514
|
-
/*
|
|
618
|
+
/* 预览模式:允许按钮点击 */
|
|
515
619
|
.form-create.is-preview .ant-btn {
|
|
516
|
-
pointer-events:
|
|
517
|
-
cursor:
|
|
620
|
+
pointer-events: auto !important;
|
|
621
|
+
cursor: pointer !important;
|
|
518
622
|
}
|
|
519
623
|
|
|
520
624
|
/* 预览模式:禁用选择器下拉 */
|
package/dist/form-create.esm.css
CHANGED
|
@@ -503,6 +503,110 @@ textarea[readonly].ant-input {
|
|
|
503
503
|
cursor: pointer !important;
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
+
/* 预览模式:允许 tableForm 组件选择和复制文本 */
|
|
507
|
+
.form-create.is-preview ._fc-table-form {
|
|
508
|
+
pointer-events: auto !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.form-create.is-preview ._fc-table-form table,
|
|
512
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-table {
|
|
513
|
+
pointer-events: auto !important;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.form-create.is-preview ._fc-table-form table *,
|
|
517
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-table * {
|
|
518
|
+
pointer-events: auto !important;
|
|
519
|
+
user-select: text !important;
|
|
520
|
+
-webkit-user-select: text !important;
|
|
521
|
+
-moz-user-select: text !important;
|
|
522
|
+
-ms-user-select: text !important;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/* 预览模式:tableForm 中的选择列 checkbox 和操作列按钮保持不可交互 */
|
|
526
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-select,
|
|
527
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-select *,
|
|
528
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-btn,
|
|
529
|
+
.form-create.is-preview ._fc-table-form ._fc-tf-btn * {
|
|
530
|
+
pointer-events: none !important;
|
|
531
|
+
user-select: none !important;
|
|
532
|
+
-webkit-user-select: none !important;
|
|
533
|
+
-moz-user-select: none !important;
|
|
534
|
+
-ms-user-select: none !important;
|
|
535
|
+
cursor: default !important;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/* 预览模式:允许 select 组件选择和复制文本 */
|
|
539
|
+
/* 整个容器禁用 pointer-events,但文本内容区域启用以支持选择 */
|
|
540
|
+
.form-create.is-preview .ant-select {
|
|
541
|
+
pointer-events: none !important;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.form-create.is-preview .ant-select-selector {
|
|
545
|
+
pointer-events: auto !important;
|
|
546
|
+
user-select: text !important;
|
|
547
|
+
-webkit-user-select: text !important;
|
|
548
|
+
-moz-user-select: text !important;
|
|
549
|
+
-ms-user-select: text !important;
|
|
550
|
+
cursor: text !important;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.form-create.is-preview .ant-select-selection,
|
|
554
|
+
.form-create.is-preview .ant-select-selection-item,
|
|
555
|
+
.form-create.is-preview .ant-select-selection-placeholder {
|
|
556
|
+
pointer-events: auto !important;
|
|
557
|
+
user-select: text !important;
|
|
558
|
+
-webkit-user-select: text !important;
|
|
559
|
+
-moz-user-select: text !important;
|
|
560
|
+
-ms-user-select: text !important;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/* 禁用 select 的下拉箭头和清除按钮 */
|
|
564
|
+
.form-create.is-preview .ant-select .ant-select-arrow,
|
|
565
|
+
.form-create.is-preview .ant-select .ant-select-suffix,
|
|
566
|
+
.form-create.is-preview .ant-select .ant-select-clear {
|
|
567
|
+
pointer-events: none !important;
|
|
568
|
+
user-select: none !important;
|
|
569
|
+
-webkit-user-select: none !important;
|
|
570
|
+
-moz-user-select: none !important;
|
|
571
|
+
-ms-user-select: none !important;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/* 预览模式:允许自定义 select 组件(fc-cus-select)选择和复制文本 */
|
|
575
|
+
/* CusStoreSelect 和 CusUserSelect 都使用 CusSelect */
|
|
576
|
+
.form-create.is-preview .fc-cus-select {
|
|
577
|
+
pointer-events: none !important;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.form-create.is-preview .fc-cus-select-selector {
|
|
581
|
+
pointer-events: auto !important;
|
|
582
|
+
user-select: text !important;
|
|
583
|
+
-webkit-user-select: text !important;
|
|
584
|
+
-moz-user-select: text !important;
|
|
585
|
+
-ms-user-select: text !important;
|
|
586
|
+
cursor: text !important;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.form-create.is-preview .fc-cus-select-selection-item,
|
|
590
|
+
.form-create.is-preview .fc-cus-select-selection-placeholder,
|
|
591
|
+
.form-create.is-preview .fc-cus-select-selection-item-content {
|
|
592
|
+
pointer-events: auto !important;
|
|
593
|
+
user-select: text !important;
|
|
594
|
+
-webkit-user-select: text !important;
|
|
595
|
+
-moz-user-select: text !important;
|
|
596
|
+
-ms-user-select: text !important;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/* 禁用自定义 select 的下拉箭头、清除按钮和移除按钮 */
|
|
600
|
+
.form-create.is-preview .fc-cus-select .fc-cus-select-arrow,
|
|
601
|
+
.form-create.is-preview .fc-cus-select .fc-cus-select-clear,
|
|
602
|
+
.form-create.is-preview .fc-cus-select-selection-item-remove {
|
|
603
|
+
pointer-events: none !important;
|
|
604
|
+
user-select: none !important;
|
|
605
|
+
-webkit-user-select: none !important;
|
|
606
|
+
-moz-user-select: none !important;
|
|
607
|
+
-ms-user-select: none !important;
|
|
608
|
+
}
|
|
609
|
+
|
|
506
610
|
/* 禁止编辑:通过 contenteditable 属性控制 */
|
|
507
611
|
.form-create.is-preview .w-e-text {
|
|
508
612
|
user-select: text !important;
|
|
@@ -511,10 +615,10 @@ textarea[readonly].ant-input {
|
|
|
511
615
|
-ms-user-select: text !important;
|
|
512
616
|
}
|
|
513
617
|
|
|
514
|
-
/*
|
|
618
|
+
/* 预览模式:允许按钮点击 */
|
|
515
619
|
.form-create.is-preview .ant-btn {
|
|
516
|
-
pointer-events:
|
|
517
|
-
cursor:
|
|
620
|
+
pointer-events: auto !important;
|
|
621
|
+
cursor: pointer !important;
|
|
518
622
|
}
|
|
519
623
|
|
|
520
624
|
/* 预览模式:禁用选择器下拉 */
|