yc-pro-components 0.0.10 → 0.0.12

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 (151) hide show
  1. package/es/components/check-card/index.d.ts +38 -38
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +7 -7
  4. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  5. package/es/components/date-picker/index.d.ts +16 -16
  6. package/es/components/date-picker/src/index.vue.d.ts +8 -8
  7. package/es/components/dialog/index.d.ts +30 -30
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +80 -80
  10. package/es/components/dialog-form/src/index.vue.d.ts +28 -28
  11. package/es/components/display-item/index.d.ts +29 -29
  12. package/es/components/display-item/src/index.vue.d.ts +10 -10
  13. package/es/components/drawer-form/index.d.ts +95 -95
  14. package/es/components/drawer-form/src/index.vue.d.ts +28 -28
  15. package/es/components/form/index.d.ts +89 -89
  16. package/es/components/form/src/form-content.vue.d.ts +8 -8
  17. package/es/components/form/src/index.vue.d.ts +31 -31
  18. package/es/components/form-item/index.d.ts +46 -46
  19. package/es/components/form-item/src/index.vue.d.ts +14 -14
  20. package/es/components/input-tag/index.d.ts +28 -28
  21. package/es/components/input-tag/src/index.vue.d.ts +28 -28
  22. package/es/components/layout/index.d.ts +30 -30
  23. package/es/components/layout/src/index.vue.d.ts +10 -10
  24. package/es/components/page/index.d.ts +601 -511
  25. package/es/components/page/src/index.vue.d.ts +203 -173
  26. package/es/components/pagination/index.d.ts +7 -7
  27. package/es/components/pagination/src/index.vue.d.ts +1 -1
  28. package/es/components/radio/index.d.ts +37 -37
  29. package/es/components/radio/src/index.vue.d.ts +37 -37
  30. package/es/components/render/index.d.ts +12 -12
  31. package/es/components/render/src/index.vue.d.ts +2 -2
  32. package/es/components/search/index.d.ts +244 -206
  33. package/es/components/search/src/index.vue.d.ts +75 -69
  34. package/es/components/search/src/index.vue2.mjs +14 -4
  35. package/es/components/search/src/type.d.ts +9 -0
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/table/index.d.ts +40 -40
  39. package/es/components/table/src/index.vue.d.ts +12 -12
  40. package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
  41. package/es/components/table/src/table-column.vue.d.ts +25 -25
  42. package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
  43. package/es/components/utils/index.d.ts +5 -5
  44. package/es/components/yc-count-to/index.d.ts +2 -2
  45. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  46. package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
  47. package/es/components/yc-dialog/index.d.ts +24 -24
  48. package/es/components/yc-drawer/store.d.ts +13 -13
  49. package/es/components/yc-more-actions/index.d.ts +84 -84
  50. package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
  51. package/es/components/yc-plus-page/src/index.vue.d.ts +465 -538
  52. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  53. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  54. package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  55. package/es/components/yc-segmented/index.d.ts +4 -4
  56. package/es/components/yc-segmented/src/index.d.ts +4 -4
  57. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  58. package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  59. package/es/hooks/usePlusFormReset.d.ts +384 -384
  60. package/es/index.css +1 -1
  61. package/index.css +9 -5
  62. package/index.js +23 -7
  63. package/index.min.css +1 -1
  64. package/index.min.js +6 -6
  65. package/index.min.mjs +7 -7
  66. package/index.mjs +23 -7
  67. package/lib/components/check-card/index.d.ts +38 -38
  68. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  69. package/lib/components/check-card-group/index.d.ts +7 -7
  70. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  71. package/lib/components/date-picker/index.d.ts +16 -16
  72. package/lib/components/date-picker/src/index.vue.d.ts +8 -8
  73. package/lib/components/dialog/index.d.ts +30 -30
  74. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  75. package/lib/components/dialog-form/index.d.ts +80 -80
  76. package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
  77. package/lib/components/display-item/index.d.ts +29 -29
  78. package/lib/components/display-item/src/index.vue.d.ts +10 -10
  79. package/lib/components/drawer-form/index.d.ts +95 -95
  80. package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
  81. package/lib/components/form/index.d.ts +89 -89
  82. package/lib/components/form/src/form-content.vue.d.ts +8 -8
  83. package/lib/components/form/src/index.vue.d.ts +31 -31
  84. package/lib/components/form-item/index.d.ts +46 -46
  85. package/lib/components/form-item/src/index.vue.d.ts +14 -14
  86. package/lib/components/input-tag/index.d.ts +28 -28
  87. package/lib/components/input-tag/src/index.vue.d.ts +28 -28
  88. package/lib/components/layout/index.d.ts +30 -30
  89. package/lib/components/layout/src/index.vue.d.ts +10 -10
  90. package/lib/components/page/index.d.ts +601 -511
  91. package/lib/components/page/src/index.vue.d.ts +203 -173
  92. package/lib/components/pagination/index.d.ts +7 -7
  93. package/lib/components/pagination/src/index.vue.d.ts +1 -1
  94. package/lib/components/radio/index.d.ts +37 -37
  95. package/lib/components/radio/src/index.vue.d.ts +37 -37
  96. package/lib/components/render/index.d.ts +12 -12
  97. package/lib/components/render/src/index.vue.d.ts +2 -2
  98. package/lib/components/search/index.d.ts +244 -206
  99. package/lib/components/search/src/index.vue.d.ts +75 -69
  100. package/lib/components/search/src/index.vue2.js +13 -3
  101. package/lib/components/search/src/type.d.ts +9 -0
  102. package/lib/components/sidebar/index.d.ts +15 -15
  103. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  104. package/lib/components/table/index.d.ts +40 -40
  105. package/lib/components/table/src/index.vue.d.ts +12 -12
  106. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
  107. package/lib/components/table/src/table-column.vue.d.ts +25 -25
  108. package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
  109. package/lib/components/utils/index.d.ts +5 -5
  110. package/lib/components/yc-count-to/index.d.ts +2 -2
  111. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  112. package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
  113. package/lib/components/yc-dialog/index.d.ts +24 -24
  114. package/lib/components/yc-drawer/store.d.ts +13 -13
  115. package/lib/components/yc-more-actions/index.d.ts +84 -84
  116. package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
  117. package/lib/components/yc-plus-page/src/index.vue.d.ts +465 -538
  118. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  119. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  120. package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  121. package/lib/components/yc-segmented/index.d.ts +4 -4
  122. package/lib/components/yc-segmented/src/index.d.ts +4 -4
  123. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  124. package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  125. package/lib/hooks/usePlusFormReset.d.ts +384 -384
  126. package/lib/index.css +1 -1
  127. package/locale/en.js +1 -1
  128. package/locale/en.min.js +1 -1
  129. package/locale/en.min.mjs +1 -1
  130. package/locale/en.mjs +1 -1
  131. package/locale/ja.js +1 -1
  132. package/locale/ja.min.js +1 -1
  133. package/locale/ja.min.mjs +1 -1
  134. package/locale/ja.mjs +1 -1
  135. package/locale/ko.js +1 -1
  136. package/locale/ko.min.js +1 -1
  137. package/locale/ko.min.mjs +1 -1
  138. package/locale/ko.mjs +1 -1
  139. package/locale/zh-cn.js +1 -1
  140. package/locale/zh-cn.min.js +1 -1
  141. package/locale/zh-cn.min.mjs +1 -1
  142. package/locale/zh-cn.mjs +1 -1
  143. package/locale/zh-tw.js +1 -1
  144. package/locale/zh-tw.min.js +1 -1
  145. package/locale/zh-tw.min.mjs +1 -1
  146. package/locale/zh-tw.mjs +1 -1
  147. package/package.json +1 -1
  148. package/theme-chalk/index.css +1 -1
  149. package/theme-chalk/plus-page.css +1 -1
  150. package/theme-chalk/src/mixins/mixins.scss +4 -0
  151. package/theme-chalk/src/page.scss +1 -1
package/es/index.css CHANGED
@@ -1,5 +1,5 @@
1
1
  .yc-svg-icon[data-v-34e1f2f7]{display:inline-block;-webkit-mask-size:contain;mask-size:contain;vertical-align:middle}.yc-svg-icon--original[data-v-34e1f2f7]{-o-object-fit:contain;object-fit:contain}
2
- .yc-plus-page[data-v-4486eb75]{height:100%}[data-v-4486eb75] .yc-search-card-body{padding-right:0}[data-v-4486eb75] .plus-table-title-bar__toolbar__icon{font-size:16px!important;position:relative;top:-2px}.column-settings-wrapper[data-v-4486eb75]{align-items:center;cursor:pointer;display:flex;gap:4px;margin-left:8px}.column-settings-text[data-v-4486eb75]{font-size:14px}
2
+ .yc-plus-page[data-v-7c1490fd]{height:100%}.yc-plus-page[data-v-7c1490fd] [data-v-7c1490fd] .plus-page>.el-card{border-radius:8px}[data-v-7c1490fd] .yc-search-card-body{padding-right:0}[data-v-7c1490fd] .plus-table-title-bar__toolbar__icon{font-size:16px!important;position:relative;top:-2px}.column-settings-wrapper[data-v-7c1490fd]{align-items:center;cursor:pointer;display:flex;gap:4px;margin-left:8px}.column-settings-text[data-v-7c1490fd]{font-size:14px}
3
3
  .el-tree .el-tree-node__content{position:relative}.yc-tree-node-label-wrapper{align-items:center;display:flex;flex:1}.yc-tree-node-label{font-size:12px}.yc-tree-node-line-ver{border-left:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:100%;left:0;position:absolute;top:0}.yc-tree-node-line-ver.last-node-line{border-left:1px dashed transparent}.yc-tree-node-line-ver.last-node-isLeaf-line{height:50%}.yc-tree-node-line-hor{border-bottom:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:0;left:0;position:absolute;top:50%}
4
4
  .yc-plus-tree[data-v-fa0eccd0]{display:flex;flex-direction:column;height:100%;overflow:auto}.yc-plus-tree[data-v-fa0eccd0] .search-input[data-v-fa0eccd0]{flex-shrink:0;margin-bottom:16px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0]{flex:1;min-height:0;overflow:hidden}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-v2{overflow-x:visible!important}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0]{align-items:center;display:flex;flex:1;padding-left:0;padding-right:8px;position:relative;z-index:1}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0]{flex-shrink:0;width:100%}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper{border-radius:4px;box-shadow:0 0 0 1px var(--el-border-color) inset;font-size:14px;height:26px;line-height:18px;padding:0 8px;transition:box-shadow .2s ease}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper[data-v-fa0eccd0]:hover{box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper.is-focus[data-v-fa0eccd0]{box-shadow:0 0 0 1px var(--el-color-primary) inset}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner{color:rgba(0,0,0,.7);font-size:14px;height:24px;line-height:18px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner[data-v-fa0eccd0]::-moz-placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner[data-v-fa0eccd0]::placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover{background-color:var(--el-color-primary-light-9)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover .label-text[data-v-fa0eccd0]{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node.is-current>.el-tree-node__content .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0]{align-items:center;display:flex;gap:4px;width:100%}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0][data-v-fa0eccd0]:hover .node-actions[data-v-fa0eccd0]{opacity:1;pointer-events:auto}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .label-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .label-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-text[data-v-fa0eccd0]{color:var(--el-text-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .label-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .label-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-count[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-count[data-v-fa0eccd0]{color:var(--el-text-color-secondary);font-size:12px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0]{align-items:center;display:flex;flex-shrink:0;margin-left:auto;margin-right:8px;opacity:0;pointer-events:none;transition:opacity .2s ease}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon-wrapper[data-v-fa0eccd0]{align-items:center;cursor:pointer;display:flex;justify-content:center}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon[data-v-fa0eccd0]{align-items:center;border-radius:4px;color:var(--el-color-primary);cursor:pointer;display:flex;height:20px;justify-content:center;transition:background-color .2s ease;width:20px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon[data-v-fa0eccd0][data-v-fa0eccd0]:hover{background-color:var(--el-color-primary-light-8)}.tree-dropdown-menu[data-v-fa0eccd0]{border-radius:8px!important;min-width:156px!important;padding:8px!important}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item{border-radius:8px;font-size:12px;height:32px;line-height:32px;margin:0;padding:0 12px;transition:background-color .2s ease}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item[data-v-fa0eccd0]:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item[data-v-fa0eccd0]:not(:last-child){margin-bottom:4px}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-divider{border-top:1px solid #e5e7eb;margin:12px 0}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-ghost{background-color:var(--el-color-primary-light-9);border:1px dashed var(--el-color-primary);border-radius:4px;opacity:.4}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-chosen{background-color:var(--el-color-primary-light-8);box-shadow:0 2px 8px rgba(0,0,0,.1)}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-drag{background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:move;opacity:1;transform:rotate(2deg)}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-fallback{-webkit-user-select:none;-moz-user-select:none;user-select:none}
5
5
  .tree-dropdown-popper{border:none!important;border-radius:8px!important;overflow:hidden!important}.yc-plus-tree .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.el-tree-node__content:has([data-input-node=true]) .el-tree-node__expand-icon{display:none!important}.sortable-ghost{opacity:.3!important;position:relative!important}.drop-target{background-color:var(--el-color-primary-light-9)!important;border-radius:4px}.drop-target:before{background:var(--el-color-primary);border-radius:1.5px;bottom:0;content:"";left:calc(var(--drop-indent, 0px) - 3px);opacity:.6;position:absolute;top:0;width:3px;z-index:1}
package/index.css CHANGED
@@ -10,23 +10,27 @@
10
10
  object-fit: contain;
11
11
  }
12
12
  @charset "UTF-8";
13
- .yc-plus-page[data-v-4486eb75] {
13
+ .yc-plus-page[data-v-7c1490fd] {
14
14
  height: 100%;
15
+ /* 卡片模式下设置圆角 8px */
16
+ }
17
+ .yc-plus-page[data-v-7c1490fd] [data-v-7c1490fd] .plus-page > .el-card {
18
+ border-radius: 8px;
15
19
  }
16
20
 
17
- [data-v-4486eb75] .yc-search-card-body {
21
+ [data-v-7c1490fd] .yc-search-card-body {
18
22
  padding-right: 0;
19
23
  }
20
24
 
21
25
  /* 密度图标样式调整 */
22
- [data-v-4486eb75] .plus-table-title-bar__toolbar__icon {
26
+ [data-v-7c1490fd] .plus-table-title-bar__toolbar__icon {
23
27
  position: relative;
24
28
  top: -2px;
25
29
  font-size: 16px !important;
26
30
  }
27
31
 
28
32
  /* 字段管理样式 */
29
- .column-settings-wrapper[data-v-4486eb75] {
33
+ .column-settings-wrapper[data-v-7c1490fd] {
30
34
  display: flex;
31
35
  gap: 4px;
32
36
  align-items: center;
@@ -34,7 +38,7 @@
34
38
  cursor: pointer;
35
39
  }
36
40
 
37
- .column-settings-text[data-v-4486eb75] {
41
+ .column-settings-text[data-v-7c1490fd] {
38
42
  font-size: 14px;
39
43
  }
40
44
  @charset "UTF-8";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-pro-components v0.0.10 */
1
+ /*! yc-pro-components v0.0.12 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue'), require('element-plus')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vue', 'element-plus'], factory) :
@@ -19227,7 +19227,9 @@
19227
19227
  lg: 8,
19228
19228
  xl: 6
19229
19229
  }) },
19230
- needValidate: { type: Boolean, default: false }
19230
+ needValidate: { type: Boolean, default: false },
19231
+ searchIcon: { default: void 0 },
19232
+ resetIcon: { default: void 0 }
19231
19233
  },
19232
19234
  emits: ["update:modelValue", "search", "change", "reset", "collapse"],
19233
19235
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -19245,6 +19247,14 @@
19245
19247
  const unfoldText = vue.computed(
19246
19248
  () => isShowUnfold.value ? props.retractText || t("plus.search.retract") : props.expandText || t("plus.search.expand")
19247
19249
  );
19250
+ const computedSearchIcon = vue.computed(() => {
19251
+ if (props.searchIcon === null) return void 0;
19252
+ return props.searchIcon !== void 0 ? props.searchIcon : search_default;
19253
+ });
19254
+ const computedResetIcon = vue.computed(() => {
19255
+ if (props.resetIcon === null) return void 0;
19256
+ return props.resetIcon !== void 0 ? props.resetIcon : refresh_right_default;
19257
+ });
19248
19258
  const originData = vue.computed(() => {
19249
19259
  const filterData = props.columns.filter((item) => vue.unref(item.hideInSearch) !== true).map((item) => ({ ...item, hideInForm: false })).map((item) => ({ ...item, order: (item == null ? void 0 : item.order) ? vue.unref(item.order) : 0 }));
19250
19260
  return orderBy(filterData, ["order"], ["desc"]);
@@ -19331,7 +19341,7 @@
19331
19341
  }, () => [
19332
19342
  _ctx.hasReset ? (vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), {
19333
19343
  key: 0,
19334
- icon: vue.unref(refresh_right_default),
19344
+ icon: computedResetIcon.value,
19335
19345
  onClick: handleReset
19336
19346
  }, {
19337
19347
  default: vue.withCtx(() => [
@@ -19347,7 +19357,7 @@
19347
19357
  vue.createVNode(vue.unref(elementPlus.ElButton), {
19348
19358
  type: "primary",
19349
19359
  loading: _ctx.searchLoading,
19350
- icon: vue.unref(search_default),
19360
+ icon: computedSearchIcon.value,
19351
19361
  onClick: handleSearch.value
19352
19362
  }, {
19353
19363
  default: vue.withCtx(() => [
@@ -30993,7 +31003,10 @@
30993
31003
  hasUnfold: false,
30994
31004
  rowProps: { gutter: 0 },
30995
31005
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
30996
- labelSuffix: ""
31006
+ labelSuffix: "",
31007
+ labelPosition: "right",
31008
+ searchIcon: null,
31009
+ resetIcon: null
30997
31010
  };
30998
31011
  return merge({}, defaultSearchConfig, props.search);
30999
31012
  }
@@ -31001,7 +31014,10 @@
31001
31014
  hasUnfold: false,
31002
31015
  rowProps: { gutter: 0 },
31003
31016
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
31004
- labelSuffix: ""
31017
+ labelSuffix: "",
31018
+ labelPosition: "right",
31019
+ searchIcon: null,
31020
+ resetIcon: null
31005
31021
  };
31006
31022
  });
31007
31023
  const mergedSearchCardProps = vue.computed(() => {
@@ -31145,7 +31161,7 @@
31145
31161
  }
31146
31162
  });
31147
31163
 
31148
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4486eb75"], ["__file", "index.vue"]]);
31164
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-7c1490fd"], ["__file", "index.vue"]]);
31149
31165
 
31150
31166
  const YcPlusPage = YcPlusPageComponent;
31151
31167
  const RePlusPage = YcPlusPageComponent;
package/index.min.css CHANGED
@@ -1,5 +1,5 @@
1
1
  .yc-svg-icon[data-v-34e1f2f7]{display:inline-block;-webkit-mask-size:contain;mask-size:contain;vertical-align:middle}.yc-svg-icon--original[data-v-34e1f2f7]{-o-object-fit:contain;object-fit:contain}
2
- .yc-plus-page[data-v-4486eb75]{height:100%}[data-v-4486eb75] .yc-search-card-body{padding-right:0}[data-v-4486eb75] .plus-table-title-bar__toolbar__icon{font-size:16px!important;position:relative;top:-2px}.column-settings-wrapper[data-v-4486eb75]{align-items:center;cursor:pointer;display:flex;gap:4px;margin-left:8px}.column-settings-text[data-v-4486eb75]{font-size:14px}
2
+ .yc-plus-page[data-v-7c1490fd]{height:100%}.yc-plus-page[data-v-7c1490fd] [data-v-7c1490fd] .plus-page>.el-card{border-radius:8px}[data-v-7c1490fd] .yc-search-card-body{padding-right:0}[data-v-7c1490fd] .plus-table-title-bar__toolbar__icon{font-size:16px!important;position:relative;top:-2px}.column-settings-wrapper[data-v-7c1490fd]{align-items:center;cursor:pointer;display:flex;gap:4px;margin-left:8px}.column-settings-text[data-v-7c1490fd]{font-size:14px}
3
3
  .el-tree .el-tree-node__content{position:relative}.yc-tree-node-label-wrapper{align-items:center;display:flex;flex:1}.yc-tree-node-label{font-size:12px}.yc-tree-node-line-ver{border-left:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:100%;left:0;position:absolute;top:0}.yc-tree-node-line-ver.last-node-line{border-left:1px dashed transparent}.yc-tree-node-line-ver.last-node-isLeaf-line{height:50%}.yc-tree-node-line-hor{border-bottom:1px dashed var(--el-border-color-light,#dcdfe6);display:block;height:0;left:0;position:absolute;top:50%}
4
4
  .yc-plus-tree[data-v-fa0eccd0]{display:flex;flex-direction:column;height:100%;overflow:auto}.yc-plus-tree[data-v-fa0eccd0] .search-input[data-v-fa0eccd0]{flex-shrink:0;margin-bottom:16px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0]{flex:1;min-height:0;overflow:hidden}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-v2{overflow-x:visible!important}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0]{align-items:center;display:flex;flex:1;padding-left:0;padding-right:8px;position:relative;z-index:1}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0]{flex-shrink:0;width:100%}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper{border-radius:4px;box-shadow:0 0 0 1px var(--el-border-color) inset;font-size:14px;height:26px;line-height:18px;padding:0 8px;transition:box-shadow .2s ease}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper[data-v-fa0eccd0]:hover{box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__wrapper.is-focus[data-v-fa0eccd0]{box-shadow:0 0 0 1px var(--el-color-primary) inset}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner{color:rgba(0,0,0,.7);font-size:14px;height:24px;line-height:18px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner[data-v-fa0eccd0]::-moz-placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .inline-input-node[data-v-fa0eccd0] .inline-input[data-v-fa0eccd0] [data-v-fa0eccd0] .el-input__inner[data-v-fa0eccd0]::placeholder{color:rgba(0,0,0,.4)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover{background-color:var(--el-color-primary-light-9)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover .label-text[data-v-fa0eccd0]{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node__content:hover .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] [data-v-fa0eccd0] .el-tree-node.is-current>.el-tree-node__content .label-text{color:var(--el-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0]{align-items:center;display:flex;gap:4px;width:100%}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0][data-v-fa0eccd0]:hover .node-actions[data-v-fa0eccd0]{opacity:1;pointer-events:auto}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .label-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .label-text[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-text[data-v-fa0eccd0]{color:var(--el-text-color-primary)}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .label-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .label-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword,.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-text[data-v-fa0eccd0] [data-v-fa0eccd0] .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-label[data-v-fa0eccd0] .node-count[data-v-fa0eccd0],.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] [data-v-fa0eccd0] .custom-node-label .node-count[data-v-fa0eccd0]{color:var(--el-text-color-secondary);font-size:12px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0]{align-items:center;display:flex;flex-shrink:0;margin-left:auto;margin-right:8px;opacity:0;pointer-events:none;transition:opacity .2s ease}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon-wrapper[data-v-fa0eccd0]{align-items:center;cursor:pointer;display:flex;justify-content:center}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon[data-v-fa0eccd0]{align-items:center;border-radius:4px;color:var(--el-color-primary);cursor:pointer;display:flex;height:20px;justify-content:center;transition:background-color .2s ease;width:20px}.yc-plus-tree[data-v-fa0eccd0] .tree-container[data-v-fa0eccd0] .node-label-wrapper[data-v-fa0eccd0] .node-actions[data-v-fa0eccd0] .action-icon[data-v-fa0eccd0][data-v-fa0eccd0]:hover{background-color:var(--el-color-primary-light-8)}.tree-dropdown-menu[data-v-fa0eccd0]{border-radius:8px!important;min-width:156px!important;padding:8px!important}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item{border-radius:8px;font-size:12px;height:32px;line-height:32px;margin:0;padding:0 12px;transition:background-color .2s ease}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item[data-v-fa0eccd0]:hover{background-color:var(--el-color-primary-light-9)!important;color:var(--el-color-primary)!important}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-dropdown-menu__item[data-v-fa0eccd0]:not(:last-child){margin-bottom:4px}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .el-divider{border-top:1px solid #e5e7eb;margin:12px 0}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-ghost{background-color:var(--el-color-primary-light-9);border:1px dashed var(--el-color-primary);border-radius:4px;opacity:.4}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-chosen{background-color:var(--el-color-primary-light-8);box-shadow:0 2px 8px rgba(0,0,0,.1)}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-drag{background-color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:move;opacity:1;transform:rotate(2deg)}.tree-dropdown-menu[data-v-fa0eccd0] [data-v-fa0eccd0] .sortable-fallback{-webkit-user-select:none;-moz-user-select:none;user-select:none}
5
5
  .tree-dropdown-popper{border:none!important;border-radius:8px!important;overflow:hidden!important}.yc-plus-tree .highlight-keyword{background-color:var(--el-color-primary-light-9);border-radius:2px;color:var(--el-color-primary);font-weight:600;padding:0 2px}.el-tree-node__content:has([data-input-node=true]) .el-tree-node__expand-icon{display:none!important}.sortable-ghost{opacity:.3!important;position:relative!important}.drop-target{background-color:var(--el-color-primary-light-9)!important;border-radius:4px}.drop-target:before{background:var(--el-color-primary);border-radius:1.5px;bottom:0;content:"";left:calc(var(--drop-indent, 0px) - 3px);opacity:.6;position:absolute;top:0;width:3px;z-index:1}