@molecule/app-ui-angular 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +115 -0
  2. package/README.md +1591 -0
  3. package/dist/components/alert.component.d.ts +71 -0
  4. package/dist/components/alert.component.d.ts.map +1 -0
  5. package/dist/components/alert.component.js +222 -0
  6. package/dist/components/alert.component.js.map +1 -0
  7. package/dist/components/badge.component.d.ts +27 -0
  8. package/dist/components/badge.component.d.ts.map +1 -0
  9. package/dist/components/badge.component.js +78 -0
  10. package/dist/components/badge.component.js.map +1 -0
  11. package/dist/components/button.component.d.ts +38 -0
  12. package/dist/components/button.component.d.ts.map +1 -0
  13. package/dist/components/button.component.js +136 -0
  14. package/dist/components/button.component.js.map +1 -0
  15. package/dist/components/checkbox.component.d.ts +53 -0
  16. package/dist/components/checkbox.component.d.ts.map +1 -0
  17. package/dist/components/checkbox.component.js +165 -0
  18. package/dist/components/checkbox.component.js.map +1 -0
  19. package/dist/components/index.d.ts +18 -0
  20. package/dist/components/index.d.ts.map +1 -0
  21. package/dist/components/index.js +18 -0
  22. package/dist/components/index.js.map +1 -0
  23. package/dist/components/input.component.d.ts +87 -0
  24. package/dist/components/input.component.d.ts.map +1 -0
  25. package/dist/components/input.component.js +307 -0
  26. package/dist/components/input.component.js.map +1 -0
  27. package/dist/components/modal.component.d.ts +142 -0
  28. package/dist/components/modal.component.d.ts.map +1 -0
  29. package/dist/components/modal.component.js +375 -0
  30. package/dist/components/modal.component.js.map +1 -0
  31. package/dist/components/radio-group.component.d.ts +63 -0
  32. package/dist/components/radio-group.component.d.ts.map +1 -0
  33. package/dist/components/radio-group.component.js +207 -0
  34. package/dist/components/radio-group.component.js.map +1 -0
  35. package/dist/components/select.component.d.ts +72 -0
  36. package/dist/components/select.component.d.ts.map +1 -0
  37. package/dist/components/select.component.js +273 -0
  38. package/dist/components/select.component.js.map +1 -0
  39. package/dist/components/spinner.component.d.ts +36 -0
  40. package/dist/components/spinner.component.d.ts.map +1 -0
  41. package/dist/components/spinner.component.js +115 -0
  42. package/dist/components/spinner.component.js.map +1 -0
  43. package/dist/components/switch.component.d.ts +54 -0
  44. package/dist/components/switch.component.d.ts.map +1 -0
  45. package/dist/components/switch.component.js +147 -0
  46. package/dist/components/switch.component.js.map +1 -0
  47. package/dist/components/toast.component.d.ts +92 -0
  48. package/dist/components/toast.component.d.ts.map +1 -0
  49. package/dist/components/toast.component.js +298 -0
  50. package/dist/components/toast.component.js.map +1 -0
  51. package/dist/components/tooltip.component.d.ts +77 -0
  52. package/dist/components/tooltip.component.d.ts.map +1 -0
  53. package/dist/components/tooltip.component.js +315 -0
  54. package/dist/components/tooltip.component.js.map +1 -0
  55. package/dist/index.d.ts +59 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +59 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/types.d.ts +7 -0
  60. package/dist/types.d.ts.map +1 -0
  61. package/dist/types.js +7 -0
  62. package/dist/types.js.map +1 -0
  63. package/dist/utilities/index.d.ts +8 -0
  64. package/dist/utilities/index.d.ts.map +1 -0
  65. package/dist/utilities/index.js +8 -0
  66. package/dist/utilities/index.js.map +1 -0
  67. package/dist/utilities/render-icon.d.ts +15 -0
  68. package/dist/utilities/render-icon.d.ts.map +1 -0
  69. package/dist/utilities/render-icon.js +44 -0
  70. package/dist/utilities/render-icon.js.map +1 -0
  71. package/dist/utilities/utilities.d.ts +12 -0
  72. package/dist/utilities/utilities.d.ts.map +1 -0
  73. package/dist/utilities/utilities.js +14 -0
  74. package/dist/utilities/utilities.js.map +1 -0
  75. package/package.json +54 -0
@@ -0,0 +1,165 @@
1
+ /**
2
+ * Angular Checkbox UI component with UIClassMap-driven styling.
3
+ *
4
+ * @module
5
+ */
6
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
7
+ import { getClassMap } from '@molecule/app-ui';
8
+ import * as i0 from "@angular/core";
9
+ function MoleculeCheckbox_Conditional_3_Template(rf, ctx) { if (rf & 1) {
10
+ i0.ɵɵdomElementStart(0, "span");
11
+ i0.ɵɵtext(1);
12
+ i0.ɵɵdomElementEnd();
13
+ } if (rf & 2) {
14
+ const ctx_r0 = i0.ɵɵnextContext();
15
+ i0.ɵɵclassMap(ctx_r0.labelClasses);
16
+ i0.ɵɵadvance();
17
+ i0.ɵɵtextInterpolate(ctx_r0.label);
18
+ } }
19
+ function MoleculeCheckbox_Conditional_4_Template(rf, ctx) { if (rf & 1) {
20
+ i0.ɵɵdomElementStart(0, "p");
21
+ i0.ɵɵtext(1);
22
+ i0.ɵɵdomElementEnd();
23
+ } if (rf & 2) {
24
+ const ctx_r0 = i0.ɵɵnextContext();
25
+ i0.ɵɵclassMap(ctx_r0.errorClasses);
26
+ i0.ɵɵadvance();
27
+ i0.ɵɵtextInterpolate(ctx_r0.error);
28
+ } }
29
+ /**
30
+ * Angular Checkbox UI component with UIClassMap-driven styling.
31
+ */
32
+ /**
33
+ * Molecule Checkbox class.
34
+ */
35
+ export class MoleculeCheckbox {
36
+ label;
37
+ checked = false;
38
+ indeterminate = false;
39
+ size;
40
+ error;
41
+ className;
42
+ style;
43
+ testId;
44
+ disabled = false;
45
+ name;
46
+ id;
47
+ handleChange = new EventEmitter();
48
+ /**
49
+ * Retrieves the current UI class map.
50
+ * @returns The UIClassMap instance for styling.
51
+ */
52
+ get cm() {
53
+ return getClassMap();
54
+ }
55
+ /**
56
+ * Resolves the checkbox input element ID.
57
+ * @returns The resolved ID from the id or name input.
58
+ */
59
+ get checkboxId() {
60
+ return this.id || this.name || '';
61
+ }
62
+ /**
63
+ * Computes the combined CSS classes for the checkbox input.
64
+ * @returns The checkbox class name string.
65
+ */
66
+ get checkboxClasses() {
67
+ return this.cm.cn(this.cm.checkbox({ error: !!this.error }), this.className);
68
+ }
69
+ /**
70
+ * Computes the CSS classes for the checkbox label text.
71
+ * @returns The label class name string.
72
+ */
73
+ get labelClasses() {
74
+ return this.cm.cn(this.cm.controlText, this.disabled && this.cm.controlDisabled);
75
+ }
76
+ /**
77
+ * Computes the CSS classes for the error message.
78
+ * @returns The error class name string.
79
+ */
80
+ get errorClasses() {
81
+ return this.cm.cn(this.cm.formError, this.cm.sp('mt', 1));
82
+ }
83
+ static ɵfac = function MoleculeCheckbox_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MoleculeCheckbox)(); };
84
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MoleculeCheckbox, selectors: [["mol-checkbox"]], inputs: { label: "label", checked: "checked", indeterminate: "indeterminate", size: "size", error: "error", className: "className", style: "style", testId: "testId", disabled: "disabled", name: "name", id: "id" }, outputs: { handleChange: "handleChange" }, decls: 5, vars: 17, consts: [["type", "checkbox", 3, "change", "id", "name", "checked", "disabled"], [3, "class"]], template: function MoleculeCheckbox_Template(rf, ctx) { if (rf & 1) {
85
+ i0.ɵɵdomElementStart(0, "div")(1, "label")(2, "input", 0);
86
+ i0.ɵɵdomListener("change", function MoleculeCheckbox_Template_input_change_2_listener($event) { return ctx.handleChange.emit($event); });
87
+ i0.ɵɵdomElementEnd();
88
+ i0.ɵɵconditionalCreate(3, MoleculeCheckbox_Conditional_3_Template, 2, 3, "span", 1);
89
+ i0.ɵɵdomElementEnd();
90
+ i0.ɵɵconditionalCreate(4, MoleculeCheckbox_Conditional_4_Template, 2, 3, "p", 1);
91
+ i0.ɵɵdomElementEnd();
92
+ } if (rf & 2) {
93
+ i0.ɵɵclassMap(ctx.cm.formFieldWrapper);
94
+ i0.ɵɵadvance();
95
+ i0.ɵɵclassMap(ctx.cm.controlLabel);
96
+ i0.ɵɵadvance();
97
+ i0.ɵɵstyleMap(ctx.style);
98
+ i0.ɵɵclassMap(ctx.checkboxClasses);
99
+ i0.ɵɵdomProperty("id", ctx.checkboxId)("name", ctx.name)("checked", ctx.checked)("disabled", ctx.disabled);
100
+ i0.ɵɵattribute("data-state", ctx.checked ? "checked" : "unchecked")("aria-invalid", !!ctx.error)("data-testid", ctx.testId);
101
+ i0.ɵɵadvance();
102
+ i0.ɵɵconditional(ctx.label ? 3 : -1);
103
+ i0.ɵɵadvance();
104
+ i0.ɵɵconditional(ctx.error ? 4 : -1);
105
+ } }, encapsulation: 2 });
106
+ }
107
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MoleculeCheckbox, [{
108
+ type: Component,
109
+ args: [{
110
+ selector: 'mol-checkbox',
111
+ standalone: true,
112
+ changeDetection: ChangeDetectionStrategy.OnPush,
113
+ template: `
114
+ <div [class]="cm.formFieldWrapper">
115
+ <label [class]="cm.controlLabel">
116
+ <input
117
+ type="checkbox"
118
+ [id]="checkboxId"
119
+ [name]="name"
120
+ [checked]="checked"
121
+ [disabled]="disabled"
122
+ [attr.data-state]="checked ? 'checked' : 'unchecked'"
123
+ [attr.aria-invalid]="!!error"
124
+ [class]="checkboxClasses"
125
+ [style]="style"
126
+ [attr.data-testid]="testId"
127
+ (change)="handleChange.emit($event)"
128
+ />
129
+ @if (label) {
130
+ <span [class]="labelClasses">{{ label }}</span>
131
+ }
132
+ </label>
133
+ @if (error) {
134
+ <p [class]="errorClasses">{{ error }}</p>
135
+ }
136
+ </div>
137
+ `,
138
+ }]
139
+ }], null, { label: [{
140
+ type: Input
141
+ }], checked: [{
142
+ type: Input
143
+ }], indeterminate: [{
144
+ type: Input
145
+ }], size: [{
146
+ type: Input
147
+ }], error: [{
148
+ type: Input
149
+ }], className: [{
150
+ type: Input
151
+ }], style: [{
152
+ type: Input
153
+ }], testId: [{
154
+ type: Input
155
+ }], disabled: [{
156
+ type: Input
157
+ }], name: [{
158
+ type: Input
159
+ }], id: [{
160
+ type: Input
161
+ }], handleChange: [{
162
+ type: Output
163
+ }] }); })();
164
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoleculeCheckbox, { className: "MoleculeCheckbox", filePath: "components/checkbox.component.ts", lineNumber: 48 }); })();
165
+ //# sourceMappingURL=checkbox.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.component.js","sourceRoot":"","sources":["../../src/components/checkbox.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG/F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;;;IA0BpC,+BAA6B;IAAA,YAAW;IAAA,oBAAO;;;IAAzC,kCAAsB;IAAC,cAAW;IAAX,kCAAW;;;IAI1C,4BAA0B;IAAA,YAAW;IAAA,oBAAI;;;IAAtC,kCAAsB;IAAC,cAAW;IAAX,kCAAW;;AA5B7C;;GAEG;AA+BH;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAClB,KAAK,CAAS;IACd,OAAO,GAAG,KAAK,CAAA;IACf,aAAa,GAAG,KAAK,CAAA;IACrB,IAAI,CAAO;IACX,KAAK,CAAS;IACd,SAAS,CAAS;IAClB,KAAK,CAAyB;IAC9B,MAAM,CAAS;IACf,QAAQ,GAAG,KAAK,CAAA;IAChB,IAAI,CAAS;IACb,EAAE,CAAS;IAEV,YAAY,GAAG,IAAI,YAAY,EAAS,CAAA;IAElD;;;OAGG;IACH,IAAI,EAAE;QACJ,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAA;IACnC,CAAC;IAED;;;OAGG;IACH,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IAC9E,CAAC;IAED;;;OAGG;IACH,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,CAAA;IAClF,CAAC;IAED;;;OAGG;IACH,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAA;IAC3D,CAAC;0GArDU,gBAAgB;6DAAhB,gBAAgB;YA1BrB,AADF,AADF,8BAAmC,YACA,eAa7B;YADA,uGAAU,6BAAyB,IAAC;YAXtC,oBAYE;YACF,mFAAa;YAGf,oBAAQ;YACR,gFAAa;YAGf,oBAAM;;YAtBD,sCAA6B;YACzB,cAAyB;YAAzB,kCAAyB;YAU5B,cAAe;YAAf,wBAAe;YADf,kCAAyB;YAHzB,AADA,AADA,AADA,sCAAiB,kBACJ,wBACM,0BACE;;YAQvB,cAEC;YAFD,oCAEC;YAEH,cAEC;YAFD,oCAEC;;;iFAOM,gBAAgB;cAjC5B,SAAS;eAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;GAwBT;aACF;;kBAKE,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAEL,MAAM;;kFAbI,gBAAgB"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Component exports.
3
+ *
4
+ * @module
5
+ */
6
+ export * from './alert.component.js';
7
+ export * from './badge.component.js';
8
+ export * from './button.component.js';
9
+ export * from './checkbox.component.js';
10
+ export * from './input.component.js';
11
+ export * from './modal.component.js';
12
+ export * from './radio-group.component.js';
13
+ export * from './select.component.js';
14
+ export * from './spinner.component.js';
15
+ export * from './switch.component.js';
16
+ export * from './toast.component.js';
17
+ export * from './tooltip.component.js';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Component exports.
3
+ *
4
+ * @module
5
+ */
6
+ export * from './alert.component.js';
7
+ export * from './badge.component.js';
8
+ export * from './button.component.js';
9
+ export * from './checkbox.component.js';
10
+ export * from './input.component.js';
11
+ export * from './modal.component.js';
12
+ export * from './radio-group.component.js';
13
+ export * from './select.component.js';
14
+ export * from './spinner.component.js';
15
+ export * from './switch.component.js';
16
+ export * from './toast.component.js';
17
+ export * from './tooltip.component.js';
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,87 @@
1
+ /**
2
+ * Angular Input UI component with UIClassMap-driven styling.
3
+ *
4
+ * @module
5
+ */
6
+ import { EventEmitter } from '@angular/core';
7
+ import type { InputType, Size, UIClassMap } from '@molecule/app-ui';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * Angular Input UI component with UIClassMap-driven styling.
11
+ */
12
+ export declare class MoleculeInput {
13
+ type: InputType;
14
+ size: Size;
15
+ label?: string;
16
+ error?: string;
17
+ hint?: string;
18
+ clearable: boolean;
19
+ clearLabel?: string;
20
+ className?: string;
21
+ style?: Record<string, string>;
22
+ testId?: string;
23
+ disabled: boolean;
24
+ required: boolean;
25
+ readOnly: boolean;
26
+ value?: string | number;
27
+ placeholder?: string;
28
+ name?: string;
29
+ id?: string;
30
+ maxLength?: number;
31
+ minLength?: number;
32
+ pattern?: string;
33
+ autoComplete?: string;
34
+ handleInput: EventEmitter<Event>;
35
+ handleChange: EventEmitter<Event>;
36
+ handleFocus: EventEmitter<FocusEvent>;
37
+ handleBlur: EventEmitter<FocusEvent>;
38
+ handleClear: EventEmitter<void>;
39
+ /**
40
+ * Retrieves the current UI class map.
41
+ * @returns The UIClassMap instance for styling.
42
+ */
43
+ get cm(): UIClassMap;
44
+ /**
45
+ * Computes the accessible clear button label.
46
+ * @returns The localized aria-label for the clear button.
47
+ */
48
+ get clearAriaLabel(): string;
49
+ /**
50
+ * Retrieves the CSS class for form error messages.
51
+ * @returns The form error class name string.
52
+ */
53
+ get formErrorClass(): string;
54
+ /**
55
+ * Retrieves the CSS class for form hint messages.
56
+ * @returns The form hint class name string.
57
+ */
58
+ get formHintClass(): string;
59
+ /**
60
+ * Resolves the input element ID.
61
+ * @returns The resolved ID from the id or name input.
62
+ */
63
+ get inputId(): string;
64
+ /**
65
+ * Computes the aria-describedby attribute value.
66
+ * @returns The ID of the describing element, or null if none.
67
+ */
68
+ get ariaDescribedBy(): string | null;
69
+ /**
70
+ * Computes the CSS classes for the input label.
71
+ * @returns The label class name string.
72
+ */
73
+ get labelClasses(): string;
74
+ /**
75
+ * Computes the combined CSS classes for the input element.
76
+ * @returns The input class name string.
77
+ */
78
+ get inputClasses(): string;
79
+ /**
80
+ * Generates the SVG markup for the clear button icon.
81
+ * @returns The SVG string for the clear icon.
82
+ */
83
+ get clearIconSvg(): string;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<MoleculeInput, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoleculeInput, "mol-input", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "clearLabel": { "alias": "clearLabel"; "required": false; }; "className": { "alias": "className"; "required": false; }; "style": { "alias": "style"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, { "handleInput": "handleInput"; "handleChange": "handleChange"; "handleFocus": "handleFocus"; "handleBlur": "handleBlur"; "handleClear": "handleClear"; }, never, never, true, never>;
86
+ }
87
+ //# sourceMappingURL=input.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.component.d.ts","sourceRoot":"","sources":["../../src/components/input.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAsC,YAAY,EAAiB,M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Ae,IAAI,MAAM,GAAG,IAAI,CAInC;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAMzB;IAED;;;OAGG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;yCAzGU,aAAa;2CAAb,aAAa;CA0GzB"}
@@ -0,0 +1,307 @@
1
+ /**
2
+ * Angular Input UI component with UIClassMap-driven styling.
3
+ *
4
+ * @module
5
+ */
6
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
7
+ import { t } from '@molecule/app-i18n';
8
+ import { getClassMap } from '@molecule/app-ui';
9
+ import { getIconSvg } from '../utilities/render-icon.js';
10
+ import * as i0 from "@angular/core";
11
+ function MoleculeInput_Conditional_1_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵdomElementStart(0, "label");
13
+ i0.ɵɵtext(1);
14
+ i0.ɵɵdomElementEnd();
15
+ } if (rf & 2) {
16
+ const ctx_r0 = i0.ɵɵnextContext();
17
+ i0.ɵɵclassMap(ctx_r0.labelClasses);
18
+ i0.ɵɵattribute("for", ctx_r0.inputId);
19
+ i0.ɵɵadvance();
20
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.label, " ");
21
+ } }
22
+ function MoleculeInput_Conditional_4_Template(rf, ctx) { if (rf & 1) {
23
+ const _r2 = i0.ɵɵgetCurrentView();
24
+ i0.ɵɵdomElementStart(0, "div")(1, "button", 3);
25
+ i0.ɵɵdomListener("click", function MoleculeInput_Conditional_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.handleClear.emit()); });
26
+ i0.ɵɵdomElement(2, "span", 4);
27
+ i0.ɵɵdomElementEnd()();
28
+ } if (rf & 2) {
29
+ const ctx_r0 = i0.ɵɵnextContext();
30
+ i0.ɵɵclassMap(ctx_r0.cm.inputClearButton);
31
+ i0.ɵɵadvance();
32
+ i0.ɵɵclassMap(ctx_r0.cm.inputClearButton);
33
+ i0.ɵɵattribute("aria-label", ctx_r0.clearAriaLabel);
34
+ i0.ɵɵadvance();
35
+ i0.ɵɵdomProperty("innerHTML", ctx_r0.clearIconSvg, i0.ɵɵsanitizeHtml);
36
+ } }
37
+ function MoleculeInput_Conditional_5_Template(rf, ctx) { if (rf & 1) {
38
+ i0.ɵɵdomElementStart(0, "p", 5);
39
+ i0.ɵɵtext(1);
40
+ i0.ɵɵdomElementEnd();
41
+ } if (rf & 2) {
42
+ const ctx_r0 = i0.ɵɵnextContext();
43
+ i0.ɵɵclassMap(ctx_r0.formErrorClass);
44
+ i0.ɵɵdomProperty("id", ctx_r0.inputId + "-error");
45
+ i0.ɵɵadvance();
46
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.error, " ");
47
+ } }
48
+ function MoleculeInput_Conditional_6_Template(rf, ctx) { if (rf & 1) {
49
+ i0.ɵɵdomElementStart(0, "p", 5);
50
+ i0.ɵɵtext(1);
51
+ i0.ɵɵdomElementEnd();
52
+ } if (rf & 2) {
53
+ const ctx_r0 = i0.ɵɵnextContext();
54
+ i0.ɵɵclassMap(ctx_r0.formHintClass);
55
+ i0.ɵɵdomProperty("id", ctx_r0.inputId + "-hint");
56
+ i0.ɵɵadvance();
57
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.hint, " ");
58
+ } }
59
+ /**
60
+ * Angular Input UI component with UIClassMap-driven styling.
61
+ */
62
+ /**
63
+ * Molecule Input class.
64
+ */
65
+ export class MoleculeInput {
66
+ type = 'text';
67
+ size = 'md';
68
+ label;
69
+ error;
70
+ hint;
71
+ clearable = false;
72
+ clearLabel;
73
+ className;
74
+ style;
75
+ testId;
76
+ disabled = false;
77
+ required = false;
78
+ readOnly = false;
79
+ value;
80
+ placeholder;
81
+ name;
82
+ id;
83
+ maxLength;
84
+ minLength;
85
+ pattern;
86
+ autoComplete;
87
+ handleInput = new EventEmitter();
88
+ handleChange = new EventEmitter();
89
+ handleFocus = new EventEmitter();
90
+ handleBlur = new EventEmitter();
91
+ handleClear = new EventEmitter();
92
+ /**
93
+ * Retrieves the current UI class map.
94
+ * @returns The UIClassMap instance for styling.
95
+ */
96
+ get cm() {
97
+ return getClassMap();
98
+ }
99
+ /**
100
+ * Computes the accessible clear button label.
101
+ * @returns The localized aria-label for the clear button.
102
+ */
103
+ get clearAriaLabel() {
104
+ return this.clearLabel || t('ui.input.clear', undefined, { defaultValue: 'Clear' });
105
+ }
106
+ /**
107
+ * Retrieves the CSS class for form error messages.
108
+ * @returns The form error class name string.
109
+ */
110
+ get formErrorClass() {
111
+ return this.cm.formError;
112
+ }
113
+ /**
114
+ * Retrieves the CSS class for form hint messages.
115
+ * @returns The form hint class name string.
116
+ */
117
+ get formHintClass() {
118
+ return this.cm.formHint;
119
+ }
120
+ /**
121
+ * Resolves the input element ID.
122
+ * @returns The resolved ID from the id or name input.
123
+ */
124
+ get inputId() {
125
+ return this.id || this.name || '';
126
+ }
127
+ /**
128
+ * Computes the aria-describedby attribute value.
129
+ * @returns The ID of the describing element, or null if none.
130
+ */
131
+ get ariaDescribedBy() {
132
+ if (this.error)
133
+ return `${this.inputId}-error`;
134
+ if (this.hint)
135
+ return `${this.inputId}-hint`;
136
+ return null;
137
+ }
138
+ /**
139
+ * Computes the CSS classes for the input label.
140
+ * @returns The label class name string.
141
+ */
142
+ get labelClasses() {
143
+ return this.cm.cn(this.cm.label({ required: this.required }), this.cm.labelBlock);
144
+ }
145
+ /**
146
+ * Computes the combined CSS classes for the input element.
147
+ * @returns The input class name string.
148
+ */
149
+ get inputClasses() {
150
+ return this.cm.cn(this.cm.input({ error: !!this.error, size: this.size }), this.clearable && this.cm.inputPadRight, this.className);
151
+ }
152
+ /**
153
+ * Generates the SVG markup for the clear button icon.
154
+ * @returns The SVG string for the clear icon.
155
+ */
156
+ get clearIconSvg() {
157
+ return getIconSvg('x-mark', this.cm.iconSm);
158
+ }
159
+ static ɵfac = function MoleculeInput_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MoleculeInput)(); };
160
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MoleculeInput, selectors: [["mol-input"]], inputs: { type: "type", size: "size", label: "label", error: "error", hint: "hint", clearable: "clearable", clearLabel: "clearLabel", className: "className", style: "style", testId: "testId", disabled: "disabled", required: "required", readOnly: "readOnly", value: "value", placeholder: "placeholder", name: "name", id: "id", maxLength: "maxLength", minLength: "minLength", pattern: "pattern", autoComplete: "autoComplete" }, outputs: { handleInput: "handleInput", handleChange: "handleChange", handleFocus: "handleFocus", handleBlur: "handleBlur", handleClear: "handleClear" }, decls: 7, vars: 27, consts: [[3, "class"], [3, "input", "change", "focus", "blur", "type", "id", "name", "value", "placeholder", "disabled", "required", "readOnly"], [3, "id", "class"], ["type", "button", 3, "click"], [3, "innerHTML"], [3, "id"]], template: function MoleculeInput_Template(rf, ctx) { if (rf & 1) {
161
+ i0.ɵɵdomElementStart(0, "div");
162
+ i0.ɵɵconditionalCreate(1, MoleculeInput_Conditional_1_Template, 2, 4, "label", 0);
163
+ i0.ɵɵdomElementStart(2, "div")(3, "input", 1);
164
+ i0.ɵɵdomListener("input", function MoleculeInput_Template_input_input_3_listener($event) { return ctx.handleInput.emit($event); })("change", function MoleculeInput_Template_input_change_3_listener($event) { return ctx.handleChange.emit($event); })("focus", function MoleculeInput_Template_input_focus_3_listener($event) { return ctx.handleFocus.emit($event); })("blur", function MoleculeInput_Template_input_blur_3_listener($event) { return ctx.handleBlur.emit($event); });
165
+ i0.ɵɵdomElementEnd();
166
+ i0.ɵɵconditionalCreate(4, MoleculeInput_Conditional_4_Template, 3, 6, "div", 0);
167
+ i0.ɵɵdomElementEnd();
168
+ i0.ɵɵconditionalCreate(5, MoleculeInput_Conditional_5_Template, 2, 4, "p", 2);
169
+ i0.ɵɵconditionalCreate(6, MoleculeInput_Conditional_6_Template, 2, 4, "p", 2);
170
+ i0.ɵɵdomElementEnd();
171
+ } if (rf & 2) {
172
+ i0.ɵɵclassMap(ctx.cm.inputWrapper);
173
+ i0.ɵɵadvance();
174
+ i0.ɵɵconditional(ctx.label ? 1 : -1);
175
+ i0.ɵɵadvance();
176
+ i0.ɵɵclassMap(ctx.cm.inputInner);
177
+ i0.ɵɵadvance();
178
+ i0.ɵɵstyleMap(ctx.style);
179
+ i0.ɵɵclassMap(ctx.inputClasses);
180
+ i0.ɵɵdomProperty("type", ctx.type)("id", ctx.inputId)("name", ctx.name)("value", ctx.value)("placeholder", ctx.placeholder)("disabled", ctx.disabled)("required", ctx.required)("readOnly", ctx.readOnly);
181
+ i0.ɵɵattribute("aria-invalid", !!ctx.error)("aria-describedby", ctx.ariaDescribedBy)("data-testid", ctx.testId)("maxlength", ctx.maxLength)("minlength", ctx.minLength)("pattern", ctx.pattern)("autocomplete", ctx.autoComplete);
182
+ i0.ɵɵadvance();
183
+ i0.ɵɵconditional(ctx.clearable && ctx.value ? 4 : -1);
184
+ i0.ɵɵadvance();
185
+ i0.ɵɵconditional(ctx.error ? 5 : -1);
186
+ i0.ɵɵadvance();
187
+ i0.ɵɵconditional(ctx.hint && !ctx.error ? 6 : -1);
188
+ } }, encapsulation: 2 });
189
+ }
190
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MoleculeInput, [{
191
+ type: Component,
192
+ args: [{
193
+ selector: 'mol-input',
194
+ standalone: true,
195
+ changeDetection: ChangeDetectionStrategy.OnPush,
196
+ template: `
197
+ <div [class]="cm.inputWrapper">
198
+ @if (label) {
199
+ <label [attr.for]="inputId" [class]="labelClasses">
200
+ {{ label }}
201
+ </label>
202
+ }
203
+ <div [class]="cm.inputInner">
204
+ <input
205
+ [type]="type"
206
+ [id]="inputId"
207
+ [name]="name"
208
+ [value]="value"
209
+ [placeholder]="placeholder"
210
+ [disabled]="disabled"
211
+ [required]="required"
212
+ [readOnly]="readOnly"
213
+ [attr.aria-invalid]="!!error"
214
+ [attr.aria-describedby]="ariaDescribedBy"
215
+ [class]="inputClasses"
216
+ [style]="style"
217
+ [attr.data-testid]="testId"
218
+ [attr.maxlength]="maxLength"
219
+ [attr.minlength]="minLength"
220
+ [attr.pattern]="pattern"
221
+ [attr.autocomplete]="autoComplete"
222
+ (input)="handleInput.emit($event)"
223
+ (change)="handleChange.emit($event)"
224
+ (focus)="handleFocus.emit($event)"
225
+ (blur)="handleBlur.emit($event)"
226
+ />
227
+ @if (clearable && value) {
228
+ <div [class]="cm.inputClearButton">
229
+ <button
230
+ type="button"
231
+ (click)="handleClear.emit()"
232
+ [class]="cm.inputClearButton"
233
+ [attr.aria-label]="clearAriaLabel"
234
+ >
235
+ <span [innerHTML]="clearIconSvg"></span>
236
+ </button>
237
+ </div>
238
+ }
239
+ </div>
240
+ @if (error) {
241
+ <p [id]="inputId + '-error'" [class]="formErrorClass">
242
+ {{ error }}
243
+ </p>
244
+ }
245
+ @if (hint && !error) {
246
+ <p [id]="inputId + '-hint'" [class]="formHintClass">
247
+ {{ hint }}
248
+ </p>
249
+ }
250
+ </div>
251
+ `,
252
+ }]
253
+ }], null, { type: [{
254
+ type: Input
255
+ }], size: [{
256
+ type: Input
257
+ }], label: [{
258
+ type: Input
259
+ }], error: [{
260
+ type: Input
261
+ }], hint: [{
262
+ type: Input
263
+ }], clearable: [{
264
+ type: Input
265
+ }], clearLabel: [{
266
+ type: Input
267
+ }], className: [{
268
+ type: Input
269
+ }], style: [{
270
+ type: Input
271
+ }], testId: [{
272
+ type: Input
273
+ }], disabled: [{
274
+ type: Input
275
+ }], required: [{
276
+ type: Input
277
+ }], readOnly: [{
278
+ type: Input
279
+ }], value: [{
280
+ type: Input
281
+ }], placeholder: [{
282
+ type: Input
283
+ }], name: [{
284
+ type: Input
285
+ }], id: [{
286
+ type: Input
287
+ }], maxLength: [{
288
+ type: Input
289
+ }], minLength: [{
290
+ type: Input
291
+ }], pattern: [{
292
+ type: Input
293
+ }], autoComplete: [{
294
+ type: Input
295
+ }], handleInput: [{
296
+ type: Output
297
+ }], handleChange: [{
298
+ type: Output
299
+ }], handleFocus: [{
300
+ type: Output
301
+ }], handleBlur: [{
302
+ type: Output
303
+ }], handleClear: [{
304
+ type: Output
305
+ }] }); })();
306
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MoleculeInput, { className: "MoleculeInput", filePath: "components/input.component.ts", lineNumber: 82 }); })();
307
+ //# sourceMappingURL=input.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input.component.js","sourceRoot":"","sources":["../../src/components/input.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE/F,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;;;IAYhD,gCAAmD;IACjD,YACF;IAAA,oBAAQ;;;IAFoB,kCAAsB;;IAChD,cACF;IADE,6CACF;;;;IA4BI,AADF,8BAAmC,gBAMhC;IAHC,oLAAS,yBAAkB,KAAC;IAI5B,6BAAwC;IAE5C,AADE,oBAAS,EACL;;;IATD,yCAA6B;IAI9B,cAA6B;IAA7B,yCAA6B;;IAGvB,cAA0B;IAA1B,qEAA0B;;;IAMtC,+BAAsD;IACpD,YACF;IAAA,oBAAI;;;IAFyB,oCAAwB;IAAlD,iDAAyB;IAC1B,cACF;IADE,6CACF;;;IAGA,+BAAoD;IAClD,YACF;IAAA,oBAAI;;;IAFwB,mCAAuB;IAAhD,gDAAwB;IACzB,cACF;IADE,4CACF;;AA3DR;;GAEG;AA8DH;;GAEG;AACH,MAAM,OAAO,aAAa;IACf,IAAI,GAAc,MAAM,CAAA;IACxB,IAAI,GAAS,IAAI,CAAA;IACjB,KAAK,CAAS;IACd,KAAK,CAAS;IACd,IAAI,CAAS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