@skyservice-developers/vue-dev-kit 1.3.2 → 1.3.4
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/dist/vue2/style.css +1 -1
- package/dist/vue2/vue-dev-kit.cjs +1 -1
- package/dist/vue2/vue-dev-kit.js +4 -4
- package/dist/vue3/style.css +1 -1
- package/dist/vue3/vue-dev-kit.cjs +1 -1
- package/dist/vue3/vue-dev-kit.js +414 -405
- package/package.json +1 -1
- package/src/vue2/components/DialogModal.vue +4 -1
- package/src/vue2/components/DialogNext.vue +4 -1
- package/src/vue2/components/Header.vue +4 -1
- package/src/vue2/components/Modal.vue +4 -1
- package/src/vue3/components/DialogModal.vue +4 -1
- package/src/vue3/components/DialogNext.vue +4 -1
- package/src/vue3/components/Header.vue +18 -3
- package/src/vue3/components/Modal.vue +4 -1
package/package.json
CHANGED
|
@@ -225,10 +225,13 @@ export default {
|
|
|
225
225
|
border-top: 1px solid var(--sky-modal-border-color, #dee2e6);
|
|
226
226
|
display: flex;
|
|
227
227
|
justify-content: flex-end;
|
|
228
|
-
gap: 10px;
|
|
229
228
|
flex-shrink: 0;
|
|
230
229
|
}
|
|
231
230
|
|
|
231
|
+
.sky-modal-footer > * + * {
|
|
232
|
+
margin-left: 10px;
|
|
233
|
+
}
|
|
234
|
+
|
|
232
235
|
/* Animations */
|
|
233
236
|
.modal-fade-enter-active,
|
|
234
237
|
.modal-fade-leave-active {
|
|
@@ -149,11 +149,23 @@ if (isInIframe() && props.trackPageName) {
|
|
|
149
149
|
})
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
// Set rocketMode in parent
|
|
152
|
+
// Set rocketMode in parent, remember previous value to restore on unmount
|
|
153
|
+
const previousRocketMode = ref(null)
|
|
154
|
+
|
|
153
155
|
if (isInIframe()) {
|
|
154
|
-
|
|
156
|
+
getParentLocalStorage('rocketMode').then((value) => {
|
|
157
|
+
previousRocketMode.value = value
|
|
158
|
+
sendToParent({ type: 'setRocketMode', value: true })
|
|
159
|
+
})
|
|
155
160
|
}
|
|
156
161
|
|
|
162
|
+
onUnmounted(() => {
|
|
163
|
+
if (isInIframe() && previousRocketMode.value !== null) {
|
|
164
|
+
const restore = previousRocketMode.value === 'true'
|
|
165
|
+
sendToParent({ type: 'setRocketMode', value: restore })
|
|
166
|
+
}
|
|
167
|
+
})
|
|
168
|
+
|
|
157
169
|
// Load translations from parent
|
|
158
170
|
if (isInIframe()) {
|
|
159
171
|
getParentWindowValue('lang').then((data) => {
|
|
@@ -281,7 +293,10 @@ const handleBack = () => {
|
|
|
281
293
|
.header-left {
|
|
282
294
|
display: flex;
|
|
283
295
|
align-items: center;
|
|
284
|
-
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.header-left > * + * {
|
|
299
|
+
margin-left: 12px;
|
|
285
300
|
}
|
|
286
301
|
|
|
287
302
|
.titleAndDesc {
|
|
@@ -226,10 +226,13 @@ onUnmounted(() => {
|
|
|
226
226
|
border-top: 1px solid var(--sky-modal-border-color, #dee2e6);
|
|
227
227
|
display: flex;
|
|
228
228
|
justify-content: flex-end;
|
|
229
|
-
gap: 10px;
|
|
230
229
|
flex-shrink: 0;
|
|
231
230
|
}
|
|
232
231
|
|
|
232
|
+
.sky-modal-footer > * + * {
|
|
233
|
+
margin-left: 10px;
|
|
234
|
+
}
|
|
235
|
+
|
|
233
236
|
/* Animations */
|
|
234
237
|
.modal-fade-enter-active,
|
|
235
238
|
.modal-fade-leave-active {
|