@posiwise/user-module 0.0.173 → 0.0.174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4294,7 +4294,7 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
4294
4294
  isStandalone: false,
4295
4295
  selector: "pw-ai-knowledge-tab",
4296
4296
  ngImport: i0,
4297
- template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n @if (!useOwnData) {\n <div class=\"alert alert-warning\" role=\"status\">\n <i class=\"fa fa-exclamation-triangle me-2\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.PersonalUseOwnDataOff' | transloco: { name: subscription.organisation } }}\n </div>\n }\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n",
4297
+ template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"\n [useOwnData]=\"useOwnData\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n",
4298
4298
  dependencies: [
4299
4299
  {
4300
4300
  kind: "component",
@@ -4313,7 +4313,8 @@ var AiKnowledgeTabComponent = class AiKnowledgeTabComponent {
4313
4313
  inputs: [
4314
4314
  "scope",
4315
4315
  "subscriptionId",
4316
- "subscriptionName"
4316
+ "subscriptionName",
4317
+ "useOwnData"
4317
4318
  ]
4318
4319
  },
4319
4320
  {
@@ -4345,7 +4346,7 @@ i0.ɵɵngDeclareClassMetadata({
4345
4346
  args: [{
4346
4347
  selector: "pw-ai-knowledge-tab",
4347
4348
  standalone: false,
4348
- template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n @if (!useOwnData) {\n <div class=\"alert alert-warning\" role=\"status\">\n <i class=\"fa fa-exclamation-triangle me-2\" aria-hidden=\"true\"></i>\n {{ 'AiKnowledge.PersonalUseOwnDataOff' | transloco: { name: subscription.organisation } }}\n </div>\n }\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n"
4349
+ template: "@if (!ready) {\n <pw-loader [isVisible]=\"true\"></pw-loader>\n} @else if (!isAlpha) {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NotAvailable' | transloco\"></pw-no-data>\n} @else if (subscription) {\n <pw-ai-knowledge scope=\"personal\"\n [subscriptionId]=\"subscription.id\"\n [subscriptionName]=\"subscription.organisation\"\n [useOwnData]=\"useOwnData\"></pw-ai-knowledge>\n} @else {\n <pw-no-data [withImage]=\"true\" [message]=\"'AiKnowledge.NoSubscription' | transloco\"></pw-no-data>\n}\n"
4349
4350
  }]
4350
4351
  }],
4351
4352
  ctorParameters: () => [{ type: i3.PermissionService }]