@avakhula/ui 0.0.344 → 0.0.345
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 +15 -5
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +6 -6
- package/src/components/Pagination/LimitSelector.vue +4 -0
- package/src/components/Pagination/Pagination.vue +4 -0
- package/src/components/TreeSelect/Select.vue +4 -3
- package/src/components/TreeSelect/scss/option.scss +4 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -20,9 +20,9 @@ const testData1 = [
|
|
|
20
20
|
is_category: true,
|
|
21
21
|
initiallyVisible: true,
|
|
22
22
|
visible: true,
|
|
23
|
-
isDisabled:
|
|
24
|
-
checked:
|
|
25
|
-
isChildrenVisible:
|
|
23
|
+
isDisabled: true,
|
|
24
|
+
checked: false,
|
|
25
|
+
isChildrenVisible: false,
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
id: "2",
|
|
@@ -30,7 +30,7 @@ const testData1 = [
|
|
|
30
30
|
is_category: true,
|
|
31
31
|
initiallyVisible: true,
|
|
32
32
|
visible: true,
|
|
33
|
-
isDisabled:
|
|
33
|
+
isDisabled: true,
|
|
34
34
|
checked: false,
|
|
35
35
|
isChildrenVisible: true,
|
|
36
36
|
},
|
|
@@ -60,7 +60,7 @@ const testData1 = [
|
|
|
60
60
|
is_category: true,
|
|
61
61
|
initiallyVisible: true,
|
|
62
62
|
visible: true,
|
|
63
|
-
isDisabled:
|
|
63
|
+
isDisabled: true,
|
|
64
64
|
checked: false,
|
|
65
65
|
isChildrenVisible: true,
|
|
66
66
|
},
|
|
@@ -123,7 +123,7 @@ const testData1 = [
|
|
|
123
123
|
is_category: true,
|
|
124
124
|
initiallyVisible: true,
|
|
125
125
|
visible: true,
|
|
126
|
-
isDisabled:
|
|
126
|
+
isDisabled: true,
|
|
127
127
|
checked: false,
|
|
128
128
|
isChildrenVisible: true,
|
|
129
129
|
},
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<ib-select
|
|
5
5
|
classList="report-limit-selector-select"
|
|
6
6
|
:value="value"
|
|
7
|
+
:vertical="vertical"
|
|
7
8
|
:options="prepareOptions"
|
|
8
9
|
:is-multiple="false"
|
|
9
10
|
:show-clear-button="false"
|
|
@@ -25,6 +26,9 @@ export default {
|
|
|
25
26
|
value: {
|
|
26
27
|
type: Number,
|
|
27
28
|
},
|
|
29
|
+
vertical: {
|
|
30
|
+
type: String
|
|
31
|
+
},
|
|
28
32
|
options: {
|
|
29
33
|
type: Array,
|
|
30
34
|
default: () => [10, 25, 50, 100],
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<ib-limit-selector
|
|
4
4
|
@select="changeLimit"
|
|
5
5
|
:value="limitValue"
|
|
6
|
+
:vertical="vertical"
|
|
6
7
|
:label-select="labelSelect"
|
|
7
8
|
></ib-limit-selector>
|
|
8
9
|
|
|
@@ -104,6 +105,9 @@ export default {
|
|
|
104
105
|
type: Boolean,
|
|
105
106
|
default: true,
|
|
106
107
|
},
|
|
108
|
+
vertical: {
|
|
109
|
+
type: String
|
|
110
|
+
}
|
|
107
111
|
},
|
|
108
112
|
data() {
|
|
109
113
|
return {
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
:disabled="isLoading || disable"
|
|
14
14
|
:is-resizable="isResizable"
|
|
15
15
|
:vertical="verticalVal"
|
|
16
|
-
:class="
|
|
16
|
+
:class="{
|
|
17
|
+
disable: disable
|
|
18
|
+
}"
|
|
17
19
|
ref="dropdown"
|
|
18
20
|
@close="onClose"
|
|
19
21
|
@open="onOpen"
|
|
@@ -424,7 +426,7 @@ export default {
|
|
|
424
426
|
},
|
|
425
427
|
disable: {
|
|
426
428
|
type: Boolean,
|
|
427
|
-
default:
|
|
429
|
+
default: false
|
|
428
430
|
}
|
|
429
431
|
},
|
|
430
432
|
emits: [
|
|
@@ -742,7 +744,6 @@ export default {
|
|
|
742
744
|
typeof option.visible === "undefined" ? true : option.visible;
|
|
743
745
|
option.visible = option.initiallyVisible;
|
|
744
746
|
option.readonly = option.readonly ? true : false;
|
|
745
|
-
option.isDisabled = false;
|
|
746
747
|
|
|
747
748
|
option.checked = this.isMultiple
|
|
748
749
|
? this.val !== null &&
|