@molecule/app-settings-container-angular 0.0.0-stage → 0.0.1-stage
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.
- package/LICENSE +202 -0
- package/README.md +10 -2
- package/dist/index.d.ts +87 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +87 -0
- package/dist/index.js.map +1 -0
- package/dist/settings-content.component.d.ts +27 -0
- package/dist/settings-content.component.d.ts.map +1 -0
- package/dist/settings-content.component.js +56 -0
- package/dist/settings-content.component.js.map +1 -0
- package/dist/settings-layout.component.d.ts +59 -0
- package/dist/settings-layout.component.d.ts.map +1 -0
- package/dist/settings-layout.component.js +128 -0
- package/dist/settings-layout.component.js.map +1 -0
- package/dist/settings-section.component.d.ts +130 -0
- package/dist/settings-section.component.d.ts.map +1 -0
- package/dist/settings-section.component.js +303 -0
- package/dist/settings-section.component.js.map +1 -0
- package/dist/settings-sidebar.component.d.ts +110 -0
- package/dist/settings-sidebar.component.d.ts.map +1 -0
- package/dist/settings-sidebar.component.js +270 -0
- package/dist/settings-sidebar.component.js.map +1 -0
- package/dist/slots.d.ts +45 -0
- package/dist/slots.d.ts.map +1 -0
- package/dist/slots.js +55 -0
- package/dist/slots.js.map +1 -0
- package/dist/types.d.ts +89 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +8 -0
- package/dist/types.js.map +1 -0
- package/package.json +69 -4
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SettingsLayout component (React parity).
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { getClassMap } from '@molecule/app-ui';
|
|
9
|
+
import { isTemplate } from './slots.js';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
const _c0 = [[["", "slot", "header"]], [["", "slot", "sidebar"]], "*"];
|
|
12
|
+
const _c1 = ["[slot=header]", "[slot=sidebar]", "*"];
|
|
13
|
+
function SettingsLayout_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementContainer(0, 0);
|
|
15
|
+
} if (rf & 2) {
|
|
16
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
17
|
+
} }
|
|
18
|
+
/**
|
|
19
|
+
* Two-column settings-page scaffold.
|
|
20
|
+
*
|
|
21
|
+
* Sidebar on the left, content on the right, optional (non-sticky) header
|
|
22
|
+
* above both. The host IS the outer `<div>` (`div[mol-settings-layout]`),
|
|
23
|
+
* matching React's root exactly. Node props are projected content:
|
|
24
|
+
* `[slot=header]` lands above the columns, `[slot=sidebar]` inside the
|
|
25
|
+
* `<aside>`, and everything else in the main content column.
|
|
26
|
+
*/
|
|
27
|
+
export class SettingsLayout {
|
|
28
|
+
/** Optional header (breadcrumb, title, save button) — a template or projected `[slot=header]` content. */
|
|
29
|
+
header;
|
|
30
|
+
/** Extra classes on the outer wrapper. */
|
|
31
|
+
className;
|
|
32
|
+
/** `data-mol-id` for AI-agent selectors. */
|
|
33
|
+
dataMolId;
|
|
34
|
+
/**
|
|
35
|
+
* The current class map.
|
|
36
|
+
* @returns The UIClassMap.
|
|
37
|
+
*/
|
|
38
|
+
cm() {
|
|
39
|
+
return getClassMap();
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The outer wrapper's class list (React's `cm.cn(cm.stack(4), className)`).
|
|
43
|
+
* @returns The class string.
|
|
44
|
+
*/
|
|
45
|
+
classes() {
|
|
46
|
+
return this.cm().cn(this.cm().stack(4), this.className);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The header as a template, when the caller passed a node rather than
|
|
50
|
+
* projected content.
|
|
51
|
+
* @returns The header template, or null.
|
|
52
|
+
*/
|
|
53
|
+
headerTemplate() {
|
|
54
|
+
return isTemplate(this.header) ? this.header : null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The column row's class (`cm.flex({ align: 'start', gap: 'lg' })`).
|
|
58
|
+
* @returns The class string.
|
|
59
|
+
*/
|
|
60
|
+
rowClasses() {
|
|
61
|
+
return this.cm().flex({ align: 'start', gap: 'lg' });
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The sidebar column's class (`cm.shrink0`).
|
|
65
|
+
* @returns The class string.
|
|
66
|
+
*/
|
|
67
|
+
asideClasses() {
|
|
68
|
+
return this.cm().cn(this.cm().shrink0);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The content column's class (`cm.flex1`).
|
|
72
|
+
* @returns The class string.
|
|
73
|
+
*/
|
|
74
|
+
mainClasses() {
|
|
75
|
+
return this.cm().cn(this.cm().flex1);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The content stack's class (`cm.stack(6)`).
|
|
79
|
+
* @returns The class string.
|
|
80
|
+
*/
|
|
81
|
+
contentClasses() {
|
|
82
|
+
return this.cm().cn(this.cm().stack(6));
|
|
83
|
+
}
|
|
84
|
+
static ɵfac = function SettingsLayout_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SettingsLayout)(); };
|
|
85
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsLayout, selectors: [["div", "mol-settings-layout", ""]], hostVars: 3, hostBindings: function SettingsLayout_HostBindings(rf, ctx) { if (rf & 2) {
|
|
86
|
+
i0.ɵɵattribute("data-mol-id", ctx.dataMolId ?? null);
|
|
87
|
+
i0.ɵɵclassMap(ctx.classes());
|
|
88
|
+
} }, inputs: { header: "header", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c1, decls: 8, vars: 9, consts: [[3, "ngTemplateOutlet"]], template: function SettingsLayout_Template(rf, ctx) { if (rf & 1) {
|
|
89
|
+
i0.ɵɵprojectionDef(_c0);
|
|
90
|
+
i0.ɵɵprojection(0);
|
|
91
|
+
i0.ɵɵconditionalCreate(1, SettingsLayout_Conditional_1_Template, 1, 1, "ng-container", 0);
|
|
92
|
+
i0.ɵɵelementStart(2, "div")(3, "aside");
|
|
93
|
+
i0.ɵɵprojection(4, 1);
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
i0.ɵɵelementStart(5, "main")(6, "div");
|
|
96
|
+
i0.ɵɵprojection(7, 2);
|
|
97
|
+
i0.ɵɵelementEnd()()();
|
|
98
|
+
} if (rf & 2) {
|
|
99
|
+
let tmp_0_0;
|
|
100
|
+
i0.ɵɵadvance();
|
|
101
|
+
i0.ɵɵconditional((tmp_0_0 = ctx.headerTemplate()) ? 1 : -1, tmp_0_0);
|
|
102
|
+
i0.ɵɵadvance();
|
|
103
|
+
i0.ɵɵclassMap(ctx.rowClasses());
|
|
104
|
+
i0.ɵɵadvance();
|
|
105
|
+
i0.ɵɵclassMap(ctx.asideClasses());
|
|
106
|
+
i0.ɵɵadvance(2);
|
|
107
|
+
i0.ɵɵclassMap(ctx.mainClasses());
|
|
108
|
+
i0.ɵɵadvance();
|
|
109
|
+
i0.ɵɵclassMap(ctx.contentClasses());
|
|
110
|
+
} }, dependencies: [NgTemplateOutlet], encapsulation: 2 });
|
|
111
|
+
}
|
|
112
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SettingsLayout, [{
|
|
113
|
+
type: Component,
|
|
114
|
+
args: [{
|
|
115
|
+
selector: 'div[mol-settings-layout]',
|
|
116
|
+
standalone: true,
|
|
117
|
+
imports: [NgTemplateOutlet],
|
|
118
|
+
inputs: ['header', 'className', 'dataMolId'],
|
|
119
|
+
host: {
|
|
120
|
+
'[class]': 'classes()',
|
|
121
|
+
'[attr.data-mol-id]': 'dataMolId ?? null',
|
|
122
|
+
},
|
|
123
|
+
// prettier-ignore
|
|
124
|
+
template: `<ng-content select="[slot=header]"></ng-content>@if (headerTemplate(); as headerTpl) {<ng-container [ngTemplateOutlet]="headerTpl" />}<div [class]="rowClasses()"><aside [class]="asideClasses()"><ng-content select="[slot=sidebar]"></ng-content></aside><main [class]="mainClasses()"><div [class]="contentClasses()"><ng-content></ng-content></div></main></div>`,
|
|
125
|
+
}]
|
|
126
|
+
}], null, null); })();
|
|
127
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SettingsLayout, { className: "SettingsLayout", filePath: "settings-layout.component.ts", lineNumber: 36 }); })();
|
|
128
|
+
//# sourceMappingURL=settings-layout.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-layout.component.js","sourceRoot":"","sources":["../src/settings-layout.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAA;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;;;;;IAqB4D,2BAA+C;;IAAjC,sCAA8B;;AAnB/I;;;;;;;;GAQG;AAaH,MAAM,OAAO,cAAc;IACzB,0GAA0G;IAC1G,MAAM,CAAU;IAChB,0CAA0C;IAC1C,SAAS,CAAS;IAClB,4CAA4C;IAC5C,SAAS,CAAS;IAElB;;;OAGG;IACH,EAAE;QACA,OAAO,WAAW,EAAE,CAAA;IACtB,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IACzD,CAAC;IAED;;;;OAIG;IACH,cAAc;QACZ,OAAO,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA;IACrD,CAAC;IAED;;;OAGG;IACH,UAAU;QACR,OAAO,IAAI,CA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B;gBAClB,QAAQ,EAAE,uWAAuW;aAClX;;kFACY,cAAc"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { type AfterViewInit, type TemplateRef } from '@angular/core';
|
|
2
|
+
import type { UIClassMap } from '@molecule/app-ui';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* One configuration section inside a settings page.
|
|
6
|
+
*
|
|
7
|
+
* Card-wrapped, with a title / description header, body content and an
|
|
8
|
+
* optional footer action row. The host IS the Card `<div>`
|
|
9
|
+
* (`div[mol-settings-section]`), matching React's root exactly: the Card's
|
|
10
|
+
* `elevated` variant, `md` padding and the callers' `className` /
|
|
11
|
+
* `data-mol-id` are the host's. `title`, `description` and `footer` are
|
|
12
|
+
* projected content (`[slot=title]`, `[slot=description]`, `[slot=footer]`)
|
|
13
|
+
* or plain text; the optional regions render only when React would render
|
|
14
|
+
* them.
|
|
15
|
+
*/
|
|
16
|
+
export declare class SettingsSection implements AfterViewInit {
|
|
17
|
+
/** Section heading — a projected node template, or plain text. */
|
|
18
|
+
title?: unknown;
|
|
19
|
+
/** Optional description under the heading — a projected node template, or plain text. */
|
|
20
|
+
description?: unknown;
|
|
21
|
+
/** Section body, projected as the element's default content. */
|
|
22
|
+
children?: unknown;
|
|
23
|
+
/** Optional footer row — a projected node template, or plain text. */
|
|
24
|
+
footer?: unknown;
|
|
25
|
+
/** Extra classes on the Card. */
|
|
26
|
+
className?: string;
|
|
27
|
+
/** `data-mol-id` for AI-agent selectors. */
|
|
28
|
+
dataMolId?: string;
|
|
29
|
+
/** The optional description paragraph (projected content lands here; read once). */
|
|
30
|
+
private descriptionEl?;
|
|
31
|
+
/** The optional footer row (projected content lands here; read once). */
|
|
32
|
+
private footerEl?;
|
|
33
|
+
/** Whether a `[slot=description]` projection landed (`null`: decided by the text input). */
|
|
34
|
+
private readonly descriptionProjected;
|
|
35
|
+
/** Whether a `[slot=footer]` projection landed (`null`: decided by the text input). */
|
|
36
|
+
private readonly footerProjected;
|
|
37
|
+
/**
|
|
38
|
+
* Reads the optional regions' first render: when neither a text input nor
|
|
39
|
+
* projected content landed, React would not render the region at all, so the
|
|
40
|
+
* optimistic render is withdrawn.
|
|
41
|
+
*/
|
|
42
|
+
ngAfterViewInit(): void;
|
|
43
|
+
/**
|
|
44
|
+
* The current class map.
|
|
45
|
+
* @returns The UIClassMap.
|
|
46
|
+
*/
|
|
47
|
+
cm(): UIClassMap;
|
|
48
|
+
/**
|
|
49
|
+
* Renders a text value the way React renders a node string.
|
|
50
|
+
* @param value - The prop value.
|
|
51
|
+
* @returns The text to render, or `''` when there is nothing.
|
|
52
|
+
*/
|
|
53
|
+
textOf(value: unknown): string;
|
|
54
|
+
/**
|
|
55
|
+
* The host's class list — Card's own computation with React's defaults
|
|
56
|
+
* (`elevated` variant, `md` padding) and the caller's `className`.
|
|
57
|
+
* @returns The class string.
|
|
58
|
+
*/
|
|
59
|
+
classes(): string;
|
|
60
|
+
/**
|
|
61
|
+
* The body stack's class (`cm.stack(4)`).
|
|
62
|
+
* @returns The class string.
|
|
63
|
+
*/
|
|
64
|
+
innerClasses(): string;
|
|
65
|
+
/**
|
|
66
|
+
* The header's class (`cm.stack(1)`).
|
|
67
|
+
* @returns The class string.
|
|
68
|
+
*/
|
|
69
|
+
headerClasses(): string;
|
|
70
|
+
/**
|
|
71
|
+
* The title's class list (`cm.cn(cm.textSize('lg'), cm.fontWeight('semibold'))`).
|
|
72
|
+
* @returns The class string.
|
|
73
|
+
*/
|
|
74
|
+
titleClasses(): string;
|
|
75
|
+
/**
|
|
76
|
+
* The description's class (`cm.textSize('sm')`).
|
|
77
|
+
* @returns The class string.
|
|
78
|
+
*/
|
|
79
|
+
descriptionClasses(): string;
|
|
80
|
+
/**
|
|
81
|
+
* The footer row's class (`cm.flex({ justify: 'end', align: 'center', gap: 'sm' })`).
|
|
82
|
+
* @returns The class string.
|
|
83
|
+
*/
|
|
84
|
+
footerClasses(): string;
|
|
85
|
+
/**
|
|
86
|
+
* The title as a template, when the caller passed a node.
|
|
87
|
+
* @returns The title template, or null.
|
|
88
|
+
*/
|
|
89
|
+
titleTemplate(): TemplateRef<unknown> | null;
|
|
90
|
+
/**
|
|
91
|
+
* The description as a template, when the caller passed a node.
|
|
92
|
+
* @returns The description template, or null.
|
|
93
|
+
*/
|
|
94
|
+
descriptionTemplate(): TemplateRef<unknown> | null;
|
|
95
|
+
/**
|
|
96
|
+
* The footer as a template, when the caller passed a node.
|
|
97
|
+
* @returns The footer template, or null.
|
|
98
|
+
*/
|
|
99
|
+
footerTemplate(): TemplateRef<unknown> | null;
|
|
100
|
+
/**
|
|
101
|
+
* Whether the title input renders as text (React renders strings and numbers).
|
|
102
|
+
* @returns True when the title is text.
|
|
103
|
+
*/
|
|
104
|
+
hasTitleText(): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether the description input renders as truthy text (React's `description && …`).
|
|
107
|
+
* @returns True when the description text renders.
|
|
108
|
+
*/
|
|
109
|
+
hasDescriptionText(): boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Whether the footer input renders as truthy text (React's `footer && …`).
|
|
112
|
+
* @returns True when the footer text renders.
|
|
113
|
+
*/
|
|
114
|
+
hasFooterText(): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the description paragraph renders: React's `description && …` on
|
|
117
|
+
* the text input, a template, or projected content.
|
|
118
|
+
* @returns True when the paragraph shows.
|
|
119
|
+
*/
|
|
120
|
+
showDescription(): boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Whether the footer row renders: React's `footer && …` on the text input, a
|
|
123
|
+
* template, or projected content.
|
|
124
|
+
* @returns True when the footer shows.
|
|
125
|
+
*/
|
|
126
|
+
showFooter(): boolean;
|
|
127
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingsSection, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingsSection, "div[mol-settings-section]", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "className": { "alias": "className"; "required": false; }; "dataMolId": { "alias": "dataMolId"; "required": false; }; }, {}, never, ["[slot=title]", "[slot=description]", "*", "[slot=footer]"], true, never>;
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=settings-section.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-section.component.d.ts","sourceRoot":"","sources":["../src/settings-section.component.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,aAAa,EAIlB,KAAK,WAAW,EAEjB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD;;;;;;;;;;;GAWG;AACH,qBAYa,eAAgB,YAAW,aAAa;IACnD,kEAAkE;IAClE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,yFAAyF;IACzF,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,sEAAsE;IACtE,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,oFAAoF;IACxD,OAAO,CAAC,aAAa,CAAC,CAAyB;IAC3E,yEAAyE;IAClD,OAAO,CAAC,QAAQ,CAAC,CAAyB;IAEjE,4FAA4F;IAC5F,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAA+B;IACpE,uFAAuF;IACvF,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA+B;IAE/D;;;;OAIG;IACH,eAAe,IAAI,IAAI;IASvB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM;IAI9B;;;;OAIG;IACH,OAAO,IAAI,MAAM;IAQjB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAItB;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,YAAY,IAAI,MAAM;IAItB;;;OAGG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;;OAGG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAI5C;;;OAGG;IACH,mBAAmB,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAIlD;;;OAGG;IACH,cAAc,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAI7C;;;OAGG;IACH,YAAY,IAAI,OAAO;IAIvB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;IAI7B;;;OAGG;IACH,aAAa,IAAI,OAAO;IAIxB;;;;OAIG;IACH,eAAe,IAAI,OAAO;IAQ1B;;;;OAIG;IACH,UAAU,IAAI,OAAO;yCA9KV,eAAe;2CAAf,eAAe;CAiL3B"}
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SettingsSection component (React parity).
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
|
+
import { Component, signal, ViewChild, } from '@angular/core';
|
|
8
|
+
import { getClassMap } from '@molecule/app-ui';
|
|
9
|
+
import { hasRenderableContent, hasText, isTemplate } from './slots.js';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
const _c0 = ["descriptionEl"];
|
|
12
|
+
const _c1 = ["footerEl"];
|
|
13
|
+
const _c2 = [[["", "slot", "title"]], "*", [["", "slot", "description"]], [["", "slot", "footer"]]];
|
|
14
|
+
const _c3 = ["[slot=title]", "*", "[slot=description]", "[slot=footer]"];
|
|
15
|
+
function SettingsSection_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
i0.ɵɵelementContainer(0, 2);
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
19
|
+
} }
|
|
20
|
+
function SettingsSection_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelementContainerStart(0);
|
|
22
|
+
i0.ɵɵtext(1);
|
|
23
|
+
i0.ɵɵelementContainerEnd();
|
|
24
|
+
} if (rf & 2) {
|
|
25
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
26
|
+
i0.ɵɵadvance();
|
|
27
|
+
i0.ɵɵtextInterpolate(ctx_r0.textOf(ctx_r0.title));
|
|
28
|
+
} }
|
|
29
|
+
function SettingsSection_Conditional_6_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelementContainer(0, 2);
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
33
|
+
} }
|
|
34
|
+
function SettingsSection_Conditional_6_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
i0.ɵɵelementContainerStart(0);
|
|
36
|
+
i0.ɵɵtext(1);
|
|
37
|
+
i0.ɵɵelementContainerEnd();
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
40
|
+
i0.ɵɵadvance();
|
|
41
|
+
i0.ɵɵtextInterpolate(ctx_r0.textOf(ctx_r0.description));
|
|
42
|
+
} }
|
|
43
|
+
function SettingsSection_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "p", null, 0);
|
|
45
|
+
i0.ɵɵconditionalCreate(2, SettingsSection_Conditional_6_Conditional_2_Template, 1, 1, "ng-container", 2)(3, SettingsSection_Conditional_6_Conditional_3_Template, 2, 1, "ng-container");
|
|
46
|
+
i0.ɵɵprojection(4, 2);
|
|
47
|
+
i0.ɵɵelementEnd();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
let tmp_3_0;
|
|
50
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
51
|
+
i0.ɵɵclassMap(ctx_r0.descriptionClasses());
|
|
52
|
+
i0.ɵɵadvance(2);
|
|
53
|
+
i0.ɵɵconditional((tmp_3_0 = ctx_r0.descriptionTemplate()) ? 2 : ctx_r0.hasDescriptionText() ? 3 : -1, tmp_3_0);
|
|
54
|
+
} }
|
|
55
|
+
function SettingsSection_Conditional_9_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
56
|
+
i0.ɵɵelementContainer(0, 2);
|
|
57
|
+
} if (rf & 2) {
|
|
58
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx);
|
|
59
|
+
} }
|
|
60
|
+
function SettingsSection_Conditional_9_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
61
|
+
i0.ɵɵelementContainerStart(0);
|
|
62
|
+
i0.ɵɵtext(1);
|
|
63
|
+
i0.ɵɵelementContainerEnd();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
66
|
+
i0.ɵɵadvance();
|
|
67
|
+
i0.ɵɵtextInterpolate(ctx_r0.textOf(ctx_r0.footer));
|
|
68
|
+
} }
|
|
69
|
+
function SettingsSection_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
70
|
+
i0.ɵɵelementStart(0, "footer", null, 1);
|
|
71
|
+
i0.ɵɵconditionalCreate(2, SettingsSection_Conditional_9_Conditional_2_Template, 1, 1, "ng-container", 2)(3, SettingsSection_Conditional_9_Conditional_3_Template, 2, 1, "ng-container");
|
|
72
|
+
i0.ɵɵprojection(4, 3);
|
|
73
|
+
i0.ɵɵelementEnd();
|
|
74
|
+
} if (rf & 2) {
|
|
75
|
+
let tmp_3_0;
|
|
76
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
77
|
+
i0.ɵɵclassMap(ctx_r0.footerClasses());
|
|
78
|
+
i0.ɵɵadvance(2);
|
|
79
|
+
i0.ɵɵconditional((tmp_3_0 = ctx_r0.footerTemplate()) ? 2 : ctx_r0.hasFooterText() ? 3 : -1, tmp_3_0);
|
|
80
|
+
} }
|
|
81
|
+
/**
|
|
82
|
+
* One configuration section inside a settings page.
|
|
83
|
+
*
|
|
84
|
+
* Card-wrapped, with a title / description header, body content and an
|
|
85
|
+
* optional footer action row. The host IS the Card `<div>`
|
|
86
|
+
* (`div[mol-settings-section]`), matching React's root exactly: the Card's
|
|
87
|
+
* `elevated` variant, `md` padding and the callers' `className` /
|
|
88
|
+
* `data-mol-id` are the host's. `title`, `description` and `footer` are
|
|
89
|
+
* projected content (`[slot=title]`, `[slot=description]`, `[slot=footer]`)
|
|
90
|
+
* or plain text; the optional regions render only when React would render
|
|
91
|
+
* them.
|
|
92
|
+
*/
|
|
93
|
+
export class SettingsSection {
|
|
94
|
+
/** Section heading — a projected node template, or plain text. */
|
|
95
|
+
title;
|
|
96
|
+
/** Optional description under the heading — a projected node template, or plain text. */
|
|
97
|
+
description;
|
|
98
|
+
/** Section body, projected as the element's default content. */
|
|
99
|
+
children;
|
|
100
|
+
/** Optional footer row — a projected node template, or plain text. */
|
|
101
|
+
footer;
|
|
102
|
+
/** Extra classes on the Card. */
|
|
103
|
+
className;
|
|
104
|
+
/** `data-mol-id` for AI-agent selectors. */
|
|
105
|
+
dataMolId;
|
|
106
|
+
/** The optional description paragraph (projected content lands here; read once). */
|
|
107
|
+
descriptionEl;
|
|
108
|
+
/** The optional footer row (projected content lands here; read once). */
|
|
109
|
+
footerEl;
|
|
110
|
+
/** Whether a `[slot=description]` projection landed (`null`: decided by the text input). */
|
|
111
|
+
descriptionProjected = signal(true, /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "descriptionProjected" }] : /* istanbul ignore next */ []));
|
|
113
|
+
/** Whether a `[slot=footer]` projection landed (`null`: decided by the text input). */
|
|
114
|
+
footerProjected = signal(true, /* @ts-ignore */
|
|
115
|
+
...(ngDevMode ? [{ debugName: "footerProjected" }] : /* istanbul ignore next */ []));
|
|
116
|
+
/**
|
|
117
|
+
* Reads the optional regions' first render: when neither a text input nor
|
|
118
|
+
* projected content landed, React would not render the region at all, so the
|
|
119
|
+
* optimistic render is withdrawn.
|
|
120
|
+
*/
|
|
121
|
+
ngAfterViewInit() {
|
|
122
|
+
this.descriptionProjected.set(this.hasDescriptionText() ? null : hasRenderableContent(this.descriptionEl?.nativeElement));
|
|
123
|
+
this.footerProjected.set(this.hasFooterText() ? null : hasRenderableContent(this.footerEl?.nativeElement));
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The current class map.
|
|
127
|
+
* @returns The UIClassMap.
|
|
128
|
+
*/
|
|
129
|
+
cm() {
|
|
130
|
+
return getClassMap();
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Renders a text value the way React renders a node string.
|
|
134
|
+
* @param value - The prop value.
|
|
135
|
+
* @returns The text to render, or `''` when there is nothing.
|
|
136
|
+
*/
|
|
137
|
+
textOf(value) {
|
|
138
|
+
return value === null || value === undefined ? '' : String(value);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* The host's class list — Card's own computation with React's defaults
|
|
142
|
+
* (`elevated` variant, `md` padding) and the caller's `className`.
|
|
143
|
+
* @returns The class string.
|
|
144
|
+
*/
|
|
145
|
+
classes() {
|
|
146
|
+
return this.cm().cn(this.cm().card({ variant: 'elevated' }), this.cm().cardPadding('md'), this.className);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The body stack's class (`cm.stack(4)`).
|
|
150
|
+
* @returns The class string.
|
|
151
|
+
*/
|
|
152
|
+
innerClasses() {
|
|
153
|
+
return this.cm().stack(4);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The header's class (`cm.stack(1)`).
|
|
157
|
+
* @returns The class string.
|
|
158
|
+
*/
|
|
159
|
+
headerClasses() {
|
|
160
|
+
return this.cm().stack(1);
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* The title's class list (`cm.cn(cm.textSize('lg'), cm.fontWeight('semibold'))`).
|
|
164
|
+
* @returns The class string.
|
|
165
|
+
*/
|
|
166
|
+
titleClasses() {
|
|
167
|
+
return this.cm().cn(this.cm().textSize('lg'), this.cm().fontWeight('semibold'));
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* The description's class (`cm.textSize('sm')`).
|
|
171
|
+
* @returns The class string.
|
|
172
|
+
*/
|
|
173
|
+
descriptionClasses() {
|
|
174
|
+
return this.cm().textSize('sm');
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* The footer row's class (`cm.flex({ justify: 'end', align: 'center', gap: 'sm' })`).
|
|
178
|
+
* @returns The class string.
|
|
179
|
+
*/
|
|
180
|
+
footerClasses() {
|
|
181
|
+
return this.cm().flex({ justify: 'end', align: 'center', gap: 'sm' });
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* The title as a template, when the caller passed a node.
|
|
185
|
+
* @returns The title template, or null.
|
|
186
|
+
*/
|
|
187
|
+
titleTemplate() {
|
|
188
|
+
return isTemplate(this.title) ? this.title : null;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* The description as a template, when the caller passed a node.
|
|
192
|
+
* @returns The description template, or null.
|
|
193
|
+
*/
|
|
194
|
+
descriptionTemplate() {
|
|
195
|
+
return isTemplate(this.description) ? this.description : null;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* The footer as a template, when the caller passed a node.
|
|
199
|
+
* @returns The footer template, or null.
|
|
200
|
+
*/
|
|
201
|
+
footerTemplate() {
|
|
202
|
+
return isTemplate(this.footer) ? this.footer : null;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Whether the title input renders as text (React renders strings and numbers).
|
|
206
|
+
* @returns True when the title is text.
|
|
207
|
+
*/
|
|
208
|
+
hasTitleText() {
|
|
209
|
+
return typeof this.title === 'string' || typeof this.title === 'number';
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Whether the description input renders as truthy text (React's `description && …`).
|
|
213
|
+
* @returns True when the description text renders.
|
|
214
|
+
*/
|
|
215
|
+
hasDescriptionText() {
|
|
216
|
+
return hasText(this.description);
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Whether the footer input renders as truthy text (React's `footer && …`).
|
|
220
|
+
* @returns True when the footer text renders.
|
|
221
|
+
*/
|
|
222
|
+
hasFooterText() {
|
|
223
|
+
return hasText(this.footer);
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Whether the description paragraph renders: React's `description && …` on
|
|
227
|
+
* the text input, a template, or projected content.
|
|
228
|
+
* @returns True when the paragraph shows.
|
|
229
|
+
*/
|
|
230
|
+
showDescription() {
|
|
231
|
+
return (this.hasDescriptionText() ||
|
|
232
|
+
isTemplate(this.description) ||
|
|
233
|
+
this.descriptionProjected() === true);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Whether the footer row renders: React's `footer && …` on the text input, a
|
|
237
|
+
* template, or projected content.
|
|
238
|
+
* @returns True when the footer shows.
|
|
239
|
+
*/
|
|
240
|
+
showFooter() {
|
|
241
|
+
return this.hasFooterText() || isTemplate(this.footer) || this.footerProjected() === true;
|
|
242
|
+
}
|
|
243
|
+
static ɵfac = function SettingsSection_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SettingsSection)(); };
|
|
244
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SettingsSection, selectors: [["div", "mol-settings-section", ""]], viewQuery: function SettingsSection_Query(rf, ctx) { if (rf & 1) {
|
|
245
|
+
i0.ɵɵviewQuery(_c0, 5)(_c1, 5);
|
|
246
|
+
} if (rf & 2) {
|
|
247
|
+
let _t;
|
|
248
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.descriptionEl = _t.first);
|
|
249
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerEl = _t.first);
|
|
250
|
+
} }, hostVars: 3, hostBindings: function SettingsSection_HostBindings(rf, ctx) { if (rf & 2) {
|
|
251
|
+
i0.ɵɵattribute("data-mol-id", ctx.dataMolId ?? null);
|
|
252
|
+
i0.ɵɵclassMap(ctx.classes());
|
|
253
|
+
} }, inputs: { title: "title", description: "description", footer: "footer", className: "className", dataMolId: "dataMolId" }, ngContentSelectors: _c3, decls: 10, vars: 9, consts: [["descriptionEl", ""], ["footerEl", ""], [3, "ngTemplateOutlet"], [3, "class"]], template: function SettingsSection_Template(rf, ctx) { if (rf & 1) {
|
|
254
|
+
i0.ɵɵprojectionDef(_c2);
|
|
255
|
+
i0.ɵɵelementStart(0, "div")(1, "header")(2, "h2");
|
|
256
|
+
i0.ɵɵconditionalCreate(3, SettingsSection_Conditional_3_Template, 1, 1, "ng-container", 2)(4, SettingsSection_Conditional_4_Template, 2, 1, "ng-container");
|
|
257
|
+
i0.ɵɵprojection(5);
|
|
258
|
+
i0.ɵɵelementEnd();
|
|
259
|
+
i0.ɵɵconditionalCreate(6, SettingsSection_Conditional_6_Template, 5, 3, "p", 3);
|
|
260
|
+
i0.ɵɵelementEnd();
|
|
261
|
+
i0.ɵɵelementStart(7, "div");
|
|
262
|
+
i0.ɵɵprojection(8, 1);
|
|
263
|
+
i0.ɵɵelementEnd();
|
|
264
|
+
i0.ɵɵconditionalCreate(9, SettingsSection_Conditional_9_Template, 5, 3, "footer", 3);
|
|
265
|
+
i0.ɵɵelementEnd();
|
|
266
|
+
} if (rf & 2) {
|
|
267
|
+
let tmp_3_0;
|
|
268
|
+
i0.ɵɵclassMap(ctx.innerClasses());
|
|
269
|
+
i0.ɵɵadvance();
|
|
270
|
+
i0.ɵɵclassMap(ctx.headerClasses());
|
|
271
|
+
i0.ɵɵadvance();
|
|
272
|
+
i0.ɵɵclassMap(ctx.titleClasses());
|
|
273
|
+
i0.ɵɵadvance();
|
|
274
|
+
i0.ɵɵconditional((tmp_3_0 = ctx.titleTemplate()) ? 3 : ctx.hasTitleText() ? 4 : -1, tmp_3_0);
|
|
275
|
+
i0.ɵɵadvance(3);
|
|
276
|
+
i0.ɵɵconditional(ctx.showDescription() ? 6 : -1);
|
|
277
|
+
i0.ɵɵadvance(3);
|
|
278
|
+
i0.ɵɵconditional(ctx.showFooter() ? 9 : -1);
|
|
279
|
+
} }, dependencies: [NgTemplateOutlet], encapsulation: 2 });
|
|
280
|
+
}
|
|
281
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SettingsSection, [{
|
|
282
|
+
type: Component,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: 'div[mol-settings-section]',
|
|
285
|
+
standalone: true,
|
|
286
|
+
imports: [NgTemplateOutlet],
|
|
287
|
+
inputs: ['title', 'description', 'footer', 'className', 'dataMolId'],
|
|
288
|
+
host: {
|
|
289
|
+
'[class]': 'classes()',
|
|
290
|
+
'[attr.data-mol-id]': 'dataMolId ?? null',
|
|
291
|
+
},
|
|
292
|
+
// prettier-ignore
|
|
293
|
+
template: `<div [class]="innerClasses()"><header [class]="headerClasses()"><h2 [class]="titleClasses()">@if (titleTemplate(); as titleTpl) {<ng-container [ngTemplateOutlet]="titleTpl" />}@else if (hasTitleText()) {<ng-container>{{ textOf(title) }}</ng-container>}<ng-content select="[slot=title]"></ng-content></h2>@if (showDescription()) {<p #descriptionEl [class]="descriptionClasses()">@if (descriptionTemplate(); as descriptionTpl) {<ng-container [ngTemplateOutlet]="descriptionTpl" />}@else if (hasDescriptionText()) {<ng-container>{{ textOf(description) }}</ng-container>}<ng-content select="[slot=description]"></ng-content></p>}</header><div><ng-content></ng-content></div>@if (showFooter()) {<footer #footerEl [class]="footerClasses()">@if (footerTemplate(); as footerTpl) {<ng-container [ngTemplateOutlet]="footerTpl" />}@else if (hasFooterText()) {<ng-container>{{ textOf(footer) }}</ng-container>}<ng-content select="[slot=footer]"></ng-content></footer>}</div>`,
|
|
294
|
+
}]
|
|
295
|
+
}], null, { descriptionEl: [{
|
|
296
|
+
type: ViewChild,
|
|
297
|
+
args: ['descriptionEl']
|
|
298
|
+
}], footerEl: [{
|
|
299
|
+
type: ViewChild,
|
|
300
|
+
args: ['footerEl']
|
|
301
|
+
}] }); })();
|
|
302
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SettingsSection, { className: "SettingsSection", filePath: "settings-section.component.ts", lineNumber: 46 }); })();
|
|
303
|
+
//# sourceMappingURL=settings-section.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings-section.component.js","sourceRoot":"","sources":["../src/settings-section.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAEL,SAAS,EAET,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;;;;;;;IAwBwE,2BAA8C;;IAAhC,sCAA6B;;;IAA+B,6BAAc;IAAA,YAAmB;;;;IAAnB,cAAmB;IAAnB,iDAAmB;;;IAA8L,2BAAoD;;IAAtC,sCAAmC;;;IAAqC,6BAAc;IAAA,YAAyB;;;;IAAzB,cAAyB;IAAzB,uDAAyB;;;IAA9N,kCAAiD;IAAqG,AAArG,wGAAgD,+EAAsF;IAAuD,qBAAqD;IAAA,iBAAI;;;;IAArR,0CAA8B;IAAC,eAA6L;IAA7L,8GAA6L;;;IAA6M,2BAA+C;;IAAjC,sCAA8B;;;IAAgC,6BAAc;IAAA,YAAoB;;;;IAApB,cAAoB;IAApB,kDAAoB;;;IAAhM,uCAA4C;IAAsF,AAAtF,wGAAsC,+EAA4E;IAAkD,qBAAgD;IAAA,iBAAS;;;;IAAvP,qCAAyB;IAAC,eAAoK;IAApK,oGAAoK;;AAtB/4B;;;;;;;;;;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