@eturnity/eturnity_reusable_components 7.51.12 → 7.51.14
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/package.json
CHANGED
@@ -30,6 +30,7 @@
|
|
30
30
|
<IconContainer>
|
31
31
|
<InputContainer
|
32
32
|
ref="inputElement"
|
33
|
+
:autocomplete="autocompleteType"
|
33
34
|
:background-color="backgroundColor"
|
34
35
|
:border-color="borderColor"
|
35
36
|
:data-id="inputDataId"
|
@@ -384,6 +385,12 @@
|
|
384
385
|
defaultPadding: {
|
385
386
|
required: false,
|
386
387
|
default: false,
|
388
|
+
type: Boolean,
|
389
|
+
},
|
390
|
+
autocompleteType: {
|
391
|
+
required: false,
|
392
|
+
default: 'off',
|
393
|
+
type: String,
|
387
394
|
},
|
388
395
|
},
|
389
396
|
data() {
|
@@ -93,13 +93,14 @@
|
|
93
93
|
</ComponentItem>
|
94
94
|
<ArrowContainer class="arrow-container" :is-disabled="disabled">
|
95
95
|
<ArrowWrapper :show-archived="showArchived">
|
96
|
-
<
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
96
|
+
<InfoWrapper v-if="showArchived">
|
97
|
+
<InfoText
|
98
|
+
icon-color="red"
|
99
|
+
:text="
|
100
|
+
$gettext(`Component has been archived and shouldn't be used`)
|
101
|
+
"
|
102
|
+
/>
|
103
|
+
</InfoWrapper>
|
103
104
|
<ArrowDown
|
104
105
|
v-if="!isOpen"
|
105
106
|
class="arrow-dropdown"
|
@@ -434,6 +435,13 @@
|
|
434
435
|
align-items: center;
|
435
436
|
`
|
436
437
|
|
438
|
+
const InfoWrapper = styled.div`
|
439
|
+
display: flex;
|
440
|
+
align-items: center;
|
441
|
+
justify-content: center;
|
442
|
+
padding-left: 8px;
|
443
|
+
`
|
444
|
+
|
437
445
|
export default {
|
438
446
|
name: 'TableDropdown',
|
439
447
|
components: {
|
@@ -464,6 +472,7 @@
|
|
464
472
|
NestedContainer,
|
465
473
|
Icon,
|
466
474
|
InfoText,
|
475
|
+
InfoWrapper,
|
467
476
|
},
|
468
477
|
props: {
|
469
478
|
colSpan: {
|