yc-pro-components 0.0.11 → 0.0.13

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 (194) 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 +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog-form/index.d.ts +44 -32
  10. package/es/components/dialog-form/src/index.vue.d.ts +22 -10
  11. package/es/components/display-item/index.d.ts +80 -44
  12. package/es/components/display-item/src/index.vue.d.ts +61 -25
  13. package/es/components/drawer-form/index.d.ts +63 -51
  14. package/es/components/drawer-form/src/index.vue.d.ts +23 -11
  15. package/es/components/form/index.d.ts +71 -47
  16. package/es/components/form/src/form-content.vue.d.ts +60 -24
  17. package/es/components/form/src/index.vue.d.ts +43 -19
  18. package/es/components/form-item/index.d.ts +129 -57
  19. package/es/components/form-item/src/index.vue.d.ts +46 -15
  20. package/es/components/form-item/src/index.vue2.mjs +1 -0
  21. package/es/components/header/index.d.ts +19 -19
  22. package/es/components/header/src/index.vue.d.ts +1 -1
  23. package/es/components/input-tag/index.d.ts +20 -20
  24. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  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 +751 -469
  28. package/es/components/page/src/index.vue.d.ts +263 -161
  29. package/es/components/page/src/index.vue2.mjs +1 -1
  30. package/es/components/pagination/index.d.ts +42 -42
  31. package/es/components/pagination/src/index.vue.d.ts +3 -3
  32. package/es/components/radio/index.d.ts +35 -35
  33. package/es/components/radio/src/index.vue.d.ts +27 -27
  34. package/es/components/render/index.d.ts +6 -6
  35. package/es/components/render/src/index.vue.d.ts +2 -2
  36. package/es/components/search/index.d.ts +284 -162
  37. package/es/components/search/src/index.vue.d.ts +95 -53
  38. package/es/components/search/src/index.vue2.mjs +14 -4
  39. package/es/components/search/src/type.d.ts +9 -0
  40. package/es/components/sidebar/index.d.ts +15 -15
  41. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  42. package/es/components/steps-form/index.d.ts +23 -23
  43. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  44. package/es/components/table/index.d.ts +54 -54
  45. package/es/components/table/src/index.vue.d.ts +18 -18
  46. package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
  47. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  48. package/es/components/table/src/table-column.vue.d.ts +76 -40
  49. package/es/components/utils/index.d.ts +2 -2
  50. package/es/components/yc-dialog/index.d.ts +24 -24
  51. package/es/components/yc-download-dialog/index.d.ts +19 -19
  52. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  53. package/es/components/yc-form-container-header/index.d.ts +12 -12
  54. package/es/components/yc-more-actions/index.d.ts +46 -46
  55. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  56. package/es/components/yc-plus-page/src/index.vue.d.ts +588 -529
  57. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  58. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  59. package/es/components/yc-segmented/index.d.ts +2 -2
  60. package/es/components/yc-segmented/src/index.d.ts +2 -2
  61. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  62. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  63. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  64. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  65. package/es/constants/dict.d.ts +78 -0
  66. package/es/constants/dict.mjs +3 -0
  67. package/es/constants/index.d.ts +1 -0
  68. package/es/constants/index.mjs +1 -0
  69. package/es/hooks/index.d.ts +1 -0
  70. package/es/hooks/index.mjs +1 -0
  71. package/es/hooks/useDictInjection.d.ts +38 -0
  72. package/es/hooks/useDictInjection.mjs +18 -0
  73. package/es/hooks/useGetOptions.mjs +118 -30
  74. package/es/hooks/usePlusFormReset.d.ts +286 -214
  75. package/es/index.css +1 -1
  76. package/es/index.d.ts +1 -1
  77. package/es/index.mjs +2 -0
  78. package/es/types/plus.d.ts +74 -0
  79. package/es/version.d.ts +1 -1
  80. package/es/version.mjs +1 -1
  81. package/es/yc-components/index.d.ts +1 -1
  82. package/es/yc-components/version.d.ts +1 -1
  83. package/index.css +9 -5
  84. package/index.js +187 -65
  85. package/index.min.css +1 -1
  86. package/index.min.js +7 -7
  87. package/index.min.mjs +7 -7
  88. package/index.mjs +187 -67
  89. package/lib/components/check-card/index.d.ts +61 -61
  90. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  91. package/lib/components/check-card-group/index.d.ts +43 -43
  92. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  93. package/lib/components/date-picker/index.d.ts +10 -10
  94. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  95. package/lib/components/dialog/index.d.ts +26 -26
  96. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  97. package/lib/components/dialog-form/index.d.ts +44 -32
  98. package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
  99. package/lib/components/display-item/index.d.ts +80 -44
  100. package/lib/components/display-item/src/index.vue.d.ts +61 -25
  101. package/lib/components/drawer-form/index.d.ts +63 -51
  102. package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
  103. package/lib/components/form/index.d.ts +71 -47
  104. package/lib/components/form/src/form-content.vue.d.ts +60 -24
  105. package/lib/components/form/src/index.vue.d.ts +43 -19
  106. package/lib/components/form-item/index.d.ts +129 -57
  107. package/lib/components/form-item/src/index.vue.d.ts +46 -15
  108. package/lib/components/form-item/src/index.vue2.js +1 -0
  109. package/lib/components/header/index.d.ts +19 -19
  110. package/lib/components/header/src/index.vue.d.ts +1 -1
  111. package/lib/components/input-tag/index.d.ts +20 -20
  112. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  113. package/lib/components/layout/index.d.ts +30 -30
  114. package/lib/components/layout/src/index.vue.d.ts +10 -10
  115. package/lib/components/page/index.d.ts +751 -469
  116. package/lib/components/page/src/index.vue.d.ts +263 -161
  117. package/lib/components/page/src/index.vue2.js +1 -1
  118. package/lib/components/pagination/index.d.ts +42 -42
  119. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  120. package/lib/components/radio/index.d.ts +35 -35
  121. package/lib/components/radio/src/index.vue.d.ts +27 -27
  122. package/lib/components/render/index.d.ts +6 -6
  123. package/lib/components/render/src/index.vue.d.ts +2 -2
  124. package/lib/components/search/index.d.ts +284 -162
  125. package/lib/components/search/src/index.vue.d.ts +95 -53
  126. package/lib/components/search/src/index.vue2.js +13 -3
  127. package/lib/components/search/src/type.d.ts +9 -0
  128. package/lib/components/sidebar/index.d.ts +15 -15
  129. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  130. package/lib/components/steps-form/index.d.ts +23 -23
  131. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  132. package/lib/components/table/index.d.ts +54 -54
  133. package/lib/components/table/src/index.vue.d.ts +18 -18
  134. package/lib/components/table/src/table-action-bar.vue2.js +1 -1
  135. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  136. package/lib/components/table/src/table-column.vue.d.ts +76 -40
  137. package/lib/components/utils/index.d.ts +2 -2
  138. package/lib/components/yc-dialog/index.d.ts +24 -24
  139. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  140. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  141. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  142. package/lib/components/yc-more-actions/index.d.ts +46 -46
  143. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  144. package/lib/components/yc-plus-page/src/index.vue.d.ts +588 -529
  145. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  146. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  147. package/lib/components/yc-segmented/index.d.ts +2 -2
  148. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  149. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  150. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  151. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  152. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  153. package/lib/constants/dict.d.ts +78 -0
  154. package/lib/constants/dict.js +5 -0
  155. package/lib/constants/index.d.ts +1 -0
  156. package/lib/constants/index.js +2 -0
  157. package/lib/hooks/index.d.ts +1 -0
  158. package/lib/hooks/index.js +2 -0
  159. package/lib/hooks/useDictInjection.d.ts +38 -0
  160. package/lib/hooks/useDictInjection.js +20 -0
  161. package/lib/hooks/useGetOptions.js +117 -29
  162. package/lib/hooks/usePlusFormReset.d.ts +286 -214
  163. package/lib/index.css +1 -1
  164. package/lib/index.d.ts +1 -1
  165. package/lib/index.js +4 -0
  166. package/lib/types/plus.d.ts +74 -0
  167. package/lib/version.d.ts +1 -1
  168. package/lib/version.js +1 -1
  169. package/lib/yc-components/index.d.ts +1 -1
  170. package/lib/yc-components/version.d.ts +1 -1
  171. package/locale/en.js +1 -1
  172. package/locale/en.min.js +1 -1
  173. package/locale/en.min.mjs +1 -1
  174. package/locale/en.mjs +1 -1
  175. package/locale/ja.js +1 -1
  176. package/locale/ja.min.js +1 -1
  177. package/locale/ja.min.mjs +1 -1
  178. package/locale/ja.mjs +1 -1
  179. package/locale/ko.js +1 -1
  180. package/locale/ko.min.js +1 -1
  181. package/locale/ko.min.mjs +1 -1
  182. package/locale/ko.mjs +1 -1
  183. package/locale/zh-cn.js +1 -1
  184. package/locale/zh-cn.min.js +1 -1
  185. package/locale/zh-cn.min.mjs +1 -1
  186. package/locale/zh-cn.mjs +1 -1
  187. package/locale/zh-tw.js +1 -1
  188. package/locale/zh-tw.min.js +1 -1
  189. package/locale/zh-tw.min.mjs +1 -1
  190. package/locale/zh-tw.mjs +1 -1
  191. package/package.json +1 -1
  192. package/theme-chalk/index.css +1 -1
  193. package/theme-chalk/plus-page.css +1 -1
  194. package/theme-chalk/src/page.scss +1 -1
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- /*! yc-pro-components v0.0.11 */
2
- import { unref, isRef, ref, isReactive, watch, inject, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, useAttrs, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, toRefs, useSlots, onUnmounted, resolveDirective, pushScopeId, popScopeId, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow } from 'vue';
1
+ /*! yc-pro-components v0.0.13 */
2
+ import { unref, isRef, ref, inject, isReactive, watch, computed, shallowRef, provide, onMounted, nextTick, onBeforeUnmount, defineComponent, watchEffect, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, renderSlot, normalizeStyle, createVNode, createTextVNode, toDisplayString, createElementBlock, normalizeClass, createCommentVNode, reactive, useAttrs, Fragment, renderList, resolveDynamicComponent, normalizeProps, guardReactiveProps, h, withDirectives, isVNode, withKeys, withModifiers, TransitionGroup, toHandlers, getCurrentInstance, resolveComponent, toRefs, useSlots, onUnmounted, resolveDirective, pushScopeId, popScopeId, onBeforeMount, getCurrentScope, onScopeDispose, toRef, mergeModels, useModel, vShow } 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, ElSteps, ElStep, ElBreadcrumb, ElBreadcrumbItem, ElMenuItem, ElSubMenu, ElMenu, ElScrollbar, ElHeader, ElContainer, ElMain, ElBacktop } from 'element-plus';
4
4
 
5
5
  const makeInstaller = (components = []) => {
@@ -4767,6 +4767,36 @@ const removeChildrenField = (item) => {
4767
4767
  return data;
4768
4768
  };
4769
4769
 
4770
+ const DefaultPageSizeList = [10, 20, 30, 40, 50, 100, 200, 300, 400, 500];
4771
+ const DefaultPageInfo = {
4772
+ page: 1,
4773
+ pageSize: 10
4774
+ };
4775
+
4776
+ const TableFormRefInjectionKey = Symbol("tableFormRefInjectionKey");
4777
+ const TableFormFieldRefInjectionKey = Symbol("tableFormFieldRefInjectionKey");
4778
+ const TableFormRowInfoInjectionKey = Symbol("tableFormRowInfoInjectionKey");
4779
+ const DatePickerValueIsArrayList = ["datetimerange", "daterange", "monthrange"];
4780
+ const ValueIsNumberList = ["rate", "input-number", "slider"];
4781
+ const ValueIsBooleanList = ["switch"];
4782
+ const ValueIsArrayList = [
4783
+ "checkbox",
4784
+ "cascader",
4785
+ "plus-date-picker",
4786
+ "plus-input-tag",
4787
+ "transfer"
4788
+ ];
4789
+
4790
+ const selectValueTypeList = [
4791
+ "select",
4792
+ "radio",
4793
+ "checkbox",
4794
+ "select-v2",
4795
+ "plus-radio"
4796
+ ];
4797
+
4798
+ const DictStoreInjectionKey = Symbol("DictStore");
4799
+
4770
4800
  const throwError = (data) => {
4771
4801
  if (!isArray(data)) {
4772
4802
  console.error("Uncaught TypeError: ", `options expected Array but got ${toRawType(data)}`);
@@ -4793,27 +4823,53 @@ const getOptionsByOptionsMap = (options, props) => {
4793
4823
  const useGetOptions = (props) => {
4794
4824
  const options = ref([]);
4795
4825
  const optionsIsReady = ref(false);
4796
- if (!props.options) {
4826
+ const injectedDictStore = inject(DictStoreInjectionKey, null);
4827
+ const hasValidOptions = props.options && (!isArray(props.options) || props.options.length > 0);
4828
+ if (hasValidOptions) {
4829
+ handleOptions();
4830
+ } else if (props.autoDict) {
4831
+ handleAutoDict();
4832
+ } else {
4797
4833
  options.value = [];
4798
4834
  optionsIsReady.value = true;
4799
- } else if (isRef(props.options) || isReactive(props.options) || isArray(props.options)) {
4800
- watch(
4801
- () => props.options,
4802
- (val) => {
4803
- const value = isRef(val) ? val.value : val;
4804
- options.value = getOptionsByOptionsMap(value, props);
4835
+ }
4836
+ function handleOptions() {
4837
+ if (!props.options) {
4838
+ options.value = [];
4839
+ optionsIsReady.value = true;
4840
+ return;
4841
+ }
4842
+ if (isRef(props.options) || isReactive(props.options) || isArray(props.options)) {
4843
+ watch(
4844
+ () => props.options,
4845
+ (val) => {
4846
+ const value = isRef(val) ? val.value : val;
4847
+ options.value = getOptionsByOptionsMap(value, props);
4848
+ optionsIsReady.value = true;
4849
+ },
4850
+ {
4851
+ immediate: true,
4852
+ deep: true
4853
+ }
4854
+ );
4855
+ } else if (isFunction(props.options)) {
4856
+ const getValue = props.options;
4857
+ const result = getValue(props);
4858
+ if (isPromise(result)) {
4859
+ result.then((value) => {
4860
+ options.value = getOptionsByOptionsMap(value, props);
4861
+ optionsIsReady.value = true;
4862
+ throwError(options.value);
4863
+ }).catch((err) => {
4864
+ throw err;
4865
+ });
4866
+ } else {
4867
+ options.value = getOptionsByOptionsMap(result, props);
4805
4868
  optionsIsReady.value = true;
4806
- },
4807
- {
4808
- immediate: true,
4809
- deep: true
4810
4869
  }
4811
- );
4812
- } else if (isFunction(props.options)) {
4813
- const getValue = props.options;
4814
- const result = getValue(props);
4815
- if (isPromise(result)) {
4816
- result.then((value) => {
4870
+ } else if (isPromise(props.options)) {
4871
+ const getValue = props.options;
4872
+ getValue.then((value) => {
4817
4873
  options.value = getOptionsByOptionsMap(value, props);
4818
4874
  optionsIsReady.value = true;
4819
4875
  throwError(options.value);
@@ -4821,21 +4877,82 @@ const useGetOptions = (props) => {
4821
4877
  throw err;
4822
4878
  });
4823
4879
  } else {
4824
- options.value = getOptionsByOptionsMap(result, props);
4825
4880
  optionsIsReady.value = true;
4881
+ throwError(props.options);
4826
4882
  }
4827
- } else if (isPromise(props.options)) {
4828
- const getValue = props.options;
4829
- getValue.then((value) => {
4830
- options.value = getOptionsByOptionsMap(value, props);
4883
+ }
4884
+ function handleAutoDict() {
4885
+ if (isFunction(props.autoDict)) {
4886
+ const autoDictFn = props.autoDict;
4887
+ watch(
4888
+ () => {
4889
+ return autoDictFn(props);
4890
+ },
4891
+ (result) => {
4892
+ if (isPromise(result)) {
4893
+ result.then((value) => {
4894
+ options.value = getOptionsByOptionsMap(value, props);
4895
+ optionsIsReady.value = true;
4896
+ }).catch((err) => {
4897
+ console.error("[yc-components] autoDict function error:", err);
4898
+ options.value = [];
4899
+ optionsIsReady.value = true;
4900
+ });
4901
+ } else {
4902
+ options.value = getOptionsByOptionsMap(result, props);
4903
+ optionsIsReady.value = true;
4904
+ }
4905
+ },
4906
+ { immediate: true }
4907
+ );
4908
+ } else if (typeof props.autoDict === "object" && props.autoDict !== null) {
4909
+ const { store, method = "getDictData", transform, dictCode } = props.autoDict;
4910
+ const dictStore = store || injectedDictStore;
4911
+ const fieldOrCode = dictCode || props.prop;
4912
+ if (dictStore && isFunction(dictStore[method])) {
4913
+ watch(
4914
+ () => dictStore[method](fieldOrCode),
4915
+ (val) => {
4916
+ try {
4917
+ const data = transform && isFunction(transform) ? transform(val) : val;
4918
+ options.value = getOptionsByOptionsMap(data, props);
4919
+ optionsIsReady.value = true;
4920
+ } catch (err) {
4921
+ console.error("[yc-components] autoDict transform error:", err);
4922
+ options.value = [];
4923
+ optionsIsReady.value = true;
4924
+ }
4925
+ },
4926
+ { immediate: true }
4927
+ );
4928
+ } else {
4929
+ console.warn(
4930
+ `[yc-components] autoDict: DictStore or method "${method}" not found for field "${fieldOrCode}"`
4931
+ );
4932
+ options.value = [];
4933
+ optionsIsReady.value = true;
4934
+ }
4935
+ } else if (props.autoDict === true) {
4936
+ if (injectedDictStore && isFunction(injectedDictStore.getDictData)) {
4937
+ watch(
4938
+ () => injectedDictStore.getDictData(props.prop),
4939
+ (val) => {
4940
+ options.value = getOptionsByOptionsMap(val, props);
4941
+ optionsIsReady.value = true;
4942
+ },
4943
+ { immediate: true }
4944
+ );
4945
+ } else {
4946
+ console.warn(
4947
+ `[yc-components] autoDict: DictStore not provided via inject for field "${props.prop}". Please use useDictInjection() in parent component.`
4948
+ );
4949
+ options.value = [];
4950
+ optionsIsReady.value = true;
4951
+ }
4952
+ } else {
4953
+ options.value = [];
4831
4954
  optionsIsReady.value = true;
4832
- throwError(options.value);
4833
- }).catch((err) => {
4834
- throw err;
4835
- });
4836
- } else {
4837
- optionsIsReady.value = true;
4838
- throwError(props.options);
4955
+ }
4839
4956
  }
4840
4957
  return { customOptions: options, customOptionsIsReady: optionsIsReady };
4841
4958
  };
@@ -4934,34 +5051,6 @@ const useLocale = (localeOverrides) => {
4934
5051
  }));
4935
5052
  };
4936
5053
 
4937
- const DefaultPageSizeList = [10, 20, 30, 40, 50, 100, 200, 300, 400, 500];
4938
- const DefaultPageInfo = {
4939
- page: 1,
4940
- pageSize: 10
4941
- };
4942
-
4943
- const TableFormRefInjectionKey = Symbol("tableFormRefInjectionKey");
4944
- const TableFormFieldRefInjectionKey = Symbol("tableFormFieldRefInjectionKey");
4945
- const TableFormRowInfoInjectionKey = Symbol("tableFormRowInfoInjectionKey");
4946
- const DatePickerValueIsArrayList = ["datetimerange", "daterange", "monthrange"];
4947
- const ValueIsNumberList = ["rate", "input-number", "slider"];
4948
- const ValueIsBooleanList = ["switch"];
4949
- const ValueIsArrayList = [
4950
- "checkbox",
4951
- "cascader",
4952
- "plus-date-picker",
4953
- "plus-input-tag",
4954
- "transfer"
4955
- ];
4956
-
4957
- const selectValueTypeList = [
4958
- "select",
4959
- "radio",
4960
- "checkbox",
4961
- "select-v2",
4962
- "plus-radio"
4963
- ];
4964
-
4965
5054
  function useTable(_pageInfo) {
4966
5055
  const defaultPageInfo = unref(_pageInfo) || DefaultPageInfo;
4967
5056
  const tableData = ref([]);
@@ -8482,6 +8571,20 @@ function useSelectWithPagination(config) {
8482
8571
  };
8483
8572
  }
8484
8573
 
8574
+ function useDictInjection(dictStore) {
8575
+ if (!dictStore) {
8576
+ console.warn("[yc-components] useDictInjection: dictStore is required");
8577
+ return;
8578
+ }
8579
+ if (typeof dictStore.getDictData !== "function") {
8580
+ console.error(
8581
+ "[yc-components] useDictInjection: dictStore must implement getDictData method. Please ensure your dictStore implements DictStoreInterface."
8582
+ );
8583
+ return;
8584
+ }
8585
+ provide(DictStoreInjectionKey, dictStore);
8586
+ }
8587
+
8485
8588
  const _hoisted_1$q = { class: "plus-dialog-body" };
8486
8589
  var _sfc_main$K = /* @__PURE__ */ defineComponent({
8487
8590
  ...{
@@ -15779,6 +15882,7 @@ var _sfc_main$D = /* @__PURE__ */ defineComponent({
15779
15882
  fieldChildrenSlot: { type: Function, default: void 0 },
15780
15883
  renderErrorMessage: { type: Function, default: void 0 },
15781
15884
  optionsMap: { default: void 0 },
15885
+ autoDict: { type: [Boolean, Function, Object], default: void 0 },
15782
15886
  index: { default: 0 },
15783
15887
  clearable: { type: Boolean, default: true }
15784
15888
  },
@@ -19224,7 +19328,9 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19224
19328
  lg: 8,
19225
19329
  xl: 6
19226
19330
  }) },
19227
- needValidate: { type: Boolean, default: false }
19331
+ needValidate: { type: Boolean, default: false },
19332
+ searchIcon: { default: void 0 },
19333
+ resetIcon: { default: void 0 }
19228
19334
  },
19229
19335
  emits: ["update:modelValue", "search", "change", "reset", "collapse"],
19230
19336
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -19242,6 +19348,14 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19242
19348
  const unfoldText = computed(
19243
19349
  () => isShowUnfold.value ? props.retractText || t("plus.search.retract") : props.expandText || t("plus.search.expand")
19244
19350
  );
19351
+ const computedSearchIcon = computed(() => {
19352
+ if (props.searchIcon === null) return void 0;
19353
+ return props.searchIcon !== void 0 ? props.searchIcon : search_default;
19354
+ });
19355
+ const computedResetIcon = computed(() => {
19356
+ if (props.resetIcon === null) return void 0;
19357
+ return props.resetIcon !== void 0 ? props.resetIcon : refresh_right_default;
19358
+ });
19245
19359
  const originData = computed(() => {
19246
19360
  const filterData = props.columns.filter((item) => unref(item.hideInSearch) !== true).map((item) => ({ ...item, hideInForm: false })).map((item) => ({ ...item, order: (item == null ? void 0 : item.order) ? unref(item.order) : 0 }));
19247
19361
  return orderBy(filterData, ["order"], ["desc"]);
@@ -19328,7 +19442,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19328
19442
  }, () => [
19329
19443
  _ctx.hasReset ? (openBlock(), createBlock(unref(ElButton), {
19330
19444
  key: 0,
19331
- icon: unref(refresh_right_default),
19445
+ icon: computedResetIcon.value,
19332
19446
  onClick: handleReset
19333
19447
  }, {
19334
19448
  default: withCtx(() => [
@@ -19344,7 +19458,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19344
19458
  createVNode(unref(ElButton), {
19345
19459
  type: "primary",
19346
19460
  loading: _ctx.searchLoading,
19347
- icon: unref(search_default),
19461
+ icon: computedSearchIcon.value,
19348
19462
  onClick: handleSearch.value
19349
19463
  }, {
19350
19464
  default: withCtx(() => [
@@ -30990,7 +31104,10 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
30990
31104
  hasUnfold: false,
30991
31105
  rowProps: { gutter: 0 },
30992
31106
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
30993
- labelSuffix: ""
31107
+ labelSuffix: "",
31108
+ labelPosition: "right",
31109
+ searchIcon: null,
31110
+ resetIcon: null
30994
31111
  };
30995
31112
  return merge({}, defaultSearchConfig, props.search);
30996
31113
  }
@@ -30998,7 +31115,10 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
30998
31115
  hasUnfold: false,
30999
31116
  rowProps: { gutter: 0 },
31000
31117
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
31001
- labelSuffix: ""
31118
+ labelSuffix: "",
31119
+ labelPosition: "right",
31120
+ searchIcon: null,
31121
+ resetIcon: null
31002
31122
  };
31003
31123
  });
31004
31124
  const mergedSearchCardProps = computed(() => {
@@ -31142,7 +31262,7 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
31142
31262
  }
31143
31263
  });
31144
31264
 
31145
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4486eb75"], ["__file", "index.vue"]]);
31265
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-7c1490fd"], ["__file", "index.vue"]]);
31146
31266
 
31147
31267
  const YcPlusPage = YcPlusPageComponent;
31148
31268
  const RePlusPage = YcPlusPageComponent;
@@ -59620,8 +59740,8 @@ const plugins = [
59620
59740
 
59621
59741
  var installer = makeInstaller([...plugins]);
59622
59742
 
59623
- const version = "0.1.30";
59743
+ const version = "0.0.13";
59624
59744
 
59625
59745
  const install = installer.install;
59626
59746
 
59627
- export { DEFAULT_CDN_CONFIG, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, 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, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, 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, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useDialogFormConfig, useDrawerFormConfig, useGetOptions, useLocale, usePlusFormReset, usePlusProConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, useYcAuth, useYcCdn, useYcCdnUrl, useYcComponentConfig, useYcConfig, useYcPerms, useYcShowPageSearch, useYcTranslate, version };
59747
+ export { DEFAULT_CDN_CONFIG, DEFAULT_YC_CONFIG, DatePickerValueIsArrayList, DefaultPageInfo, DefaultPageSizeList, DictStoreInjectionKey, PlusBreadcrumb, PlusCheckCard, PlusCheckCardGroup, PlusDatePicker, PlusDescriptions, PlusDialog, PlusDialogForm, PlusDisplayItem, PlusDrawerForm, PlusForm, PlusFormItem, PlusHeader, PlusInputTag, PlusLayout, PlusPage, PlusPagination, PlusPopover, PlusRadio, PlusSearch, PlusSidebar, PlusSidebarItem, PlusStepsForm, PlusTable, YcAnimateSelector as ReAnimateSelector, YcAuth as ReAuth, 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, TableFormFieldRefInjectionKey, TableFormRefInjectionKey, TableFormRowInfoInjectionKey, ValueIsArrayList, ValueIsBooleanList, ValueIsNumberList, YC_CONFIG_KEY, YcAnimateSelector, YcAnimateSelectorWithInstall, YcAuth, YcAuthWithInstall, 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, YcTabsWithFilter, YcTabsWithFilterWithInstall, YcText, YcTextWithInstall, addDrawer, animates, closeAllDrawer, closeDrawer, installer as default, drawerStore, findNodeById, findNodeByPath, findNodePosition, insertAsChild, insertAsSibling, insertNodeAtPosition, install, providePlusProConfig, removeNode, reorderNodeChildren, reorderSiblingNodes, selectValueTypeList, updateDrawer, useDialogFormConfig, useDictInjection, useDrawerFormConfig, useGetOptions, useLocale, usePlusFormReset, usePlusProConfig, useRenderFlicker, useRenderFlicker as useRenderReFlicker, useSelectWithMapping, useSelectWithPagination, useSortableDrag$1 as useSortableDrag, useTable, 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
- 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
  }, {}>, {