|
|
|
@ -30,7 +30,7 @@
|
|
|
|
v-for="(icon, type) in fieldIconsSorted"
|
|
|
|
v-for="(icon, type) in fieldIconsSorted"
|
|
|
|
:key="type"
|
|
|
|
:key="type"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<li v-if="fieldTypes.includes(type) || ((withPhone || type != 'phone') && (withPayment || type != 'payment') && (withVerification || type != 'verification'))">
|
|
|
|
<li v-if="['text', 'signature', 'initials', 'date', 'checkbox', 'multiple', 'radio', 'select'].includes(type)">
|
|
|
|
<a
|
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
href="#"
|
|
|
|
class="text-sm py-1 px-2"
|
|
|
|
class="text-sm py-1 px-2"
|
|
|
|
@ -55,7 +55,7 @@ import { IconTextSize, IconWritingSign, IconCalendarEvent, IconPhoto, IconCheckb
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'FiledTypeDropdown',
|
|
|
|
name: 'FiledTypeDropdown',
|
|
|
|
inject: ['withPhone', 'withPayment', 'withVerification', 't', 'fieldTypes'],
|
|
|
|
inject: ['withPhone', 'withPayment', 'withVerification', 'withStamp', 't', 'fieldTypes'],
|
|
|
|
props: {
|
|
|
|
props: {
|
|
|
|
modelValue: {
|
|
|
|
modelValue: {
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
|