|
|
|
@ -210,7 +210,7 @@ onUnmounted(() => {
|
|
|
|
|
> |
|
|
|
|
<template v-if="column"> |
|
|
|
|
<template v-if="intersected"> |
|
|
|
|
<LazyCellTextArea v-if="isTextArea(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellTextArea v-if="isTextArea(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellGeoData v-else-if="isGeoData(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellCheckbox v-else-if="isBoolean(column, abstractType)" v-model="vModel" /> |
|
|
|
|
<LazyCellAttachment v-else-if="isAttachment(column)" v-model="vModel" :row-index="props.rowIndex" /> |
|
|
|
@ -236,18 +236,18 @@ onUnmounted(() => {
|
|
|
|
|
/> |
|
|
|
|
<LazyCellTimePicker v-else-if="isTime(column, abstractType)" v-model="vModel" :is-pk="isPrimaryKey(column)" /> |
|
|
|
|
<LazyCellRating v-else-if="isRating(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellDuration v-else-if="isDuration(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellEmail v-else-if="isEmail(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellUrl v-else-if="isURL(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellPhoneNumber v-else-if="isPhoneNumber(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellPercent v-else-if="isPercent(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellCurrency v-else-if="isCurrency(column)" v-model="vModel" :is-focus="!isEditColumnMenu" @save="emit('save')" /> |
|
|
|
|
<LazyCellDecimal v-else-if="isDecimal(column)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellInteger v-else-if="isInt(column, abstractType)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellFloat v-else-if="isFloat(column, abstractType)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellText v-else-if="isString(column, abstractType)" v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellDuration v-else-if="isDuration(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellEmail v-else-if="isEmail(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellUrl v-else-if="isURL(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellPhoneNumber v-else-if="isPhoneNumber(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellPercent v-else-if="isPercent(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellCurrency v-else-if="isCurrency(column)" v-model="vModel" @save="emit('save')" /> |
|
|
|
|
<LazyCellDecimal v-else-if="isDecimal(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellFloat v-else-if="isFloat(column, abstractType)" v-model="vModel" /> |
|
|
|
|
<LazyCellText v-else-if="isString(column, abstractType)" v-model="vModel" /> |
|
|
|
|
<LazyCellInteger v-else-if="isInt(column, abstractType)" v-model="vModel" /> |
|
|
|
|
<LazyCellJson v-else-if="isJSON(column)" v-model="vModel" /> |
|
|
|
|
<LazyCellText v-else v-model="vModel" :is-focus="!isEditColumnMenu" /> |
|
|
|
|
<LazyCellText v-else v-model="vModel" /> |
|
|
|
|
<div |
|
|
|
|
v-if="(isLocked || (isPublic && readOnly && !isForm) || isSystemColumn(column)) && !isAttachment(column)" |
|
|
|
|
class="nc-locked-overlay" |
|
|
|
|