@aparte/core 0.27.1 → 0.27.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/components/bubble/aparte-chat-bubble.d.ts +3 -1
- package/dist/components/bubble/aparte-chat-bubble.d.ts.map +1 -1
- package/dist/config/aparte-config.d.ts +1 -0
- package/dist/config/aparte-config.d.ts.map +1 -1
- package/dist/custom-elements.json +11414 -11395
- package/dist/{defer-hydration-CcoHD2cy.js → defer-hydration-CcKxPqNM.js} +5 -3
- package/dist/defer-hydration-CcKxPqNM.js.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +17 -10
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -1
- package/dist/types/events.d.ts +7 -4
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/models.d.ts +8 -0
- package/dist/types/models.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/defer-hydration-CcoHD2cy.js.map +0 -1
|
@@ -1978,7 +1978,8 @@ const APARTE_DEFAULT_BUBBLE_ACTIONS = {
|
|
|
1978
1978
|
info: false
|
|
1979
1979
|
};
|
|
1980
1980
|
const APARTE_DEFAULT_HOST_HANDLERS = {
|
|
1981
|
-
attachmentPreview: false
|
|
1981
|
+
attachmentPreview: false,
|
|
1982
|
+
filePreview: false
|
|
1982
1983
|
};
|
|
1983
1984
|
const NOOP = () => {
|
|
1984
1985
|
};
|
|
@@ -2207,7 +2208,8 @@ class AparteConfig {
|
|
|
2207
2208
|
// forgotten here.
|
|
2208
2209
|
getHostHandlers() {
|
|
2209
2210
|
return {
|
|
2210
|
-
attachmentPreview: this._hostHandlers.attachmentPreview ?? APARTE_DEFAULT_HOST_HANDLERS.attachmentPreview
|
|
2211
|
+
attachmentPreview: this._hostHandlers.attachmentPreview ?? APARTE_DEFAULT_HOST_HANDLERS.attachmentPreview,
|
|
2212
|
+
filePreview: this._hostHandlers.filePreview ?? APARTE_DEFAULT_HOST_HANDLERS.filePreview
|
|
2211
2213
|
};
|
|
2212
2214
|
}
|
|
2213
2215
|
/** Returns the resolved bubble actions config (flag defaults applied; per-role sets passed through). */
|
|
@@ -9340,4 +9342,4 @@ export {
|
|
|
9340
9342
|
collectRendererStyles as y,
|
|
9341
9343
|
contentToText as z
|
|
9342
9344
|
};
|
|
9343
|
-
//# sourceMappingURL=defer-hydration-
|
|
9345
|
+
//# sourceMappingURL=defer-hydration-CcKxPqNM.js.map
|