glib-web 2.6.3 → 2.6.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/LICENSE +0 -0
- package/actions/auth/restart.js +0 -0
- package/actions/dialogs/oauth.js +0 -0
- package/actions/dialogs/options.js +0 -0
- package/components/_message.vue +0 -0
- package/components/datetime.vue +0 -0
- package/components/fab.vue +0 -0
- package/components/fields/country/countries.js +0 -0
- package/components/fields/country/field.vue +0 -0
- package/components/fields/country/regions.js +0 -0
- package/components/fields/datetime.vue +0 -0
- package/components/fields/dynamicSelect.vue +0 -0
- package/components/fields/timeZone.vue +0 -0
- package/components/hr.vue +0 -0
- package/components/html.vue +0 -0
- package/components/image.vue +0 -8
- package/components/mixins/longClick.js +0 -0
- package/components/mixins/scrolling.js +0 -0
- package/components/mixins/table/export.js +0 -0
- package/components/mixins/table/import.js +0 -0
- package/components/p.vue +0 -0
- package/components/panels/custom.vue +1 -0
- package/components/panels/horizontal.vue +2 -1
- package/components/panels/list.vue +1 -31
- package/components/panels/responsive.vue +1 -0
- package/keys.js +0 -0
- package/nav/drawerButton.vue +0 -0
- package/package.json +1 -1
- package/settings.json.example +0 -0
- package/styles/test.sass +0 -0
- package/styles/test.scss +0 -0
- package/templates/unsupported.vue +0 -0
- package/utils/dom.js +0 -0
- package/utils/settings.js +0 -0
- package/utils/storage.js +0 -0
- package/utils/url.js +0 -0
package/LICENSE
CHANGED
|
File without changes
|
package/actions/auth/restart.js
CHANGED
|
File without changes
|
package/actions/dialogs/oauth.js
CHANGED
|
File without changes
|
|
File without changes
|
package/components/_message.vue
CHANGED
|
File without changes
|
package/components/datetime.vue
CHANGED
|
File without changes
|
package/components/fab.vue
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/components/hr.vue
CHANGED
|
File without changes
|
package/components/html.vue
CHANGED
|
File without changes
|
package/components/image.vue
CHANGED
|
@@ -57,23 +57,15 @@ export default {
|
|
|
57
57
|
let width, height;
|
|
58
58
|
const aspectRatio = image.naturalWidth / image.naturalHeight;
|
|
59
59
|
|
|
60
|
-
console.log("FIT1");
|
|
61
|
-
|
|
62
60
|
if (this.spec.width == "matchParent") {
|
|
63
|
-
console.log("FIT2");
|
|
64
|
-
|
|
65
61
|
width = "100%";
|
|
66
62
|
// This breaks the image height when displayed in a badge.
|
|
67
63
|
// height = `${100 / aspectRatio}%`;
|
|
68
64
|
} else {
|
|
69
65
|
if (this.spec.width) {
|
|
70
|
-
console.log("FIT3");
|
|
71
|
-
|
|
72
66
|
width = `${this.spec.width}px`;
|
|
73
67
|
height = `${this.spec.width / aspectRatio}px`;
|
|
74
68
|
} else if (this.spec.height) {
|
|
75
|
-
console.log("FIT4", this.spec.height);
|
|
76
|
-
|
|
77
69
|
width = `${this.spec.height * aspectRatio}px`;
|
|
78
70
|
height = `${this.spec.height}px`;
|
|
79
71
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/components/p.vue
CHANGED
|
File without changes
|
|
@@ -58,6 +58,7 @@ export default {
|
|
|
58
58
|
$ready() {
|
|
59
59
|
const onClick = this.spec.onClick ? { onClick: this.spec.onClick } : {};
|
|
60
60
|
this.customData = Object.assign(onClick, this.spec.data);
|
|
61
|
+
// Fix an issue where the panel doesn't get updated
|
|
61
62
|
if (this.$refs.ccomp) {
|
|
62
63
|
this.$refs.ccomp.$forceUpdate();
|
|
63
64
|
}
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
>
|
|
30
30
|
<!-- Using `item.id` as key is important to make sure the item gets updated
|
|
31
31
|
when dragging ends. -->
|
|
32
|
-
<!--
|
|
32
|
+
<!-- Use `display: contents` so this div doesn't intefere with the child's sizing behaviour. -->
|
|
33
33
|
<div
|
|
34
34
|
v-for="(item, index) in childViews"
|
|
35
35
|
:key="item.id || index"
|
|
36
|
+
style="display: contents;"
|
|
36
37
|
:data-dragItemId="item.id"
|
|
37
38
|
>
|
|
38
39
|
<glib-component :spec="item" />
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-list
|
|
3
|
-
:two-line="twoLine"
|
|
4
|
-
:three-line="threeLine"
|
|
5
|
-
class="py-0"
|
|
6
|
-
:class="$classes()"
|
|
7
|
-
:style="$styles()"
|
|
8
|
-
>
|
|
2
|
+
<v-list class="py-0" :class="$classes()" :style="$styles()">
|
|
9
3
|
<div ref="topAnchor">
|
|
10
4
|
<div v-if="prevPageUrl" class="py-3 px-4">
|
|
11
5
|
Loading...
|
|
@@ -88,30 +82,6 @@ export default {
|
|
|
88
82
|
dragSupport: null
|
|
89
83
|
};
|
|
90
84
|
},
|
|
91
|
-
computed: {
|
|
92
|
-
twoLine() {
|
|
93
|
-
for (const section of this.sections) {
|
|
94
|
-
const rows = section.rows || [];
|
|
95
|
-
for (const row of rows) {
|
|
96
|
-
if (row.subtitle) {
|
|
97
|
-
return true;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return false;
|
|
102
|
-
},
|
|
103
|
-
threeLine() {
|
|
104
|
-
for (const section of this.sections) {
|
|
105
|
-
const rows = section.rows || [];
|
|
106
|
-
for (const row of rows) {
|
|
107
|
-
if (row.subsubtitle) {
|
|
108
|
-
return true;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return false;
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
85
|
methods: {
|
|
116
86
|
$ready() {
|
|
117
87
|
this.sections = this.spec.sections || [];
|
package/keys.js
CHANGED
|
File without changes
|
package/nav/drawerButton.vue
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/settings.json.example
CHANGED
|
File without changes
|
package/styles/test.sass
CHANGED
|
File without changes
|
package/styles/test.scss
CHANGED
|
File without changes
|
|
File without changes
|
package/utils/dom.js
CHANGED
|
File without changes
|
package/utils/settings.js
CHANGED
|
File without changes
|
package/utils/storage.js
CHANGED
|
File without changes
|
package/utils/url.js
CHANGED
|
File without changes
|