@monoui/vuejs 1.1.44 → 1.1.45

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": "@monoui/vuejs",
3
- "version": "1.1.44",
3
+ "version": "1.1.45",
4
4
  "description": "This project will contain MonoFor UI Framework",
5
5
  "main": "./dist/main.js",
6
6
  "repository": "git@gitlab.com:monoui/vuejs.git",
@@ -8,8 +8,8 @@
8
8
  @hidden="hidden()"
9
9
  :hide-footer="hideFooter"
10
10
  :dialog-class="isFullScreen ? 'modal-dialog-fullScreen' : ''"
11
- :content-class="isFullScreen ? 'modal-content-fullScreen' : ''"
12
- :body-class="isFullScreen ? 'modal-body-fullScreen' : ''"
11
+ :content-class="computedContentClass"
12
+ :body-class="computedBodyClass"
13
13
  :header-class="isFullScreen ? 'modal-header-fullScreen' : ''"
14
14
  >
15
15
  <mui-loader :loading="loading" />
@@ -93,6 +93,16 @@ export default {
93
93
  get() {
94
94
  return this.loading ? "" : this.title;
95
95
  }
96
+ },
97
+ computedBodyClass() {
98
+ return this.isFullScreen
99
+ ? `${this.bodyClass} modal-body-fullScreen`
100
+ : this.bodyClass;
101
+ },
102
+ computedContentClass() {
103
+ return this.isFullScreen
104
+ ? `${this.contentClass} modal-content-fullScreen`
105
+ : this.contentClass;
96
106
  }
97
107
  },
98
108
  props: {
@@ -148,6 +158,14 @@ export default {
148
158
  enableFullScreen: {
149
159
  type: Boolean,
150
160
  default: false
161
+ },
162
+ bodyClass: {
163
+ type: String,
164
+ default: ""
165
+ },
166
+ contentClass: {
167
+ type: String,
168
+ default: ""
151
169
  }
152
170
  },
153
171
  methods: {