yc-pro-components 0.0.78 → 0.0.79

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 (167) 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 +32 -32
  10. package/es/components/dialog-form/src/index.vue.d.ts +10 -10
  11. package/es/components/display-item/index.d.ts +44 -44
  12. package/es/components/display-item/src/index.vue.d.ts +25 -25
  13. package/es/components/drawer-form/index.d.ts +84 -84
  14. package/es/components/drawer-form/src/index.vue.d.ts +22 -22
  15. package/es/components/form/index.d.ts +73 -73
  16. package/es/components/form/src/form-content.vue.d.ts +25 -25
  17. package/es/components/form/src/index.vue.d.ts +21 -21
  18. package/es/components/form-item/index.d.ts +80 -80
  19. package/es/components/form-item/src/index.vue.d.ts +24 -24
  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/input-tag/index.d.ts +15 -15
  23. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  24. package/es/components/layout/index.d.ts +30 -30
  25. package/es/components/layout/src/index.vue.d.ts +10 -10
  26. package/es/components/page/index.d.ts +574 -574
  27. package/es/components/page/src/index.vue.d.ts +190 -190
  28. package/es/components/pagination/index.d.ts +42 -42
  29. package/es/components/pagination/src/index.vue.d.ts +3 -3
  30. package/es/components/radio/index.d.ts +35 -35
  31. package/es/components/radio/src/index.vue.d.ts +27 -27
  32. package/es/components/render/index.d.ts +6 -6
  33. package/es/components/render/src/index.vue.d.ts +2 -2
  34. package/es/components/search/index.d.ts +250 -250
  35. package/es/components/search/src/index.vue.d.ts +76 -76
  36. package/es/components/sidebar/index.d.ts +31 -31
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/steps-form/index.d.ts +24 -24
  39. package/es/components/steps-form/src/index.vue.d.ts +3 -3
  40. package/es/components/table/src/index.vue2.mjs +20 -3
  41. package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
  42. package/es/components/table/src/table-column.vue.d.ts +40 -40
  43. package/es/components/utils/index.d.ts +2 -2
  44. package/es/components/yc-count-to/index.d.ts +2 -2
  45. package/es/components/yc-count-to/src/normal/index.d.ts +2 -2
  46. package/es/components/yc-dialog/index.d.ts +24 -24
  47. package/es/components/yc-download-dialog/index.d.ts +19 -19
  48. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  49. package/es/components/yc-form-container-header/index.d.ts +12 -12
  50. package/es/components/yc-more-actions/index.d.ts +46 -46
  51. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  52. package/es/components/yc-plus-page/src/index.vue.d.ts +392 -392
  53. package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  54. package/es/components/yc-segmented/index.d.ts +2 -2
  55. package/es/components/yc-segmented/src/index.d.ts +2 -2
  56. package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
  57. package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  58. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  59. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  60. package/es/hooks/index.d.ts +1 -0
  61. package/es/hooks/index.mjs +1 -0
  62. package/es/hooks/usePlusFormReset.d.ts +286 -286
  63. package/es/hooks/useTableScrollbarTooltip.d.ts +29 -0
  64. package/es/hooks/useTableScrollbarTooltip.mjs +122 -0
  65. package/es/index.css +9 -9
  66. package/es/index.mjs +1 -0
  67. package/es/version.d.ts +1 -1
  68. package/es/version.mjs +1 -1
  69. package/es/yc-components/version.d.ts +1 -1
  70. package/index.css +1 -1
  71. package/index.js +139 -4
  72. package/index.min.js +12 -12
  73. package/index.min.mjs +12 -12
  74. package/index.mjs +139 -4
  75. package/lib/components/check-card/index.d.ts +61 -61
  76. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  77. package/lib/components/check-card-group/index.d.ts +43 -43
  78. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  79. package/lib/components/date-picker/index.d.ts +30 -30
  80. package/lib/components/date-picker/src/index.vue.d.ts +22 -22
  81. package/lib/components/dialog/index.d.ts +45 -45
  82. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  83. package/lib/components/dialog-form/index.d.ts +32 -32
  84. package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
  85. package/lib/components/display-item/index.d.ts +44 -44
  86. package/lib/components/display-item/src/index.vue.d.ts +25 -25
  87. package/lib/components/drawer-form/index.d.ts +84 -84
  88. package/lib/components/drawer-form/src/index.vue.d.ts +22 -22
  89. package/lib/components/form/index.d.ts +73 -73
  90. package/lib/components/form/src/form-content.vue.d.ts +25 -25
  91. package/lib/components/form/src/index.vue.d.ts +21 -21
  92. package/lib/components/form-item/index.d.ts +80 -80
  93. package/lib/components/form-item/src/index.vue.d.ts +24 -24
  94. package/lib/components/header/index.d.ts +19 -19
  95. package/lib/components/header/src/index.vue.d.ts +1 -1
  96. package/lib/components/input-tag/index.d.ts +15 -15
  97. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  98. package/lib/components/layout/index.d.ts +30 -30
  99. package/lib/components/layout/src/index.vue.d.ts +10 -10
  100. package/lib/components/page/index.d.ts +574 -574
  101. package/lib/components/page/src/index.vue.d.ts +190 -190
  102. package/lib/components/pagination/index.d.ts +42 -42
  103. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  104. package/lib/components/radio/index.d.ts +35 -35
  105. package/lib/components/radio/src/index.vue.d.ts +27 -27
  106. package/lib/components/render/index.d.ts +6 -6
  107. package/lib/components/render/src/index.vue.d.ts +2 -2
  108. package/lib/components/search/index.d.ts +250 -250
  109. package/lib/components/search/src/index.vue.d.ts +76 -76
  110. package/lib/components/sidebar/index.d.ts +31 -31
  111. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  112. package/lib/components/steps-form/index.d.ts +24 -24
  113. package/lib/components/steps-form/src/index.vue.d.ts +3 -3
  114. package/lib/components/table/src/index.vue2.js +19 -2
  115. package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
  116. package/lib/components/table/src/table-column.vue.d.ts +40 -40
  117. package/lib/components/utils/index.d.ts +2 -2
  118. package/lib/components/yc-count-to/index.d.ts +2 -2
  119. package/lib/components/yc-count-to/src/normal/index.d.ts +2 -2
  120. package/lib/components/yc-dialog/index.d.ts +24 -24
  121. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  122. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  123. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  124. package/lib/components/yc-more-actions/index.d.ts +46 -46
  125. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  126. package/lib/components/yc-plus-page/src/index.vue.d.ts +392 -392
  127. package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  128. package/lib/components/yc-segmented/index.d.ts +2 -2
  129. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  130. package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
  131. package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  132. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  133. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  134. package/lib/hooks/index.d.ts +1 -0
  135. package/lib/hooks/index.js +2 -0
  136. package/lib/hooks/usePlusFormReset.d.ts +286 -286
  137. package/lib/hooks/useTableScrollbarTooltip.d.ts +29 -0
  138. package/lib/hooks/useTableScrollbarTooltip.js +124 -0
  139. package/lib/index.css +9 -9
  140. package/lib/index.js +1 -0
  141. package/lib/version.d.ts +1 -1
  142. package/lib/version.js +1 -1
  143. package/lib/yc-components/version.d.ts +1 -1
  144. package/locale/en.js +1 -1
  145. package/locale/en.min.js +1 -1
  146. package/locale/en.min.mjs +1 -1
  147. package/locale/en.mjs +1 -1
  148. package/locale/ja.js +1 -1
  149. package/locale/ja.min.js +1 -1
  150. package/locale/ja.min.mjs +1 -1
  151. package/locale/ja.mjs +1 -1
  152. package/locale/ko.js +1 -1
  153. package/locale/ko.min.js +1 -1
  154. package/locale/ko.min.mjs +1 -1
  155. package/locale/ko.mjs +1 -1
  156. package/locale/zh-cn.js +1 -1
  157. package/locale/zh-cn.min.js +1 -1
  158. package/locale/zh-cn.min.mjs +1 -1
  159. package/locale/zh-cn.mjs +1 -1
  160. package/locale/zh-tw.js +1 -1
  161. package/locale/zh-tw.min.js +1 -1
  162. package/locale/zh-tw.min.mjs +1 -1
  163. package/locale/zh-tw.mjs +1 -1
  164. package/package.json +1 -1
  165. package/theme-chalk/index.css +1 -1
  166. package/theme-chalk/plus-table.css +1 -1
  167. package/theme-chalk/src/table.scss +315 -301
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-pro-components v0.0.78 */
1
+ /*! yc-pro-components v0.0.79 */
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
 
@@ -8811,6 +8811,125 @@ function useTableDragScroll(wrapperRef, tableRef, options = {}) {
8811
8811
  };
8812
8812
  }
8813
8813
 
8814
+ const DEFAULT_TOOLTIP = "\u5DE6\u53F3\u6EDA\u52A8\uFF1A\u6309\u4F4FShift\u952E\u6EDA\u52A8\u6ED1\u8F6E";
8815
+ const DEFAULT_HORIZONTAL_BAR_SELECTOR = ".el-scrollbar__bar.is-horizontal";
8816
+ const TOOLTIP_TARGET_CLASS = "plus-table__scrollbar-tooltip-target";
8817
+ function useTableScrollbarTooltip(tableRef, options = {}) {
8818
+ var _a, _b;
8819
+ const horizontalBarSelector = (_a = options.horizontalBarSelector) != null ? _a : DEFAULT_HORIZONTAL_BAR_SELECTOR;
8820
+ const triggerRef = shallowRef(null);
8821
+ const tooltipContent = ref((_b = options.content) != null ? _b : DEFAULT_TOOLTIP);
8822
+ const tooltipVisible = ref(false);
8823
+ let observer = null;
8824
+ let currentTarget = null;
8825
+ let onEnter = null;
8826
+ let onLeave = null;
8827
+ const isEnabled = () => {
8828
+ const enabled = options.enabled;
8829
+ if (enabled === void 0) return true;
8830
+ if (typeof enabled === "boolean") return enabled;
8831
+ return enabled.value;
8832
+ };
8833
+ const cleanupListeners = () => {
8834
+ if (currentTarget && onEnter && onLeave) {
8835
+ currentTarget.removeEventListener("mouseenter", onEnter);
8836
+ currentTarget.removeEventListener("mouseleave", onLeave);
8837
+ currentTarget.classList.remove(TOOLTIP_TARGET_CLASS);
8838
+ }
8839
+ currentTarget = null;
8840
+ onEnter = null;
8841
+ onLeave = null;
8842
+ tooltipVisible.value = false;
8843
+ };
8844
+ const findHorizontalBar = (tableEl) => {
8845
+ const bodyWrapper = tableEl.querySelector(".el-table__body-wrapper");
8846
+ const barInBody = bodyWrapper == null ? void 0 : bodyWrapper.querySelector(horizontalBarSelector);
8847
+ if (barInBody) return barInBody;
8848
+ const bars = tableEl.querySelectorAll(horizontalBarSelector);
8849
+ if (!bars.length) return null;
8850
+ return bars[bars.length - 1];
8851
+ };
8852
+ const bindTarget = (bar) => {
8853
+ if (currentTarget === bar) return;
8854
+ cleanupListeners();
8855
+ currentTarget = bar;
8856
+ bar.classList.add(TOOLTIP_TARGET_CLASS);
8857
+ onEnter = () => {
8858
+ tooltipVisible.value = true;
8859
+ };
8860
+ onLeave = () => {
8861
+ tooltipVisible.value = false;
8862
+ };
8863
+ bar.addEventListener("mouseenter", onEnter);
8864
+ bar.addEventListener("mouseleave", onLeave);
8865
+ triggerRef.value = bar;
8866
+ };
8867
+ const refresh = () => {
8868
+ var _a2, _b2;
8869
+ tooltipContent.value = (_a2 = options.content) != null ? _a2 : DEFAULT_TOOLTIP;
8870
+ if (!isEnabled()) {
8871
+ cleanupListeners();
8872
+ triggerRef.value = null;
8873
+ return;
8874
+ }
8875
+ const tableEl = (_b2 = tableRef.value) == null ? void 0 : _b2.$el;
8876
+ if (!tableEl) {
8877
+ cleanupListeners();
8878
+ triggerRef.value = null;
8879
+ return;
8880
+ }
8881
+ const horizontalBar = findHorizontalBar(tableEl);
8882
+ if (!horizontalBar) {
8883
+ cleanupListeners();
8884
+ triggerRef.value = null;
8885
+ return;
8886
+ }
8887
+ bindTarget(horizontalBar);
8888
+ };
8889
+ const setupObserver = (tableEl) => {
8890
+ observer == null ? void 0 : observer.disconnect();
8891
+ observer = new MutationObserver(() => {
8892
+ refresh();
8893
+ });
8894
+ observer.observe(tableEl, {
8895
+ childList: true,
8896
+ subtree: true,
8897
+ attributes: true,
8898
+ attributeFilter: ["style", "class"]
8899
+ });
8900
+ };
8901
+ watch(
8902
+ () => {
8903
+ var _a2;
8904
+ return (_a2 = tableRef.value) == null ? void 0 : _a2.$el;
8905
+ },
8906
+ (tableEl) => {
8907
+ observer == null ? void 0 : observer.disconnect();
8908
+ observer = null;
8909
+ if (!tableEl) {
8910
+ cleanupListeners();
8911
+ triggerRef.value = null;
8912
+ return;
8913
+ }
8914
+ nextTick(refresh);
8915
+ setupObserver(tableEl);
8916
+ },
8917
+ { immediate: true, flush: "post" }
8918
+ );
8919
+ onBeforeUnmount(() => {
8920
+ observer == null ? void 0 : observer.disconnect();
8921
+ observer = null;
8922
+ cleanupListeners();
8923
+ triggerRef.value = null;
8924
+ });
8925
+ return {
8926
+ triggerRef,
8927
+ tooltipContent,
8928
+ tooltipVisible,
8929
+ refresh
8930
+ };
8931
+ }
8932
+
8814
8933
  const _hoisted_1$v = { class: "plus-dialog-body" };
8815
8934
  var _sfc_main$O = /* @__PURE__ */ defineComponent({
8816
8935
  ...{
@@ -19108,6 +19227,11 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
19108
19227
  const columnsIsChange = ref(false);
19109
19228
  const filterColumns = ref([]);
19110
19229
  const tableInstance = shallowRef(null);
19230
+ const {
19231
+ triggerRef: scrollbarTooltipTrigger,
19232
+ tooltipContent: scrollbarTooltipContent,
19233
+ tooltipVisible: scrollbarTooltipVisible
19234
+ } = useTableScrollbarTooltip(tableInstance);
19111
19235
  const tableWrapperInstance = ref(null);
19112
19236
  const paginationInstance = ref(null);
19113
19237
  const state = reactive({
@@ -19478,13 +19602,24 @@ var _sfc_main$x = /* @__PURE__ */ defineComponent({
19478
19602
  }, 16, ["data", "height", "header-cell-style", "size", "row-key"])), [
19479
19603
  [unref(vLoading), _ctx.loadingStatus]
19480
19604
  ]),
19605
+ unref(scrollbarTooltipTrigger) ? (openBlock(), createBlock(unref(ElTooltip), {
19606
+ key: 1,
19607
+ visible: unref(scrollbarTooltipVisible),
19608
+ "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => isRef(scrollbarTooltipVisible) ? scrollbarTooltipVisible.value = $event : null),
19609
+ "virtual-triggering": "",
19610
+ "virtual-ref": unref(scrollbarTooltipTrigger),
19611
+ content: unref(scrollbarTooltipContent),
19612
+ placement: "top",
19613
+ "show-after": 0,
19614
+ "hide-after": 0
19615
+ }, null, 8, ["visible", "virtual-ref", "content"])) : createCommentVNode("v-if", true),
19481
19616
  createCommentVNode(" \u5206\u9875 "),
19482
19617
  _ctx.pagination ? (openBlock(), createBlock(unref(PlusPagination), mergeProps({
19483
- key: 1,
19618
+ key: 2,
19484
19619
  ref_key: "paginationInstance",
19485
19620
  ref: paginationInstance,
19486
19621
  modelValue: unref(subPageInfo),
19487
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(subPageInfo) ? subPageInfo.value = $event : null)
19622
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(subPageInfo) ? subPageInfo.value = $event : null)
19488
19623
  }, _ctx.pagination, { onChange: handlePaginationChange }), createSlots({
19489
19624
  _: 2
19490
19625
  /* DYNAMIC */
@@ -64529,7 +64664,7 @@ function createDictStore(config) {
64529
64664
  });
64530
64665
  }
64531
64666
 
64532
- const version = "0.0.78";
64667
+ const version = "0.0.79";
64533
64668
 
64534
64669
  const install = installer.install;
64535
64670
 
@@ -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
- size: {
8
- type: PropType<"" | "default" | "small" | "large">;
9
- default: string;
10
- };
11
- modelValue: {
12
- type: PropType<boolean>;
13
- default: boolean;
14
- };
15
7
  title: {
16
8
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
17
9
  default: undefined;
18
10
  };
19
- avatar: {
20
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
21
- default: undefined;
22
- };
23
11
  disabled: {
24
12
  type: PropType<boolean>;
25
13
  default: boolean;
26
14
  };
15
+ avatar: {
16
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
17
+ default: undefined;
18
+ };
27
19
  extra: {
28
20
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
29
21
  default: undefined;
30
22
  };
23
+ size: {
24
+ type: PropType<"" | "default" | "small" | "large">;
25
+ default: string;
26
+ };
27
+ modelValue: {
28
+ type: PropType<boolean>;
29
+ default: boolean;
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
- "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
41
40
  onChange?: ((checked: boolean) => any) | undefined;
41
+ "onUpdate:modelValue"?: ((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
- size: {
49
- type: PropType<"" | "default" | "small" | "large">;
50
- default: string;
51
- };
52
- modelValue: {
53
- type: PropType<boolean>;
54
- default: boolean;
55
- };
56
48
  title: {
57
49
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
58
50
  default: undefined;
59
51
  };
60
- avatar: {
61
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
62
- default: undefined;
63
- };
64
52
  disabled: {
65
53
  type: PropType<boolean>;
66
54
  default: boolean;
67
55
  };
56
+ avatar: {
57
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
58
+ default: undefined;
59
+ };
68
60
  extra: {
69
61
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
70
62
  default: undefined;
71
63
  };
64
+ size: {
65
+ type: PropType<"" | "default" | "small" | "large">;
66
+ default: string;
67
+ };
68
+ modelValue: {
69
+ type: PropType<boolean>;
70
+ default: boolean;
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
- "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
82
81
  onChange?: ((checked: boolean) => any) | undefined;
82
+ "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
83
83
  onExtra?: (() => any) | undefined;
84
84
  }, {
85
- size: "" | "default" | "small" | "large";
86
- modelValue: boolean;
87
85
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
88
- avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
89
86
  disabled: boolean;
87
+ avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
90
88
  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
- size: {
102
- type: PropType<"" | "default" | "small" | "large">;
103
- default: string;
104
- };
105
- modelValue: {
106
- type: PropType<boolean>;
107
- default: boolean;
108
- };
109
101
  title: {
110
102
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
111
103
  default: undefined;
112
104
  };
113
- avatar: {
114
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
115
- default: undefined;
116
- };
117
105
  disabled: {
118
106
  type: PropType<boolean>;
119
107
  default: boolean;
120
108
  };
109
+ avatar: {
110
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
111
+ default: undefined;
112
+ };
121
113
  extra: {
122
114
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
123
115
  default: undefined;
124
116
  };
117
+ size: {
118
+ type: PropType<"" | "default" | "small" | "large">;
119
+ default: string;
120
+ };
121
+ modelValue: {
122
+ type: PropType<boolean>;
123
+ default: boolean;
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
- "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
135
134
  onChange?: ((checked: boolean) => any) | undefined;
135
+ "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
136
136
  onExtra?: (() => any) | undefined;
137
137
  }, {}, {}, {}, {}, {
138
- size: "" | "default" | "small" | "large";
139
- modelValue: boolean;
140
138
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
141
- avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
142
139
  disabled: boolean;
140
+ avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
143
141
  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
- size: {
152
- type: PropType<"" | "default" | "small" | "large">;
153
- default: string;
154
- };
155
- modelValue: {
156
- type: PropType<boolean>;
157
- default: boolean;
158
- };
159
151
  title: {
160
152
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
161
153
  default: undefined;
162
154
  };
163
- avatar: {
164
- type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
165
- default: undefined;
166
- };
167
155
  disabled: {
168
156
  type: PropType<boolean>;
169
157
  default: boolean;
170
158
  };
159
+ avatar: {
160
+ type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
161
+ default: undefined;
162
+ };
171
163
  extra: {
172
164
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
173
165
  default: undefined;
174
166
  };
167
+ size: {
168
+ type: PropType<"" | "default" | "small" | "large">;
169
+ default: string;
170
+ };
171
+ modelValue: {
172
+ type: PropType<boolean>;
173
+ default: boolean;
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
- "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
185
184
  onChange?: ((checked: boolean) => any) | undefined;
185
+ "onUpdate:modelValue"?: ((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;
194
192
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
195
- avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
196
193
  disabled: boolean;
194
+ avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
197
195
  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 () => {
@@ -43,16 +43,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
43
43
  extra: undefined;
44
44
  disabled: boolean;
45
45
  }>>> & {
46
- "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
47
46
  onChange?: ((checked: boolean) => any) | undefined;
47
+ "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
48
48
  onExtra?: (() => any) | undefined;
49
49
  }, {
50
- size: "" | "default" | "small" | "large";
51
- modelValue: boolean;
52
50
  title: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
53
- avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
54
51
  disabled: boolean;
52
+ avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
55
53
  extra: (data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
54
+ size: "" | "default" | "small" | "large";
55
+ modelValue: boolean;
56
56
  description: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
57
57
  avatarProps: RecordType;
58
58
  }, {}>, {
@@ -1,35 +1,35 @@
1
1
  import { RenderTypes } from 'yc-pro-components';
2
- import { PlusCheckCardProps } from 'packages/yc-components';
3
2
  import { ValueType } from './src/index.vue';
3
+ import { PlusCheckCardProps } from 'packages/yc-components';
4
4
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
5
5
  export type { PlusCheckCardGroupProps } from './src/index.vue';
6
6
  export declare const PlusCheckCardGroup: {
7
7
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
8
- size: {
9
- type: PropType<"" | "default" | "small" | "large">;
10
- default: undefined;
11
- };
12
- modelValue: {
13
- type: PropType<ValueType>;
14
- default: () => never[];
15
- };
16
8
  disabled: {
17
9
  type: PropType<boolean>;
18
10
  default: boolean;
19
11
  };
12
+ size: {
13
+ type: PropType<"" | "default" | "small" | "large">;
14
+ default: undefined;
15
+ };
20
16
  options: {
21
17
  type: PropType<( PlusCheckCardProps & {
22
18
  value: string | number;
23
19
  })[]>;
24
20
  default: () => never[];
25
21
  };
22
+ modelValue: {
23
+ type: PropType<ValueType>;
24
+ default: () => never[];
25
+ };
26
26
  multiple: {
27
27
  type: PropType<boolean>;
28
28
  default: boolean;
29
29
  };
30
30
  }>> & {
31
- "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
32
31
  onChange?: ((checked: ValueType) => any) | undefined;
32
+ "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
33
33
  onExtra?: ((item: PlusCheckCardProps & {
34
34
  value: string | number;
35
35
  }) => any) | undefined;
@@ -40,41 +40,41 @@ export declare const PlusCheckCardGroup: {
40
40
  value: string | number;
41
41
  }) => void;
42
42
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
43
- size: {
44
- type: PropType<"" | "default" | "small" | "large">;
45
- default: undefined;
46
- };
47
- modelValue: {
48
- type: PropType<ValueType>;
49
- default: () => never[];
50
- };
51
43
  disabled: {
52
44
  type: PropType<boolean>;
53
45
  default: boolean;
54
46
  };
47
+ size: {
48
+ type: PropType<"" | "default" | "small" | "large">;
49
+ default: undefined;
50
+ };
55
51
  options: {
56
52
  type: PropType<( PlusCheckCardProps & {
57
53
  value: string | number;
58
54
  })[]>;
59
55
  default: () => never[];
60
56
  };
57
+ modelValue: {
58
+ type: PropType<ValueType>;
59
+ default: () => never[];
60
+ };
61
61
  multiple: {
62
62
  type: PropType<boolean>;
63
63
  default: boolean;
64
64
  };
65
65
  }>> & {
66
- "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
67
66
  onChange?: ((checked: ValueType) => any) | undefined;
67
+ "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
68
68
  onExtra?: ((item: PlusCheckCardProps & {
69
69
  value: string | number;
70
70
  }) => any) | undefined;
71
71
  }, {
72
- size: "" | "default" | "small" | "large";
73
- modelValue: ValueType;
74
72
  disabled: boolean;
73
+ size: "" | "default" | "small" | "large";
75
74
  options: ( PlusCheckCardProps & {
76
75
  value: string | number;
77
76
  })[];
77
+ modelValue: ValueType;
78
78
  multiple: boolean;
79
79
  }, true, {}, {}, {
80
80
  P: {};
@@ -84,72 +84,72 @@ export declare const PlusCheckCardGroup: {
84
84
  M: {};
85
85
  Defaults: {};
86
86
  }, Readonly< ExtractPropTypes<{
87
- size: {
88
- type: PropType<"" | "default" | "small" | "large">;
89
- default: undefined;
90
- };
91
- modelValue: {
92
- type: PropType<ValueType>;
93
- default: () => never[];
94
- };
95
87
  disabled: {
96
88
  type: PropType<boolean>;
97
89
  default: boolean;
98
90
  };
91
+ size: {
92
+ type: PropType<"" | "default" | "small" | "large">;
93
+ default: undefined;
94
+ };
99
95
  options: {
100
96
  type: PropType<( PlusCheckCardProps & {
101
97
  value: string | number;
102
98
  })[]>;
103
99
  default: () => never[];
104
100
  };
101
+ modelValue: {
102
+ type: PropType<ValueType>;
103
+ default: () => never[];
104
+ };
105
105
  multiple: {
106
106
  type: PropType<boolean>;
107
107
  default: boolean;
108
108
  };
109
109
  }>> & {
110
- "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
111
110
  onChange?: ((checked: ValueType) => any) | undefined;
111
+ "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
112
112
  onExtra?: ((item: PlusCheckCardProps & {
113
113
  value: string | number;
114
114
  }) => any) | undefined;
115
115
  }, {}, {}, {}, {}, {
116
- size: "" | "default" | "small" | "large";
117
- modelValue: ValueType;
118
116
  disabled: boolean;
117
+ size: "" | "default" | "small" | "large";
119
118
  options: ( PlusCheckCardProps & {
120
119
  value: string | number;
121
120
  })[];
121
+ modelValue: ValueType;
122
122
  multiple: boolean;
123
123
  }>;
124
124
  __isFragment?: undefined;
125
125
  __isTeleport?: undefined;
126
126
  __isSuspense?: undefined;
127
127
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
128
- size: {
129
- type: PropType<"" | "default" | "small" | "large">;
130
- default: undefined;
131
- };
132
- modelValue: {
133
- type: PropType<ValueType>;
134
- default: () => never[];
135
- };
136
128
  disabled: {
137
129
  type: PropType<boolean>;
138
130
  default: boolean;
139
131
  };
132
+ size: {
133
+ type: PropType<"" | "default" | "small" | "large">;
134
+ default: undefined;
135
+ };
140
136
  options: {
141
137
  type: PropType<( PlusCheckCardProps & {
142
138
  value: string | number;
143
139
  })[]>;
144
140
  default: () => never[];
145
141
  };
142
+ modelValue: {
143
+ type: PropType<ValueType>;
144
+ default: () => never[];
145
+ };
146
146
  multiple: {
147
147
  type: PropType<boolean>;
148
148
  default: boolean;
149
149
  };
150
150
  }>> & {
151
- "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
152
151
  onChange?: ((checked: ValueType) => any) | undefined;
152
+ "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
153
153
  onExtra?: ((item: PlusCheckCardProps & {
154
154
  value: string | number;
155
155
  }) => any) | undefined;
@@ -160,12 +160,12 @@ export declare const PlusCheckCardGroup: {
160
160
  value: string | number;
161
161
  }) => void;
162
162
  }, string, {
163
- size: "" | "default" | "small" | "large";
164
- modelValue: ValueType;
165
163
  disabled: boolean;
164
+ size: "" | "default" | "small" | "large";
166
165
  options: ( PlusCheckCardProps & {
167
166
  value: string | number;
168
167
  })[];
168
+ modelValue: ValueType;
169
169
  multiple: boolean;
170
170
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
171
171
  $slots: Partial<Record<string, (_: {
@@ -45,18 +45,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
45
45
  disabled: boolean;
46
46
  multiple: boolean;
47
47
  }>>> & {
48
- "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
49
48
  onChange?: ((checked: ValueType) => any) | undefined;
49
+ "onUpdate:modelValue"?: ((checked: ValueType) => any) | undefined;
50
50
  onExtra?: ((item: PlusCheckCardProps & {
51
51
  value: string | number;
52
52
  }) => any) | undefined;
53
53
  }, {
54
- size: "" | "default" | "small" | "large";
55
- modelValue: ValueType;
56
54
  disabled: boolean;
55
+ size: "" | "default" | "small" | "large";
57
56
  options: (PlusCheckCardProps & {
58
57
  value: string | number;
59
58
  })[];
59
+ modelValue: ValueType;
60
60
  multiple: boolean;
61
61
  }, {}>, Partial<Record<string, (_: {
62
62
  avatar: string | undefined;