| | |
| | | const cls = [ |
| | | 'flex', |
| | | 'items-center', |
| | | 'gap-3', |
| | | 'gap-2', |
| | | 'pt-2', |
| | | props.compact ? 'pb-2' : 'pb-4', |
| | | props.layout === 'vertical' ? 'self-end' : 'self-center', |
| | | props.layout === 'inline' ? '' : 'w-full', |
| | |
| | | <component |
| | | :is="COMPONENT_MAP.PrimaryButton" |
| | | v-if="submitButtonOptions.show" |
| | | class="min-w-20" |
| | | type="button" |
| | | @click="handleSubmit" |
| | | v-bind="submitButtonOptions" |
| | |
| | | <component |
| | | :is="COMPONENT_MAP.DefaultButton" |
| | | v-if="resetButtonOptions.show" |
| | | class="min-w-20" |
| | | type="button" |
| | | @click="handleReset" |
| | | v-bind="resetButtonOptions" |
| | |
| | | <component |
| | | :is="COMPONENT_MAP.PrimaryButton" |
| | | v-if="submitButtonOptions.show" |
| | | class="min-w-20" |
| | | type="button" |
| | | @click="handleSubmit" |
| | | v-bind="submitButtonOptions" |