Initial commit: notification-elements-demo app

Interactive Angular 19 demo for @sda/notification-elements-ui with
6 sections: Bell & Feed, Notification Center, Inbox, Comments &
Threads, Mention Input, and Full-Featured layout. Includes mock
data, dark mode toggle, and real-time event log.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Giuliano Silvestro
2026-02-13 21:49:19 +10:00
commit 5d0c9ec7eb
36473 changed files with 3778146 additions and 0 deletions

View File

@@ -0,0 +1 @@
export declare const fromStream: (stream: ReadableStream<Uint8Array>) => Promise<Uint8Array>;

View File

@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fromStream = void 0;
const concat_1 = require("../buffers/concat");
const fromStream = async (stream) => {
const reader = stream.getReader();
const chunks = [];
while (true) {
const { done, value } = await reader.read();
if (done)
break;
chunks.push(value);
}
return (0, concat_1.listToUint8)(chunks);
};
exports.fromStream = fromStream;
//# sourceMappingURL=fromStream.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"fromStream.js","sourceRoot":"","sources":["../../src/streams/fromStream.ts"],"names":[],"mappings":";;;AAAA,8CAA8C;AAEvC,MAAM,UAAU,GAAG,KAAK,EAAE,MAAkC,EAAuB,EAAE;IAC1F,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;IAClC,MAAM,MAAM,GAAiB,EAAE,CAAC;IAChC,OAAO,IAAI,EAAE,CAAC;QACZ,MAAM,EAAC,IAAI,EAAE,KAAK,EAAC,GAAG,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;QAC1C,IAAI,IAAI;YAAE,MAAM;QAChB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrB,CAAC;IACD,OAAO,IAAA,oBAAW,EAAC,MAAM,CAAC,CAAC;AAC7B,CAAC,CAAC;AATW,QAAA,UAAU,cASrB"}

View File

@@ -0,0 +1 @@
export declare const toStream: (data: Uint8Array) => ReadableStream<Uint8Array>;

13
node_modules/@jsonjoy.com/util/lib/streams/toStream.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toStream = void 0;
const toStream = (data) => {
return new ReadableStream({
start(controller) {
controller.enqueue(data);
controller.close();
},
});
};
exports.toStream = toStream;
//# sourceMappingURL=toStream.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"toStream.js","sourceRoot":"","sources":["../../src/streams/toStream.ts"],"names":[],"mappings":";;;AAAO,MAAM,QAAQ,GAAG,CAAC,IAAgB,EAA8B,EAAE;IACvE,OAAO,IAAI,cAAc,CAAC;QACxB,KAAK,CAAC,UAAU;YACd,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACzB,UAAU,CAAC,KAAK,EAAE,CAAC;QACrB,CAAC;KACF,CAAC,CAAC;AACL,CAAC,CAAC;AAPW,QAAA,QAAQ,YAOnB"}