@molecule/app-listing-card-angular 1.2.0 → 1.2.1
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/README.md +20 -2
- package/dist/index.d.ts +19 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-11-
|
|
6
|
+
Generated: 2026-11-22T16:18:17.884Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-listing-card-angular
|
|
@@ -49,6 +49,14 @@ import {
|
|
|
49
49
|
ListingGrid,
|
|
50
50
|
} from '@molecule/app-listing-card-angular'
|
|
51
51
|
|
|
52
|
+
interface Listing {
|
|
53
|
+
id: string
|
|
54
|
+
name: string
|
|
55
|
+
location: string
|
|
56
|
+
imageUrl: string
|
|
57
|
+
price: number
|
|
58
|
+
}
|
|
59
|
+
|
|
52
60
|
@Component({
|
|
53
61
|
selector: 'app-listings',
|
|
54
62
|
standalone: true,
|
|
@@ -72,8 +80,18 @@ import {
|
|
|
72
80
|
})
|
|
73
81
|
export class Listings {
|
|
74
82
|
items: Listing[] = []
|
|
83
|
+
item: Listing = {
|
|
84
|
+
id: 'l1',
|
|
85
|
+
name: 'Sea-view loft',
|
|
86
|
+
location: 'Lisbon',
|
|
87
|
+
imageUrl: '/listings/loft.jpg',
|
|
88
|
+
price: 120,
|
|
89
|
+
}
|
|
75
90
|
open(id: string): () => void {
|
|
76
|
-
return () =>
|
|
91
|
+
return () => console.log('open listing', id)
|
|
92
|
+
}
|
|
93
|
+
readonly save = (id: string): void => {
|
|
94
|
+
console.log('save listing', id)
|
|
77
95
|
}
|
|
78
96
|
}
|
|
79
97
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,14 @@
|
|
|
47
47
|
* ListingGrid,
|
|
48
48
|
* } from '@molecule/app-listing-card-angular'
|
|
49
49
|
*
|
|
50
|
+
* interface Listing {
|
|
51
|
+
* id: string
|
|
52
|
+
* name: string
|
|
53
|
+
* location: string
|
|
54
|
+
* imageUrl: string
|
|
55
|
+
* price: number
|
|
56
|
+
* }
|
|
57
|
+
*
|
|
50
58
|
* @Component({
|
|
51
59
|
* selector: 'app-listings',
|
|
52
60
|
* standalone: true,
|
|
@@ -73,8 +81,18 @@
|
|
|
73
81
|
* })
|
|
74
82
|
* export class Listings {
|
|
75
83
|
* items: Listing[] = []
|
|
84
|
+
* item: Listing = {
|
|
85
|
+
* id: 'l1',
|
|
86
|
+
* name: 'Sea-view loft',
|
|
87
|
+
* location: 'Lisbon',
|
|
88
|
+
* imageUrl: '/listings/loft.jpg',
|
|
89
|
+
* price: 120,
|
|
90
|
+
* }
|
|
76
91
|
* open(id: string): () => void {
|
|
77
|
-
* return () =>
|
|
92
|
+
* return () => console.log('open listing', id)
|
|
93
|
+
* }
|
|
94
|
+
* readonly save = (id: string): void => {
|
|
95
|
+
* console.log('save listing', id)
|
|
78
96
|
* }
|
|
79
97
|
* }
|
|
80
98
|
* ```
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AAEH,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,YAAY,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -47,6 +47,14 @@
|
|
|
47
47
|
* ListingGrid,
|
|
48
48
|
* } from '@molecule/app-listing-card-angular'
|
|
49
49
|
*
|
|
50
|
+
* interface Listing {
|
|
51
|
+
* id: string
|
|
52
|
+
* name: string
|
|
53
|
+
* location: string
|
|
54
|
+
* imageUrl: string
|
|
55
|
+
* price: number
|
|
56
|
+
* }
|
|
57
|
+
*
|
|
50
58
|
* @Component({
|
|
51
59
|
* selector: 'app-listings',
|
|
52
60
|
* standalone: true,
|
|
@@ -73,8 +81,18 @@
|
|
|
73
81
|
* })
|
|
74
82
|
* export class Listings {
|
|
75
83
|
* items: Listing[] = []
|
|
84
|
+
* item: Listing = {
|
|
85
|
+
* id: 'l1',
|
|
86
|
+
* name: 'Sea-view loft',
|
|
87
|
+
* location: 'Lisbon',
|
|
88
|
+
* imageUrl: '/listings/loft.jpg',
|
|
89
|
+
* price: 120,
|
|
90
|
+
* }
|
|
76
91
|
* open(id: string): () => void {
|
|
77
|
-
* return () =>
|
|
92
|
+
* return () => console.log('open listing', id)
|
|
93
|
+
* }
|
|
94
|
+
* readonly save = (id: string): void => {
|
|
95
|
+
* console.log('save listing', id)
|
|
78
96
|
* }
|
|
79
97
|
* }
|
|
80
98
|
* ```
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoGG;AAEH,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-listing-card-angular",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Angular listing/product-card primitives with media, body, actions slots",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-listing-card-angular",
|
|
6
6
|
"type": "module",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"@angular/compiler-cli": "22.2.3",
|
|
56
56
|
"@angular/core": "22.2.3",
|
|
57
57
|
"@angular/platform-browser": "22.2.3",
|
|
58
|
-
"@molecule/app-angular": "3.
|
|
58
|
+
"@molecule/app-angular": "3.11.0",
|
|
59
59
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
60
60
|
"@molecule/app-i18n": "1.2.2",
|
|
61
61
|
"@molecule/app-icons": "1.0.4",
|
|
62
62
|
"@molecule/app-ui": "1.5.0",
|
|
63
|
-
"@molecule/app-ui-angular": "1.
|
|
63
|
+
"@molecule/app-ui-angular": "1.4.0",
|
|
64
64
|
"@types/node": "26.6.5",
|
|
65
65
|
"jsdom": "30.1.3",
|
|
66
66
|
"rxjs": "7.8.2",
|