vxe-pc-ui 1.7.2 → 1.7.3

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 (38) hide show
  1. package/README.en.md +1 -1
  2. package/es/anchor/src/anchor.js +1 -1
  3. package/es/form-design/src/form-design.js +4 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/style.css +1 -1
  6. package/es/style.min.css +1 -1
  7. package/es/ui/index.js +2 -1
  8. package/helper/vetur/attributes.json +1 -1066
  9. package/helper/vetur/tags.json +1 -391
  10. package/lib/anchor/src/anchor.js +1 -1
  11. package/lib/anchor/src/anchor.min.js +1 -1
  12. package/lib/form-design/src/form-design.js +4 -1
  13. package/lib/form-design/src/form-design.min.js +1 -1
  14. package/lib/icon/style/style.css +1 -1
  15. package/lib/icon/style/style.min.css +1 -1
  16. package/lib/index.umd.js +7 -3
  17. package/lib/index.umd.min.js +1 -1
  18. package/lib/style.css +1 -1
  19. package/lib/style.min.css +1 -1
  20. package/lib/ui/index.js +2 -1
  21. package/lib/ui/index.min.js +1 -1
  22. package/package.json +2 -2
  23. package/packages/anchor/src/anchor.ts +3 -3
  24. package/packages/form-design/src/form-design.ts +4 -1
  25. package/packages/ui/index.ts +1 -0
  26. package/types/components/tips.d.ts +1 -1
  27. /package/es/icon/style/{iconfont.1716540802393.ttf → iconfont.1716552119066.ttf} +0 -0
  28. /package/es/icon/style/{iconfont.1716540802393.woff → iconfont.1716552119066.woff} +0 -0
  29. /package/es/icon/style/{iconfont.1716540802393.woff2 → iconfont.1716552119066.woff2} +0 -0
  30. /package/es/{iconfont.1716540802393.ttf → iconfont.1716552119066.ttf} +0 -0
  31. /package/es/{iconfont.1716540802393.woff → iconfont.1716552119066.woff} +0 -0
  32. /package/es/{iconfont.1716540802393.woff2 → iconfont.1716552119066.woff2} +0 -0
  33. /package/lib/icon/style/{iconfont.1716540802393.ttf → iconfont.1716552119066.ttf} +0 -0
  34. /package/lib/icon/style/{iconfont.1716540802393.woff → iconfont.1716552119066.woff} +0 -0
  35. /package/lib/icon/style/{iconfont.1716540802393.woff2 → iconfont.1716552119066.woff2} +0 -0
  36. /package/lib/{iconfont.1716540802393.ttf → iconfont.1716552119066.ttf} +0 -0
  37. /package/lib/{iconfont.1716540802393.woff → iconfont.1716552119066.woff} +0 -0
  38. /package/lib/{iconfont.1716540802393.woff2 → iconfont.1716552119066.woff2} +0 -0
package/lib/ui/index.js CHANGED
@@ -18,7 +18,7 @@ Object.keys(_core).forEach(function (key) {
18
18
  });
19
19
  });
20
20
  var _dynamics = require("../dynamics");
21
- _core.VxeUI.uiVersion = "1.7.2";
21
+ _core.VxeUI.uiVersion = "1.7.3";
22
22
  _core.VxeUI.tableVersion = '';
23
23
  _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
24
24
  (0, _core.setConfig)({
@@ -59,6 +59,7 @@ _core.VxeUI.dynamicApp = _dynamics.dynamicApp;
59
59
  titleAsterisk: true
60
60
  },
61
61
  formDesign: {
62
+ height: 400,
62
63
  formConfig: {
63
64
  vertical: true
64
65
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_core=(exports.default=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics"));_core.VxeUI.uiVersion="1.7.2",_core.VxeUI.tableVersion="",_core.VxeUI.dynamicApp=_dynamics.dynamicApp,(0,_core.setConfig)({anchor:{},anchorLink:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{},buttonGroup:{},checkbox:{},checkboxGroup:{},col:{},colgroup:{},collapse:{},collapsePane:{},column:{},drawer:{showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0},formDesign:{formConfig:{vertical:!0}},formGather:{},formItem:{},grid:{},icon:{},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{},list:{scrollY:{enabled:!0,gt:100}},loading:{},modal:{top:15,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,draggable:!0,showConfirmButton:null,storageKey:"VXE_MODAL_POSITION"},optgroup:{},option:{},pager:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},row:{},select:{multiCharOverflow:8},switch:{},tabPane:{},table:{},tabs:{},textarea:{},toolbar:{},tips:{title:"Tip"},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_PWD:iconPrefix+"eye-fill",INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",INPUT_PREV_NUM:iconPrefix+"caret-up",INPUT_NEXT_NUM:iconPrefix+"caret-down",INPUT_DATE:iconPrefix+"calendar",INPUT_SEARCH:iconPrefix+"search",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",DESIGN_FORM_WIDGET_ADD:iconPrefix+"square-plus-fill",DESIGN_FORM_WIDGET_COPY:iconPrefix+"copy",DESIGN_FORM_WIDGET_DELETE:iconPrefix+"delete",DESIGN_FORM_WIDGET_OPTION_DELETE:iconPrefix+"delete",DESIGN_FORM_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",DESIGN_FORM_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus"});var _default=exports.default=_core.VxeUI;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_core=(exports.default=void 0,require("@vxe-ui/core")),_dynamics=(Object.keys(_core).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_core[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _core[e]}})}),require("../dynamics"));_core.VxeUI.uiVersion="1.7.3",_core.VxeUI.tableVersion="",_core.VxeUI.dynamicApp=_dynamics.dynamicApp,(0,_core.setConfig)({anchor:{},anchorLink:{},breadcrumb:{separator:"/"},breadcrumbItem:{},button:{},buttonGroup:{},checkbox:{},checkboxGroup:{},col:{},colgroup:{},collapse:{},collapsePane:{},column:{},drawer:{showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0},formDesign:{height:400,formConfig:{vertical:!0}},formGather:{},formItem:{},grid:{},icon:{},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},layoutAside:{},layoutBody:{},layoutContainer:{},layoutFooter:{},layoutHeader:{},link:{underline:!0},listDesign:{},list:{scrollY:{enabled:!0,gt:100}},loading:{},modal:{top:15,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,draggable:!0,showConfirmButton:null,storageKey:"VXE_MODAL_POSITION"},optgroup:{},option:{},pager:{},pulldown:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},row:{},select:{multiCharOverflow:8},switch:{},tabPane:{},table:{},tabs:{},textarea:{},toolbar:{},tips:{title:"Tip"},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300}});const iconPrefix="vxe-icon-";(0,_core.setIcon)({LOADING:iconPrefix+"spinner roll vxe-loading--default-icon",BUTTON_DROPDOWN:iconPrefix+"arrow-down",BUTTON_LOADING:iconPrefix+"spinner roll",MENU_ITEM_EXPAND_OPEN:iconPrefix+"arrow-down rotate180",MENU_ITEM_EXPAND_CLOSE:iconPrefix+"arrow-down",SELECT_LOADED:iconPrefix+"spinner roll",SELECT_OPEN:iconPrefix+"caret-down rotate180",SELECT_CLOSE:iconPrefix+"caret-down",PAGER_HOME:iconPrefix+"home-page",PAGER_END:iconPrefix+"end-page",PAGER_JUMP_PREV:iconPrefix+"arrow-double-left",PAGER_JUMP_NEXT:iconPrefix+"arrow-double-right",PAGER_PREV_PAGE:iconPrefix+"arrow-left",PAGER_NEXT_PAGE:iconPrefix+"arrow-right",PAGER_JUMP_MORE:iconPrefix+"ellipsis-h",INPUT_CLEAR:iconPrefix+"error-circle-fill",INPUT_PWD:iconPrefix+"eye-fill",INPUT_SHOW_PWD:iconPrefix+"eye-fill-close",INPUT_PREV_NUM:iconPrefix+"caret-up",INPUT_NEXT_NUM:iconPrefix+"caret-down",INPUT_DATE:iconPrefix+"calendar",INPUT_SEARCH:iconPrefix+"search",MODAL_ZOOM_IN:iconPrefix+"square",MODAL_ZOOM_OUT:iconPrefix+"maximize",MODAL_CLOSE:iconPrefix+"close",MODAL_INFO:iconPrefix+"info-circle-fill",MODAL_SUCCESS:iconPrefix+"success-circle-fill",MODAL_WARNING:iconPrefix+"warning-circle-fill",MODAL_ERROR:iconPrefix+"error-circle-fill",MODAL_QUESTION:iconPrefix+"question-circle-fill",MODAL_LOADING:iconPrefix+"spinner roll",FORM_PREFIX:iconPrefix+"question-circle-fill",FORM_SUFFIX:iconPrefix+"question-circle-fill",FORM_FOLDING:iconPrefix+"arrow-up rotate180",FORM_UNFOLDING:iconPrefix+"arrow-up",DESIGN_FORM_WIDGET_ADD:iconPrefix+"square-plus-fill",DESIGN_FORM_WIDGET_COPY:iconPrefix+"copy",DESIGN_FORM_WIDGET_DELETE:iconPrefix+"delete",DESIGN_FORM_WIDGET_OPTION_DELETE:iconPrefix+"delete",DESIGN_FORM_WIDGET_OPTION_EXPAND_OPEN:iconPrefix+"square-plus",DESIGN_FORM_WIDGET_OPTION_EXPAND_CLOSE:iconPrefix+"square-minus"});var _default=exports.default=_core.VxeUI;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vxe-pc-ui",
3
- "version": "1.7.2",
4
- "description": "一个基于 vue PC 端组件库",
3
+ "version": "1.7.3",
4
+ "description": "A vue based PC side component library",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
7
7
  "serve": "vue-cli-service serve",
@@ -11,7 +11,7 @@ export default defineComponent({
11
11
  props: {
12
12
  modelValue: String as PropType<VxeAnchorPropTypes.ModelValue>,
13
13
  options: Array as PropType<VxeAnchorPropTypes.Options>,
14
- container: [String, Object, Function] as PropType<VxeAnchorPropTypes.Options>,
14
+ container: [String, Object, Function] as PropType<VxeAnchorPropTypes.Container>,
15
15
  showMarker: {
16
16
  type: Boolean as PropType<VxeAnchorPropTypes.ShowMarker>,
17
17
  default: true
@@ -75,10 +75,10 @@ export default defineComponent({
75
75
  return container
76
76
  }
77
77
  if (XEUtils.isString(container)) {
78
- return document.querySelector(container)
78
+ return document.querySelector(container) as HTMLElement | null
79
79
  }
80
80
  if (XEUtils.isFunction(container)) {
81
- return container({ $xeAnchor })
81
+ return container({ $anchor: $xeAnchor })
82
82
  }
83
83
  }
84
84
  return null
@@ -17,7 +17,10 @@ export default defineComponent({
17
17
  type: String as PropType<VxeFormDesignPropTypes.Size>,
18
18
  default: () => getConfig().formDesign.size
19
19
  },
20
- height: [String, Number] as PropType<VxeFormDesignPropTypes.Height>,
20
+ height: {
21
+ type: [String, Number] as PropType<VxeFormDesignPropTypes.Height>,
22
+ default: () => getConfig().formDesign.height
23
+ },
21
24
  widgets: {
22
25
  type: Array as PropType<VxeFormDesignPropTypes.Widgets>,
23
26
  default: () => XEUtils.clone(getConfig().formDesign.widgets) || []
@@ -44,6 +44,7 @@ setConfig({
44
44
  titleAsterisk: true
45
45
  },
46
46
  formDesign: {
47
+ height: 400,
47
48
  formConfig: {
48
49
  vertical: true
49
50
  }
@@ -1,5 +1,5 @@
1
1
  import { RenderFunction, SetupContext, Ref, ComponentPublicInstance, DefineComponent } from 'vue'
2
- import { defineVxeComponent, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf } from '@vxe-ui/core'
2
+ import { defineVxeComponent, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentStatusType, ValueOf } from '@vxe-ui/core'
3
3
 
4
4
  /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
5
5