mk-test-client-lib-prime-sdk
Version:
Angular 20 test library with secondary entry point
43 lines (37 loc) • 3.73 kB
JavaScript
import * as i0 from '@angular/core';
import { Component, signal } from '@angular/core';
import * as i1 from 'primeng/button';
import { ButtonModule } from 'primeng/button';
import * as i2 from '@angular/forms';
import { FormsModule } from '@angular/forms';
import * as i1$1 from 'primeng/floatlabel';
import { FloatLabelModule } from 'primeng/floatlabel';
class PrimeSdk {
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PrimeSdk, deps: [], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PrimeSdk, isStandalone: true, selector: "lib-prime-sdk", ngImport: i0, template: `
<p-button label="Submit" />
`, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "raised", "rounded", "text", "plain", "severity", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "buttonProps", "autofocus", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PrimeSdk, decorators: [{
type: Component,
args: [{ selector: 'lib-prime-sdk', imports: [ButtonModule], template: `
<p-button label="Submit" />
` }]
}] });
class PrimeFloatlabel {
value = signal('', ...(ngDevMode ? [{ debugName: "value" }] : []));
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PrimeFloatlabel, deps: [], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: PrimeFloatlabel, isStandalone: true, selector: "lib-prime-floatlabel", ngImport: i0, template: "<div class=\"card flex justify-center\">\n <p-floatlabel>\n <input id=\"username\" pInputText [(ngModel)]=\"value\" />\n <label for=\"username\">Username</label>\n </p-floatlabel>\n</div>", styles: [""], dependencies: [{ kind: "ngmodule", type: FloatLabelModule }, { kind: "component", type: i1$1.FloatLabel, selector: "p-floatlabel, p-floatLabel, p-float-label", inputs: ["variant"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PrimeFloatlabel, decorators: [{
type: Component,
args: [{ selector: 'lib-prime-floatlabel', imports: [FloatLabelModule, FormsModule], template: "<div class=\"card flex justify-center\">\n <p-floatlabel>\n <input id=\"username\" pInputText [(ngModel)]=\"value\" />\n <label for=\"username\">Username</label>\n </p-floatlabel>\n</div>" }]
}] });
/*
* Public API Surface of prime-sdk
*/
/**
* Generated bundle index. Do not edit.
*/
export { PrimeFloatlabel, PrimeSdk };
//# sourceMappingURL=mk-test-client-lib-prime-sdk.mjs.map