@popgrids/embed 0.0.3 → 1.0.0
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/AGENTS.md +14 -0
- package/dist/assets/wordmark-svg.d.ts +7 -0
- package/dist/assets/wordmark-svg.d.ts.map +1 -0
- package/dist/components/pop-account-switcher.d.ts +31 -0
- package/dist/components/pop-account-switcher.d.ts.map +1 -0
- package/dist/components/pop-auth-code.d.ts +22 -0
- package/dist/components/pop-auth-code.d.ts.map +1 -0
- package/dist/components/pop-auth-email.d.ts +18 -0
- package/dist/components/pop-auth-email.d.ts.map +1 -0
- package/dist/components/pop-auth-join.d.ts +20 -0
- package/dist/components/pop-auth-join.d.ts.map +1 -0
- package/dist/components/pop-auth-no-code.d.ts +14 -0
- package/dist/components/pop-auth-no-code.d.ts.map +1 -0
- package/dist/components/pop-auth-panel.d.ts +17 -7
- package/dist/components/pop-auth-panel.d.ts.map +1 -1
- package/dist/components/pop-button-link.d.ts +43 -0
- package/dist/components/pop-button-link.d.ts.map +1 -0
- package/dist/components/pop-comment-bar.d.ts +2 -0
- package/dist/components/pop-comment-bar.d.ts.map +1 -1
- package/dist/components/pop-comment-icon.d.ts +3 -0
- package/dist/components/pop-comment-icon.d.ts.map +1 -1
- package/dist/components/pop-comment-thread.d.ts.map +1 -1
- package/dist/components/pop-comment.d.ts +2 -0
- package/dist/components/pop-comment.d.ts.map +1 -1
- package/dist/components/pop-feed.d.ts +15 -0
- package/dist/components/pop-feed.d.ts.map +1 -1
- package/dist/components/pop-grid.d.ts +9 -0
- package/dist/components/pop-grid.d.ts.map +1 -1
- package/dist/components/pop-widget.d.ts.map +1 -1
- package/dist/components/refs.d.ts +8 -0
- package/dist/components/refs.d.ts.map +1 -0
- package/dist/embed.js +2612 -1721
- package/dist/embed.js.map +1 -1
- package/dist/index.cjs +1033 -131
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1439 -552
- package/dist/index.js.map +1 -1
- package/dist/lib/backoff.d.ts +11 -0
- package/dist/lib/backoff.d.ts.map +1 -0
- package/dist/lib/popup-auth.d.ts +10 -4
- package/dist/lib/popup-auth.d.ts.map +1 -1
- package/dist/store/embed-auth-store.d.ts +201 -0
- package/dist/store/embed-auth-store.d.ts.map +1 -0
- package/dist/store/grid-store.d.ts +26 -1
- package/dist/store/grid-store.d.ts.map +1 -1
- package/dist/types/models.d.ts +14 -2
- package/dist/types/models.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/store/auth-store.d.ts +0 -8
- package/dist/store/auth-store.d.ts.map +0 -1
package/AGENTS.md
CHANGED
|
@@ -139,3 +139,17 @@ using [Changesets](https://github.com/changesets/changesets). Same flow as `popg
|
|
|
139
139
|
|
|
140
140
|
- Make the plan extremely concise. Sacrifice grammar for the sake of concision.
|
|
141
141
|
- At the end of each plan, give me a list of unresolved questions to answer, if any.
|
|
142
|
+
|
|
143
|
+
## Agent skills
|
|
144
|
+
|
|
145
|
+
### Issue tracker
|
|
146
|
+
|
|
147
|
+
Issues and specs live as GitHub issues in `popgrids/popgrids-embed`. See `docs/agents/issue-tracker.md`.
|
|
148
|
+
|
|
149
|
+
### Triage labels
|
|
150
|
+
|
|
151
|
+
Default label vocabulary (`needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`). See `docs/agents/triage-labels.md`.
|
|
152
|
+
|
|
153
|
+
### Domain docs
|
|
154
|
+
|
|
155
|
+
Single-context: `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The "POPGRIDS" wordmark, inlined so it can take `currentColor` and scale
|
|
3
|
+
* cleanly inside Shadow DOM — shared by pop-auth-join.ts and pop-auth-email.ts
|
|
4
|
+
* rather than duplicated (it's a sizeable path block).
|
|
5
|
+
*/
|
|
6
|
+
export declare const POPGRIDS_WORDMARK_SVG = "<svg\n width=\"100\"\n height=\"16\"\n viewBox=\"0 0 75 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M4.58333 0.265686C1.0463 0.265686 0 2.5714 0 5.47711C0 6.55283 0.115741 7.6114 0.25 8.67426C0.300926 9.08997 0.282407 9.54854 0.365741 9.96426C0.583333 11.0571 1.69444 11.5628 2.77315 11.5628C4.25 11.5628 5.23148 10.7014 5.23148 9.3214C5.23148 8.52426 4.94907 8.0014 4.13426 7.69283C4.08333 7.67569 4.03241 7.66283 4.03241 7.59854C4.03241 7.4914 4.21759 7.41426 4.33333 7.41426C4.73148 7.41426 5.36111 7.78283 5.91204 7.78283C8.06944 7.78283 9.26389 5.86283 9.26389 4.06283C9.26389 1.44854 7.18518 0.265686 4.58333 0.265686ZM4.56481 5.91854C4.43056 5.91854 4.31481 5.8114 4.31481 5.68711C4.31481 5.51997 4.56481 5.39569 4.64815 5.25854C4.8287 4.94997 4.87963 4.42711 4.87963 4.07569C4.87963 3.65997 4.76389 2.89283 4.48148 2.58426C4.39815 2.49426 4.28241 2.44711 4.28241 2.32283C4.28241 2.19854 4.41667 2.0914 4.5463 2.0914C5.11111 2.0914 5.39352 3.62997 5.39352 4.02854C5.39352 4.45711 5.24537 5.91854 4.56481 5.91854Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M14.9259 0.527108C11.4074 0.527108 9.2963 2.83282 9.2963 5.99568C9.2963 9.15854 11.4028 11.4643 14.9259 11.4643C18.4491 11.4643 20.537 9.12854 20.537 5.99568C20.537 2.86282 18.412 0.527108 14.9259 0.527108ZM15.0787 9.89997C15.0232 9.96425 14.912 10.0843 14.7778 10.0843C14.6435 10.0843 14.5139 9.97711 14.5139 9.85282C14.5139 9.80568 14.9445 9.20568 15.0139 9.02139C15.2778 8.29711 15.3287 7.51282 15.3287 6.74568C15.3287 5.71711 15.1296 4.39282 14.4491 3.54854C14.3148 3.39425 13.9028 3.10282 13.9028 2.93568C13.9028 2.81139 14.0185 2.70425 14.1528 2.70425C14.2685 2.70425 14.3843 2.79854 14.4676 2.85854C15.5278 3.67282 15.8472 5.53282 15.8472 6.74568C15.8472 7.69711 15.8056 9.08568 15.0833 9.89568L15.0787 9.89997Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M25.375 0.265686C21.838 0.265686 20.7917 2.5714 20.7917 5.47711C20.7917 6.55283 20.9074 7.6114 21.0417 8.67426C21.0926 9.08997 21.0741 9.54854 21.1574 9.96426C21.375 11.0571 22.4861 11.5628 23.5648 11.5628C25.0417 11.5628 26.0231 10.7014 26.0231 9.3214C26.0231 8.52426 25.7407 8.0014 24.9259 7.69283C24.875 7.67569 24.8241 7.66283 24.8241 7.59854C24.8241 7.4914 25.0092 7.41426 25.125 7.41426C25.5231 7.41426 26.1528 7.78283 26.7037 7.78283C28.8611 7.78283 30.0555 5.86283 30.0555 4.06283C30.0555 1.44854 27.9815 0.265686 25.375 0.265686ZM25.3611 5.91854C25.2268 5.91854 25.1111 5.8114 25.1111 5.68711C25.1111 5.51997 25.3611 5.39569 25.4444 5.25854C25.625 4.94997 25.6759 4.42711 25.6759 4.07569C25.6759 3.65997 25.5602 2.89283 25.2778 2.58426C25.1944 2.49426 25.0787 2.44711 25.0787 2.32283C25.0787 2.19854 25.213 2.0914 25.3426 2.0914C25.9074 2.0914 26.1898 3.62997 26.1898 4.02854C26.1898 4.45711 26.0417 5.91854 25.3611 5.91854Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M37.3843 4.81284C36.1898 4.81284 34.5278 5.31855 34.5278 6.64284C34.5278 7.39713 35.125 8.5157 36.0741 8.5157C36.6713 8.5157 37.0556 8.08713 37.2546 8.08713C37.3056 8.08713 37.3519 8.11713 37.3519 8.16427C37.3519 8.60998 36.4213 8.81141 36.0556 8.81141C34.7778 8.81141 34.0972 7.7957 34.0972 6.71998C34.0972 5.39998 35.4398 4.38427 36.8009 4.38427C37.1991 4.38427 37.6158 4.49141 38.0139 4.49141C39.1945 4.49141 40.0371 3.50998 40.0371 2.46427C40.0371 0.728554 37.8148 0.329982 36.3333 0.329982C32.3982 0.329982 30.1065 2.6957 30.1065 6.29141C30.1065 9.61284 31.9676 11.73 35.6528 11.73C38.0417 11.73 40.6482 10.7786 40.6482 8.19427C40.6482 6.42855 39.4028 4.81284 37.3796 4.81284H37.3843Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M48.3611 7.42711C48.0602 7.42711 47.8148 7.53426 47.5648 7.53426C47.5139 7.53426 47.5 7.48711 47.5 7.45712C47.5 7.34997 47.5509 7.30283 47.6342 7.27283C47.9167 7.18283 48.2176 7.11854 48.4954 6.99426C49.7592 6.4414 50.5046 5.45569 50.5046 4.15283C50.5046 1.79997 48.3287 0.372829 45.9398 0.372829C45.0741 0.372829 44.2315 0.604257 43.5 0.972829C41.5092 1.9714 41.125 3.40283 41.0092 5.35283C40.9583 6.11997 40.9583 6.8914 40.9583 7.65854V9.51854C40.9583 10.6843 41.787 11.6228 43.0972 11.6228C44.0416 11.6228 44.8889 10.9928 45.1065 10.1614C45.2222 9.66854 45.1574 9.08569 45.1574 8.60997C45.1574 8.56283 45.1759 8.54997 45.2222 8.54997C45.2685 8.54997 45.3241 8.57997 45.3565 8.59711C45.9398 9.90426 46.7361 11.5628 48.5417 11.5628C49.787 11.5628 50.8148 10.7485 50.8148 9.56569C50.8148 8.38283 49.6204 7.4314 48.3565 7.4314L48.3611 7.42711ZM45.6574 5.91854C45.5231 5.91854 45.4074 5.8114 45.4074 5.68711C45.4074 5.51997 45.6574 5.39569 45.7407 5.25854C45.9213 4.94997 45.9722 4.42711 45.9722 4.07569C45.9722 3.65997 45.8565 2.89283 45.5741 2.58426C45.4907 2.49426 45.3935 2.44711 45.3935 2.32283C45.3935 2.19854 45.5092 2.0914 45.6435 2.0914C46.2083 2.0914 46.4907 3.62997 46.4907 4.02854C46.4907 4.45711 46.3565 5.91854 45.662 5.91854H45.6574Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M54.8056 0.865677C54.4074 0.621391 53.8426 0.497105 53.3611 0.497105C52.3148 0.497105 51.4167 1.26425 51.3009 2.21996C51.2685 2.49853 51.2824 2.75996 51.2824 3.05139V5.66139L51.2315 8.41282V9.77996C51.2315 10.8557 52.2269 11.7 53.375 11.7C54.2222 11.7 55.1528 11.2071 55.4676 10.47C55.6482 10.0542 55.6667 9.47139 55.6667 9.02568V7.82568L55.6852 5.42996V3.03425C55.6852 2.14282 55.6667 1.43568 54.8056 0.865677Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M58.9445 0.402828C57.25 0.402828 56.4028 1.13997 56.4028 2.7214V3.3514L56.4213 4.59426V5.22426C56.4213 5.69997 56.4213 6.14568 56.4028 6.6214C56.3704 7.1914 56.287 7.75711 56.287 8.34426C56.287 10.4957 57.4815 11.5414 59.7917 11.5414C63.3426 11.5414 65.75 10.1271 65.75 6.60854C65.75 2.36568 63.5417 0.398542 58.9445 0.398542V0.402828ZM60.537 8.9014C60.4028 8.9014 60.287 8.79426 60.287 8.66997C60.287 8.62283 60.3056 8.59283 60.338 8.54568C60.7685 7.88568 60.8843 6.96426 60.8843 6.20997C60.8843 5.50283 60.8009 4.45711 60.3194 3.90426C60.2361 3.77997 60.0695 3.68997 60.0695 3.53569C60.0695 3.4114 60.1852 3.30426 60.3194 3.30426C60.5694 3.30426 60.9167 3.88711 61.0185 4.08854C61.3333 4.76569 61.3843 5.50283 61.3843 6.22283C61.3843 6.66854 61.1343 8.89711 60.537 8.89711V8.9014Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M73.5046 5.85855C72.5417 5.78141 71.162 5.47284 70.4167 4.88998C70.3194 4.81284 70.1528 4.7057 70.1528 4.56855C70.1528 4.52141 70.1713 4.44427 70.2361 4.44427C70.4167 4.44427 71.5787 5.3057 72.5787 5.3057C73.8426 5.3057 75 4.39713 75 3.20141C75 1.23427 72.1806 0.437125 70.4676 0.437125C67.9259 0.437125 66.037 1.95855 66.037 4.37141C66.037 4.89427 66.1204 5.61427 66.537 6.01713C66.7361 6.21855 67.0694 6.21855 67.3333 6.21855C68.3287 6.21855 69.5926 6.50998 70.1204 7.35427C70.1713 7.43141 70.2176 7.5557 70.2176 7.6457C70.2176 7.6757 70.2176 7.72284 70.1852 7.7057C70.088 7.6757 70.0046 7.59855 69.9352 7.53855C69.3519 7.0157 68.5555 6.49284 67.713 6.49284C66.4491 6.49284 66.0046 7.6157 66.0046 8.59713C66.0046 10.5771 67.9306 11.67 69.8889 11.67C72.213 11.67 75 10.2557 75 7.84284C75 6.95141 74.5833 5.95284 73.5046 5.86284V5.85855Z\"\n fill=\"currentColor\"\n />\n</svg>";
|
|
7
|
+
//# sourceMappingURL=wordmark-svg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wordmark-svg.d.ts","sourceRoot":"","sources":["../../src/assets/wordmark-svg.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,+7NAuC3B,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
|
+
import { BaseElement } from './base-element.js';
|
|
3
|
+
/**
|
|
4
|
+
* The signed-in visitor's own avatar in the composer bar, doubling as the
|
|
5
|
+
* trigger for a dropdown that lets them pick which of their accounts
|
|
6
|
+
* (better-auth orgs) this widget's comments post as, sign out, and — a good
|
|
7
|
+
* home for future per-widget settings as they show up.
|
|
8
|
+
*
|
|
9
|
+
* Account switching here never reads or changes the main app's active org —
|
|
10
|
+
* but it does sync live across every other tab on this same browser (they
|
|
11
|
+
* all share one persisted token — see EmbedAuthStore.switchOrganization and
|
|
12
|
+
* ADR 0011), the same way a sign-in or sign-out already does.
|
|
13
|
+
*/
|
|
14
|
+
export declare class PopAccountSwitcher extends BaseElement {
|
|
15
|
+
authStore: EmbedAuthStore;
|
|
16
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
17
|
+
protected events: {
|
|
18
|
+
click: string;
|
|
19
|
+
};
|
|
20
|
+
private _dropdownOpen;
|
|
21
|
+
private _floatingCleanup?;
|
|
22
|
+
private _onOutsideClick;
|
|
23
|
+
disconnectedCallback(): void;
|
|
24
|
+
protected setupEffects(): void;
|
|
25
|
+
private toggleDropdown;
|
|
26
|
+
private openDropdown;
|
|
27
|
+
private closeDropdown;
|
|
28
|
+
protected onClick(event: Event): void;
|
|
29
|
+
protected getTemplate(): string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=pop-account-switcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-account-switcher.d.ts","sourceRoot":"","sources":["../../src/components/pop-account-switcher.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAyI7D;;;;;;;;;;GAUG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IACxB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,gBAAgB,CAAC,CAAa;IAEtC,OAAO,CAAC,eAAe,CAQrB;IAEF,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IA+CtB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,YAAY;IAwCpB,OAAO,CAAC,aAAa;IAarB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK;IA0B9B,SAAS,CAAC,WAAW,IAAI,MAAM;CAehC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
|
+
import { BaseElement } from './base-element.js';
|
|
3
|
+
export declare class PopAuthCode extends BaseElement {
|
|
4
|
+
authStore: EmbedAuthStore;
|
|
5
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
6
|
+
protected events: {
|
|
7
|
+
input: string;
|
|
8
|
+
keydown: string;
|
|
9
|
+
click: string;
|
|
10
|
+
};
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
private getDigitInputs;
|
|
13
|
+
protected onInput(event: Event): void;
|
|
14
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
15
|
+
protected onClick(event: MouseEvent): void;
|
|
16
|
+
private maybeSubmit;
|
|
17
|
+
/** Renders the countdown; returns true once the code has expired. */
|
|
18
|
+
private renderCountdown;
|
|
19
|
+
protected setupEffects(): void;
|
|
20
|
+
protected getTemplate(): string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=pop-auth-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-auth-code.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAyG7D,qBAAa,WAAY,SAAQ,WAAW;IACjB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;;;MAId;IAEF,iBAAiB;IAKjB,OAAO,CAAC,cAAc;IAItB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK;IAc9B,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,aAAa;IAUxC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAcnC,OAAO,CAAC,WAAW;IAMnB,qEAAqE;IACrE,OAAO,CAAC,eAAe;IAcvB,SAAS,CAAC,YAAY;IAmEtB,SAAS,CAAC,WAAW,IAAI,MAAM;CA4BhC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
|
+
import { BaseElement } from './base-element.js';
|
|
3
|
+
export declare class PopAuthEmail extends BaseElement {
|
|
4
|
+
authStore: EmbedAuthStore;
|
|
5
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
6
|
+
protected events: {
|
|
7
|
+
click: string;
|
|
8
|
+
submit: string;
|
|
9
|
+
};
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
private focusEmailInputWhenVisible;
|
|
12
|
+
protected onClick(event: MouseEvent): void;
|
|
13
|
+
protected onSubmit(event: Event): void;
|
|
14
|
+
private handleContinue;
|
|
15
|
+
protected setupEffects(): void;
|
|
16
|
+
protected getTemplate(): string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=pop-auth-email.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-auth-email.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-email.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AA2G7D,qBAAa,YAAa,SAAQ,WAAW;IAClB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;;MAGd;IAEF,iBAAiB;IASjB,OAAO,CAAC,0BAA0B;IA2BlC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAcnC,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK;YAKjB,cAAc;IAa5B,SAAS,CAAC,YAAY;IA+BtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAwChC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
|
+
import { BaseElement } from './base-element.js';
|
|
3
|
+
export declare class PopAuthJoin extends BaseElement {
|
|
4
|
+
authStore: EmbedAuthStore;
|
|
5
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
6
|
+
protected events: {
|
|
7
|
+
click: string;
|
|
8
|
+
keydown: string;
|
|
9
|
+
focusout: string;
|
|
10
|
+
};
|
|
11
|
+
/** Puts focus on the bar without scrolling the feed (it's often still sliding into place) or drawing a focus ring. */
|
|
12
|
+
restoreFocus(): void;
|
|
13
|
+
protected onKeyDown(): void;
|
|
14
|
+
protected onFocusOut(): void;
|
|
15
|
+
protected onClick(event: MouseEvent): void;
|
|
16
|
+
protected setupEffects(): void;
|
|
17
|
+
private handleJoin;
|
|
18
|
+
protected getTemplate(): string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=pop-auth-join.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-auth-join.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-join.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AA4E7D,qBAAa,WAAY,SAAQ,WAAW;IACjB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;;;MAId;IAEF,sHAAsH;IACtH,YAAY,IAAI,IAAI;IAOpB,SAAS,CAAC,SAAS;IAInB,SAAS,CAAC,UAAU;IAIpB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAKnC,SAAS,CAAC,YAAY;IAYtB,OAAO,CAAC,UAAU;IAKlB,SAAS,CAAC,WAAW,IAAI,MAAM;CAUhC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
|
+
import { BaseElement } from './base-element.js';
|
|
3
|
+
export declare class PopAuthNoCode extends BaseElement {
|
|
4
|
+
authStore: EmbedAuthStore;
|
|
5
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
6
|
+
protected events: {
|
|
7
|
+
click: string;
|
|
8
|
+
};
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
protected setupEffects(): void;
|
|
11
|
+
protected onClick(event: MouseEvent): void;
|
|
12
|
+
protected getTemplate(): string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=pop-auth-no-code.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-auth-no-code.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-no-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AA2C7D,qBAAa,aAAc,SAAQ,WAAW;IACnB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAKF,iBAAiB;IAOjB,SAAS,CAAC,YAAY;IAYtB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAcnC,SAAS,CAAC,WAAW,IAAI,MAAM;CAiChC"}
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
2
2
|
import { BaseElement } from './base-element.js';
|
|
3
|
+
/**
|
|
4
|
+
* Container for the widget's auth states. pop-auth-join and the "card"
|
|
5
|
+
* (pop-auth-email / -code / -no-code) are separate, always-mounted elements
|
|
6
|
+
* that animate independently based on EmbedAuthStore.authView — the card
|
|
7
|
+
* slides up from the bottom over the join bar (which slides away beneath
|
|
8
|
+
* it) and reverses on the way back to idle. Card content itself still
|
|
9
|
+
* swaps by innerHTML, mirroring the footer-swap pattern in pop-feed.ts.
|
|
10
|
+
*/
|
|
3
11
|
export declare class PopAuthPanel extends BaseElement {
|
|
4
|
-
|
|
12
|
+
authStore: EmbedAuthStore;
|
|
13
|
+
private _child;
|
|
14
|
+
private _prevView;
|
|
15
|
+
private _heightAnimationFrame;
|
|
16
|
+
private _heightTransitionEnd;
|
|
5
17
|
protected get styleSheets(): CSSStyleSheet[];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
protected onClick(event: MouseEvent): void;
|
|
18
|
+
disconnectedCallback(): void;
|
|
19
|
+
private cancelCardHeightAnimation;
|
|
20
|
+
private swapCardContent;
|
|
10
21
|
protected setupEffects(): void;
|
|
11
|
-
private handleJoin;
|
|
12
22
|
protected getTemplate(): string;
|
|
13
23
|
}
|
|
14
24
|
//# sourceMappingURL=pop-auth-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-auth-panel.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-panel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop-auth-panel.d.ts","sourceRoot":"","sources":["../../src/components/pop-auth-panel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAsB,MAAM,8BAA8B,CAAC;AAElF,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAyJ7D;;;;;;;GAOG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAClB,SAAS,EAAG,cAAc,CAAC;IAEpD,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,SAAS,CAAyB;IAC1C,OAAO,CAAC,qBAAqB,CAAuB;IACpD,OAAO,CAAC,oBAAoB,CAAmD;IAE/E,SAAS,KAAK,WAAW,oBAExB;IAED,oBAAoB;IAKpB,OAAO,CAAC,yBAAyB;IAajC,OAAO,CAAC,eAAe;IA+BvB,SAAS,CAAC,YAAY;IAiDtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAiBhC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BaseElement } from './base-element.js';
|
|
2
|
+
/**
|
|
3
|
+
* Web Component port of popgrids-ui's `<ButtonLink>` — an inline text-sized
|
|
4
|
+
* link/button used for secondary actions (e.g. "Back", "Resend Code").
|
|
5
|
+
* Renders an `<a>` when `href` is set, otherwise a `<button>`.
|
|
6
|
+
*
|
|
7
|
+
* Slots: default (label), `leading`, `trailing` (icons/elements either side
|
|
8
|
+
* of the label — omit entirely rather than passing an empty slot, so no
|
|
9
|
+
* unwanted gap is reserved for it).
|
|
10
|
+
*/
|
|
11
|
+
export declare class PopButtonLink extends BaseElement {
|
|
12
|
+
protected get styleSheets(): CSSStyleSheet[];
|
|
13
|
+
static get observedAttributes(): string[];
|
|
14
|
+
onHrefChanged(): void;
|
|
15
|
+
onSizeChanged(): void;
|
|
16
|
+
onThemeChanged(): void;
|
|
17
|
+
onPrimaryChanged(): void;
|
|
18
|
+
onDisabledChanged(): void;
|
|
19
|
+
onTypeChanged(): void;
|
|
20
|
+
onTargetChanged(): void;
|
|
21
|
+
onRelChanged(): void;
|
|
22
|
+
get href(): string | null;
|
|
23
|
+
set href(value: string | null);
|
|
24
|
+
get size(): "sm" | "md" | "lg";
|
|
25
|
+
set size(value: "sm" | "md" | "lg");
|
|
26
|
+
get theme(): "default" | "white" | "black";
|
|
27
|
+
set theme(value: "default" | "white" | "black");
|
|
28
|
+
get primary(): boolean;
|
|
29
|
+
set primary(value: boolean);
|
|
30
|
+
get disabled(): boolean;
|
|
31
|
+
set disabled(value: boolean);
|
|
32
|
+
get type(): "button" | "submit" | "reset";
|
|
33
|
+
set type(value: "button" | "submit" | "reset");
|
|
34
|
+
protected events: {
|
|
35
|
+
click: string;
|
|
36
|
+
};
|
|
37
|
+
protected onClick(event: MouseEvent): void;
|
|
38
|
+
private hasSlotted;
|
|
39
|
+
/** Whether the default slot has any non-whitespace light-DOM content. */
|
|
40
|
+
private hasLabel;
|
|
41
|
+
protected getTemplate(): string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=pop-button-link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pop-button-link.d.ts","sourceRoot":"","sources":["../../src/components/pop-button-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AA8H7D;;;;;;;;GAQG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,SAAS,KAAK,WAAW,oBAExB;IAED,MAAM,KAAK,kBAAkB,aAE5B;IAED,aAAa;IAIb,aAAa;IAIb,cAAc;IAId,gBAAgB;IAIhB,iBAAiB;IAIjB,aAAa;IAIb,eAAe;IAIf,YAAY;IAIZ,IAAI,IAAI,IAAI,MAAM,GAAG,IAAI,CAExB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAM5B;IAED,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,GAAG,IAAI,CAG7B;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,EAEjC;IAED,IAAI,KAAK,IAAI,SAAS,GAAG,OAAO,GAAG,OAAO,CAGzC;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,EAE7C;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,OAAO,EAMzB;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAM1B;IAED,IAAI,IAAI,IAAI,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAGxC;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,EAE5C;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAMnC,OAAO,CAAC,UAAU;IAIlB,yEAAyE;IACzE,OAAO,CAAC,QAAQ;IAShB,SAAS,CAAC,WAAW,IAAI,MAAM;CAgDhC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
1
2
|
import { GridStore } from '../store/grid-store.js';
|
|
2
3
|
import { BaseElement } from './base-element.js';
|
|
3
4
|
export declare class PopCommentBar extends BaseElement {
|
|
4
5
|
gridStore: GridStore;
|
|
6
|
+
authStore: EmbedAuthStore;
|
|
5
7
|
protected get styleSheets(): CSSStyleSheet[];
|
|
6
8
|
protected events: {
|
|
7
9
|
click: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-comment-bar.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-bar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop-comment-bar.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-bar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAmI7D,qBAAa,aAAc,SAAQ,WAAW;IACxB,SAAS,EAAG,SAAS,CAAC;IACjB,SAAS,EAAG,cAAc,CAAC;IAEpD,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAKnC,SAAS,CAAC,YAAY;YA6DR,UAAU;IA0BxB,SAAS,CAAC,WAAW,IAAI,MAAM;CAyBhC"}
|
|
@@ -2,6 +2,7 @@ import { BaseElement } from './base-element.js';
|
|
|
2
2
|
export declare class PopCommentIcon extends BaseElement {
|
|
3
3
|
protected get styleSheets(): CSSStyleSheet[];
|
|
4
4
|
static get observedAttributes(): string[];
|
|
5
|
+
onAriaLabelChanged(): void;
|
|
5
6
|
onCounterChanged(): void;
|
|
6
7
|
onIconUrlChanged(): void;
|
|
7
8
|
onSizeChanged(): void;
|
|
@@ -23,6 +24,8 @@ export declare class PopCommentIcon extends BaseElement {
|
|
|
23
24
|
set type(value: "button" | "submit" | "reset" | "menu");
|
|
24
25
|
get disabled(): boolean;
|
|
25
26
|
set disabled(value: boolean);
|
|
27
|
+
get ariaLabel(): string | null;
|
|
28
|
+
set ariaLabel(value: string | null);
|
|
26
29
|
protected events: {
|
|
27
30
|
click: string;
|
|
28
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-comment-icon.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"pop-comment-icon.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAoR7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C,SAAS,KAAK,WAAW,oBAExB;IAED,MAAM,KAAK,kBAAkB,aAE5B;IAED,kBAAkB;IAIlB,gBAAgB;IAIhB,gBAAgB;IAIhB,aAAa;IAIb,cAAc;IAId,gBAAgB;IAIhB,aAAa;IAIb,iBAAiB;IAIjB,IAAI,OAAO,IAAI,MAAM,CAEpB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,EAExB;IAED,IAAI,OAAO,IAAI,MAAM,GAAG,SAAS,CAEhC;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAMpC;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAErB;IAED,IAAI,KAAK,IAAI,OAAO,GAAG,SAAS,CAE/B;IAED,IAAI,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,SAAS,EAEnC;IAED,IAAI,OAAO,IAAI,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAErE;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,EAEzE;IAED,IAAI,IAAI,IAAI,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAEjD;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,EAErD;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,OAAO,EAM1B;IAED,IAAI,SAAS,IAAI,MAAM,GAAG,IAAI,CAE7B;IAED,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAMjC;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK;IAS9B,IAAI,IAAI,IAAI,MAAM,CA0FjB;IAED,SAAS,CAAC,WAAW,IAAI,MAAM;CAmChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-comment-thread.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-thread.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"pop-comment-thread.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment-thread.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAgE7D,qBAAa,gBAAiB,SAAQ,WAAW;IAC3B,SAAS,EAAG,SAAS,CAAC;IAE1C,OAAO,CAAC,QAAQ,CAAS;IAEzB,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAMnC,SAAS,CAAC,YAAY;IAgBtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAsChC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
1
2
|
import { GridStore } from '../store/grid-store.js';
|
|
2
3
|
import { BaseElement } from './base-element.js';
|
|
3
4
|
export declare class PopComment extends BaseElement {
|
|
4
5
|
gridStore: GridStore;
|
|
6
|
+
authStore: EmbedAuthStore;
|
|
5
7
|
static get observedAttributes(): string[];
|
|
6
8
|
onDataSizeChanged(): void;
|
|
7
9
|
onCommentIdChanged(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-comment.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop-comment.d.ts","sourceRoot":"","sources":["../../src/components/pop-comment.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AA0S7D,qBAAa,UAAW,SAAQ,WAAW;IACrB,SAAS,EAAG,SAAS,CAAC;IACjB,SAAS,EAAG,cAAc,CAAC;IAEpD,MAAM,KAAK,kBAAkB,aAE5B;IAED,iBAAiB;IAIjB,kBAAkB;IAIlB,IAAI,IAAI,IAAI,IAAI,GAAG,IAAI,CAEtB;IAED,IAAI,iBAAiB,IAAI,IAAI,GAAG,IAAI,CAEnC;IAED,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,gBAAgB,CAAC,CAAa;IAEtC,OAAO,CAAC,eAAe,CAQrB;IAEF,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,YAAY;IA2BpB,OAAO,CAAC,aAAa;YAaP,aAAa;YASb,WAAW;IAYzB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK;IAoD9B,OAAO,CAAC,UAAU;IA4BlB,OAAO,CAAC,gBAAgB,CAA8C;IAEtE,oBAAoB;IAMpB,OAAO,CAAC,gBAAgB;IA0CxB,OAAO,CAAC,eAAe;IAOvB,SAAS,CAAC,YAAY;IA8BtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAoHhC"}
|
|
@@ -1,16 +1,31 @@
|
|
|
1
|
+
import { EmbedAuthStore } from '../store/embed-auth-store.js';
|
|
1
2
|
import { GridStore } from '../store/grid-store.js';
|
|
2
3
|
import { BaseElement } from './base-element.js';
|
|
3
4
|
export declare class PopFeed extends BaseElement {
|
|
4
5
|
gridStore: GridStore;
|
|
6
|
+
authStore: EmbedAuthStore;
|
|
5
7
|
private _footerChild;
|
|
6
8
|
private _wasOpen;
|
|
9
|
+
private _noticeTimer;
|
|
10
|
+
private _noticeRetryAt;
|
|
7
11
|
protected get styleSheets(): CSSStyleSheet[];
|
|
12
|
+
protected events: {
|
|
13
|
+
click: string;
|
|
14
|
+
};
|
|
15
|
+
protected onClick(event: MouseEvent): void;
|
|
8
16
|
connectedCallback(): void;
|
|
9
17
|
disconnectedCallback(): void;
|
|
10
18
|
handleEvent(event: Event): void;
|
|
11
19
|
private onOutsideClick;
|
|
12
20
|
private onKeyDown;
|
|
13
21
|
protected setupEffects(): void;
|
|
22
|
+
/**
|
|
23
|
+
* For a rate-limit notice, swaps the dismiss button for a plain countdown
|
|
24
|
+
* (there's nothing for the visitor to do but wait) and dismisses the notice
|
|
25
|
+
* when it reaches zero. Keyed on the target time so the unrelated
|
|
26
|
+
* re-renders that call update() don't restart the timer.
|
|
27
|
+
*/
|
|
28
|
+
private syncNoticeCountdown;
|
|
14
29
|
private update;
|
|
15
30
|
protected getTemplate(): string;
|
|
16
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-feed.d.ts","sourceRoot":"","sources":["../../src/components/pop-feed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop-feed.d.ts","sourceRoot":"","sources":["../../src/components/pop-feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAqM7D,qBAAa,OAAQ,SAAQ,WAAW;IAClB,SAAS,EAAG,SAAS,CAAC;IACjB,SAAS,EAAG,cAAc,CAAC;IAEpD,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAuB;IAE7C,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,UAAU;IAOnC,iBAAiB;IAMjB,oBAAoB;IAOpB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAc/B,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,SAAS;IAejB,SAAS,CAAC,YAAY;IAuBtB;;;;;OAKG;IACH,OAAO,CAAC,mBAAmB;IA0B3B,OAAO,CAAC,MAAM;IAmEd,SAAS,CAAC,WAAW,IAAI,MAAM;CAmBhC"}
|
|
@@ -3,8 +3,17 @@ export declare class PopGrid extends BaseElement {
|
|
|
3
3
|
private _initialized;
|
|
4
4
|
private _floatingCleanup?;
|
|
5
5
|
private _store;
|
|
6
|
+
private _authStore;
|
|
6
7
|
protected get styleSheets(): CSSStyleSheet[];
|
|
8
|
+
static get observedAttributes(): string[];
|
|
7
9
|
connectedCallback(): void;
|
|
10
|
+
private _readOverridesFromAttributes;
|
|
11
|
+
private _applyOverridesFromAttributes;
|
|
12
|
+
onDataAlignChanged(): void;
|
|
13
|
+
onDataLayoutChanged(): void;
|
|
14
|
+
onDataPositionChanged(): void;
|
|
15
|
+
onDataIconChanged(): void;
|
|
16
|
+
onDataPreviewCountChanged(): void;
|
|
8
17
|
disconnectedCallback(): void;
|
|
9
18
|
protected setupEffects(): void;
|
|
10
19
|
protected getTemplate(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-grid.d.ts","sourceRoot":"","sources":["../../src/components/pop-grid.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pop-grid.d.ts","sourceRoot":"","sources":["../../src/components/pop-grid.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAmC7D,qBAAa,OAAQ,SAAQ,WAAW;IACtC,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,gBAAgB,CAAC,CAAa;IACtC,OAAO,CAAC,MAAM,CAAa;IAC3B,OAAO,CAAC,UAAU,CAAkB;IAEpC,SAAS,KAAK,WAAW,oBAExB;IAMD,MAAM,KAAK,kBAAkB,aAE5B;IAED,iBAAiB;IA+CjB,OAAO,CAAC,4BAA4B;IAkCpC,OAAO,CAAC,6BAA6B;IAOrC,kBAAkB;IAIlB,mBAAmB;IAInB,qBAAqB;IAIrB,iBAAiB;IAIjB,yBAAyB;IAIzB,oBAAoB;IAQpB,SAAS,CAAC,YAAY;IAuFtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAQhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-widget.d.ts","sourceRoot":"","sources":["../../src/components/pop-widget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"pop-widget.d.ts","sourceRoot":"","sources":["../../src/components/pop-widget.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,WAAW,EAAe,MAAM,mBAAmB,CAAC;AAkJ7D,qBAAa,SAAU,SAAQ,WAAW;IACpB,SAAS,EAAG,SAAS,CAAC;IAE1C,SAAS,KAAK,WAAW,oBAExB;IAED,SAAS,CAAC,MAAM;;MAEd;IAEF,SAAS,CAAC,OAAO;IAQjB,SAAS,CAAC,YAAY;IAmBtB,SAAS,CAAC,WAAW,IAAI,MAAM;CAiDhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selector for an element a component's JS reaches into, marked in its
|
|
3
|
+
* template with `data-ref="<name>"`. Keeps behavior hooks separate from the
|
|
4
|
+
* CSS classes used for styling, so restyling can't silently break a lookup.
|
|
5
|
+
* Works anywhere a selector does: getElement, setText, closest(), etc.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ref: (name: string) => string;
|
|
8
|
+
//# sourceMappingURL=refs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../src/components/refs.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,GAAG,GAAI,MAAM,MAAM,KAAG,MAAgC,CAAC"}
|