pgo-ui 1.1.78 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgo-ui",
3
- "version": "1.1.78",
3
+ "version": "1.1.80",
4
4
  "description": "A Vue 3 component library with PGO design system",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <bdi v-tooltip="{en: 'Copy', dv: 'ކޮޕީ'}" :class="['cursor-pointer eng-font hover:text-[color:var(--vts-color-text)] font-normal ',]" @click="handleChipClick">
2
+ <bdi v-if="text" v-tooltip="{en: 'Copy', dv: 'ކޮޕީ'}" :class="['cursor-pointer eng-font hover:text-[color:var(--vts-color-text)] font-normal ',]" @click="handleChipClick">
3
3
  {{ text }}
4
4
  </bdi>
5
5
  </template>
@@ -480,7 +480,9 @@
480
480
  <div v-else-if="header.displayType == 'custom'" :class="['text-base', cellText]">
481
481
  <template v-if="getCustomColumnData(header, item)?.type === 'CopyTextBox'">
482
482
  <div class="flex flex-wrap items-center gap-1 justify-end eng-font">
483
- <CopyTextBox v-for="(chip, idx) in getCustomColumnData(header, item).CopyTextBox" :key="idx" v-bind="chip" />
483
+ <template v-for="(chip, idx) in getCustomColumnData(header, item).CopyTextBox" :key="idx">
484
+ <CopyTextBox v-if="chip.text != null && chip.text !== ''" v-bind="chip" />
485
+ </template>
484
486
  </div>
485
487
  </template>
486
488
  <div v-else v-html="getCustomColumnData(header, item)" />
@@ -12,7 +12,7 @@ import { ref, computed, watch } from 'vue'
12
12
  import Modal from '../../components/pgo/Modal.vue'
13
13
 
14
14
  const props = defineProps({
15
- modelValue: { type: Boolean, default: false },
15
+ modelValue: { type: Boolean, default: true },
16
16
  config: { type: [String, Array, Object] },
17
17
  item: { type: [String, Array, Object] },
18
18
  dir: { type: String },
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-rKwG79VJ.js";
2
- export {
3
- f as default
4
- };