PR checker #5412 - prettier warns

pull/5486/head
i7slegend 2024-03-28 02:27:46 +03:00
parent 3a134dd561
commit 85a9455c84
30 changed files with 41 additions and 41 deletions

View File

@ -77,7 +77,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeIndex(newValue) { activeIndex(newValue) {
this.d_activeIndex = newValue; this.d_activeIndex = newValue;

View File

@ -205,7 +205,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
suggestions() { suggestions() {
if (this.searching) { if (this.searching) {

View File

@ -564,7 +564,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.d_id = newValue || UniqueComponentId(); this.d_id = newValue || UniqueComponentId();
}, }
}, },
modelValue(newValue) { modelValue(newValue) {
this.updateCurrentMetaData(); this.updateCurrentMetaData();

View File

@ -114,7 +114,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
options() { options() {
this.autoUpdateModel(); this.autoUpdateModel();

View File

@ -80,8 +80,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
methods: { methods: {
onWrapperClick() { onWrapperClick() {

View File

@ -68,7 +68,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeItemPath(newPath) { activeItemPath(newPath) {
if (ObjectUtils.isNotEmpty(newPath)) { if (ObjectUtils.isNotEmpty(newPath)) {

View File

@ -290,8 +290,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
overlay: null, overlay: null,
selfClick: false, selfClick: false,

View File

@ -92,8 +92,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
documentKeydownListener: null, documentKeydownListener: null,
container: null, container: null,

View File

@ -110,8 +110,8 @@ export default {
immediate: true, immediate: true,
handler(newValue) { handler(newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
methods: { methods: {
getItemId(index) { getItemId(index) {

View File

@ -222,7 +222,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
modelValue() { modelValue() {
this.isModelValueChanged = true; this.isModelValueChanged = true;

View File

@ -58,7 +58,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
collapsed(newValue) { collapsed(newValue) {
this.d_collapsed = newValue; this.d_collapsed = newValue;

View File

@ -87,7 +87,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
'$attrs.value': function (newVal) { '$attrs.value': function (newVal) {
if (newVal && newVal.length < this.numVisible) { if (newVal && newVal.length < this.numVisible) {

View File

@ -153,7 +153,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
options() { options() {
this.autoUpdateModel(); this.autoUpdateModel();

View File

@ -90,7 +90,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeItem(newItem) { activeItem(newItem) {
if (ObjectUtils.isNotEmpty(newItem)) { if (ObjectUtils.isNotEmpty(newItem)) {

View File

@ -76,8 +76,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
target: null, target: null,
outsideClickListener: null, outsideClickListener: null,

View File

@ -83,7 +83,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeItemPath(newPath) { activeItemPath(newPath) {
if (ObjectUtils.isNotEmpty(newPath)) { if (ObjectUtils.isNotEmpty(newPath)) {

View File

@ -242,7 +242,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
options() { options() {
this.autoUpdateModel(); this.autoUpdateModel();

View File

@ -109,8 +109,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
beforeUnmount() { beforeUnmount() {
this.destroyStyle(); this.destroyStyle();

View File

@ -62,7 +62,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
collapsed(newValue) { collapsed(newValue) {
this.d_collapsed = newValue; this.d_collapsed = newValue;

View File

@ -77,8 +77,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
methods: { methods: {
getItemProp(item, name) { getItemProp(item, name) {

View File

@ -81,8 +81,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
mediumCheckRegExp: null, mediumCheckRegExp: null,
strongCheckRegExp: null, strongCheckRegExp: null,

View File

@ -225,7 +225,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
selection(newValue) { selection(newValue) {
this.d_selection = newValue; this.d_selection = newValue;

View File

@ -72,8 +72,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.name = newValue || UniqueComponentId(); this.name = newValue || UniqueComponentId();
}, }
}, }
}, },
methods: { methods: {
getPTOptions(key, value) { getPTOptions(key, value) {

View File

@ -73,8 +73,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
mounted() { mounted() {
if (this.$el.offsetParent) { if (this.$el.offsetParent) {

View File

@ -82,7 +82,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
visible(newValue) { visible(newValue) {
this.d_visible = newValue; this.d_visible = newValue;

View File

@ -82,8 +82,8 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, }
}, },
mounted() { mounted() {
this.$watch('$refs.menu.visible', (newValue) => { this.$watch('$refs.menu.visible', (newValue) => {

View File

@ -160,7 +160,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeStep(newValue) { activeStep(newValue) {
this.d_activeStep = newValue; this.d_activeStep = newValue;

View File

@ -117,7 +117,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeIndex(newValue) { activeIndex(newValue) {
this.d_activeIndex = newValue; this.d_activeIndex = newValue;

View File

@ -75,7 +75,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
activeItemPath(newPath) { activeItemPath(newPath) {
if (!this.popup) { if (!this.popup) {

View File

@ -132,7 +132,7 @@ export default {
immediate: true, immediate: true,
handler: function (newValue) { handler: function (newValue) {
this.id = newValue || UniqueComponentId(); this.id = newValue || UniqueComponentId();
}, }
}, },
modelValue: { modelValue: {
handler: function () { handler: function () {