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,9 @@
import { Buffer } from '../buffer';
declare const bufferAllocUnsafe: (size: number) => Buffer<ArrayBuffer>;
declare const bufferFrom: {
(array: import("buffer").WithImplicitCoercion<ArrayLike<number>>): Buffer<ArrayBuffer>;
<TArrayBuffer extends import("buffer").WithImplicitCoercion<ArrayBufferLike>>(arrayBuffer: TArrayBuffer, byteOffset?: number, length?: number): Buffer<import("buffer").ImplicitArrayBuffer<TArrayBuffer>>;
(string: import("buffer").WithImplicitCoercion<string>, encoding?: BufferEncoding): Buffer<ArrayBuffer>;
(arrayOrString: import("buffer").WithImplicitCoercion<ArrayLike<number> | string>): Buffer<ArrayBuffer>;
};
export { Buffer, bufferAllocUnsafe, bufferFrom };

View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bufferFrom = exports.bufferAllocUnsafe = exports.Buffer = void 0;
const buffer_1 = require("../buffer");
Object.defineProperty(exports, "Buffer", { enumerable: true, get: function () { return buffer_1.Buffer; } });
function bufferV0P12Ponyfill(arg0, ...args) {
return new buffer_1.Buffer(arg0, ...args);
}
const bufferAllocUnsafe = buffer_1.Buffer.allocUnsafe || bufferV0P12Ponyfill;
exports.bufferAllocUnsafe = bufferAllocUnsafe;
const bufferFrom = buffer_1.Buffer.from || bufferV0P12Ponyfill;
exports.bufferFrom = bufferFrom;
//# sourceMappingURL=buffer.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"buffer.js","sourceRoot":"","sources":["../../src/internal/buffer.ts"],"names":[],"mappings":";;;AAAA,sCAAmC;AAS1B,uFATA,eAAM,OASA;AAPf,SAAS,mBAAmB,CAAC,IAAS,EAAE,GAAG,IAAS;IAClD,OAAO,IAAI,eAAM,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,iBAAiB,GAAG,eAAM,CAAC,WAAW,IAAI,mBAAmB,CAAC;AAGnD,8CAAiB;AAFlC,MAAM,UAAU,GAAG,eAAM,CAAC,IAAI,IAAI,mBAAmB,CAAC;AAElB,gCAAU"}

View File

@@ -0,0 +1,31 @@
declare const g: typeof globalThis;
declare class AssertionError extends g.Error {
generatedMessage: any;
name: any;
code: any;
actual: any;
expected: any;
operator: any;
constructor(options: any);
}
declare function message(key: any, args: any): any;
declare function E(sym: any, val: any): void;
export declare const Error: {
new (key: any, ...args: any[]): {
[x: string]: any;
};
[x: string]: any;
};
export declare const TypeError: {
new (key: any, ...args: any[]): {
[x: string]: any;
};
[x: string]: any;
};
export declare const RangeError: {
new (key: any, ...args: any[]): {
[x: string]: any;
};
[x: string]: any;
};
export { message, AssertionError, E };

View File

@@ -0,0 +1,77 @@
"use strict";
// Adapted from Node.js ../internal/errors.js, used for throwing similar errors to Node.js.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssertionError = exports.RangeError = exports.TypeError = exports.Error = void 0;
exports.message = message;
exports.E = E;
const util_1 = require("../util");
const kCode = typeof Symbol === 'undefined' ? '_kCode' : Symbol('code');
const messages = {};
function makeNodeError(Base) {
return class NodeError extends Base {
constructor(key, ...args) {
super(message(key, args));
this.code = key;
this[kCode] = key;
this.name = `${super.name} [${this[kCode]}]`;
}
};
}
const g = typeof globalThis !== 'undefined' ? globalThis : global;
class AssertionError extends g.Error {
constructor(options) {
if (typeof options !== 'object' || options === null) {
throw new exports.TypeError('ERR_INVALID_ARG_TYPE', 'options', 'object');
}
if (options.message) {
super(options.message);
}
else {
super(`${(0, util_1.inspect)(options.actual).slice(0, 128)} ` + `${options.operator} ${(0, util_1.inspect)(options.expected).slice(0, 128)}`);
}
this.generatedMessage = !options.message;
this.name = 'AssertionError [ERR_ASSERTION]';
this.code = 'ERR_ASSERTION';
this.actual = options.actual;
this.expected = options.expected;
this.operator = options.operator;
exports.Error.captureStackTrace(this, options.stackStartFunction);
}
}
exports.AssertionError = AssertionError;
function message(key, args) {
if (typeof key !== 'string')
throw new exports.Error('Error message key must be a string');
const msg = messages[key];
if (!msg)
throw new exports.Error(`An invalid error message key was used: ${key}.`);
let fmt;
if (typeof msg === 'function') {
fmt = msg;
}
else {
fmt = util_1.format;
if (args === undefined || args.length === 0)
return msg;
args.unshift(msg);
}
return String(fmt.apply(null, args));
}
// Utility function for registering the error codes. Only used here. Exported
// *only* to allow for testing.
function E(sym, val) {
messages[sym] = typeof val === 'function' ? val : String(val);
}
exports.Error = makeNodeError(g.Error);
exports.TypeError = makeNodeError(g.TypeError);
exports.RangeError = makeNodeError(g.RangeError);
E('ERR_DIR_CLOSED', 'Directory handle was closed');
E('ERR_DIR_CONCURRENT_OPERATION', 'Cannot do synchronous work on directory handle with concurrent asynchronous operations');
E('ERR_INVALID_FILE_URL_HOST', 'File URL host must be "localhost" or empty on %s');
E('ERR_INVALID_FILE_URL_PATH', 'File URL path %s');
E('ERR_INVALID_OPT_VALUE', (name, value) => {
return `The value "${String(value)}" is invalid for option "${name}"`;
});
E('ERR_INVALID_OPT_VALUE_ENCODING', value => `The value "${String(value)}" is invalid for option "encoding"`);
E('ERR_INVALID_ARG_VALUE', 'Unable to open file as blob');
//# sourceMappingURL=errors.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/internal/errors.ts"],"names":[],"mappings":";AAAA,2FAA2F;;;AA2ElF,0BAAO;AAAkB,cAAC;AAzEnC,kCAA0C;AAE1C,MAAM,KAAK,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAE,MAAc,CAAC,MAAM,CAAC,CAAC;AACjF,MAAM,QAAQ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