knt-shared 1.6.2 → 1.6.4

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/style.css CHANGED
@@ -483,7 +483,7 @@ video[data-v-e8cbf700] {
483
483
  border-radius: 0;
484
484
  }
485
485
 
486
- .readonly-field[data-v-ef9a435f] {
486
+ .readonly-field[data-v-3d2d24e0] {
487
487
  color: var(--color-text-1);
488
488
  line-height: 1.5;
489
489
  min-height: 32px;
@@ -491,33 +491,36 @@ video[data-v-e8cbf700] {
491
491
  align-items: center;
492
492
  flex: 1;
493
493
  }
494
- .readonly-field-loading[data-v-ef9a435f] {
494
+ .readonly-field-loading[data-v-3d2d24e0] {
495
495
  opacity: 0.6;
496
496
  }
497
497
 
498
498
  /* 空值样式 */
499
- .readonly-field-empty[data-v-ef9a435f] {
499
+ .readonly-field-empty[data-v-3d2d24e0] {
500
500
  color: var(--color-text-4);
501
501
  }
502
502
 
503
503
  /* 文本样式 */
504
- .readonly-field-text[data-v-ef9a435f] {
504
+ .readonly-field-text[data-v-3d2d24e0] {
505
+ word-break: break-word;
506
+ }
507
+ .readonly-field-select[data-v-3d2d24e0] {
505
508
  word-break: break-word;
506
509
  }
507
510
 
508
511
  /* 数字样式 */
509
- .readonly-field-number[data-v-ef9a435f] {
512
+ .readonly-field-number[data-v-3d2d24e0] {
510
513
  font-variant-numeric: tabular-nums;
511
514
  }
512
515
 
513
516
  /* Textarea 样式 */
514
- .readonly-field-textarea[data-v-ef9a435f] {
517
+ .readonly-field-textarea[data-v-3d2d24e0] {
515
518
  white-space: pre-wrap;
516
519
  word-break: break-word;
517
520
  }
518
521
 
519
522
  /* Upload 容器 */
520
- .readonly-upload-container[data-v-ef9a435f] {
523
+ .readonly-upload-container[data-v-3d2d24e0] {
521
524
  display: flex;
522
525
  flex-direction: column;
523
526
  gap: 12px;
@@ -525,30 +528,30 @@ video[data-v-e8cbf700] {
525
528
  }
526
529
 
527
530
  /* 图片列表(网格布局) */
528
- .readonly-image-list[data-v-ef9a435f] {
531
+ .readonly-image-list[data-v-3d2d24e0] {
529
532
  display: grid;
530
533
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
531
534
  gap: 8px;
532
535
  max-width: 100%;
533
536
  }
534
- .readonly-image-item[data-v-ef9a435f] {
537
+ .readonly-image-item[data-v-3d2d24e0] {
535
538
  border-radius: var(--border-radius-small);
536
539
  cursor: pointer;
537
540
  transition: transform 0.2s ease;
538
541
  border: 1px solid var(--color-border-2);
539
542
  }
540
- .readonly-image-item[data-v-ef9a435f]:hover {
543
+ .readonly-image-item[data-v-3d2d24e0]:hover {
541
544
  transform: scale(1.05);
542
545
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
543
546
  }
544
547
 
545
548
  /* 文件列表 */
546
- .readonly-file-list[data-v-ef9a435f] {
549
+ .readonly-file-list[data-v-3d2d24e0] {
547
550
  display: flex;
548
551
  flex-direction: column;
549
552
  gap: 4px;
550
553
  }
551
- .readonly-file-link[data-v-ef9a435f] {
554
+ .readonly-file-link[data-v-3d2d24e0] {
552
555
  color: rgb(var(--primary-6));
553
556
  text-decoration: none;
554
557
  display: inline-flex;
@@ -556,52 +559,52 @@ video[data-v-e8cbf700] {
556
559
  gap: 4px;
557
560
  transition: all 0.2s ease;
558
561
  }
559
- .readonly-file-link[data-v-ef9a435f]:hover {
562
+ .readonly-file-link[data-v-3d2d24e0]:hover {
560
563
  text-decoration: underline;
561
564
  color: rgb(var(--primary-5));
562
565
  }
563
- .readonly-file-link[data-v-ef9a435f]::before {
566
+ .readonly-file-link[data-v-3d2d24e0]::before {
564
567
  content: '📎';
565
568
  font-size: 14px;
566
569
  }
567
570
 
568
571
  /* Select 多选 */
569
- .readonly-field-select-multiple[data-v-ef9a435f] {
572
+ .readonly-field-select-multiple[data-v-3d2d24e0] {
570
573
  word-break: break-word;
571
574
  }
572
575
 
573
576
  /* Cascader 路径 */
574
- .readonly-field-cascader[data-v-ef9a435f] {
577
+ .readonly-field-cascader[data-v-3d2d24e0] {
575
578
  word-break: break-word;
576
579
  }
577
580
 
578
581
  /* Rate */
579
- .readonly-field-rate[data-v-ef9a435f] {
582
+ .readonly-field-rate[data-v-3d2d24e0] {
580
583
  color: var(--color-text-1);
581
584
  }
582
585
 
583
586
  /* Slider */
584
- .readonly-field-slider[data-v-ef9a435f] {
587
+ .readonly-field-slider[data-v-3d2d24e0] {
585
588
  color: var(--color-text-1);
586
589
  }
587
590
 
588
591
  /* Switch */
589
- .readonly-field-switch[data-v-ef9a435f] {
592
+ .readonly-field-switch[data-v-3d2d24e0] {
590
593
  color: var(--color-text-1);
591
594
  }
592
595
 
593
596
  /* Date */
594
- .readonly-field-date[data-v-ef9a435f] {
597
+ .readonly-field-date[data-v-3d2d24e0] {
595
598
  color: var(--color-text-1);
596
599
  }
597
600
 
598
601
  /* Range */
599
- .readonly-field-range[data-v-ef9a435f] {
602
+ .readonly-field-range[data-v-3d2d24e0] {
600
603
  color: var(--color-text-1);
601
604
  }
602
605
 
603
606
  /* Time */
604
- .readonly-field-time[data-v-ef9a435f] {
607
+ .readonly-field-time[data-v-3d2d24e0] {
605
608
  color: var(--color-text-1);
606
609
  }
607
610
 
@@ -626,44 +629,44 @@ video[data-v-e8cbf700] {
626
629
  margin-top: 4px;
627
630
  }
628
631
 
629
- .basic-table-wrapper[data-v-3b11589b] {
632
+ .basic-table-wrapper[data-v-e0254887] {
630
633
  background: var(--color-bg-2, #fff);
631
634
  border-radius: 4px;
632
635
  padding: 16px;
633
636
  }
634
- .basic-table-toolbar[data-v-3b11589b] {
637
+ .basic-table-toolbar[data-v-e0254887] {
635
638
  display: flex;
636
639
  justify-content: space-between;
637
640
  align-items: center;
638
641
  /* padding: 12px 0; */
639
642
  margin-bottom: 12px;
640
643
  }
641
- .toolbar-left[data-v-3b11589b] {
644
+ .toolbar-left[data-v-e0254887] {
642
645
  display: flex;
643
646
  align-items: center;
644
647
  }
645
- .toolbar-title[data-v-3b11589b] {
648
+ .toolbar-title[data-v-e0254887] {
646
649
  font-size: 16px;
647
650
  font-weight: 600;
648
651
  color: var(--color-text-1, #1d2129);
649
652
  }
650
- .toolbar-right[data-v-3b11589b] {
653
+ .toolbar-right[data-v-e0254887] {
651
654
  display: flex;
652
655
  align-items: center;
653
656
  }
654
- .basic-table-search[data-v-3b11589b] {
657
+ .basic-table-search[data-v-e0254887] {
655
658
  /* margin-bottom: 16px; */
656
659
  /* padding: 16px; */
657
660
  background: var(--color-bg-1, #fff);
658
661
  border-radius: 4px;
659
662
  padding: 10px 0;
660
663
  }
661
- .column-setting[data-v-3b11589b] {
664
+ .column-setting[data-v-e0254887] {
662
665
  width: 200px;
663
666
  max-height: 400px;
664
667
  overflow-y: auto;
665
668
  }
666
- .column-setting-item[data-v-3b11589b] {
669
+ .column-setting-item[data-v-e0254887] {
667
670
  padding: 8px 0;
668
671
  }
669
672
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knt-shared",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "KNT共享组件库和工具函数",
5
5
  "author": "hss",
6
6
  "main": "dist/index.cjs.js",