glib-web 3.19.2 → 3.19.3
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 +2 -2
- package/utils/launch.js +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "glib-web",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"vue-chartkick": "^1.1.0",
|
|
35
35
|
"vue-social-sharing": "^4.0.0-alpha4",
|
|
36
36
|
"vuedraggable": "^4.1.0",
|
|
37
|
-
"vuetify": "^3.
|
|
37
|
+
"vuetify": "^3.5.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/chart.js": "^2.9.34",
|
package/utils/launch.js
CHANGED
|
@@ -174,6 +174,8 @@ class LaunchDialog {
|
|
|
174
174
|
|
|
175
175
|
class LaunchSheet {
|
|
176
176
|
static open(properties, component) {
|
|
177
|
+
console.log("Launching sheet...", properties)
|
|
178
|
+
|
|
177
179
|
const instance = createApp(
|
|
178
180
|
{
|
|
179
181
|
render: function () {
|
|
@@ -183,10 +185,17 @@ class LaunchSheet {
|
|
|
183
185
|
);
|
|
184
186
|
Object.assign(instance._context, Vue._context);
|
|
185
187
|
|
|
188
|
+
console.log("Instantiating sheet", instance._context, Vue._context)
|
|
189
|
+
|
|
186
190
|
if (component) {
|
|
187
191
|
const placeholder = document.createElement('div');
|
|
188
192
|
document.body.appendChild(placeholder);
|
|
193
|
+
|
|
194
|
+
console.log("Showing sheet", document.body)
|
|
195
|
+
|
|
189
196
|
instance.mount(placeholder);
|
|
197
|
+
|
|
198
|
+
console.log("Sheet shown")
|
|
190
199
|
} else {
|
|
191
200
|
console.error("A sheet has to be displayed in a component");
|
|
192
201
|
}
|