yc-pro-components 0.0.68 → 0.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/es/components/check-card/index.d.ts +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 +20 -20
  6. package/es/components/date-picker/src/index.vue.d.ts +12 -12
  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 +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 +65 -65
  14. package/es/components/drawer-form/src/index.vue.d.ts +15 -15
  15. package/es/components/form/index.d.ts +45 -45
  16. package/es/components/form/src/form-content.vue.d.ts +20 -20
  17. package/es/components/form/src/index.vue.d.ts +17 -17
  18. package/es/components/form-item/index.d.ts +48 -48
  19. package/es/components/form-item/src/index.vue.d.ts +14 -14
  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 +344 -344
  27. package/es/components/page/src/index.vue.d.ts +118 -118
  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 +3 -3
  33. package/es/components/render/src/index.vue.d.ts +1 -1
  34. package/es/components/search/index.d.ts +154 -154
  35. package/es/components/search/src/index.vue.d.ts +50 -50
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/steps-form/index.d.ts +23 -23
  39. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  40. package/es/components/table/src/table-column.vue.d.ts +37 -37
  41. package/es/components/utils/index.d.ts +2 -2
  42. package/es/components/yc-dialog/index.d.ts +24 -24
  43. package/es/components/yc-download-dialog/index.d.ts +19 -19
  44. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  45. package/es/components/yc-form-container-header/index.d.ts +12 -12
  46. package/es/components/yc-more-actions/index.d.ts +46 -46
  47. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  48. package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
  49. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  50. package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
  51. package/es/components/yc-plus-page/src/type.d.ts +4 -0
  52. package/es/components/yc-segmented/index.d.ts +2 -2
  53. package/es/components/yc-segmented/src/index.d.ts +2 -2
  54. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  55. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  56. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  57. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  58. package/es/defaults.mjs +2 -9
  59. package/es/hooks/usePlusFormReset.d.ts +238 -238
  60. package/es/index.css +13 -13
  61. package/es/index.mjs +1 -1
  62. package/index.css +6 -6
  63. package/index.js +17 -12
  64. package/index.min.css +1 -1
  65. package/index.min.js +10 -10
  66. package/index.min.mjs +11 -11
  67. package/index.mjs +10 -8
  68. package/lib/components/check-card/index.d.ts +61 -61
  69. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  70. package/lib/components/check-card-group/index.d.ts +43 -43
  71. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  72. package/lib/components/date-picker/index.d.ts +20 -20
  73. package/lib/components/date-picker/src/index.vue.d.ts +12 -12
  74. package/lib/components/dialog/index.d.ts +26 -26
  75. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  76. package/lib/components/dialog-form/index.d.ts +31 -31
  77. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  78. package/lib/components/display-item/index.d.ts +41 -41
  79. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  80. package/lib/components/drawer-form/index.d.ts +65 -65
  81. package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
  82. package/lib/components/form/index.d.ts +45 -45
  83. package/lib/components/form/src/form-content.vue.d.ts +20 -20
  84. package/lib/components/form/src/index.vue.d.ts +17 -17
  85. package/lib/components/form-item/index.d.ts +48 -48
  86. package/lib/components/form-item/src/index.vue.d.ts +14 -14
  87. package/lib/components/header/index.d.ts +19 -19
  88. package/lib/components/header/src/index.vue.d.ts +1 -1
  89. package/lib/components/input-tag/index.d.ts +15 -15
  90. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  91. package/lib/components/layout/index.d.ts +30 -30
  92. package/lib/components/layout/src/index.vue.d.ts +10 -10
  93. package/lib/components/page/index.d.ts +344 -344
  94. package/lib/components/page/src/index.vue.d.ts +118 -118
  95. package/lib/components/pagination/index.d.ts +42 -42
  96. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  97. package/lib/components/radio/index.d.ts +35 -35
  98. package/lib/components/radio/src/index.vue.d.ts +27 -27
  99. package/lib/components/render/index.d.ts +3 -3
  100. package/lib/components/render/src/index.vue.d.ts +1 -1
  101. package/lib/components/search/index.d.ts +154 -154
  102. package/lib/components/search/src/index.vue.d.ts +50 -50
  103. package/lib/components/sidebar/index.d.ts +15 -15
  104. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  105. package/lib/components/steps-form/index.d.ts +23 -23
  106. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  107. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  108. package/lib/components/utils/index.d.ts +2 -2
  109. package/lib/components/yc-dialog/index.d.ts +24 -24
  110. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  111. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  112. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  113. package/lib/components/yc-more-actions/index.d.ts +46 -46
  114. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  115. package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
  116. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  117. package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
  118. package/lib/components/yc-plus-page/src/type.d.ts +4 -0
  119. package/lib/components/yc-segmented/index.d.ts +2 -2
  120. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  121. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  122. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  123. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  124. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  125. package/lib/defaults.js +2 -9
  126. package/lib/hooks/usePlusFormReset.d.ts +238 -238
  127. package/lib/index.css +11 -11
  128. package/lib/index.js +7 -2
  129. package/locale/en.js +1 -1
  130. package/locale/en.min.js +1 -1
  131. package/locale/en.min.mjs +1 -1
  132. package/locale/en.mjs +1 -1
  133. package/locale/ja.js +1 -1
  134. package/locale/ja.min.js +1 -1
  135. package/locale/ja.min.mjs +1 -1
  136. package/locale/ja.mjs +1 -1
  137. package/locale/ko.js +1 -1
  138. package/locale/ko.min.js +1 -1
  139. package/locale/ko.min.mjs +1 -1
  140. package/locale/ko.mjs +1 -1
  141. package/locale/zh-cn.js +1 -1
  142. package/locale/zh-cn.min.js +1 -1
  143. package/locale/zh-cn.min.mjs +1 -1
  144. package/locale/zh-cn.mjs +1 -1
  145. package/locale/zh-tw.js +1 -1
  146. package/locale/zh-tw.min.js +1 -1
  147. package/locale/zh-tw.min.mjs +1 -1
  148. package/locale/zh-tw.mjs +1 -1
  149. package/package.json +1 -1
  150. package/es/directives/dist/fn-perm.mjs +0 -12
  151. package/lib/directives/dist/fn-perm.js +0 -14
package/index.mjs CHANGED
@@ -1,6 +1,8 @@
1
- /*! yc-pro-components v0.0.68 */
1
+ /*! yc-pro-components v0.0.69 */
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, toRefs, useSlots, onUnmounted, resolveDirective, pushScopeId, popScopeId, 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
+ import { fnPerm } from '@yc-components/directives';
5
+ export * from '@yc-components/directives';
4
6
 
5
7
  const makeInstaller = (components = [], directives = {}) => {
6
8
  const install = (app) => {
@@ -33251,7 +33253,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33251
33253
  return visibleCols;
33252
33254
  }
33253
33255
  return visibleCols.map((col) => {
33254
- var _a, _b;
33256
+ var _a, _b, _c, _d;
33255
33257
  const colHideFilter = col.hideHeaderFilter === true;
33256
33258
  const hasExplicitHeaderFilter = col.headerFilter && typeof col.headerFilter === "object" || col.headerFilter === true;
33257
33259
  const fieldFilterable = hasExplicitHeaderFilter || isFieldFilterable(col.prop);
@@ -33265,9 +33267,10 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33265
33267
  const colHeaderFilter = col.headerFilter && typeof col.headerFilter === "object" ? col.headerFilter : {};
33266
33268
  const globalHeaderFilter = props.headerFilter && typeof props.headerFilter === "object" ? props.headerFilter : {};
33267
33269
  const columnHideSort = (_b = (_a = colHeaderFilter.hideSort) != null ? _a : globalHeaderFilter.hideSort) != null ? _b : false;
33270
+ const columnHideFilter = (_d = (_c = colHeaderFilter.hideFilter) != null ? _c : globalHeaderFilter.hideFilter) != null ? _d : false;
33268
33271
  const FILTER_ICON_WIDTH = 24;
33269
33272
  const SORT_ICON_WIDTH = 16;
33270
- const EXTRA_WIDTH = FILTER_ICON_WIDTH + (columnHideSort ? 0 : SORT_ICON_WIDTH);
33273
+ const EXTRA_WIDTH = (columnHideFilter ? 0 : FILTER_ICON_WIDTH) + (columnHideSort ? 0 : SORT_ICON_WIDTH);
33271
33274
  const originalWidth = col.width || col.minWidth;
33272
33275
  let adjustedWidth = originalWidth;
33273
33276
  if (typeof originalWidth === "number") {
@@ -33295,6 +33298,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33295
33298
  filters: headerFiltersState.filters,
33296
33299
  orderBy: orderByState,
33297
33300
  hideSort: columnHideSort,
33301
+ disableFilter: columnHideFilter,
33298
33302
  onConfirm: handleFilterConfirm,
33299
33303
  onReset: handleFilterReset,
33300
33304
  onSortChange: handleSortChange,
@@ -33665,7 +33669,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
33665
33669
  }
33666
33670
  });
33667
33671
 
33668
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-53b16de1"], ["__file", "index.vue"]]);
33672
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-6f94a8b9"], ["__file", "index.vue"]]);
33669
33673
 
33670
33674
  function compareValues(a, b) {
33671
33675
  if (a == null && b == null) return 0;
@@ -62477,10 +62481,8 @@ const plugins = [
62477
62481
  YcTabsWithFilter
62478
62482
  ];
62479
62483
 
62480
- const m={mounted(e,r){const{value:o,modifiers:n$1}=r;if(!o)throw new Error(`[Directive: fn-perm]: \u9700\u8981\u4F20\u5165 functionCode\uFF01\u5982 v-fn-perm="'fn_editTaxRate'"`);const t=n$1.every?"every":"some";n(o,t)||e.parentNode?.removeChild(e);}};
62481
-
62482
62484
  var installer = makeInstaller([...plugins], {
62483
- "fn-perm": m
62485
+ "fn-perm": fnPerm
62484
62486
  });
62485
62487
 
62486
62488
  const _withScopeId$1 = (n) => (pushScopeId("data-v-ffeed27e"), n = n(), popScopeId(), n);
@@ -64180,4 +64182,4 @@ const version = "0.0.56";
64180
64182
 
64181
64183
  const install = installer.install;
64182
64184
 
64183
- 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, m as 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 };
64185
+ 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, 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 };
@@ -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;