@iqual/nuxt-icms 1.5.8 → 1.5.10
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/components/Drupal/Webform/index.vue +1 -1
- package/components/Form/SelectInput.vue +15 -3
- package/components/Form/TextAreaInput.vue +15 -3
- package/components/Form/TextEmailInput.vue +12 -0
- package/components/Form/TextInput.vue +12 -0
- package/components/Form/TextPhoneInput.vue +12 -0
- package/package.json +1 -1
|
@@ -389,9 +389,21 @@ const hasSelectedValue = computed(() => {
|
|
|
389
389
|
"
|
|
390
390
|
:for="formElement.metadata.key"
|
|
391
391
|
>
|
|
392
|
-
<span :class="selectFloatingLabelText({ colorScheme })">
|
|
393
|
-
formElement.metadata.title
|
|
394
|
-
|
|
392
|
+
<span :class="selectFloatingLabelText({ colorScheme })">
|
|
393
|
+
{{ formElement.metadata.title }}
|
|
394
|
+
<template v-if="formElement.metadata.required">
|
|
395
|
+
<span
|
|
396
|
+
:class="
|
|
397
|
+
themedClass(
|
|
398
|
+
'floatingLabelRequiredStarClass',
|
|
399
|
+
'ml-0.5 inline-block text-red-600',
|
|
400
|
+
)
|
|
401
|
+
"
|
|
402
|
+
>
|
|
403
|
+
*
|
|
404
|
+
</span>
|
|
405
|
+
</template>
|
|
406
|
+
</span>
|
|
395
407
|
</label>
|
|
396
408
|
</div>
|
|
397
409
|
</UFormField>
|
|
@@ -228,9 +228,21 @@ const floatingLabelText = tv({
|
|
|
228
228
|
"
|
|
229
229
|
:for="formElement.metadata.key"
|
|
230
230
|
>
|
|
231
|
-
<span :class="floatingLabelText({ colorScheme })">
|
|
232
|
-
formElement.metadata.title
|
|
233
|
-
|
|
231
|
+
<span :class="floatingLabelText({ colorScheme })">
|
|
232
|
+
{{ formElement.metadata.title }}
|
|
233
|
+
<template v-if="formElement.metadata.required">
|
|
234
|
+
<span
|
|
235
|
+
:class="
|
|
236
|
+
themedClass(
|
|
237
|
+
'floatingLabelRequiredStarClass',
|
|
238
|
+
'ml-0.5 inline-block text-red-600',
|
|
239
|
+
)
|
|
240
|
+
"
|
|
241
|
+
>
|
|
242
|
+
*
|
|
243
|
+
</span>
|
|
244
|
+
</template>
|
|
245
|
+
</span>
|
|
234
246
|
</label>
|
|
235
247
|
</div>
|
|
236
248
|
</UFormField>
|
|
@@ -204,6 +204,18 @@ const floatingLabelText = tv({
|
|
|
204
204
|
>
|
|
205
205
|
<span :class="floatingLabelText({ colorScheme })">
|
|
206
206
|
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
207
219
|
</span>
|
|
208
220
|
</label>
|
|
209
221
|
</UInput>
|
|
@@ -204,6 +204,18 @@ const floatingLabelText = tv({
|
|
|
204
204
|
>
|
|
205
205
|
<span :class="floatingLabelText({ colorScheme })">
|
|
206
206
|
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
207
219
|
</span>
|
|
208
220
|
</label>
|
|
209
221
|
</UInput>
|
|
@@ -204,6 +204,18 @@ const floatingLabelText = tv({
|
|
|
204
204
|
>
|
|
205
205
|
<span :class="floatingLabelText({ colorScheme })">
|
|
206
206
|
{{ formElement.metadata.title }}
|
|
207
|
+
<template v-if="formElement.metadata.required">
|
|
208
|
+
<span
|
|
209
|
+
:class="
|
|
210
|
+
themedClass(
|
|
211
|
+
'floatingLabelRequiredStarClass',
|
|
212
|
+
'ml-0.5 inline-block text-red-600',
|
|
213
|
+
)
|
|
214
|
+
"
|
|
215
|
+
>
|
|
216
|
+
*
|
|
217
|
+
</span>
|
|
218
|
+
</template>
|
|
207
219
|
</span>
|
|
208
220
|
</label>
|
|
209
221
|
</UInput>
|