Refactor #3965 - Update for unstyled prop
parent
5b450d2ecc
commit
3150ddab19
|
@ -93,6 +93,7 @@
|
||||||
@column-drop="onColumnHeaderDrop($event)"
|
@column-drop="onColumnHeaderDrop($event)"
|
||||||
@column-resizestart="onColumnResizeStart($event)"
|
@column-resizestart="onColumnResizeStart($event)"
|
||||||
@checkbox-change="toggleRowsWithCheckbox($event)"
|
@checkbox-change="toggleRowsWithCheckbox($event)"
|
||||||
|
:unstyled="unstyled"
|
||||||
:pt="pt"
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
<DTTableBody
|
<DTTableBody
|
||||||
|
@ -149,6 +150,8 @@
|
||||||
@row-edit-cancel="onRowEditCancel($event)"
|
@row-edit-cancel="onRowEditCancel($event)"
|
||||||
:editingMeta="d_editingMeta"
|
:editingMeta="d_editingMeta"
|
||||||
@editing-meta-change="onEditingMetaChange"
|
@editing-meta-change="onEditingMetaChange"
|
||||||
|
:unstyled="unstyled"
|
||||||
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
<DTTableBody
|
<DTTableBody
|
||||||
ref="bodyRef"
|
ref="bodyRef"
|
||||||
|
@ -205,6 +208,7 @@
|
||||||
@row-edit-cancel="onRowEditCancel($event)"
|
@row-edit-cancel="onRowEditCancel($event)"
|
||||||
:editingMeta="d_editingMeta"
|
:editingMeta="d_editingMeta"
|
||||||
@editing-meta-change="onEditingMetaChange"
|
@editing-meta-change="onEditingMetaChange"
|
||||||
|
:unstyled="unstyled"
|
||||||
:pt="pt"
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
<tbody
|
<tbody
|
||||||
|
|
|
@ -73,8 +73,9 @@
|
||||||
@constraint-add="$emit('constraint-add', $event)"
|
@constraint-add="$emit('constraint-add', $event)"
|
||||||
@constraint-remove="$emit('constraint-remove', $event)"
|
@constraint-remove="$emit('constraint-remove', $event)"
|
||||||
@apply-click="$emit('apply-click', $event)"
|
@apply-click="$emit('apply-click', $event)"
|
||||||
:pt="pt"
|
|
||||||
:column="column"
|
:column="column"
|
||||||
|
:unstyled="unstyled"
|
||||||
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
@row-edit-save="onRowEditSave($event)"
|
@row-edit-save="onRowEditSave($event)"
|
||||||
@row-edit-cancel="onRowEditCancel($event)"
|
@row-edit-cancel="onRowEditCancel($event)"
|
||||||
@editing-meta-change="onEditingMetaChange"
|
@editing-meta-change="onEditingMetaChange"
|
||||||
|
:unstyled="unstyled"
|
||||||
:pt="pt"
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -84,8 +84,9 @@
|
||||||
@constraint-add="$emit('constraint-add', $event)"
|
@constraint-add="$emit('constraint-add', $event)"
|
||||||
@constraint-remove="$emit('constraint-remove', $event)"
|
@constraint-remove="$emit('constraint-remove', $event)"
|
||||||
@apply-click="$emit('apply-click', $event)"
|
@apply-click="$emit('apply-click', $event)"
|
||||||
:pt="pt"
|
|
||||||
:column="col"
|
:column="col"
|
||||||
|
:unstyled="unstyled"
|
||||||
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
</th>
|
</th>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
<slot name="content" :files="files" :uploadedFiles="uploadedFiles" :removeUploadedFileCallback="removeUploadedFile" :removeFileCallback="remove" :progress="progress" :messages="messages">
|
<slot name="content" :files="files" :uploadedFiles="uploadedFiles" :removeUploadedFileCallback="removeUploadedFile" :removeFileCallback="remove" :progress="progress" :messages="messages">
|
||||||
<FileUploadProgressBar v-if="hasFiles" :value="progress" :showValue="false" :unstyled="unstyled" :pt="ptm('progressbar')" />
|
<FileUploadProgressBar v-if="hasFiles" :value="progress" :showValue="false" :unstyled="unstyled" :pt="ptm('progressbar')" />
|
||||||
<FileUploadMessage v-for="msg of messages" :key="msg" severity="error" @close="onMessageClose" :unstyled="unstyled" :pt="ptm('message')">{{ msg }}</FileUploadMessage>
|
<FileUploadMessage v-for="msg of messages" :key="msg" severity="error" @close="onMessageClose" :unstyled="unstyled" :pt="ptm('message')">{{ msg }}</FileUploadMessage>
|
||||||
<FileContent v-if="hasFiles" :files="files" @remove="remove" :badgeValue="pendingLabel" :previewWidth="previewWidth" :templates="$slots" :pt="pt" />
|
<FileContent v-if="hasFiles" :files="files" @remove="remove" :badgeValue="pendingLabel" :previewWidth="previewWidth" :templates="$slots" :unstyled="unstyled" :pt="pt" />
|
||||||
<FileContent :files="uploadedFiles" @remove="removeUploadedFile" :badgeValue="completedLabel" badgeSeverity="success" :previewWidth="previewWidth" :templates="$slots" :pt="pt" />
|
<FileContent :files="uploadedFiles" @remove="removeUploadedFile" :badgeValue="completedLabel" badgeSeverity="success" :previewWidth="previewWidth" :templates="$slots" :unstyled="unstyled" :pt="pt" />
|
||||||
</slot>
|
</slot>
|
||||||
<div v-if="$slots.empty && !hasFiles && !hasUploadedFiles" :class="cx('empty')" v-bind="ptm('empty')">
|
<div v-if="$slots.empty && !hasFiles && !hasUploadedFiles" :class="cx('empty')" v-bind="ptm('empty')">
|
||||||
<slot name="empty"></slot>
|
<slot name="empty"></slot>
|
||||||
|
|
|
@ -29,10 +29,20 @@
|
||||||
:options="rowsPerPageOptions"
|
:options="rowsPerPageOptions"
|
||||||
@rows-change="onRowChange($event)"
|
@rows-change="onRowChange($event)"
|
||||||
:disabled="empty"
|
:disabled="empty"
|
||||||
|
:unstyled="unstyled"
|
||||||
:pt="pt"
|
:pt="pt"
|
||||||
/>
|
/>
|
||||||
<JumpToPageDropdown v-else-if="item === 'JumpToPageDropdown'" :aria-label="getAriaLabel('jumpToPageDropdownLabel')" :page="page" :pageCount="pageCount" @page-change="changePage($event)" :disabled="empty" :pt="pt" />
|
<JumpToPageDropdown
|
||||||
<JumpToPageInput v-else-if="item === 'JumpToPageInput'" :page="currentPage" @page-change="changePage($event)" :disabled="empty" :pt="pt" />
|
v-else-if="item === 'JumpToPageDropdown'"
|
||||||
|
:aria-label="getAriaLabel('jumpToPageDropdownLabel')"
|
||||||
|
:page="page"
|
||||||
|
:pageCount="pageCount"
|
||||||
|
@page-change="changePage($event)"
|
||||||
|
:disabled="empty"
|
||||||
|
:unstyled="unstyled"
|
||||||
|
:pt="pt"
|
||||||
|
/>
|
||||||
|
<JumpToPageInput v-else-if="item === 'JumpToPageInput'" :page="currentPage" @page-change="changePage($event)" :disabled="empty" :unstyled="unstyled" :pt="pt" />
|
||||||
</template>
|
</template>
|
||||||
<div v-if="$slots.end" :class="cx('end')" v-bind="ptm('end')">
|
<div v-if="$slots.end" :class="cx('end')" v-bind="ptm('end')">
|
||||||
<slot name="end" :state="currentState"></slot>
|
<slot name="end" :state="currentState"></slot>
|
||||||
|
|
Loading…
Reference in New Issue