@wfrog/vc-ui 1.5.3 → 1.6.1

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.
Files changed (33) hide show
  1. package/dist/es/chunk/CL65DvCP.mjs +25 -0
  2. package/dist/es/chunk/DRLHgORP.mjs +26 -0
  3. package/dist/es/chunk/Mq_fqKb4.mjs +41 -0
  4. package/dist/es/components/explorer-container/explorer-container.mjs +4 -4
  5. package/dist/es/components/explorer-container/index.css +7 -5
  6. package/dist/es/components/explorer-form/explorer-form.d.ts +2 -2
  7. package/dist/es/components/explorer-form/explorer-form.mjs +23 -10
  8. package/dist/es/components/explorer-form/explorer-form.vue.d.ts +5 -3
  9. package/dist/es/components/explorer-form/index.css +9 -7
  10. package/dist/es/components/explorer-list/explorer-list.d.ts +3 -1
  11. package/dist/es/components/explorer-list/explorer-list.mjs +65 -69
  12. package/dist/es/components/explorer-list/explorer-list.vue.d.ts +5 -1
  13. package/dist/es/components/explorer-list/index.css +15 -11
  14. package/dist/es/components/explorer-tree/explorer-tree.d.ts +3 -1
  15. package/dist/es/components/explorer-tree/explorer-tree.mjs +34 -42
  16. package/dist/es/components/explorer-tree/explorer-tree.vue.d.ts +5 -1
  17. package/dist/es/components/explorer-tree/index.css +18 -13
  18. package/dist/es/components/input/index.css +1 -1
  19. package/dist/es/components/input/input.d.ts +1 -0
  20. package/dist/es/components/input/input.mjs +6 -4
  21. package/dist/es/components/input/input.vue.d.ts +1 -0
  22. package/dist/es/components/tags/tags.mjs +3 -21
  23. package/dist/es/components/thousand-input/thousand-input.mjs +3 -35
  24. package/dist/es/components/thousand-input/thousand-input.vue.d.ts +8 -2
  25. package/dist/es/directives/cleave/index.mjs +4 -0
  26. package/dist/es/directives/focus/index.mjs +1 -0
  27. package/dist/es/directives/index.mjs +16 -0
  28. package/dist/es/directives/thousand/index.mjs +4 -0
  29. package/dist/es/index.d.ts +3 -0
  30. package/dist/es/index.mjs +4 -1
  31. package/dist/global.d.ts +5 -0
  32. package/dist/index.css +50 -37
  33. package/package.json +10 -1
package/dist/index.css CHANGED
@@ -577,13 +577,13 @@ div._main_m9nss_1 ._header_m9nss_48 {
577
577
  padding: 0 11px !important;
578
578
  }
579
579
  /* source: src/components/explorer-container/explorer-container.vue */
580
- ._explorer-container_1sfkk_1 {
580
+ ._explorer-container_4odhg_1 {
581
581
  display: flex;
582
582
  flex-direction: column;
583
583
  flex-grow: 1;
584
584
  height: 100px;
585
585
  }
586
- ._header_1sfkk_8 {
586
+ ._header_4odhg_8 {
587
587
  display: flex;
588
588
  align-items: center;
589
589
  justify-content: space-between;
@@ -596,11 +596,13 @@ div._main_m9nss_1 ._header_m9nss_48 {
596
596
  flex-wrap: wrap;
597
597
  row-gap: 8px;
598
598
  }
599
- ._header-container_1sfkk_22 {
600
- font-size: 1.2em;
599
+ ._header-container_4odhg_22 {
600
+ font-size: var(--el-font-size-medium);
601
601
  }
602
- ._icon_1sfkk_26 {
602
+ ._icon_4odhg_26 {
603
603
  margin-right: 4px;
604
+ font-size: 1.1em;
605
+ transform: translateY(1px);
604
606
  }
605
607
  /* source: src/components/explorer-filter/explorer-filter.vue */
606
608
  ._explorer-filter_1l5g5_1 {
@@ -617,13 +619,13 @@ div._main_m9nss_1 ._header_m9nss_48 {
617
619
  padding-top: var(--v2844fd33);
618
620
  }
619
621
  /* source: src/components/explorer-form/explorer-form.vue */
620
- ._explorer-form_gacal_1 {
622
+ ._explorer-form_19l5u_1 {
621
623
  display: flex;
622
624
  flex-direction: column;
623
625
  flex-grow: 1;
624
626
  height: 100px;
625
627
  }
626
- ._header_gacal_8 {
628
+ ._header_19l5u_8 {
627
629
  display: flex;
628
630
  align-items: center;
629
631
  justify-content: space-between;
@@ -635,22 +637,24 @@ div._main_m9nss_1 ._header_m9nss_48 {
635
637
  flex-wrap: wrap;
636
638
  row-gap: 8px;
637
639
  }
638
- ._header-container_gacal_21 {
639
- font-size: 1.2em;
640
+ ._header-container_19l5u_21 {
641
+ font-size: var(--el-font-size-medium);
640
642
  }
641
- ._icon_gacal_25 {
643
+ ._icon_19l5u_25 {
642
644
  margin-right: 4px;
645
+ font-size: 1.1em;
646
+ transform: translateY(1px);
643
647
  }
644
- ._actions_gacal_29 {
648
+ ._actions_19l5u_31 {
645
649
  display: flex;
646
650
  align-items: center;
647
651
  gap: 8px;
648
652
  }
649
- ._actions_gacal_29 .el-button {
653
+ ._actions_19l5u_31 .el-button {
650
654
  margin-left: 0 !important;
651
655
  }
652
656
  /* source: src/components/explorer-list/explorer-list.vue */
653
- ._item_5dblq_1 {
657
+ ._item_1xqvz_1 {
654
658
  padding: 4px 8px;
655
659
  cursor: pointer;
656
660
  display: flex;
@@ -662,38 +666,42 @@ div._main_m9nss_1 ._header_m9nss_48 {
662
666
  box-sizing: border-box;
663
667
  line-height: 1;
664
668
  }
665
- ._item_5dblq_1:hover {
669
+ ._item_1xqvz_1:hover {
666
670
  background-color: var(--el-color-primary-light-9);
667
671
  }
668
- ._item_5dblq_1:hover ._actions_5dblq_16 {
672
+ ._item_1xqvz_1:hover ._actions_1xqvz_16 {
669
673
  display: inline-flex;
670
674
  align-items: flex-start;
671
675
  }
672
- ._item_5dblq_1._active_5dblq_20 {
676
+ ._item_1xqvz_1._active_1xqvz_20 {
673
677
  color: var(--el-color-primary);
674
678
  background-color: var(--el-color-primary-light-9);
675
679
  }
676
- ._label_5dblq_25 {
680
+ ._label_1xqvz_25 {
677
681
  overflow: hidden;
678
682
  text-overflow: ellipsis;
679
683
  white-space: nowrap;
680
684
  }
681
- ._icon_5dblq_31 {
685
+ ._icon_1xqvz_31 {
682
686
  margin-right: 4px;
683
687
  }
684
- ._actions_5dblq_16 {
688
+ ._actions_1xqvz_16 {
685
689
  display: none;
686
690
  column-gap: 4px;
687
691
  }
688
- ._actions_5dblq_16 > button {
692
+ ._actions_1xqvz_16 > button {
689
693
  margin-left: 0 !important;
690
694
  font-size: 1.2em;
695
+ border: 1px solid var(--el-border-color-light) !important;
696
+ }
697
+ ._actions_1xqvz_16 > button:hover {
698
+ border-color: var(--el-border-color-dark) !important;
691
699
  }
692
- ._remove_5dblq_44 {
700
+ ._remove_1xqvz_48 {
693
701
  transform: translateY(-1px);
694
702
  }
695
- ._empty_5dblq_48,
696
- ._loading_5dblq_49 {
703
+ ._empty_1xqvz_52,
704
+ ._loading_1xqvz_53 {
697
705
  padding: 4px 8px;
698
706
  display: flex;
699
707
  align-items: center;
@@ -831,29 +839,29 @@ div._main_m9nss_1 ._header_m9nss_48 {
831
839
  z-index: 9999 !important;
832
840
  }
833
841
  /* source: src/components/explorer-tree/explorer-tree.vue */
834
- ._tree_1ybks_1 .el-tree-node__content {
842
+ ._tree_bglx3_1 .el-tree-node__content {
835
843
  display: flex;
836
844
  align-items: center;
837
845
  }
838
- ._tree_1ybks_1 .el-tree-node__content:hover {
846
+ ._tree_bglx3_1 .el-tree-node__content:hover {
839
847
  background-color: var(--el-color-primary-light-9);
840
848
  }
841
- ._tree_1ybks_1 .el-tree-node__content:hover .vc-actions {
849
+ ._tree_bglx3_1 .el-tree-node__content:hover .vc-actions {
842
850
  display: inline-flex;
843
851
  }
844
- ._tree_1ybks_1 .is-current > .el-tree-node__content {
852
+ ._tree_bglx3_1 .is-current > .el-tree-node__content {
845
853
  color: var(--el-color-primary);
846
854
  background-color: var(--el-color-primary-light-9);
847
855
  }
848
- ._tree_1ybks_1 .el-tree__empty-block {
856
+ ._tree_bglx3_1 .el-tree__empty-block {
849
857
  text-align: left;
850
858
  min-height: unset;
851
859
  padding: 4px 8px;
852
860
  }
853
- ._tree_1ybks_1 .el-tree__empty-text {
861
+ ._tree_bglx3_1 .el-tree__empty-text {
854
862
  position: static;
855
863
  }
856
- ._node_1ybks_24 {
864
+ ._node_bglx3_24 {
857
865
  display: flex;
858
866
  justify-content: space-between;
859
867
  align-items: center;
@@ -862,26 +870,31 @@ div._main_m9nss_1 ._header_m9nss_48 {
862
870
  box-sizing: border-box;
863
871
  width: 100px;
864
872
  }
865
- ._label_1ybks_34 {
873
+ ._label_bglx3_34 {
866
874
  overflow: hidden;
867
875
  text-overflow: ellipsis;
868
876
  white-space: nowrap;
877
+ transform: translateY(-1px);
869
878
  }
870
- ._icon_1ybks_40 {
879
+ ._icon_bglx3_41 {
871
880
  margin-right: 4px;
872
881
  }
873
- ._actions_1ybks_44 {
882
+ ._actions_bglx3_45 {
874
883
  display: none;
875
884
  column-gap: 4px;
876
885
  }
877
- ._actions_1ybks_44 > button {
886
+ ._actions_bglx3_45 > button {
878
887
  margin-left: 0 !important;
879
888
  font-size: 1.2em;
889
+ border: 1px solid var(--el-border-color-light) !important;
890
+ }
891
+ ._actions_bglx3_45 > button:hover {
892
+ border-color: var(--el-border-color-dark) !important;
880
893
  }
881
- ._remove_1ybks_53 {
894
+ ._remove_bglx3_58 {
882
895
  transform: translateY(-1px);
883
896
  }
884
- ._loading_1ybks_57 {
897
+ ._loading_bglx3_62 {
885
898
  padding: 4px 8px;
886
899
  display: flex;
887
900
  align-items: center;
@@ -1082,7 +1095,7 @@ div._el-input-number_1piks_18 .el-input__inner {
1082
1095
  }
1083
1096
  /* source: src/components/input/input.vue */
1084
1097
  div._input_1vcoq_1 {
1085
- width: var(--v2586680e);
1098
+ width: var(--v5b821c9b);
1086
1099
  display: inline-flex;
1087
1100
  }
1088
1101
  div._input_1vcoq_1._block_1vcoq_5 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wfrog/vc-ui",
3
- "version": "1.5.3",
3
+ "version": "1.6.1",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "description": "vue3 组件库 vc-ui",
6
6
  "author": "wellfrog",
@@ -22,10 +22,19 @@
22
22
  "types": "./dist/es/components/*/index.d.ts",
23
23
  "default": "./dist/es/components/*/index.mjs"
24
24
  },
25
+ "./es/directives/*/type": "./dist/es/directives/*/index.d.ts",
26
+ "./es/directives/*": {
27
+ "types": "./dist/es/directives/*/index.d.ts",
28
+ "default": "./dist/es/directives/*/index.mjs"
29
+ },
25
30
  "./resolver": {
26
31
  "types": "./dist/es/utils/resolver.d.ts",
27
32
  "default": "./dist/es/utils/resolver.mjs"
28
33
  },
34
+ "./directives": {
35
+ "types": "./dist/es/directives/index.d.ts",
36
+ "default": "./dist/es/directives/index.mjs"
37
+ },
29
38
  "./*": "./dist/*"
30
39
  },
31
40
  "main": "dist/es/index.mjs",