@policystudio/policy-studio-ui-vue 1.1.90-beta.2 → 1.1.90-beta.20

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.
Files changed (146) hide show
  1. package/.eslintrc.js +13 -8
  2. package/.github/workflows/deploy-storybook.yml +4 -4
  3. package/.nvmrc +1 -0
  4. package/dist/css/psui_styles_output.css +6986 -0
  5. package/dist/index.d.ts +50 -0
  6. package/dist/index.js +104 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/util/GeneralFunctions.d.ts +3 -0
  9. package/dist/util/GeneralFunctions.js +29 -0
  10. package/dist/util/GeneralFunctions.js.map +1 -0
  11. package/dist/util/directives.d.ts +1 -0
  12. package/dist/util/directives.js +22 -0
  13. package/dist/util/directives.js.map +1 -0
  14. package/dist/util/imageLoader.d.ts +6 -0
  15. package/dist/util/imageLoader.js +52 -0
  16. package/dist/util/imageLoader.js.map +1 -0
  17. package/package.json +25 -37
  18. package/src/App.vue +30 -0
  19. package/src/assets/scss/components/PsDataTable.scss +1 -1
  20. package/src/components/accordion/PsAccordionItem.vue +75 -75
  21. package/src/components/badges-and-tags/PsBadgeWithIcon.vue +31 -33
  22. package/src/components/badges-and-tags/PsCardInfos.vue +40 -41
  23. package/src/components/badges-and-tags/PsChartLegend.vue +47 -51
  24. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +14 -19
  25. package/src/components/badges-and-tags/PsCostEffectBar.vue +24 -56
  26. package/src/components/badges-and-tags/PsDateCardInfo.vue +17 -18
  27. package/src/components/badges-and-tags/PsHighlightRippleDot.vue +3 -2
  28. package/src/components/badges-and-tags/PsMiniTag.vue +39 -41
  29. package/src/components/badges-and-tags/PsProgressBar.vue +72 -68
  30. package/src/components/badges-and-tags/PsTagScope.vue +17 -22
  31. package/src/components/badges-and-tags/PsTestimonialCard.vue +20 -26
  32. package/src/components/buttons/PsButton.vue +88 -111
  33. package/src/components/chips/PsChips.vue +98 -101
  34. package/src/components/controls/PsCheckbox.vue +84 -84
  35. package/src/components/controls/PsCheckboxSimple.vue +95 -95
  36. package/src/components/controls/PsDraggable.vue +53 -55
  37. package/src/components/controls/PsInlineSelector.vue +99 -99
  38. package/src/components/controls/PsRadioButton.vue +59 -58
  39. package/src/components/controls/PsRadioButtonSimple.vue +79 -75
  40. package/src/components/controls/PsSlider.vue +185 -176
  41. package/src/components/controls/PsSwitch.vue +51 -52
  42. package/src/components/controls/PsToggle.vue +53 -50
  43. package/src/components/data-graphics/PsBarChart.vue +19 -21
  44. package/src/components/datatable/PsDataTable.vue +56 -60
  45. package/src/components/datatable/PsDataTableItem.vue +14 -28
  46. package/src/components/forms/PsDropdown.vue +164 -162
  47. package/src/components/forms/PsDropdownList.vue +133 -130
  48. package/src/components/forms/PsInput.vue +155 -153
  49. package/src/components/forms/PsInputSelect.vue +91 -92
  50. package/src/components/forms/PsInputTextArea.vue +71 -71
  51. package/src/components/navigations/PsBreadcrumb.vue +26 -34
  52. package/src/components/notifications/PsDialog.vue +57 -56
  53. package/src/components/notifications/PsSimpleAlert.vue +28 -29
  54. package/src/components/notifications/PsToast.vue +40 -39
  55. package/src/components/table-results/PsTableResults.vue +449 -458
  56. package/src/components/table-results/PsTableResultsBody.vue +66 -67
  57. package/src/components/table-results/PsTableResultsHead.vue +62 -56
  58. package/src/components/table-results/PsTableResultsHeadComparison.vue +62 -56
  59. package/src/components/table-results/PsTableResultsHeadFlexible.vue +63 -56
  60. package/src/components/table-results/PsTableResultsRow.vue +55 -56
  61. package/src/components/tabs/PsTabHeader.vue +106 -100
  62. package/src/components/tooltip/PsDialogTooltip.vue +96 -101
  63. package/src/components/tooltip/PsRichTooltip.vue +42 -45
  64. package/src/components/tooltip/PsTooltip.vue +111 -116
  65. package/src/components/ui/PsDotLoader.vue +1 -5
  66. package/src/components/ui/PsIcon.vue +126 -129
  67. package/src/index.ts +156 -0
  68. package/src/tsconfig.json +12 -0
  69. package/src/types/index.d.ts +6 -0
  70. package/src/util/GeneralFunctions.js +4 -6
  71. package/src/util/directives.ts +24 -0
  72. package/src/util/imageLoader.js +14 -7
  73. package/tailwind.config.js +1 -1
  74. package/tsconfig.json +47 -0
  75. package/.storybook/PolicyStudio.js +0 -10
  76. package/.storybook/eventBus.js +0 -26
  77. package/.storybook/main.js +0 -21
  78. package/.storybook/manager.js +0 -6
  79. package/.storybook/preview.js +0 -17
  80. package/babel.config.js +0 -17
  81. package/dist/css/psui_styles.css +0 -4647
  82. package/postcss.config.js +0 -8
  83. package/src/assets/images/multifamily-units.svg +0 -10
  84. package/src/assets/images/policy-studio.svg +0 -15
  85. package/src/components/playground/PsScrollBar.vue +0 -320
  86. package/src/contents/ComparisonData.js +0 -378
  87. package/src/contents/FlexibleData.js +0 -502
  88. package/src/contents/ResultsData.js +0 -531
  89. package/src/index.js +0 -166
  90. package/src/stories/Accordion.stories.js +0 -59
  91. package/src/stories/BadgeWithIcon.stories.js +0 -31
  92. package/src/stories/BarChart.stories.js +0 -17
  93. package/src/stories/Breadcrumb.stories.js +0 -25
  94. package/src/stories/Button.stories.js +0 -48
  95. package/src/stories/Button.vue +0 -59
  96. package/src/stories/CardInfos.stories.js +0 -16
  97. package/src/stories/ChartLegend.stories.js +0 -16
  98. package/src/stories/Checkbox.stories.js +0 -45
  99. package/src/stories/CheckboxSimple.stories.js +0 -49
  100. package/src/stories/Chips.stories.js +0 -31
  101. package/src/stories/ClimateZoneBadge.stories.js +0 -17
  102. package/src/stories/Colors.mdx +0 -70
  103. package/src/stories/CostEffectBar.stories.js +0 -23
  104. package/src/stories/Datatable.stories.js +0 -50
  105. package/src/stories/DateCardInfo.stories.js +0 -24
  106. package/src/stories/Dialog.stories.js +0 -131
  107. package/src/stories/Draggable.stories.js +0 -22
  108. package/src/stories/Dropdown.stories.js +0 -99
  109. package/src/stories/DropdownList.stories.js +0 -211
  110. package/src/stories/ElevationSystem.mdx +0 -41
  111. package/src/stories/Header.stories.js +0 -41
  112. package/src/stories/Header.vue +0 -77
  113. package/src/stories/HighlightRippleDot.stories.js +0 -15
  114. package/src/stories/Icon.stories.js +0 -21
  115. package/src/stories/InlineSelector.stories.js +0 -18
  116. package/src/stories/Input.stories.js +0 -240
  117. package/src/stories/InputSelect.stories.js +0 -30
  118. package/src/stories/InputTextArea.stories.js +0 -25
  119. package/src/stories/Introduction.mdx +0 -211
  120. package/src/stories/MiniTag.stories.js +0 -52
  121. package/src/stories/Playground.stories.js +0 -16
  122. package/src/stories/ProgressBar.stories.js +0 -23
  123. package/src/stories/RadioButton.stories.js +0 -40
  124. package/src/stories/RadioButtonSimple.stories.js +0 -43
  125. package/src/stories/SimpleAlert.stories.js +0 -21
  126. package/src/stories/Slider.stories.js +0 -75
  127. package/src/stories/Switch.stories.js +0 -39
  128. package/src/stories/TabHeader.stories.js +0 -52
  129. package/src/stories/TableResults.stories.js +0 -724
  130. package/src/stories/TagScope.stories.js +0 -17
  131. package/src/stories/TestimonialCard.stories.js +0 -27
  132. package/src/stories/Toast.stories.js +0 -52
  133. package/src/stories/Toggle.stories.js +0 -45
  134. package/src/stories/Tooltip.stories.js +0 -114
  135. package/src/stories/Typography.mdx +0 -212
  136. package/src/stories/assets/code-brackets.svg +0 -1
  137. package/src/stories/assets/colors.svg +0 -1
  138. package/src/stories/assets/comments.svg +0 -1
  139. package/src/stories/assets/direction.svg +0 -1
  140. package/src/stories/assets/flow.svg +0 -1
  141. package/src/stories/assets/plugin.svg +0 -1
  142. package/src/stories/assets/repo.svg +0 -1
  143. package/src/stories/assets/stackalt.svg +0 -1
  144. package/src/stories/button.css +0 -30
  145. package/src/stories/header.css +0 -32
  146. package/webpack.config.js +0 -22
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  class="psui-el-input-textarea"
4
- :class="[{'disabled':disabled}]"
4
+ :class="[{ disabled: disabled }]"
5
5
  >
6
6
  <div class="psui-el-input-textarea-wrapper">
7
7
  <label
@@ -15,8 +15,8 @@
15
15
  :value="value"
16
16
  @focus="onInputFocus"
17
17
  @blur="onInputBlur"
18
- @input="$emit('input', $event)"
19
- @change="$emit('change', $event)"
18
+ @input="emit('input', $event)"
19
+ @change="emit('change', $event)"
20
20
  :rows="rows"
21
21
  :placeholder="placeholder"
22
22
  :readonly="disabled"
@@ -31,74 +31,74 @@
31
31
  </div>
32
32
  </template>
33
33
 
34
- <script>
35
- export default {
36
- name: 'PsInputTextArea',
37
- props: {
38
- /**
39
- * It sets the placeholder of the textarea input.
40
- */
41
- placeholder: {
42
- type: String,
43
- default: ''
44
- },
45
- /**
46
- * It sets the value selected of the textarea input.
47
- */
48
- value: {
49
- required: true,
50
- },
51
- /**
52
- * It sets the label of the textarea input.
53
- */
54
- label: {
55
- type: String,
56
- },
57
- /**
58
- * It sets a optional label if needed.
59
- */
60
- optionalLabel:{
61
- type: String,
62
- },
63
- /**
64
- * It sets aria-required property. eg: true or false.
65
- */
66
- required:{
67
- type: Boolean,
68
- default:true
69
- },
70
- /**
71
- * It sets the type of autocapitalize. See mdn web-doc for full information. default: sentences.
72
- */
73
- autocapitalize: {
74
- type: String,
75
- default: 'sentences'
76
- },
77
- /**
78
- * It sets the size of the textarea input.
79
- */
80
- rows: {
81
- type: Number,
82
- default: 5
83
- },
84
- /**
85
- * It disabled the textarea input. All mouse events are disabled.
86
- */
87
- disabled: {
88
- type: Boolean,
89
- default: false,
90
- }
34
+ <script setup>
35
+ import { defineProps, defineEmits } from 'vue'
36
+
37
+ defineProps({
38
+ /**
39
+ * It sets the placeholder of the textarea input.
40
+ */
41
+ placeholder: {
42
+ type: String,
43
+ default: '',
44
+ },
45
+ /**
46
+ * It sets the value selected of the textarea input.
47
+ */
48
+ value: {
49
+ required: true,
50
+ },
51
+ /**
52
+ * It sets the label of the textarea input.
53
+ */
54
+ label: {
55
+ type: String,
56
+ default: '',
57
+ },
58
+ /**
59
+ * It sets a optional label if needed.
60
+ */
61
+ optionalLabel: {
62
+ type: String,
63
+ default: '',
64
+ },
65
+ /**
66
+ * It sets aria-required property. eg: true or false.
67
+ */
68
+ required: {
69
+ type: Boolean,
70
+ default: true,
71
+ },
72
+ /**
73
+ * It sets the type of autocapitalize. See mdn web-doc for full information. default: sentences.
74
+ */
75
+ autocapitalize: {
76
+ type: String,
77
+ default: 'sentences',
78
+ },
79
+ /**
80
+ * It sets the size of the textarea input.
81
+ */
82
+ rows: {
83
+ type: Number,
84
+ default: 5,
91
85
  },
92
- methods: {
93
- onInputFocus($event) {
94
- this.isFocus = true
95
- this.$emit('focus', $event)
96
- },
97
- onInputBlur($event) {
98
- this.isFocus = false
99
- this.$emit('blur', $event)
100
- }
101
- }
86
+ /**
87
+ * It disabled the textarea input. All mouse events are disabled.
88
+ */
89
+ disabled: {
90
+ type: Boolean,
91
+ default: false,
92
+ },
93
+ })
94
+
95
+ const emit = defineEmits(['focus', 'blur', 'input', 'change'])
96
+
97
+ const onInputFocus = ($event) => {
98
+ emit('focus', $event)
102
99
  }
103
- </script>
104
100
 
101
+ const onInputBlur = ($event) => {
102
+ emit('blur', $event)
103
+ }
104
+ </script>
@@ -1,4 +1,4 @@
1
- <template>
1
+ <template>
2
2
  <nav
3
3
  v-if="items.length > 0"
4
4
  aria-label="breadcrumb"
@@ -13,7 +13,6 @@
13
13
  <router-link
14
14
  v-if="item.route && !item.isReset"
15
15
  :to="item.route"
16
- @click="onNavigate(item)"
17
16
  >
18
17
  {{ item.title }}
19
18
  </router-link>
@@ -21,7 +20,7 @@
21
20
  <span
22
21
  v-else-if="item.isReset"
23
22
  class="psui-flex psui-items-center psui-cursor-pointer psui-text-blue-60 psui-font-bold"
24
- @click="$emit('reset-state', item)"
23
+ @click="emit('reset-state', item)"
25
24
  >
26
25
  <PsIcon
27
26
  size="18"
@@ -32,8 +31,8 @@
32
31
  {{ item.title }}
33
32
  </span>
34
33
 
35
- <span
36
- v-else
34
+ <span
35
+ v-else
37
36
  :title="item.title"
38
37
  >
39
38
  {{ item.title }}
@@ -43,36 +42,29 @@
43
42
  </nav>
44
43
  </template>
45
44
 
46
- <script>
45
+ <script setup>
47
46
  import PsIcon from '../ui/PsIcon.vue'
48
- export default {
49
- name: 'PsBreadcrumb',
50
- components: { PsIcon },
51
- props: {
52
- /**
53
- * It sets the items which will be rendered.
54
- */
55
- items: {
56
- type: [Array, Boolean],
57
- },
58
- /**
59
- * It sets the li style.
60
- */
61
- liClass: {
62
- type: String,
63
- default: 'psui-text-small psui-text-gray-60'
64
- }
47
+ import { defineProps, defineEmits } from 'vue'
48
+
49
+ defineProps({
50
+ /**
51
+ * It sets the items which will be rendered.
52
+ */
53
+ items: {
54
+ type: [Array, Boolean],
55
+ default: () => [],
65
56
  },
66
- methods: {
67
- onNavigate(item) {
68
- if (item.route === this.$route.path) {
69
- this.$parent.closeDrawer()
70
- }
71
- },
72
- }
73
- }
74
- </script>
57
+ /**
58
+ * It sets the li style.
59
+ */
60
+ liClass: {
61
+ type: String,
62
+ default: 'psui-text-small psui-text-gray-60',
63
+ },
64
+ })
65
+
66
+ const emit = defineEmits(['reset-state'])
75
67
 
76
- <style>
68
+ </script>
77
69
 
78
- </style>
70
+ <style></style>
@@ -2,11 +2,11 @@
2
2
  <div
3
3
  class="psui-el-dialog"
4
4
  :class="getComponentClass"
5
- >
5
+ >
6
6
  <div class="psui-el-dialog-icon">
7
7
  <i class="material-icons-round">{{ icon }}</i>
8
8
  </div>
9
- <div class="psui-el-dialog-wrapper">
9
+ <div class="psui-el-dialog-wrapper">
10
10
  <div class="psui-el-dialog-default">
11
11
  <slot>
12
12
  <p class="psui-el-dialog-message">
@@ -19,8 +19,8 @@
19
19
  </div>
20
20
  </div>
21
21
  <button
22
- class="psui-el-dialog-close"
23
- v-if="hasClose"
22
+ class="psui-el-dialog-close"
23
+ v-if="hasClose"
24
24
  @click="onClose"
25
25
  >
26
26
  <i class="material-icons-round">close</i>
@@ -28,61 +28,62 @@
28
28
  </div>
29
29
  </template>
30
30
 
31
- <script>
31
+ <script setup>
32
32
  // Figma - 3. Inline Dialog https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=3694%3A55841
33
- export default {
34
- name: 'PsDialog',
35
- props: {
36
- /**
37
- * It sets the theme of the dialog. eg: informative, success and alert.
38
- */
39
- theme: {
40
- type: String,
41
- default: 'informative',
42
- validator: (value) => ['informative', 'success', 'alert'].includes(value)
43
- },
44
- /**
45
- * It set the which will be displayed when component is rendered.
46
- */
47
- message: {
48
- type: String,
49
- },
50
- /**
51
- * It sets the direction of the items within the dialog. See Figma Notifications for full information.
52
- */
53
- layout:{
54
- type: String,
55
- default: 'horizontal',
56
- validator: (value) => ['horizontal', 'vertical'].includes(value)
57
- },
58
- /**
59
- * It sets a close button if needed.
60
- */
61
- hasClose: {
62
- type: Boolean,
63
- default: true
64
- },
65
- /**
66
- * It sets the text key to get the svg icon in Google Fonts. Make sure to get the correct description of your icon on https://fonts.google.com/.
67
- */
68
- icon: {
69
- type: String,
70
- default: 'info'
71
- }
33
+
34
+ import { defineProps, defineEmits, computed } from 'vue'
35
+
36
+ const props = defineProps({
37
+ /**
38
+ * It sets the theme of the dialog. eg: informative, success and alert.
39
+ */
40
+ theme: {
41
+ type: String,
42
+ default: 'informative',
43
+ validator: (value) => ['informative', 'success', 'alert'].includes(value),
44
+ },
45
+ /**
46
+ * It set the which will be displayed when component is rendered.
47
+ */
48
+ message: {
49
+ type: String,
50
+ default: '',
51
+ },
52
+ /**
53
+ * It sets the direction of the items within the dialog. See Figma Notifications for full information.
54
+ */
55
+ layout: {
56
+ type: String,
57
+ default: 'horizontal',
58
+ validator: (value) => ['horizontal', 'vertical'].includes(value),
59
+ },
60
+ /**
61
+ * It sets a close button if needed.
62
+ */
63
+ hasClose: {
64
+ type: Boolean,
65
+ default: true,
72
66
  },
73
- emits:['close'],
74
- computed: {
75
- getComponentClass() {
76
- return [`layout-${this.layout}`, `theme-${this.theme}`, `close-${this.hasClose ? 'on' : 'off'}` ]
77
- }
67
+ /**
68
+ * It sets the text key to get the svg icon in Google Fonts. Make sure to get the correct description of your icon on https://fonts.google.com/.
69
+ */
70
+ icon: {
71
+ type: String,
72
+ default: 'info',
78
73
  },
79
- methods:{
80
- onClose(){
81
- this.$emit('close')
82
- }
83
- }
74
+ })
75
+
76
+ const emit = defineEmits(['close'])
77
+
78
+ const getComponentClass = computed(() => {
79
+ return [`layout-${props.layout}`, `theme-${props.theme}`, `close-${props.hasClose ? 'on' : 'off'}`]
80
+ })
81
+
82
+ const onClose = () => {
83
+ emit('close')
84
84
  }
85
85
  </script>
86
86
 
87
- <style> /* Please, use the file src/assets/scss/components/PsDialog.scss */</style>
88
-
87
+ <style>
88
+ /* Please, use the file src/assets/scss/components/PsDialog.scss */
89
+ </style>
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  class="psui-el-simple-alert"
4
4
  v-bind="$attrs"
5
- @click.stop="$emit('click')"
5
+ @click.stop="emit('click')"
6
6
  >
7
7
  <PsIcon
8
8
  :icon="icon"
@@ -15,41 +15,40 @@
15
15
  <button
16
16
  class="psui-el-simple-alert-button"
17
17
  :class="buttonClass"
18
- @click.stop="$emit('close')"
18
+ @click.stop="emit('close')"
19
19
  >
20
20
  close
21
21
  </button>
22
22
  </div>
23
23
  </template>
24
24
 
25
- <script>
25
+ <script setup>
26
26
  import PsIcon from '../ui/PsIcon.vue'
27
+ import { defineProps, defineEmits } from 'vue'
27
28
 
29
+ defineProps({
30
+ message: {
31
+ type: String,
32
+ default: '',
33
+ },
34
+ icon: {
35
+ type: String,
36
+ default: 'info',
37
+ },
38
+ iconClass: {
39
+ type: String,
40
+ default: '',
41
+ },
42
+ buttonClass: {
43
+ type: String,
44
+ default: '',
45
+ },
46
+ iconSize: {
47
+ type: [Number, String],
48
+ default: 24,
49
+ },
50
+ })
51
+
52
+ const emit = defineEmits(['click', 'close'])
28
53
 
29
- export default {
30
- name: 'PsSimpleAlert',
31
- components: { PsIcon },
32
- props: {
33
- message: {
34
- type: String,
35
- default: ''
36
- },
37
- icon: {
38
- type: String,
39
- default: 'info'
40
- },
41
- iconClass:{
42
- type:String,
43
- default: ''
44
- },
45
- buttonClass:{
46
- type:String,
47
- default: ''
48
- },
49
- iconSize:{
50
- type: [Number, String],
51
- default: 24
52
- }
53
- },
54
- }
55
54
  </script>
@@ -13,46 +13,47 @@
13
13
  </div>
14
14
  </template>
15
15
 
16
- <script>
17
- export default {
18
- name: 'PsToast',
19
- props: {
20
- /**
21
- * It sets the layout of the toast. eg: info, success, warning and error.
22
- */
23
- layout: {
24
- type: String,
25
- default: 'info',
26
- validator: (value) => ['info', 'success', 'warning', 'error'].includes(value)
27
- },
28
- /**
29
- * It sets a supportive layout. eg: soft and intese. See Figma - Notification for full information.
30
- */
31
- fill: {
32
- type: String,
33
- default: 'intense',
34
- validator: (value) => ['soft', 'intense'].includes(value)
35
- },
36
- /**
37
- * It sets the message which will be displayed when component is rendered.
38
- */
39
- message: {
40
- type: String,
41
- },
42
- /**
43
- * It sets the text key to get the svg icon in Google Fonts. Make sure to get the correct description of your icon on https://fonts.google.com/.
44
- */
45
- icon:{
46
- type: String,
47
- }
16
+ <script setup>
17
+ import { defineProps, computed } from 'vue'
18
+
19
+ const props = defineProps({
20
+ /**
21
+ * It sets the layout of the toast. eg: info, success, warning and error.
22
+ */
23
+ layout: {
24
+ type: String,
25
+ default: 'info',
26
+ validator: (value) => ['info', 'success', 'warning', 'error'].includes(value),
48
27
  },
49
- computed: {
50
- getComponentClass(){
51
- return `layout-${this.layout} fill-${this.fill}`
52
- }
28
+ /**
29
+ * It sets a supportive layout. eg: soft and intese. See Figma - Notification for full information.
30
+ */
31
+ fill: {
32
+ type: String,
33
+ default: 'intense',
34
+ validator: (value) => ['soft', 'intense'].includes(value),
53
35
  },
54
- }
55
- </script>
36
+ /**
37
+ * It sets the message which will be displayed when component is rendered.
38
+ */
39
+ message: {
40
+ type: String,
41
+ default: '',
42
+ },
43
+ /**
44
+ * It sets the text key to get the svg icon in Google Fonts. Make sure to get the correct description of your icon on https://fonts.google.com/.
45
+ */
46
+ icon: {
47
+ type: String,
48
+ default: '',
49
+ },
50
+ })
56
51
 
57
- <style> /* Please, use the file src/assets/scss/components/PsToast.scss */ </style>
52
+ const getComponentClass = computed(() => {
53
+ return `layout-${props.layout} fill-${props.fill}`
54
+ })
55
+ </script>
58
56
 
57
+ <style>
58
+ /* Please, use the file src/assets/scss/components/PsToast.scss */
59
+ </style>