yc-pro-components 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/es/components/check-card/index.d.ts +38 -38
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +7 -7
  4. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  5. package/es/components/date-picker/index.d.ts +16 -16
  6. package/es/components/date-picker/src/index.vue.d.ts +8 -8
  7. package/es/components/dialog/index.d.ts +30 -30
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +80 -80
  10. package/es/components/dialog-form/src/index.vue.d.ts +28 -28
  11. package/es/components/display-item/index.d.ts +29 -29
  12. package/es/components/display-item/src/index.vue.d.ts +10 -10
  13. package/es/components/drawer-form/index.d.ts +95 -95
  14. package/es/components/drawer-form/src/index.vue.d.ts +28 -28
  15. package/es/components/form/index.d.ts +89 -89
  16. package/es/components/form/src/form-content.vue.d.ts +8 -8
  17. package/es/components/form/src/index.vue.d.ts +31 -31
  18. package/es/components/form-item/index.d.ts +46 -46
  19. package/es/components/form-item/src/index.vue.d.ts +14 -14
  20. package/es/components/input-tag/index.d.ts +28 -28
  21. package/es/components/input-tag/src/index.vue.d.ts +28 -28
  22. package/es/components/layout/index.d.ts +30 -30
  23. package/es/components/layout/src/index.vue.d.ts +10 -10
  24. package/es/components/page/index.d.ts +601 -511
  25. package/es/components/page/src/index.vue.d.ts +203 -173
  26. package/es/components/pagination/index.d.ts +7 -7
  27. package/es/components/pagination/src/index.vue.d.ts +1 -1
  28. package/es/components/radio/index.d.ts +37 -37
  29. package/es/components/radio/src/index.vue.d.ts +37 -37
  30. package/es/components/render/index.d.ts +12 -12
  31. package/es/components/render/src/index.vue.d.ts +2 -2
  32. package/es/components/search/index.d.ts +244 -206
  33. package/es/components/search/src/index.vue.d.ts +75 -69
  34. package/es/components/search/src/index.vue2.mjs +14 -4
  35. package/es/components/search/src/type.d.ts +9 -0
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/table/index.d.ts +40 -40
  39. package/es/components/table/src/index.vue.d.ts +12 -12
  40. package/es/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
  41. package/es/components/table/src/table-column.vue.d.ts +25 -25
  42. package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
  43. package/es/components/utils/index.d.ts +5 -5
  44. package/es/components/yc-count-to/index.d.ts +2 -2
  45. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  46. package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
  47. package/es/components/yc-dialog/index.d.ts +24 -24
  48. package/es/components/yc-drawer/store.d.ts +13 -13
  49. package/es/components/yc-more-actions/index.d.ts +84 -84
  50. package/es/components/yc-more-actions/src/index.vue.d.ts +6 -6
  51. package/es/components/yc-plus-page/src/index.vue.d.ts +465 -538
  52. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  53. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  54. package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  55. package/es/components/yc-segmented/index.d.ts +4 -4
  56. package/es/components/yc-segmented/src/index.d.ts +4 -4
  57. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  58. package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  59. package/es/hooks/usePlusFormReset.d.ts +384 -384
  60. package/es/index.css +1 -1
  61. package/index.css +9 -5
  62. package/index.js +23 -7
  63. package/index.min.css +1 -1
  64. package/index.min.js +6 -6
  65. package/index.min.mjs +7 -7
  66. package/index.mjs +23 -7
  67. package/lib/components/check-card/index.d.ts +38 -38
  68. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  69. package/lib/components/check-card-group/index.d.ts +7 -7
  70. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  71. package/lib/components/date-picker/index.d.ts +16 -16
  72. package/lib/components/date-picker/src/index.vue.d.ts +8 -8
  73. package/lib/components/dialog/index.d.ts +30 -30
  74. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  75. package/lib/components/dialog-form/index.d.ts +80 -80
  76. package/lib/components/dialog-form/src/index.vue.d.ts +28 -28
  77. package/lib/components/display-item/index.d.ts +29 -29
  78. package/lib/components/display-item/src/index.vue.d.ts +10 -10
  79. package/lib/components/drawer-form/index.d.ts +95 -95
  80. package/lib/components/drawer-form/src/index.vue.d.ts +28 -28
  81. package/lib/components/form/index.d.ts +89 -89
  82. package/lib/components/form/src/form-content.vue.d.ts +8 -8
  83. package/lib/components/form/src/index.vue.d.ts +31 -31
  84. package/lib/components/form-item/index.d.ts +46 -46
  85. package/lib/components/form-item/src/index.vue.d.ts +14 -14
  86. package/lib/components/input-tag/index.d.ts +28 -28
  87. package/lib/components/input-tag/src/index.vue.d.ts +28 -28
  88. package/lib/components/layout/index.d.ts +30 -30
  89. package/lib/components/layout/src/index.vue.d.ts +10 -10
  90. package/lib/components/page/index.d.ts +601 -511
  91. package/lib/components/page/src/index.vue.d.ts +203 -173
  92. package/lib/components/pagination/index.d.ts +7 -7
  93. package/lib/components/pagination/src/index.vue.d.ts +1 -1
  94. package/lib/components/radio/index.d.ts +37 -37
  95. package/lib/components/radio/src/index.vue.d.ts +37 -37
  96. package/lib/components/render/index.d.ts +12 -12
  97. package/lib/components/render/src/index.vue.d.ts +2 -2
  98. package/lib/components/search/index.d.ts +244 -206
  99. package/lib/components/search/src/index.vue.d.ts +75 -69
  100. package/lib/components/search/src/index.vue2.js +13 -3
  101. package/lib/components/search/src/type.d.ts +9 -0
  102. package/lib/components/sidebar/index.d.ts +15 -15
  103. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  104. package/lib/components/table/index.d.ts +40 -40
  105. package/lib/components/table/src/index.vue.d.ts +12 -12
  106. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +11 -11
  107. package/lib/components/table/src/table-column.vue.d.ts +25 -25
  108. package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
  109. package/lib/components/utils/index.d.ts +5 -5
  110. package/lib/components/yc-count-to/index.d.ts +2 -2
  111. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  112. package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
  113. package/lib/components/yc-dialog/index.d.ts +24 -24
  114. package/lib/components/yc-drawer/store.d.ts +13 -13
  115. package/lib/components/yc-more-actions/index.d.ts +84 -84
  116. package/lib/components/yc-more-actions/src/index.vue.d.ts +6 -6
  117. package/lib/components/yc-plus-page/src/index.vue.d.ts +465 -538
  118. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  119. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  120. package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
  121. package/lib/components/yc-segmented/index.d.ts +4 -4
  122. package/lib/components/yc-segmented/src/index.d.ts +4 -4
  123. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  124. package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  125. package/lib/hooks/usePlusFormReset.d.ts +384 -384
  126. package/lib/index.css +1 -1
  127. package/locale/en.js +1 -1
  128. package/locale/en.min.js +1 -1
  129. package/locale/en.min.mjs +1 -1
  130. package/locale/en.mjs +1 -1
  131. package/locale/ja.js +1 -1
  132. package/locale/ja.min.js +1 -1
  133. package/locale/ja.min.mjs +1 -1
  134. package/locale/ja.mjs +1 -1
  135. package/locale/ko.js +1 -1
  136. package/locale/ko.min.js +1 -1
  137. package/locale/ko.min.mjs +1 -1
  138. package/locale/ko.mjs +1 -1
  139. package/locale/zh-cn.js +1 -1
  140. package/locale/zh-cn.min.js +1 -1
  141. package/locale/zh-cn.min.mjs +1 -1
  142. package/locale/zh-cn.mjs +1 -1
  143. package/locale/zh-tw.js +1 -1
  144. package/locale/zh-tw.min.js +1 -1
  145. package/locale/zh-tw.min.mjs +1 -1
  146. package/locale/zh-tw.mjs +1 -1
  147. package/package.json +1 -1
  148. package/theme-chalk/index.css +1 -1
  149. package/theme-chalk/plus-page.css +1 -1
  150. package/theme-chalk/src/mixins/mixins.scss +4 -0
  151. package/theme-chalk/src/page.scss +1 -1
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! yc-pro-components v0.0.10 */
1
+ /*! yc-pro-components v0.0.12 */
2
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';
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
 
@@ -19224,7 +19224,9 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19224
19224
  lg: 8,
19225
19225
  xl: 6
19226
19226
  }) },
19227
- needValidate: { type: Boolean, default: false }
19227
+ needValidate: { type: Boolean, default: false },
19228
+ searchIcon: { default: void 0 },
19229
+ resetIcon: { default: void 0 }
19228
19230
  },
19229
19231
  emits: ["update:modelValue", "search", "change", "reset", "collapse"],
19230
19232
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -19242,6 +19244,14 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19242
19244
  const unfoldText = computed(
19243
19245
  () => isShowUnfold.value ? props.retractText || t("plus.search.retract") : props.expandText || t("plus.search.expand")
19244
19246
  );
19247
+ const computedSearchIcon = computed(() => {
19248
+ if (props.searchIcon === null) return void 0;
19249
+ return props.searchIcon !== void 0 ? props.searchIcon : search_default;
19250
+ });
19251
+ const computedResetIcon = computed(() => {
19252
+ if (props.resetIcon === null) return void 0;
19253
+ return props.resetIcon !== void 0 ? props.resetIcon : refresh_right_default;
19254
+ });
19245
19255
  const originData = computed(() => {
19246
19256
  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
19257
  return orderBy(filterData, ["order"], ["desc"]);
@@ -19328,7 +19338,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19328
19338
  }, () => [
19329
19339
  _ctx.hasReset ? (openBlock(), createBlock(unref(ElButton), {
19330
19340
  key: 0,
19331
- icon: unref(refresh_right_default),
19341
+ icon: computedResetIcon.value,
19332
19342
  onClick: handleReset
19333
19343
  }, {
19334
19344
  default: withCtx(() => [
@@ -19344,7 +19354,7 @@ var _sfc_main$r = /* @__PURE__ */ defineComponent({
19344
19354
  createVNode(unref(ElButton), {
19345
19355
  type: "primary",
19346
19356
  loading: _ctx.searchLoading,
19347
- icon: unref(search_default),
19357
+ icon: computedSearchIcon.value,
19348
19358
  onClick: handleSearch.value
19349
19359
  }, {
19350
19360
  default: withCtx(() => [
@@ -30990,7 +31000,10 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
30990
31000
  hasUnfold: false,
30991
31001
  rowProps: { gutter: 0 },
30992
31002
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
30993
- labelSuffix: ""
31003
+ labelSuffix: "",
31004
+ labelPosition: "right",
31005
+ searchIcon: null,
31006
+ resetIcon: null
30994
31007
  };
30995
31008
  return merge({}, defaultSearchConfig, props.search);
30996
31009
  }
@@ -30998,7 +31011,10 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
30998
31011
  hasUnfold: false,
30999
31012
  rowProps: { gutter: 0 },
31000
31013
  colProps: { span: getSpanByCount(searchableFieldsCount.value) },
31001
- labelSuffix: ""
31014
+ labelSuffix: "",
31015
+ labelPosition: "right",
31016
+ searchIcon: null,
31017
+ resetIcon: null
31002
31018
  };
31003
31019
  });
31004
31020
  const mergedSearchCardProps = computed(() => {
@@ -31142,7 +31158,7 @@ var _sfc_main$d = /* @__PURE__ */ defineComponent({
31142
31158
  }
31143
31159
  });
31144
31160
 
31145
- var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-4486eb75"], ["__file", "index.vue"]]);
31161
+ var YcPlusPageComponent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-7c1490fd"], ["__file", "index.vue"]]);
31146
31162
 
31147
31163
  const YcPlusPage = YcPlusPageComponent;
31148
31164
  const RePlusPage = YcPlusPageComponent;
@@ -4,18 +4,14 @@ 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
- disabled: {
8
- type: PropType<boolean>;
9
- default: boolean;
10
- };
11
- size: {
12
- type: PropType<"" | "large" | "default" | "small">;
13
- default: string;
14
- };
15
7
  title: {
16
8
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
17
9
  default: undefined;
18
10
  };
11
+ disabled: {
12
+ type: PropType<boolean>;
13
+ default: boolean;
14
+ };
19
15
  avatar: {
20
16
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
21
17
  default: undefined;
@@ -24,6 +20,10 @@ export declare const PlusCheckCard: {
24
20
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
25
21
  default: undefined;
26
22
  };
23
+ size: {
24
+ type: PropType<"" | "default" | "small" | "large">;
25
+ default: string;
26
+ };
27
27
  modelValue: {
28
28
  type: PropType<boolean>;
29
29
  default: boolean;
@@ -45,18 +45,14 @@ export declare const PlusCheckCard: {
45
45
  change: (checked: boolean) => void;
46
46
  extra: () => void;
47
47
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
48
- disabled: {
49
- type: PropType<boolean>;
50
- default: boolean;
51
- };
52
- size: {
53
- type: PropType<"" | "large" | "default" | "small">;
54
- default: string;
55
- };
56
48
  title: {
57
49
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
58
50
  default: undefined;
59
51
  };
52
+ disabled: {
53
+ type: PropType<boolean>;
54
+ default: boolean;
55
+ };
60
56
  avatar: {
61
57
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
62
58
  default: undefined;
@@ -65,6 +61,10 @@ export declare const PlusCheckCard: {
65
61
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
66
62
  default: undefined;
67
63
  };
64
+ size: {
65
+ type: PropType<"" | "default" | "small" | "large">;
66
+ default: string;
67
+ };
68
68
  modelValue: {
69
69
  type: PropType<boolean>;
70
70
  default: boolean;
@@ -82,11 +82,11 @@ export declare const PlusCheckCard: {
82
82
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
83
83
  onExtra?: (() => any) | undefined;
84
84
  }, {
85
- disabled: boolean;
86
- size: "" | "large" | "default" | "small";
87
85
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
86
+ disabled: boolean;
88
87
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
89
88
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
89
+ size: "" | "default" | "small" | "large";
90
90
  modelValue: boolean;
91
91
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
92
92
  avatarProps: RecordType;
@@ -98,18 +98,14 @@ export declare const PlusCheckCard: {
98
98
  M: {};
99
99
  Defaults: {};
100
100
  }, Readonly< ExtractPropTypes<{
101
- disabled: {
102
- type: PropType<boolean>;
103
- default: boolean;
104
- };
105
- size: {
106
- type: PropType<"" | "large" | "default" | "small">;
107
- default: string;
108
- };
109
101
  title: {
110
102
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
111
103
  default: undefined;
112
104
  };
105
+ disabled: {
106
+ type: PropType<boolean>;
107
+ default: boolean;
108
+ };
113
109
  avatar: {
114
110
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
115
111
  default: undefined;
@@ -118,6 +114,10 @@ export declare const PlusCheckCard: {
118
114
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
119
115
  default: undefined;
120
116
  };
117
+ size: {
118
+ type: PropType<"" | "default" | "small" | "large">;
119
+ default: string;
120
+ };
121
121
  modelValue: {
122
122
  type: PropType<boolean>;
123
123
  default: boolean;
@@ -135,11 +135,11 @@ export declare const PlusCheckCard: {
135
135
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
136
136
  onExtra?: (() => any) | undefined;
137
137
  }, {}, {}, {}, {}, {
138
- disabled: boolean;
139
- size: "" | "large" | "default" | "small";
140
138
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
139
+ disabled: boolean;
141
140
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
142
141
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
142
+ size: "" | "default" | "small" | "large";
143
143
  modelValue: boolean;
144
144
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
145
145
  avatarProps: RecordType;
@@ -148,18 +148,14 @@ export declare const PlusCheckCard: {
148
148
  __isTeleport?: undefined;
149
149
  __isSuspense?: undefined;
150
150
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
151
- disabled: {
152
- type: PropType<boolean>;
153
- default: boolean;
154
- };
155
- size: {
156
- type: PropType<"" | "large" | "default" | "small">;
157
- default: string;
158
- };
159
151
  title: {
160
152
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
161
153
  default: undefined;
162
154
  };
155
+ disabled: {
156
+ type: PropType<boolean>;
157
+ default: boolean;
158
+ };
163
159
  avatar: {
164
160
  type: PropType<string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes)>;
165
161
  default: undefined;
@@ -168,6 +164,10 @@ export declare const PlusCheckCard: {
168
164
  type: PropType<(data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes>;
169
165
  default: undefined;
170
166
  };
167
+ size: {
168
+ type: PropType<"" | "default" | "small" | "large">;
169
+ default: string;
170
+ };
171
171
  modelValue: {
172
172
  type: PropType<boolean>;
173
173
  default: boolean;
@@ -189,11 +189,11 @@ export declare const PlusCheckCard: {
189
189
  change: (checked: boolean) => void;
190
190
  extra: () => void;
191
191
  }, string, {
192
- disabled: boolean;
193
- size: "" | "large" | "default" | "small";
194
192
  title: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
193
+ disabled: boolean;
195
194
  avatar: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
196
195
  extra: (data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
196
+ size: "" | "default" | "small" | "large";
197
197
  modelValue: boolean;
198
198
  description: string | ((data: Pick< PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
199
199
  avatarProps: RecordType;
@@ -47,11 +47,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
47
47
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
48
48
  onExtra?: (() => any) | undefined;
49
49
  }, {
50
- disabled: boolean;
51
- size: "" | "large" | "default" | "small";
52
50
  title: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
51
+ disabled: boolean;
53
52
  avatar: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
54
53
  extra: (data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes;
54
+ size: "" | "default" | "small" | "large";
55
55
  modelValue: boolean;
56
56
  description: string | ((data: Pick<PlusCheckCardProps, "title" | "avatar" | "description">) => RenderTypes);
57
57
  avatarProps: RecordType;
@@ -9,7 +9,7 @@ export declare const PlusCheckCardGroup: {
9
9
  default: boolean;
10
10
  };
11
11
  size: {
12
- type: PropType<"" | "large" | "default" | "small">;
12
+ type: PropType<"" | "default" | "small" | "large">;
13
13
  default: undefined;
14
14
  };
15
15
  options: {
@@ -44,7 +44,7 @@ export declare const PlusCheckCardGroup: {
44
44
  default: boolean;
45
45
  };
46
46
  size: {
47
- type: PropType<"" | "large" | "default" | "small">;
47
+ type: PropType<"" | "default" | "small" | "large">;
48
48
  default: undefined;
49
49
  };
50
50
  options: {
@@ -69,7 +69,7 @@ export declare const PlusCheckCardGroup: {
69
69
  }) => any) | undefined;
70
70
  }, {
71
71
  disabled: boolean;
72
- size: "" | "large" | "default" | "small";
72
+ size: "" | "default" | "small" | "large";
73
73
  options: ( PlusCheckCardProps & {
74
74
  value: string | number;
75
75
  })[];
@@ -88,7 +88,7 @@ export declare const PlusCheckCardGroup: {
88
88
  default: boolean;
89
89
  };
90
90
  size: {
91
- type: PropType<"" | "large" | "default" | "small">;
91
+ type: PropType<"" | "default" | "small" | "large">;
92
92
  default: undefined;
93
93
  };
94
94
  options: {
@@ -113,7 +113,7 @@ export declare const PlusCheckCardGroup: {
113
113
  }) => any) | undefined;
114
114
  }, {}, {}, {}, {}, {
115
115
  disabled: boolean;
116
- size: "" | "large" | "default" | "small";
116
+ size: "" | "default" | "small" | "large";
117
117
  options: ( PlusCheckCardProps & {
118
118
  value: string | number;
119
119
  })[];
@@ -129,7 +129,7 @@ export declare const PlusCheckCardGroup: {
129
129
  default: boolean;
130
130
  };
131
131
  size: {
132
- type: PropType<"" | "large" | "default" | "small">;
132
+ type: PropType<"" | "default" | "small" | "large">;
133
133
  default: undefined;
134
134
  };
135
135
  options: {
@@ -160,7 +160,7 @@ export declare const PlusCheckCardGroup: {
160
160
  }) => void;
161
161
  }, string, {
162
162
  disabled: boolean;
163
- size: "" | "large" | "default" | "small";
163
+ size: "" | "default" | "small" | "large";
164
164
  options: ( PlusCheckCardProps & {
165
165
  value: string | number;
166
166
  })[];
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
52
52
  }) => any) | undefined;
53
53
  }, {
54
54
  disabled: boolean;
55
- size: "" | "large" | "default" | "small";
55
+ size: "" | "default" | "small" | "large";
56
56
  options: (PlusCheckCardProps & {
57
57
  value: string | number;
58
58
  })[];
@@ -8,14 +8,14 @@ import { default as DatePicker } from './src/index.vue';
8
8
  export type PlusDatePickerInstance = InstanceType<typeof DatePicker>;
9
9
  export type { PlusDatePickerProps } from './src/index.vue';
10
10
  export declare const PlusDatePicker: DefineComponent<{
11
- disabled: {
12
- type: PropType<boolean>;
13
- default: boolean;
14
- };
15
11
  type: {
16
12
  type: PropType<"date" | "year" | "month" | "dates" | "week" | "datetime">;
17
13
  default: string;
18
14
  };
15
+ disabled: {
16
+ type: PropType<boolean>;
17
+ default: boolean;
18
+ };
19
19
  modelValue: {
20
20
  type: PropType<string[]>;
21
21
  default: () => never[];
@@ -105,7 +105,7 @@ export declare const PlusDatePicker: DefineComponent<{
105
105
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
106
106
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
107
107
  readonly size: {
108
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
108
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
109
109
  readonly required: false;
110
110
  readonly validator: ((val: unknown) => boolean) | undefined;
111
111
  __epPropKey: true;
@@ -193,7 +193,7 @@ export declare const PlusDatePicker: DefineComponent<{
193
193
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
194
194
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
195
195
  readonly size: {
196
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
196
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
197
197
  readonly required: false;
198
198
  readonly validator: ((val: unknown) => boolean) | undefined;
199
199
  __epPropKey: true;
@@ -308,7 +308,7 @@ export declare const PlusDatePicker: DefineComponent<{
308
308
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
309
309
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
310
310
  readonly size: {
311
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
311
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
312
312
  readonly required: false;
313
313
  readonly validator: ((val: unknown) => boolean) | undefined;
314
314
  __epPropKey: true;
@@ -417,7 +417,7 @@ export declare const PlusDatePicker: DefineComponent<{
417
417
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
418
418
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
419
419
  readonly size: {
420
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
420
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
421
421
  readonly required: false;
422
422
  readonly validator: ((val: unknown) => boolean) | undefined;
423
423
  __epPropKey: true;
@@ -505,7 +505,7 @@ export declare const PlusDatePicker: DefineComponent<{
505
505
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
506
506
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
507
507
  readonly size: {
508
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
508
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
509
509
  readonly required: false;
510
510
  readonly validator: ((val: unknown) => boolean) | undefined;
511
511
  __epPropKey: true;
@@ -620,7 +620,7 @@ export declare const PlusDatePicker: DefineComponent<{
620
620
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
621
621
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
622
622
  readonly size: {
623
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
623
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
624
624
  readonly required: false;
625
625
  readonly validator: ((val: unknown) => boolean) | undefined;
626
626
  __epPropKey: true;
@@ -674,14 +674,14 @@ export declare const PlusDatePicker: DefineComponent<{
674
674
  focus: (event: FocusEvent) => void;
675
675
  "update:modelValue": (value: string[]) => void;
676
676
  }, string, PublicProps, Readonly< ExtractPropTypes<{
677
- disabled: {
678
- type: PropType<boolean>;
679
- default: boolean;
680
- };
681
677
  type: {
682
678
  type: PropType<"date" | "year" | "month" | "dates" | "week" | "datetime">;
683
679
  default: string;
684
680
  };
681
+ disabled: {
682
+ type: PropType<boolean>;
683
+ default: boolean;
684
+ };
685
685
  modelValue: {
686
686
  type: PropType<string[]>;
687
687
  default: () => never[];
@@ -711,12 +711,12 @@ export declare const PlusDatePicker: DefineComponent<{
711
711
  default: (endTime: any, startValue: any) => boolean;
712
712
  };
713
713
  }>> & {
714
- onChange?: ((value: string[]) => any) | undefined;
715
714
  onFocus?: ((event: FocusEvent) => any) | undefined;
715
+ onChange?: ((value: string[]) => any) | undefined;
716
716
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
717
717
  }, {
718
- disabled: boolean;
719
718
  type: "date" | "year" | "month" | "dates" | "week" | "datetime";
719
+ disabled: boolean;
720
720
  modelValue: string[];
721
721
  valueFormat: string;
722
722
  rangeSeparator: string;
@@ -98,7 +98,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
98
98
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
99
99
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
100
100
  readonly size: {
101
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
101
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
102
102
  readonly required: false;
103
103
  readonly validator: ((val: unknown) => boolean) | undefined;
104
104
  __epPropKey: true;
@@ -186,7 +186,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
186
186
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
187
187
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
188
188
  readonly size: {
189
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
189
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
190
190
  readonly required: false;
191
191
  readonly validator: ((val: unknown) => boolean) | undefined;
192
192
  __epPropKey: true;
@@ -301,7 +301,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
301
301
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
302
302
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
303
303
  readonly size: {
304
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
304
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
305
305
  readonly required: false;
306
306
  readonly validator: ((val: unknown) => boolean) | undefined;
307
307
  __epPropKey: true;
@@ -410,7 +410,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
410
410
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
411
411
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
412
412
  readonly size: {
413
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
413
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
414
414
  readonly required: false;
415
415
  readonly validator: ((val: unknown) => boolean) | undefined;
416
416
  __epPropKey: true;
@@ -498,7 +498,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
498
498
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
499
499
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
500
500
  readonly size: {
501
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
501
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
502
502
  readonly required: false;
503
503
  readonly validator: ((val: unknown) => boolean) | undefined;
504
504
  __epPropKey: true;
@@ -613,7 +613,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
613
613
  readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
614
614
  readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown, "", boolean>;
615
615
  readonly size: {
616
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
616
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
617
617
  readonly required: false;
618
618
  readonly validator: ((val: unknown) => boolean) | undefined;
619
619
  __epPropKey: true;
@@ -677,12 +677,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
677
677
  startDisabledDate: (startTime: any, endValue: any) => boolean;
678
678
  endDisabledDate: (endTime: any, startValue: any) => boolean;
679
679
  }>>> & {
680
- onChange?: ((value: string[]) => any) | undefined;
681
680
  onFocus?: ((event: FocusEvent) => any) | undefined;
681
+ onChange?: ((value: string[]) => any) | undefined;
682
682
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
683
683
  }, {
684
- disabled: boolean;
685
684
  type: "date" | "year" | "month" | "dates" | "week" | "datetime";
685
+ disabled: boolean;
686
686
  modelValue: string[];
687
687
  valueFormat: string;
688
688
  rangeSeparator: string;