@tilde-nlp/ngx-strapi
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -1,1 +0,1 @@ | ||
export * from "./link.helper"; | ||
export * from './strapi-style.helper'; |
@@ -8,1 +8,2 @@ export * from './strapi-api-config.model'; | ||
export * from './strapi-api-subscription.model'; | ||
export * from './placeholder-component-base.model'; |
@@ -6,1 +6,2 @@ export * from './strapi-api.service'; | ||
export * from './strapi-api.service'; | ||
export * from './strapi-variables.service'; |
@@ -0,10 +1,15 @@ | ||
import { OnDestroy, OnInit } from '@angular/core'; | ||
import { LinkButton, LinkButtonType } from '@tilde-nlp/strapi-models'; | ||
import { Link } from '@tilde-nlp/strapi-models/components'; | ||
import { StrapiLinkService } from '../../../services'; | ||
import { StrapiLinkService, StrapiVariablesService } from '../../../services'; | ||
import { PlaceholderComponentBase } from '../../../models'; | ||
import * as i0 from "@angular/core"; | ||
export declare class LinkButtonComponent { | ||
export declare class LinkButtonComponent implements OnInit, OnDestroy, PlaceholderComponentBase { | ||
private readonly linkService; | ||
private readonly strapiVariableService; | ||
link: string; | ||
textWithPlaceholders: string; | ||
readonly raisedButtonType = LinkButtonType.RAISED; | ||
readonly strokedButtonType = LinkButtonType.STROKED; | ||
private variableServiceId; | ||
get linkComponent(): Link; | ||
@@ -18,6 +23,9 @@ private _data; | ||
get plausibleEvent(): import("@tilde-nlp/strapi-models").PlausibleEvent; | ||
constructor(linkService: StrapiLinkService); | ||
constructor(linkService: StrapiLinkService, strapiVariableService: StrapiVariablesService); | ||
ngOnInit(): void; | ||
linkClick(event: MouseEvent): void; | ||
ngOnDestroy(): void; | ||
updateTextWithPlaceholders: (textWithReplacedPlaceholders: string) => string; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LinkButtonComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<LinkButtonComponent, "strapi-link-button", never, { "data": "data"; }, {}, never, never, false, never>; | ||
} |
@@ -1,15 +0,22 @@ | ||
import { OnInit } from '@angular/core'; | ||
import { OnDestroy, OnInit } from '@angular/core'; | ||
import { Link } from '@tilde-nlp/strapi-models'; | ||
import { PlaceholderComponentBase } from '../../../models'; | ||
import { StrapiLinkService } from '../../../services/strapi-link.service'; | ||
import { StrapiVariablesService } from '../../../services/strapi-variables.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class LinkComponent implements OnInit { | ||
export declare class LinkComponent implements OnInit, OnDestroy, PlaceholderComponentBase { | ||
private readonly strapiLinkService; | ||
private readonly variableService; | ||
item: Link; | ||
isAngularRoute: boolean; | ||
iconAtStart: boolean; | ||
constructor(strapiLinkService: StrapiLinkService); | ||
href: string; | ||
textWithPlaceholders: string; | ||
private variableServiceId; | ||
constructor(strapiLinkService: StrapiLinkService, variableService: StrapiVariablesService); | ||
ngOnInit(): void; | ||
clicked(event: MouseEvent): void; | ||
updateTextWithPlaceholders: (textWithReplacedPlaceholders: string) => string; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "strapi-link", never, { "item": "item"; }, {}, never, never, false, never>; | ||
} |
{ | ||
"name": "@tilde-nlp/ngx-strapi", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^15.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
662839
112
4640