@kompasid/lit-web-components 0.9.37 → 0.9.39
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.
- package/demo/paywall.html +25 -1
- package/dist/src/components/kompasid-paywall/KompasPaywall.d.ts +19 -0
- package/dist/src/components/kompasid-paywall/KompasPaywall.js +96 -5
- package/dist/src/components/kompasid-paywall/KompasPaywall.js.map +1 -1
- package/dist/src/components/kompasid-paywall/types.d.ts +5 -0
- package/dist/src/components/kompasid-paywall/types.js.map +1 -1
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.d.ts +3 -0
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js +15 -0
- package/dist/src/components/kompasid-paywall-body/KompasPaywallBody.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/kompasid-paywall/KompasPaywall.ts +111 -7
- package/src/components/kompasid-paywall/readme.md +334 -281
- package/src/components/kompasid-paywall/types.ts +6 -0
- package/src/components/kompasid-paywall-body/KompasPaywallBody.ts +6 -0
|
@@ -92,6 +92,9 @@ export class KompasIdPaywallBody extends LitElement {
|
|
|
92
92
|
@property({ type: String }) tracker_content_title = ''
|
|
93
93
|
@property({ type: String }) tracker_content_categories = ''
|
|
94
94
|
@property({ type: String }) tracker_content_type = ''
|
|
95
|
+
@property({ type: String }) tracker_content_tags = ''
|
|
96
|
+
@property({ type: String }) tracker_content_published_date = ''
|
|
97
|
+
@property({ type: String }) tracker_content_variant = ''
|
|
95
98
|
@property({ type: String }) tracker_user_type = ''
|
|
96
99
|
@property({ type: String }) tracker_subscription_status = ''
|
|
97
100
|
@property({ type: String }) tracker_page_domain = ''
|
|
@@ -480,6 +483,9 @@ export class KompasIdPaywallBody extends LitElement {
|
|
|
480
483
|
page_domain: this.tracker_page_domain || 'Kompas.id',
|
|
481
484
|
metered_wall_type: this.tracker_metered_wall_type || 'HP',
|
|
482
485
|
metered_wall_balance: this.tracker_metered_wall_balance,
|
|
486
|
+
content_tags: this.tracker_content_tags || '',
|
|
487
|
+
content_published_date: this.tracker_content_published_date || '',
|
|
488
|
+
content_variant: this.tracker_content_variant || '',
|
|
483
489
|
...(this.type === 'epaper' || this.type === 'proMiningOutlook'
|
|
484
490
|
? { epaper_edition: this.tracker_epaper_edition }
|
|
485
491
|
: {
|