-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
289 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
dist/components/matomoTracking/matomoTracking.component.d.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
import "@shoelace-style/shoelace/dist/components/alert/alert.js"; | ||
import { LitElement } from "lit"; | ||
import type { CSSResultGroup } from 'lit'; | ||
export declare class Tracking extends LitElement { | ||
static styles: CSSResultGroup; | ||
declare global { | ||
interface Window { | ||
_paq: any[]; | ||
} | ||
} | ||
export declare class MatomoTracking extends LitElement { | ||
name: string; | ||
/** The site id for tracking. */ | ||
/** The Matomo site id for tracking. */ | ||
accessor siteId: string; | ||
/** Force display the banner. */ | ||
accessor force: boolean; | ||
accessor isOpen: boolean; | ||
accessor title: string; | ||
accessor message: import("lit").TemplateResult<1>; | ||
accessor agreeLabel: string; | ||
accessor notAgreeLabel: string; | ||
protected render(): import("lit").TemplateResult<1>; | ||
private _setAgree; | ||
private _setDisagree; | ||
/** The domains to apply tracking. */ | ||
accessor domain: string; | ||
/** The Matomo URL */ | ||
accessor matomoURL: string; | ||
agree(): void; | ||
disagree(): void; | ||
connectedCallback(): void; | ||
} | ||
export default Tracking; | ||
export default MatomoTracking; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import{a,b}from"../../chunks/chunk.BZRLYTOZ.js";import"../../chunks/chunk.4DV2WAS7.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as Tracking,b as default}; | ||
import{a,b}from"../../chunks/chunk.NZIJQUIE.js";import"../../chunks/chunk.FWYUHKRF.js";export{a as MatomoTracking,b as default}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import Tracking from './tracking.component.js'; | ||
import MatomoTracking from './tracking.component.js'; | ||
export * from './tracking.component.js'; | ||
export default Tracking; | ||
export default MatomoTracking; | ||
declare global { | ||
interface HTMLElementTagNameMap { | ||
'hot-tracking': Tracking; | ||
'hot-tracking': MatomoTracking; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import{a as e,b as a}from"../../chunks/chunk.BZRLYTOZ.js";import"../../chunks/chunk.4DV2WAS7.js";import"../../chunks/chunk.WPXUR5EI.js";import"../../chunks/chunk.FWYUHKRF.js";var t=a;export{e as Tracking,t as default}; | ||
import{a as o,b as a}from"../../chunks/chunk.NZIJQUIE.js";import"../../chunks/chunk.FWYUHKRF.js";var r=a;export{o as MatomoTracking,r as default}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.