feat: add logo image and RTL support styles
- Added logo image to assets. - Implemented RTL support styles in rtlSupport.scss for various components including breadcrumb, datatable, and tree node toggle button. chore: configure environment files for production, staging, and development - Created environment.prod.ts for production settings. - Created environment.staging.ts for staging settings. - Created environment.ts for local development settings. feat: define custom theme preset - Added presets.ts to define a custom theme preset using PrimeUIX with specific component styles and semantic colors. chore: set up proxy configuration for local development
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Prevent aggressive content-scripts and autofill engines from inspecting
|
||||
* or modifying inputs by setting common attributes that signal disabled
|
||||
* editing/grammar/autocomplete features.
|
||||
*/
|
||||
@Directive({ selector: '[appBlockContentScripts]', standalone: true })
|
||||
export class BlockContentScriptsDirective {
|
||||
constructor(
|
||||
private el: ElementRef<HTMLElement>,
|
||||
private r: Renderer2,
|
||||
) {
|
||||
const attrs: Record<string, string> = {
|
||||
autocomplete: 'off',
|
||||
spellcheck: 'false',
|
||||
'data-gramm': 'false',
|
||||
'data-gramm_editor': 'false',
|
||||
autocorrect: 'off',
|
||||
autocapitalize: 'off',
|
||||
'aria-autocomplete': 'none',
|
||||
};
|
||||
|
||||
Object.entries(attrs).forEach(([k, v]) => this.r.setAttribute(this.el.nativeElement, k, v));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user