@designcrowd/fe-shared-lib 1.2.7-rr-debugging → 1.2.7-rr-debugging-2
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
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
</div>
|
|
42
42
|
</template>
|
|
43
43
|
<script>
|
|
44
|
+
import i18next from 'i18next';
|
|
44
45
|
import Button from '../../../atoms/components/Button/Button.vue';
|
|
45
46
|
import TextInput from '../../../atoms/components/TextInput/TextInput.vue';
|
|
46
47
|
import { sellDomainNameMinSearchTextLength } from '../../constants/sell-domain-name-constants';
|
|
@@ -82,6 +83,12 @@ export default {
|
|
|
82
83
|
},
|
|
83
84
|
emits: ['onSearch', 'onSearchTextInputChange'],
|
|
84
85
|
setup() {
|
|
86
|
+
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
87
|
+
// Make i18next available globally for debugging
|
|
88
|
+
if (typeof window !== 'undefined') {
|
|
89
|
+
window.i18nextSearch = i18next;
|
|
90
|
+
}
|
|
91
|
+
|
|
85
92
|
return {
|
|
86
93
|
searchButtonLabel: sellDomainNameSearchTr('searchButtonLabel'),
|
|
87
94
|
searchBarLabel: sellDomainNameSearchTr('searchBarLabel'),
|