glib-web 2.6.9 → 2.6.10
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/_chip.vue +15 -2
- package/components/_message.vue +0 -0
- package/components/datetime.vue +0 -0
- package/components/fab.vue +0 -0
- package/components/fields/check.vue +26 -18
- 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/submit.vue +5 -2
- package/components/fields/timeZone.vue +0 -0
- package/components/hr.vue +0 -0
- package/components/html.vue +0 -0
- 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/keys.js +0 -0
- package/nav/dialog.vue +2 -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/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/_chip.vue
CHANGED
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
@click="$onClick()"
|
|
12
12
|
v-on="on"
|
|
13
13
|
>
|
|
14
|
-
|
|
14
|
+
<div v-if="spec.icon" class="icon-wrapper">
|
|
15
|
+
<common-icon :spec="spec.icon" />
|
|
16
|
+
</div>
|
|
17
|
+
<div>{{ spec.text }}</div>
|
|
15
18
|
</v-chip>
|
|
16
19
|
<v-chip
|
|
17
20
|
v-else
|
|
@@ -20,7 +23,13 @@
|
|
|
20
23
|
:small="$classes().includes('small')"
|
|
21
24
|
v-on="on"
|
|
22
25
|
>
|
|
23
|
-
|
|
26
|
+
<!-- <span v-if="spec.icon" class="icon-wrapper"
|
|
27
|
+
><common-icon :spec="spec.icon"
|
|
28
|
+
/></span> -->
|
|
29
|
+
<div v-if="spec.icon" class="icon-wrapper">
|
|
30
|
+
<common-icon :spec="spec.icon" />
|
|
31
|
+
</div>
|
|
32
|
+
<div>{{ spec.text }}</div>
|
|
24
33
|
</v-chip>
|
|
25
34
|
</common-badge>
|
|
26
35
|
</template>
|
|
@@ -53,4 +62,8 @@ export default {
|
|
|
53
62
|
.v-chip:not(.v-chip--clickable).theme--light:hover:before {
|
|
54
63
|
opacity: 0;
|
|
55
64
|
}
|
|
65
|
+
.icon-wrapper {
|
|
66
|
+
display: flex;
|
|
67
|
+
padding-right: 2px;
|
|
68
|
+
}
|
|
56
69
|
</style>
|
package/components/_message.vue
CHANGED
|
File without changes
|
package/components/datetime.vue
CHANGED
|
File without changes
|
package/components/fab.vue
CHANGED
|
File without changes
|
|
@@ -30,6 +30,31 @@ export default {
|
|
|
30
30
|
},
|
|
31
31
|
methods: {
|
|
32
32
|
$ready() {
|
|
33
|
+
this.updateData()
|
|
34
|
+
},
|
|
35
|
+
changed(event) {
|
|
36
|
+
// Execute later to ensure the checkbox's checked state has been updated.
|
|
37
|
+
setTimeout(() => {
|
|
38
|
+
this.$type.ifObject(this.groupElement, val =>
|
|
39
|
+
val.dispatchEvent(new Event("change"))
|
|
40
|
+
);
|
|
41
|
+
}, 100);
|
|
42
|
+
|
|
43
|
+
// setTimeout(() => {
|
|
44
|
+
this.$executeOnChange();
|
|
45
|
+
// }, 500);
|
|
46
|
+
},
|
|
47
|
+
$internalizeValue(val) {
|
|
48
|
+
if (val == this.spec.checkValue) {
|
|
49
|
+
return val;
|
|
50
|
+
}
|
|
51
|
+
return this.spec.uncheckValue;
|
|
52
|
+
},
|
|
53
|
+
action_merge(mergedSpec) {
|
|
54
|
+
Object.assign(this.spec, mergedSpec);
|
|
55
|
+
this.updateData()
|
|
56
|
+
},
|
|
57
|
+
updateData() {
|
|
33
58
|
this.groupElement = this.$el.closest("[data-component=checkGroup]");
|
|
34
59
|
|
|
35
60
|
let groupName = null;
|
|
@@ -49,24 +74,7 @@ export default {
|
|
|
49
74
|
this.fieldType = "switch";
|
|
50
75
|
}
|
|
51
76
|
});
|
|
52
|
-
|
|
53
|
-
changed(event) {
|
|
54
|
-
// Execute later to ensure the checkbox's checked state has been updated.
|
|
55
|
-
setTimeout(() => {
|
|
56
|
-
this.$type.ifObject(this.groupElement, val =>
|
|
57
|
-
val.dispatchEvent(new Event("change"))
|
|
58
|
-
);
|
|
59
|
-
}, 100);
|
|
60
|
-
|
|
61
|
-
// setTimeout(() => {
|
|
62
|
-
this.$executeOnChange();
|
|
63
|
-
// }, 500);
|
|
64
|
-
},
|
|
65
|
-
$internalizeValue(val) {
|
|
66
|
-
if (val == this.spec.checkValue) {
|
|
67
|
-
return val;
|
|
68
|
-
}
|
|
69
|
-
return this.spec.uncheckValue;
|
|
77
|
+
// this.fieldModel = this.spec.value;
|
|
70
78
|
}
|
|
71
79
|
}
|
|
72
80
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<common-button :spec="spec" type="submit" :disabled="$isBusy" />
|
|
2
|
+
<common-button :spec="spec" type="submit" :disabled="spec.disabled || $isBusy" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script>
|
|
@@ -15,7 +15,10 @@ export default {
|
|
|
15
15
|
methods: {
|
|
16
16
|
$ready() {
|
|
17
17
|
this.$dispatchEvent("forms/addSubmit", this.$data);
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
action_merge(mergedSpec) {
|
|
20
|
+
Object.assign(this.spec, mergedSpec);
|
|
21
|
+
},
|
|
19
22
|
}
|
|
20
23
|
};
|
|
21
24
|
</script>
|
|
File without changes
|
package/components/hr.vue
CHANGED
|
File without changes
|
package/components/html.vue
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/components/p.vue
CHANGED
|
File without changes
|
package/keys.js
CHANGED
|
File without changes
|
package/nav/dialog.vue
CHANGED
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/storage.js
CHANGED
|
File without changes
|
package/utils/url.js
CHANGED
|
File without changes
|