yc-pro-components 0.0.76 → 0.0.78

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 (166) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +30 -30
  6. package/es/components/date-picker/src/index.vue.d.ts +22 -22
  7. package/es/components/dialog/index.d.ts +45 -45
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +68 -68
  14. package/es/components/drawer-form/src/index.vue.d.ts +16 -16
  15. package/es/components/form/index.d.ts +71 -71
  16. package/es/components/form/src/form-content.vue.d.ts +21 -21
  17. package/es/components/form/src/index.vue.d.ts +19 -19
  18. package/es/components/form-item/index.d.ts +69 -69
  19. package/es/components/form-item/src/index.vue.d.ts +21 -21
  20. package/es/components/header/index.d.ts +19 -19
  21. package/es/components/header/src/index.vue.d.ts +1 -1
  22. package/es/components/index.mjs +1 -0
  23. package/es/components/input-tag/index.d.ts +15 -15
  24. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  25. package/es/components/layout/index.d.ts +30 -30
  26. package/es/components/layout/src/index.vue.d.ts +10 -10
  27. package/es/components/page/index.d.ts +533 -533
  28. package/es/components/page/src/index.vue.d.ts +181 -181
  29. package/es/components/pagination/index.d.ts +42 -42
  30. package/es/components/pagination/src/index.vue.d.ts +3 -3
  31. package/es/components/radio/index.d.ts +35 -35
  32. package/es/components/radio/src/index.vue.d.ts +27 -27
  33. package/es/components/render/index.d.ts +3 -3
  34. package/es/components/render/src/index.vue.d.ts +1 -1
  35. package/es/components/search/index.d.ts +243 -243
  36. package/es/components/search/src/index.vue.d.ts +73 -73
  37. package/es/components/sidebar/index.d.ts +15 -15
  38. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  39. package/es/components/steps-form/index.d.ts +23 -23
  40. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  41. package/es/components/table/src/table-column.vue.d.ts +37 -37
  42. package/es/components/utils/index.d.ts +2 -2
  43. package/es/components/yc-dialog/index.d.ts +24 -24
  44. package/es/components/yc-download-dialog/index.d.ts +19 -19
  45. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  46. package/es/components/yc-form-container-header/index.d.ts +12 -12
  47. package/es/components/yc-more-actions/index.d.ts +46 -46
  48. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  49. package/es/components/yc-plus-page/index.d.ts +2 -0
  50. package/es/components/yc-plus-page/index.mjs +1 -0
  51. package/es/components/yc-plus-page/src/index.vue.d.ts +436 -361
  52. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  53. package/es/components/yc-plus-page/src/index.vue2.mjs +90 -58
  54. package/es/components/yc-plus-page/src/type.d.ts +9 -0
  55. package/es/components/yc-segmented/index.d.ts +2 -2
  56. package/es/components/yc-segmented/src/index.d.ts +2 -2
  57. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  58. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  59. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  60. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  61. package/es/hooks/index.d.ts +1 -0
  62. package/es/hooks/index.mjs +1 -0
  63. package/es/hooks/usePlusFormReset.d.ts +244 -244
  64. package/es/hooks/useTableDragScroll.d.ts +35 -0
  65. package/es/hooks/useTableDragScroll.mjs +201 -0
  66. package/es/index.css +10 -10
  67. package/es/index.mjs +1 -0
  68. package/es/version.d.ts +1 -1
  69. package/es/version.mjs +1 -1
  70. package/es/yc-components/version.d.ts +1 -1
  71. package/index.js +290 -60
  72. package/index.min.css +1 -1
  73. package/index.min.js +12 -11
  74. package/index.min.mjs +12 -11
  75. package/index.mjs +290 -61
  76. package/lib/components/check-card/index.d.ts +61 -61
  77. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  78. package/lib/components/check-card-group/index.d.ts +43 -43
  79. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  80. package/lib/components/date-picker/index.d.ts +30 -30
  81. package/lib/components/date-picker/src/index.vue.d.ts +22 -22
  82. package/lib/components/dialog/index.d.ts +45 -45
  83. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  84. package/lib/components/dialog-form/index.d.ts +31 -31
  85. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  86. package/lib/components/display-item/index.d.ts +41 -41
  87. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  88. package/lib/components/drawer-form/index.d.ts +68 -68
  89. package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
  90. package/lib/components/form/index.d.ts +71 -71
  91. package/lib/components/form/src/form-content.vue.d.ts +21 -21
  92. package/lib/components/form/src/index.vue.d.ts +19 -19
  93. package/lib/components/form-item/index.d.ts +69 -69
  94. package/lib/components/form-item/src/index.vue.d.ts +21 -21
  95. package/lib/components/header/index.d.ts +19 -19
  96. package/lib/components/header/src/index.vue.d.ts +1 -1
  97. package/lib/components/index.js +2 -0
  98. package/lib/components/input-tag/index.d.ts +15 -15
  99. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  100. package/lib/components/layout/index.d.ts +30 -30
  101. package/lib/components/layout/src/index.vue.d.ts +10 -10
  102. package/lib/components/page/index.d.ts +533 -533
  103. package/lib/components/page/src/index.vue.d.ts +181 -181
  104. package/lib/components/pagination/index.d.ts +42 -42
  105. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  106. package/lib/components/radio/index.d.ts +35 -35
  107. package/lib/components/radio/src/index.vue.d.ts +27 -27
  108. package/lib/components/render/index.d.ts +3 -3
  109. package/lib/components/render/src/index.vue.d.ts +1 -1
  110. package/lib/components/search/index.d.ts +243 -243
  111. package/lib/components/search/src/index.vue.d.ts +73 -73
  112. package/lib/components/sidebar/index.d.ts +15 -15
  113. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  114. package/lib/components/steps-form/index.d.ts +23 -23
  115. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  116. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  117. package/lib/components/utils/index.d.ts +2 -2
  118. package/lib/components/yc-dialog/index.d.ts +24 -24
  119. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  120. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  121. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  122. package/lib/components/yc-more-actions/index.d.ts +46 -46
  123. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  124. package/lib/components/yc-plus-page/index.d.ts +2 -0
  125. package/lib/components/yc-plus-page/index.js +2 -0
  126. package/lib/components/yc-plus-page/src/index.vue.d.ts +436 -361
  127. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  128. package/lib/components/yc-plus-page/src/index.vue2.js +89 -57
  129. package/lib/components/yc-plus-page/src/type.d.ts +9 -0
  130. package/lib/components/yc-segmented/index.d.ts +2 -2
  131. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  132. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  133. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  134. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  135. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  136. package/lib/hooks/index.d.ts +1 -0
  137. package/lib/hooks/index.js +2 -0
  138. package/lib/hooks/usePlusFormReset.d.ts +244 -244
  139. package/lib/hooks/useTableDragScroll.d.ts +35 -0
  140. package/lib/hooks/useTableDragScroll.js +203 -0
  141. package/lib/index.css +11 -11
  142. package/lib/index.js +2 -0
  143. package/lib/version.d.ts +1 -1
  144. package/lib/version.js +1 -1
  145. package/lib/yc-components/version.d.ts +1 -1
  146. package/locale/en.js +1 -1
  147. package/locale/en.min.js +1 -1
  148. package/locale/en.min.mjs +1 -1
  149. package/locale/en.mjs +1 -1
  150. package/locale/ja.js +1 -1
  151. package/locale/ja.min.js +1 -1
  152. package/locale/ja.min.mjs +1 -1
  153. package/locale/ja.mjs +1 -1
  154. package/locale/ko.js +1 -1
  155. package/locale/ko.min.js +1 -1
  156. package/locale/ko.min.mjs +1 -1
  157. package/locale/ko.mjs +1 -1
  158. package/locale/zh-cn.js +1 -1
  159. package/locale/zh-cn.min.js +1 -1
  160. package/locale/zh-cn.min.mjs +1 -1
  161. package/locale/zh-cn.mjs +1 -1
  162. package/locale/zh-tw.js +1 -1
  163. package/locale/zh-tw.min.js +1 -1
  164. package/locale/zh-tw.min.mjs +1 -1
  165. package/locale/zh-tw.mjs +1 -1
  166. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-pro-components v0.0.76 */
1
+ /*! yc-pro-components v0.0.78 */
2
2
  import { unref, isRef, ref, inject, isReactive, watch, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, useAttrs, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, pushScopeId, popScopeId, toRefs, useSlots, onUnmounted, resolveDirective, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow, createStaticVNode, hasInjectionContext, markRaw, effectScope, toRaw } from 'vue';
3
3
  import { dayjs, localeContextKey, ElDialog, ElButton, ElPagination, ElRadioGroup, ElRadio, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon, ElTooltip, ElPopconfirm, ElLink, ElMessageBox, useFormDisabled, ElDatePicker, ClickOutside, ElTag, ElInput, ElAutocomplete, ElCascader, ElCheckboxGroup, ElCheckbox, ElColorPicker, ElInputNumber, ElRate, ElSelect, ElOption, ElSlider, ElSwitch, ElTimePicker, ElTimeSelect, ElTransfer, ElTreeSelect, ElSelectV2, ElText, ElDivider, ElFormItem, ElOptionGroup, ElRow, ElCol, ElForm, ElCard, ElMessage, ElImage, ElProgress, ElAvatar, ElPopover, ElTable, vLoading, ElDescriptions, ElDescriptionsItem, ElDrawer, TableV2FixedDir, ElAutoResizer, ElTableV2, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop, ElUpload } from 'element-plus';
4
4
 
@@ -8613,6 +8613,204 @@ function useDictInjection(dictStore) {
8613
8613
  provide(DictStoreInjectionKey, dictStore);
8614
8614
  }
8615
8615
 
8616
+ const DEFAULT_RESIZE_AREA_WIDTH = 12;
8617
+ const DEFAULT_BORDER_COLOR = "var(--theme-color)";
8618
+ const DEFAULT_SCROLL_SELECTOR = ".el-scrollbar__wrap";
8619
+ function useTableDragScroll(wrapperRef, tableRef, options = {}) {
8620
+ var _a, _b, _c;
8621
+ const resizeAreaWidth = (_a = options.resizeAreaWidth) != null ? _a : DEFAULT_RESIZE_AREA_WIDTH;
8622
+ const borderColor = (_b = options.resizeBorderColor) != null ? _b : DEFAULT_BORDER_COLOR;
8623
+ const scrollSelector = (_c = options.scrollContainerSelector) != null ? _c : DEFAULT_SCROLL_SELECTOR;
8624
+ const isDragging = ref(false);
8625
+ const isResizing = ref(false);
8626
+ const startX = ref(0);
8627
+ const scrollLeft = ref(0);
8628
+ const scrollContainer = ref(null);
8629
+ const isEnabled = () => {
8630
+ const enabled = options.enabled;
8631
+ if (enabled === void 0) return true;
8632
+ if (typeof enabled === "boolean") return enabled;
8633
+ return enabled.value;
8634
+ };
8635
+ const getTableEl = () => {
8636
+ var _a2;
8637
+ const fromRef = (_a2 = tableRef == null ? void 0 : tableRef.value) == null ? void 0 : _a2.$el;
8638
+ if (fromRef) return fromRef;
8639
+ const wrapper = wrapperRef.value;
8640
+ if (!wrapper) return null;
8641
+ return wrapper.querySelector(".el-table");
8642
+ };
8643
+ const refreshScrollContainer = () => {
8644
+ const tableEl = getTableEl();
8645
+ if (tableEl) {
8646
+ scrollContainer.value = tableEl.querySelector(scrollSelector);
8647
+ }
8648
+ };
8649
+ const isInsideTable = (e) => {
8650
+ const tableEl = getTableEl();
8651
+ if (!tableEl) return false;
8652
+ const target = e.target;
8653
+ return !!target && tableEl.contains(target);
8654
+ };
8655
+ const isInResizeArea = (e, th) => {
8656
+ const rect = th.getBoundingClientRect();
8657
+ const mouseX = e.clientX;
8658
+ return mouseX >= rect.right - resizeAreaWidth && mouseX <= rect.right + 4;
8659
+ };
8660
+ const getCurrentColumn = (e) => {
8661
+ var _a2;
8662
+ let current = e.target;
8663
+ while (current && ((_a2 = current.tagName) == null ? void 0 : _a2.toLowerCase()) !== "th") {
8664
+ current = current.parentElement;
8665
+ if (!current || current === wrapperRef.value) return null;
8666
+ }
8667
+ return current;
8668
+ };
8669
+ const clearAllHeaderStyles = () => {
8670
+ const tableEl = getTableEl();
8671
+ if (!tableEl) return;
8672
+ const headers = tableEl.querySelectorAll("th");
8673
+ headers.forEach((header) => {
8674
+ const h = header;
8675
+ h.style.borderRight = "";
8676
+ h.style.cursor = "";
8677
+ });
8678
+ };
8679
+ const onMouseDown = (e) => {
8680
+ if (!isEnabled()) return;
8681
+ if (!isInsideTable(e)) return;
8682
+ if (!scrollContainer.value) {
8683
+ refreshScrollContainer();
8684
+ if (!scrollContainer.value) return;
8685
+ }
8686
+ const target = e.target;
8687
+ const column = getCurrentColumn(e);
8688
+ if (column && isInResizeArea(e, column)) {
8689
+ isDragging.value = false;
8690
+ isResizing.value = true;
8691
+ return;
8692
+ }
8693
+ if (target.classList.contains("noclick")) {
8694
+ isDragging.value = false;
8695
+ isResizing.value = true;
8696
+ return;
8697
+ }
8698
+ isDragging.value = true;
8699
+ isResizing.value = false;
8700
+ startX.value = e.clientX;
8701
+ scrollLeft.value = scrollContainer.value.scrollLeft;
8702
+ if (wrapperRef.value) {
8703
+ wrapperRef.value.style.cursor = "";
8704
+ }
8705
+ target.style.cursor = "";
8706
+ };
8707
+ const onMouseMove = (e) => {
8708
+ var _a2, _b2, _c2;
8709
+ if (!isEnabled()) return;
8710
+ const target = e.target;
8711
+ const parentElement = target.parentElement;
8712
+ const insideTable = isInsideTable(e);
8713
+ if (!insideTable) {
8714
+ if (wrapperRef.value) {
8715
+ wrapperRef.value.style.cursor = "";
8716
+ }
8717
+ if (isDragging.value && scrollContainer.value) {
8718
+ const deltaX2 = e.clientX - startX.value;
8719
+ scrollContainer.value.scrollLeft = scrollLeft.value - deltaX2;
8720
+ }
8721
+ return;
8722
+ }
8723
+ if (target.classList.contains("drag-disabled")) {
8724
+ target.style.cursor = "pointer";
8725
+ return;
8726
+ }
8727
+ const column = getCurrentColumn(e);
8728
+ if (column) {
8729
+ const allHeaders = (_a2 = column.parentElement) == null ? void 0 : _a2.querySelectorAll("th");
8730
+ if (isInResizeArea(e, column)) {
8731
+ isDragging.value = false;
8732
+ isResizing.value = true;
8733
+ column.style.borderRight = `2px solid ${borderColor}`;
8734
+ allHeaders == null ? void 0 : allHeaders.forEach((header) => {
8735
+ const h = header;
8736
+ if (h !== column) {
8737
+ h.style.borderRight = "";
8738
+ h.style.cursor = "";
8739
+ }
8740
+ });
8741
+ return;
8742
+ } else {
8743
+ allHeaders == null ? void 0 : allHeaders.forEach((header) => {
8744
+ const h = header;
8745
+ h.style.borderRight = "";
8746
+ h.style.cursor = "";
8747
+ });
8748
+ isResizing.value = false;
8749
+ }
8750
+ }
8751
+ if (target.classList.contains("noclick") || target.classList.contains("el-table__column-resize-proxy")) {
8752
+ isDragging.value = false;
8753
+ isResizing.value = true;
8754
+ return;
8755
+ }
8756
+ if (isResizing.value || ((_b2 = parentElement == null ? void 0 : parentElement.tagName) == null ? void 0 : _b2.toLowerCase()) === "th" || ((_c2 = target.tagName) == null ? void 0 : _c2.toLowerCase()) === "th") {
8757
+ isDragging.value = false;
8758
+ return;
8759
+ }
8760
+ if (target.classList.contains("edit-icon")) {
8761
+ target.style.cursor = "pointer";
8762
+ return;
8763
+ }
8764
+ isResizing.value = false;
8765
+ target.style.cursor = "";
8766
+ if (wrapperRef.value) {
8767
+ wrapperRef.value.style.cursor = "grab";
8768
+ }
8769
+ if (!isDragging.value || !scrollContainer.value) return;
8770
+ const deltaX = e.clientX - startX.value;
8771
+ scrollContainer.value.scrollLeft = scrollLeft.value - deltaX;
8772
+ };
8773
+ const onMouseUp = () => {
8774
+ isDragging.value = false;
8775
+ isResizing.value = false;
8776
+ if (wrapperRef.value) {
8777
+ wrapperRef.value.style.cursor = "";
8778
+ }
8779
+ clearAllHeaderStyles();
8780
+ };
8781
+ const onTableBodyOver = () => {
8782
+ const ths = document.querySelectorAll(".el-table__header th");
8783
+ ths.forEach((th) => {
8784
+ const h = th;
8785
+ h.style.borderRight = "";
8786
+ h.style.cursor = "";
8787
+ });
8788
+ };
8789
+ let tableBodyEl = null;
8790
+ onMounted(() => {
8791
+ document.addEventListener("mousemove", onMouseMove);
8792
+ document.addEventListener("mouseup", onMouseUp);
8793
+ requestAnimationFrame(() => {
8794
+ var _a2;
8795
+ refreshScrollContainer();
8796
+ const tableEl = getTableEl();
8797
+ tableBodyEl = (_a2 = tableEl == null ? void 0 : tableEl.querySelector(".el-table__body")) != null ? _a2 : null;
8798
+ tableBodyEl == null ? void 0 : tableBodyEl.addEventListener("mouseover", onTableBodyOver);
8799
+ });
8800
+ });
8801
+ onBeforeUnmount(() => {
8802
+ document.removeEventListener("mousemove", onMouseMove);
8803
+ document.removeEventListener("mouseup", onMouseUp);
8804
+ tableBodyEl == null ? void 0 : tableBodyEl.removeEventListener("mouseover", onTableBodyOver);
8805
+ });
8806
+ return {
8807
+ onMouseDown,
8808
+ isDragging,
8809
+ isResizing,
8810
+ refreshScrollContainer
8811
+ };
8812
+ }
8813
+
8616
8814
  const _hoisted_1$v = { class: "plus-dialog-body" };
8617
8815
  var _sfc_main$O = /* @__PURE__ */ defineComponent({
8618
8816
  ...{
@@ -33206,7 +33404,8 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33206
33404
  hideHeaderFilter: { type: Boolean, default: true },
33207
33405
  columnCacheKey: { default: void 0 },
33208
33406
  disableColumnCache: { type: Boolean, default: false },
33209
- columnSettingsText: { default: void 0 }
33407
+ columnSettingsText: { default: void 0 },
33408
+ dragScroll: { type: [Boolean, Object], default: false }
33210
33409
  },
33211
33410
  emits: ["header-filter-confirm", "header-filter-reset"],
33212
33411
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -33217,6 +33416,21 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33217
33416
  const plusPageConfig = useYcComponentConfig("plusPage");
33218
33417
  const plusPageRef = ref();
33219
33418
  const rootRef = ref();
33419
+ const dragScrollWrapperRef = ref(null);
33420
+ const dragScrollEnabled = computed(() => props.dragScroll !== false && props.dragScroll != null);
33421
+ const dragScrollOptions = computed(() => {
33422
+ const value = props.dragScroll;
33423
+ if (value && typeof value === "object") return value;
33424
+ return {};
33425
+ });
33426
+ const { onMouseDown: onDragScrollMouseDown } = useTableDragScroll(
33427
+ dragScrollWrapperRef,
33428
+ void 0,
33429
+ {
33430
+ ...dragScrollOptions.value,
33431
+ enabled: dragScrollEnabled
33432
+ }
33433
+ );
33220
33434
  const plusTableInstance = computed(() => {
33221
33435
  var _a;
33222
33436
  return (_a = plusPageRef.value) == null ? void 0 : _a.plusTableInstance;
@@ -33634,6 +33848,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33634
33848
  void resolvedColumnSettingsText.value;
33635
33849
  void hasRequest.value;
33636
33850
  void showDefaultColumnSettingsIcon.value;
33851
+ void dragScrollEnabled.value;
33637
33852
  __expose({
33638
33853
  plusPageRef,
33639
33854
  plusTableInstance,
@@ -33691,62 +33906,76 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33691
33906
  class: normalizeClass(["yc-plus-page", { "yc-plus-page--borderless": isBorderless.value }])
33692
33907
  },
33693
33908
  [
33694
- createVNode(unref(PlusPage), mergeProps({
33695
- ref_key: "plusPageRef",
33696
- ref: plusPageRef
33697
- }, { ...props, ..._ctx.$attrs }, {
33698
- columns: enhancedColumns.value,
33699
- "is-card": _ctx.isCard,
33700
- request: wrappedRequest.value,
33701
- search: mergedSearch.value,
33702
- "search-card-props": mergedSearchCardProps.value,
33703
- "table-card-props": mergedTableCardProps.value,
33704
- table: mergedTable.value,
33705
- pagination: mergedPagination.value,
33706
- "default-page-info": { page: 1, pageSize: DEFAULT_PAGE_SIZE },
33707
- onFilterTableHeader: handleFilterTableHeader,
33708
- onHeaderDragend: handleHeaderDragend
33709
- }), createSlots({
33710
- default: withCtx(() => [
33711
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
33712
- ]),
33713
- _: 2
33714
- /* DYNAMIC */
33715
- }, [
33716
- _ctx.$slots["column-settings-icon"] ? {
33717
- name: "column-settings-icon",
33718
- fn: withCtx(() => [
33719
- renderSlot(_ctx.$slots, "column-settings-icon", {}, void 0, true)
33720
- ]),
33721
- key: "0"
33722
- } : showDefaultColumnSettingsIcon.value ? {
33723
- name: "column-settings-icon",
33724
- fn: withCtx(() => [
33725
- createElementVNode("div", { class: "column-settings-wrapper" }, [
33726
- createVNode(unref(YcSvgIcon), {
33727
- src: fieldSettingIconUrl.value,
33728
- size: 16
33729
- }, null, 8, ["src"]),
33730
- createElementVNode(
33731
- "span",
33732
- { class: "column-settings-text" },
33733
- toDisplayString(resolvedColumnSettingsText.value),
33734
- 1
33735
- /* TEXT */
33736
- )
33737
- ])
33738
- ]),
33739
- key: "1"
33740
- } : void 0,
33741
- renderList(_ctx.$slots, (_, name) => {
33742
- return {
33743
- name,
33744
- fn: withCtx((slotProps) => [
33745
- name !== "column-settings-icon" && name !== "default" ? renderSlot(_ctx.$slots, name, normalizeProps(mergeProps({ key: 0 }, slotProps)), void 0, true) : createCommentVNode("v-if", true)
33746
- ])
33747
- };
33748
- })
33749
- ]), 1040, ["columns", "is-card", "request", "search", "search-card-props", "table-card-props", "table", "pagination", "default-page-info"])
33909
+ createCommentVNode(" \u62D6\u62FD\u6EDA\u52A8\u5305\u88F9\u5C42\uFF1AdragScroll \u542F\u7528\u65F6\u4ECB\u5165\uFF0C\u4F46\u59CB\u7EC8\u4FDD\u7559 ref\uFF0C\n \u4EE5\u4FDD\u8BC1 mousedown \u900F\u4F20 + hook \u5185\u90E8 DOM \u67E5\u8BE2\u6B63\u5E38 "),
33910
+ createElementVNode(
33911
+ "div",
33912
+ {
33913
+ ref_key: "dragScrollWrapperRef",
33914
+ ref: dragScrollWrapperRef,
33915
+ class: normalizeClass(["yc-plus-page__drag-wrapper", { "yc-plus-page__drag-wrapper--enabled": dragScrollEnabled.value }]),
33916
+ onMousedown: _cache[0] || (_cache[0] = ($event) => dragScrollEnabled.value ? unref(onDragScrollMouseDown)($event) : void 0)
33917
+ },
33918
+ [
33919
+ createVNode(unref(PlusPage), mergeProps({
33920
+ ref_key: "plusPageRef",
33921
+ ref: plusPageRef
33922
+ }, { ...props, ..._ctx.$attrs }, {
33923
+ columns: enhancedColumns.value,
33924
+ "is-card": _ctx.isCard,
33925
+ request: wrappedRequest.value,
33926
+ search: mergedSearch.value,
33927
+ "search-card-props": mergedSearchCardProps.value,
33928
+ "table-card-props": mergedTableCardProps.value,
33929
+ table: mergedTable.value,
33930
+ pagination: mergedPagination.value,
33931
+ "default-page-info": { page: 1, pageSize: DEFAULT_PAGE_SIZE },
33932
+ onFilterTableHeader: handleFilterTableHeader,
33933
+ onHeaderDragend: handleHeaderDragend
33934
+ }), createSlots({
33935
+ default: withCtx(() => [
33936
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
33937
+ ]),
33938
+ _: 2
33939
+ /* DYNAMIC */
33940
+ }, [
33941
+ _ctx.$slots["column-settings-icon"] ? {
33942
+ name: "column-settings-icon",
33943
+ fn: withCtx(() => [
33944
+ renderSlot(_ctx.$slots, "column-settings-icon", {}, void 0, true)
33945
+ ]),
33946
+ key: "0"
33947
+ } : showDefaultColumnSettingsIcon.value ? {
33948
+ name: "column-settings-icon",
33949
+ fn: withCtx(() => [
33950
+ createElementVNode("div", { class: "column-settings-wrapper" }, [
33951
+ createVNode(unref(YcSvgIcon), {
33952
+ src: fieldSettingIconUrl.value,
33953
+ size: 16
33954
+ }, null, 8, ["src"]),
33955
+ createElementVNode(
33956
+ "span",
33957
+ { class: "column-settings-text" },
33958
+ toDisplayString(resolvedColumnSettingsText.value),
33959
+ 1
33960
+ /* TEXT */
33961
+ )
33962
+ ])
33963
+ ]),
33964
+ key: "1"
33965
+ } : void 0,
33966
+ renderList(_ctx.$slots, (_, name) => {
33967
+ return {
33968
+ name,
33969
+ fn: withCtx((slotProps) => [
33970
+ name !== "column-settings-icon" && name !== "default" ? renderSlot(_ctx.$slots, name, normalizeProps(mergeProps({ key: 0 }, slotProps)), void 0, true) : createCommentVNode("v-if", true)
33971
+ ])
33972
+ };
33973
+ })
33974
+ ]), 1040, ["columns", "is-card", "request", "search", "search-card-props", "table-card-props", "table", "pagination", "default-page-info"])
33975
+ ],
33976
+ 34
33977
+ /* CLASS, NEED_HYDRATION */
33978
+ )
33750
33979
  ],
33751
33980
  2
33752
33981
  /* CLASS */
@@ -33755,7 +33984,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33755
33984
  }
33756
33985
  });
33757
33986
 
33758
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-73380467"], ["__file", "index.vue"]]);
33987
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-3ce473db"], ["__file", "index.vue"]]);
33759
33988
 
33760
33989
  function compareValues(a, b) {
33761
33990
  if (a == null && b == null) return 0;
@@ -64300,8 +64529,8 @@ function createDictStore(config) {
64300
64529
  });
64301
64530
  }
64302
64531
 
64303
- const version = "0.0.76";
64532
+ const version = "0.0.78";
64304
64533
 
64305
64534
  const install = installer.install;
64306
64535
 
64307
- export { DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DictStoreInjectionKey, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, PlusVirtualTable, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, YcBatchImportDialog as ReBatchImportDialog, YcCard as ReCard, YcCol as ReCol, YcConfigProvider as ReConfigProvider, ReDialog, YcDownloadDialog as ReDownloadDialog, ReDrawer, ReFormContainerHeader, YcLineTree as ReLineTree, ReMoreActions, YcCountTo as ReNormalCountTo, YcPerms as RePerms, RePlusPage, RePlusTree, YcSegmented as ReSegmented, YcSelectV2 as ReSelectV2, YcStatusDialog as ReStatusDialog, YcSvgIcon as ReSvgIcon, YcTabsWithFilter as ReTabsWithFilter, YcText as ReText, YcReboundCountTo as ReboundCountTo, SIZE_MAP, STATUS_CONFIG_MAP, TableColumnsEmptyTextInjectionKey, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, YcBatchImportDialog, YcBatchImportDialogWithInstall, YcCard, YcCardWithInstall, YcCol, YcConfigProvider, YcCountTo, YcDialog, YcDownloadDialog, YcDownloadDialogWithInstall, YcDrawer, YcFlicker, YcFormContainerHeader, YcLineTree, YcLineTreeWithInstall, YcMoreActions, YcPerms, YcPermsWithInstall, YcPlusPage, YcPlusTree, YcReboundCountTo, YcReboundCountToWithInstall, YcSegmented, YcSegmentedWithInstall, YcSelectV2, YcStatusDialog, YcSvgIcon, YcTableHeaderFilterCell, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, createDictStore, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, fnPerm, n as hasFunctionPermission, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, a as useFunctionPermission, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };
64536
+ export { DEFAULT_CDN_CONFIG, DEFAULT_OPERATORS, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DictStoreInjectionKey, NO_VALUE_OPERATORS, OPERATOR_CATALOG, OPERATOR_LABELS, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, PlusVirtualTable, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, YcBatchImportDialog as ReBatchImportDialog, YcCard as ReCard, YcCol as ReCol, YcConfigProvider as ReConfigProvider, ReDialog, YcDownloadDialog as ReDownloadDialog, ReDrawer, ReFormContainerHeader, YcLineTree as ReLineTree, ReMoreActions, YcCountTo as ReNormalCountTo, YcPerms as RePerms, RePlusPage, RePlusTree, YcSegmented as ReSegmented, YcSelectV2 as ReSelectV2, YcStatusDialog as ReStatusDialog, YcSvgIcon as ReSvgIcon, YcTabsWithFilter as ReTabsWithFilter, YcText as ReText, YcReboundCountTo as ReboundCountTo, SIZE_MAP, STATUS_CONFIG_MAP, TableColumnsEmptyTextInjectionKey, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, YcBatchImportDialog, YcBatchImportDialogWithInstall, YcCard, YcCardWithInstall, YcCol, YcConfigProvider, YcCountTo, YcDialog, YcDownloadDialog, YcDownloadDialogWithInstall, YcDrawer, YcFlicker, YcFormContainerHeader, YcLineTree, YcLineTreeWithInstall, YcMoreActions, YcPerms, YcPermsWithInstall, YcPlusPage, YcPlusTree, YcReboundCountTo, YcReboundCountToWithInstall, YcSegmented, YcSegmentedWithInstall, YcSelectV2, YcStatusDialog, YcSvgIcon, YcTableHeaderFilterCell, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, createDictStore, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, fnPerm, n as hasFunctionPermission, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useColumnAdapter, useDialogFormConfig, useDictInjection, useDrawerFormConfig, a as useFunctionPermission, useGetOptions, useHeaderFilter, useLocalHeaderFilter, useLocale, usePlusFormReset, usePlusProConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, useTableDragScroll, useVirtualScroll, useVirtualSelection, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };
@@ -4,30 +4,30 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
4
4
  export type { PlusCheckCardProps } from './src/index.vue';
5
5
  export declare const PlusCheckCard: {
6
6
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
7
- title: {
8
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
9
- default: undefined;
7
+ size: {
8
+ type: PropType<"" | "default" | "small" | "large">;
9
+ default: string;
10
10
  };
11
- disabled: {
11
+ modelValue: {
12
12
  type: PropType<boolean>;
13
13
  default: boolean;
14
14
  };
15
- avatar: {
15
+ title: {
16
16
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
17
17
  default: undefined;
18
18
  };
19
- extra: {
20
- type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
19
+ avatar: {
20
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
21
21
  default: undefined;
22
22
  };
23
- size: {
24
- type: PropType<"" | "default" | "small" | "large">;
25
- default: string;
26
- };
27
- modelValue: {
23
+ disabled: {
28
24
  type: PropType<boolean>;
29
25
  default: boolean;
30
26
  };
27
+ extra: {
28
+ type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
29
+ default: undefined;
30
+ };
31
31
  description: {
32
32
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
33
33
  default: undefined;
@@ -37,38 +37,38 @@ export declare const PlusCheckCard: {
37
37
  default: () => {};
38
38
  };
39
39
  }>> & {
40
- onChange?: ((checked: boolean) => any) | undefined;
41
40
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
41
+ onChange?: ((checked: boolean) => any) | undefined;
42
42
  onExtra?: (() => any) | undefined;
43
43
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
44
  "update:modelValue": (checked: boolean) => void;
45
45
  change: (checked: boolean) => void;
46
46
  extra: () => void;
47
47
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
48
- title: {
49
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
50
- default: undefined;
48
+ size: {
49
+ type: PropType<"" | "default" | "small" | "large">;
50
+ default: string;
51
51
  };
52
- disabled: {
52
+ modelValue: {
53
53
  type: PropType<boolean>;
54
54
  default: boolean;
55
55
  };
56
- avatar: {
56
+ title: {
57
57
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
58
58
  default: undefined;
59
59
  };
60
- extra: {
61
- type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
60
+ avatar: {
61
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
62
62
  default: undefined;
63
63
  };
64
- size: {
65
- type: PropType<"" | "default" | "small" | "large">;
66
- default: string;
67
- };
68
- modelValue: {
64
+ disabled: {
69
65
  type: PropType<boolean>;
70
66
  default: boolean;
71
67
  };
68
+ extra: {
69
+ type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
70
+ default: undefined;
71
+ };
72
72
  description: {
73
73
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
74
74
  default: undefined;
@@ -78,16 +78,16 @@ export declare const PlusCheckCard: {
78
78
  default: () => {};
79
79
  };
80
80
  }>> & {
81
- onChange?: ((checked: boolean) => any) | undefined;
82
81
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
82
+ onChange?: ((checked: boolean) => any) | undefined;
83
83
  onExtra?: (() => any) | undefined;
84
84
  }, {
85
+ size: "" | "default" | "small" | "large";
86
+ modelValue: boolean;
85
87
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
86
- disabled: boolean;
87
88
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
89
+ disabled: boolean;
88
90
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
89
- size: "" | "default" | "small" | "large";
90
- modelValue: boolean;
91
91
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
92
92
  avatarProps: RecordType;
93
93
  }, true, {}, {}, {
@@ -98,30 +98,30 @@ export declare const PlusCheckCard: {
98
98
  M: {};
99
99
  Defaults: {};
100
100
  }, Readonly< ExtractPropTypes<{
101
- title: {
102
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
103
- default: undefined;
101
+ size: {
102
+ type: PropType<"" | "default" | "small" | "large">;
103
+ default: string;
104
104
  };
105
- disabled: {
105
+ modelValue: {
106
106
  type: PropType<boolean>;
107
107
  default: boolean;
108
108
  };
109
- avatar: {
109
+ title: {
110
110
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
111
111
  default: undefined;
112
112
  };
113
- extra: {
114
- type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
113
+ avatar: {
114
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
115
115
  default: undefined;
116
116
  };
117
- size: {
118
- type: PropType<"" | "default" | "small" | "large">;
119
- default: string;
120
- };
121
- modelValue: {
117
+ disabled: {
122
118
  type: PropType<boolean>;
123
119
  default: boolean;
124
120
  };
121
+ extra: {
122
+ type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
123
+ default: undefined;
124
+ };
125
125
  description: {
126
126
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
127
127
  default: undefined;
@@ -131,16 +131,16 @@ export declare const PlusCheckCard: {
131
131
  default: () => {};
132
132
  };
133
133
  }>> & {
134
- onChange?: ((checked: boolean) => any) | undefined;
135
134
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
135
+ onChange?: ((checked: boolean) => any) | undefined;
136
136
  onExtra?: (() => any) | undefined;
137
137
  }, {}, {}, {}, {}, {
138
+ size: "" | "default" | "small" | "large";
139
+ modelValue: boolean;
138
140
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
139
- disabled: boolean;
140
141
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
142
+ disabled: boolean;
141
143
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
142
- size: "" | "default" | "small" | "large";
143
- modelValue: boolean;
144
144
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
145
145
  avatarProps: RecordType;
146
146
  }>;
@@ -148,30 +148,30 @@ export declare const PlusCheckCard: {
148
148
  __isTeleport?: undefined;
149
149
  __isSuspense?: undefined;
150
150
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
151
- title: {
152
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
153
- default: undefined;
151
+ size: {
152
+ type: PropType<"" | "default" | "small" | "large">;
153
+ default: string;
154
154
  };
155
- disabled: {
155
+ modelValue: {
156
156
  type: PropType<boolean>;
157
157
  default: boolean;
158
158
  };
159
- avatar: {
159
+ title: {
160
160
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
161
161
  default: undefined;
162
162
  };
163
- extra: {
164
- type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
163
+ avatar: {
164
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
165
165
  default: undefined;
166
166
  };
167
- size: {
168
- type: PropType<"" | "default" | "small" | "large">;
169
- default: string;
170
- };
171
- modelValue: {
167
+ disabled: {
172
168
  type: PropType<boolean>;
173
169
  default: boolean;
174
170
  };
171
+ extra: {
172
+ type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
173
+ default: undefined;
174
+ };
175
175
  description: {
176
176
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
177
177
  default: undefined;
@@ -181,20 +181,20 @@ export declare const PlusCheckCard: {
181
181
  default: () => {};
182
182
  };
183
183
  }>> & {
184
- onChange?: ((checked: boolean) => any) | undefined;
185
184
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
185
+ onChange?: ((checked: boolean) => any) | undefined;
186
186
  onExtra?: (() => any) | undefined;
187
187
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
188
188
  "update:modelValue": (checked: boolean) => void;
189
189
  change: (checked: boolean) => void;
190
190
  extra: () => void;
191
191
  }, string, {
192
+ size: "" | "default" | "small" | "large";
193
+ modelValue: boolean;
192
194
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
193
- disabled: boolean;
194
195
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
196
+ disabled: boolean;
195
197
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
196
- size: "" | "default" | "small" | "large";
197
- modelValue: boolean;
198
198
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
199
199
  avatarProps: RecordType;
200
200
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {