vxe-pc-ui 4.1.20 → 4.1.21

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 (231) hide show
  1. package/README.md +82 -1
  2. package/es/anchor/src/anchor-link.js +1 -1
  3. package/es/anchor/src/anchor.js +1 -1
  4. package/es/breadcrumb/src/breadcrumb.js +1 -1
  5. package/es/button/src/button-group.js +4 -1
  6. package/es/calendar/src/calendar.js +64 -32
  7. package/es/carousel/src/carousel-item.js +13 -3
  8. package/es/carousel/src/carousel.js +16 -8
  9. package/es/checkbox/src/checkbox.js +30 -14
  10. package/es/checkbox/src/group.js +17 -8
  11. package/es/collapse-pane/index.js +1 -1
  12. package/es/countdown/src/countdown.js +1 -1
  13. package/es/date-picker/src/date-picker.js +12 -12
  14. package/es/drawer/src/drawer.js +1 -1
  15. package/es/form/render/index.js +1 -2
  16. package/es/form/src/form-config-item.js +4 -3
  17. package/es/form/src/form-gather.js +5 -3
  18. package/es/form/src/form-item.js +15 -10
  19. package/es/form/src/form.js +11 -8
  20. package/es/form/src/render.js +2 -1
  21. package/es/form/src/util.js +2 -1
  22. package/es/icon/style.css +1 -1
  23. package/es/icon-picker/src/icon-picker.js +22 -10
  24. package/es/image/src/group.js +4 -1
  25. package/es/image/src/preview.js +1 -1
  26. package/es/input/src/input.js +129 -65
  27. package/es/layout-aside/src/layout-aside.js +1 -1
  28. package/es/list/src/list.js +7 -5
  29. package/es/list-design/src/list-design.js +1 -1
  30. package/es/list-design/src/list-view.js +1 -1
  31. package/es/loading/src/loading.js +1 -1
  32. package/es/menu/src/menu.js +1 -1
  33. package/es/number-input/src/number-input.js +6 -6
  34. package/es/pager/src/pager.js +85 -45
  35. package/es/password-input/src/password-input.js +2 -2
  36. package/es/print/src/page-break.js +11 -2
  37. package/es/print/src/print.js +6 -4
  38. package/es/radio/src/group.js +5 -2
  39. package/es/row/src/row.js +1 -1
  40. package/es/select/src/optgroup.js +11 -8
  41. package/es/select/src/option.js +9 -7
  42. package/es/select/src/select.js +32 -29
  43. package/es/select/src/util.js +2 -2
  44. package/es/style.css +1 -1
  45. package/es/style.min.css +1 -1
  46. package/es/tabs/src/tab-pane.js +13 -3
  47. package/es/tabs/src/tabs.js +57 -47
  48. package/es/textarea/src/textarea.js +4 -4
  49. package/es/tooltip/src/tooltip.js +1 -1
  50. package/es/tree/src/tree.js +6 -3
  51. package/es/tree-select/src/tree-select.js +16 -9
  52. package/es/ui/index.js +1 -7
  53. package/es/ui/src/log.js +1 -1
  54. package/es/upload/src/upload.js +5 -5
  55. package/lib/anchor/src/anchor-link.js +1 -1
  56. package/lib/anchor/src/anchor-link.min.js +1 -1
  57. package/lib/anchor/src/anchor.js +1 -1
  58. package/lib/anchor/src/anchor.min.js +1 -1
  59. package/lib/breadcrumb/src/breadcrumb.js +1 -1
  60. package/lib/breadcrumb/src/breadcrumb.min.js +1 -1
  61. package/lib/button/src/button-group.js +4 -1
  62. package/lib/button/src/button-group.min.js +1 -1
  63. package/lib/calendar/src/calendar.js +42 -24
  64. package/lib/calendar/src/calendar.min.js +1 -1
  65. package/lib/carousel/src/carousel-item.js +16 -3
  66. package/lib/carousel/src/carousel-item.min.js +1 -1
  67. package/lib/carousel/src/carousel.js +18 -8
  68. package/lib/carousel/src/carousel.min.js +1 -1
  69. package/lib/checkbox/src/checkbox.js +16 -12
  70. package/lib/checkbox/src/checkbox.min.js +1 -1
  71. package/lib/checkbox/src/group.js +10 -7
  72. package/lib/checkbox/src/group.min.js +1 -1
  73. package/lib/collapse-pane/index.js +1 -1
  74. package/lib/collapse-pane/index.min.js +1 -1
  75. package/lib/countdown/src/countdown.js +1 -1
  76. package/lib/countdown/src/countdown.min.js +1 -1
  77. package/lib/date-picker/src/date-picker.js +12 -12
  78. package/lib/drawer/src/drawer.js +1 -1
  79. package/lib/drawer/src/drawer.min.js +1 -1
  80. package/lib/form/render/index.js +1 -4
  81. package/lib/form/render/index.min.js +1 -1
  82. package/lib/form/src/form-config-item.js +4 -5
  83. package/lib/form/src/form-config-item.min.js +1 -1
  84. package/lib/form/src/form-gather.js +11 -9
  85. package/lib/form/src/form-gather.min.js +1 -1
  86. package/lib/form/src/form-item.js +11 -12
  87. package/lib/form/src/form-item.min.js +1 -1
  88. package/lib/form/src/form.js +7 -7
  89. package/lib/form/src/form.min.js +1 -1
  90. package/lib/form/src/render.js +2 -1
  91. package/lib/form/src/util.js +2 -1
  92. package/lib/icon/style/style.css +1 -1
  93. package/lib/icon/style/style.min.css +1 -1
  94. package/lib/icon-picker/src/icon-picker.js +20 -11
  95. package/lib/icon-picker/src/icon-picker.min.js +1 -1
  96. package/lib/image/src/group.js +4 -1
  97. package/lib/image/src/group.min.js +1 -1
  98. package/lib/image/src/preview.js +1 -1
  99. package/lib/image/src/preview.min.js +1 -1
  100. package/lib/index.umd.js +522 -377
  101. package/lib/index.umd.min.js +1 -1
  102. package/lib/input/src/input.js +77 -50
  103. package/lib/input/src/input.min.js +1 -1
  104. package/lib/layout-aside/src/layout-aside.js +1 -1
  105. package/lib/layout-aside/src/layout-aside.min.js +1 -1
  106. package/lib/list/src/list.js +9 -5
  107. package/lib/list/src/list.min.js +1 -1
  108. package/lib/list-design/src/list-design.js +1 -1
  109. package/lib/list-design/src/list-design.min.js +1 -1
  110. package/lib/list-design/src/list-view.js +1 -1
  111. package/lib/list-design/src/list-view.min.js +1 -1
  112. package/lib/loading/src/loading.js +1 -1
  113. package/lib/loading/src/loading.min.js +1 -1
  114. package/lib/menu/src/menu.js +1 -1
  115. package/lib/menu/src/menu.min.js +1 -1
  116. package/lib/number-input/src/number-input.js +6 -6
  117. package/lib/pager/src/pager.js +40 -39
  118. package/lib/pager/src/pager.min.js +1 -1
  119. package/lib/password-input/src/password-input.js +2 -2
  120. package/lib/print/src/page-break.js +14 -2
  121. package/lib/print/src/page-break.min.js +1 -1
  122. package/lib/print/src/print.js +8 -6
  123. package/lib/print/src/print.min.js +1 -1
  124. package/lib/radio/src/group.js +5 -2
  125. package/lib/radio/src/group.min.js +1 -1
  126. package/lib/row/src/row.js +1 -1
  127. package/lib/row/src/row.min.js +1 -1
  128. package/lib/select/src/optgroup.js +12 -9
  129. package/lib/select/src/optgroup.min.js +1 -1
  130. package/lib/select/src/option.js +9 -7
  131. package/lib/select/src/option.min.js +1 -1
  132. package/lib/select/src/select.js +33 -32
  133. package/lib/select/src/select.min.js +1 -1
  134. package/lib/select/src/util.js +2 -2
  135. package/lib/select/src/util.min.js +1 -1
  136. package/lib/style.css +1 -1
  137. package/lib/style.min.css +1 -1
  138. package/lib/tabs/src/tab-pane.js +16 -3
  139. package/lib/tabs/src/tab-pane.min.js +1 -1
  140. package/lib/tabs/src/tabs.js +62 -50
  141. package/lib/tabs/src/tabs.min.js +1 -1
  142. package/lib/textarea/src/textarea.js +4 -4
  143. package/lib/tooltip/src/tooltip.js +1 -1
  144. package/lib/tooltip/src/tooltip.min.js +1 -1
  145. package/lib/tree/src/tree.js +2 -2
  146. package/lib/tree/src/tree.min.js +1 -1
  147. package/lib/tree-select/src/tree-select.js +11 -7
  148. package/lib/tree-select/src/tree-select.min.js +1 -1
  149. package/lib/ui/index.js +3 -10
  150. package/lib/ui/index.min.js +1 -1
  151. package/lib/ui/src/log.js +1 -1
  152. package/lib/ui/src/log.min.js +1 -1
  153. package/lib/upload/src/upload.js +5 -5
  154. package/lib/upload/src/upload.min.js +1 -1
  155. package/package.json +2 -2
  156. package/packages/anchor/src/anchor-link.ts +2 -2
  157. package/packages/anchor/src/anchor.ts +2 -2
  158. package/packages/breadcrumb/src/breadcrumb.ts +2 -2
  159. package/packages/button/src/button-group.ts +4 -1
  160. package/packages/calendar/src/calendar.ts +67 -35
  161. package/packages/carousel/src/carousel-item.ts +19 -4
  162. package/packages/carousel/src/carousel.ts +19 -11
  163. package/packages/checkbox/src/checkbox.ts +34 -15
  164. package/packages/checkbox/src/group.ts +22 -10
  165. package/packages/collapse-pane/index.ts +1 -1
  166. package/packages/countdown/src/countdown.ts +2 -2
  167. package/packages/date-picker/src/date-picker.ts +12 -12
  168. package/packages/drawer/src/drawer.ts +2 -2
  169. package/packages/form/render/index.ts +1 -3
  170. package/packages/form/src/form-config-item.ts +4 -3
  171. package/packages/form/src/form-gather.ts +5 -3
  172. package/packages/form/src/form-item.ts +15 -10
  173. package/packages/form/src/form.ts +12 -10
  174. package/packages/form/src/render.ts +2 -1
  175. package/packages/form/src/util.ts +2 -1
  176. package/packages/icon-picker/src/icon-picker.ts +26 -13
  177. package/packages/image/src/group.ts +4 -1
  178. package/packages/image/src/preview.ts +2 -2
  179. package/packages/input/src/input.ts +133 -71
  180. package/packages/layout-aside/src/layout-aside.ts +2 -2
  181. package/packages/list/src/list.ts +12 -11
  182. package/packages/list-design/src/list-design.ts +2 -2
  183. package/packages/list-design/src/list-view.ts +2 -2
  184. package/packages/loading/src/loading.ts +2 -2
  185. package/packages/menu/src/menu.ts +2 -2
  186. package/packages/number-input/src/number-input.ts +6 -6
  187. package/packages/pager/src/pager.ts +91 -50
  188. package/packages/password-input/src/password-input.ts +2 -2
  189. package/packages/print/src/page-break.ts +18 -4
  190. package/packages/print/src/print.ts +10 -5
  191. package/packages/radio/src/group.ts +6 -3
  192. package/packages/row/src/row.ts +2 -2
  193. package/packages/select/src/optgroup.ts +16 -13
  194. package/packages/select/src/option.ts +10 -8
  195. package/packages/select/src/select.ts +42 -36
  196. package/packages/select/src/util.ts +3 -3
  197. package/packages/tabs/src/tab-pane.ts +20 -5
  198. package/packages/tabs/src/tabs.ts +59 -49
  199. package/packages/textarea/src/textarea.ts +4 -4
  200. package/packages/tooltip/src/tooltip.ts +2 -2
  201. package/packages/tree/src/tree.ts +7 -4
  202. package/packages/tree-select/src/tree-select.ts +20 -12
  203. package/packages/ui/index.ts +0 -7
  204. package/packages/upload/src/upload.ts +6 -6
  205. package/types/components/calendar.d.ts +6 -0
  206. package/types/components/carousel.d.ts +5 -0
  207. package/types/components/form.d.ts +4 -2
  208. package/types/components/icon-picker.d.ts +4 -0
  209. package/types/components/input.d.ts +9 -1
  210. package/types/components/list.d.ts +1 -0
  211. package/types/components/optgroup.d.ts +10 -4
  212. package/types/components/tabs.d.ts +4 -0
  213. package/types/components/toolbar.d.ts +5 -0
  214. package/types/components/tree-select.d.ts +4 -0
  215. package/types/ui/index.d.ts +0 -22
  216. /package/es/{collapse-pane → collapse}/src/collapse-pane.js +0 -0
  217. /package/es/icon/style/{iconfont.1725680652286.ttf → iconfont.1725941866604.ttf} +0 -0
  218. /package/es/icon/style/{iconfont.1725680652286.woff → iconfont.1725941866604.woff} +0 -0
  219. /package/es/icon/style/{iconfont.1725680652286.woff2 → iconfont.1725941866604.woff2} +0 -0
  220. /package/es/{iconfont.1725680652286.ttf → iconfont.1725941866604.ttf} +0 -0
  221. /package/es/{iconfont.1725680652286.woff → iconfont.1725941866604.woff} +0 -0
  222. /package/es/{iconfont.1725680652286.woff2 → iconfont.1725941866604.woff2} +0 -0
  223. /package/lib/{collapse-pane → collapse}/src/collapse-pane.js +0 -0
  224. /package/lib/{collapse-pane → collapse}/src/collapse-pane.min.js +0 -0
  225. /package/lib/icon/style/{iconfont.1725680652286.ttf → iconfont.1725941866604.ttf} +0 -0
  226. /package/lib/icon/style/{iconfont.1725680652286.woff → iconfont.1725941866604.woff} +0 -0
  227. /package/lib/icon/style/{iconfont.1725680652286.woff2 → iconfont.1725941866604.woff2} +0 -0
  228. /package/lib/{iconfont.1725680652286.ttf → iconfont.1725941866604.ttf} +0 -0
  229. /package/lib/{iconfont.1725680652286.woff → iconfont.1725941866604.woff} +0 -0
  230. /package/lib/{iconfont.1725680652286.woff2 → iconfont.1725941866604.woff2} +0 -0
  231. /package/packages/{collapse-pane → collapse}/src/collapse-pane.ts +0 -0
package/lib/index.umd.js CHANGED
@@ -2419,13 +2419,15 @@ updateVar();
2419
2419
  /* harmony default export */ var index_esm = (DomZIndex);
2420
2420
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
2421
2421
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
2422
- ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/globalStore.js
2422
+ ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/configStore.js
2423
2423
  const globalConfigStore = {
2424
2424
  size: '',
2425
2425
  version: 1,
2426
2426
  zIndex: 999,
2427
2427
  resizeInterval: 500
2428
2428
  };
2429
+ ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/dataStore.js
2430
+ const globalStore = {};
2429
2431
  ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/iconStore.js
2430
2432
  const iconConfigStore = {};
2431
2433
  ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/themeStore.js
@@ -2678,7 +2680,7 @@ function createLog(type, name) {
2678
2680
  return msg;
2679
2681
  };
2680
2682
  }
2681
- const version = "4.0.7";
2683
+ const version = "4.0.9";
2682
2684
  const log = {
2683
2685
  create: createLog,
2684
2686
  warn: createLog('warn', `v${version}`),
@@ -3125,6 +3127,7 @@ const useFns = {
3125
3127
 
3126
3128
 
3127
3129
 
3130
+
3128
3131
 
3129
3132
 
3130
3133
  function setTheme(name) {
@@ -3179,7 +3182,7 @@ function setIcon(options) {
3179
3182
  function getIcon(key) {
3180
3183
  return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconConfigStore, key) : iconConfigStore;
3181
3184
  }
3182
- const coreVersion = "4.0.7";
3185
+ const coreVersion = "4.0.9";
3183
3186
  const installedPlugins = [];
3184
3187
  function use(Plugin, options) {
3185
3188
  if (Plugin && Plugin.install) {
@@ -3229,6 +3232,7 @@ const core_VxeUI = {
3229
3232
  clipboard: clipboard,
3230
3233
  log: log,
3231
3234
  permission: permission,
3235
+ globalStore: globalStore,
3232
3236
  hooks: hooks,
3233
3237
  component,
3234
3238
  getComponent,
@@ -3250,6 +3254,7 @@ setTheme();
3250
3254
 
3251
3255
 
3252
3256
 
3257
+
3253
3258
  /* harmony default export */ var core = ((/* unused pure expression or super */ null && (core_VxeUI)));
3254
3259
  ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/index.esm.js
3255
3260
 
@@ -3996,7 +4001,7 @@ function handleBooleanDefaultValue(value) {
3996
4001
  }
3997
4002
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
3998
4003
 
3999
- const log_version = `ui v${"4.1.20"}`;
4004
+ const log_version = `ui v${"4.1.21"}`;
4000
4005
  const warnLog = log.create('warn', log_version);
4001
4006
  const errLog = log.create('error', log_version);
4002
4007
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
@@ -4004,7 +4009,7 @@ const errLog = log.create('error', log_version);
4004
4009
 
4005
4010
 
4006
4011
 
4007
- const ui_version = "4.1.20";
4012
+ const ui_version = "4.1.21";
4008
4013
  core_VxeUI.version = ui_version;
4009
4014
  core_VxeUI.uiVersion = ui_version;
4010
4015
  core_VxeUI.tableVersion = '';
@@ -4025,12 +4030,6 @@ function setup(options) {
4025
4030
  }
4026
4031
  core_VxeUI.config = config;
4027
4032
  core_VxeUI.setup = setup;
4028
- /**
4029
- * 已废弃
4030
- * @deprecated
4031
- */
4032
- const globalStore = {};
4033
- core_VxeUI.globalStore = globalStore;
4034
4033
  setConfig({
4035
4034
  alert: {},
4036
4035
  anchor: {},
@@ -4801,8 +4800,8 @@ function destroyAnchorLink($xeAnchor, linkConfig) {
4801
4800
  class: 'vxe-anchor-link--sub-items'
4802
4801
  }, subSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
4803
4802
  };
4804
- $xeAnchorLink.renderVN = renderVN;
4805
4803
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeAnchorLink', $xeAnchorLink);
4804
+ $xeAnchorLink.renderVN = renderVN;
4806
4805
  return $xeAnchorLink;
4807
4806
  },
4808
4807
  render() {
@@ -5023,8 +5022,8 @@ function destroyAnchorLink($xeAnchor, linkConfig) {
5023
5022
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onBeforeUnmount)(() => {
5024
5023
  removeContainerElemScroll();
5025
5024
  });
5026
- $xeAnchor.renderVN = renderVN;
5027
5025
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeAnchor', $xeAnchor);
5026
+ $xeAnchor.renderVN = renderVN;
5028
5027
  return $xeAnchor;
5029
5028
  },
5030
5029
  render() {
@@ -5209,8 +5208,8 @@ const AnchorLink = VxeAnchorLink;
5209
5208
  class: 'vxe-breadcrumb'
5210
5209
  }, defaultSlot ? defaultSlot({}) : renderItems());
5211
5210
  };
5212
- $xeBreadcrumb.renderVN = renderVN;
5213
5211
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeBreadcrumb', $xeBreadcrumb);
5212
+ $xeBreadcrumb.renderVN = renderVN;
5214
5213
  return $xeBreadcrumb;
5215
5214
  },
5216
5215
  render() {
@@ -6029,7 +6028,10 @@ const Button = VxeButton;
6029
6028
  };
6030
6029
  $xeButtonGroup.renderVN = renderVN;
6031
6030
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeButtonGroup', $xeButtonGroup);
6032
- return renderVN;
6031
+ return $xeButtonGroup;
6032
+ },
6033
+ render() {
6034
+ return this.renderVN();
6033
6035
  }
6034
6036
  }));
6035
6037
  ;// CONCATENATED MODULE: ./packages/button-group/index.ts
@@ -6146,9 +6148,6 @@ function getDateQuarter(date) {
6146
6148
  const {
6147
6149
  computeSize
6148
6150
  } = useSize(props);
6149
- const yearSize = 12;
6150
- const monthSize = 20;
6151
- const quarterSize = 8;
6152
6151
  const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
6153
6152
  selectValue: props.modelValue,
6154
6153
  inputValue: props.modelValue,
@@ -6158,7 +6157,24 @@ function getDateQuarter(date) {
6158
6157
  selectMonth: null,
6159
6158
  currentDate: null
6160
6159
  });
6160
+ const internalData = {
6161
+ yearSize: 12,
6162
+ monthSize: 20,
6163
+ quarterSize: 8
6164
+ };
6161
6165
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
6166
+ const refMaps = {
6167
+ refElem
6168
+ };
6169
+ const $xeCalendar = {
6170
+ xID,
6171
+ props,
6172
+ context,
6173
+ reactData,
6174
+ internalData,
6175
+ getRefMaps: () => refMaps
6176
+ };
6177
+ let calendarMethods = {};
6162
6178
  const computeCalendarStyle = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
6163
6179
  const {
6164
6180
  height,
@@ -6173,20 +6189,6 @@ function getDateQuarter(date) {
6173
6189
  }
6174
6190
  return stys;
6175
6191
  });
6176
- const refMaps = {
6177
- refElem
6178
- };
6179
- const $xeCalendar = {
6180
- xID,
6181
- props,
6182
- context,
6183
- reactData,
6184
- getRefMaps: () => refMaps
6185
- };
6186
- let calendarMethods = {};
6187
- const parseDate = (value, format) => {
6188
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(value, format);
6189
- };
6190
6192
  const computeIsDisabled = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
6191
6193
  return false;
6192
6194
  });
@@ -6296,6 +6298,9 @@ function getDateQuarter(date) {
6296
6298
  selectMonth,
6297
6299
  currentDate
6298
6300
  } = reactData;
6301
+ const {
6302
+ yearSize
6303
+ } = internalData;
6299
6304
  const years = [];
6300
6305
  if (selectMonth && currentDate) {
6301
6306
  const currFullYear = currentDate.getFullYear();
@@ -6396,6 +6401,9 @@ function getDateQuarter(date) {
6396
6401
  selectMonth,
6397
6402
  currentDate
6398
6403
  } = reactData;
6404
+ const {
6405
+ quarterSize
6406
+ } = internalData;
6399
6407
  const quarters = [];
6400
6408
  if (selectMonth && currentDate) {
6401
6409
  const currFullYear = currentDate.getFullYear();
@@ -6428,6 +6436,9 @@ function getDateQuarter(date) {
6428
6436
  selectMonth,
6429
6437
  currentDate
6430
6438
  } = reactData;
6439
+ const {
6440
+ monthSize
6441
+ } = internalData;
6431
6442
  const months = [];
6432
6443
  if (selectMonth && currentDate) {
6433
6444
  const currFullYear = currentDate.getFullYear();
@@ -6510,7 +6521,10 @@ function getDateQuarter(date) {
6510
6521
  return [item].concat(list);
6511
6522
  });
6512
6523
  });
6513
- const emitModel = (value, evnt) => {
6524
+ const parseDate = (value, format) => {
6525
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toStringDate(value, format);
6526
+ };
6527
+ const handleChange = (value, evnt) => {
6514
6528
  reactData.inputValue = value;
6515
6529
  emit('update:modelValue', value);
6516
6530
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(props.modelValue) !== value) {
@@ -6603,18 +6617,18 @@ function getDateQuarter(date) {
6603
6617
  const dateMultipleValue = computeDateMultipleValue.value;
6604
6618
  // 如果是日期类型
6605
6619
  if (dateMultipleValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal))) {
6606
- emitModel(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
6620
+ handleChange(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
6607
6621
  type: 'update'
6608
6622
  });
6609
6623
  } else {
6610
- emitModel(dateMultipleValue.concat([inpVal]).join(','), {
6624
+ handleChange(dateMultipleValue.concat([inpVal]).join(','), {
6611
6625
  type: 'update'
6612
6626
  });
6613
6627
  }
6614
6628
  } else {
6615
6629
  // 如果为单选
6616
6630
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(modelValue, inpVal)) {
6617
- emitModel(inpVal, {
6631
+ handleChange(inpVal, {
6618
6632
  type: 'update'
6619
6633
  });
6620
6634
  }
@@ -6647,6 +6661,9 @@ function getDateQuarter(date) {
6647
6661
  datePanelType,
6648
6662
  selectMonth
6649
6663
  } = reactData;
6664
+ const {
6665
+ yearSize
6666
+ } = internalData;
6650
6667
  const isDisabledPrevDateBtn = computeIsDisabledPrevDateBtn.value;
6651
6668
  if (!isDisabledPrevDateBtn) {
6652
6669
  if (type === 'year') {
@@ -6688,6 +6705,9 @@ function getDateQuarter(date) {
6688
6705
  datePanelType,
6689
6706
  selectMonth
6690
6707
  } = reactData;
6708
+ const {
6709
+ yearSize
6710
+ } = internalData;
6691
6711
  const isDisabledNextDateBtn = computeIsDisabledNextDateBtn.value;
6692
6712
  if (!isDisabledNextDateBtn) {
6693
6713
  if (type === 'year') {
@@ -6869,10 +6889,10 @@ function getDateQuarter(date) {
6869
6889
  class: ['vxe-calendar--date-label', {
6870
6890
  'is-notice': festivalItem.notice
6871
6891
  }]
6872
- }, extraItem && extraItem.label ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', label), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6892
+ }, extraItem && extraItem.label ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', `${label || ''}`), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
6873
6893
  class: ['vxe-calendar--date-label--extra', extraItem.important ? 'is-important' : '', extraItem.className],
6874
6894
  style: extraItem.style
6875
- }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(extraItem.label))] : label)];
6895
+ }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(extraItem.label))] : [`${label || ''}`])];
6876
6896
  const festivalLabel = festivalItem.label;
6877
6897
  if (festivalLabel) {
6878
6898
  // 默认最多支持3个节日重叠
@@ -6888,7 +6908,7 @@ function getDateQuarter(date) {
6888
6908
  }
6889
6909
  return labels;
6890
6910
  }
6891
- return label;
6911
+ return `${label || ''}`;
6892
6912
  };
6893
6913
  const renderDateDayTable = () => {
6894
6914
  const {
@@ -7324,11 +7344,11 @@ const Calendar = VxeCalendar;
7324
7344
  class: 'vxe-loading--text'
7325
7345
  }, textSlot ? getSlotVNs(textSlot({})) : `${loadingText}`) : null])]);
7326
7346
  };
7327
- $xeLoading.renderVN = renderVN;
7328
7347
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
7329
7348
  handleInit();
7330
7349
  });
7331
7350
  handleInit();
7351
+ $xeLoading.renderVN = renderVN;
7332
7352
  return $xeLoading;
7333
7353
  },
7334
7354
  render() {
@@ -7540,6 +7560,10 @@ const Card = VxeCard;
7540
7560
  itemWidth: 0,
7541
7561
  itemHeight: 0
7542
7562
  });
7563
+ const internalData = {
7564
+ apTimeout: undefined,
7565
+ stopFlag: false
7566
+ };
7543
7567
  const refMaps = {
7544
7568
  refElem
7545
7569
  };
@@ -7571,6 +7595,7 @@ const Card = VxeCard;
7571
7595
  props,
7572
7596
  context,
7573
7597
  reactData,
7598
+ internalData,
7574
7599
  getRefMaps: () => refMaps,
7575
7600
  getComputeMaps: () => computeMaps
7576
7601
  };
@@ -7685,12 +7710,14 @@ const Card = VxeCard;
7685
7710
  }, evnt);
7686
7711
  }
7687
7712
  };
7688
- let apTimeout = null;
7689
- let stopFlag = false;
7690
7713
  const stopAutoPlay = () => {
7691
- stopFlag = true;
7692
- if (apTimeout !== null) {
7714
+ const {
7715
+ apTimeout
7716
+ } = internalData;
7717
+ internalData.stopFlag = true;
7718
+ if (apTimeout) {
7693
7719
  clearTimeout(apTimeout);
7720
+ internalData.apTimeout = undefined;
7694
7721
  }
7695
7722
  };
7696
7723
  const handleAutoPlay = () => {
@@ -7698,10 +7725,13 @@ const Card = VxeCard;
7698
7725
  autoPlay,
7699
7726
  interval
7700
7727
  } = props;
7728
+ const {
7729
+ stopFlag
7730
+ } = internalData;
7701
7731
  stopAutoPlay();
7702
7732
  if (autoPlay) {
7703
- stopFlag = false;
7704
- apTimeout = setTimeout(() => {
7733
+ internalData.stopFlag = false;
7734
+ internalData.apTimeout = setTimeout(() => {
7705
7735
  if (!stopFlag) {
7706
7736
  handlePrevNext(true);
7707
7737
  }
@@ -7810,7 +7840,7 @@ const Card = VxeCard;
7810
7840
  style: height ? {
7811
7841
  height: toCssUnit(height)
7812
7842
  } : null
7813
- }, renderItemWrapper(list)), showIndicators ? renderIndicators(list) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7843
+ }, [renderItemWrapper(list)]), showIndicators ? renderIndicators(list) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7814
7844
  class: 'vxe-carousel--btn-wrapper'
7815
7845
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7816
7846
  class: 'vxe-carousel--previous-btn',
@@ -7831,7 +7861,6 @@ const Card = VxeCard;
7831
7861
  modelValue: loading
7832
7862
  })]);
7833
7863
  };
7834
- $xeCarousel.renderVN = renderVN;
7835
7864
  const optsFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
7836
7865
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.options ? props.options.length : -1, () => {
7837
7866
  optsFlag.value++;
@@ -7864,6 +7893,7 @@ const Card = VxeCard;
7864
7893
  stopAutoPlay();
7865
7894
  });
7866
7895
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeCarousel', $xeCarousel);
7896
+ $xeCarousel.renderVN = renderVN;
7867
7897
  return $xeCarousel;
7868
7898
  },
7869
7899
  render() {
@@ -7905,6 +7935,7 @@ function destroyCarouselItem($xeCarousel, itemConfig) {
7905
7935
 
7906
7936
 
7907
7937
 
7938
+
7908
7939
  /* harmony default export */ var carousel_item = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
7909
7940
  name: 'VxeCarouselItem',
7910
7941
  props: {
@@ -7915,7 +7946,8 @@ function destroyCarouselItem($xeCarousel, itemConfig) {
7915
7946
  emits: [],
7916
7947
  setup(props, context) {
7917
7948
  const {
7918
- slots
7949
+ slots,
7950
+ emit
7919
7951
  } = context;
7920
7952
  const $xeCarousel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeCarousel', null);
7921
7953
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
@@ -7940,6 +7972,16 @@ function destroyCarouselItem($xeCarousel, itemConfig) {
7940
7972
  getRefMaps: () => refMaps,
7941
7973
  getComputeMaps: () => computeMaps
7942
7974
  };
7975
+ const dispatchEvent = (type, params, evnt) => {
7976
+ emit(type, createEvent(evnt, {
7977
+ $carouselItem: $xeCarouselItem
7978
+ }, params));
7979
+ };
7980
+ const carouselItemMethods = {
7981
+ dispatchEvent
7982
+ };
7983
+ const carouselItemPrivateMethods = {};
7984
+ Object.assign($xeCarouselItem, carouselItemMethods, carouselItemPrivateMethods);
7943
7985
  const renderVN = () => {
7944
7986
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7945
7987
  ref: refElem
@@ -7952,8 +7994,9 @@ function destroyCarouselItem($xeCarousel, itemConfig) {
7952
7994
  itemConfig.url = val;
7953
7995
  });
7954
7996
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
7955
- if ($xeCarousel && refElem.value) {
7956
- assembleCarouselItem($xeCarousel, refElem.value, itemConfig);
7997
+ const elem = refElem.value;
7998
+ if ($xeCarousel && elem) {
7999
+ assembleCarouselItem($xeCarousel, elem, itemConfig);
7957
8000
  }
7958
8001
  });
7959
8002
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
@@ -8024,10 +8067,12 @@ const CarouselItem = VxeCarouselItem;
8024
8067
  const formItemInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xeFormItemInfo', null);
8025
8068
  const $xeCheckboxGroup = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeCheckboxGroup', null);
8026
8069
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
8070
+ const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
8027
8071
  const $xeCheckbox = {
8028
8072
  xID,
8029
8073
  props,
8030
- context
8074
+ context,
8075
+ reactData
8031
8076
  };
8032
8077
  let checkboxMethods = {};
8033
8078
  const {
@@ -8043,15 +8088,16 @@ const CarouselItem = VxeCarouselItem;
8043
8088
  const {
8044
8089
  disabled
8045
8090
  } = props;
8091
+ const isChecked = computeIsChecked.value;
8046
8092
  if (disabled === null) {
8047
8093
  if ($xeCheckboxGroup) {
8048
8094
  const {
8049
- computeIsDisabled,
8050
- computeIsMaximize
8095
+ computeIsDisabled: computeIsGroupDisabled,
8096
+ computeIsMaximize: computeIsGroupMaximize
8051
8097
  } = $xeCheckboxGroup.getComputeMaps();
8052
- const isMaximize = computeIsMaximize.value;
8053
- const isChecked = computeIsChecked.value;
8054
- return computeIsDisabled.value || isMaximize && !isChecked;
8098
+ const isGroupDisabled = computeIsGroupDisabled.value;
8099
+ const isGroupMaximize = computeIsGroupMaximize.value;
8100
+ return isGroupDisabled || isGroupMaximize && !isChecked;
8055
8101
  }
8056
8102
  }
8057
8103
  return disabled;
@@ -8082,19 +8128,20 @@ const CarouselItem = VxeCarouselItem;
8082
8128
  }
8083
8129
  }
8084
8130
  };
8131
+ const dispatchEvent = (type, params, evnt) => {
8132
+ emit(type, createEvent(evnt, {
8133
+ $checkbox: $xeCheckbox
8134
+ }, params));
8135
+ };
8085
8136
  checkboxMethods = {
8086
- dispatchEvent(type, params, evnt) {
8087
- emit(type, createEvent(evnt, {
8088
- $checkbox: $xeCheckbox
8089
- }, params));
8090
- }
8137
+ dispatchEvent
8091
8138
  };
8092
8139
  Object.assign($xeCheckbox, checkboxMethods);
8093
8140
  const renderVN = () => {
8094
8141
  const vSize = computeSize.value;
8095
8142
  const isDisabled = computeIsDisabled.value;
8096
8143
  const isChecked = computeIsChecked.value;
8097
- const indeterminate = props.indeterminate;
8144
+ const indeterminate = !isChecked && props.indeterminate;
8098
8145
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('label', {
8099
8146
  class: ['vxe-checkbox', {
8100
8147
  [`size--${vSize}`]: vSize,
@@ -8169,6 +8216,7 @@ const Checkbox = VxeCheckbox;
8169
8216
  const $xeForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeForm', null);
8170
8217
  const formItemInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xeFormItemInfo', null);
8171
8218
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
8219
+ const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({});
8172
8220
  const computeIsDisabled = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8173
8221
  const {
8174
8222
  disabled
@@ -8192,7 +8240,7 @@ const Checkbox = VxeCheckbox;
8192
8240
  return false;
8193
8241
  });
8194
8242
  const computePropsOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8195
- return props.optionProps || {};
8243
+ return Object.assign({}, props.optionProps);
8196
8244
  });
8197
8245
  const computeLabelField = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
8198
8246
  const propsOpts = computePropsOpts.value;
@@ -8214,15 +8262,17 @@ const Checkbox = VxeCheckbox;
8214
8262
  xID,
8215
8263
  props,
8216
8264
  context,
8265
+ reactData,
8217
8266
  getComputeMaps: () => computeMaps
8218
8267
  };
8219
8268
  useSize(props);
8269
+ const dispatchEvent = (type, params, evnt) => {
8270
+ emit(type, createEvent(evnt, {
8271
+ $checkboxGroup: $xeCheckboxGroup
8272
+ }, params));
8273
+ };
8220
8274
  const checkboxGroupMethods = {
8221
- dispatchEvent(type, params, evnt) {
8222
- emit(type, createEvent(evnt, {
8223
- $checkboxGroup: $xeCheckboxGroup
8224
- }, params));
8225
- }
8275
+ dispatchEvent
8226
8276
  };
8227
8277
  const checkboxGroupPrivateMethods = {
8228
8278
  handleChecked(params, evnt) {
@@ -8268,8 +8318,8 @@ const Checkbox = VxeCheckbox;
8268
8318
  });
8269
8319
  }) : []);
8270
8320
  };
8271
- $xeCheckboxGroup.renderVN = renderVN;
8272
8321
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeCheckboxGroup', $xeCheckboxGroup);
8322
+ $xeCheckboxGroup.renderVN = renderVN;
8273
8323
  return renderVN;
8274
8324
  }
8275
8325
  }));
@@ -8470,7 +8520,7 @@ dynamicApp.use(VxeCollapse);
8470
8520
  core_VxeUI.component(collapse);
8471
8521
  const Collapse = VxeCollapse;
8472
8522
  /* harmony default export */ var packages_collapse = (VxeCollapse);
8473
- ;// CONCATENATED MODULE: ./packages/collapse-pane/src/collapse-pane.ts
8523
+ ;// CONCATENATED MODULE: ./packages/collapse/src/collapse-pane.ts
8474
8524
 
8475
8525
 
8476
8526
  /* harmony default export */ var collapse_pane = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
@@ -8873,7 +8923,6 @@ const CollapsePane = VxeCollapsePane;
8873
8923
  status: suffixOpts.status
8874
8924
  })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
8875
8925
  };
8876
- $xeCountdown.renderVN = renderVN;
8877
8926
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, () => {
8878
8927
  updateCount();
8879
8928
  handleStop();
@@ -8886,6 +8935,7 @@ const CollapsePane = VxeCollapsePane;
8886
8935
  handleStart();
8887
8936
  });
8888
8937
  updateCount();
8938
+ $xeCountdown.renderVN = renderVN;
8889
8939
  return $xeCountdown;
8890
8940
  },
8891
8941
  render() {
@@ -9537,7 +9587,7 @@ const Countdown = VxeCountdown;
9537
9587
  value: inputValue
9538
9588
  }, evnt);
9539
9589
  };
9540
- const emitModel = (value, evnt) => {
9590
+ const handleChange = (value, evnt) => {
9541
9591
  reactData.inputValue = value;
9542
9592
  emit('update:modelValue', value);
9543
9593
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(props.modelValue) !== value) {
@@ -9558,7 +9608,7 @@ const Countdown = VxeCountdown;
9558
9608
  reactData.inputValue = value;
9559
9609
  if (!isDatePickerType) {
9560
9610
  if (inpImmediate) {
9561
- emitModel(value, evnt);
9611
+ handleChange(value, evnt);
9562
9612
  } else {
9563
9613
  datePickerMethods.dispatchEvent('input', {
9564
9614
  value
@@ -9605,7 +9655,7 @@ const Countdown = VxeCountdown;
9605
9655
  if (isDatePickerType) {
9606
9656
  hidePanel();
9607
9657
  }
9608
- emitModel('', evnt);
9658
+ handleChange('', evnt);
9609
9659
  datePickerMethods.dispatchEvent('clear', {
9610
9660
  value
9611
9661
  }, evnt);
@@ -9735,17 +9785,17 @@ const Countdown = VxeCountdown;
9735
9785
  datetimeRest.push(item);
9736
9786
  }
9737
9787
  });
9738
- emitModel(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
9788
+ handleChange(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
9739
9789
  type: 'update'
9740
9790
  });
9741
9791
  } else {
9742
9792
  // 如果是日期类型
9743
9793
  if (dateMultipleValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal))) {
9744
- emitModel(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
9794
+ handleChange(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
9745
9795
  type: 'update'
9746
9796
  });
9747
9797
  } else {
9748
- emitModel(dateMultipleValue.concat([inpVal]).join(','), {
9798
+ handleChange(dateMultipleValue.concat([inpVal]).join(','), {
9749
9799
  type: 'update'
9750
9800
  });
9751
9801
  }
@@ -9753,7 +9803,7 @@ const Countdown = VxeCountdown;
9753
9803
  } else {
9754
9804
  // 如果为单选
9755
9805
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(modelValue, inpVal)) {
9756
- emitModel(inpVal, {
9806
+ handleChange(inpVal, {
9757
9807
  type: 'update'
9758
9808
  });
9759
9809
  }
@@ -9776,7 +9826,7 @@ const Countdown = VxeCountdown;
9776
9826
  if (type === 'time') {
9777
9827
  inpDateVal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(inpDateVal, dateLabelFormat);
9778
9828
  if (inputValue !== inpDateVal) {
9779
- emitModel(inpDateVal, {
9829
+ handleChange(inpDateVal, {
9780
9830
  type: 'check'
9781
9831
  });
9782
9832
  }
@@ -9808,7 +9858,7 @@ const Countdown = VxeCountdown;
9808
9858
  dateRevert();
9809
9859
  }
9810
9860
  } else {
9811
- emitModel('', {
9861
+ handleChange('', {
9812
9862
  type: 'check'
9813
9863
  });
9814
9864
  }
@@ -9820,7 +9870,7 @@ const Countdown = VxeCountdown;
9820
9870
  } = reactData;
9821
9871
  const inpImmediate = computeInpImmediate.value;
9822
9872
  if (!inpImmediate) {
9823
- emitModel(inputValue, evnt);
9873
+ handleChange(inputValue, evnt);
9824
9874
  }
9825
9875
  afterCheckValue();
9826
9876
  if (!reactData.visiblePanel) {
@@ -10121,12 +10171,12 @@ const Countdown = VxeCountdown;
10121
10171
  datetimeRest.push(item);
10122
10172
  }
10123
10173
  });
10124
- emitModel(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
10174
+ handleChange(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
10125
10175
  type: 'update'
10126
10176
  });
10127
10177
  } else {
10128
10178
  // 如果是日期类型
10129
- emitModel(dateMultipleValue.join(','), {
10179
+ handleChange(dateMultipleValue.join(','), {
10130
10180
  type: 'update'
10131
10181
  });
10132
10182
  }
@@ -11610,7 +11660,6 @@ const allActiveDrawers = [];
11610
11660
  class: 'vxe-drawer--container'
11611
11661
  }, !reactData.initialized || destroyOnClose && !reactData.visible ? [] : [renderHeader(), renderBody(), renderFooter()])])])]);
11612
11662
  };
11613
- $xeDrawer.renderVN = renderVN;
11614
11663
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.width, recalculate);
11615
11664
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.height, recalculate);
11616
11665
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, value => {
@@ -11635,6 +11684,7 @@ const allActiveDrawers = [];
11635
11684
  globalEvents.off($xeDrawer, 'keydown');
11636
11685
  });
11637
11686
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeDrawer', '$xeDrawer');
11687
+ $xeDrawer.renderVN = renderVN;
11638
11688
  return $xeDrawer;
11639
11689
  },
11640
11690
  render() {
@@ -11800,9 +11850,10 @@ function isActiveItem($xeForm, formItem) {
11800
11850
  if (!visibleMethod) {
11801
11851
  return true;
11802
11852
  }
11853
+ const formProps = $xeForm.props;
11803
11854
  const {
11804
11855
  data
11805
- } = $xeForm.props;
11856
+ } = formProps;
11806
11857
  return visibleMethod({
11807
11858
  data,
11808
11859
  field,
@@ -12264,8 +12315,8 @@ function destroyItem($xeForm, formItem) {
12264
12315
  }
12265
12316
  }
12266
12317
  });
12267
- $xeTooltip.renderVN = renderVN;
12268
12318
  handleDelayFn();
12319
+ $xeTooltip.renderVN = renderVN;
12269
12320
  return $xeTooltip;
12270
12321
  },
12271
12322
  render() {
@@ -12364,11 +12415,12 @@ function renderSuffixIcon(titleSuffix) {
12364
12415
  })]);
12365
12416
  }
12366
12417
  function renderTitle($xeForm, item) {
12418
+ const formProps = $xeForm.props;
12367
12419
  const {
12368
12420
  data,
12369
12421
  readonly,
12370
12422
  disabled
12371
- } = $xeForm.props;
12423
+ } = formProps;
12372
12424
  const {
12373
12425
  computeTooltipOpts
12374
12426
  } = $xeForm.getComputeMaps();
@@ -12446,9 +12498,8 @@ const VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
12446
12498
  };
12447
12499
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xeFormItemInfo', xeformiteminfo);
12448
12500
  const renderVN = () => {
12449
- const {
12450
- reactData
12451
- } = $xeForm;
12501
+ const formProps = $xeForm.props;
12502
+ const formReactData = $xeForm.reactData;
12452
12503
  const {
12453
12504
  data,
12454
12505
  rules,
@@ -12464,14 +12515,14 @@ const VxeFormConfigItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
12464
12515
  titleOverflow: allTitleOverflow,
12465
12516
  vertical: allVertical,
12466
12517
  padding: allPadding
12467
- } = $xeForm.props;
12518
+ } = formProps;
12468
12519
  const {
12469
12520
  computeValidOpts
12470
12521
  } = $xeForm.getComputeMaps();
12471
12522
  const item = props.itemConfig;
12472
12523
  const {
12473
12524
  collapseAll
12474
- } = reactData;
12525
+ } = formReactData;
12475
12526
  const validOpts = computeValidOpts.value;
12476
12527
  const {
12477
12528
  slots,
@@ -12777,7 +12828,8 @@ function getResetValue(value, resetValue) {
12777
12828
  formItems: []
12778
12829
  });
12779
12830
  const internalData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
12780
- tooltipTimeout: null,
12831
+ meTimeout: undefined,
12832
+ stTimeout: undefined,
12781
12833
  tooltipStore: {
12782
12834
  item: null,
12783
12835
  visible: false
@@ -13104,7 +13156,6 @@ function getResetValue(value, resetValue) {
13104
13156
  }
13105
13157
  });
13106
13158
  };
13107
- let showErrTime;
13108
13159
  const beginValidate = (itemList, type, callback) => {
13109
13160
  const {
13110
13161
  data,
@@ -13114,7 +13165,7 @@ function getResetValue(value, resetValue) {
13114
13165
  const validRest = {};
13115
13166
  const validFields = [];
13116
13167
  const itemValids = [];
13117
- clearTimeout(showErrTime);
13168
+ clearTimeout(internalData.meTimeout);
13118
13169
  if (data && formRules) {
13119
13170
  itemList.forEach(item => {
13120
13171
  const {
@@ -13141,7 +13192,7 @@ function getResetValue(value, resetValue) {
13141
13192
  }
13142
13193
  }).catch(() => {
13143
13194
  return new Promise(resolve => {
13144
- showErrTime = window.setTimeout(() => {
13195
+ internalData.meTimeout = window.setTimeout(() => {
13145
13196
  itemList.forEach(item => {
13146
13197
  if (item.errRule) {
13147
13198
  item.showError = true;
@@ -13248,7 +13299,7 @@ function getResetValue(value, resetValue) {
13248
13299
  const overflowElem = evnt.currentTarget.children[0];
13249
13300
  const content = (overflowElem.textContent || '').trim();
13250
13301
  const isCellOverflow = overflowElem.scrollWidth > overflowElem.clientWidth;
13251
- clearTimeout(internalData.tooltipTimeout);
13302
+ clearTimeout(internalData.stTimeout);
13252
13303
  if (tooltipStore.item !== item) {
13253
13304
  closeTooltip();
13254
13305
  }
@@ -13269,7 +13320,7 @@ function getResetValue(value, resetValue) {
13269
13320
  $tooltip.setActived(false);
13270
13321
  }
13271
13322
  if (tooltipOpts.enterable) {
13272
- internalData.tooltipTimeout = setTimeout(() => {
13323
+ internalData.stTimeout = setTimeout(() => {
13273
13324
  $tooltip = refTooltip.value;
13274
13325
  if ($tooltip && !$tooltip.isActived()) {
13275
13326
  closeTooltip();
@@ -13383,7 +13434,6 @@ function getResetValue(value, resetValue) {
13383
13434
  ...tooltipOpts
13384
13435
  })]);
13385
13436
  };
13386
- $xeForm.renderVN = renderVN;
13387
13437
  const staticItemFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
13388
13438
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.staticItems.length, () => {
13389
13439
  staticItemFlag.value++;
@@ -13428,6 +13478,7 @@ function getResetValue(value, resetValue) {
13428
13478
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeForm', $xeForm);
13429
13479
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeFormGather', null);
13430
13480
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeFormItem', null);
13481
+ $xeForm.renderVN = renderVN;
13431
13482
  return $xeForm;
13432
13483
  },
13433
13484
  render() {
@@ -13441,9 +13492,6 @@ function getResetValue(value, resetValue) {
13441
13492
 
13442
13493
 
13443
13494
  const componentDefaultModelProp = 'modelValue';
13444
- const defaultCompProps = {
13445
- transfer: true
13446
- };
13447
13495
  /**
13448
13496
  * 已废弃
13449
13497
  * @deprecated
@@ -13478,7 +13526,7 @@ function getNativeAttrs(renderOpts) {
13478
13526
  return attrs;
13479
13527
  }
13480
13528
  function getComponentFormItemProps(renderOpts, params, value, defaultProps) {
13481
- return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign({}, defaultCompProps, defaultProps, renderOpts.props, {
13529
+ return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().assign({}, defaultProps, renderOpts.props, {
13482
13530
  [componentDefaultModelProp]: value
13483
13531
  });
13484
13532
  }
@@ -14699,31 +14747,23 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
14699
14747
  isTabOver: false,
14700
14748
  resizeFlag: 1
14701
14749
  });
14750
+ const internalData = {
14751
+ slTimeout: undefined
14752
+ };
14702
14753
  const refMaps = {
14703
14754
  refElem
14704
14755
  };
14705
- const handleFilterTab = item => {
14706
- const {
14707
- permissionCode
14708
- } = item;
14709
- if (permissionCode) {
14710
- if (!permission.checkVisible(permissionCode)) {
14711
- return false;
14712
- }
14713
- }
14714
- return true;
14715
- };
14716
14756
  const computeTabOptions = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
14717
14757
  const {
14718
14758
  options
14719
14759
  } = props;
14720
- return (options || []).filter(handleFilterTab);
14760
+ return (options || []).filter(item => handleFilterTab(item));
14721
14761
  });
14722
14762
  const computeTabStaticOptions = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
14723
14763
  const {
14724
14764
  staticTabs
14725
14765
  } = reactData;
14726
- return staticTabs.filter(handleFilterTab);
14766
+ return staticTabs.filter(item => handleFilterTab(item));
14727
14767
  });
14728
14768
  const computeMaps = {};
14729
14769
  const $xeTabs = {
@@ -14734,6 +14774,17 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
14734
14774
  getRefMaps: () => refMaps,
14735
14775
  getComputeMaps: () => computeMaps
14736
14776
  };
14777
+ const handleFilterTab = item => {
14778
+ const {
14779
+ permissionCode
14780
+ } = item;
14781
+ if (permissionCode) {
14782
+ if (!permission.checkVisible(permissionCode)) {
14783
+ return false;
14784
+ }
14785
+ }
14786
+ return true;
14787
+ };
14737
14788
  const callSlot = (slotFunc, params) => {
14738
14789
  if (slotFunc) {
14739
14790
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(slotFunc)) {
@@ -14909,12 +14960,17 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
14909
14960
  }, evnt);
14910
14961
  }
14911
14962
  };
14912
- let scrollTimeout = null;
14913
14963
  const startScrollAnimation = (offsetPos, offsetSize) => {
14964
+ const {
14965
+ slTimeout
14966
+ } = internalData;
14914
14967
  let offsetLeft = offsetSize;
14915
14968
  let scrollCount = 6;
14916
14969
  let delayNum = 35;
14917
- clearTimeout(scrollTimeout);
14970
+ if (slTimeout) {
14971
+ clearTimeout(slTimeout);
14972
+ internalData.slTimeout = undefined;
14973
+ }
14918
14974
  const scrollAnimate = () => {
14919
14975
  const headerWrapperEl = refHeadWrapperElem.value;
14920
14976
  if (scrollCount > 0) {
@@ -14930,13 +14986,13 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
14930
14986
  if (clientWidth + scrollLeft < scrollWidth) {
14931
14987
  headerWrapperEl.scrollLeft += offsetLeft;
14932
14988
  delayNum -= 4;
14933
- scrollTimeout = setTimeout(scrollAnimate, delayNum);
14989
+ internalData.slTimeout = setTimeout(scrollAnimate, delayNum);
14934
14990
  }
14935
14991
  } else {
14936
14992
  if (scrollLeft > 0) {
14937
14993
  headerWrapperEl.scrollLeft -= offsetLeft;
14938
14994
  delayNum -= 4;
14939
- scrollTimeout = setTimeout(scrollAnimate, delayNum);
14995
+ internalData.slTimeout = setTimeout(scrollAnimate, delayNum);
14940
14996
  }
14941
14997
  }
14942
14998
  updateTabStyle();
@@ -14990,42 +15046,44 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
14990
15046
  }
14991
15047
  });
14992
15048
  };
14993
- const createHandlePrevNext = isNext => {
14994
- return () => {
14995
- const {
14996
- activeName
14997
- } = reactData;
14998
- const tabOptions = computeTabOptions.value;
14999
- const tabStaticOptions = computeTabStaticOptions.value;
15000
- const list = tabStaticOptions.length ? tabStaticOptions : tabOptions;
15001
- const index = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(list, item => item.name === activeName);
15002
- if (index > -1) {
15003
- let item = null;
15004
- if (isNext) {
15005
- if (index < list.length - 1) {
15006
- item = list[index + 1];
15007
- }
15008
- } else {
15009
- if (index > 0) {
15010
- item = list[index - 1];
15011
- }
15049
+ const handlePrevNext = isNext => {
15050
+ const {
15051
+ activeName
15052
+ } = reactData;
15053
+ const tabOptions = computeTabOptions.value;
15054
+ const tabStaticOptions = computeTabStaticOptions.value;
15055
+ const list = tabStaticOptions.length ? tabStaticOptions : tabOptions;
15056
+ const index = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(list, item => item.name === activeName);
15057
+ if (index > -1) {
15058
+ let item = null;
15059
+ if (isNext) {
15060
+ if (index < list.length - 1) {
15061
+ item = list[index + 1];
15012
15062
  }
15013
- if (item) {
15014
- const name = item.name;
15015
- const value = name;
15016
- reactData.activeName = name;
15017
- emit('update:modelValue', value);
15018
- addInitName(name, null);
15063
+ } else {
15064
+ if (index > 0) {
15065
+ item = list[index - 1];
15019
15066
  }
15020
15067
  }
15021
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
15022
- };
15068
+ if (item) {
15069
+ const name = item.name;
15070
+ const value = name;
15071
+ reactData.activeName = name;
15072
+ emit('update:modelValue', value);
15073
+ addInitName(name, null);
15074
+ }
15075
+ }
15076
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
15023
15077
  };
15024
15078
  const tabsMethods = {
15025
15079
  dispatchEvent,
15026
15080
  scrollToTab,
15027
- prev: createHandlePrevNext(false),
15028
- next: createHandlePrevNext(true),
15081
+ prev() {
15082
+ return handlePrevNext(false);
15083
+ },
15084
+ next() {
15085
+ return handlePrevNext(true);
15086
+ },
15029
15087
  prevTab() {
15030
15088
  if (true) {
15031
15089
  warnLog('vxe.error.delFunc', ['prevTab', 'prev']);
@@ -15156,9 +15214,9 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
15156
15214
  } = reactData;
15157
15215
  const activeDefaultTab = tabList.find(item => item.name === activeName);
15158
15216
  if (destroyOnClose) {
15159
- return activeDefaultTab ? [renderTabPane(activeDefaultTab)] : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
15217
+ return [activeDefaultTab ? renderTabPane(activeDefaultTab) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()];
15160
15218
  }
15161
- return tabList.map(renderTabPane);
15219
+ return tabList.map(item => renderTabPane(item));
15162
15220
  };
15163
15221
  const renderVN = () => {
15164
15222
  const {
@@ -15224,7 +15282,9 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
15224
15282
  });
15225
15283
  }
15226
15284
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.resizeFlag, () => {
15227
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(updateTabStyle);
15285
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
15286
+ updateTabStyle();
15287
+ });
15228
15288
  });
15229
15289
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
15230
15290
  globalEvents.on($xeTabs, 'resize', updateTabStyle);
@@ -15235,10 +15295,10 @@ const ViewItemComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.defin
15235
15295
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
15236
15296
  globalEvents.off($xeTabs, 'resize');
15237
15297
  });
15238
- $xeTabs.renderVN = renderVN;
15239
15298
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeTabs', $xeTabs);
15240
15299
  addInitName(props.modelValue, null);
15241
15300
  initDefaultName(reactData.staticTabs.length ? reactData.staticTabs : props.options);
15301
+ $xeTabs.renderVN = renderVN;
15242
15302
  return $xeTabs;
15243
15303
  },
15244
15304
  render() {
@@ -15269,6 +15329,7 @@ function destroyAnchorTab($xeTabs, tabConfig) {
15269
15329
 
15270
15330
 
15271
15331
 
15332
+
15272
15333
  /* harmony default export */ var tab_pane = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
15273
15334
  name: 'VxeTabPane',
15274
15335
  props: {
@@ -15283,7 +15344,8 @@ function destroyAnchorTab($xeTabs, tabConfig) {
15283
15344
  emits: [],
15284
15345
  setup(props, context) {
15285
15346
  const {
15286
- slots
15347
+ slots,
15348
+ emit
15287
15349
  } = context;
15288
15350
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
15289
15351
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
@@ -15314,6 +15376,16 @@ function destroyAnchorTab($xeTabs, tabConfig) {
15314
15376
  getRefMaps: () => refMaps,
15315
15377
  getComputeMaps: () => computeMaps
15316
15378
  };
15379
+ const dispatchEvent = (type, params, evnt) => {
15380
+ emit(type, createEvent(evnt, {
15381
+ $tabPane: $xeTabPane
15382
+ }, params));
15383
+ };
15384
+ const tabPaneMethods = {
15385
+ dispatchEvent
15386
+ };
15387
+ const tabPanePrivateMethods = {};
15388
+ Object.assign($xeTabPane, tabPaneMethods, tabPanePrivateMethods);
15317
15389
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.title, val => {
15318
15390
  tabConfig.title = val;
15319
15391
  });
@@ -15327,8 +15399,9 @@ function destroyAnchorTab($xeTabs, tabConfig) {
15327
15399
  tabConfig.permissionCode = val;
15328
15400
  });
15329
15401
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
15330
- if ($xeTabs && refElem.value) {
15331
- assembleAnchorTab($xeTabs, refElem.value, tabConfig);
15402
+ const elem = refElem.value;
15403
+ if ($xeTabs && elem) {
15404
+ assembleAnchorTab($xeTabs, elem, tabConfig);
15332
15405
  }
15333
15406
  });
15334
15407
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
@@ -15426,7 +15499,7 @@ const formItemProps = {
15426
15499
  }) {
15427
15500
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
15428
15501
  const $xeForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeForm', {});
15429
- const formGather = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeFormGather', null);
15502
+ const $xeFormGather = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeFormGather', null);
15430
15503
  const formItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(createItem($xeForm, props));
15431
15504
  formItem.slots = slots;
15432
15505
  const formItemInfo = {
@@ -15435,16 +15508,15 @@ const formItemProps = {
15435
15508
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xeFormItemInfo', formItemInfo);
15436
15509
  watchItem(props, formItem);
15437
15510
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
15438
- assembleItem($xeForm, refElem.value, formItem, formGather);
15511
+ const elem = refElem.value;
15512
+ assembleItem($xeForm, elem, formItem, $xeFormGather);
15439
15513
  });
15440
15514
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
15441
15515
  destroyItem($xeForm, formItem);
15442
15516
  });
15443
15517
  const renderItem = ($xeForm, item) => {
15444
- const {
15445
- props,
15446
- reactData
15447
- } = $xeForm;
15518
+ const formProps = $xeForm.props;
15519
+ const formReactData = $xeForm.reactData;
15448
15520
  const {
15449
15521
  data,
15450
15522
  rules,
@@ -15458,10 +15530,10 @@ const formItemProps = {
15458
15530
  titleOverflow: allTitleOverflow,
15459
15531
  vertical: allVertical,
15460
15532
  padding: allPadding
15461
- } = props;
15533
+ } = formProps;
15462
15534
  const {
15463
15535
  collapseAll
15464
- } = reactData;
15536
+ } = formReactData;
15465
15537
  const {
15466
15538
  computeValidOpts
15467
15539
  } = $xeForm.getComputeMaps();
@@ -15495,8 +15567,8 @@ const formItemProps = {
15495
15567
  const itemTitleStyle = compConf ? compConf.formItemTitleStyle || compConf.itemTitleStyle : null;
15496
15568
  const defaultSlot = slots ? slots.default : null;
15497
15569
  const titleSlot = slots ? slots.title : null;
15498
- const span = item.span || props.span;
15499
- const align = item.align || props.align;
15570
+ const span = item.span || formProps.span;
15571
+ const align = item.align || formProps.align;
15500
15572
  const itemPadding = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(padding) ? allPadding : padding;
15501
15573
  const itemVertical = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(vertical) ? allVertical : vertical;
15502
15574
  const titleBold = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(item.titleBold) ? allTitleBold : item.titleBold;
@@ -15595,8 +15667,8 @@ const formItemProps = {
15595
15667
  }, contentVNs)])]);
15596
15668
  };
15597
15669
  const renderVN = () => {
15598
- const formProps = $xeForm ? $xeForm.props : null;
15599
- return formProps && formProps.customLayout ? renderItem($xeForm, formItem) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
15670
+ const customLayout = $xeForm ? $xeForm.props.customLayout : false;
15671
+ return customLayout ? renderItem($xeForm, formItem) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
15600
15672
  ref: refElem
15601
15673
  });
15602
15674
  };
@@ -17430,7 +17502,7 @@ const createDefaultFormViewMobileFormConfig = params => {
17430
17502
  }) {
17431
17503
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
17432
17504
  const $xeForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeForm', {});
17433
- const parentFormGather = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeFormGather', null);
17505
+ const $xeParentFormGather = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeFormGather', null);
17434
17506
  const formItem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)(createItem($xeForm, props));
17435
17507
  formItem.children = [];
17436
17508
  const formItemInfo = {
@@ -17439,7 +17511,8 @@ const createDefaultFormViewMobileFormConfig = params => {
17439
17511
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('xeFormItemInfo', formItemInfo);
17440
17512
  watchItem(props, formItem);
17441
17513
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
17442
- assembleItem($xeForm, refElem.value, formItem, parentFormGather);
17514
+ const elem = refElem.value;
17515
+ assembleItem($xeForm, elem, formItem, $xeParentFormGather);
17443
17516
  });
17444
17517
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
17445
17518
  destroyItem($xeForm, formItem);
@@ -17451,15 +17524,16 @@ const createDefaultFormViewMobileFormConfig = params => {
17451
17524
  } = props;
17452
17525
  const span = props.span || ($xeForm ? $xeForm.props.span : null);
17453
17526
  const defaultSlot = slots.default;
17527
+ const params = {
17528
+ $form: $xeForm,
17529
+ data: $xeForm ? $xeForm.props.data : {},
17530
+ item: formItem,
17531
+ field: field,
17532
+ property: field
17533
+ };
17454
17534
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
17455
17535
  ref: refElem,
17456
- class: ['vxe-form--gather vxe-form--item-row', formItem.id, span ? `vxe-form--item-col_${span} is--span` : '', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
17457
- $form: $xeForm,
17458
- data: $xeForm ? $xeForm.props.data : {},
17459
- item: formItem,
17460
- field: field,
17461
- property: field
17462
- }) : className : '']
17536
+ class: ['vxe-form--gather vxe-form--item-row', formItem.id, span ? `vxe-form--item-col_${span} is--span` : '', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className(params) : className : '']
17463
17537
  }, defaultSlot ? defaultSlot({}) : []);
17464
17538
  };
17465
17539
  const $xeFormGather = {
@@ -18025,16 +18099,13 @@ function toFloatValueFixed(inputValue, digitsValue) {
18025
18099
  const {
18026
18100
  computeSize
18027
18101
  } = useSize(props);
18028
- const yearSize = 12;
18029
- const monthSize = 20;
18030
- const quarterSize = 8;
18031
18102
  const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
18032
18103
  initialized: false,
18033
18104
  panelIndex: 0,
18034
18105
  showPwd: false,
18035
18106
  visiblePanel: false,
18036
18107
  isAniVisible: false,
18037
- panelStyle: null,
18108
+ panelStyle: {},
18038
18109
  panelPlacement: '',
18039
18110
  isActivated: false,
18040
18111
  inputValue: props.modelValue,
@@ -18045,6 +18116,13 @@ function toFloatValueFixed(inputValue, digitsValue) {
18045
18116
  selectMonth: null,
18046
18117
  currentDate: null
18047
18118
  });
18119
+ const internalData = {
18120
+ yearSize: 12,
18121
+ monthSize: 20,
18122
+ quarterSize: 8,
18123
+ hpTimeout: undefined,
18124
+ dnTimeout: undefined
18125
+ };
18048
18126
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
18049
18127
  const refInputTarget = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
18050
18128
  const refInputPanel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
@@ -18059,6 +18137,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18059
18137
  props,
18060
18138
  context,
18061
18139
  reactData,
18140
+ internalData,
18062
18141
  getRefMaps: () => refMaps
18063
18142
  };
18064
18143
  let inputMethods = {};
@@ -18283,13 +18362,16 @@ function toFloatValueFixed(inputValue, digitsValue) {
18283
18362
  if (isDatePickerType) {
18284
18363
  return labelFormat || dateValueFormat || i18n_getI18n(`vxe.input.date.labelFormat.${props.type}`);
18285
18364
  }
18286
- return null;
18365
+ return '';
18287
18366
  });
18288
18367
  const computeYearList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
18289
18368
  const {
18290
18369
  selectMonth,
18291
18370
  currentDate
18292
18371
  } = reactData;
18372
+ const {
18373
+ yearSize
18374
+ } = internalData;
18293
18375
  const years = [];
18294
18376
  if (selectMonth && currentDate) {
18295
18377
  const currFullYear = currentDate.getFullYear();
@@ -18391,6 +18473,9 @@ function toFloatValueFixed(inputValue, digitsValue) {
18391
18473
  selectMonth,
18392
18474
  currentDate
18393
18475
  } = reactData;
18476
+ const {
18477
+ quarterSize
18478
+ } = internalData;
18394
18479
  const quarters = [];
18395
18480
  if (selectMonth && currentDate) {
18396
18481
  const currFullYear = currentDate.getFullYear();
@@ -18423,6 +18508,9 @@ function toFloatValueFixed(inputValue, digitsValue) {
18423
18508
  selectMonth,
18424
18509
  currentDate
18425
18510
  } = reactData;
18511
+ const {
18512
+ monthSize
18513
+ } = internalData;
18426
18514
  const months = [];
18427
18515
  if (selectMonth && currentDate) {
18428
18516
  const currFullYear = currentDate.getFullYear();
@@ -18580,12 +18668,6 @@ function toFloatValueFixed(inputValue, digitsValue) {
18580
18668
  }
18581
18669
  return i18n_getI18n('vxe.base.pleaseInput');
18582
18670
  });
18583
- const computeInpMaxlength = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
18584
- const isNumType = computeIsNumType.value;
18585
- const inpMaxLength = computeInpMaxLength.value;
18586
- // 数值最大长度限制 16 位,包含小数
18587
- return isNumType && !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(inpMaxLength) ? 16 : inpMaxLength;
18588
- });
18589
18671
  const computeInpImmediate = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
18590
18672
  const {
18591
18673
  type,
@@ -18641,13 +18723,13 @@ function toFloatValueFixed(inputValue, digitsValue) {
18641
18723
  type,
18642
18724
  exponential
18643
18725
  } = props;
18644
- const inpMaxlength = computeInpMaxlength.value;
18726
+ const inpMaxLength = computeInpMaxLength.value;
18645
18727
  const digitsValue = computeDigitsValue.value;
18646
18728
  const restVal = type === 'float' ? toFloatValueFixed(val, digitsValue) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(val);
18647
18729
  if (exponential && (val === restVal || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(val).toLowerCase() === external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(restVal).toExponential())) {
18648
18730
  return val;
18649
18731
  }
18650
- return restVal.slice(0, inpMaxlength);
18732
+ return restVal.slice(0, inpMaxLength);
18651
18733
  };
18652
18734
  const triggerEvent = evnt => {
18653
18735
  const {
@@ -18657,7 +18739,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18657
18739
  value: inputValue
18658
18740
  }, evnt);
18659
18741
  };
18660
- const emitModel = (value, evnt) => {
18742
+ const handleChange = (value, evnt) => {
18661
18743
  reactData.inputValue = value;
18662
18744
  emit('update:modelValue', value);
18663
18745
  inputMethods.dispatchEvent('input', {
@@ -18679,7 +18761,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18679
18761
  reactData.inputValue = value;
18680
18762
  if (!isDatePickerType) {
18681
18763
  if (inpImmediate) {
18682
- emitModel(value, evnt);
18764
+ handleChange(value, evnt);
18683
18765
  } else {
18684
18766
  inputMethods.dispatchEvent('input', {
18685
18767
  value
@@ -18717,11 +18799,10 @@ function toFloatValueFixed(inputValue, digitsValue) {
18717
18799
  }, evnt);
18718
18800
  }
18719
18801
  };
18720
- let hidePanelTimeout;
18721
18802
  const hidePanel = () => {
18722
18803
  return new Promise(resolve => {
18723
18804
  reactData.visiblePanel = false;
18724
- hidePanelTimeout = window.setTimeout(() => {
18805
+ internalData.hpTimeout = window.setTimeout(() => {
18725
18806
  reactData.isAniVisible = false;
18726
18807
  resolve();
18727
18808
  }, 350);
@@ -18739,7 +18820,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18739
18820
  if (isNumType || ['text', 'search', 'password'].indexOf(type) > -1) {
18740
18821
  focus();
18741
18822
  }
18742
- emitModel('', evnt);
18823
+ handleChange('', evnt);
18743
18824
  inputMethods.dispatchEvent('clear', {
18744
18825
  value
18745
18826
  }, evnt);
@@ -18821,7 +18902,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18821
18902
  if (inputValue) {
18822
18903
  const validValue = toFloatValueFixed(inputValue, digitsValue);
18823
18904
  if (inputValue !== validValue) {
18824
- emitModel(validValue, {
18905
+ handleChange(validValue, {
18825
18906
  type: 'init'
18826
18907
  });
18827
18908
  }
@@ -18887,17 +18968,17 @@ function toFloatValueFixed(inputValue, digitsValue) {
18887
18968
  datetimeRest.push(item);
18888
18969
  }
18889
18970
  });
18890
- emitModel(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
18971
+ handleChange(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
18891
18972
  type: 'update'
18892
18973
  });
18893
18974
  } else {
18894
18975
  // 如果是日期类型
18895
18976
  if (dateMultipleValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal))) {
18896
- emitModel(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
18977
+ handleChange(dateMultipleValue.filter(val => !external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(val, inpVal)).join(','), {
18897
18978
  type: 'update'
18898
18979
  });
18899
18980
  } else {
18900
- emitModel(dateMultipleValue.concat([inpVal]).join(','), {
18981
+ handleChange(dateMultipleValue.concat([inpVal]).join(','), {
18901
18982
  type: 'update'
18902
18983
  });
18903
18984
  }
@@ -18905,7 +18986,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18905
18986
  } else {
18906
18987
  // 如果为单选
18907
18988
  if (!external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isEqual(modelValue, inpVal)) {
18908
- emitModel(inpVal, {
18989
+ handleChange(inpVal, {
18909
18990
  type: 'update'
18910
18991
  });
18911
18992
  }
@@ -18941,7 +19022,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18941
19022
  inpNumVal = inpStringVal;
18942
19023
  }
18943
19024
  }
18944
- emitModel(getNumberValue(inpNumVal), {
19025
+ handleChange(getNumberValue(inpNumVal), {
18945
19026
  type: 'check'
18946
19027
  });
18947
19028
  }
@@ -18952,7 +19033,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18952
19033
  if (type === 'time') {
18953
19034
  inpDateVal = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(inpDateVal, dateLabelFormat);
18954
19035
  if (inputValue !== inpDateVal) {
18955
- emitModel(inpDateVal, {
19036
+ handleChange(inpDateVal, {
18956
19037
  type: 'check'
18957
19038
  });
18958
19039
  }
@@ -18982,7 +19063,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18982
19063
  dateRevert();
18983
19064
  }
18984
19065
  } else {
18985
- emitModel('', {
19066
+ handleChange('', {
18986
19067
  type: 'check'
18987
19068
  });
18988
19069
  }
@@ -18995,7 +19076,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
18995
19076
  } = reactData;
18996
19077
  const inpImmediate = computeInpImmediate.value;
18997
19078
  if (!inpImmediate) {
18998
- emitModel(inputValue, evnt);
19079
+ handleChange(inputValue, evnt);
18999
19080
  }
19000
19081
  afterCheckValue();
19001
19082
  if (!reactData.visiblePanel) {
@@ -19048,19 +19129,18 @@ function toFloatValueFixed(inputValue, digitsValue) {
19048
19129
  }
19049
19130
  emitInputEvent(getNumberValue(restNum), evnt);
19050
19131
  };
19051
- let downbumTimeout;
19052
19132
  const numberNextEvent = evnt => {
19053
19133
  const isDisabled = computeIsDisabled.value;
19054
19134
  const isReadonly = computeIsReadonly.value;
19055
19135
  const isDisabledSubtractNumber = computeIsDisabledSubtractNumber.value;
19056
- clearTimeout(downbumTimeout);
19136
+ numberStopDown();
19057
19137
  if (!isDisabled && !isReadonly && !isDisabledSubtractNumber) {
19058
19138
  numberChange(false, evnt);
19059
19139
  }
19060
19140
  inputMethods.dispatchEvent('next-number', {}, evnt);
19061
19141
  };
19062
19142
  const numberDownNextEvent = evnt => {
19063
- downbumTimeout = window.setTimeout(() => {
19143
+ internalData.dnTimeout = window.setTimeout(() => {
19064
19144
  numberNextEvent(evnt);
19065
19145
  numberDownNextEvent(evnt);
19066
19146
  }, 60);
@@ -19069,7 +19149,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
19069
19149
  const isDisabled = computeIsDisabled.value;
19070
19150
  const isReadonly = computeIsReadonly.value;
19071
19151
  const isDisabledAddNumber = computeIsDisabledAddNumber.value;
19072
- clearTimeout(downbumTimeout);
19152
+ numberStopDown();
19073
19153
  if (!isDisabled && !isReadonly && !isDisabledAddNumber) {
19074
19154
  numberChange(true, evnt);
19075
19155
  }
@@ -19119,10 +19199,16 @@ function toFloatValueFixed(inputValue, digitsValue) {
19119
19199
  };
19120
19200
  // 数值
19121
19201
  const numberStopDown = () => {
19122
- clearTimeout(downbumTimeout);
19202
+ const {
19203
+ dnTimeout
19204
+ } = internalData;
19205
+ if (dnTimeout) {
19206
+ clearTimeout(dnTimeout);
19207
+ internalData.dnTimeout = undefined;
19208
+ }
19123
19209
  };
19124
19210
  const numberDownPrevEvent = evnt => {
19125
- downbumTimeout = window.setTimeout(() => {
19211
+ internalData.dnTimeout = window.setTimeout(() => {
19126
19212
  numberPrevEvent(evnt);
19127
19213
  numberDownPrevEvent(evnt);
19128
19214
  }, 60);
@@ -19136,7 +19222,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
19136
19222
  } else {
19137
19223
  numberNextEvent(evnt);
19138
19224
  }
19139
- downbumTimeout = window.setTimeout(() => {
19225
+ internalData.dnTimeout = window.setTimeout(() => {
19140
19226
  if (isPrevNumber) {
19141
19227
  numberDownPrevEvent(evnt);
19142
19228
  } else {
@@ -19188,6 +19274,9 @@ function toFloatValueFixed(inputValue, digitsValue) {
19188
19274
  datePanelType,
19189
19275
  selectMonth
19190
19276
  } = reactData;
19277
+ const {
19278
+ yearSize
19279
+ } = internalData;
19191
19280
  const isDisabledPrevDateBtn = computeIsDisabledPrevDateBtn.value;
19192
19281
  if (!isDisabledPrevDateBtn) {
19193
19282
  if (type === 'year') {
@@ -19230,6 +19319,9 @@ function toFloatValueFixed(inputValue, digitsValue) {
19230
19319
  datePanelType,
19231
19320
  selectMonth
19232
19321
  } = reactData;
19322
+ const {
19323
+ yearSize
19324
+ } = internalData;
19233
19325
  const isDisabledNextDateBtn = computeIsDisabledNextDateBtn.value;
19234
19326
  if (!isDisabledNextDateBtn) {
19235
19327
  if (type === 'year') {
@@ -19426,12 +19518,12 @@ function toFloatValueFixed(inputValue, digitsValue) {
19426
19518
  datetimeRest.push(item);
19427
19519
  }
19428
19520
  });
19429
- emitModel(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
19521
+ handleChange(datetimeRest.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateValueFormat)).join(','), {
19430
19522
  type: 'update'
19431
19523
  });
19432
19524
  } else {
19433
19525
  // 如果是日期类型
19434
- emitModel(dateMultipleValue.join(','), {
19526
+ handleChange(dateMultipleValue.join(','), {
19435
19527
  type: 'update'
19436
19528
  });
19437
19529
  }
@@ -19549,7 +19641,9 @@ function toFloatValueFixed(inputValue, digitsValue) {
19549
19641
  reactData.datetimePanelValue = reactData.datePanelValue || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().getWhatDay(Date.now(), 0, 'first');
19550
19642
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
19551
19643
  const timeBodyElem = refInputTimeBody.value;
19552
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(timeBodyElem.querySelectorAll('li.is--selected'), updateTimePos);
19644
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayEach(timeBodyElem.querySelectorAll('li.is--selected'), elem => {
19645
+ updateTimePos(elem);
19646
+ });
19553
19647
  });
19554
19648
  }
19555
19649
  };
@@ -19645,13 +19739,19 @@ function toFloatValueFixed(inputValue, digitsValue) {
19645
19739
  const {
19646
19740
  visiblePanel
19647
19741
  } = reactData;
19742
+ const {
19743
+ hpTimeout
19744
+ } = internalData;
19648
19745
  const isDisabled = computeIsDisabled.value;
19649
19746
  const isDatePickerType = computeIsDatePickerType.value;
19650
19747
  if (!isDisabled && !visiblePanel) {
19651
19748
  if (!reactData.initialized) {
19652
19749
  reactData.initialized = true;
19653
19750
  }
19654
- clearTimeout(hidePanelTimeout);
19751
+ if (hpTimeout) {
19752
+ clearTimeout(hpTimeout);
19753
+ internalData.hpTimeout = undefined;
19754
+ }
19655
19755
  reactData.isActivated = true;
19656
19756
  reactData.isAniVisible = true;
19657
19757
  if (isDatePickerType) {
@@ -19822,10 +19922,10 @@ function toFloatValueFixed(inputValue, digitsValue) {
19822
19922
  class: ['vxe-input--date-label', {
19823
19923
  'is-notice': festivalItem.notice
19824
19924
  }]
19825
- }, extraItem && extraItem.label ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', label), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
19925
+ }, extraItem && extraItem.label ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', `${label || ''}`), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
19826
19926
  class: ['vxe-input--date-label--extra', extraItem.important ? 'is-important' : '', extraItem.className],
19827
19927
  style: extraItem.style
19828
- }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(extraItem.label))] : label)];
19928
+ }, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(extraItem.label))] : [`${label || ''}`])];
19829
19929
  const festivalLabel = festivalItem.label;
19830
19930
  if (festivalLabel) {
19831
19931
  // 默认最多支持3个节日重叠
@@ -19841,7 +19941,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
19841
19941
  }
19842
19942
  return labels;
19843
19943
  }
19844
- return label;
19944
+ return [`${label || ''}`];
19845
19945
  };
19846
19946
  const renderDateDayTable = () => {
19847
19947
  const {
@@ -20327,12 +20427,13 @@ function toFloatValueFixed(inputValue, digitsValue) {
20327
20427
  }
20328
20428
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
20329
20429
  };
20430
+ const dispatchEvent = (type, params, evnt) => {
20431
+ emit(type, createEvent(evnt, {
20432
+ $input: $xeInput
20433
+ }, params));
20434
+ };
20330
20435
  inputMethods = {
20331
- dispatchEvent(type, params, evnt) {
20332
- emit(type, createEvent(evnt, {
20333
- $input: $xeInput
20334
- }, params));
20335
- },
20436
+ dispatchEvent,
20336
20437
  focus() {
20337
20438
  const inputElem = refInputTarget.value;
20338
20439
  reactData.isActivated = true;
@@ -20385,7 +20486,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
20385
20486
  const isCountError = computeIsCountError.value;
20386
20487
  const inputCount = computeInputCount.value;
20387
20488
  const inputReadonly = computeInputReadonly.value;
20388
- const inpMaxlength = computeInpMaxlength.value;
20489
+ const inpMaxLength = computeInpMaxLength.value;
20389
20490
  const inputType = computeInputType.value;
20390
20491
  const inpPlaceholder = computeInpPlaceholder.value;
20391
20492
  const isClearable = computeIsClearable.value;
@@ -20416,7 +20517,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
20416
20517
  name,
20417
20518
  type: inputType,
20418
20519
  placeholder: inpPlaceholder,
20419
- maxlength: inpMaxlength,
20520
+ maxlength: inpMaxLength,
20420
20521
  readonly: inputReadonly,
20421
20522
  disabled: isDisabled,
20422
20523
  autocomplete: autoComplete || autocomplete,
@@ -20438,9 +20539,8 @@ function toFloatValueFixed(inputValue, digitsValue) {
20438
20539
  }]
20439
20540
  }, countMethod ? `${countMethod({
20440
20541
  value: inputValue
20441
- })}` : `${inputCount}${inpMaxlength ? `/${inpMaxlength}` : ''}`) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
20542
+ })}` : `${inputCount}${inpMaxLength ? `/${inpMaxLength}` : ''}`) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
20442
20543
  };
20443
- $xeInput.renderVN = renderVN;
20444
20544
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
20445
20545
  reactData.inputValue = val;
20446
20546
  changeValue();
@@ -20480,6 +20580,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
20480
20580
  globalEvents.off($xeInput, 'blur');
20481
20581
  });
20482
20582
  initValue();
20583
+ $xeInput.renderVN = renderVN;
20483
20584
  return $xeInput;
20484
20585
  },
20485
20586
  render() {
@@ -20891,9 +20992,12 @@ function toFloatValueFixed(inputValue, digitsValue) {
20891
20992
  });
20892
20993
  }) : []);
20893
20994
  };
20894
- $xeRadioGroup.renderVN = renderVN;
20895
20995
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeRadioGroup', $xeRadioGroup);
20896
- return renderVN;
20996
+ $xeRadioGroup.renderVN = renderVN;
20997
+ return $xeRadioGroup;
20998
+ },
20999
+ render() {
21000
+ return this.renderVN();
20897
21001
  }
20898
21002
  }));
20899
21003
  ;// CONCATENATED MODULE: ./packages/select/src/select.ts
@@ -21073,10 +21177,10 @@ function getOptUniqueId() {
21073
21177
  return i18n_getI18n('vxe.base.pleaseSelect');
21074
21178
  });
21075
21179
  const computePropsOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21076
- return props.optionProps || {};
21180
+ return Object.assign({}, props.optionProps);
21077
21181
  });
21078
21182
  const computeGroupPropsOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21079
- return props.optionGroupProps || {};
21183
+ return Object.assign({}, props.optionGroupProps);
21080
21184
  });
21081
21185
  const computeLabelField = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21082
21186
  const propsOpts = computePropsOpts.value;
@@ -21114,6 +21218,31 @@ function getOptUniqueId() {
21114
21218
  const computeMultiMaxCharNum = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21115
21219
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.multiCharOverflow);
21116
21220
  });
21221
+ const computeSelectLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21222
+ const {
21223
+ modelValue,
21224
+ multiple,
21225
+ remote
21226
+ } = props;
21227
+ const multiMaxCharNum = computeMultiMaxCharNum.value;
21228
+ if (modelValue && multiple) {
21229
+ const vals = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue : [modelValue];
21230
+ if (remote) {
21231
+ return vals.map(val => getRemoteSelectLabel(val)).join(', ');
21232
+ }
21233
+ return vals.map(val => {
21234
+ const label = getSelectLabel(val);
21235
+ if (multiMaxCharNum > 0 && label.length > multiMaxCharNum) {
21236
+ return `${label.substring(0, multiMaxCharNum)}...`;
21237
+ }
21238
+ return label;
21239
+ }).join(', ');
21240
+ }
21241
+ if (remote) {
21242
+ return getRemoteSelectLabel(modelValue);
21243
+ }
21244
+ return getSelectLabel(modelValue);
21245
+ });
21117
21246
  const callSlot = (slotFunc, params) => {
21118
21247
  if (slotFunc) {
21119
21248
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(slotFunc)) {
@@ -21183,31 +21312,6 @@ function getOptUniqueId() {
21183
21312
  const item = findOption(value);
21184
21313
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(item ? item[labelField] : value);
21185
21314
  };
21186
- const computeSelectLabel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21187
- const {
21188
- modelValue,
21189
- multiple,
21190
- remote
21191
- } = props;
21192
- const multiMaxCharNum = computeMultiMaxCharNum.value;
21193
- if (modelValue && multiple) {
21194
- const vals = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue : [modelValue];
21195
- if (remote) {
21196
- return vals.map(val => getRemoteSelectLabel(val)).join(', ');
21197
- }
21198
- return vals.map(val => {
21199
- const label = getSelectLabel(val);
21200
- if (multiMaxCharNum > 0 && label.length > multiMaxCharNum) {
21201
- return `${label.substring(0, multiMaxCharNum)}...`;
21202
- }
21203
- return label;
21204
- }).join(', ');
21205
- }
21206
- if (remote) {
21207
- return getRemoteSelectLabel(modelValue);
21208
- }
21209
- return getSelectLabel(modelValue);
21210
- });
21211
21315
  const getOptkey = () => {
21212
21316
  const optionOpts = computeOptionOpts.value;
21213
21317
  return optionOpts.keyField || props.optionId || '_X_OPTION_KEY';
@@ -21444,8 +21548,8 @@ function getOptUniqueId() {
21444
21548
  }, 350);
21445
21549
  };
21446
21550
  const changeEvent = (evnt, selectValue) => {
21551
+ emit('update:modelValue', selectValue);
21447
21552
  if (selectValue !== props.modelValue) {
21448
- emit('update:modelValue', selectValue);
21449
21553
  selectMethods.dispatchEvent('change', {
21450
21554
  value: selectValue
21451
21555
  }, evnt);
@@ -21710,7 +21814,7 @@ function getOptUniqueId() {
21710
21814
  const focusSearchEvent = () => {
21711
21815
  reactData.isActivated = true;
21712
21816
  };
21713
- const triggerSearchEvent = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().debounce(function () {
21817
+ const handleSearchEvent = () => {
21714
21818
  const {
21715
21819
  remote,
21716
21820
  remoteMethod
@@ -21729,7 +21833,8 @@ function getOptUniqueId() {
21729
21833
  } else {
21730
21834
  refreshOption();
21731
21835
  }
21732
- }, 350, {
21836
+ };
21837
+ const triggerSearchEvent = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().debounce(handleSearchEvent, 350, {
21733
21838
  trailing: true
21734
21839
  });
21735
21840
  const togglePanelEvent = params => {
@@ -21966,7 +22071,7 @@ function getOptUniqueId() {
21966
22071
  ref: 'hideOption'
21967
22072
  }, defaultSlot ? defaultSlot({}) : []), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
21968
22073
  class: 'vxe-select-label'
21969
- }, selectLabel)]);
22074
+ }, [selectLabel])]);
21970
22075
  }
21971
22076
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
21972
22077
  ref: refElem,
@@ -22041,7 +22146,6 @@ function getOptUniqueId() {
22041
22146
  class: 'vxe-select--panel-footer'
22042
22147
  }, footerSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])] : [])])]);
22043
22148
  };
22044
- $xeSelect.renderVN = renderVN;
22045
22149
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.staticOptions, value => {
22046
22150
  if (value.some(item => item.options && item.options.length)) {
22047
22151
  reactData.fullOptionList = [];
@@ -22087,6 +22191,7 @@ function getOptUniqueId() {
22087
22191
  globalEvents.off($xeSelect, 'blur');
22088
22192
  });
22089
22193
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeSelect', $xeSelect);
22194
+ $xeSelect.renderVN = renderVN;
22090
22195
  return $xeSelect;
22091
22196
  },
22092
22197
  render() {
@@ -23422,7 +23527,7 @@ let autoTxtElem;
23422
23527
  value
23423
23528
  }, evnt);
23424
23529
  };
23425
- const emitUpdate = (value, evnt) => {
23530
+ const handleChange = (value, evnt) => {
23426
23531
  reactData.inputValue = value;
23427
23532
  emit('update:modelValue', value);
23428
23533
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toValueString(props.modelValue) !== value) {
@@ -23443,7 +23548,7 @@ let autoTxtElem;
23443
23548
  const value = textElem.value;
23444
23549
  reactData.inputValue = value;
23445
23550
  if (immediate) {
23446
- emitUpdate(value, evnt);
23551
+ handleChange(value, evnt);
23447
23552
  }
23448
23553
  $xeTextarea.dispatchEvent('input', {
23449
23554
  value
@@ -23457,7 +23562,7 @@ let autoTxtElem;
23457
23562
  if (immediate) {
23458
23563
  triggerEvent(evnt);
23459
23564
  } else {
23460
- emitUpdate(reactData.inputValue, evnt);
23565
+ handleChange(reactData.inputValue, evnt);
23461
23566
  }
23462
23567
  };
23463
23568
  const blurEvent = evnt => {
@@ -23468,7 +23573,7 @@ let autoTxtElem;
23468
23573
  inputValue
23469
23574
  } = reactData;
23470
23575
  if (!immediate) {
23471
- emitUpdate(inputValue, evnt);
23576
+ handleChange(inputValue, evnt);
23472
23577
  }
23473
23578
  $xeTextarea.dispatchEvent('blur', {
23474
23579
  value: inputValue
@@ -24302,8 +24407,8 @@ const getWidgetRowConfig = params => {
24302
24407
  onClick: clickEvent
24303
24408
  }, defaultSlot ? defaultSlot({}) : []);
24304
24409
  };
24305
- $xeRow.renderVN = renderVN;
24306
24410
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeRow', $xeRow);
24411
+ $xeRow.renderVN = renderVN;
24307
24412
  return $xeRow;
24308
24413
  },
24309
24414
  render() {
@@ -26536,7 +26641,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26536
26641
  value: inputValue
26537
26642
  }, evnt);
26538
26643
  };
26539
- const emitModel = (val, inputValue, evnt) => {
26644
+ const handleChange = (val, inputValue, evnt) => {
26540
26645
  const value = val ? Number(val) : null;
26541
26646
  const isChange = Number(value) !== props.modelValue;
26542
26647
  if (isChange) {
@@ -26561,7 +26666,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26561
26666
  const value = inputValue ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(inputValue) : null;
26562
26667
  reactData.inputValue = inputValue;
26563
26668
  if (inpImmediate) {
26564
- emitModel(value, inputValue, evnt);
26669
+ handleChange(value, inputValue, evnt);
26565
26670
  } else {
26566
26671
  numberInputMethods.dispatchEvent('input', {
26567
26672
  value
@@ -26596,7 +26701,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26596
26701
  };
26597
26702
  const clearValueEvent = (evnt, value) => {
26598
26703
  focus();
26599
- emitModel(null, '', evnt);
26704
+ handleChange(null, '', evnt);
26600
26705
  numberInputMethods.dispatchEvent('clear', {
26601
26706
  value
26602
26707
  }, evnt);
@@ -26632,7 +26737,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26632
26737
  validValue = Number(textValue);
26633
26738
  }
26634
26739
  if (inputValue !== validValue) {
26635
- emitModel(validValue, textValue, {
26740
+ handleChange(validValue, textValue, {
26636
26741
  type: 'init'
26637
26742
  });
26638
26743
  }
@@ -26671,7 +26776,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26671
26776
  }
26672
26777
  }
26673
26778
  const inpValue = getNumberValue(inpNumVal);
26674
- emitModel(inpValue === null ? null : Number(inpValue), inpValue, {
26779
+ handleChange(inpValue === null ? null : Number(inpValue), inpValue, {
26675
26780
  type: 'check'
26676
26781
  });
26677
26782
  }
@@ -26684,7 +26789,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
26684
26789
  const inpImmediate = computeInpImmediate.value;
26685
26790
  const value = inputValue ? Number(inputValue) : null;
26686
26791
  if (!inpImmediate) {
26687
- emitModel(value, `${inputValue || ''}`, evnt);
26792
+ handleChange(value, `${inputValue || ''}`, evnt);
26688
26793
  }
26689
26794
  afterCheckValue();
26690
26795
  reactData.isActivated = false;
@@ -28367,7 +28472,7 @@ function getNodeUniqueId() {
28367
28472
  nodeMaps
28368
28473
  } = reactData;
28369
28474
  if (!lazy) {
28370
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
28475
+ return Promise.resolve([]);
28371
28476
  }
28372
28477
  const childrenField = computeChildrenField.value;
28373
28478
  const parentNodeItem = nodeMaps[getNodeId(node)];
@@ -29097,7 +29202,6 @@ function getNodeUniqueId() {
29097
29202
  })
29098
29203
  } : {})]);
29099
29204
  };
29100
- $xeTree.renderVN = renderVN;
29101
29205
  const dataFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
29102
29206
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.data ? props.data.length : 0, () => {
29103
29207
  dataFlag.value++;
@@ -29128,6 +29232,7 @@ function getNodeUniqueId() {
29128
29232
  });
29129
29233
  updateData(props.data || []);
29130
29234
  updateCheckboxChecked(props.checkNodeKeys || []);
29235
+ $xeTree.renderVN = renderVN;
29131
29236
  return $xeTree;
29132
29237
  },
29133
29238
  render() {
@@ -29214,6 +29319,9 @@ function tree_select_getOptUniqueId() {
29214
29319
  visibleAnimate: false,
29215
29320
  isActivated: false
29216
29321
  });
29322
+ const internalData = {
29323
+ hpTimeout: undefined
29324
+ };
29217
29325
  const refMaps = {
29218
29326
  refElem
29219
29327
  };
@@ -29311,9 +29419,9 @@ function tree_select_getOptUniqueId() {
29311
29419
  const {
29312
29420
  fullNodeMaps
29313
29421
  } = reactData;
29422
+ const labelField = computeLabelField.value;
29314
29423
  return (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue : [modelValue]).map(value => {
29315
29424
  const cacheItem = fullNodeMaps[value];
29316
- const labelField = computeLabelField.value;
29317
29425
  return cacheItem ? cacheItem.item[labelField] : value;
29318
29426
  }).join(', ');
29319
29427
  });
@@ -29323,6 +29431,7 @@ function tree_select_getOptUniqueId() {
29323
29431
  props,
29324
29432
  context,
29325
29433
  reactData,
29434
+ internalData,
29326
29435
  getRefMaps: () => refMaps,
29327
29436
  getComputeMaps: () => computeMaps
29328
29437
  };
@@ -29351,7 +29460,7 @@ function tree_select_getOptUniqueId() {
29351
29460
  const valueField = computeValueField.value;
29352
29461
  const childrenField = computeChildrenField.value;
29353
29462
  const nodeMaps = {};
29354
- external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(options, (item, index, items, parent, nodes) => {
29463
+ external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eachTree(options, (item, index, items, path, parent, nodes) => {
29355
29464
  let nodeid = getOptid(item);
29356
29465
  if (!nodeid) {
29357
29466
  nodeid = tree_select_getOptUniqueId();
@@ -29455,14 +29564,13 @@ function tree_select_getOptUniqueId() {
29455
29564
  }
29456
29565
  });
29457
29566
  };
29458
- let hidePanelTimeout;
29459
29567
  const showOptionPanel = () => {
29460
29568
  const {
29461
29569
  loading
29462
29570
  } = props;
29463
29571
  const isDisabled = computeIsDisabled.value;
29464
29572
  if (!loading && !isDisabled) {
29465
- clearTimeout(hidePanelTimeout);
29573
+ clearTimeout(internalData.hpTimeout);
29466
29574
  if (!reactData.initialized) {
29467
29575
  reactData.initialized = true;
29468
29576
  }
@@ -29477,7 +29585,7 @@ function tree_select_getOptUniqueId() {
29477
29585
  };
29478
29586
  const hideOptionPanel = () => {
29479
29587
  reactData.visiblePanel = false;
29480
- hidePanelTimeout = window.setTimeout(() => {
29588
+ internalData.hpTimeout = window.setTimeout(() => {
29481
29589
  reactData.visibleAnimate = false;
29482
29590
  }, 350);
29483
29591
  };
@@ -29485,9 +29593,9 @@ function tree_select_getOptUniqueId() {
29485
29593
  const {
29486
29594
  fullNodeMaps
29487
29595
  } = reactData;
29596
+ emit('update:modelValue', selectValue);
29488
29597
  if (selectValue !== props.modelValue) {
29489
29598
  const cacheItem = fullNodeMaps[selectValue];
29490
- emit('update:modelValue', selectValue);
29491
29599
  treeSelectMethods.dispatchEvent('change', {
29492
29600
  value: selectValue,
29493
29601
  option: cacheItem ? cacheItem.item : null
@@ -29730,7 +29838,6 @@ function tree_select_getOptUniqueId() {
29730
29838
  class: 'vxe-tree-select--panel-footer'
29731
29839
  }, footerSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])] : [])])]);
29732
29840
  };
29733
- $xeTreeSelect.renderVN = renderVN;
29734
29841
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.options, () => {
29735
29842
  cacheItemMap();
29736
29843
  });
@@ -29745,6 +29852,8 @@ function tree_select_getOptUniqueId() {
29745
29852
  globalEvents.off($xeTreeSelect, 'mousedown');
29746
29853
  globalEvents.off($xeTreeSelect, 'blur');
29747
29854
  });
29855
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeTreeSelect', $xeTreeSelect);
29856
+ $xeTreeSelect.renderVN = renderVN;
29748
29857
  return $xeTreeSelect;
29749
29858
  },
29750
29859
  render() {
@@ -30787,7 +30896,7 @@ const saveLocalFile = options => {
30787
30896
  $upload: $xeUpload
30788
30897
  }, params));
30789
30898
  };
30790
- const emitModel = value => {
30899
+ const handleChange = value => {
30791
30900
  const {
30792
30901
  singleMode,
30793
30902
  urlMode
@@ -30970,7 +31079,7 @@ const saveLocalFile = options => {
30970
31079
  cacheItem.percent = 0;
30971
31080
  handleUploadResult(item, file).then(() => {
30972
31081
  if (urlMode) {
30973
- emitModel(reactData.fileList);
31082
+ handleChange(reactData.fileList);
30974
31083
  }
30975
31084
  });
30976
31085
  }
@@ -31082,7 +31191,7 @@ const saveLocalFile = options => {
31082
31191
  reactData.fileList = newFileList;
31083
31192
  reactData.fileCacheMaps = cacheMaps;
31084
31193
  Promise.all(urlMode ? uploadPromiseRests : []).then(() => {
31085
- emitModel(newFileList);
31194
+ handleChange(newFileList);
31086
31195
  // 自动更新校验状态
31087
31196
  if ($xeForm && formItemInfo) {
31088
31197
  $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, newFileList);
@@ -31122,7 +31231,7 @@ const saveLocalFile = options => {
31122
31231
  fileList
31123
31232
  } = reactData;
31124
31233
  fileList.splice(index, 1);
31125
- emitModel(fileList);
31234
+ handleChange(fileList);
31126
31235
  // 自动更新校验状态
31127
31236
  if ($xeForm && formItemInfo) {
31128
31237
  $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, fileList);
@@ -31634,7 +31743,6 @@ const saveLocalFile = options => {
31634
31743
  class: 'vxe-upload--drag-placeholder'
31635
31744
  }, i18n_getI18n('vxe.upload.dragPlaceholder')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
31636
31745
  };
31637
- $xeUpload.renderVN = renderVN;
31638
31746
  const listFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
31639
31747
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue ? props.modelValue.length : 0, () => {
31640
31748
  listFlag.value++;
@@ -31656,6 +31764,7 @@ const saveLocalFile = options => {
31656
31764
  reactData.isDrag = false;
31657
31765
  });
31658
31766
  updateFileList();
31767
+ $xeUpload.renderVN = renderVN;
31659
31768
  return $xeUpload;
31660
31769
  },
31661
31770
  render() {
@@ -32363,7 +32472,7 @@ const Icon = VxeIcon;
32363
32472
  } = useSize(props);
32364
32473
  const reactData = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.reactive)({
32365
32474
  initialized: false,
32366
- selectIcon: '',
32475
+ selectIcon: `${props.modelValue || ''}`,
32367
32476
  panelIndex: 0,
32368
32477
  panelStyle: {},
32369
32478
  panelPlacement: null,
@@ -32371,6 +32480,9 @@ const Icon = VxeIcon;
32371
32480
  isAniVisible: false,
32372
32481
  isActivated: false
32373
32482
  });
32483
+ const internalData = {
32484
+ hpTimeout: undefined
32485
+ };
32374
32486
  const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
32375
32487
  const refInput = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
32376
32488
  const refOptionPanel = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
@@ -32539,11 +32651,16 @@ const Icon = VxeIcon;
32539
32651
  }
32540
32652
  });
32541
32653
  };
32542
- let hidePanelTimeout;
32543
32654
  const showOptionPanel = () => {
32655
+ const {
32656
+ hpTimeout
32657
+ } = internalData;
32544
32658
  const isDisabled = computeIsDisabled.value;
32545
32659
  if (!isDisabled) {
32546
- clearTimeout(hidePanelTimeout);
32660
+ if (hpTimeout) {
32661
+ clearTimeout(hpTimeout);
32662
+ internalData.hpTimeout = undefined;
32663
+ }
32547
32664
  if (!reactData.initialized) {
32548
32665
  reactData.initialized = true;
32549
32666
  }
@@ -32558,7 +32675,7 @@ const Icon = VxeIcon;
32558
32675
  };
32559
32676
  const hideOptionPanel = () => {
32560
32677
  reactData.visiblePanel = false;
32561
- hidePanelTimeout = window.setTimeout(() => {
32678
+ internalData.hpTimeout = window.setTimeout(() => {
32562
32679
  reactData.isAniVisible = false;
32563
32680
  }, 350);
32564
32681
  };
@@ -32689,12 +32806,13 @@ const Icon = VxeIcon;
32689
32806
  const handleGlobalBlurEvent = () => {
32690
32807
  hideOptionPanel();
32691
32808
  };
32809
+ const dispatchEvent = (type, params, evnt) => {
32810
+ emit(type, createEvent(evnt, {
32811
+ $iconPicker: $xeIconPicker
32812
+ }, params));
32813
+ };
32692
32814
  iconPickerMethods = {
32693
- dispatchEvent(type, params, evnt) {
32694
- emit(type, createEvent(evnt, {
32695
- $iconPicker: $xeIconPicker
32696
- }, params));
32697
- },
32815
+ dispatchEvent,
32698
32816
  isPanelVisible() {
32699
32817
  return reactData.visiblePanel;
32700
32818
  },
@@ -32844,9 +32962,8 @@ const Icon = VxeIcon;
32844
32962
  style: reactData.panelStyle
32845
32963
  }, [initialized ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
32846
32964
  class: 'vxe-ico-picker--panel-wrapper'
32847
- }, renderIconWrapper()) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])])]);
32965
+ }, [renderIconWrapper()]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])])]);
32848
32966
  };
32849
- $xeIconPicker.renderVN = renderVN;
32850
32967
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
32851
32968
  reactData.selectIcon = `${val || ''}`;
32852
32969
  });
@@ -32863,6 +32980,7 @@ const Icon = VxeIcon;
32863
32980
  globalEvents.off($xeIconPicker, 'blur');
32864
32981
  });
32865
32982
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeIconPicker', $xeIconPicker);
32983
+ $xeIconPicker.renderVN = renderVN;
32866
32984
  return $xeIconPicker;
32867
32985
  },
32868
32986
  render() {
@@ -33444,7 +33562,6 @@ const IconPicker = VxeIconPicker;
33444
33562
  onWheel: wheelEvent
33445
33563
  }, [renderImgWrapper(), renderBtnWrapper()]);
33446
33564
  };
33447
- $xeImagePreview.renderVN = renderVN;
33448
33565
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.modelValue, val => {
33449
33566
  reactData.activeIndex = val;
33450
33567
  resetStyle();
@@ -33462,6 +33579,7 @@ const IconPicker = VxeIconPicker;
33462
33579
  globalEvents.off($xeImagePreview, 'keydown');
33463
33580
  });
33464
33581
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeImagePreview', $xeImagePreview);
33582
+ $xeImagePreview.renderVN = renderVN;
33465
33583
  return renderVN;
33466
33584
  }
33467
33585
  }));
@@ -33813,7 +33931,10 @@ const Image = VxeImage;
33813
33931
  };
33814
33932
  $xeImageGroup.renderVN = renderVN;
33815
33933
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeImageGroup', $xeImageGroup);
33816
- return renderVN;
33934
+ return $xeImageGroup;
33935
+ },
33936
+ render() {
33937
+ return this.renderVN();
33817
33938
  }
33818
33939
  }));
33819
33940
  ;// CONCATENATED MODULE: ./packages/image-group/index.ts
@@ -33962,8 +34083,8 @@ const Input = VxeInput;
33962
34083
  modelValue: loading
33963
34084
  })]);
33964
34085
  };
33965
- $xeLayoutAside.renderVN = renderVN;
33966
34086
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeLayoutAside', $xeLayoutAside);
34087
+ $xeLayoutAside.renderVN = renderVN;
33967
34088
  return $xeLayoutAside;
33968
34089
  },
33969
34090
  render() {
@@ -35781,7 +35902,6 @@ const DefaultParameterSettingFormComponent = (0,external_commonjs_vue_commonjs2_
35781
35902
  class: 'vxe-list-design--body'
35782
35903
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_layout_preview), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(src_layout_setting)])]);
35783
35904
  };
35784
- $xeListDesign.renderVN = renderVN;
35785
35905
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeListDesign', $xeListDesign);
35786
35906
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.config, value => {
35787
35907
  loadConfig(value || {});
@@ -35790,6 +35910,7 @@ const DefaultParameterSettingFormComponent = (0,external_commonjs_vue_commonjs2_
35790
35910
  if (props.config) {
35791
35911
  loadConfig(props.config);
35792
35912
  }
35913
+ $xeListDesign.renderVN = renderVN;
35793
35914
  return $xeListDesign;
35794
35915
  },
35795
35916
  render() {
@@ -36335,7 +36456,6 @@ const ListDesign = VxeListDesign;
36335
36456
  modelValue: loading
36336
36457
  })]);
36337
36458
  };
36338
- $xeListView.renderVN = renderVN;
36339
36459
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.config, value => {
36340
36460
  loadConfig(value || {});
36341
36461
  });
@@ -36350,6 +36470,7 @@ const ListDesign = VxeListDesign;
36350
36470
  }
36351
36471
  });
36352
36472
  }
36473
+ $xeListView.renderVN = renderVN;
36353
36474
  return $xeListView;
36354
36475
  },
36355
36476
  render() {
@@ -36411,10 +36532,8 @@ const ListView = VxeListView;
36411
36532
  topSpaceHeight: 0,
36412
36533
  items: []
36413
36534
  });
36414
- const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36415
- const refVirtualWrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36416
- const refVirtualBody = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36417
36535
  const internalData = {
36536
+ resizeObserver: undefined,
36418
36537
  fullData: [],
36419
36538
  lastScrollLeft: 0,
36420
36539
  lastScrollTop: 0,
@@ -36426,6 +36545,9 @@ const ListView = VxeListView;
36426
36545
  rowHeight: 0
36427
36546
  }
36428
36547
  };
36548
+ const refElem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36549
+ const refVirtualWrapper = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36550
+ const refVirtualBody = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
36429
36551
  const refMaps = {
36430
36552
  refElem
36431
36553
  };
@@ -36685,19 +36807,22 @@ const ListView = VxeListView;
36685
36807
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onActivated)(() => {
36686
36808
  recalculate().then(() => refreshScroll());
36687
36809
  });
36688
- let resizeObserver;
36689
36810
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
36690
36811
  globalEvents.on($xeList, 'resize', () => {
36691
36812
  recalculate();
36692
36813
  });
36693
36814
  if (props.autoResize) {
36694
36815
  const el = refElem.value;
36695
- resizeObserver = globalResize.create(() => recalculate());
36816
+ const resizeObserver = globalResize.create(() => recalculate());
36696
36817
  resizeObserver.observe(el);
36818
+ internalData.resizeObserver = resizeObserver;
36697
36819
  }
36698
36820
  listMethods.loadData(props.data || []);
36699
36821
  });
36700
36822
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
36823
+ const {
36824
+ resizeObserver
36825
+ } = internalData;
36701
36826
  if (resizeObserver) {
36702
36827
  resizeObserver.disconnect();
36703
36828
  }
@@ -37049,7 +37174,6 @@ const List = VxeList;
37049
37174
  modelValue: loading
37050
37175
  })]);
37051
37176
  };
37052
- $xeMenu.renderVN = renderVN;
37053
37177
  const optFlag = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(0);
37054
37178
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => props.options ? props.options.length : -1, () => {
37055
37179
  optFlag.value++;
@@ -37074,6 +37198,7 @@ const List = VxeList;
37074
37198
  });
37075
37199
  updateMenuConfig();
37076
37200
  updateActiveMenu(true);
37201
+ $xeMenu.renderVN = renderVN;
37077
37202
  return $xeMenu;
37078
37203
  },
37079
37204
  render() {
@@ -37267,7 +37392,7 @@ function watchOption(props, option) {
37267
37392
  });
37268
37393
  });
37269
37394
  }
37270
- function assembleOption($xeSelect, el, option, optGroup) {
37395
+ function assembleOption($xeSelect, el, option, $xeOptgroup) {
37271
37396
  const {
37272
37397
  reactData
37273
37398
  } = $xeSelect;
@@ -37275,7 +37400,7 @@ function assembleOption($xeSelect, el, option, optGroup) {
37275
37400
  staticOptions
37276
37401
  } = reactData;
37277
37402
  const parentElem = el.parentNode;
37278
- const parentOption = optGroup ? optGroup.option : null;
37403
+ const parentOption = $xeOptgroup ? $xeOptgroup.optionConfig : null;
37279
37404
  const parentCols = parentOption ? parentOption.options : staticOptions;
37280
37405
  if (parentElem && parentCols) {
37281
37406
  parentCols.splice(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().arrayIndexOf(parentElem.children, el), 0, option);
@@ -37314,28 +37439,31 @@ function destroyOption($xeSelect, option) {
37314
37439
  className: [String, Function],
37315
37440
  disabled: Boolean
37316
37441
  },
37442
+ emits: [],
37317
37443
  setup(props, {
37318
37444
  slots
37319
37445
  }) {
37320
37446
  const elem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
37321
37447
  const $xeSelect = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeSelect', {});
37322
- const option = createOption($xeSelect, props);
37323
- const xeOption = {
37324
- option
37448
+ const optionConfig = createOption($xeSelect, props);
37449
+ const $xeOptgroup = {
37450
+ optionConfig
37325
37451
  };
37326
- option.options = [];
37327
- (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeOptgroup', xeOption);
37328
- watchOption(props, option);
37452
+ optionConfig.options = [];
37453
+ (0,external_commonjs_vue_commonjs2_vue_root_Vue_.provide)('$xeOptgroup', $xeOptgroup);
37454
+ watchOption(props, optionConfig);
37329
37455
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
37330
- assembleOption($xeSelect, elem.value, option);
37456
+ const el = elem.value;
37457
+ assembleOption($xeSelect, el, optionConfig);
37331
37458
  });
37332
37459
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
37333
- destroyOption($xeSelect, option);
37460
+ destroyOption($xeSelect, optionConfig);
37334
37461
  });
37335
37462
  return () => {
37463
+ const defaultSlot = slots.default;
37336
37464
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
37337
37465
  ref: elem
37338
- }, slots.default ? slots.default() : []);
37466
+ }, defaultSlot ? defaultSlot({}) : []);
37339
37467
  };
37340
37468
  }
37341
37469
  }));
@@ -37358,7 +37486,7 @@ const Optgroup = VxeOptgroup;
37358
37486
  /* harmony default export */ var src_option = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
37359
37487
  name: 'VxeOption',
37360
37488
  props: {
37361
- value: null,
37489
+ value: [String, Number, Boolean],
37362
37490
  label: {
37363
37491
  type: [String, Number, Boolean],
37364
37492
  default: ''
@@ -37370,20 +37498,22 @@ const Optgroup = VxeOptgroup;
37370
37498
  className: [String, Function],
37371
37499
  disabled: Boolean
37372
37500
  },
37501
+ emits: [],
37373
37502
  setup(props, {
37374
37503
  slots
37375
37504
  }) {
37376
37505
  const elem = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)();
37377
37506
  const $xeSelect = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeSelect', {});
37378
- const optGroup = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeOptgroup', null);
37379
- const option = createOption($xeSelect, props);
37380
- option.slots = slots;
37381
- watchOption(props, option);
37507
+ const $xeOptgroup = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeOptgroup', null);
37508
+ const optionConfig = createOption($xeSelect, props);
37509
+ optionConfig.slots = slots;
37510
+ watchOption(props, optionConfig);
37382
37511
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
37383
- assembleOption($xeSelect, elem.value, option, optGroup);
37512
+ const el = elem.value;
37513
+ assembleOption($xeSelect, el, optionConfig, $xeOptgroup);
37384
37514
  });
37385
37515
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onUnmounted)(() => {
37386
- destroyOption($xeSelect, option);
37516
+ destroyOption($xeSelect, optionConfig);
37387
37517
  });
37388
37518
  return () => {
37389
37519
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
@@ -37513,6 +37643,39 @@ const Option = VxeOption;
37513
37643
  const refMaps = {
37514
37644
  refElem
37515
37645
  };
37646
+ const computePageCount = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37647
+ return getPageCount(props.total, props.pageSize);
37648
+ });
37649
+ const computeNumList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37650
+ const {
37651
+ pagerCount
37652
+ } = props;
37653
+ const pageCount = computePageCount.value;
37654
+ const len = pageCount > pagerCount ? pagerCount - 2 : pagerCount;
37655
+ const rest = [];
37656
+ for (let index = 0; index < len; index++) {
37657
+ rest.push(index);
37658
+ }
37659
+ return rest;
37660
+ });
37661
+ const computeOffsetNumber = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37662
+ return Math.floor((props.pagerCount - 2) / 2);
37663
+ });
37664
+ const computeSizeList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37665
+ return props.pageSizes.map(item => {
37666
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(item)) {
37667
+ return {
37668
+ value: item,
37669
+ label: `${i18n_getI18n('vxe.pager.pagesize', [item])}`
37670
+ };
37671
+ }
37672
+ return {
37673
+ value: '',
37674
+ label: '',
37675
+ ...item
37676
+ };
37677
+ });
37678
+ });
37516
37679
  const $xePager = {
37517
37680
  xID,
37518
37681
  props,
@@ -37524,9 +37687,6 @@ const Option = VxeOption;
37524
37687
  const getPageCount = (total, size) => {
37525
37688
  return Math.max(Math.ceil(total / size), 1);
37526
37689
  };
37527
- const computePageCount = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37528
- return getPageCount(props.total, props.pageSize);
37529
- });
37530
37690
  const jumpPageEvent = (evnt, currentPage) => {
37531
37691
  emit('update:currentPage', currentPage);
37532
37692
  if (evnt && currentPage !== props.currentPage) {
@@ -37560,36 +37720,6 @@ const Option = VxeOption;
37560
37720
  reactData.inpCurrPage = currPage;
37561
37721
  changeCurrentPage(current, $event);
37562
37722
  };
37563
- const computeNumList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37564
- const {
37565
- pagerCount
37566
- } = props;
37567
- const pageCount = computePageCount.value;
37568
- const len = pageCount > pagerCount ? pagerCount - 2 : pagerCount;
37569
- const rest = [];
37570
- for (let index = 0; index < len; index++) {
37571
- rest.push(index);
37572
- }
37573
- return rest;
37574
- });
37575
- const computeOffsetNumber = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37576
- return Math.floor((props.pagerCount - 2) / 2);
37577
- });
37578
- const computeSizeList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
37579
- return props.pageSizes.map(item => {
37580
- if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(item)) {
37581
- return {
37582
- value: item,
37583
- label: `${i18n_getI18n('vxe.pager.pagesize', [item])}`
37584
- };
37585
- }
37586
- return {
37587
- value: '',
37588
- label: '',
37589
- ...item
37590
- };
37591
- });
37592
- });
37593
37723
  const handleHomePage = evnt => {
37594
37724
  const {
37595
37725
  currentPage
@@ -37779,7 +37909,7 @@ const Option = VxeOption;
37779
37909
  class: 'vxe-pager--num-btn',
37780
37910
  type: 'button',
37781
37911
  onClick: evnt => jumpPageEvent(evnt, 1)
37782
- }, 1), renderPrevJump('span'));
37912
+ }, '1'), renderPrevJump('span'));
37783
37913
  }
37784
37914
  numList.forEach((item, index) => {
37785
37915
  const number = startNumber + index;
@@ -37791,7 +37921,7 @@ const Option = VxeOption;
37791
37921
  }],
37792
37922
  type: 'button',
37793
37923
  onClick: evnt => jumpPageEvent(evnt, number)
37794
- }, number));
37924
+ }, `${number}`));
37795
37925
  }
37796
37926
  });
37797
37927
  if (showJump && isGt) {
@@ -37865,12 +37995,13 @@ const Option = VxeOption;
37865
37995
  class: 'vxe-pager--total'
37866
37996
  }, i18n_getI18n('vxe.pager.total', [props.total]));
37867
37997
  };
37998
+ const dispatchEvent = (type, params, evnt) => {
37999
+ emit(type, createEvent(evnt, {
38000
+ $pager: $xePager
38001
+ }, params));
38002
+ };
37868
38003
  pagerMethods = {
37869
- dispatchEvent(type, params, evnt) {
37870
- emit(type, createEvent(evnt, {
37871
- $pager: $xePager
37872
- }, params));
37873
- },
38004
+ dispatchEvent,
37874
38005
  homePage() {
37875
38006
  handleHomePage();
37876
38007
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
@@ -38131,7 +38262,7 @@ const Pager = VxePager;
38131
38262
  const value = inputElem.value;
38132
38263
  emitInputEvent(value, evnt);
38133
38264
  };
38134
- const emitModel = (value, evnt) => {
38265
+ const handleChange = (value, evnt) => {
38135
38266
  reactData.inputValue = value;
38136
38267
  emit('update:modelValue', value);
38137
38268
  passwordInputMethods.dispatchEvent('input', {
@@ -38189,7 +38320,7 @@ const Pager = VxePager;
38189
38320
  };
38190
38321
  const clearValueEvent = (evnt, value) => {
38191
38322
  focus();
38192
- emitModel('', evnt);
38323
+ handleChange('', evnt);
38193
38324
  passwordInputMethods.dispatchEvent('clear', {
38194
38325
  value
38195
38326
  }, evnt);
@@ -38529,13 +38660,15 @@ function destroyPageBreak($xePageBreak, pageBreakConfig) {
38529
38660
 
38530
38661
 
38531
38662
 
38663
+
38532
38664
  /* harmony default export */ var page_break = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
38533
38665
  name: 'VxePrintPageBreak',
38534
38666
  props: {},
38535
38667
  emits: [],
38536
38668
  setup(props, context) {
38537
38669
  const {
38538
- slots
38670
+ slots,
38671
+ emit
38539
38672
  } = context;
38540
38673
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
38541
38674
  const $xePrint = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xePrint', null);
@@ -38557,6 +38690,16 @@ function destroyPageBreak($xePageBreak, pageBreakConfig) {
38557
38690
  getRefMaps: () => refMaps,
38558
38691
  getComputeMaps: () => computeMaps
38559
38692
  };
38693
+ const dispatchEvent = (type, params, evnt) => {
38694
+ emit(type, createEvent(evnt, {
38695
+ $print: $xePrint
38696
+ }, params));
38697
+ };
38698
+ const printPageBreakMethods = {
38699
+ dispatchEvent
38700
+ };
38701
+ const printPageBreakPrivateMethods = {};
38702
+ Object.assign($xePrintPageBreak, printPageBreakMethods, printPageBreakPrivateMethods);
38560
38703
  if (!$xePrint) {
38561
38704
  $xePrintPageBreak.renderVN = () => {
38562
38705
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
@@ -38568,7 +38711,6 @@ function destroyPageBreak($xePageBreak, pageBreakConfig) {
38568
38711
  ref: refElem
38569
38712
  });
38570
38713
  };
38571
- $xePrintPageBreak.renderVN = renderVN;
38572
38714
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
38573
38715
  const elem = refElem.value;
38574
38716
  if ($xePrint && elem) {
@@ -38580,6 +38722,7 @@ function destroyPageBreak($xePageBreak, pageBreakConfig) {
38580
38722
  destroyPageBreak($xePrint, pageBreakConfig);
38581
38723
  }
38582
38724
  });
38725
+ $xePrintPageBreak.renderVN = renderVN;
38583
38726
  return $xePrintPageBreak;
38584
38727
  },
38585
38728
  render() {
@@ -38666,12 +38809,13 @@ const PrintPageBreak = VxePrintPageBreak;
38666
38809
  getRefMaps: () => refMaps,
38667
38810
  getComputeMaps: () => computeMaps
38668
38811
  };
38812
+ const dispatchEvent = (type, params, evnt) => {
38813
+ emit(type, createEvent(evnt, {
38814
+ $print: $xePrint
38815
+ }, params));
38816
+ };
38669
38817
  const printMethods = {
38670
- dispatchEvent(type, params, evnt) {
38671
- emit(type, createEvent(evnt, {
38672
- $print: $xePrint
38673
- }, params));
38674
- },
38818
+ dispatchEvent,
38675
38819
  print() {
38676
38820
  const elem = refElem.value;
38677
38821
  return printHtml(Object.assign({}, props, {
@@ -38680,7 +38824,8 @@ const PrintPageBreak = VxePrintPageBreak;
38680
38824
  }));
38681
38825
  }
38682
38826
  };
38683
- Object.assign($xePrint, printMethods);
38827
+ const printPrivateMethods = {};
38828
+ Object.assign($xePrint, printMethods, printPrivateMethods);
38684
38829
  const renderPageConfigLayouts = () => {
38685
38830
  const {
38686
38831
  title,