sh-view 2.9.18 → 2.9.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sh-view",
3
- "version": "2.9.18",
3
+ "version": "2.9.19",
4
4
  "description": "基于vxe-table二次封装,更包含Alert,Badge,Card,CodeEditor,Col,Corner,CountTo,Drawer,Empty,Form,Header,Icon,List,Loading,Modal,Noticebar,Poptip,Progress,PullRefresh,Query,Result,Row,Split,Grid,Table,Tabs,Tag,Toolbar,Tree,Upload,WaterFall,WaterMark等丰富组件库",
5
5
  "main": "packages/index.js",
6
6
  "typings": "types/index.d.ts",
@@ -118,7 +118,7 @@ export default function (props, context, proxy, isGrid) {
118
118
  const tableColumnObjConfig = computed(() => Object.assign({}, columnObjDefault, props.columnObj))
119
119
  const tableColumnConfig = computed(() => Object.assign({ isHover: true, resizable: true }, props.columnConfig))
120
120
  const tablePagerConfig = computed(() =>
121
- Object.assign({ enabled: Boolean(props.pagerConfig), total: 0, className: 'sh-table-footer', slots: { left: 'pagerLeft', right: 'pagerRight' } }, props.pagerConfig)
121
+ Object.assign({ enabled: Boolean(props.pagerConfig), total: 0, className: 'sh-table-footer', slots: { left: 'pagerLeft', right: 'pagerRight' } }, props.pagerConfig, tableVmConfig.value)
122
122
  )
123
123
  const tableCheckboxConfig = computed(() => {
124
124
  return Object.assign({ range: !hasTree.value }, props.checkboxConfig)
@@ -1,33 +1,4 @@
1
1
  /* 设置持续时间和动画函数 */
2
- .sh-pop-in-enter-active,
3
- .sh-pop-in-leave-active,
4
- .sh-pop-out-enter-active,
5
- .sh-pop-out-leave-active,{
6
- will-change: transform;
7
- transform-origin: center;
8
- transition: all 0.1s;
9
- backface-visibility: hidden;
10
- perspective: 1000px;
11
- width: 100%;
12
- height: 100%;
13
- position: absolute;
14
- }
15
- .sh-pop-in-enter-from, .sh-pop-out-leave-to {
16
- transform: translateX(50%);
17
- opacity: 0;
18
- }
19
- .sh-pop-in-enter-to {
20
- transform: translateX(0);
21
- opacity: 1;
22
- }
23
- .sh-pop-out-enter-from, .sh-pop-in-leave-to {
24
- transform: translateX(-50%);
25
- opacity: 0;
26
- }
27
- .sh-pop-out-enter-to {
28
- transform: translateX(0);
29
- opacity: 1;
30
- }
31
2
  $animation-time: .3s;
32
3
  $animation-time-quick: .15s;
33
4
  $transition-time: .2s;
@@ -257,6 +257,7 @@ const index = {
257
257
  Vue.config.globalProperties.$vModal = VXEUI.modal
258
258
  Vue.config.globalProperties.$vUi = VXEUI
259
259
  Vue.config.globalProperties.$vTable = VXETable
260
+ Vue.config.globalProperties.$vUiSetup = vuiOption
260
261
  Vue.config.globalProperties.$vTableSetup = vtableOption
261
262
  Vue.config.globalProperties.$vxePluginNames = publicRendersNames
262
263
  }