Browse Source

feat(gui-v2): include cell url and reorder cell text

pull/2716/head
Wing-Kam Wong 2 years ago committed by Pranav C
parent
commit
84eb4866a4
  1. 28
      packages/nc-gui-v2/components/smartsheet/Cell.vue

28
packages/nc-gui-v2/components/smartsheet/Cell.vue

@ -52,7 +52,6 @@ const {
todo : todo :
JSONCell JSONCell
Currency Currency
Url
Email Email
--> -->
@ -162,18 +161,7 @@ todo :
<!-- &lt;!&ndash; v-model="localState" v-on="parentListeners" &ndash;&gt; --> <!-- &lt;!&ndash; v-model="localState" v-on="parentListeners" &ndash;&gt; -->
<!-- &lt;!&ndash; />&ndash;&gt; --> <!-- &lt;!&ndash; />&ndash;&gt; -->
<CellText v-if="isString" v-model="localState" /> <CellCheckbox v-if="isBoolean" v-model="localState" />
<!-- v-on="parentListeners"
/>
-->
<CellTextArea v-else-if="isTextArea" v-model="localState" />
<!-- v-model="localState"
:is-form="isForm"
v-on="parentListeners"
/> -->
<CellCheckbox v-else-if="isBoolean" v-model="localState" />
<!-- &lt;!&ndash; v-model="localState" --> <!-- &lt;!&ndash; v-model="localState" -->
<!-- :column="column" --> <!-- :column="column" -->
<!-- :is-form="isForm" --> <!-- :is-form="isForm" -->
@ -200,6 +188,20 @@ todo :
v-on="$listeners" v-on="$listeners"
/> --> /> -->
<CellDuration v-else-if="isDuration" v-model="localState" /> <CellDuration v-else-if="isDuration" v-model="localState" />
<CellUrl v-else-if="isURL" v-model="localState" />
<!-- v-on="parentListeners"
/>
-->
<CellText v-else-if="isString" v-model="localState" />
<!-- v-on="parentListeners"
/>
-->
<CellTextArea v-else-if="isTextArea" v-model="localState" />
<!-- v-model="localState"
:is-form="isForm"
v-on="parentListeners"
/> -->
<CellText v-else v-model="localState" /> <CellText v-else v-model="localState" />
<!-- v-on="$listeners" <span v-if="hint" class="nc-hint">{{ hint }}</span> --> <!-- v-on="$listeners" <span v-if="hint" class="nc-hint">{{ hint }}</span> -->

Loading…
Cancel
Save