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

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 (46) hide show
  1. package/package.json +2 -3
  2. package/src/components/accordion/PsAccordionItem.vue +1 -1
  3. package/src/components/badges-and-tags/PsBadgeWithIcon.vue +1 -1
  4. package/src/components/badges-and-tags/PsCardInfos.vue +0 -1
  5. package/src/components/badges-and-tags/PsChartLegend.vue +0 -1
  6. package/src/components/badges-and-tags/PsClimateZoneBadge.vue +0 -1
  7. package/src/components/badges-and-tags/PsCostEffectBar.vue +1 -1
  8. package/src/components/badges-and-tags/PsDateCardInfo.vue +1 -1
  9. package/src/components/badges-and-tags/PsMiniTag.vue +1 -1
  10. package/src/components/badges-and-tags/PsProgressBar.vue +1 -1
  11. package/src/components/badges-and-tags/PsTagScope.vue +1 -1
  12. package/src/components/badges-and-tags/PsTestimonialCard.vue +0 -1
  13. package/src/components/buttons/PsButton.vue +1 -1
  14. package/src/components/chips/PsChips.vue +1 -1
  15. package/src/components/controls/PsCheckbox.vue +1 -1
  16. package/src/components/controls/PsCheckboxSimple.vue +1 -1
  17. package/src/components/controls/PsDraggable.vue +1 -1
  18. package/src/components/controls/PsInlineSelector.vue +0 -1
  19. package/src/components/controls/PsRadioButton.vue +1 -1
  20. package/src/components/controls/PsRadioButtonSimple.vue +1 -1
  21. package/src/components/controls/PsSlider.vue +1 -1
  22. package/src/components/controls/PsSwitch.vue +1 -1
  23. package/src/components/controls/PsToggle.vue +0 -1
  24. package/src/components/data-graphics/PsBarChart.vue +0 -1
  25. package/src/components/datatable/PsDataTable.vue +1 -1
  26. package/src/components/datatable/PsDataTableItem.vue +0 -1
  27. package/src/components/forms/PsDropdown.vue +1 -1
  28. package/src/components/forms/PsDropdownList.vue +1 -1
  29. package/src/components/forms/PsInput.vue +1 -2
  30. package/src/components/forms/PsInputSelect.vue +1 -1
  31. package/src/components/forms/PsInputTextArea.vue +1 -1
  32. package/src/components/navigations/PsBreadcrumb.vue +0 -1
  33. package/src/components/notifications/PsDialog.vue +1 -1
  34. package/src/components/notifications/PsSimpleAlert.vue +0 -1
  35. package/src/components/notifications/PsToast.vue +1 -1
  36. package/src/components/table-results/PsTableResults.vue +1 -1
  37. package/src/components/table-results/PsTableResultsBody.vue +1 -1
  38. package/src/components/table-results/PsTableResultsHead.vue +1 -1
  39. package/src/components/table-results/PsTableResultsHeadComparison.vue +1 -1
  40. package/src/components/table-results/PsTableResultsHeadFlexible.vue +1 -1
  41. package/src/components/table-results/PsTableResultsRow.vue +1 -1
  42. package/src/components/tabs/PsTabHeader.vue +1 -1
  43. package/src/components/tooltip/PsDialogTooltip.vue +1 -1
  44. package/src/components/tooltip/PsRichTooltip.vue +0 -1
  45. package/src/components/tooltip/PsTooltip.vue +1 -1
  46. package/src/components/ui/PsIcon.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.90-beta.20",
3
+ "version": "1.1.90-beta.21",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -46,8 +46,7 @@
46
46
  "webpack": "^5.89.0"
47
47
  },
48
48
  "engines": {
49
- "node": "20.11.0",
50
- "npm": "10.2.4"
49
+ "node": "20.11.0"
51
50
  },
52
51
  "keywords": [
53
52
  "vue",
@@ -47,7 +47,7 @@
47
47
 
48
48
  <script setup>
49
49
  import { getParentVueComponentByName } from '../../util/GeneralFunctions.js'
50
- import { defineProps, ref, computed, getCurrentInstance } from 'vue'
50
+ import { ref, computed, getCurrentInstance } from 'vue'
51
51
 
52
52
  const localOpened = ref(null)
53
53
 
@@ -13,7 +13,7 @@
13
13
  </template>
14
14
 
15
15
  <script setup>
16
- import { defineProps, computed } from 'vue'
16
+ import { computed } from 'vue'
17
17
 
18
18
  const props = defineProps({
19
19
  icon: {
@@ -16,7 +16,6 @@
16
16
  </template>
17
17
 
18
18
  <script setup>
19
- import { defineProps, defineEmits } from 'vue'
20
19
 
21
20
  const emit = defineEmits(['click'])
22
21
 
@@ -29,7 +29,6 @@
29
29
  </template>
30
30
 
31
31
  <script setup>
32
- import { defineProps } from 'vue'
33
32
 
34
33
  defineProps({
35
34
  text: {
@@ -8,7 +8,6 @@
8
8
  </template>
9
9
 
10
10
  <script setup>
11
- import { defineProps } from 'vue'
12
11
  defineProps({
13
12
  icon: {
14
13
  type: String,
@@ -13,7 +13,7 @@
13
13
 
14
14
  <script setup>
15
15
  import PsProgressBar from './PsProgressBar.vue'
16
- import { defineProps, computed } from 'vue'
16
+ import { computed } from 'vue'
17
17
 
18
18
  const props = defineProps({
19
19
  value: {
@@ -10,7 +10,7 @@
10
10
  </template>
11
11
 
12
12
  <script setup>
13
- import { defineProps, computed } from 'vue'
13
+ import { computed } from 'vue'
14
14
 
15
15
  const props = defineProps({
16
16
  date: {
@@ -9,7 +9,7 @@
9
9
  </template>
10
10
 
11
11
  <script setup>
12
- import { defineProps, computed, defineEmits } from 'vue'
12
+ import { computed } from 'vue'
13
13
 
14
14
  const emit = defineEmits(['click'])
15
15
 
@@ -18,7 +18,7 @@
18
18
  </template>
19
19
 
20
20
  <script setup>
21
- import { defineProps, computed } from 'vue'
21
+ import { computed } from 'vue'
22
22
 
23
23
  const props = defineProps({
24
24
  width: {
@@ -8,7 +8,7 @@
8
8
  </template>
9
9
 
10
10
  <script setup>
11
- import { defineProps, computed } from 'vue'
11
+ import { computed } from 'vue'
12
12
 
13
13
  const props = defineProps({})
14
14
 
@@ -20,7 +20,6 @@
20
20
  </template>
21
21
 
22
22
  <script setup>
23
- import { defineProps } from 'vue'
24
23
  import PsIcon from '../ui/PsIcon.vue'
25
24
 
26
25
  defineProps({
@@ -38,7 +38,7 @@
38
38
  </template>
39
39
 
40
40
  <script setup>
41
- import { computed, ref, defineEmits } from 'vue'
41
+ import { computed, ref, } from 'vue'
42
42
 
43
43
  const isHover = ref(false)
44
44
 
@@ -33,7 +33,7 @@
33
33
  </template>
34
34
 
35
35
  <script setup>
36
- import { defineProps, defineEmits, computed, useAttrs } from 'vue'
36
+ import { computed, useAttrs } from 'vue'
37
37
 
38
38
  import { randomString } from '../../util/GeneralFunctions.js'
39
39
 
@@ -21,7 +21,7 @@
21
21
  </template>
22
22
 
23
23
  <script setup>
24
- import { computed, defineEmits } from 'vue'
24
+ import { computed } from 'vue'
25
25
  import { randomString } from '../../util/GeneralFunctions.js'
26
26
 
27
27
  const props = defineProps({
@@ -54,7 +54,7 @@
54
54
  <script setup>
55
55
  //FIGMA CONTROLS & SELECTORS https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=1768%3A64852
56
56
  import { randomString } from '../../util/GeneralFunctions.js'
57
- import { defineProps, defineEmits, computed, useAttrs } from 'vue'
57
+ import { computed, useAttrs } from 'vue'
58
58
 
59
59
  const emit = defineEmits(['change', 'click'])
60
60
 
@@ -86,7 +86,6 @@
86
86
  </template>
87
87
 
88
88
  <script setup>
89
- import { defineProps, defineEmits } from 'vue'
90
89
 
91
90
  const emit = defineEmits([
92
91
  'drag-start-group',
@@ -106,6 +105,7 @@ defineProps({
106
105
  */
107
106
  getColumns: {
108
107
  type: Object,
108
+ default: () => ({})
109
109
  },
110
110
  /**
111
111
  * It sets the module which will be used to set getters and actions.
@@ -65,7 +65,6 @@
65
65
  </template>
66
66
 
67
67
  <script setup>
68
- import { defineProps, defineEmits } from 'vue'
69
68
 
70
69
  const emit = defineEmits(['keydown-up', 'keydown-down', 'keydown-enter', 'keydown-tab', 'keydown-esc', 'mouse-leave', 'input', 'focus', 'blur', 'click'])
71
70
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  <script setup>
21
21
  //FIGMA CONTROLS & SELECTORS https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=1768%3A64852
22
- import { defineProps, computed, defineEmits } from 'vue'
22
+ import { computed } from 'vue'
23
23
 
24
24
  const props = defineProps({
25
25
  inputId: {
@@ -27,7 +27,7 @@
27
27
 
28
28
  <script setup>
29
29
  import { randomString } from '../../util/GeneralFunctions.js'
30
- import { defineProps, computed, useAttrs, defineEmits } from 'vue'
30
+ import { computed, useAttrs } from 'vue'
31
31
 
32
32
  const emit = defineEmits(['change'])
33
33
 
@@ -80,7 +80,7 @@
80
80
  </template>
81
81
 
82
82
  <script setup>
83
- import { defineProps, computed, ref, watch, onUnmounted, onMounted } from 'vue'
83
+ import { computed, ref, watch, onUnmounted, onMounted } from 'vue'
84
84
 
85
85
  const props = defineProps({
86
86
  layout: {
@@ -17,7 +17,7 @@
17
17
 
18
18
  <script setup>
19
19
  //FIGMA CONTROLS & SELECTORS https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=1768%3A64852
20
- import { defineProps, defineEmits, computed } from 'vue'
20
+ import { computed } from 'vue'
21
21
 
22
22
  const emit = defineEmits('change', 'update:value')
23
23
 
@@ -17,7 +17,6 @@
17
17
 
18
18
  <script setup>
19
19
  //FIGMA CONTROLS & SELECTORS https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=1768%3A64852
20
- import { defineProps, defineEmits } from 'vue'
21
20
 
22
21
  const emit = defineEmits(['change', 'update:selected'])
23
22
 
@@ -15,7 +15,6 @@
15
15
  </template>
16
16
 
17
17
  <script setup>
18
- import { defineProps } from 'vue'
19
18
 
20
19
  defineProps({
21
20
  showNumber: {
@@ -38,7 +38,7 @@
38
38
  </template>
39
39
 
40
40
  <script setup>
41
- import { defineProps, computed } from 'vue'
41
+ import { computed } from 'vue'
42
42
 
43
43
  const props = defineProps({
44
44
  type: {
@@ -35,7 +35,6 @@
35
35
  </template>
36
36
 
37
37
  <script setup>
38
- import { defineProps } from 'vue'
39
38
 
40
39
  defineProps({
41
40
  data: {
@@ -51,7 +51,7 @@
51
51
 
52
52
  import { randomString, getParentScrollableEl } from '../../util/GeneralFunctions.js'
53
53
 
54
- import { defineProps, ref, onBeforeUnmount, defineEmits, defineExpose } from 'vue'
54
+ import { ref, onBeforeUnmount, defineEmits, defineExpose } from 'vue'
55
55
 
56
56
  defineExpose({
57
57
  close:() => close()
@@ -54,7 +54,7 @@
54
54
 
55
55
  <script setup>
56
56
  import PsIcon from '../ui/PsIcon.vue'
57
- import { defineProps, ref, computed, defineEmits } from 'vue'
57
+ import { ref, computed, defineEmits } from 'vue'
58
58
 
59
59
  const props = defineProps({
60
60
  /**
@@ -55,7 +55,6 @@
55
55
  class="material-icons psui-text-red-20 material-icons-sharp"
56
56
  >error</span>
57
57
  <slot
58
- v-else
59
58
  name="append"
60
59
  />
61
60
  </div>
@@ -72,7 +71,7 @@
72
71
 
73
72
  <script setup>
74
73
  import PsRichTooltip from '../tooltip/PsRichTooltip.vue'
75
- import { defineProps, ref, computed, useAttrs, defineEmits } from 'vue'
74
+ import { ref, computed, useAttrs, defineEmits } from 'vue'
76
75
 
77
76
  const props = defineProps({
78
77
  /**
@@ -38,7 +38,7 @@
38
38
  </template>
39
39
 
40
40
  <script setup>
41
- import { defineProps, ref, computed, defineEmits } from 'vue'
41
+ import { ref, computed, defineEmits } from 'vue'
42
42
 
43
43
  const props = defineProps({
44
44
  /**
@@ -32,7 +32,7 @@
32
32
  </template>
33
33
 
34
34
  <script setup>
35
- import { defineProps, defineEmits } from 'vue'
35
+ import { defineEmits } from 'vue'
36
36
 
37
37
  defineProps({
38
38
  /**
@@ -44,7 +44,6 @@
44
44
 
45
45
  <script setup>
46
46
  import PsIcon from '../ui/PsIcon.vue'
47
- import { defineProps, defineEmits } from 'vue'
48
47
 
49
48
  defineProps({
50
49
  /**
@@ -31,7 +31,7 @@
31
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
33
 
34
- import { defineProps, defineEmits, computed } from 'vue'
34
+ import { computed } from 'vue'
35
35
 
36
36
  const props = defineProps({
37
37
  /**
@@ -24,7 +24,6 @@
24
24
 
25
25
  <script setup>
26
26
  import PsIcon from '../ui/PsIcon.vue'
27
- import { defineProps, defineEmits } from 'vue'
28
27
 
29
28
  defineProps({
30
29
  message: {
@@ -14,7 +14,7 @@
14
14
  </template>
15
15
 
16
16
  <script setup>
17
- import { defineProps, computed } from 'vue'
17
+ import { computed } from 'vue'
18
18
 
19
19
  const props = defineProps({
20
20
  /**
@@ -350,7 +350,7 @@ import PsTooltip from '../tooltip/PsTooltip.vue'
350
350
  import PsSwitch from '../controls/PsSwitch.vue'
351
351
  import tailwindConfig from '../../../tailwind.config'
352
352
 
353
- import { defineProps, ref, computed, watch, onMounted, onBeforeUnmount, defineEmits, getCurrentInstance } from 'vue'
353
+ import { ref, computed, watch, onMounted, onBeforeUnmount, defineEmits, getCurrentInstance } from 'vue'
354
354
 
355
355
  const props = defineProps({
356
356
  /**
@@ -23,7 +23,7 @@
23
23
  </template>
24
24
 
25
25
  <script setup>
26
- import { defineProps, computed } from 'vue'
26
+ import { computed } from 'vue'
27
27
 
28
28
  const props = defineProps({
29
29
  /**
@@ -90,7 +90,7 @@
90
90
 
91
91
  <script setup>
92
92
  import PsIcon from '../ui/PsIcon.vue'
93
- import { defineProps, computed, defineEmits, getCurrentInstance } from 'vue'
93
+ import { computed, defineEmits, getCurrentInstance } from 'vue'
94
94
 
95
95
  defineProps({
96
96
  /**
@@ -85,7 +85,7 @@
85
85
 
86
86
  <script setup>
87
87
  import PsIcon from '../ui/PsIcon.vue'
88
- import { defineProps, computed, defineEmits, getCurrentInstance } from 'vue'
88
+ import { computed, defineEmits, getCurrentInstance } from 'vue'
89
89
 
90
90
  defineProps({
91
91
  /**
@@ -78,7 +78,7 @@
78
78
  <script setup>
79
79
  import PsIcon from '../ui/PsIcon.vue'
80
80
 
81
- import { defineEmits, computed, defineProps, getCurrentInstance } from 'vue'
81
+ import { computed, getCurrentInstance } from 'vue'
82
82
 
83
83
  defineProps({
84
84
  /**
@@ -25,7 +25,7 @@
25
25
  </template>
26
26
 
27
27
  <script setup>
28
- import { defineProps, computed } from 'vue'
28
+ import { computed } from 'vue'
29
29
 
30
30
  const props = defineProps({
31
31
  /**
@@ -38,7 +38,7 @@
38
38
 
39
39
  <script setup>
40
40
  import PsRichTooltip from '../tooltip/PsRichTooltip.vue'
41
- import { defineProps, computed, defineEmits } from 'vue'
41
+ import { computed, defineEmits } from 'vue'
42
42
 
43
43
  const props = defineProps({
44
44
  /**
@@ -43,7 +43,7 @@
43
43
  </template>
44
44
 
45
45
  <script setup>
46
- import { defineProps, defineEmits, computed, ref, onMounted, onBeforeUnmount } from 'vue'
46
+ import { computed, ref, onMounted, onBeforeUnmount } from 'vue'
47
47
 
48
48
  const props = defineProps({
49
49
  /**
@@ -18,7 +18,6 @@
18
18
 
19
19
  <script setup>
20
20
  import PsTooltip from '../tooltip/PsTooltip.vue'
21
- import { defineProps } from 'vue'
22
21
 
23
22
  defineProps({
24
23
  /**
@@ -40,7 +40,7 @@
40
40
  </template>
41
41
 
42
42
  <script setup>
43
- import { defineProps, defineEmits, ref, computed, onMounted, onBeforeUnmount } from 'vue'
43
+ import { ref, computed, onMounted, onBeforeUnmount } from 'vue'
44
44
 
45
45
  const props = defineProps({
46
46
  /**
@@ -28,7 +28,7 @@
28
28
  import tailwindConfig from '../../../tailwind.config.js'
29
29
  import imageLoader from '../../util/imageLoader.js'
30
30
 
31
- import { defineProps, ref, computed, watch, onMounted } from 'vue'
31
+ import { ref, computed, watch, onMounted } from 'vue'
32
32
 
33
33
  const props = defineProps({
34
34
  /**