@avakhula/ui 0.0.56 → 0.0.59
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/index.js +328 -340
- package/dist/index.umd.cjs +33 -33
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +18 -79
- package/src/components/Form/Textarea/Textarea.vue +1 -10
- package/src/components/Sorting/Sorting.vue +3 -8
- package/src/components/TreeSelect/Option.vue +0 -1
- package/src/components/TreeSelect/Select.vue +1 -1
- package/src/main.js +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,90 +1,29 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
:show-clear-button="false"
|
|
7
|
-
v-model:model-value="value"
|
|
8
|
-
>
|
|
9
|
-
</ib-select>
|
|
10
|
-
|
|
11
|
-
<button @click="() => value = null">test</button>
|
|
12
|
-
</template>
|
|
2
|
+
<div style="padding-top: 200px;">
|
|
3
|
+
<ib-text-editor character-limit="10" placeholder="test" @change="onChange" @blur="onBlur" />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
13
6
|
|
|
14
7
|
<script>
|
|
15
|
-
import
|
|
8
|
+
import IbTextEditor from "./components/Form/TextEditor/TextEditor.vue";
|
|
16
9
|
|
|
17
10
|
export default {
|
|
18
|
-
data() {
|
|
19
|
-
return {
|
|
20
|
-
value: 1,
|
|
21
|
-
value1: "123",
|
|
22
|
-
connections: [
|
|
23
|
-
{
|
|
24
|
-
id: 5,
|
|
25
|
-
title: "Blackboard Demo",
|
|
26
|
-
lms_connection_type: 3,
|
|
27
|
-
initiallyVisible: true,
|
|
28
|
-
visible: true,
|
|
29
|
-
isDisabled: false,
|
|
30
|
-
checked: false,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: 3,
|
|
34
|
-
title: "Ilias",
|
|
35
|
-
lms_connection_type: 16,
|
|
36
|
-
initiallyVisible: true,
|
|
37
|
-
visible: true,
|
|
38
|
-
isDisabled: false,
|
|
39
|
-
checked: true,
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: 9,
|
|
43
|
-
title: "Ilias Don't Delete Pol",
|
|
44
|
-
lms_connection_type: 16,
|
|
45
|
-
initiallyVisible: true,
|
|
46
|
-
visible: true,
|
|
47
|
-
isDisabled: false,
|
|
48
|
-
checked: false,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
id: 10,
|
|
52
|
-
title: "Sakai Demo",
|
|
53
|
-
lms_connection_type: 18,
|
|
54
|
-
initiallyVisible: true,
|
|
55
|
-
visible: true,
|
|
56
|
-
isDisabled: false,
|
|
57
|
-
checked: false,
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
roles: [
|
|
61
|
-
{
|
|
62
|
-
id: 1,
|
|
63
|
-
title: "test role",
|
|
64
|
-
initiallyVisible: true,
|
|
65
|
-
visible: true,
|
|
66
|
-
isDisabled: false,
|
|
67
|
-
checked: false,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
id: 2,
|
|
71
|
-
title: "testset",
|
|
72
|
-
initiallyVisible: true,
|
|
73
|
-
visible: true,
|
|
74
|
-
isDisabled: false,
|
|
75
|
-
checked: false,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
11
|
components: {
|
|
81
|
-
|
|
12
|
+
IbTextEditor,
|
|
82
13
|
},
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
console.log(
|
|
14
|
+
methods: {
|
|
15
|
+
onChange(delta, oldValue, source) {
|
|
16
|
+
console.log(delta, oldValue, source);
|
|
17
|
+
},
|
|
18
|
+
onBlur(val, test) {
|
|
19
|
+
console.log(val, test);
|
|
86
20
|
},
|
|
87
21
|
},
|
|
88
22
|
};
|
|
89
23
|
</script>
|
|
90
|
-
|
|
24
|
+
<style lang="scss">
|
|
25
|
+
@import "./assets/scss/style.scss";
|
|
26
|
+
body {
|
|
27
|
+
background-color: rgba(128, 128, 128, 0.079);
|
|
28
|
+
}
|
|
29
|
+
</style>
|
|
@@ -31,9 +31,6 @@ import IbCharacterCount from "../CharactersCount.vue";
|
|
|
31
31
|
export default {
|
|
32
32
|
name: "IbTextarea",
|
|
33
33
|
props: {
|
|
34
|
-
modelValue: {
|
|
35
|
-
type: String,
|
|
36
|
-
},
|
|
37
34
|
disabled: {
|
|
38
35
|
type: Boolean,
|
|
39
36
|
default: false,
|
|
@@ -61,15 +58,9 @@ export default {
|
|
|
61
58
|
default: "",
|
|
62
59
|
},
|
|
63
60
|
},
|
|
64
|
-
watch: {
|
|
65
|
-
val(val) {
|
|
66
|
-
console.log('test')
|
|
67
|
-
this.$emit("update:modelValue", val);
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
61
|
data() {
|
|
71
62
|
return {
|
|
72
|
-
val:
|
|
63
|
+
val: "",
|
|
73
64
|
};
|
|
74
65
|
},
|
|
75
66
|
methods: {
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
<ib-tooltip v-if="tooltipTextSorting" :text="tooltipTextSorting">
|
|
14
14
|
</ib-tooltip>
|
|
15
15
|
</button>
|
|
16
|
+
|
|
16
17
|
<ib-icon-button kind="white" size="s" @click="clickHandler">
|
|
17
18
|
<ion-icon :name="iconType"></ion-icon>
|
|
18
19
|
<ib-tooltip v-if="tooltipIconSorting" :text="tooltipIconSorting">
|
|
@@ -32,13 +33,7 @@
|
|
|
32
33
|
}"
|
|
33
34
|
>
|
|
34
35
|
{{ title }}
|
|
35
|
-
<ib-icon
|
|
36
|
-
v-if="iconType"
|
|
37
|
-
:name="iconType"
|
|
38
|
-
:style="{
|
|
39
|
-
fontSize: iconSize + 'px',
|
|
40
|
-
}"
|
|
41
|
-
></ib-icon>
|
|
36
|
+
<ib-icon v-if="iconType" :name="iconType"></ib-icon>
|
|
42
37
|
<ib-tooltip v-if="tooltipTextSorting" :text="tooltipTextSorting">
|
|
43
38
|
</ib-tooltip>
|
|
44
39
|
</button>
|
|
@@ -101,7 +96,7 @@ export default {
|
|
|
101
96
|
this.currentTypeSort = null;
|
|
102
97
|
},
|
|
103
98
|
updateTypeSorting() {
|
|
104
|
-
this.$emit("update-sorting", this.
|
|
99
|
+
this.$emit("update-sorting", this.currentTypeSort);
|
|
105
100
|
},
|
|
106
101
|
},
|
|
107
102
|
computed: {
|
package/src/main.js
CHANGED