@ng-brutalism/ui 0.1.2 → 0.2.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.
- package/CHANGELOG.md +48 -0
- package/README.md +52 -28
- package/fesm2022/ng-brutalism-ui.mjs +2687 -70
- package/fesm2022/ng-brutalism-ui.mjs.map +1 -1
- package/package.json +5 -2
- package/styles.css +106 -2
- package/theme.css +11 -0
- package/types/ng-brutalism-ui.d.ts +919 -145
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import * as
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { InjectionToken, EnvironmentProviders, Signal } from '@angular/core';
|
|
4
|
+
import * as _ng_brutalism_ui from '@ng-brutalism/ui';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Merges class names with Tailwind conflict resolution.
|
|
@@ -16,6 +17,12 @@ interface NbThemeConfig {
|
|
|
16
17
|
primary?: string;
|
|
17
18
|
secondary?: string;
|
|
18
19
|
accent?: string;
|
|
20
|
+
yellow?: string;
|
|
21
|
+
pink?: string;
|
|
22
|
+
mint?: string;
|
|
23
|
+
lavender?: string;
|
|
24
|
+
blue?: string;
|
|
25
|
+
cream?: string;
|
|
19
26
|
danger?: string;
|
|
20
27
|
success?: string;
|
|
21
28
|
warning?: string;
|
|
@@ -33,28 +40,317 @@ interface NbConfig {
|
|
|
33
40
|
}
|
|
34
41
|
declare function provideNgBrutalism(config?: NbConfig): EnvironmentProviders;
|
|
35
42
|
|
|
36
|
-
type
|
|
43
|
+
type NbTone = 'default' | 'cream' | 'white' | 'black' | 'yellow' | 'pink' | 'mint' | 'lavender' | 'blue' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'danger';
|
|
44
|
+
interface NbToneTokens {
|
|
45
|
+
bg: string;
|
|
46
|
+
fg: string;
|
|
47
|
+
}
|
|
48
|
+
declare function nbToneTokens(tone: NbTone): NbToneTokens;
|
|
49
|
+
/**
|
|
50
|
+
* Neutral tone aliases accepted by the tone capability in addition to the core
|
|
51
|
+
* {@link NbTone} palette. These map onto existing theme surfaces rather than
|
|
52
|
+
* the playful/semantic palette:
|
|
53
|
+
* - `surface` → the default surface tokens
|
|
54
|
+
* - `background` → the page background/foreground
|
|
55
|
+
* - `ink` → solid black (`black` tone)
|
|
56
|
+
*/
|
|
57
|
+
type NbToneToken = NbTone | 'surface' | 'background' | 'ink';
|
|
58
|
+
/**
|
|
59
|
+
* Component-specific tone variables: background, foreground, and border color.
|
|
60
|
+
* Border color is always the brutalist ink (`--nb-border`) so the border
|
|
61
|
+
* *width* capability and the tone capability never fight over color.
|
|
62
|
+
*/
|
|
63
|
+
interface NbToneVars {
|
|
64
|
+
bg: string;
|
|
65
|
+
fg: string;
|
|
66
|
+
borderColor: string;
|
|
67
|
+
}
|
|
68
|
+
declare function nbToneVars(tone: NbToneToken): NbToneVars;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Shared brutalist radius scale. One geometry per token across all primitives —
|
|
72
|
+
* the single source of truth that internal radius capabilities resolve against.
|
|
73
|
+
*
|
|
74
|
+
* Named input values are deterministic. Theme-driven radius comes from
|
|
75
|
+
* component defaults and scoped public tokens such as `--nb-button-radius`.
|
|
76
|
+
*/
|
|
77
|
+
type NbRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
78
|
+
declare function nbRadiusValue(radius: NbRadius): string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Shared brutalist offset-shadow scale. Values are chunky, hard-edged offset
|
|
82
|
+
* shadows (no blur) tinted with `--nb-shadow`. `default` tracks the themeable
|
|
83
|
+
* `--nb-shadow-offset-x/y`.
|
|
84
|
+
*/
|
|
85
|
+
type NbShadow = 'none' | 'sm' | 'default' | 'hard' | 'heavy';
|
|
86
|
+
declare function nbShadowValue(shadow: NbShadow): string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Shared border-strength scale. Resolves to a border *width* only — border
|
|
90
|
+
* *color* is owned by the tone vocabulary (`nbToneVars().borderColor`) so the
|
|
91
|
+
* two never fight. `default` tracks the themeable `--nb-border-width`.
|
|
92
|
+
*/
|
|
93
|
+
type NbBorderStrength = 'none' | 'thin' | 'default' | 'strong' | 'thick';
|
|
94
|
+
declare function nbBorderWidthValue(border: NbBorderStrength): string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Shared spacing scale used for layout `gap` across nbStack / nbCluster /
|
|
98
|
+
* nbSplit. One source of truth so a given gap token means the same distance
|
|
99
|
+
* everywhere.
|
|
100
|
+
*/
|
|
101
|
+
type NbSpacing = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
102
|
+
declare function nbSpacingValue(spacing: NbSpacing): string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Shared container-padding scale (uniform). Used by layout/container primitives
|
|
106
|
+
* that own symmetric padding (nbSection / nbCluster / nbSplit). Pill-style
|
|
107
|
+
* primitives (nbChip) and asymmetric surfaces keep their own padding because
|
|
108
|
+
* their spacing is anatomy, not a uniform container token.
|
|
109
|
+
*/
|
|
110
|
+
type NbPadding = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
111
|
+
declare function nbPaddingValue(padding: NbPadding): string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Divider line placement between layout regions. Distinct from `border`
|
|
115
|
+
* (outline strength): `divider` describes *which side(s)* carry a separating
|
|
116
|
+
* line, while `border` describes *how thick* an element's outline is.
|
|
117
|
+
*/
|
|
118
|
+
type NbDivider = 'none' | 'top' | 'right' | 'bottom' | 'left' | 'block' | 'inline' | 'all';
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Shared typography vocabulary. One source of truth for the font-weight scale,
|
|
122
|
+
* the font-role contract, underline customization, and the text-tracking scale
|
|
123
|
+
* so a token means the same thing across nbText / nbDisplay / nbTypography /
|
|
124
|
+
* nbChipGroup.
|
|
125
|
+
*/
|
|
126
|
+
/**
|
|
127
|
+
* Shared underline variant used by both nbText and nbDisplay.
|
|
128
|
+
* `NbTextUnderline` and `NbDisplayUnderline` are public aliases of this type.
|
|
129
|
+
*/
|
|
130
|
+
type NbUnderlineVariant = 'none' | 'bar' | 'wave';
|
|
131
|
+
/**
|
|
132
|
+
* Letter-spacing scale shared by nbText and nbChipGroup.
|
|
133
|
+
* Exported publicly as `NbTextTracking` from the text barrel.
|
|
134
|
+
*/
|
|
135
|
+
type NbTextTracking = 'tight' | 'normal' | 'wide' | 'wider';
|
|
136
|
+
/** Font-weight scale shared by nbText and nbDisplay. */
|
|
137
|
+
type NbFontWeight = 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold' | 'black';
|
|
138
|
+
declare function nbFontWeightValue(weight: NbFontWeight): string;
|
|
139
|
+
/**
|
|
140
|
+
* Font-role contract. The API picks a *role*; the role maps to a CSS token that
|
|
141
|
+
* defines the actual stack, so theming/customization stays in CSS and templates
|
|
142
|
+
* keep type safety. Each role falls back to the sans stack when its token is
|
|
143
|
+
* unset. `inherit` writes nothing so the element keeps its inherited font.
|
|
144
|
+
*/
|
|
145
|
+
type NbTypographyFont = 'inherit' | 'body' | 'display' | 'accent' | 'mono';
|
|
146
|
+
declare function nbTypographyFontValue(font: NbTypographyFont): string | null;
|
|
147
|
+
/**
|
|
148
|
+
* Underline customization shared by nbText / nbDisplay `underline="bar"|"wave"`.
|
|
149
|
+
* Writes the public `--nb-underline-gap` / `--nb-underline-width` tokens that the
|
|
150
|
+
* underline CSS already reads. `auto` leaves the CSS default in place. Color and
|
|
151
|
+
* thickness remain token-driven (`--nb-underline-color`, `--nb-underline-height`)
|
|
152
|
+
* for the rarer brand-specific cases.
|
|
153
|
+
*/
|
|
154
|
+
type NbUnderlineGap = 'none' | 'xs' | 'sm' | 'md' | 'lg';
|
|
155
|
+
type NbUnderlineWidth = 'auto' | 'xs' | 'sm' | 'md' | 'lg' | 'full';
|
|
156
|
+
declare function nbUnderlineGapValue(gap: NbUnderlineGap): string;
|
|
157
|
+
declare function nbUnderlineWidthValue(width: NbUnderlineWidth): string | null;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* INTERNAL. The CSS-variable namespace a primitive owns, e.g. `'surface'` →
|
|
161
|
+
* capabilities write `--nb-surface-*`. Every primitive that composes a style
|
|
162
|
+
* capability must provide this on its element injector.
|
|
163
|
+
*/
|
|
164
|
+
declare const NB_STYLE_NAMESPACE: InjectionToken<string>;
|
|
165
|
+
/**
|
|
166
|
+
* INTERNAL. Per-primitive default tokens. A capability resolves its value as:
|
|
167
|
+
* explicit input → this default → the capability's own hard fallback.
|
|
168
|
+
*/
|
|
169
|
+
interface NbStyleDefaults {
|
|
170
|
+
tone?: NbToneToken;
|
|
171
|
+
radius?: NbRadius;
|
|
172
|
+
shadow?: NbShadow;
|
|
173
|
+
border?: NbBorderStrength;
|
|
174
|
+
padding?: NbPadding;
|
|
175
|
+
gap?: NbSpacing;
|
|
176
|
+
}
|
|
177
|
+
declare const NB_STYLE_DEFAULTS: InjectionToken<NbStyleDefaults>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* INTERNAL capability — not part of the public API. Composed into primitives via
|
|
181
|
+
* `hostDirectives`. Defaults and scoped public tokens flow through low
|
|
182
|
+
* specificity marker CSS; explicit inputs write final inline color properties.
|
|
183
|
+
*/
|
|
184
|
+
declare class NbToneCapability {
|
|
185
|
+
private readonly namespace;
|
|
186
|
+
private readonly defaults;
|
|
187
|
+
readonly tone: _angular_core.InputSignal<NbToneToken | undefined>;
|
|
188
|
+
protected readonly resolved: _angular_core.Signal<NbToneToken>;
|
|
189
|
+
private readonly defaultVars;
|
|
190
|
+
private readonly inputVars;
|
|
191
|
+
protected readonly toneBgDefaultVar: _angular_core.Signal<string>;
|
|
192
|
+
protected readonly toneFgDefaultVar: _angular_core.Signal<string>;
|
|
193
|
+
protected readonly toneBorderColorDefaultVar: _angular_core.Signal<string>;
|
|
194
|
+
protected readonly toneBgTokenVar: _angular_core.Signal<string>;
|
|
195
|
+
protected readonly toneFgTokenVar: _angular_core.Signal<string>;
|
|
196
|
+
protected readonly toneBorderColorTokenVar: _angular_core.Signal<string>;
|
|
197
|
+
protected readonly toneInputBgStyle: _angular_core.Signal<string | null>;
|
|
198
|
+
protected readonly toneInputFgStyle: _angular_core.Signal<string | null>;
|
|
199
|
+
protected readonly toneInputBorderColorStyle: _angular_core.Signal<string | null>;
|
|
200
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbToneCapability, never>;
|
|
201
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbToneCapability, "[nbToneCapability]", never, { "tone": { "alias": "tone"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* INTERNAL capability — not part of the public API. Defaults and scoped public
|
|
206
|
+
* tokens flow through marker CSS; explicit inputs write the final property.
|
|
207
|
+
*/
|
|
208
|
+
declare class NbRadiusCapability {
|
|
209
|
+
private readonly namespace;
|
|
210
|
+
private readonly defaults;
|
|
211
|
+
readonly radius: _angular_core.InputSignal<NbRadius | undefined>;
|
|
212
|
+
private readonly fallback;
|
|
213
|
+
protected readonly resolved: _angular_core.Signal<NbRadius>;
|
|
214
|
+
protected readonly radiusDefaultVar: _angular_core.Signal<string>;
|
|
215
|
+
protected readonly radiusTokenVar: _angular_core.Signal<string>;
|
|
216
|
+
protected readonly radiusInputStyle: _angular_core.Signal<string | null>;
|
|
217
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbRadiusCapability, never>;
|
|
218
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbRadiusCapability, "[nbRadiusCapability]", never, { "radius": { "alias": "radius"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* INTERNAL capability — not part of the public API. Defaults and scoped public
|
|
223
|
+
* tokens flow through marker CSS; explicit inputs write the final property.
|
|
224
|
+
*/
|
|
225
|
+
declare class NbShadowCapability {
|
|
226
|
+
private readonly namespace;
|
|
227
|
+
private readonly defaults;
|
|
228
|
+
readonly shadow: _angular_core.InputSignal<NbShadow | undefined>;
|
|
229
|
+
private readonly fallback;
|
|
230
|
+
protected readonly resolved: _angular_core.Signal<NbShadow>;
|
|
231
|
+
protected readonly shadowDefaultVar: _angular_core.Signal<string>;
|
|
232
|
+
protected readonly shadowTokenVar: _angular_core.Signal<string>;
|
|
233
|
+
protected readonly shadowInputStyle: _angular_core.Signal<string | null>;
|
|
234
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbShadowCapability, never>;
|
|
235
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbShadowCapability, "[nbShadowCapability]", never, { "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* INTERNAL capability — not part of the public API. Defaults and scoped public
|
|
240
|
+
* tokens flow through marker CSS; explicit inputs write the final property.
|
|
241
|
+
* Border color is owned by the tone capability.
|
|
242
|
+
*/
|
|
243
|
+
declare class NbBorderCapability {
|
|
244
|
+
private readonly namespace;
|
|
245
|
+
private readonly defaults;
|
|
246
|
+
readonly border: _angular_core.InputSignal<NbBorderStrength | undefined>;
|
|
247
|
+
private readonly fallback;
|
|
248
|
+
protected readonly resolved: _angular_core.Signal<NbBorderStrength>;
|
|
249
|
+
protected readonly borderWidthDefaultVar: _angular_core.Signal<string>;
|
|
250
|
+
protected readonly borderWidthTokenVar: _angular_core.Signal<string>;
|
|
251
|
+
protected readonly borderWidthInputStyle: _angular_core.Signal<string | null>;
|
|
252
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbBorderCapability, never>;
|
|
253
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbBorderCapability, "[nbBorderCapability]", never, { "border": { "alias": "border"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* INTERNAL capability — not part of the public API. Defaults and scoped public
|
|
258
|
+
* tokens flow through marker CSS; explicit inputs write the final property.
|
|
259
|
+
*/
|
|
260
|
+
declare class NbPaddingCapability {
|
|
261
|
+
private readonly namespace;
|
|
262
|
+
private readonly defaults;
|
|
263
|
+
readonly padding: _angular_core.InputSignal<NbPadding | undefined>;
|
|
264
|
+
private readonly fallback;
|
|
265
|
+
protected readonly resolved: _angular_core.Signal<NbPadding>;
|
|
266
|
+
protected readonly paddingDefaultVar: _angular_core.Signal<string>;
|
|
267
|
+
protected readonly paddingTokenVar: _angular_core.Signal<string>;
|
|
268
|
+
protected readonly paddingInputStyle: _angular_core.Signal<string | null>;
|
|
269
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbPaddingCapability, never>;
|
|
270
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbPaddingCapability, "[nbPaddingCapability]", never, { "padding": { "alias": "padding"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* INTERNAL capability — not part of the public API. Defaults and scoped public
|
|
275
|
+
* tokens flow through marker CSS; explicit inputs write the final property.
|
|
276
|
+
*/
|
|
277
|
+
declare class NbGapCapability {
|
|
278
|
+
private readonly namespace;
|
|
279
|
+
private readonly defaults;
|
|
280
|
+
readonly gap: _angular_core.InputSignal<NbSpacing | undefined>;
|
|
281
|
+
private readonly fallback;
|
|
282
|
+
protected readonly resolved: _angular_core.Signal<NbSpacing>;
|
|
283
|
+
protected readonly gapDefaultVar: _angular_core.Signal<string>;
|
|
284
|
+
protected readonly gapInputVar: _angular_core.Signal<string | null>;
|
|
285
|
+
protected readonly gapResolvedVar: _angular_core.Signal<string>;
|
|
286
|
+
protected readonly gapInputStyle: _angular_core.Signal<string | null>;
|
|
287
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbGapCapability, never>;
|
|
288
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbGapCapability, "[nbGapCapability]", never, { "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* INTERNAL capability — not part of the public API. Handles the three underline
|
|
293
|
+
* inputs shared by nbText and nbDisplay: the variant (none/bar/wave), the gap
|
|
294
|
+
* between text baseline and the decoration, and the decoration width.
|
|
295
|
+
*
|
|
296
|
+
* Writes `data-underline`, `--nb-underline-gap`, and `--nb-underline-width`
|
|
297
|
+
* onto the host when the Angular inputs are present so the underline CSS in the
|
|
298
|
+
* theme can read them without each text primitive re-implementing the same
|
|
299
|
+
* computed chain.
|
|
300
|
+
*/
|
|
301
|
+
declare class NbUnderlineCapability {
|
|
302
|
+
private readonly element;
|
|
303
|
+
private readonly writtenCustomProperties;
|
|
304
|
+
readonly underline: _angular_core.InputSignal<NbUnderlineVariant>;
|
|
305
|
+
readonly underlineGap: _angular_core.InputSignal<NbUnderlineGap | undefined>;
|
|
306
|
+
readonly underlineWidth: _angular_core.InputSignal<NbUnderlineWidth | undefined>;
|
|
307
|
+
constructor();
|
|
308
|
+
protected readonly underlineAttr: _angular_core.Signal<"bar" | "wave" | null>;
|
|
309
|
+
protected readonly underlineGapValue: _angular_core.Signal<string | null>;
|
|
310
|
+
protected readonly underlineWidthValue: _angular_core.Signal<string | null>;
|
|
311
|
+
private syncCustomProperty;
|
|
312
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbUnderlineCapability, never>;
|
|
313
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbUnderlineCapability, "[nbUnderlineCapability]", never, { "underline": { "alias": "underline"; "required": false; "isSignal": true; }; "underlineGap": { "alias": "underlineGap"; "required": false; "isSignal": true; }; "underlineWidth": { "alias": "underlineWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* INTERNAL capability — not part of the public API. Marks the host for a
|
|
318
|
+
* low-specificity stylesheet margin reset when `reset` is true (the default),
|
|
319
|
+
* so browser-default margins on `<p>`, `<h1>`–`<h6>`, and other typographic
|
|
320
|
+
* elements don't interfere with layout-primitive spacing (nbStack, nbCluster,
|
|
321
|
+
* etc.).
|
|
322
|
+
*
|
|
323
|
+
* Shared by nbText and nbDisplay so neither primitive re-implements the same
|
|
324
|
+
* one-line computed.
|
|
325
|
+
*/
|
|
326
|
+
declare class NbResetMarginCapability {
|
|
327
|
+
readonly reset: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
328
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbResetMarginCapability, never>;
|
|
329
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbResetMarginCapability, "[nbResetMarginCapability]", never, { "reset": { "alias": "reset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
type NbCheckboxSize = 'md' | 'sm' | 'lg';
|
|
37
333
|
|
|
38
334
|
declare class NbCheckbox {
|
|
39
|
-
readonly size:
|
|
40
|
-
protected readonly classes:
|
|
335
|
+
readonly size: _angular_core.InputSignal<NbCheckboxSize>;
|
|
336
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
41
337
|
private sizeClass;
|
|
42
|
-
static ɵfac:
|
|
43
|
-
static ɵdir:
|
|
338
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCheckbox, never>;
|
|
339
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbCheckbox, "input[nbCheckbox]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
44
340
|
}
|
|
45
341
|
|
|
46
342
|
declare class NbAccordionItem {
|
|
47
343
|
private readonly id;
|
|
48
|
-
readonly value:
|
|
49
|
-
readonly disabled:
|
|
344
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
345
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
50
346
|
private readonly accordion;
|
|
51
347
|
readonly triggerId: string;
|
|
52
348
|
readonly contentId: string;
|
|
53
|
-
readonly open:
|
|
54
|
-
protected readonly classes:
|
|
349
|
+
readonly open: _angular_core.Signal<boolean>;
|
|
350
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
55
351
|
toggle(): void;
|
|
56
|
-
static ɵfac:
|
|
57
|
-
static ɵcmp:
|
|
352
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAccordionItem, never>;
|
|
353
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAccordionItem, "nb-accordion-item", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
58
354
|
}
|
|
59
355
|
|
|
60
356
|
type NbAccordionType = 'single' | 'multiple';
|
|
@@ -65,159 +361,271 @@ interface NbAccordionController {
|
|
|
65
361
|
}
|
|
66
362
|
|
|
67
363
|
declare class NbAccordion implements NbAccordionController {
|
|
68
|
-
readonly type:
|
|
69
|
-
readonly collapsible:
|
|
70
|
-
readonly value:
|
|
71
|
-
readonly items:
|
|
364
|
+
readonly type: _angular_core.InputSignal<NbAccordionType>;
|
|
365
|
+
readonly collapsible: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
366
|
+
readonly value: _angular_core.ModelSignal<NbAccordionValue>;
|
|
367
|
+
readonly items: _angular_core.Signal<readonly NbAccordionItem[]>;
|
|
72
368
|
isItemOpen(value: string): boolean;
|
|
73
369
|
toggleItem(value: string): void;
|
|
74
370
|
private toggleMultipleItem;
|
|
75
|
-
static ɵfac:
|
|
76
|
-
static ɵcmp:
|
|
371
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAccordion, never>;
|
|
372
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAccordion, "nb-accordion", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["items"], ["*"], true, never>;
|
|
77
373
|
}
|
|
78
374
|
|
|
79
375
|
declare class NbAccordionContent {
|
|
80
376
|
protected readonly item: NbAccordionItem;
|
|
81
|
-
protected readonly classes:
|
|
82
|
-
static ɵfac:
|
|
83
|
-
static ɵcmp:
|
|
377
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
378
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAccordionContent, never>;
|
|
379
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAccordionContent, "nb-accordion-content", never, {}, {}, never, ["*"], true, never>;
|
|
84
380
|
}
|
|
85
381
|
|
|
86
382
|
declare class NbAccordionTrigger {
|
|
87
383
|
protected readonly item: NbAccordionItem;
|
|
88
|
-
protected readonly triggerClasses:
|
|
89
|
-
static ɵfac:
|
|
90
|
-
static ɵcmp:
|
|
384
|
+
protected readonly triggerClasses: _angular_core.Signal<string>;
|
|
385
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAccordionTrigger, never>;
|
|
386
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAccordionTrigger, "nb-accordion-trigger", never, {}, {}, never, ["*"], true, never>;
|
|
91
387
|
}
|
|
92
388
|
|
|
93
|
-
type
|
|
94
|
-
type NbButtonShadow =
|
|
95
|
-
type
|
|
389
|
+
type NbButtonTone = NbToneToken;
|
|
390
|
+
type NbButtonShadow = NbShadow;
|
|
391
|
+
type NbButtonPress = 'push' | 'reverse' | 'none';
|
|
392
|
+
type NbButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
393
|
+
type NbButtonRadius = NbRadius;
|
|
394
|
+
type NbButtonIconSize = 'sm' | 'md' | 'lg';
|
|
395
|
+
type NbButtonIconShape = 'none' | 'square' | 'circle';
|
|
396
|
+
type NbButtonIconTone = 'default' | 'inverse' | 'current';
|
|
397
|
+
type NbButtonIconPush = 'none' | 'end';
|
|
96
398
|
|
|
97
399
|
declare class NbButton {
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
protected readonly classes: i0.Signal<string>;
|
|
103
|
-
private variantClass;
|
|
400
|
+
readonly press: _angular_core.InputSignal<NbButtonPress>;
|
|
401
|
+
readonly size: _angular_core.InputSignal<NbButtonSize>;
|
|
402
|
+
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
403
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
104
404
|
private shadowClass;
|
|
105
405
|
private sizeClass;
|
|
106
|
-
static ɵfac:
|
|
107
|
-
static ɵdir:
|
|
406
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbButton, never>;
|
|
407
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbButton, "button[nbButton], a[nbButton]", never, { "press": { "alias": "press"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
type NbIconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
411
|
+
type NbIconTone = 'current' | 'default' | 'muted' | 'inverse' | 'primary' | 'secondary' | 'accent' | 'danger' | 'success' | 'warning';
|
|
412
|
+
type NbIconMode = 'mask' | 'image';
|
|
413
|
+
declare class NbIcon {
|
|
414
|
+
readonly src: _angular_core.InputSignal<string>;
|
|
415
|
+
readonly mode: _angular_core.InputSignal<NbIconMode>;
|
|
416
|
+
readonly size: _angular_core.InputSignal<NbIconSize>;
|
|
417
|
+
readonly tone: _angular_core.InputSignal<NbIconTone>;
|
|
418
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
419
|
+
readonly label: _angular_core.InputSignal<string | null>;
|
|
420
|
+
private hasWarnedAboutMissingA11y;
|
|
421
|
+
protected readonly sizeValue: _angular_core.Signal<string>;
|
|
422
|
+
protected readonly toneValue: _angular_core.Signal<string>;
|
|
423
|
+
protected readonly srcValue: _angular_core.Signal<string>;
|
|
424
|
+
protected readonly isMaskMode: _angular_core.Signal<boolean>;
|
|
425
|
+
protected readonly isImageMode: _angular_core.Signal<boolean>;
|
|
426
|
+
protected readonly roleValue: _angular_core.Signal<"img" | null>;
|
|
427
|
+
protected readonly ariaHiddenValue: _angular_core.Signal<"true" | null>;
|
|
428
|
+
protected readonly ariaLabelValue: _angular_core.Signal<string | null>;
|
|
429
|
+
protected readonly backgroundColorValue: _angular_core.Signal<"var(--nb-icon-color, currentColor)" | null>;
|
|
430
|
+
protected readonly backgroundImageValue: _angular_core.Signal<string | null>;
|
|
431
|
+
protected readonly backgroundSizeValue: _angular_core.Signal<"contain" | null>;
|
|
432
|
+
protected readonly backgroundPositionValue: _angular_core.Signal<"center" | null>;
|
|
433
|
+
protected readonly backgroundRepeatValue: _angular_core.Signal<"no-repeat" | null>;
|
|
434
|
+
protected readonly maskImageValue: _angular_core.Signal<string | null>;
|
|
435
|
+
protected readonly maskSizeValue: _angular_core.Signal<"contain" | null>;
|
|
436
|
+
protected readonly maskPositionValue: _angular_core.Signal<"center" | null>;
|
|
437
|
+
protected readonly maskRepeatValue: _angular_core.Signal<"no-repeat" | null>;
|
|
438
|
+
constructor();
|
|
439
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbIcon, never>;
|
|
440
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbIcon, "[nbIcon]", ["nbIcon"], { "src": { "alias": "src"; "required": true; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
declare class NbButtonTrailingIcon {
|
|
444
|
+
readonly size: _angular_core.InputSignal<NbButtonIconSize | undefined>;
|
|
445
|
+
readonly shape: _angular_core.InputSignal<NbButtonIconShape | undefined>;
|
|
446
|
+
readonly tone: _angular_core.InputSignal<NbButtonIconTone | undefined>;
|
|
447
|
+
readonly push: _angular_core.InputSignal<NbButtonIconPush>;
|
|
448
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
449
|
+
protected readonly sizeVal: _angular_core.Signal<string | null>;
|
|
450
|
+
protected readonly iconSize: _angular_core.Signal<NbIconSize>;
|
|
451
|
+
protected readonly radiusVal: _angular_core.Signal<string | null>;
|
|
452
|
+
protected readonly bgVal: _angular_core.Signal<string | null>;
|
|
453
|
+
protected readonly colorVal: _angular_core.Signal<string | null>;
|
|
454
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
455
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbButtonTrailingIcon, never>;
|
|
456
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbButtonTrailingIcon, "[nbButtonTrailingIcon]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "push": { "alias": "push"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
108
457
|
}
|
|
109
458
|
|
|
110
459
|
type NbCardActionsAlign = 'start' | 'end';
|
|
460
|
+
type NbCardTone = NbToneToken;
|
|
461
|
+
type NbCardRadius = NbRadius;
|
|
462
|
+
type NbCardShadow = NbShadow;
|
|
463
|
+
type NbCardBorder = NbBorderStrength;
|
|
111
464
|
declare class NbCard {
|
|
112
465
|
protected readonly classes: string;
|
|
113
|
-
static ɵfac:
|
|
114
|
-
static ɵcmp:
|
|
466
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCard, never>;
|
|
467
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCard, "nb-card", never, {}, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
115
468
|
}
|
|
116
469
|
declare class NbCardHeader {
|
|
117
470
|
protected readonly classes: string;
|
|
118
|
-
static ɵfac:
|
|
119
|
-
static ɵcmp:
|
|
471
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardHeader, never>;
|
|
472
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardHeader, "nb-card-header", never, {}, {}, never, ["*"], true, never>;
|
|
120
473
|
}
|
|
121
474
|
declare class NbCardTitle {
|
|
122
475
|
protected readonly classes: string;
|
|
123
|
-
static ɵfac:
|
|
124
|
-
static ɵcmp:
|
|
476
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardTitle, never>;
|
|
477
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardTitle, "nb-card-title", never, {}, {}, never, ["*"], true, never>;
|
|
125
478
|
}
|
|
126
479
|
declare class NbCardDescription {
|
|
127
480
|
protected readonly classes: string;
|
|
128
|
-
static ɵfac:
|
|
129
|
-
static ɵcmp:
|
|
481
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardDescription, never>;
|
|
482
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardDescription, "nb-card-description", never, {}, {}, never, ["*"], true, never>;
|
|
130
483
|
}
|
|
131
484
|
declare class NbCardActions {
|
|
132
|
-
readonly align:
|
|
133
|
-
protected readonly classes:
|
|
134
|
-
static ɵfac:
|
|
135
|
-
static ɵcmp:
|
|
485
|
+
readonly align: _angular_core.InputSignal<NbCardActionsAlign>;
|
|
486
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
487
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardActions, never>;
|
|
488
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardActions, "nb-card-actions", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
136
489
|
}
|
|
137
490
|
declare class NbCardContent {
|
|
138
491
|
protected readonly classes: string;
|
|
139
|
-
static ɵfac:
|
|
140
|
-
static ɵcmp:
|
|
492
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardContent, never>;
|
|
493
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardContent, "nb-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
141
494
|
}
|
|
142
495
|
declare class NbCardFooter {
|
|
143
496
|
protected readonly classes: string;
|
|
144
|
-
static ɵfac:
|
|
145
|
-
static ɵcmp:
|
|
497
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCardFooter, never>;
|
|
498
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbCardFooter, "nb-card-footer", never, {}, {}, never, ["*"], true, never>;
|
|
146
499
|
}
|
|
147
500
|
|
|
501
|
+
type NbImageCardTone = NbToneToken;
|
|
502
|
+
type NbImageCardRadius = NbRadius;
|
|
503
|
+
type NbImageCardShadow = NbShadow;
|
|
504
|
+
type NbImageCardBorder = NbBorderStrength;
|
|
148
505
|
declare class NbImageCard {
|
|
149
|
-
readonly image:
|
|
150
|
-
readonly alt:
|
|
506
|
+
readonly image: _angular_core.InputSignal<string>;
|
|
507
|
+
readonly alt: _angular_core.InputSignal<string>;
|
|
151
508
|
protected readonly classes: string;
|
|
152
509
|
protected readonly imageClasses: string;
|
|
153
|
-
static ɵfac:
|
|
154
|
-
static ɵcmp:
|
|
510
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbImageCard, never>;
|
|
511
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbImageCard, "nb-image-card", never, { "image": { "alias": "image"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": true; "isSignal": true; }; }, {}, never, ["nb-image-card-caption"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
155
512
|
}
|
|
156
513
|
declare class NbImageCardCaption {
|
|
157
514
|
protected readonly classes: string;
|
|
158
|
-
static ɵfac:
|
|
159
|
-
static ɵcmp:
|
|
515
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbImageCardCaption, never>;
|
|
516
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbImageCardCaption, "nb-image-card-caption", never, {}, {}, never, ["*"], true, never>;
|
|
160
517
|
}
|
|
161
518
|
|
|
162
519
|
declare class NbMarquee {
|
|
163
|
-
readonly duration:
|
|
164
|
-
readonly reverse:
|
|
165
|
-
readonly pauseOnHover:
|
|
520
|
+
readonly duration: _angular_core.InputSignal<string>;
|
|
521
|
+
readonly reverse: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
522
|
+
readonly pauseOnHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
166
523
|
private readonly wrapper;
|
|
167
524
|
private readonly strip1;
|
|
168
525
|
private readonly strip2;
|
|
169
526
|
private readonly destroyRef;
|
|
170
527
|
private readonly isBrowser;
|
|
171
528
|
private readonly widthScale;
|
|
172
|
-
protected readonly wrapperClass:
|
|
173
|
-
protected readonly wrapperStyle:
|
|
529
|
+
protected readonly wrapperClass: _angular_core.Signal<string>;
|
|
530
|
+
protected readonly wrapperStyle: _angular_core.Signal<{
|
|
174
531
|
'--nb-marquee-duration': string;
|
|
175
532
|
}>;
|
|
176
533
|
private readonly scaledDuration;
|
|
177
|
-
protected readonly strip1Class:
|
|
178
|
-
protected readonly strip2Class:
|
|
534
|
+
protected readonly strip1Class: _angular_core.Signal<string>;
|
|
535
|
+
protected readonly strip2Class: _angular_core.Signal<string>;
|
|
179
536
|
constructor();
|
|
180
537
|
private syncSecondStrip;
|
|
181
538
|
private updateAnimationScale;
|
|
182
539
|
private durationToMs;
|
|
183
|
-
static ɵfac:
|
|
184
|
-
static ɵcmp:
|
|
540
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMarquee, never>;
|
|
541
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbMarquee, "nb-marquee", never, { "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "reverse": { "alias": "reverse"; "required": false; "isSignal": true; }; "pauseOnHover": { "alias": "pauseOnHover"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
185
542
|
}
|
|
186
543
|
|
|
187
544
|
declare class NbMarqueeItem {
|
|
188
|
-
static ɵfac:
|
|
189
|
-
static ɵcmp:
|
|
545
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMarqueeItem, never>;
|
|
546
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbMarqueeItem, "nb-marquee-item", never, {}, {}, never, ["*"], true, never>;
|
|
190
547
|
}
|
|
191
548
|
|
|
192
|
-
type NbInputSize = '
|
|
549
|
+
type NbInputSize = 'md' | 'sm' | 'lg';
|
|
193
550
|
|
|
194
551
|
declare class NbInput {
|
|
195
|
-
readonly size:
|
|
552
|
+
readonly size: _angular_core.InputSignal<NbInputSize>;
|
|
196
553
|
private readonly group;
|
|
197
|
-
protected readonly classes:
|
|
198
|
-
static ɵfac:
|
|
199
|
-
static ɵdir:
|
|
554
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
555
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbInput, never>;
|
|
556
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbInput, "input[nbInput]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
200
557
|
}
|
|
201
558
|
|
|
202
559
|
declare class NbLabel {
|
|
203
560
|
protected readonly classes: string;
|
|
204
|
-
static ɵfac:
|
|
205
|
-
static ɵdir:
|
|
561
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbLabel, never>;
|
|
562
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbLabel, "label[nbLabel]", never, {}, {}, never, never, true, never>;
|
|
206
563
|
}
|
|
207
564
|
|
|
208
565
|
declare class NbTitle {
|
|
209
|
-
static ɵfac:
|
|
210
|
-
static ɵdir:
|
|
566
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbTitle, never>;
|
|
567
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbTitle, "[nbTitle]", never, {}, {}, never, never, true, never>;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
type NbDisplaySize = 'sm' | 'md' | 'lg' | 'xl';
|
|
571
|
+
type NbDisplayWeight = NbFontWeight;
|
|
572
|
+
type NbDisplayTracking = 'normal' | 'tight' | 'tighter';
|
|
573
|
+
type NbDisplayLeading = 'none' | 'tight' | 'display';
|
|
574
|
+
type NbDisplayUnderline = NbUnderlineVariant;
|
|
575
|
+
declare class NbDisplay {
|
|
576
|
+
readonly size: _angular_core.InputSignal<NbDisplaySize>;
|
|
577
|
+
readonly weight: _angular_core.InputSignal<NbFontWeight>;
|
|
578
|
+
readonly fluid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
579
|
+
readonly tracking: _angular_core.InputSignal<NbDisplayTracking>;
|
|
580
|
+
readonly leading: _angular_core.InputSignal<NbDisplayLeading>;
|
|
581
|
+
protected readonly fontSize: _angular_core.Signal<string>;
|
|
582
|
+
protected readonly weightValue: _angular_core.Signal<string>;
|
|
583
|
+
protected readonly trackingValue: _angular_core.Signal<string>;
|
|
584
|
+
protected readonly leadingValue: _angular_core.Signal<string>;
|
|
585
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDisplay, never>;
|
|
586
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbDisplay, "[nbDisplay]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "tracking": { "alias": "tracking"; "required": false; "isSignal": true; }; "leading": { "alias": "leading"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbUnderlineCapability; inputs: { "underline": "underline"; "underlineGap": "underlineGap"; "underlineWidth": "underlineWidth"; }; outputs: {}; }, { directive: typeof NbResetMarginCapability; inputs: { "reset": "reset"; }; outputs: {}; }]>;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Typography context. Picks a font *role* and writes the resolved stack as
|
|
591
|
+
* `font-family` on the host so every descendant primitive (nbText, nbDisplay,
|
|
592
|
+
* nbButton, nbChip, nbMediaItemTitle, …) inherits it through the cascade — no
|
|
593
|
+
* raw font-family strings in templates.
|
|
594
|
+
*
|
|
595
|
+
* Precedence falls out of the cascade: a nested context overrides an outer one
|
|
596
|
+
* (closest wins), and an inline token override (`--nb-font-accent: …`) wins over
|
|
597
|
+
* the preset because the resolved value reads that token first.
|
|
598
|
+
*
|
|
599
|
+
* Also available as the `typography` input on nbSurface, which composes this
|
|
600
|
+
* directive directly.
|
|
601
|
+
*/
|
|
602
|
+
declare class NbTypography {
|
|
603
|
+
readonly font: _angular_core.InputSignal<NbTypographyFont>;
|
|
604
|
+
protected readonly fontValue: _angular_core.Signal<string | null>;
|
|
605
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbTypography, never>;
|
|
606
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbTypography, "[nbTypography]", ["nbTypography"], { "font": { "alias": "font"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
type NbSeparatorOrientation = 'horizontal' | 'vertical';
|
|
610
|
+
type NbSeparatorVariant = 'solid' | 'dashed' | 'thick';
|
|
611
|
+
declare class NbSeparator {
|
|
612
|
+
readonly orientation: _angular_core.InputSignal<NbSeparatorOrientation>;
|
|
613
|
+
readonly variant: _angular_core.InputSignal<NbSeparatorVariant>;
|
|
614
|
+
protected readonly isHorizontal: _angular_core.Signal<boolean>;
|
|
615
|
+
protected readonly isVertical: _angular_core.Signal<boolean>;
|
|
616
|
+
protected readonly borderLine: _angular_core.Signal<string>;
|
|
617
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSeparator, never>;
|
|
618
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbSeparator, "hr[nbSeparator]", never, { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
211
619
|
}
|
|
212
620
|
|
|
213
|
-
type NbTextareaSize = '
|
|
621
|
+
type NbTextareaSize = 'md' | 'sm' | 'lg';
|
|
214
622
|
|
|
215
623
|
declare class NbTextarea {
|
|
216
|
-
readonly size:
|
|
624
|
+
readonly size: _angular_core.InputSignal<NbTextareaSize>;
|
|
217
625
|
private readonly group;
|
|
218
|
-
protected readonly classes:
|
|
219
|
-
static ɵfac:
|
|
220
|
-
static ɵdir:
|
|
626
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
627
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbTextarea, never>;
|
|
628
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbTextarea, "textarea[nbTextarea]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
221
629
|
}
|
|
222
630
|
|
|
223
631
|
interface NbInputGroupContext {
|
|
@@ -228,34 +636,34 @@ interface NbInputGroupContext {
|
|
|
228
636
|
declare class NbInputGroup implements NbInputGroupContext {
|
|
229
637
|
private readonly prefixes;
|
|
230
638
|
private readonly suffixes;
|
|
231
|
-
readonly hasPrefix:
|
|
232
|
-
readonly hasSuffix:
|
|
233
|
-
protected readonly classes:
|
|
234
|
-
static ɵfac:
|
|
235
|
-
static ɵcmp:
|
|
639
|
+
readonly hasPrefix: _angular_core.Signal<boolean>;
|
|
640
|
+
readonly hasSuffix: _angular_core.Signal<boolean>;
|
|
641
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
642
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbInputGroup, never>;
|
|
643
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbInputGroup, "nb-input-group", never, {}, {}, ["prefixes", "suffixes"], ["*"], true, never>;
|
|
236
644
|
}
|
|
237
645
|
|
|
238
646
|
type NbInputPrefixAlign = 'center' | 'stretch';
|
|
239
647
|
declare class NbInputPrefix {
|
|
240
|
-
readonly align:
|
|
241
|
-
protected readonly classes:
|
|
242
|
-
static ɵfac:
|
|
243
|
-
static ɵdir:
|
|
648
|
+
readonly align: _angular_core.InputSignal<NbInputPrefixAlign>;
|
|
649
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
650
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbInputPrefix, never>;
|
|
651
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbInputPrefix, "[nbInputPrefix]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
244
652
|
}
|
|
245
653
|
|
|
246
654
|
type NbInputSuffixAlign = 'center' | 'stretch';
|
|
247
655
|
declare class NbInputSuffix {
|
|
248
|
-
readonly align:
|
|
249
|
-
protected readonly classes:
|
|
250
|
-
static ɵfac:
|
|
251
|
-
static ɵdir:
|
|
656
|
+
readonly align: _angular_core.InputSignal<NbInputSuffixAlign>;
|
|
657
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
658
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbInputSuffix, never>;
|
|
659
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbInputSuffix, "[nbInputSuffix]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
252
660
|
}
|
|
253
661
|
|
|
254
662
|
declare class NbNativeSelect {
|
|
255
663
|
private readonly group;
|
|
256
|
-
protected readonly classes:
|
|
257
|
-
static ɵfac:
|
|
258
|
-
static ɵdir:
|
|
664
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
665
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbNativeSelect, never>;
|
|
666
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbNativeSelect, "select[nbSelect]", never, {}, {}, never, never, true, never>;
|
|
259
667
|
}
|
|
260
668
|
|
|
261
669
|
type NbSelectValue = string | number;
|
|
@@ -273,37 +681,37 @@ declare class NbSelectOption {
|
|
|
273
681
|
private readonly element;
|
|
274
682
|
protected readonly select: NbSelectController;
|
|
275
683
|
readonly id: string;
|
|
276
|
-
readonly value:
|
|
277
|
-
readonly label:
|
|
278
|
-
readonly disabled:
|
|
279
|
-
protected readonly selected:
|
|
280
|
-
protected readonly showIndicator:
|
|
281
|
-
protected readonly classes:
|
|
684
|
+
readonly value: _angular_core.InputSignal<NbSelectValue | null>;
|
|
685
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
686
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
687
|
+
protected readonly selected: _angular_core.Signal<boolean>;
|
|
688
|
+
protected readonly showIndicator: _angular_core.Signal<boolean>;
|
|
689
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
282
690
|
focus(): void;
|
|
283
691
|
selectOptionOnKey(event: KeyboardEvent): void;
|
|
284
|
-
static ɵfac:
|
|
285
|
-
static ɵcmp:
|
|
692
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSelectOption, never>;
|
|
693
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbSelectOption, "nb-select-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
286
694
|
}
|
|
287
695
|
|
|
288
696
|
declare class NbSelect implements NbSelectController {
|
|
289
697
|
private readonly element;
|
|
290
698
|
private readonly group;
|
|
291
|
-
readonly placeholder:
|
|
292
|
-
readonly value:
|
|
293
|
-
readonly disabled:
|
|
294
|
-
readonly ariaLabel:
|
|
295
|
-
readonly ariaLabelledby:
|
|
296
|
-
readonly options:
|
|
699
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
700
|
+
readonly value: _angular_core.ModelSignal<NbSelectValue | null>;
|
|
701
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
702
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
703
|
+
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
704
|
+
readonly options: _angular_core.Signal<readonly NbSelectOption[]>;
|
|
297
705
|
private readonly trigger;
|
|
298
|
-
readonly open:
|
|
706
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
299
707
|
readonly id: number;
|
|
300
708
|
readonly triggerId: string;
|
|
301
709
|
readonly listboxId: string;
|
|
302
|
-
protected readonly selectedOption:
|
|
303
|
-
protected readonly selectedLabel:
|
|
304
|
-
protected readonly hostClasses:
|
|
305
|
-
protected readonly triggerClasses:
|
|
306
|
-
protected readonly valueClasses:
|
|
710
|
+
protected readonly selectedOption: _angular_core.Signal<NbSelectOption | undefined>;
|
|
711
|
+
protected readonly selectedLabel: _angular_core.Signal<string>;
|
|
712
|
+
protected readonly hostClasses: _angular_core.Signal<string>;
|
|
713
|
+
protected readonly triggerClasses: _angular_core.Signal<string>;
|
|
714
|
+
protected readonly valueClasses: _angular_core.Signal<string>;
|
|
307
715
|
protected readonly listboxClasses: string;
|
|
308
716
|
isSelected(value: NbSelectValue | null): boolean;
|
|
309
717
|
selectOption(option: NbSelectOption): void;
|
|
@@ -316,26 +724,69 @@ declare class NbSelect implements NbSelectController {
|
|
|
316
724
|
closeOnOutsideClick(event: MouseEvent): void;
|
|
317
725
|
private firstEnabledOption;
|
|
318
726
|
private focusRelativeOption;
|
|
319
|
-
static ɵfac:
|
|
320
|
-
static ɵcmp:
|
|
727
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSelect, never>;
|
|
728
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbSelect, "nb-select", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "open": "openChange"; }, ["options"], ["*"], true, never>;
|
|
321
729
|
}
|
|
322
730
|
|
|
323
|
-
type
|
|
324
|
-
|
|
731
|
+
type NbBadgeTone = NbToneToken;
|
|
732
|
+
type NbBadgeRadius = NbRadius;
|
|
733
|
+
type NbBadgeShadow = NbShadow;
|
|
734
|
+
type NbBadgeBorder = NbBorderStrength;
|
|
325
735
|
declare class NbBadge {
|
|
326
|
-
readonly
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NbBadge, never>;
|
|
330
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NbBadge, "span[nbBadge]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
736
|
+
protected readonly classes: string;
|
|
737
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbBadge, never>;
|
|
738
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbBadge, "span[nbBadge]", never, {}, {}, never, never, true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
331
739
|
}
|
|
332
740
|
|
|
741
|
+
type NbAvatarTone = NbToneToken;
|
|
742
|
+
type NbAvatarRadius = NbRadius;
|
|
743
|
+
type NbAvatarShadow = NbShadow;
|
|
744
|
+
type NbAvatarBorder = NbBorderStrength;
|
|
333
745
|
declare class NbAvatar {
|
|
334
|
-
readonly src:
|
|
335
|
-
readonly alt:
|
|
746
|
+
readonly src: _angular_core.InputSignal<string | undefined>;
|
|
747
|
+
readonly alt: _angular_core.InputSignal<string>;
|
|
748
|
+
protected readonly classes: string;
|
|
749
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAvatar, never>;
|
|
750
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAvatar, "nb-avatar", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; "alt": { "alias": "alt"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
type NbMediaFrameTone = NbToneToken;
|
|
754
|
+
type NbMediaFrameRadius = NbRadius;
|
|
755
|
+
type NbMediaFrameShadow = NbShadow;
|
|
756
|
+
type NbMediaFrameBorder = NbBorderStrength;
|
|
757
|
+
type NbMediaFrameRatio = 'auto' | '1/1' | '3/4' | '4/3' | '3/2' | '16/9' | '21/9';
|
|
758
|
+
type NbMediaFrameFit = 'cover' | 'contain' | 'fill';
|
|
759
|
+
declare class NbMediaFrame {
|
|
760
|
+
readonly ratio: _angular_core.InputSignal<NbMediaFrameRatio>;
|
|
761
|
+
readonly fit: _angular_core.InputSignal<NbMediaFrameFit>;
|
|
762
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
763
|
+
private ratioClass;
|
|
764
|
+
private fitClass;
|
|
765
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMediaFrame, never>;
|
|
766
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbMediaFrame, "[nbMediaFrame]", never, { "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "fit": { "alias": "fit"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
declare class NbStat {
|
|
770
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
771
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
772
|
+
readonly direction: _angular_core.InputSignal<"row" | "column">;
|
|
773
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
774
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbStat, never>;
|
|
775
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbStat, "nb-stat", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, never, ["[slot=icon]"], true, never>;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
declare class NbRating {
|
|
779
|
+
readonly value: _angular_core.InputSignal<number>;
|
|
780
|
+
readonly max: _angular_core.InputSignal<number>;
|
|
781
|
+
readonly count: _angular_core.InputSignal<number | undefined>;
|
|
782
|
+
protected readonly stars: _angular_core.Signal<number[]>;
|
|
783
|
+
protected readonly filled: _angular_core.Signal<number>;
|
|
784
|
+
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
336
785
|
protected readonly classes: string;
|
|
337
|
-
|
|
338
|
-
|
|
786
|
+
protected readonly filledClass: string;
|
|
787
|
+
protected readonly emptyClass: string;
|
|
788
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbRating, never>;
|
|
789
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbRating, "nb-rating", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
339
790
|
}
|
|
340
791
|
|
|
341
792
|
interface NbDialogController {
|
|
@@ -350,38 +801,361 @@ declare class NbDialog implements NbDialogController {
|
|
|
350
801
|
open(): void;
|
|
351
802
|
close(): void;
|
|
352
803
|
protected dismissOnBackdrop(event: MouseEvent): void;
|
|
353
|
-
static ɵfac:
|
|
354
|
-
static ɵcmp:
|
|
804
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialog, never>;
|
|
805
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbDialog, "nb-dialog", never, {}, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
355
806
|
}
|
|
356
807
|
|
|
357
808
|
declare class NbDialogTitle {
|
|
358
|
-
static ɵfac:
|
|
359
|
-
static ɵdir:
|
|
809
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialogTitle, never>;
|
|
810
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbDialogTitle, "[nbDialogTitle]", never, {}, {}, never, never, true, never>;
|
|
360
811
|
}
|
|
361
812
|
|
|
362
813
|
declare class NbDialogDescription {
|
|
363
814
|
protected readonly classes: string;
|
|
364
|
-
static ɵfac:
|
|
365
|
-
static ɵdir:
|
|
815
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialogDescription, never>;
|
|
816
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbDialogDescription, "[nbDialogDescription]", never, {}, {}, never, never, true, never>;
|
|
366
817
|
}
|
|
367
818
|
|
|
368
819
|
declare class NbDialogContent {
|
|
369
820
|
protected readonly classes: string;
|
|
370
|
-
static ɵfac:
|
|
371
|
-
static ɵcmp:
|
|
821
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialogContent, never>;
|
|
822
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbDialogContent, "nb-dialog-content", never, {}, {}, never, ["*"], true, never>;
|
|
372
823
|
}
|
|
373
824
|
|
|
374
825
|
declare class NbDialogActions {
|
|
375
826
|
protected readonly classes: string;
|
|
376
|
-
static ɵfac:
|
|
377
|
-
static ɵcmp:
|
|
827
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialogActions, never>;
|
|
828
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbDialogActions, "nb-dialog-actions", never, {}, {}, never, ["*"], true, never>;
|
|
378
829
|
}
|
|
379
830
|
|
|
380
831
|
declare class NbDialogClose {
|
|
381
832
|
protected readonly controller: NbDialogController;
|
|
382
|
-
static ɵfac:
|
|
383
|
-
static ɵdir:
|
|
833
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbDialogClose, never>;
|
|
834
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbDialogClose, "[nbDialogClose]", never, {}, {}, never, never, true, never>;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
type NbStatusDotState = 'online' | 'offline' | 'live';
|
|
838
|
+
type NbStatusDotSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
839
|
+
declare class NbStatusDot {
|
|
840
|
+
readonly state: _angular_core.InputSignal<NbStatusDotState>;
|
|
841
|
+
readonly size: _angular_core.InputSignal<NbStatusDotSize>;
|
|
842
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
843
|
+
protected readonly ariaLabel: _angular_core.Signal<string>;
|
|
844
|
+
protected readonly sizeVar: _angular_core.Signal<string>;
|
|
845
|
+
private stateClass;
|
|
846
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbStatusDot, never>;
|
|
847
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbStatusDot, "span[nbStatusDot]", never, { "state": { "alias": "state"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }]>;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
type NbTextSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
851
|
+
type NbTextWeight = NbFontWeight;
|
|
852
|
+
type NbTextTone = 'default' | 'muted' | 'subtle' | 'inverse' | Extract<NbTone, 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'danger'>;
|
|
853
|
+
type NbTextTransform = 'none' | 'uppercase' | 'lowercase' | 'capitalize';
|
|
854
|
+
|
|
855
|
+
type NbTextMeasure = 'none' | 'xs' | 'sm' | 'md' | 'lg';
|
|
856
|
+
type NbTextLeading = 'none' | 'tight' | 'normal' | 'relaxed';
|
|
857
|
+
declare class NbText {
|
|
858
|
+
readonly size: _angular_core.InputSignal<NbTextSize>;
|
|
859
|
+
readonly weight: _angular_core.InputSignal<NbFontWeight>;
|
|
860
|
+
readonly tone: _angular_core.InputSignal<NbTextTone>;
|
|
861
|
+
readonly transform: _angular_core.InputSignal<NbTextTransform>;
|
|
862
|
+
readonly tracking: _angular_core.InputSignal<NbTextTracking>;
|
|
863
|
+
readonly measure: _angular_core.InputSignal<NbTextMeasure>;
|
|
864
|
+
readonly leading: _angular_core.InputSignal<NbTextLeading>;
|
|
865
|
+
protected readonly sizeValue: _angular_core.Signal<string>;
|
|
866
|
+
protected readonly lineHeightValue: _angular_core.Signal<string>;
|
|
867
|
+
protected readonly weightValue: _angular_core.Signal<string>;
|
|
868
|
+
protected readonly colorValue: _angular_core.Signal<string>;
|
|
869
|
+
protected readonly transformValue: _angular_core.Signal<NbTextTransform>;
|
|
870
|
+
protected readonly trackingValue: _angular_core.Signal<string>;
|
|
871
|
+
protected readonly measureValue: _angular_core.Signal<string | null>;
|
|
872
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbText, never>;
|
|
873
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbText, "[nbText]", ["nbText"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "transform": { "alias": "transform"; "required": false; "isSignal": true; }; "tracking": { "alias": "tracking"; "required": false; "isSignal": true; }; "measure": { "alias": "measure"; "required": false; "isSignal": true; }; "leading": { "alias": "leading"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbUnderlineCapability; inputs: { "underline": "underline"; "underlineGap": "underlineGap"; "underlineWidth": "underlineWidth"; }; outputs: {}; }, { directive: typeof NbResetMarginCapability; inputs: { "reset": "reset"; }; outputs: {}; }]>;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
type NbChipTone = NbToneToken;
|
|
877
|
+
type NbChipPadding = 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
878
|
+
declare class NbChip {
|
|
879
|
+
readonly padding: _angular_core.InputSignal<NbChipPadding>;
|
|
880
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
881
|
+
readonly iconSize: _angular_core.InputSignal<NbIconSize>;
|
|
882
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
883
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbChip, never>;
|
|
884
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbChip, "span[nbChip]", never, { "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
885
|
+
}
|
|
886
|
+
type NbChipGroupDirection = 'horizontal' | 'vertical';
|
|
887
|
+
type NbChipGroupAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
888
|
+
/**
|
|
889
|
+
* Layout + shared style context for a set of chips. Owns the row/column layout
|
|
890
|
+
* (direction, gap, align) and broadcasts chip-level styling — radius, shadow,
|
|
891
|
+
* text transform, tracking — to every child `nbChip` through CSS variables and
|
|
892
|
+
* inherited text properties, so chips don't repeat the same inputs. Individual
|
|
893
|
+
* `nbChip` inputs still override the group (explicit input beats context token).
|
|
894
|
+
*/
|
|
895
|
+
declare class NbChipGroup {
|
|
896
|
+
readonly direction: _angular_core.InputSignal<NbChipGroupDirection>;
|
|
897
|
+
readonly gap: _angular_core.InputSignal<NbSpacing>;
|
|
898
|
+
readonly align: _angular_core.InputSignal<NbChipGroupAlign>;
|
|
899
|
+
readonly radius: _angular_core.InputSignal<NbRadius | undefined>;
|
|
900
|
+
readonly shadow: _angular_core.InputSignal<NbShadow | undefined>;
|
|
901
|
+
readonly transform: _angular_core.InputSignal<NbTextTransform>;
|
|
902
|
+
readonly tracking: _angular_core.InputSignal<NbTextTracking>;
|
|
903
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
904
|
+
protected readonly gapValue: _angular_core.Signal<string>;
|
|
905
|
+
protected readonly chipRadiusValue: _angular_core.Signal<string | null>;
|
|
906
|
+
protected readonly chipShadowValue: _angular_core.Signal<string | null>;
|
|
907
|
+
protected readonly transformValue: _angular_core.Signal<"uppercase" | "lowercase" | "capitalize" | null>;
|
|
908
|
+
protected readonly trackingValue: _angular_core.Signal<string | null>;
|
|
909
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbChipGroup, never>;
|
|
910
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbChipGroup, "[nbChipGroup]", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "transform": { "alias": "transform"; "required": false; "isSignal": true; }; "tracking": { "alias": "tracking"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
type NbIconButtonShape = 'square' | 'circle';
|
|
914
|
+
type NbIconButtonSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
915
|
+
declare class NbIconButton {
|
|
916
|
+
readonly shape: _angular_core.InputSignal<NbIconButtonShape>;
|
|
917
|
+
readonly size: _angular_core.InputSignal<NbIconButtonSize>;
|
|
918
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
919
|
+
protected readonly iconSize: _angular_core.Signal<NbIconSize>;
|
|
920
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
921
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbIconButton, never>;
|
|
922
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbIconButton, "button[nbIconButton]", never, { "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }]>;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
type NbProgressTone = 'default' | 'success' | 'warning' | 'danger' | 'accent';
|
|
926
|
+
declare class NbProgress {
|
|
927
|
+
readonly value: _angular_core.InputSignal<number>;
|
|
928
|
+
readonly max: _angular_core.InputSignal<number>;
|
|
929
|
+
readonly tone: _angular_core.InputSignal<NbProgressTone>;
|
|
930
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
931
|
+
protected readonly clampedValue: _angular_core.Signal<number>;
|
|
932
|
+
protected readonly percentage: _angular_core.Signal<number>;
|
|
933
|
+
protected readonly hostClass: _angular_core.Signal<string>;
|
|
934
|
+
protected readonly fillClass: _angular_core.Signal<string>;
|
|
935
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbProgress, never>;
|
|
936
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbProgress, "nb-progress", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
declare class NbAvatarGroup {
|
|
940
|
+
readonly overflow: _angular_core.InputSignal<number>;
|
|
941
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbAvatarGroup, never>;
|
|
942
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbAvatarGroup, "nb-avatar-group", never, { "overflow": { "alias": "overflow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
type NbStickerShape = 'burst' | 'burst-wide' | 'star' | 'splat';
|
|
946
|
+
type NbStickerTone = NbTone;
|
|
947
|
+
|
|
948
|
+
interface NbStickerPathConfig {
|
|
949
|
+
viewBox: string;
|
|
950
|
+
path: string;
|
|
951
|
+
shadowTransform: string;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
interface NbStickerToneTokens {
|
|
955
|
+
fill: string;
|
|
956
|
+
ink: string;
|
|
957
|
+
shadow: string;
|
|
958
|
+
}
|
|
959
|
+
declare class NbSticker {
|
|
960
|
+
readonly shape: _angular_core.InputSignal<NbStickerShape>;
|
|
961
|
+
readonly tone: _angular_core.InputSignal<_ng_brutalism_ui.NbTone>;
|
|
962
|
+
readonly decorative: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
963
|
+
readonly rotate: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
964
|
+
readonly size: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
965
|
+
protected readonly config: _angular_core.Signal<NbStickerPathConfig>;
|
|
966
|
+
protected readonly toneTokens: _angular_core.Signal<NbStickerToneTokens>;
|
|
967
|
+
protected readonly rotateStyle: _angular_core.Signal<string>;
|
|
968
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSticker, never>;
|
|
969
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbSticker, "nb-sticker", never, { "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "decorative": { "alias": "decorative"; "required": false; "isSignal": true; }; "rotate": { "alias": "rotate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
declare class NbStickerFace {
|
|
973
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbStickerFace, never>;
|
|
974
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbStickerFace, "nb-sticker-face", never, {}, {}, never, never, true, never>;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
type NbHalftoneShape = 'square' | 'circle' | 'rectangle';
|
|
978
|
+
declare class NbHalftone {
|
|
979
|
+
readonly shape: _angular_core.InputSignal<NbHalftoneShape>;
|
|
980
|
+
readonly color: _angular_core.InputSignal<string | null>;
|
|
981
|
+
readonly size: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
982
|
+
readonly gap: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
983
|
+
readonly gapX: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
984
|
+
readonly gapY: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
985
|
+
readonly rows: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
986
|
+
readonly columns: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
987
|
+
protected readonly resolvedColor: _angular_core.Signal<string>;
|
|
988
|
+
protected readonly resolvedSize: _angular_core.Signal<number>;
|
|
989
|
+
protected readonly resolvedGap: _angular_core.Signal<number>;
|
|
990
|
+
protected readonly resolvedGapXInput: _angular_core.Signal<number | null>;
|
|
991
|
+
protected readonly resolvedGapYInput: _angular_core.Signal<number | null>;
|
|
992
|
+
protected readonly resolvedRows: _angular_core.Signal<number>;
|
|
993
|
+
protected readonly resolvedColumns: _angular_core.Signal<number>;
|
|
994
|
+
protected readonly svgW: _angular_core.Signal<number>;
|
|
995
|
+
protected readonly svgH: _angular_core.Signal<number>;
|
|
996
|
+
protected readonly dotR: _angular_core.Signal<number>;
|
|
997
|
+
protected readonly dots: _angular_core.Signal<{
|
|
998
|
+
cx: number;
|
|
999
|
+
cy: number;
|
|
1000
|
+
}[]>;
|
|
1001
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbHalftone, never>;
|
|
1002
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbHalftone, "nb-halftone, [nbHalftone]", never, { "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "gapX": { "alias": "gapX"; "required": false; "isSignal": true; }; "gapY": { "alias": "gapY"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
type NbSurfaceTone = NbToneToken;
|
|
1006
|
+
type NbSurfaceRadius = NbRadius;
|
|
1007
|
+
type NbSurfaceBorder = NbBorderStrength;
|
|
1008
|
+
type NbSurfaceShadow = NbShadow;
|
|
1009
|
+
type NbSurfacePadding = NbPadding;
|
|
1010
|
+
type NbSurfaceSize = 'auto' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1011
|
+
type NbSurfaceLayout = 'block' | 'center' | 'row' | 'stack';
|
|
1012
|
+
type NbSurfaceEdge = 'none' | 'top' | 'bottom';
|
|
1013
|
+
declare class NbSurface {
|
|
1014
|
+
readonly size: _angular_core.InputSignal<NbSurfaceSize>;
|
|
1015
|
+
readonly layout: _angular_core.InputSignal<NbSurfaceLayout>;
|
|
1016
|
+
readonly padding: _angular_core.InputSignal<NbPadding>;
|
|
1017
|
+
readonly edge: _angular_core.InputSignal<NbSurfaceEdge>;
|
|
1018
|
+
readonly clip: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1019
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1020
|
+
private sizeClass;
|
|
1021
|
+
private layoutClass;
|
|
1022
|
+
private edgeClass;
|
|
1023
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSurface, never>;
|
|
1024
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbSurface, "[nbSurface]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "edge": { "alias": "edge"; "required": false; "isSignal": true; }; "clip": { "alias": "clip"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbRadiusCapability; inputs: { "radius": "radius"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }, { directive: typeof NbBorderCapability; inputs: { "border": "border"; }; outputs: {}; }, { directive: typeof NbPaddingCapability; inputs: { "padding": "padding"; }; outputs: {}; }, { directive: typeof NbTypography; inputs: { "font": "typography"; }; outputs: {}; }]>;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
type NbStackGap = NbSpacing;
|
|
1028
|
+
type NbStackAlign = 'stretch' | 'start' | 'center' | 'end';
|
|
1029
|
+
type NbStackJustify = 'start' | 'center' | 'end' | 'between';
|
|
1030
|
+
type NbStackSeparator = 'none' | 'solid' | 'dashed' | 'thick';
|
|
1031
|
+
declare class NbStack {
|
|
1032
|
+
readonly align: _angular_core.InputSignal<NbStackAlign>;
|
|
1033
|
+
readonly justify: _angular_core.InputSignal<NbStackJustify>;
|
|
1034
|
+
readonly separator: _angular_core.InputSignal<NbStackSeparator>;
|
|
1035
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1036
|
+
private alignClass;
|
|
1037
|
+
private justifyClass;
|
|
1038
|
+
private separatorClass;
|
|
1039
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbStack, never>;
|
|
1040
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbStack, "[nbStack]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbGapCapability; inputs: { "gap": "gap"; }; outputs: {}; }]>;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
type NbClusterGap = NbSpacing;
|
|
1044
|
+
type NbClusterAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
1045
|
+
type NbClusterJustify = 'start' | 'center' | 'end' | 'between';
|
|
1046
|
+
type NbClusterWrap = 'wrap' | 'nowrap';
|
|
1047
|
+
type NbClusterSeparator = 'none' | 'solid' | 'dashed' | 'thick';
|
|
1048
|
+
declare class NbCluster {
|
|
1049
|
+
readonly align: _angular_core.InputSignal<NbClusterAlign>;
|
|
1050
|
+
readonly justify: _angular_core.InputSignal<NbClusterJustify>;
|
|
1051
|
+
readonly wrap: _angular_core.InputSignal<NbClusterWrap>;
|
|
1052
|
+
readonly separator: _angular_core.InputSignal<NbClusterSeparator>;
|
|
1053
|
+
protected readonly separatorColumnGapStyle: _angular_core.Signal<"0px" | null>;
|
|
1054
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1055
|
+
private gapClass;
|
|
1056
|
+
private alignClass;
|
|
1057
|
+
private justifyClass;
|
|
1058
|
+
private wrapClass;
|
|
1059
|
+
private separatorClass;
|
|
1060
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCluster, never>;
|
|
1061
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbCluster, "[nbCluster]", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "justify": { "alias": "justify"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbGapCapability; inputs: { "gap": "gap"; }; outputs: {}; }, { directive: typeof NbPaddingCapability; inputs: { "padding": "padding"; }; outputs: {}; }]>;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
type NbSplitRatio = '1:1' | '2:1' | '3:1' | '1:2' | '1:3' | 'fill:auto' | 'auto:fill';
|
|
1065
|
+
type NbSplitGap = NbSpacing;
|
|
1066
|
+
type NbSplitPadding = NbPadding;
|
|
1067
|
+
type NbSplitCollapse = 'none' | 'sm' | 'md' | 'lg';
|
|
1068
|
+
type NbSplitAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
1069
|
+
type NbSplitSeparator = 'none' | 'solid' | 'dashed' | 'thick';
|
|
1070
|
+
declare class NbSplit {
|
|
1071
|
+
readonly ratio: _angular_core.InputSignal<NbSplitRatio>;
|
|
1072
|
+
readonly collapse: _angular_core.InputSignal<NbSplitCollapse>;
|
|
1073
|
+
readonly align: _angular_core.InputSignal<NbSplitAlign>;
|
|
1074
|
+
readonly separator: _angular_core.InputSignal<NbSplitSeparator>;
|
|
1075
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1076
|
+
private alignClass;
|
|
1077
|
+
private ratioClass;
|
|
1078
|
+
private collapseClass;
|
|
1079
|
+
private separatorClass;
|
|
1080
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSplit, never>;
|
|
1081
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbSplit, "[nbSplit]", never, { "ratio": { "alias": "ratio"; "required": false; "isSignal": true; }; "collapse": { "alias": "collapse"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbGapCapability; inputs: { "gap": "gap"; }; outputs: {}; }, { directive: typeof NbPaddingCapability; inputs: { "padding": "padding"; }; outputs: {}; }]>;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
type NbSectionPadding = NbPadding;
|
|
1085
|
+
type NbSectionDivider = NbDivider;
|
|
1086
|
+
type NbSectionDividerStyle = 'solid' | 'dashed' | 'dotted';
|
|
1087
|
+
type NbSectionLayout = 'default' | 'center' | 'between';
|
|
1088
|
+
type NbSectionAlign = 'stretch' | 'start' | 'center' | 'end';
|
|
1089
|
+
declare class NbSection {
|
|
1090
|
+
readonly divider: _angular_core.InputSignal<NbDivider>;
|
|
1091
|
+
readonly dividerStyle: _angular_core.InputSignal<NbSectionDividerStyle>;
|
|
1092
|
+
readonly layout: _angular_core.InputSignal<NbSectionLayout>;
|
|
1093
|
+
readonly align: _angular_core.InputSignal<NbSectionAlign>;
|
|
1094
|
+
readonly flush: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1095
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1096
|
+
private layoutClass;
|
|
1097
|
+
private alignClass;
|
|
1098
|
+
private dividerClass;
|
|
1099
|
+
private dividerStyleClass;
|
|
1100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbSection, never>;
|
|
1101
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbSection, "[nbSection]", ["nbSection"], { "divider": { "alias": "divider"; "required": false; "isSignal": true; }; "dividerStyle": { "alias": "dividerStyle"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "flush": { "alias": "flush"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbPaddingCapability; inputs: { "padding": "padding"; }; outputs: {}; }]>;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
type NbCalloutTone = NbToneToken;
|
|
1105
|
+
type NbCalloutSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
1106
|
+
type NbCalloutLayout = 'inline' | 'between' | 'center';
|
|
1107
|
+
type NbCalloutShadow = 'none' | 'default' | 'hard';
|
|
1108
|
+
declare class NbCallout {
|
|
1109
|
+
readonly size: _angular_core.InputSignal<NbCalloutSize>;
|
|
1110
|
+
readonly layout: _angular_core.InputSignal<NbCalloutLayout>;
|
|
1111
|
+
readonly radius: _angular_core.InputSignal<NbRadius | undefined>;
|
|
1112
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1113
|
+
protected readonly radiusStyle: _angular_core.Signal<string | null>;
|
|
1114
|
+
private sizeClass;
|
|
1115
|
+
private layoutClass;
|
|
1116
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbCallout, never>;
|
|
1117
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbCallout, "[nbCallout]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }, { directive: typeof NbShadowCapability; inputs: { "shadow": "shadow"; }; outputs: {}; }]>;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
type NbMediaItemVariant = 'plain' | 'boxed' | 'chip';
|
|
1121
|
+
type NbMediaItemOrientation = 'horizontal' | 'vertical';
|
|
1122
|
+
type NbMediaItemAlign = 'start' | 'center' | 'between';
|
|
1123
|
+
type NbMediaItemSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
1124
|
+
type NbMediaItemTone = NbToneToken;
|
|
1125
|
+
declare class NbMediaItem {
|
|
1126
|
+
readonly variant: _angular_core.InputSignal<NbMediaItemVariant>;
|
|
1127
|
+
readonly orientation: _angular_core.InputSignal<NbMediaItemOrientation>;
|
|
1128
|
+
readonly align: _angular_core.InputSignal<NbMediaItemAlign>;
|
|
1129
|
+
readonly size: _angular_core.InputSignal<NbMediaItemSize>;
|
|
1130
|
+
readonly icon: _angular_core.InputSignal<string | undefined>;
|
|
1131
|
+
readonly iconAlt: _angular_core.InputSignal<string>;
|
|
1132
|
+
readonly iconBackground: _angular_core.InputSignal<string | undefined>;
|
|
1133
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
1134
|
+
readonly description: _angular_core.InputSignal<string | undefined>;
|
|
1135
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1136
|
+
protected readonly iconClasses: _angular_core.Signal<string>;
|
|
1137
|
+
private variantClass;
|
|
1138
|
+
private orientationClass;
|
|
1139
|
+
private alignClass;
|
|
1140
|
+
private sizeClass;
|
|
1141
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMediaItem, never>;
|
|
1142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NbMediaItem, "nb-media-item, [nbMediaItem]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconAlt": { "alias": "iconAlt"; "required": false; "isSignal": true; }; "iconBackground": { "alias": "iconBackground"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, {}, never, ["nb-media-item-icon, [nbMediaItemIcon], [nbSurface], img, svg", "nb-media-item-title, [nbMediaItemTitle]", "nb-media-item-description, [nbMediaItemDescription]", "*", "nb-media-item-action, [nbMediaItemAction]"], true, [{ directive: typeof NbToneCapability; inputs: { "tone": "tone"; }; outputs: {}; }]>;
|
|
1143
|
+
}
|
|
1144
|
+
declare class NbMediaItemIcon {
|
|
1145
|
+
readonly surface: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1146
|
+
readonly background: _angular_core.InputSignal<string>;
|
|
1147
|
+
protected readonly classes: _angular_core.Signal<string>;
|
|
1148
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMediaItemIcon, never>;
|
|
1149
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbMediaItemIcon, "nb-media-item-icon, [nbMediaItemIcon]", never, { "surface": { "alias": "surface"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1150
|
+
}
|
|
1151
|
+
declare class NbMediaItemTitle {
|
|
1152
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMediaItemTitle, never>;
|
|
1153
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbMediaItemTitle, "nb-media-item-title, [nbMediaItemTitle]", never, {}, {}, never, never, true, never>;
|
|
1154
|
+
}
|
|
1155
|
+
declare class NbMediaItemDescription {
|
|
1156
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NbMediaItemDescription, never>;
|
|
1157
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<NbMediaItemDescription, "nb-media-item-description, [nbMediaItemDescription]", never, {}, {}, never, never, true, never>;
|
|
384
1158
|
}
|
|
385
1159
|
|
|
386
|
-
export { NB_THEME_CONFIG, NbAccordion, NbAccordionContent, NbAccordionItem, NbAccordionTrigger, NbAvatar, NbBadge, NbButton, NbCard, NbCardActions, NbCardContent, NbCardDescription, NbCardFooter, NbCardHeader, NbCardTitle, NbCheckbox, NbDialog, NbDialogActions, NbDialogClose, NbDialogContent, NbDialogDescription, NbDialogTitle, NbImageCard, NbImageCardCaption, NbInput, NbInputGroup, NbInputPrefix, NbInputSuffix, NbLabel, NbMarquee, NbMarqueeItem, NbNativeSelect, NbSelect, NbSelectOption, NbTextarea, NbTitle, nbClass, provideNgBrutalism };
|
|
387
|
-
export type { NbAccordionType, NbAccordionValue,
|
|
1160
|
+
export { NB_THEME_CONFIG, NbAccordion, NbAccordionContent, NbAccordionItem, NbAccordionTrigger, NbAvatar, NbAvatarGroup, NbBadge, NbButton, NbButtonTrailingIcon, NbCallout, NbCard, NbCardActions, NbCardContent, NbCardDescription, NbCardFooter, NbCardHeader, NbCardTitle, NbCheckbox, NbChip, NbChipGroup, NbCluster, NbDialog, NbDialogActions, NbDialogClose, NbDialogContent, NbDialogDescription, NbDialogTitle, NbDisplay, NbHalftone, NbIcon, NbIconButton, NbImageCard, NbImageCardCaption, NbInput, NbInputGroup, NbInputPrefix, NbInputSuffix, NbLabel, NbMarquee, NbMarqueeItem, NbMediaFrame, NbMediaItem, NbMediaItemDescription, NbMediaItemIcon, NbMediaItemTitle, NbNativeSelect, NbProgress, NbRating, NbSection, NbSelect, NbSelectOption, NbSeparator, NbSplit, NbStack, NbStat, NbStatusDot, NbSticker, NbStickerFace, NbSurface, NbText, NbTextarea, NbTitle, NbTypography, nbBorderWidthValue, nbClass, nbFontWeightValue, nbPaddingValue, nbRadiusValue, nbShadowValue, nbSpacingValue, nbToneTokens, nbToneVars, nbTypographyFontValue, nbUnderlineGapValue, nbUnderlineWidthValue, provideNgBrutalism, NB_STYLE_DEFAULTS as ɵNB_STYLE_DEFAULTS, NB_STYLE_NAMESPACE as ɵNB_STYLE_NAMESPACE, NbBorderCapability as ɵNbBorderCapability, NbGapCapability as ɵNbGapCapability, NbPaddingCapability as ɵNbPaddingCapability, NbRadiusCapability as ɵNbRadiusCapability, NbResetMarginCapability as ɵNbResetMarginCapability, NbShadowCapability as ɵNbShadowCapability, NbToneCapability as ɵNbToneCapability, NbUnderlineCapability as ɵNbUnderlineCapability };
|
|
1161
|
+
export type { NbAccordionType, NbAccordionValue, NbAvatarBorder, NbAvatarRadius, NbAvatarShadow, NbAvatarTone, NbBadgeBorder, NbBadgeRadius, NbBadgeShadow, NbBadgeTone, NbBorderStrength, NbButtonIconPush, NbButtonIconShape, NbButtonIconSize, NbButtonIconTone, NbButtonPress, NbButtonRadius, NbButtonShadow, NbButtonSize, NbButtonTone, NbCalloutLayout, NbCalloutShadow, NbCalloutSize, NbCalloutTone, NbCardActionsAlign, NbCardBorder, NbCardRadius, NbCardShadow, NbCardTone, NbCheckboxSize, NbChipGroupAlign, NbChipGroupDirection, NbChipPadding, NbChipTone, NbClusterAlign, NbClusterGap, NbClusterJustify, NbClusterSeparator, NbClusterWrap, NbConfig, NbDisplayLeading, NbDisplaySize, NbDisplayTracking, NbDisplayUnderline, NbDisplayWeight, NbDivider, NbFontWeight, NbHalftoneShape, NbIconButtonShape, NbIconButtonSize, NbIconMode, NbIconSize, NbIconTone, NbImageCardBorder, NbImageCardRadius, NbImageCardShadow, NbImageCardTone, NbInputPrefixAlign, NbInputSize, NbInputSuffixAlign, NbMediaFrameBorder, NbMediaFrameFit, NbMediaFrameRadius, NbMediaFrameRatio, NbMediaFrameShadow, NbMediaFrameTone, NbMediaItemAlign, NbMediaItemOrientation, NbMediaItemSize, NbMediaItemTone, NbMediaItemVariant, NbPadding, NbProgressTone, NbRadius, NbSectionAlign, NbSectionDivider, NbSectionDividerStyle, NbSectionLayout, NbSectionPadding, NbSelectValue, NbSeparatorOrientation, NbSeparatorVariant, NbShadow, NbSpacing, NbSplitAlign, NbSplitCollapse, NbSplitGap, NbSplitPadding, NbSplitRatio, NbSplitSeparator, NbStackAlign, NbStackGap, NbStackJustify, NbStackSeparator, NbStatusDotState, NbStickerShape, NbStickerTone, NbSurfaceBorder, NbSurfaceEdge, NbSurfaceLayout, NbSurfacePadding, NbSurfaceRadius, NbSurfaceShadow, NbSurfaceSize, NbSurfaceTone, NbTextLeading, NbTextMeasure, NbTextSize, NbTextTone, NbTextTracking, NbTextTransform, NbTextWeight, NbTextareaSize, NbThemeConfig, NbTone, NbToneToken, NbToneTokens, NbToneVars, NbTypographyFont, NbUnderlineGap, NbUnderlineVariant, NbUnderlineWidth, NbStyleDefaults as ɵNbStyleDefaults };
|