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>
22 lines
511 B
JavaScript
22 lines
511 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Codec for code generated by the Bower plugin.
|
|
* @type {{name:string, decode:function, abstract:boolean}}
|
|
*/
|
|
module.exports = {
|
|
name : 'bowerComponent',
|
|
decode : decode,
|
|
abstract: true
|
|
};
|
|
|
|
/**
|
|
* Validate the given uri (abstract).
|
|
* @this {{options: object}} A loader or compilation
|
|
* @param {string} uri A source uri to decode
|
|
* @returns {boolean|string} False where unmatched else True
|
|
*/
|
|
function decode(uri) {
|
|
return /^\/?([\w-]+)\s+\(bower component\)$/.test(uri);
|
|
}
|