mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Theming API: update nuxt-primevue module
This commit is contained in:
parent
b5e53e6fa3
commit
a5dff7722e
11 changed files with 46 additions and 50 deletions
|
@ -40,14 +40,14 @@ export default {
|
|||
loadTheme(theme, options = {}) {
|
||||
return theme ? useStyle(ObjectUtils.minifyCSS(theme), { name: `${this.name}-style`, ...options }) : {};
|
||||
},
|
||||
getCommonThemeCSS(theme, params) {
|
||||
return Theme.getCommonCSS(this.name, theme, params);
|
||||
getCommonThemeCSS(params) {
|
||||
return Theme.getCommonCSS(this.name, params);
|
||||
},
|
||||
getComponentThemeCSS(theme, params) {
|
||||
return Theme.getComponentCSS(this.name, theme, params);
|
||||
getComponentThemeCSS(params) {
|
||||
return Theme.getComponentCSS(this.name, params);
|
||||
},
|
||||
getDirectiveThemeCSS(theme, params) {
|
||||
return Theme.getDirectiveCSS(this.name, theme, params);
|
||||
getDirectiveThemeCSS(params) {
|
||||
return Theme.getDirectiveCSS(this.name, params);
|
||||
},
|
||||
getLayerOrderThemeCSS() {
|
||||
return Theme.getLayerOrderCSS(this.name);
|
||||
|
@ -64,11 +64,11 @@ export default {
|
|||
|
||||
return '';
|
||||
},
|
||||
getCommonThemeStyleSheet(theme = {}, params, props = {}) {
|
||||
return Theme.getCommonStyleSheet(this.name, theme, params, props);
|
||||
getCommonThemeStyleSheet(params, props = {}) {
|
||||
return Theme.getCommonStyleSheet(this.name, params, props);
|
||||
},
|
||||
getThemeStyleSheet(theme = {}, params, props = {}) {
|
||||
return Theme.getStyleSheet(this.name, theme, params, props);
|
||||
getThemeStyleSheet(params, props = {}) {
|
||||
return Theme.getStyleSheet(this.name, params, props);
|
||||
},
|
||||
extend(style) {
|
||||
return { ...this, css: undefined, ...style };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue