1import { 2 Directive, 3 HostBinding, 4 HostListener, 5 setClassMetadata, 6 ɵɵattribute, 7 ɵɵclassProp, 8 ɵɵdefineDirective, 9 ɵɵlistener 10} from "./chunk-J7O7R22V.js"; 11 12// src/app/splash-page/directives/disabled-link.directive.ts 13var _DisabledLinkDirective = class _DisabledLinkDirective { 14 constructor() { 15 this.aria = "true"; 16 this.tab = -1; 17 this.role = "link"; 18 this.cls = true; 19 this.tip = "Coming soon"; 20 } 21 block(e) { 22 e.preventDefault(); 23 e.stopPropagation(); 24 } 25}; 26_DisabledLinkDirective.\u0275fac = function DisabledLinkDirective_Factory(__ngFactoryType__) { 27 return new (__ngFactoryType__ || _DisabledLinkDirective)(); 28}; 29_DisabledLinkDirective.\u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({ type: _DisabledLinkDirective, selectors: [["", "hensonDisabledLink", ""]], hostVars: 6, hostBindings: function DisabledLinkDirective_HostBindings(rf, ctx) { 30 if (rf & 1) { 31 \u0275\u0275listener("click", function DisabledLinkDirective_click_HostBindingHandler($event) { 32 return ctx.block($event); 33 }); 34 } 35 if (rf & 2) { 36 \u0275\u0275attribute("aria-disabled", ctx.aria)("tabindex", ctx.tab)("role", ctx.role)("title", ctx.tip); 37 \u0275\u0275classProp("is-disabled", ctx.cls); 38 } 39} }); 40var DisabledLinkDirective = _DisabledLinkDirective; 41(() => { 42 (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(DisabledLinkDirective, [{ 43 type: Directive, 44 args: [{ selector: "[hensonDisabledLink]", standalone: true }] 45 }], null, { aria: [{ 46 type: HostBinding, 47 args: ["attr.aria-disabled"] 48 }], tab: [{ 49 type: HostBinding, 50 args: ["attr.tabindex"] 51 }], role: [{ 52 type: HostBinding, 53 args: ["attr.role"] 54 }], cls: [{ 55 type: HostBinding, 56 args: ["class.is-disabled"] 57 }], tip: [{ 58 type: HostBinding, 59 args: ["attr.title"] 60 }], block: [{ 61 type: HostListener, 62 args: ["click", ["$event"]] 63 }] }); 64})(); 65 66export { 67 DisabledLinkDirective 68}; 69//# sourceMappingURL=chunk-QBJDDXXY.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.