@internetarchive/collection-browser 2.10.1-alpha-webdev7523.0 → 2.10.1-alpha-webdev7479.2
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/dist/src/assets/img/icons/quote.d.ts +1 -0
- package/dist/src/assets/img/icons/quote.js +7 -0
- package/dist/src/assets/img/icons/quote.js.map +1 -0
- package/dist/src/collection-browser.d.ts +4 -0
- package/dist/src/collection-browser.js +8 -0
- package/dist/src/collection-browser.js.map +1 -1
- package/dist/src/data-source/collection-browser-data-source.js +2 -1
- package/dist/src/data-source/collection-browser-data-source.js.map +1 -1
- package/dist/src/models.d.ts +1 -0
- package/dist/src/models.js +6 -4
- package/dist/src/models.js.map +1 -1
- package/dist/src/tiles/grid/item-tile.d.ts +1 -0
- package/dist/src/tiles/grid/item-tile.js +7 -1
- package/dist/src/tiles/grid/item-tile.js.map +1 -1
- package/dist/src/tiles/grid/tile-stats.d.ts +46 -2
- package/dist/src/tiles/grid/tile-stats.js +92 -41
- package/dist/src/tiles/grid/tile-stats.js.map +1 -1
- package/dist/src/tiles/item-image.js +0 -1
- package/dist/src/tiles/item-image.js.map +1 -1
- package/dist/src/tiles/tile-dispatcher.d.ts +1 -0
- package/dist/src/tiles/tile-dispatcher.js +5 -0
- package/dist/src/tiles/tile-dispatcher.js.map +1 -1
- package/package.json +2 -2
- package/src/assets/img/icons/quote.ts +7 -0
- package/src/collection-browser.ts +6 -0
- package/src/data-source/collection-browser-data-source.ts +2 -1
- package/src/models.ts +4 -0
- package/src/tiles/grid/item-tile.ts +4 -0
- package/src/tiles/grid/tile-stats.ts +106 -52
- package/src/tiles/item-image.ts +0 -1
- package/src/tiles/tile-dispatcher.ts +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const quoteIcon: import("lit").TemplateResult<2>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { svg } from 'lit';
|
|
2
|
+
export const quoteIcon = svg `
|
|
3
|
+
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<path d="m45.3394669 100.000002h7.4385828c6.4511217-.3595144 12.58904-1.9152224 18.4137548-4.6671261s10.8424956-6.3426695 15.0533425-10.7722976c4.2108468-4.429628 7.556034-9.6360206 10.0355616-15.6191778s3.7192914-12.2669975 3.7192914-18.8515208c0-9.0967521-2.2250498-17.4897316-6.6751493-25.1789383-4.4500995-7.6892068-10.5140669-13.7638762-18.1919023-18.22400833-7.6778355-4.46013212-16.0560287-6.68910874-25.1345797-6.68693148-6.8100007 0-13.2915728 1.31603472-19.4447163 3.94810096-6.1531434 2.63206624-11.4699901 6.17816545-15.9505399 10.63829755-4.4805499 4.4601321-8.03453942 9.7863622-10.66196865 15.9786902s-3.94114385 12.7005912-3.94114385 19.5247894c0 12.9271929 4.36092352 24.1624988 13.0827705 33.7059178 8.7218471 9.543419 19.4751667 14.9448198 32.2599589 16.2042045zm-28.136113-51.5246596c2.2707252-7.480036 5.6159125-13.1058597 10.0355616-16.8774711 4.2412972-3.9502783 8.9610997-5.4166529 14.1594076-4.399124.2979783.1786667.1783519.507675-.358879.9870248-.537231.4793498-1.433341 1.2572039-2.6883299 2.3335621-1.254989 1.0763582-2.3000881 2.1538058-3.1352974 3.2323429-1.074462 1.4358706-1.7911325 2.7976598-2.1500114 4.0853677-.358879 1.2877079-.448055 2.214814-.267528 2.7813184.180527.5665043.180527 1.1798542 0 1.8400496 3.1059345-.1786668 5.8236273.5545206 8.1530782 2.199562s3.9726817 3.7095139 4.9296923 6.1934174c.9570107 2.4839036 1.210401 5.2063926.760171 8.1674672-.45023 2.9610745-1.6595435 5.6094822-3.6279404 7.9452231-3.3451872 3.6495952-7.5712592 5.2205552-12.678216 4.7128802s-8.9154242-2.6767329-11.4254021-6.5071737c-1.5529673-2.1548953-2.4490773-4.8479697-2.6883299-8.0792232-.2392527-3.2312535.089176-6.1040841.9852859-8.6184917zm34.7655868 0c2.2098245-7.3013692 5.5854621-12.9271929 10.1269126-16.8774711 4.1825715-3.9502783 8.8719237-5.4166529 14.0680565-4.399124.358879.1786667.2838407.507675-.225115.9870248-.5089556.4793498-1.3898404 1.2572039-2.6426544 2.3335621-1.2528139 1.0763582-2.3283634 2.1538058-3.2266484 3.2323429-1.0744619 1.4358706-1.7911324 2.7976598-2.1500114 4.0853677s-.4632801 2.214814-.3132035 2.7813184c.1500767.5665043.1348515 1.1798542-.0456755 1.8400496 3.1059346-.1786668 5.8236273.5545206 8.1530782 2.199562s3.9726817 3.7095139 4.9296924 6.1934174c.9570106 2.4839036 1.2256261 5.2063926.8058464 8.1674672-.4197796 2.9610745-1.6443183 5.6094822-3.6736158 7.9452231-3.3451873 3.6495952-7.5712593 5.2205552-12.6782161 4.7128802s-8.9154242-2.6767329-11.4254021-6.5071737c-1.4942416-2.1548953-2.3609888-4.8479697-2.6002414-8.0792232-.2392527-3.2312535.0598131-6.1040841.8971975-8.6184917z"/>
|
|
5
|
+
</svg>
|
|
6
|
+
`;
|
|
7
|
+
//# sourceMappingURL=quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote.js","sourceRoot":"","sources":["../../../../../src/assets/img/icons/quote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA;;;;CAI3B,CAAC","sourcesContent":["import { svg } from 'lit';\n\nexport const quoteIcon = svg`\n <svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m45.3394669 100.000002h7.4385828c6.4511217-.3595144 12.58904-1.9152224 18.4137548-4.6671261s10.8424956-6.3426695 15.0533425-10.7722976c4.2108468-4.429628 7.556034-9.6360206 10.0355616-15.6191778s3.7192914-12.2669975 3.7192914-18.8515208c0-9.0967521-2.2250498-17.4897316-6.6751493-25.1789383-4.4500995-7.6892068-10.5140669-13.7638762-18.1919023-18.22400833-7.6778355-4.46013212-16.0560287-6.68910874-25.1345797-6.68693148-6.8100007 0-13.2915728 1.31603472-19.4447163 3.94810096-6.1531434 2.63206624-11.4699901 6.17816545-15.9505399 10.63829755-4.4805499 4.4601321-8.03453942 9.7863622-10.66196865 15.9786902s-3.94114385 12.7005912-3.94114385 19.5247894c0 12.9271929 4.36092352 24.1624988 13.0827705 33.7059178 8.7218471 9.543419 19.4751667 14.9448198 32.2599589 16.2042045zm-28.136113-51.5246596c2.2707252-7.480036 5.6159125-13.1058597 10.0355616-16.8774711 4.2412972-3.9502783 8.9610997-5.4166529 14.1594076-4.399124.2979783.1786667.1783519.507675-.358879.9870248-.537231.4793498-1.433341 1.2572039-2.6883299 2.3335621-1.254989 1.0763582-2.3000881 2.1538058-3.1352974 3.2323429-1.074462 1.4358706-1.7911325 2.7976598-2.1500114 4.0853677-.358879 1.2877079-.448055 2.214814-.267528 2.7813184.180527.5665043.180527 1.1798542 0 1.8400496 3.1059345-.1786668 5.8236273.5545206 8.1530782 2.199562s3.9726817 3.7095139 4.9296923 6.1934174c.9570107 2.4839036 1.210401 5.2063926.760171 8.1674672-.45023 2.9610745-1.6595435 5.6094822-3.6279404 7.9452231-3.3451872 3.6495952-7.5712592 5.2205552-12.678216 4.7128802s-8.9154242-2.6767329-11.4254021-6.5071737c-1.5529673-2.1548953-2.4490773-4.8479697-2.6883299-8.0792232-.2392527-3.2312535.089176-6.1040841.9852859-8.6184917zm34.7655868 0c2.2098245-7.3013692 5.5854621-12.9271929 10.1269126-16.8774711 4.1825715-3.9502783 8.8719237-5.4166529 14.0680565-4.399124.358879.1786667.2838407.507675-.225115.9870248-.5089556.4793498-1.3898404 1.2572039-2.6426544 2.3335621-1.2528139 1.0763582-2.3283634 2.1538058-3.2266484 3.2323429-1.0744619 1.4358706-1.7911324 2.7976598-2.1500114 4.0853677s-.4632801 2.214814-.3132035 2.7813184c.1500767.5665043.1348515 1.1798542-.0456755 1.8400496 3.1059346-.1786668 5.8236273.5545206 8.1530782 2.199562s3.9726817 3.7095139 4.9296924 6.1934174c.9570106 2.4839036 1.2256261 5.2063926.8058464 8.1674672-.4197796 2.9610745-1.6443183 5.6094822-3.6736158 7.9452231-3.3451873 3.6495952-7.5712593 5.2205552-12.6782161 4.7128802s-8.9154242-2.6767329-11.4254021-6.5071737c-1.4942416-2.1548953-2.3609888-4.8479697-2.6002414-8.0792232-.2392527-3.2312535.0598131-6.1040841.8971975-8.6184917z\"/>\n </svg>\n`;\n"]}
|
|
@@ -122,6 +122,10 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
|
|
|
122
122
|
modalManager?: ModalManagerInterface;
|
|
123
123
|
featureFeedbackService?: FeatureFeedbackServiceInterface;
|
|
124
124
|
recaptchaManager?: RecaptchaManagerInterface;
|
|
125
|
+
/**
|
|
126
|
+
* Whether we are representing a TV collection, needing slightly different tile handling.
|
|
127
|
+
*/
|
|
128
|
+
isTvCollection: boolean;
|
|
125
129
|
/**
|
|
126
130
|
* If item management UI active
|
|
127
131
|
*/
|
|
@@ -100,6 +100,10 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
100
100
|
this.mobileBreakpoint = 600;
|
|
101
101
|
this.loggedIn = false;
|
|
102
102
|
this.modalManager = undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Whether we are representing a TV collection, needing slightly different tile handling.
|
|
105
|
+
*/
|
|
106
|
+
this.isTvCollection = false;
|
|
103
107
|
/**
|
|
104
108
|
* If item management UI active
|
|
105
109
|
*/
|
|
@@ -1681,6 +1685,7 @@ let CollectionBrowser = class CollectionBrowser extends LitElement {
|
|
|
1681
1685
|
.mobileBreakpoint=${this.mobileBreakpoint}
|
|
1682
1686
|
.loggedIn=${this.loggedIn}
|
|
1683
1687
|
.isManageView=${this.isManageView}
|
|
1688
|
+
?showTvClips=${this.isTvCollection}
|
|
1684
1689
|
?enableHoverPane=${true}
|
|
1685
1690
|
@resultSelected=${(e) => this.resultSelected(e)}
|
|
1686
1691
|
>
|
|
@@ -2269,6 +2274,9 @@ __decorate([
|
|
|
2269
2274
|
__decorate([
|
|
2270
2275
|
property({ type: Object })
|
|
2271
2276
|
], CollectionBrowser.prototype, "recaptchaManager", void 0);
|
|
2277
|
+
__decorate([
|
|
2278
|
+
property({ type: Boolean })
|
|
2279
|
+
], CollectionBrowser.prototype, "isTvCollection", void 0);
|
|
2272
2280
|
__decorate([
|
|
2273
2281
|
property({ type: Boolean })
|
|
2274
2282
|
], CollectionBrowser.prototype, "isManageView", void 0);
|