@avakhula/ui 0.0.342 → 0.0.344
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 +180 -170
- package/dist/index.umd.cjs +30 -30
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +0 -31
- package/src/components/Form/Input/Input.vue +4 -0
- package/src/components/TreeSelect/Select.vue +7 -1
- package/src/components/TreeSelect/scss/select.scss +8 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -6,37 +6,6 @@
|
|
|
6
6
|
</ib-select>
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
<ib-checkbox-group
|
|
10
|
-
label-text="label"
|
|
11
|
-
info-text="info"
|
|
12
|
-
required
|
|
13
|
-
>
|
|
14
|
-
<ib-radio
|
|
15
|
-
:value="'1'"
|
|
16
|
-
name="connection_id"
|
|
17
|
-
dusk="active-radio-button"
|
|
18
|
-
label="text 1"
|
|
19
|
-
id="1"
|
|
20
|
-
v-model="checked"
|
|
21
|
-
/>
|
|
22
|
-
<ib-radio
|
|
23
|
-
:value="'2'"
|
|
24
|
-
name="connection_id"
|
|
25
|
-
dusk="active-radio-button"
|
|
26
|
-
label="text 2"
|
|
27
|
-
id="2"
|
|
28
|
-
v-model="checked"
|
|
29
|
-
/>
|
|
30
|
-
<ib-radio
|
|
31
|
-
:value="'3'"
|
|
32
|
-
name="connection_id"
|
|
33
|
-
dusk="active-radio-button"
|
|
34
|
-
label="text 3"
|
|
35
|
-
id="3"
|
|
36
|
-
v-model="checked"
|
|
37
|
-
/>
|
|
38
|
-
</ib-checkbox-group>
|
|
39
|
-
|
|
40
9
|
</template>
|
|
41
10
|
|
|
42
11
|
<script>
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
:readonly="readonly"
|
|
14
14
|
:disabled="disabled"
|
|
15
15
|
:id="id"
|
|
16
|
+
:autocomplete="autocomplete"
|
|
16
17
|
:class="classes"
|
|
17
18
|
@input="onInput($event)"
|
|
18
19
|
@blur="onBlur($event)"
|
|
@@ -164,6 +165,9 @@ export default {
|
|
|
164
165
|
type: Boolean,
|
|
165
166
|
default: false,
|
|
166
167
|
},
|
|
168
|
+
autocomplete: {
|
|
169
|
+
type: String
|
|
170
|
+
}
|
|
167
171
|
},
|
|
168
172
|
data() {
|
|
169
173
|
return {
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
12
|
<ib-dropdown
|
|
13
|
-
:disabled="isLoading"
|
|
13
|
+
:disabled="isLoading || disable"
|
|
14
14
|
:is-resizable="isResizable"
|
|
15
15
|
:vertical="verticalVal"
|
|
16
|
+
:class="disable ? 'disable' : ''"
|
|
16
17
|
ref="dropdown"
|
|
17
18
|
@close="onClose"
|
|
18
19
|
@open="onOpen"
|
|
@@ -122,6 +123,7 @@
|
|
|
122
123
|
v-if="showSearch"
|
|
123
124
|
ref="search"
|
|
124
125
|
:show-icon="true"
|
|
126
|
+
autocomplete="off"
|
|
125
127
|
:value="filterString"
|
|
126
128
|
:aria-label="
|
|
127
129
|
searchPlaceholderText
|
|
@@ -420,6 +422,10 @@ export default {
|
|
|
420
422
|
type: Boolean,
|
|
421
423
|
default: false,
|
|
422
424
|
},
|
|
425
|
+
disable: {
|
|
426
|
+
type: Boolean,
|
|
427
|
+
default: true
|
|
428
|
+
}
|
|
423
429
|
},
|
|
424
430
|
emits: [
|
|
425
431
|
"close",
|
|
@@ -20,6 +20,14 @@ $choice-opened-icon-color: $blue-900;
|
|
|
20
20
|
$choice-border-error-color: $red-800;
|
|
21
21
|
$tree-search-border-color: $gray-600;
|
|
22
22
|
|
|
23
|
+
.disable {
|
|
24
|
+
.tree-choice {
|
|
25
|
+
background-color: $gray-100 !important;
|
|
26
|
+
color: $neutral-500 !important;
|
|
27
|
+
border-bottom: 1px solid $neutral-500 !important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
23
31
|
.tree-select-error {
|
|
24
32
|
margin-bottom: 5px;
|
|
25
33
|
}
|