score:0

it looks like you are imported in your module smarttabledatepickermodule, however, you have not imported import { owldatetimemodule, owlnativedatetimemodule } from 'ng-pick-datetime'; into your component:

your-component.ts

import { component, changedetectionstrategy } from '@angular/core';
.............
import { owldatetimemodule, owlnativedatetimemodule } from 'ng-pick-datetime';
import {browseranimationsmodule} from '@angular/platform-browser/animations';

@component({
selector: 'foocomponent',
templateurl: 'your-component.html',
changedetection: changedetectionstrategy.onpush
})
export class yourcomponent{

public datetime: date;
}

update:

if this module is used in other modules, then you need to give a way to use their code into other libraries. so just export them:

@ngmodule({
  declarations: [smarttabledatepickercomponent],
  imports: [
    commonmodule,
    owldatetimemodule,
    owlnativedatetimemodule,
  ],
  exports: [
    smarttabledatepickerrendercomponent,
    smarttabledatepickercomponent,
    owldatetimemodule,
    owlnativedatetimemodule,
  ]
})
export class smarttabledatepickermodule { }

Related Query

More Query from same tag