@ditari/bsui 1.1.46 → 1.1.48

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.
@@ -1,59 +1,59 @@
1
1
  {
2
- "hash": "ed01a902",
3
- "browserHash": "6c59cd66",
2
+ "hash": "c46bdbcf",
3
+ "browserHash": "9d27219d",
4
4
  "optimized": {
5
5
  "@ant-design/icons-vue": {
6
6
  "src": "../../../../../../node_modules/.pnpm/@ant-design+icons-vue@6.1.0_vue@3.3.4/node_modules/@ant-design/icons-vue/es/index.js",
7
7
  "file": "@ant-design_icons-vue.js",
8
- "fileHash": "9584c5c4",
8
+ "fileHash": "61eb9c06",
9
9
  "needsInterop": false
10
10
  },
11
11
  "@vueuse/core": {
12
12
  "src": "../../../../../../node_modules/.pnpm/@vueuse+core@9.13.0_@vue+composition-api@1.7.1_vue@3.3.4/node_modules/@vueuse/core/index.mjs",
13
13
  "file": "@vueuse_core.js",
14
- "fileHash": "1ff61211",
14
+ "fileHash": "6f4130e2",
15
15
  "needsInterop": false
16
16
  },
17
17
  "ant-design-vue": {
18
18
  "src": "../../../../../../node_modules/.pnpm/ant-design-vue@3.2.20_vue@3.3.4/node_modules/ant-design-vue/es/index.js",
19
19
  "file": "ant-design-vue.js",
20
- "fileHash": "e9e273ea",
20
+ "fileHash": "90c1611f",
21
21
  "needsInterop": false
22
22
  },
23
23
  "axios": {
24
24
  "src": "../../../../../../node_modules/.pnpm/axios@1.4.0/node_modules/axios/index.js",
25
25
  "file": "axios.js",
26
- "fileHash": "703a70b0",
26
+ "fileHash": "3a6e3809",
27
27
  "needsInterop": false
28
28
  },
29
29
  "pinia": {
30
30
  "src": "../../../../../../node_modules/.pnpm/pinia@2.1.4_@vue+composition-api@1.7.1_typescript@4.9.5_vue@3.3.4/node_modules/pinia/dist/pinia.mjs",
31
31
  "file": "pinia.js",
32
- "fileHash": "90342e48",
32
+ "fileHash": "b8db58c8",
33
33
  "needsInterop": false
34
34
  },
35
35
  "pinia-plugin-persistedstate": {
36
36
  "src": "../../../../../../node_modules/.pnpm/pinia-plugin-persistedstate@3.1.0_pinia@2.1.4/node_modules/pinia-plugin-persistedstate/dist/index.mjs",
37
37
  "file": "pinia-plugin-persistedstate.js",
38
- "fileHash": "4c0ed159",
38
+ "fileHash": "d4e86f72",
39
39
  "needsInterop": false
40
40
  },
41
41
  "vue": {
42
42
  "src": "../../../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js",
43
43
  "file": "vue.js",
44
- "fileHash": "a4178637",
44
+ "fileHash": "924d1697",
45
45
  "needsInterop": false
46
46
  },
47
47
  "vue-request": {
48
48
  "src": "../../../../../../node_modules/.pnpm/vue-request@2.0.0-rc.4_@vue+composition-api@1.7.1_vue@3.3.4/node_modules/vue-request/dist/index.es.js",
49
49
  "file": "vue-request.js",
50
- "fileHash": "b90ec3ba",
50
+ "fileHash": "23bce114",
51
51
  "needsInterop": false
52
52
  },
53
53
  "vue-router": {
54
54
  "src": "../../../../../../node_modules/.pnpm/vue-router@4.2.4_vue@3.3.4/node_modules/vue-router/dist/vue-router.mjs",
55
55
  "file": "vue-router.js",
56
- "fileHash": "1c61adf5",
56
+ "fileHash": "c6c2028d",
57
57
  "needsInterop": false
58
58
  }
59
59
  },
@@ -61,14 +61,14 @@
61
61
  "chunk-EKNPBJBG": {
62
62
  "file": "chunk-EKNPBJBG.js"
63
63
  },
64
- "chunk-D36HXFYL": {
65
- "file": "chunk-D36HXFYL.js"
64
+ "chunk-EBDM3ESC": {
65
+ "file": "chunk-EBDM3ESC.js"
66
66
  },
67
67
  "chunk-TDI2FIXO": {
68
68
  "file": "chunk-TDI2FIXO.js"
69
69
  },
70
- "chunk-EBDM3ESC": {
71
- "file": "chunk-EBDM3ESC.js"
70
+ "chunk-D36HXFYL": {
71
+ "file": "chunk-D36HXFYL.js"
72
72
  },
73
73
  "chunk-GK7Q6YQN": {
74
74
  "file": "chunk-GK7Q6YQN.js"
@@ -1,11 +1,11 @@
1
+ import {
2
+ setupDevtoolsPlugin
3
+ } from "./chunk-EBDM3ESC.js";
1
4
  import {
2
5
  del,
3
6
  isVue2,
4
7
  set
5
8
  } from "./chunk-D36HXFYL.js";
6
- import {
7
- setupDevtoolsPlugin
8
- } from "./chunk-EBDM3ESC.js";
9
9
  import {
10
10
  computed,
11
11
  effectScope,
@@ -286,6 +286,8 @@ export default {
286
286
  <template>
287
287
  <d-show-layout ref="showLayoutRef">
288
288
  <add-form ref="addFormRef" />
289
+ <div style="height: 3000px">fdsfdsf</div>
290
+ <div><a-button>dsfdsfsdf</a-button></div>
289
291
  <template #footer>
290
292
  <a-button @click="onSubmit">提交</a-button>
291
293
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ditari/bsui",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
package/src/index.ts CHANGED
@@ -5,7 +5,6 @@ import { createPersistedState } from "pinia-plugin-persistedstate";
5
5
  import * as components from "./components";
6
6
  export * from "./components";
7
7
 
8
-
9
8
  export interface MenuIcon {
10
9
  componentName: string | "nativeHtml";
11
10
  type: string;
@@ -94,31 +94,32 @@ defineExpose({
94
94
  });
95
95
  </script>
96
96
  <template>
97
+
97
98
  <div class="ditari-show-layout">
99
+ <a-page-header
100
+ v-if="showBack"
101
+ class="ditari-page-header"
102
+ :class="{ active: y > 0 }"
103
+ :ghost="false"
104
+ @back="onBack"
105
+ >
106
+ <template #backIcon>
107
+ <btn-render />
108
+ </template>
109
+ <template #title>{{ $route.meta.title }} </template>
110
+ <template #subTitle>
111
+ <slot name="subTitle"></slot>
112
+ </template>
113
+ <template #extra>
114
+ <slot name="extra"></slot>
115
+ </template>
116
+ </a-page-header>
98
117
  <a-spin
99
118
  tip="正在处理..."
100
119
  :spinning="showLoading"
101
120
  :delay="delayTime"
102
121
  size="large"
103
122
  >
104
- <a-page-header
105
- v-if="showBack"
106
- class="ditari-page-header"
107
- :class="{ active: y > 0 }"
108
- :ghost="false"
109
- @back="onBack"
110
- >
111
- <template #backIcon>
112
- <btn-render />
113
- </template>
114
- <template #title>{{ $route.meta.title }} </template>
115
- <template #subTitle>
116
- <slot name="subTitle"></slot>
117
- </template>
118
- <template #extra>
119
- <slot name="extra"></slot>
120
- </template>
121
- </a-page-header>
122
123
  <div class="ditari-show-content" :style="contentStyle">
123
124
  <slot></slot>
124
125
  </div>
@@ -19,6 +19,7 @@
19
19
  z-index: 210;
20
20
  }
21
21
  .ditari-layout-content {
22
+ min-height: auto;
22
23
  margin-left: 200px;
23
24
  margin-top: 84px;
24
25
  }
@@ -1,6 +1,9 @@
1
1
  @import "../../theme/variable.scss";
2
2
  .ditari-show-layout {
3
+ display: flex;
4
+ flex-direction: column;
3
5
  position: relative;
6
+ height: 100%;
4
7
  .ant-card {
5
8
  margin-bottom: 10px;
6
9
  .ant-card-head {
@@ -23,7 +26,16 @@
23
26
  box-shadow: 7px 12px 20px 0 $box-shadow-color;
24
27
  }
25
28
  }
29
+ .ant-spin-nested-loading {
30
+ flex: 1;
31
+ .ant-spin-container {
32
+ display: flex;
33
+ flex-direction: column;
34
+ height: 100%;
35
+ }
36
+ }
26
37
  .ditari-show-content {
38
+ flex: 1;
27
39
  }
28
40
  .ditari-show-footer {
29
41
  position: fixed;