Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,9 @@ For the `NcSelect` component, all events will be passed through. Please see the
</template>

<script>
import NcColorPicker from '../NcColorPicker/index.js'
import NcDateTimePicker from '../NcDateTimePicker/index.js'
import { defineAsyncComponent } from 'vue'
import NcDateTimePickerNative from '../NcDateTimePickerNative/index.js'
import NcPasswordField from '../NcPasswordField/index.js'
import NcSelect from '../NcSelect/index.js'
import NcTextField from '../NcTextField/index.js'
import ActionGlobalMixin from '../../mixins/actionGlobal.js'
import GenRandomId from '../../utils/GenRandomId.js'
Expand All @@ -263,12 +261,13 @@ export default {
name: 'NcActionInput',

components: {
NcColorPicker,
NcDateTimePicker,
NcDateTimePickerNative,
NcPasswordField,
NcSelect,
NcTextField,
// Lazy load components with more than 50kB bundle size impact
NcColorPicker: defineAsyncComponent(() => import('../NcColorPicker/index.js')),
NcDateTimePicker: defineAsyncComponent(() => import('../NcDateTimePicker/index.js')),
NcSelect: defineAsyncComponent(() => import('../NcSelect/index.js')),
},

mixins: [ActionGlobalMixin],
Expand Down
Loading