pgo-ui 1.0.90 → 1.0.92

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.0.90",
3
+ "version": "1.0.92",
4
4
  "description": "A Vue 3 component library with PGO design system",
5
5
  "private": false,
6
6
  "type": "module",
@@ -66,7 +66,7 @@ const { language } = inject('i18n')
66
66
  overflow: { type: String },
67
67
  bg: { type: String, default: 'bg-background-color' },
68
68
  border: { type: String, default: 'border border-input-border' },
69
- rounded: { type: String, default: '' },
69
+ rounded: { type: String, default: 'sm' },
70
70
  shadow: { type: String, default: '' },
71
71
  dir: { type: String, default: '' },
72
72
  item: { type: Object, default: null },
@@ -157,7 +157,7 @@ const { language } = inject('i18n')
157
157
  case '2xl': return 'rounded-t-2xl'
158
158
  case '3xl': return 'rounded-t-3xl'
159
159
  case 'full': return 'rounded-t-full'
160
- default: return 'rounded-t-lg'
160
+ default: return 'rounded-t-sm'
161
161
  }
162
162
 
163
163
  })
@@ -170,7 +170,7 @@ const { language } = inject('i18n')
170
170
  case '2xl': return 'rounded-b-2xl'
171
171
  case '3xl': return 'rounded-b-3xl'
172
172
  case 'full': return 'rounded-b-full'
173
- default: return 'rounded-b-lg'
173
+ default: return 'rounded-b-sm'
174
174
  }
175
175
 
176
176
  })
@@ -212,7 +212,7 @@
212
212
  ]"
213
213
  >
214
214
  <template v-if="getCustomColumnData(header, item)?.type === 'CopyTextBox'">
215
- <div class="flex flex-wrap items-center gap-1">
215
+ <div :class="['flex flex-wrap items-center gap-1 font-en', header.columnView ? 'flex-col' : 'flex-row', ]">
216
216
  <template
217
217
  v-for="(chip, idx) in getCustomColumnData(header, item).CopyTextBox"
218
218
  :key="idx"
@@ -230,8 +230,8 @@
230
230
  <!-- Chip Display -->
231
231
 
232
232
  <div
233
- v-else-if="header.displayType == 'copyButton'"
234
- :class="['align-middle leading-0', getColumnFont(lang)]"
233
+ v-else-if="header.displayType == 'CopyTextBox'"
234
+ :class="['align-middle leading-0 font-en', header.columnView ? 'flex-col' : 'flex-row',]"
235
235
  >
236
236
 
237
237
  <CopyTextBox
@@ -814,7 +814,7 @@ const initializeFormData = () => {
814
814
 
815
815
  // Transition to edit mode
816
816
  formId.value = (response?.data?.uuid || response?.uuid) ?? (response?.data?.id || response?.id)
817
- // formData.id = formId.value
817
+ formData.id = response?.data?.id || response?.id
818
818
  relationId.value = response?.data?.id || response?.id
819
819
  formMode.value = 'edit' // ← trigger button swap
820
820
 
@@ -962,7 +962,7 @@ const initializeFormData = () => {
962
962
  if (response) {
963
963
  const fetchedData = response
964
964
  FormDataList.value = response || response.data || {}
965
- // formData.id = showId
965
+ formData.id = response?.data?.id || response?.id
966
966
  relationId.value = response?.data?.id || response?.id
967
967
 
968
968
  props.form.fields.forEach(field => {
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-CrirdYaB.js";
2
- export {
3
- f as default
4
- };