From 202c208e7a21666ef996436a02c506b03aec526c Mon Sep 17 00:00:00 2001 From: mertsincan Date: Fri, 19 May 2023 12:14:50 +0100 Subject: [PATCH] Refactor #3965 - Update method name --- .../lib/basecomponent/BaseComponent.vue | 4 +- components/lib/calendar/Calendar.vue | 100 +++++++++--------- components/lib/fieldset/Fieldset.vue | 14 +-- components/lib/panel/Panel.vue | 18 ++-- 4 files changed, 68 insertions(+), 68 deletions(-) diff --git a/components/lib/basecomponent/BaseComponent.vue b/components/lib/basecomponent/BaseComponent.vue index 1fd821c5c..951b460fd 100644 --- a/components/lib/basecomponent/BaseComponent.vue +++ b/components/lib/basecomponent/BaseComponent.vue @@ -51,10 +51,10 @@ export default { ptmo(obj = {}, key = '', params = {}) { return this.getPTValue(obj, key, params); }, - css(key = '', params = {}) { + cx(key = '', params = {}) { return !this.isUnstyled ? ObjectUtils.getItemValue(this.getOption(this.$options.style && this.$options.style.classes, key), { instance: this, props: this.$props, state: this.$data, ...params }) : undefined; }, - style(key = '', when = true, params = {}) { + sx(key = '', when = true, params = {}) { if (when) { const self = ObjectUtils.getItemValue(this.getOption(this.$options.style && this.$options.style.inlineStyles, key), { instance: this, props: this.$props, state: this.$data, ...params }); const base = ObjectUtils.getItemValue(this.getOption(inlineStyles, key), { instance: this, props: this.$props, state: this.$data, ...params }); diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 1b32769b8..0761ffee7 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -1,12 +1,12 @@