@policystudio/policy-studio-ui-vue 1.1.77 → 1.1.80

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.
@@ -2446,7 +2446,7 @@ video {
2446
2446
  }
2447
2447
 
2448
2448
  .psui-el-table-results.layout-flexible thead tr:first-of-type th:first-child > div {
2449
- max-width: 598px;
2449
+ min-width: 598px;
2450
2450
  }
2451
2451
 
2452
2452
  .psui-el-table-results.layout-flexible thead tr:first-of-type th > div {
@@ -2671,6 +2671,7 @@ video {
2671
2671
 
2672
2672
  .psui-el-table-results.layout-flexible tbody tr.is-first.removed-class td:first-child {
2673
2673
  position: sticky;
2674
+ min-width: 330px;
2674
2675
  }
2675
2676
 
2676
2677
  .psui-el-table-results.layout-flexible tbody tr.is-first.removed-class td:first-child:after {
@@ -3416,6 +3417,7 @@ video {
3416
3417
  transition-property: all;
3417
3418
  transition-duration: 100ms;
3418
3419
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
3420
+ overflow: auto;
3419
3421
  }
3420
3422
 
3421
3423
  .psui-el-dropdown-menu-dialog-wrapper-dialog {
@@ -18963,6 +18965,13 @@ video {
18963
18965
  left: -1rem;
18964
18966
  }
18965
18967
 
18968
+ .psui--inset-2{
18969
+ top: -0.5rem;
18970
+ right: -0.5rem;
18971
+ bottom: -0.5rem;
18972
+ left: -0.5rem;
18973
+ }
18974
+
18966
18975
  .psui-inset-y-0{
18967
18976
  top: 0;
18968
18977
  bottom: 0;
@@ -18993,6 +19002,16 @@ video {
18993
19002
  left: -1rem;
18994
19003
  }
18995
19004
 
19005
+ .psui--inset-y-2{
19006
+ top: -0.5rem;
19007
+ bottom: -0.5rem;
19008
+ }
19009
+
19010
+ .psui--inset-x-2{
19011
+ right: -0.5rem;
19012
+ left: -0.5rem;
19013
+ }
19014
+
18996
19015
  .psui-top-0{
18997
19016
  top: 0;
18998
19017
  }
@@ -19041,6 +19060,22 @@ video {
19041
19060
  left: -1rem;
19042
19061
  }
19043
19062
 
19063
+ .psui--top-2{
19064
+ top: -0.5rem;
19065
+ }
19066
+
19067
+ .psui--right-2{
19068
+ right: -0.5rem;
19069
+ }
19070
+
19071
+ .psui--bottom-2{
19072
+ bottom: -0.5rem;
19073
+ }
19074
+
19075
+ .psui--left-2{
19076
+ left: -0.5rem;
19077
+ }
19078
+
19044
19079
  .psui-resize-none{
19045
19080
  resize: none;
19046
19081
  }
@@ -36411,6 +36446,13 @@ html {
36411
36446
  left: -1rem;
36412
36447
  }
36413
36448
 
36449
+ .sm\:psui--inset-2{
36450
+ top: -0.5rem;
36451
+ right: -0.5rem;
36452
+ bottom: -0.5rem;
36453
+ left: -0.5rem;
36454
+ }
36455
+
36414
36456
  .sm\:psui-inset-y-0{
36415
36457
  top: 0;
36416
36458
  bottom: 0;
@@ -36441,6 +36483,16 @@ html {
36441
36483
  left: -1rem;
36442
36484
  }
36443
36485
 
36486
+ .sm\:psui--inset-y-2{
36487
+ top: -0.5rem;
36488
+ bottom: -0.5rem;
36489
+ }
36490
+
36491
+ .sm\:psui--inset-x-2{
36492
+ right: -0.5rem;
36493
+ left: -0.5rem;
36494
+ }
36495
+
36444
36496
  .sm\:psui-top-0{
36445
36497
  top: 0;
36446
36498
  }
@@ -36489,6 +36541,22 @@ html {
36489
36541
  left: -1rem;
36490
36542
  }
36491
36543
 
36544
+ .sm\:psui--top-2{
36545
+ top: -0.5rem;
36546
+ }
36547
+
36548
+ .sm\:psui--right-2{
36549
+ right: -0.5rem;
36550
+ }
36551
+
36552
+ .sm\:psui--bottom-2{
36553
+ bottom: -0.5rem;
36554
+ }
36555
+
36556
+ .sm\:psui--left-2{
36557
+ left: -0.5rem;
36558
+ }
36559
+
36492
36560
  .sm\:psui-resize-none{
36493
36561
  resize: none;
36494
36562
  }
@@ -53649,6 +53717,13 @@ html {
53649
53717
  left: -1rem;
53650
53718
  }
53651
53719
 
53720
+ .md\:psui--inset-2{
53721
+ top: -0.5rem;
53722
+ right: -0.5rem;
53723
+ bottom: -0.5rem;
53724
+ left: -0.5rem;
53725
+ }
53726
+
53652
53727
  .md\:psui-inset-y-0{
53653
53728
  top: 0;
53654
53729
  bottom: 0;
@@ -53679,6 +53754,16 @@ html {
53679
53754
  left: -1rem;
53680
53755
  }
53681
53756
 
53757
+ .md\:psui--inset-y-2{
53758
+ top: -0.5rem;
53759
+ bottom: -0.5rem;
53760
+ }
53761
+
53762
+ .md\:psui--inset-x-2{
53763
+ right: -0.5rem;
53764
+ left: -0.5rem;
53765
+ }
53766
+
53682
53767
  .md\:psui-top-0{
53683
53768
  top: 0;
53684
53769
  }
@@ -53727,6 +53812,22 @@ html {
53727
53812
  left: -1rem;
53728
53813
  }
53729
53814
 
53815
+ .md\:psui--top-2{
53816
+ top: -0.5rem;
53817
+ }
53818
+
53819
+ .md\:psui--right-2{
53820
+ right: -0.5rem;
53821
+ }
53822
+
53823
+ .md\:psui--bottom-2{
53824
+ bottom: -0.5rem;
53825
+ }
53826
+
53827
+ .md\:psui--left-2{
53828
+ left: -0.5rem;
53829
+ }
53830
+
53730
53831
  .md\:psui-resize-none{
53731
53832
  resize: none;
53732
53833
  }
@@ -70887,6 +70988,13 @@ html {
70887
70988
  left: -1rem;
70888
70989
  }
70889
70990
 
70991
+ .lg\:psui--inset-2{
70992
+ top: -0.5rem;
70993
+ right: -0.5rem;
70994
+ bottom: -0.5rem;
70995
+ left: -0.5rem;
70996
+ }
70997
+
70890
70998
  .lg\:psui-inset-y-0{
70891
70999
  top: 0;
70892
71000
  bottom: 0;
@@ -70917,6 +71025,16 @@ html {
70917
71025
  left: -1rem;
70918
71026
  }
70919
71027
 
71028
+ .lg\:psui--inset-y-2{
71029
+ top: -0.5rem;
71030
+ bottom: -0.5rem;
71031
+ }
71032
+
71033
+ .lg\:psui--inset-x-2{
71034
+ right: -0.5rem;
71035
+ left: -0.5rem;
71036
+ }
71037
+
70920
71038
  .lg\:psui-top-0{
70921
71039
  top: 0;
70922
71040
  }
@@ -70965,6 +71083,22 @@ html {
70965
71083
  left: -1rem;
70966
71084
  }
70967
71085
 
71086
+ .lg\:psui--top-2{
71087
+ top: -0.5rem;
71088
+ }
71089
+
71090
+ .lg\:psui--right-2{
71091
+ right: -0.5rem;
71092
+ }
71093
+
71094
+ .lg\:psui--bottom-2{
71095
+ bottom: -0.5rem;
71096
+ }
71097
+
71098
+ .lg\:psui--left-2{
71099
+ left: -0.5rem;
71100
+ }
71101
+
70968
71102
  .lg\:psui-resize-none{
70969
71103
  resize: none;
70970
71104
  }
@@ -88125,6 +88259,13 @@ html {
88125
88259
  left: -1rem;
88126
88260
  }
88127
88261
 
88262
+ .xl\:psui--inset-2{
88263
+ top: -0.5rem;
88264
+ right: -0.5rem;
88265
+ bottom: -0.5rem;
88266
+ left: -0.5rem;
88267
+ }
88268
+
88128
88269
  .xl\:psui-inset-y-0{
88129
88270
  top: 0;
88130
88271
  bottom: 0;
@@ -88155,6 +88296,16 @@ html {
88155
88296
  left: -1rem;
88156
88297
  }
88157
88298
 
88299
+ .xl\:psui--inset-y-2{
88300
+ top: -0.5rem;
88301
+ bottom: -0.5rem;
88302
+ }
88303
+
88304
+ .xl\:psui--inset-x-2{
88305
+ right: -0.5rem;
88306
+ left: -0.5rem;
88307
+ }
88308
+
88158
88309
  .xl\:psui-top-0{
88159
88310
  top: 0;
88160
88311
  }
@@ -88203,6 +88354,22 @@ html {
88203
88354
  left: -1rem;
88204
88355
  }
88205
88356
 
88357
+ .xl\:psui--top-2{
88358
+ top: -0.5rem;
88359
+ }
88360
+
88361
+ .xl\:psui--right-2{
88362
+ right: -0.5rem;
88363
+ }
88364
+
88365
+ .xl\:psui--bottom-2{
88366
+ bottom: -0.5rem;
88367
+ }
88368
+
88369
+ .xl\:psui--left-2{
88370
+ left: -0.5rem;
88371
+ }
88372
+
88206
88373
  .xl\:psui-resize-none{
88207
88374
  resize: none;
88208
88375
  }
@@ -105363,6 +105530,13 @@ html {
105363
105530
  left: -1rem;
105364
105531
  }
105365
105532
 
105533
+ .\32xl\:psui--inset-2{
105534
+ top: -0.5rem;
105535
+ right: -0.5rem;
105536
+ bottom: -0.5rem;
105537
+ left: -0.5rem;
105538
+ }
105539
+
105366
105540
  .\32xl\:psui-inset-y-0{
105367
105541
  top: 0;
105368
105542
  bottom: 0;
@@ -105393,6 +105567,16 @@ html {
105393
105567
  left: -1rem;
105394
105568
  }
105395
105569
 
105570
+ .\32xl\:psui--inset-y-2{
105571
+ top: -0.5rem;
105572
+ bottom: -0.5rem;
105573
+ }
105574
+
105575
+ .\32xl\:psui--inset-x-2{
105576
+ right: -0.5rem;
105577
+ left: -0.5rem;
105578
+ }
105579
+
105396
105580
  .\32xl\:psui-top-0{
105397
105581
  top: 0;
105398
105582
  }
@@ -105441,6 +105625,22 @@ html {
105441
105625
  left: -1rem;
105442
105626
  }
105443
105627
 
105628
+ .\32xl\:psui--top-2{
105629
+ top: -0.5rem;
105630
+ }
105631
+
105632
+ .\32xl\:psui--right-2{
105633
+ right: -0.5rem;
105634
+ }
105635
+
105636
+ .\32xl\:psui--bottom-2{
105637
+ bottom: -0.5rem;
105638
+ }
105639
+
105640
+ .\32xl\:psui--left-2{
105641
+ left: -0.5rem;
105642
+ }
105643
+
105444
105644
  .\32xl\:psui-resize-none{
105445
105645
  resize: none;
105446
105646
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.77",
3
+ "version": "1.1.80",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &-dialog-wrapper {
21
- @apply psui-hidden psui-origin-top-right psui-bg-white psui-fixed psui-w-auto psui-rounded-md psui-z-50 psui-opacity-0 psui-shadow-elevation-20 psui-transition-all psui-duration-100 psui-ease-in;
21
+ @apply psui-hidden psui-origin-top-right psui-bg-white psui-fixed psui-w-auto psui-rounded-md psui-z-50 psui-opacity-0 psui-shadow-elevation-20 psui-transition-all psui-duration-100 psui-ease-in psui-overflow-auto;
22
22
 
23
23
  &-dialog {
24
24
  @apply psui-w-full;
@@ -406,7 +406,7 @@
406
406
  padding-left: 0;
407
407
 
408
408
  > div {
409
- max-width: 598px;
409
+ min-width: 598px;
410
410
  }
411
411
  }
412
412
 
@@ -588,6 +588,7 @@
588
588
 
589
589
  &:first-child {
590
590
  @apply psui-sticky;
591
+ min-width: 330px;
591
592
 
592
593
  &:after {
593
594
  content: '';
@@ -202,22 +202,7 @@
202
202
  class="psui-space-x-2 psui-show-childrens-on-hover"
203
203
  :class="column.isCenteredContent ? 'psui-justify-center' : 'psui-justify-end'"
204
204
  >
205
- <PsTooltip v-if="selectedRow == item.id && columnSelectedKey == column.key && layout == 'flexible'">
206
- <template v-slot:trigger>
207
- <PsIcon
208
- icon="bar_chart"
209
- size="16"
210
- class="psui-cursor-pointer"
211
- icon-classes="psui-text-blue-60 psui-leading-none psui-transition"
212
- display="flex"
213
- @click.native="onSelectRow(item, column)"
214
- />
215
- </template>
216
- <template v-slot:content>
217
- Close projections
218
- </template>
219
- </PsTooltip>
220
- <PsTooltip v-else-if="isSelectedRow(column,item)">
205
+ <PsTooltip v-if="isSelectedRow(column,item)">
221
206
  <template v-slot:trigger>
222
207
  <PsIcon
223
208
  icon="close"
@@ -233,7 +218,9 @@
233
218
  </template>
234
219
  </PsTooltip>
235
220
 
236
- <PsTooltip v-else-if="column.hasProjections && !item.is_disabled && item.disable_projection_select !== true">
221
+ <PsTooltip v-else-if="column.hasProjections && !item.is_disabled && item.disable_projection_select !== true && layout != 'flexible' ||
222
+ column.hasProjections && item.disable_projection_select != true && item.deep != 0 && layout == 'flexible'"
223
+ >
237
224
  <template v-slot:trigger>
238
225
  <PsIcon
239
226
  icon="bar_chart"
@@ -282,11 +269,15 @@
282
269
  v-if="column.isSwitch && item.data[column.key] != null"
283
270
  class="psui-inline-flex"
284
271
  v-tooltip="{
285
- content: !item.data.is_disabled || item.is_excluded ? false : `<p class='psui-text-white psui-text-xsmall psui-font-bold'>${item.tooltip_text}</p>`,
272
+ content: item.tooltip_text ? `<p class='psui-text-white psui-text-xsmall psui-font-bold'>${item.tooltip_text}</p>` : false,
286
273
  classes: 'layout-blue'
287
274
  }"
288
275
  >
289
276
  <div class="flex psui-items-center psui-relative">
277
+ <span
278
+ v-if="item.has_flag"
279
+ class="psui-w-2 psui-h-2 psui-bg-yellow-20 psui-absolute psui--right-2 psui--top-2 psui-rounded-md"
280
+ />
290
281
  <PsSwitch
291
282
  :disabled="item.data.is_disabled"
292
283
  :value="item.data[column.key]"
@@ -596,7 +587,7 @@ export default {
596
587
  for (let i = 0; i < children.length; i++) {
597
588
  children[i].classList.add('hover-color')
598
589
  }
599
- } else {
590
+ } else if(parent) {
600
591
  parent.querySelectorAll('.hover-color').forEach(child => {
601
592
  child.classList.remove('hover-color')
602
593
  })
@@ -117,6 +117,7 @@ module.exports = {
117
117
  },
118
118
  inset:{
119
119
  '-1': '-1rem',
120
+ '-2': '-0.5rem'
120
121
  }
121
122
  },
122
123
  screens: {