@dataloop-ai/components 0.13.12 → 0.13.14
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
|
@@ -112,19 +112,23 @@ export default defineComponent({
|
|
|
112
112
|
(this.$el as HTMLElement).blur()
|
|
113
113
|
}
|
|
114
114
|
this.show = false
|
|
115
|
-
this.$emit('hide')
|
|
116
115
|
this.$emit('update:modelValue', false)
|
|
117
116
|
if (!this.hasParent) {
|
|
118
117
|
document.documentElement.style.overflow = 'auto'
|
|
119
118
|
}
|
|
119
|
+
this.$nextTick(() => {
|
|
120
|
+
this.$emit('hide')
|
|
121
|
+
})
|
|
120
122
|
},
|
|
121
123
|
openModal() {
|
|
122
124
|
this.show = true
|
|
123
|
-
this.$emit('show')
|
|
124
125
|
this.$emit('update:modelValue', true)
|
|
125
126
|
if (!this.hasParent) {
|
|
126
127
|
document.documentElement.style.overflow = 'hidden'
|
|
127
128
|
}
|
|
129
|
+
this.$nextTick(() => {
|
|
130
|
+
this.$emit('show')
|
|
131
|
+
})
|
|
128
132
|
}
|
|
129
133
|
}
|
|
130
134
|
})
|
|
@@ -170,9 +174,8 @@ export default defineComponent({
|
|
|
170
174
|
|
|
171
175
|
&--fullscreen {
|
|
172
176
|
margin: 0;
|
|
173
|
-
width: 100vw;
|
|
174
|
-
height: 100vh;
|
|
175
|
-
max-width: 100vw !important;
|
|
177
|
+
width: 100vw !important;
|
|
178
|
+
height: 100vh !important;
|
|
176
179
|
border-radius: 0px;
|
|
177
180
|
}
|
|
178
181
|
&--right {
|
|
@@ -194,9 +197,10 @@ export default defineComponent({
|
|
|
194
197
|
.content {
|
|
195
198
|
padding: 10px 16px 30px 16px;
|
|
196
199
|
overflow: auto;
|
|
200
|
+
height: 100%;
|
|
197
201
|
|
|
198
202
|
&--fullscreen {
|
|
199
|
-
flex-grow: 1;
|
|
203
|
+
flex-grow: 1 !important;
|
|
200
204
|
}
|
|
201
205
|
}
|
|
202
206
|
|