From eddfa1a5ef0242df74f5b3e8d84980550879432f Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Thu, 6 Jul 2023 12:02:22 +0000 Subject: [PATCH 1/2] Update API doc --- doc/common/apidoc/index.json | 581 +++++++++++++++++++++++++++++++++++ 1 file changed, 581 insertions(+) diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 11ccae23a..37f7e4b7a 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -20,6 +20,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -359,6 +366,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -2660,6 +2674,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -3736,6 +3757,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -4056,6 +4084,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -4467,6 +4502,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -4654,6 +4696,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -4896,6 +4945,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -5241,6 +5297,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -6743,6 +6806,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -7288,6 +7358,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -8085,6 +8162,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -8319,6 +8403,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -8719,6 +8810,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -8968,6 +9066,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -9404,6 +9509,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -9744,6 +9856,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -11135,6 +11254,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -11484,6 +11610,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -11790,6 +11923,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -12058,6 +12198,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -12546,6 +12693,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -15281,6 +15435,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -15744,6 +15905,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -15954,6 +16122,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -16103,6 +16278,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -16695,6 +16877,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -16846,6 +17035,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -17238,6 +17434,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -18460,6 +18663,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -18949,6 +19159,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -19237,6 +19454,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -20276,6 +20500,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -21163,6 +21394,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -21567,6 +21805,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -21747,6 +21992,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -22232,6 +22484,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -22793,6 +23052,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -23197,6 +23463,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -23549,6 +23822,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -24308,6 +24588,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -24818,6 +25105,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -25225,6 +25519,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -25810,6 +26111,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -26112,6 +26420,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -27370,6 +27685,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -27892,6 +28214,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -28471,6 +28800,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -28726,6 +29062,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -29266,6 +29609,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -29592,6 +29942,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -30086,6 +30443,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -30599,6 +30963,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -31584,6 +31955,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -31744,6 +32122,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -31897,6 +32282,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -32183,6 +32575,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -32712,6 +33111,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -32846,6 +33252,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -33052,6 +33465,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -33235,6 +33655,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -33585,6 +34012,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -33886,6 +34320,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -34047,6 +34488,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -34335,6 +34783,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -34855,6 +35310,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -35213,6 +35675,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -35484,6 +35953,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -35620,6 +36096,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -35948,6 +36431,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -36257,6 +36747,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -36910,6 +37407,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -37085,6 +37589,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -37376,6 +37887,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -37521,6 +38039,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -38222,6 +38747,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -38717,6 +39249,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -39064,6 +39603,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -39457,6 +40003,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -40164,6 +40717,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -40749,6 +41309,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -42073,6 +42640,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, @@ -42635,6 +43209,13 @@ "description": "Custom passthrough(pt) option method.", "relatedProp": "", "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "" + }, { "name": "props", "optional": false, From b4d07f01766212f633723b95cd20f7b446b81fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 6 Jul 2023 15:13:28 +0300 Subject: [PATCH 2/2] Refactor #3965 - Refactor on class implementation --- components/lib/calendar/BaseCalendar.vue | 1 - components/lib/calendar/Calendar.vue | 2 +- components/lib/message/BaseMessage.vue | 4 ++-- components/lib/message/Message.vue | 6 +++--- components/lib/speeddial/BaseSpeedDial.vue | 1 - components/lib/speeddial/SpeedDial.vue | 2 +- components/lib/toast/BaseToast.vue | 5 ++--- components/lib/toast/Toast.vue | 1 - components/lib/toast/ToastMessage.vue | 4 ++-- components/lib/togglebutton/BaseToggleButton.vue | 1 - components/lib/togglebutton/ToggleButton.vue | 2 +- 11 files changed, 12 insertions(+), 17 deletions(-) diff --git a/components/lib/calendar/BaseCalendar.vue b/components/lib/calendar/BaseCalendar.vue index 17354f390..910fcfd04 100644 --- a/components/lib/calendar/BaseCalendar.vue +++ b/components/lib/calendar/BaseCalendar.vue @@ -169,7 +169,6 @@ const classes = { dropdownButton: 'p-datepicker-trigger', panel: ({ instance, props, state }) => [ 'p-datepicker p-component', - props.panelClass, { 'p-datepicker-inline': props.inline, 'p-disabled': props.disabled, diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 2d6624dd7..e261c13e8 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -53,7 +53,7 @@ v-if="inline || overlayVisible" :ref="overlayRef" :id="panelId" - :class="cx('panel')" + :class="[cx('panel'), panelClass]" :style="panelStyle" :role="inline ? null : 'dialog'" :aria-modal="inline ? null : 'true'" diff --git a/components/lib/message/BaseMessage.vue b/components/lib/message/BaseMessage.vue index 797f4584e..75ef557b3 100644 --- a/components/lib/message/BaseMessage.vue +++ b/components/lib/message/BaseMessage.vue @@ -51,10 +51,10 @@ const styles = ` const classes = { root: ({ props }) => 'p-message p-component p-message-' + props.severity, wrapper: 'p-message-wrapper', - icon: ({ props }) => ['p-message-icon', props.icon], + icon: 'p-message-icon', text: 'p-message-text', button: 'p-message-close p-link', - buttonIcon: ({ props }) => ['p-message-close-icon', props.closeIcon] + buttonIcon: 'p-message-close-icon' }; const { load: loadStyle } = useStyle(styles, { name: 'message', manual: true }); diff --git a/components/lib/message/Message.vue b/components/lib/message/Message.vue index 679d6273d..afed7cb26 100755 --- a/components/lib/message/Message.vue +++ b/components/lib/message/Message.vue @@ -3,15 +3,15 @@
- +
diff --git a/components/lib/speeddial/BaseSpeedDial.vue b/components/lib/speeddial/BaseSpeedDial.vue index 1dade5846..6b7f34525 100644 --- a/components/lib/speeddial/BaseSpeedDial.vue +++ b/components/lib/speeddial/BaseSpeedDial.vue @@ -133,7 +133,6 @@ const classes = { 'p-speeddial-rotate': props.rotateAnimation && !props.hideIcon } ], - buttonIcon: ({ instance, props }) => (instance.d_visible && !!props.hideIcon ? props.hideIcon : props.showIcon), menu: 'p-speeddial-list', menuitem: ({ instance, id }) => [ 'p-speeddial-item', diff --git a/components/lib/speeddial/SpeedDial.vue b/components/lib/speeddial/SpeedDial.vue index ee89f5051..f895ba05d 100644 --- a/components/lib/speeddial/SpeedDial.vue +++ b/components/lib/speeddial/SpeedDial.vue @@ -18,7 +18,7 @@ diff --git a/components/lib/toast/BaseToast.vue b/components/lib/toast/BaseToast.vue index f840f88ac..2ffcfbcac 100644 --- a/components/lib/toast/BaseToast.vue +++ b/components/lib/toast/BaseToast.vue @@ -108,7 +108,6 @@ const classes = { ], container: ({ props }) => [ 'p-toast-message', - props.message.styleClass, { 'p-toast-message-info': props.message.severity === 'info' || props.message.severity === undefined, 'p-toast-message-warn': props.message.severity === 'warn', @@ -116,7 +115,7 @@ const classes = { 'p-toast-message-success': props.message.severity === 'success' } ], - content: ({ props }) => `p-toast-message-content ${props.message.contentStyleClass || ''}`, + content: 'p-toast-message-content', icon: ({ props }) => [ 'p-toast-message-icon', { @@ -130,7 +129,7 @@ const classes = { summary: 'p-toast-summary', detail: 'p-toast-detail', button: 'p-toast-icon-close p-link', - buttonIcon: ({ props }) => ['p-toast-icon-close-icon', props.closeIcon] + buttonIcon: 'p-toast-icon-close-icon' }; const { load: loadStyle } = useStyle(styles, { name: 'toast', manual: true }); diff --git a/components/lib/toast/Toast.vue b/components/lib/toast/Toast.vue index 705a6ef8f..c88fc59e9 100755 --- a/components/lib/toast/Toast.vue +++ b/components/lib/toast/Toast.vue @@ -35,7 +35,6 @@ export default { extends: BaseToast, inheritAttrs: false, emits: ['close', 'life-end'], - data() { return { messages: [] diff --git a/components/lib/toast/ToastMessage.vue b/components/lib/toast/ToastMessage.vue index eac7052fe..b7d1a8bc6 100755 --- a/components/lib/toast/ToastMessage.vue +++ b/components/lib/toast/ToastMessage.vue @@ -1,6 +1,6 @@