@funcho/ui 1.1.25 → 1.1.27

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/dist/cjs/business/DataTable/DataTable.vue.js +22 -3
  2. package/dist/cjs/business/EditFormCard/EditFormCard.vue.js +1 -0
  3. package/dist/cjs/business/ProForm/ProForm.vue.js +1 -0
  4. package/dist/cjs/business/QueryForm/QueryForm.vue.js +3 -2
  5. package/dist/cjs/business/TreeCheckFilter/TreeCheckFilter.vue.js +1 -0
  6. package/dist/cjs/components/Autocomplete/Autocomplete.vue.js +1 -0
  7. package/dist/cjs/components/Avatar/Avatar.vue.js +1 -0
  8. package/dist/cjs/components/AvatarGroup/AvatarGroup.vue.js +1 -0
  9. package/dist/cjs/components/Badge/Badge.vue.js +1 -0
  10. package/dist/cjs/components/Breadcrumb/Breadcrumb.vue.js +1 -0
  11. package/dist/cjs/components/BreadcrumbItem/BreadcrumbItem.vue.js +1 -0
  12. package/dist/cjs/components/Card/Card.vue.js +1 -0
  13. package/dist/cjs/components/Cascader/Cascader.vue.js +1 -0
  14. package/dist/cjs/components/Cascader/CascaderCheck.vue.js +1 -0
  15. package/dist/cjs/components/Cascader/CascaderEnd.vue.js +1 -0
  16. package/dist/cjs/components/Cascader/CascaderMultiple.vue.js +1 -0
  17. package/dist/cjs/components/CascaderPanel/CascaderPanel.vue.js +1 -0
  18. package/dist/cjs/components/Checkbox/Checkbox.vue.js +1 -0
  19. package/dist/cjs/components/CheckboxButton/CheckboxButton.vue.js +1 -0
  20. package/dist/cjs/components/CheckboxGroup/CheckboxGroup.vue.js +1 -0
  21. package/dist/cjs/components/Collapse/Collapse.vue.js +1 -0
  22. package/dist/cjs/components/CollapseItem/CollapseItem.vue.js +1 -0
  23. package/dist/cjs/components/DatePicker/DatePicker.vue.js +1 -0
  24. package/dist/cjs/components/DatePicker/DatePickerRanger.vue.js +1 -0
  25. package/dist/cjs/components/DatePicker/DateTimePicker.vue.js +1 -0
  26. package/dist/cjs/components/DatePicker/DateTimePickerRanger.vue.js +1 -0
  27. package/dist/cjs/components/DatePickerPanel/DatePickerPanel.vue.js +1 -0
  28. package/dist/cjs/components/Descriptions/Descriptions.vue.js +1 -0
  29. package/dist/cjs/components/DescriptionsItem/DescriptionsItem.vue.js +1 -0
  30. package/dist/cjs/components/Dialog/Dialog.vue.js +1 -0
  31. package/dist/cjs/components/Divider/Divider.vue.js +1 -0
  32. package/dist/cjs/components/Drawer/Drawer.vue.js +1 -0
  33. package/dist/cjs/components/Dropdown/Dropdown.vue.js +1 -0
  34. package/dist/cjs/components/DropdownItem/DropdownItem.vue.js +1 -0
  35. package/dist/cjs/components/DropdownMenu/DropdownMenu.vue.js +1 -0
  36. package/dist/cjs/components/Empty/Empty.vue.js +1 -0
  37. package/dist/cjs/components/Form/Form.vue.js +1 -0
  38. package/dist/cjs/components/FormItem/FormItem.vue.js +1 -0
  39. package/dist/cjs/components/Icon/Icon.vue.js +1 -0
  40. package/dist/cjs/components/IconComponent/IconComponent.vue.js +1 -0
  41. package/dist/cjs/components/Image/Image.vue.js +1 -0
  42. package/dist/cjs/components/ImageViewer/ImageViewer.vue.js +1 -0
  43. package/dist/cjs/components/Input/Input.vue.js +1 -0
  44. package/dist/cjs/components/Input/InputEmail.vue.js +1 -0
  45. package/dist/cjs/components/Input/InputEngNum.vue.js +1 -0
  46. package/dist/cjs/components/Input/InputMobile.vue.js +1 -0
  47. package/dist/cjs/components/Input/InputNumStr.vue.js +1 -0
  48. package/dist/cjs/components/Input/InputPassword.vue.js +1 -0
  49. package/dist/cjs/components/Input/InputTextarea.vue.js +1 -0
  50. package/dist/cjs/components/InputNumber/DecimalInputNumber.vue.js +1 -0
  51. package/dist/cjs/components/InputNumber/DecimalNoLimitSizeInputNum.vue.js +1 -0
  52. package/dist/cjs/components/InputNumber/InputNumber.vue.js +1 -0
  53. package/dist/cjs/components/InputNumber/IntegerInputNum.vue.js +1 -0
  54. package/dist/cjs/components/InputNumber/NoLimitSizeInputNum.vue.js +1 -0
  55. package/dist/cjs/components/InputTag/InputTag.vue.js +1 -0
  56. package/dist/cjs/components/Link/Link.vue.js +1 -0
  57. package/dist/cjs/components/Menu/Menu.vue.js +1 -0
  58. package/dist/cjs/components/MenuItem/MenuItem.vue.js +1 -0
  59. package/dist/cjs/components/MenuItemGroup/MenuItemGroup.vue.js +1 -0
  60. package/dist/cjs/components/Option/Option.vue.js +1 -0
  61. package/dist/cjs/components/Pagination/Pagination.vue.js +1 -0
  62. package/dist/cjs/components/Popconfirm/Popconfirm.vue.js +1 -0
  63. package/dist/cjs/components/Popover/Popover.vue.js +1 -0
  64. package/dist/cjs/components/Progress/Progress.vue.js +1 -0
  65. package/dist/cjs/components/Radio/Radio.vue.js +1 -0
  66. package/dist/cjs/components/Radio/SingleRadio.vue.js +1 -0
  67. package/dist/cjs/components/RadioButton/RadioButton.vue.js +1 -0
  68. package/dist/cjs/components/RadioGroup/RadioGroup.vue.js +1 -0
  69. package/dist/cjs/components/Result/Result.vue.js +1 -0
  70. package/dist/cjs/components/Scrollbar/Scrollbar.vue.js +1 -0
  71. package/dist/cjs/components/Select/Select.vue.js +1 -0
  72. package/dist/cjs/components/Select/SelectAllowCreateSelect.vue.js +1 -0
  73. package/dist/cjs/components/Select/SelectMultiple.vue.js +1 -0
  74. package/dist/cjs/components/SelectV2/SelectV2.vue.js +1 -0
  75. package/dist/cjs/components/Splitter/Splitter.vue.js +1 -0
  76. package/dist/cjs/components/SplitterPanel/SplitterPanel.vue.js +1 -0
  77. package/dist/cjs/components/Step/Step.vue.js +1 -0
  78. package/dist/cjs/components/Steps/Steps.vue.js +1 -0
  79. package/dist/cjs/components/SubMenu/SubMenu.vue.js +1 -0
  80. package/dist/cjs/components/Switch/BooleanSwitch.vue.js +1 -0
  81. package/dist/cjs/components/Switch/Switch.vue.js +1 -0
  82. package/dist/cjs/components/TabPane/TabPane.vue.js +1 -0
  83. package/dist/cjs/components/TableColumn/TableColumn.vue.js +1 -0
  84. package/dist/cjs/components/TableV2/TableV2.vue.js +1 -0
  85. package/dist/cjs/components/Tabs/Tabs.vue.js +1 -0
  86. package/dist/cjs/components/Tag/Tag.vue.js +1 -0
  87. package/dist/cjs/components/Text/Text.vue.js +1 -0
  88. package/dist/cjs/components/TimePicker/TimePicker.vue.js +1 -0
  89. package/dist/cjs/components/TimeSelect/TimeSelect.vue.js +1 -0
  90. package/dist/cjs/components/TimeSelect/TimeSelectMultiple.vue.js +1 -0
  91. package/dist/cjs/components/Tooltip/Tooltip.vue.js +1 -0
  92. package/dist/cjs/components/Tree/Tree.vue.js +1 -0
  93. package/dist/cjs/components/TreeSelect/TreeSelect.vue.js +1 -0
  94. package/dist/cjs/components/Upload/Upload.vue.js +1 -0
  95. package/dist/cjs/packages/ui/package.json.js +1 -1
  96. package/dist/esm/business/DataTable/DataTable.vue.mjs +23 -4
  97. package/dist/esm/business/EditFormCard/EditFormCard.vue.mjs +1 -0
  98. package/dist/esm/business/ProForm/ProForm.vue.mjs +1 -0
  99. package/dist/esm/business/QueryForm/QueryForm.vue.mjs +3 -2
  100. package/dist/esm/business/TreeCheckFilter/TreeCheckFilter.vue.mjs +1 -0
  101. package/dist/esm/components/Autocomplete/Autocomplete.vue.mjs +1 -0
  102. package/dist/esm/components/Avatar/Avatar.vue.mjs +1 -0
  103. package/dist/esm/components/AvatarGroup/AvatarGroup.vue.mjs +1 -0
  104. package/dist/esm/components/Badge/Badge.vue.mjs +1 -0
  105. package/dist/esm/components/Breadcrumb/Breadcrumb.vue.mjs +1 -0
  106. package/dist/esm/components/BreadcrumbItem/BreadcrumbItem.vue.mjs +1 -0
  107. package/dist/esm/components/Card/Card.vue.mjs +1 -0
  108. package/dist/esm/components/Cascader/Cascader.vue.mjs +1 -0
  109. package/dist/esm/components/Cascader/CascaderCheck.vue.mjs +1 -0
  110. package/dist/esm/components/Cascader/CascaderEnd.vue.mjs +1 -0
  111. package/dist/esm/components/Cascader/CascaderMultiple.vue.mjs +1 -0
  112. package/dist/esm/components/CascaderPanel/CascaderPanel.vue.mjs +1 -0
  113. package/dist/esm/components/Checkbox/Checkbox.vue.mjs +1 -0
  114. package/dist/esm/components/CheckboxButton/CheckboxButton.vue.mjs +1 -0
  115. package/dist/esm/components/CheckboxGroup/CheckboxGroup.vue.mjs +1 -0
  116. package/dist/esm/components/Collapse/Collapse.vue.mjs +1 -0
  117. package/dist/esm/components/CollapseItem/CollapseItem.vue.mjs +1 -0
  118. package/dist/esm/components/DatePicker/DatePicker.vue.mjs +1 -0
  119. package/dist/esm/components/DatePicker/DatePickerRanger.vue.mjs +1 -0
  120. package/dist/esm/components/DatePicker/DateTimePicker.vue.mjs +1 -0
  121. package/dist/esm/components/DatePicker/DateTimePickerRanger.vue.mjs +1 -0
  122. package/dist/esm/components/DatePickerPanel/DatePickerPanel.vue.mjs +1 -0
  123. package/dist/esm/components/Descriptions/Descriptions.vue.mjs +1 -0
  124. package/dist/esm/components/DescriptionsItem/DescriptionsItem.vue.mjs +1 -0
  125. package/dist/esm/components/Dialog/Dialog.vue.mjs +1 -0
  126. package/dist/esm/components/Divider/Divider.vue.mjs +1 -0
  127. package/dist/esm/components/Drawer/Drawer.vue.mjs +1 -0
  128. package/dist/esm/components/Dropdown/Dropdown.vue.mjs +1 -0
  129. package/dist/esm/components/DropdownItem/DropdownItem.vue.mjs +1 -0
  130. package/dist/esm/components/DropdownMenu/DropdownMenu.vue.mjs +1 -0
  131. package/dist/esm/components/Empty/Empty.vue.mjs +1 -0
  132. package/dist/esm/components/Form/Form.vue.mjs +1 -0
  133. package/dist/esm/components/FormItem/FormItem.vue.mjs +1 -0
  134. package/dist/esm/components/Icon/Icon.vue.mjs +1 -0
  135. package/dist/esm/components/IconComponent/IconComponent.vue.mjs +1 -0
  136. package/dist/esm/components/Image/Image.vue.mjs +1 -0
  137. package/dist/esm/components/ImageViewer/ImageViewer.vue.mjs +1 -0
  138. package/dist/esm/components/Input/Input.vue.mjs +1 -0
  139. package/dist/esm/components/Input/InputEmail.vue.mjs +1 -0
  140. package/dist/esm/components/Input/InputEngNum.vue.mjs +1 -0
  141. package/dist/esm/components/Input/InputMobile.vue.mjs +1 -0
  142. package/dist/esm/components/Input/InputNumStr.vue.mjs +1 -0
  143. package/dist/esm/components/Input/InputPassword.vue.mjs +1 -0
  144. package/dist/esm/components/Input/InputTextarea.vue.mjs +1 -0
  145. package/dist/esm/components/InputNumber/DecimalInputNumber.vue.mjs +1 -0
  146. package/dist/esm/components/InputNumber/DecimalNoLimitSizeInputNum.vue.mjs +1 -0
  147. package/dist/esm/components/InputNumber/InputNumber.vue.mjs +1 -0
  148. package/dist/esm/components/InputNumber/IntegerInputNum.vue.mjs +1 -0
  149. package/dist/esm/components/InputNumber/NoLimitSizeInputNum.vue.mjs +1 -0
  150. package/dist/esm/components/InputTag/InputTag.vue.mjs +1 -0
  151. package/dist/esm/components/Link/Link.vue.mjs +1 -0
  152. package/dist/esm/components/Menu/Menu.vue.mjs +1 -0
  153. package/dist/esm/components/MenuItem/MenuItem.vue.mjs +1 -0
  154. package/dist/esm/components/MenuItemGroup/MenuItemGroup.vue.mjs +1 -0
  155. package/dist/esm/components/Option/Option.vue.mjs +1 -0
  156. package/dist/esm/components/Pagination/Pagination.vue.mjs +1 -0
  157. package/dist/esm/components/Popconfirm/Popconfirm.vue.mjs +1 -0
  158. package/dist/esm/components/Popover/Popover.vue.mjs +1 -0
  159. package/dist/esm/components/Progress/Progress.vue.mjs +1 -0
  160. package/dist/esm/components/Radio/Radio.vue.mjs +1 -0
  161. package/dist/esm/components/Radio/SingleRadio.vue.mjs +1 -0
  162. package/dist/esm/components/RadioButton/RadioButton.vue.mjs +1 -0
  163. package/dist/esm/components/RadioGroup/RadioGroup.vue.mjs +1 -0
  164. package/dist/esm/components/Result/Result.vue.mjs +1 -0
  165. package/dist/esm/components/Scrollbar/Scrollbar.vue.mjs +1 -0
  166. package/dist/esm/components/Select/Select.vue.mjs +1 -0
  167. package/dist/esm/components/Select/SelectAllowCreateSelect.vue.mjs +1 -0
  168. package/dist/esm/components/Select/SelectMultiple.vue.mjs +1 -0
  169. package/dist/esm/components/SelectV2/SelectV2.vue.mjs +1 -0
  170. package/dist/esm/components/Splitter/Splitter.vue.mjs +1 -0
  171. package/dist/esm/components/SplitterPanel/SplitterPanel.vue.mjs +1 -0
  172. package/dist/esm/components/Step/Step.vue.mjs +1 -0
  173. package/dist/esm/components/Steps/Steps.vue.mjs +1 -0
  174. package/dist/esm/components/SubMenu/SubMenu.vue.mjs +1 -0
  175. package/dist/esm/components/Switch/BooleanSwitch.vue.mjs +1 -0
  176. package/dist/esm/components/Switch/Switch.vue.mjs +1 -0
  177. package/dist/esm/components/TabPane/TabPane.vue.mjs +1 -0
  178. package/dist/esm/components/TableColumn/TableColumn.vue.mjs +1 -0
  179. package/dist/esm/components/TableV2/TableV2.vue.mjs +1 -0
  180. package/dist/esm/components/Tabs/Tabs.vue.mjs +1 -0
  181. package/dist/esm/components/Tag/Tag.vue.mjs +1 -0
  182. package/dist/esm/components/Text/Text.vue.mjs +1 -0
  183. package/dist/esm/components/TimePicker/TimePicker.vue.mjs +1 -0
  184. package/dist/esm/components/TimeSelect/TimeSelect.vue.mjs +1 -0
  185. package/dist/esm/components/TimeSelect/TimeSelectMultiple.vue.mjs +1 -0
  186. package/dist/esm/components/Tooltip/Tooltip.vue.mjs +1 -0
  187. package/dist/esm/components/Tree/Tree.vue.mjs +1 -0
  188. package/dist/esm/components/TreeSelect/TreeSelect.vue.mjs +1 -0
  189. package/dist/esm/components/Upload/Upload.vue.mjs +1 -0
  190. package/dist/esm/packages/ui/package.json.mjs +1 -1
  191. package/dist/style.css +4 -1
  192. package/dist/types/business/DataTable/DataTable.vue.d.ts +4 -0
  193. package/dist/types/business/DataTable/index.d.ts +7 -0
  194. package/package.json +1 -1
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -59,6 +59,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
59
59
  return elRef.value?.[key];
60
60
  },
61
61
  has(_, key) {
62
+ if (!elRef.value) return false;
62
63
  return key in elRef.value;
63
64
  }
64
65
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -68,6 +68,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
68
68
  return elRef.value?.[key];
69
69
  },
70
70
  has(_, key) {
71
+ if (!elRef.value) return false;
71
72
  return key in elRef.value;
72
73
  }
73
74
  }
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
24
  return elRef.value?.[key];
25
25
  },
26
26
  has(_, key) {
27
+ if (!elRef.value) return false;
27
28
  return key in elRef.value;
28
29
  }
29
30
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -23,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23
23
  return elRef.value?.[key];
24
24
  },
25
25
  has(_, key) {
26
+ if (!elRef.value) return false;
26
27
  return key in elRef.value;
27
28
  }
28
29
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
29
29
  return elRef.value?.[key];
30
30
  },
31
31
  has(_, key) {
32
+ if (!elRef.value) return false;
32
33
  return key in elRef.value;
33
34
  }
34
35
  }
@@ -23,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
23
23
  return elRef.value?.[key];
24
24
  },
25
25
  has(_, key) {
26
+ if (!elRef.value) return false;
26
27
  return key in elRef.value;
27
28
  }
28
29
  }
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
25
  return elRef.value?.[key];
26
26
  },
27
27
  has(_, key) {
28
+ if (!elRef.value) return false;
28
29
  return key in elRef.value;
29
30
  }
30
31
  }
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
25
25
  return elRef.value?.[key];
26
26
  },
27
27
  has(_, key) {
28
+ if (!elRef.value) return false;
28
29
  return key in elRef.value;
29
30
  }
30
31
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -27,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
27
27
  return elRef.value?.[key];
28
28
  },
29
29
  has(_, key) {
30
+ if (!elRef.value) return false;
30
31
  return key in elRef.value;
31
32
  }
32
33
  }
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
29
29
  return elRef.value?.[key];
30
30
  },
31
31
  has(_, key) {
32
+ if (!elRef.value) return false;
32
33
  return key in elRef.value;
33
34
  }
34
35
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
28
28
  return elRef.value?.[key];
29
29
  },
30
30
  has(_, key) {
31
+ if (!elRef.value) return false;
31
32
  return key in elRef.value;
32
33
  }
33
34
  }
@@ -32,6 +32,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
32
32
  return elRef.value?.[key];
33
33
  },
34
34
  has(_, key) {
35
+ if (!elRef.value) return false;
35
36
  return key in elRef.value;
36
37
  }
37
38
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
24
24
  return elRef.value?.[key];
25
25
  },
26
26
  has(_, key) {
27
+ if (!elRef.value) return false;
27
28
  return key in elRef.value;
28
29
  }
29
30
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const version = "1.1.25";
5
+ const version = "1.1.27";
6
6
 
7
7
  exports.version = version;
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, onMounted, resolveDirective, createElementBlock, openBlock, normalizeClass, unref, createVNode, withDirectives, createCommentVNode, withCtx, renderSlot, createBlock, mergeProps, Fragment, renderList, createSlots, resolveDynamicComponent, h } from 'vue';
1
+ import { defineComponent, ref, computed, onMounted, resolveDirective, createElementBlock, openBlock, normalizeClass, unref, createVNode, createCommentVNode, withDirectives, withCtx, renderSlot, createBlock, mergeProps, Fragment, renderList, createSlots, resolveDynamicComponent, h } from 'vue';
2
2
  import { useNamespace } from '../../hooks/use-namespace.mjs';
3
3
  import { FcDangerButton, FcLinkButton } from '../../components/Button/index.mjs';
4
4
  import '../../components/Dialog/index.mjs';
@@ -135,13 +135,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
135
135
  const queryBoxRef = ref();
136
136
  const queryBoxHeight = ref(0);
137
137
  const paginationBoxRef = ref(null);
138
+ const splitLineRef = ref(null);
139
+ const { height: splitLineHeight } = useElementSize(splitLineRef, void 0, {
140
+ box: "border-box"
141
+ });
138
142
  const { height: paginationBoxHeight } = useElementSize(paginationBoxRef, void 0, {
139
143
  box: "border-box"
140
144
  });
141
145
  const containerRef = ref(null);
142
146
  const { height: containerHeight } = useElementSize(containerRef);
143
147
  const maxTableHeight = computed(() => {
144
- return (props.height || containerHeight.value) - ((queryBoxHeight.value > 0 ? queryBoxHeight.value + 8 : 0) + paginationBoxHeight.value);
148
+ return (props.height || containerHeight.value) - ((queryBoxHeight.value > 0 ? queryBoxHeight.value + splitLineHeight.value : 0) + paginationBoxHeight.value);
145
149
  });
146
150
  const pagination = ref({
147
151
  currentPage: 1,
@@ -189,9 +193,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
189
193
  pagination.value.pageSize = pageSize;
190
194
  loadData();
191
195
  };
196
+ const resetSearch = () => {
197
+ queryBoxRef.value?.resetFields();
198
+ handleResetClick();
199
+ };
192
200
  __expose({
193
201
  loadData,
194
- tableData
202
+ // 刷新当前页
203
+ tableData,
204
+ reload: handleResetClick,
205
+ // 不清空表单,回到第一页刷新
206
+ resetSearch
207
+ // 清空表单,回到第一页刷新
195
208
  });
196
209
  return (_ctx, _cache) => {
197
210
  const _directive_loading = resolveDirective("loading");
@@ -215,6 +228,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
215
228
  ]),
216
229
  _: 3
217
230
  }, 8, ["fields", "tools", "btn-disabled"]),
231
+ __props.fields && __props.fields.length > 0 ? (openBlock(), createElementBlock("div", {
232
+ key: 0,
233
+ ref_key: "splitLineRef",
234
+ ref: splitLineRef,
235
+ class: normalizeClass(unref(ns).e("split-line"))
236
+ }, null, 2)) : createCommentVNode("", true),
218
237
  withDirectives((openBlock(), createBlock(unref(FcTable), mergeProps(_ctx.$attrs, {
219
238
  data: tableData.value,
220
239
  border: "",
@@ -266,7 +285,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
266
285
  [_directive_loading, tableLoading.value]
267
286
  ]),
268
287
  __props.isPagination ? (openBlock(), createElementBlock("div", {
269
- key: 0,
288
+ key: 1,
270
289
  ref_key: "paginationBoxRef",
271
290
  ref: paginationBoxRef,
272
291
  class: normalizeClass(unref(ns).e("pagination-box"))
@@ -176,6 +176,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
176
176
  if (key === "refresh") {
177
177
  return true;
178
178
  }
179
+ if (!formRef.value) return false;
179
180
  return key in formRef.value;
180
181
  }
181
182
  }
@@ -145,6 +145,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
145
145
  if (key === "setValues" || key === "model") {
146
146
  return true;
147
147
  }
148
+ if (!formRef.value) return false;
148
149
  return key in formRef.value;
149
150
  }
150
151
  }
@@ -192,6 +192,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
192
192
  return formRef.value?.[key];
193
193
  },
194
194
  has(_, key) {
195
+ if (!formRef.value) return false;
195
196
  return key in formRef.value;
196
197
  }
197
198
  }
@@ -204,8 +205,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
204
205
  ref: queryBoxRef,
205
206
  class: normalizeClass({ [unref(ns).e("query-box")]: true, [unref(ns).is("expanded")]: isExpanded.value }),
206
207
  style: normalizeStyle({
207
- "--query-box-max-height": unref(formHeight) + 16 + "px",
208
- "--query-box-first-row-height": formFirstRowHeight.value + 16 + "px"
208
+ "--query-box-max-height": unref(formHeight) + "px",
209
+ "--query-box-first-row-height": formFirstRowHeight.value + "px"
209
210
  })
210
211
  }, [
211
212
  createVNode(_sfc_main$1, {
@@ -175,6 +175,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
175
175
  return treeRef.value?.[key];
176
176
  },
177
177
  has(_, key) {
178
+ if (!treeRef.value) return false;
178
179
  return key in treeRef.value;
179
180
  }
180
181
  }
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  return elRef.value?.[key];
21
21
  },
22
22
  has(_, key) {
23
+ if (!elRef.value) return false;
23
24
  return key in elRef.value;
24
25
  }
25
26
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -25,6 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  return elRef.value?.[key];
26
26
  },
27
27
  has(_, key) {
28
+ if (!elRef.value) return false;
28
29
  return key in elRef.value;
29
30
  }
30
31
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -24,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  return elRef.value?.[key];
25
25
  },
26
26
  has(_, key) {
27
+ if (!elRef.value) return false;
27
28
  return key in elRef.value;
28
29
  }
29
30
  }
@@ -60,6 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  return elRef.value?.[key];
61
61
  },
62
62
  has(_, key) {
63
+ if (!elRef.value) return false;
63
64
  return key in elRef.value;
64
65
  }
65
66
  }
@@ -28,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  return elRef.value?.[key];
29
29
  },
30
30
  has(_, key) {
31
+ if (!elRef.value) return false;
31
32
  return key in elRef.value;
32
33
  }
33
34
  }
@@ -27,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  return elRef.value?.[key];
28
28
  },
29
29
  has(_, key) {
30
+ if (!elRef.value) return false;
30
31
  return key in elRef.value;
31
32
  }
32
33
  }
@@ -29,6 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  return elRef.value?.[key];
30
30
  },
31
31
  has(_, key) {
32
+ if (!elRef.value) return false;
32
33
  return key in elRef.value;
33
34
  }
34
35
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -96,6 +96,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
96
  return elRef.value?.[key];
97
97
  },
98
98
  has(_, key) {
99
+ if (!elRef.value) return false;
99
100
  return key in elRef.value;
100
101
  }
101
102
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -44,6 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  return elRef.value?.[key];
45
45
  },
46
46
  has(_, key) {
47
+ if (!elRef.value) return false;
47
48
  return key in elRef.value;
48
49
  }
49
50
  }
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  return elRef.value?.[key];
21
21
  },
22
22
  has(_, key) {
23
+ if (!elRef.value) return false;
23
24
  return key in elRef.value;
24
25
  }
25
26
  }
@@ -21,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
21
  return elRef.value?.[key];
22
22
  },
23
23
  has(_, key) {
24
+ if (!elRef.value) return false;
24
25
  return key in elRef.value;
25
26
  }
26
27
  }
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  return elRef.value?.[key];
23
23
  },
24
24
  has(_, key) {
25
+ if (!elRef.value) return false;
25
26
  return key in elRef.value;
26
27
  }
27
28
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  return elRef.value?.[key];
18
18
  },
19
19
  has(_, key) {
20
+ if (!elRef.value) return false;
20
21
  return key in elRef.value;
21
22
  }
22
23
  }
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
18
18
  return elRef.value?.[key];
19
19
  },
20
20
  has(_, key) {
21
+ if (!elRef.value) return false;
21
22
  return key in elRef.value;
22
23
  }
23
24
  }
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  return elRef.value?.[key];
21
21
  },
22
22
  has(_, key) {
23
+ if (!elRef.value) return false;
23
24
  return key in elRef.value;
24
25
  }
25
26
  }