@ids-group-ltd/ids-design-system 0.10.0 → 0.10.1
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 +250 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +416 -575
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.1.json +159 -0
- package/package.json +1 -1
- package/styles/_tokens.scss +0 -2
- package/types/ids-group-ltd-ids-design-system.d.ts +111 -336
|
@@ -1312,12 +1312,59 @@ interface DsFieldError {
|
|
|
1312
1312
|
}
|
|
1313
1313
|
/** What a field's `errors` input accepts before normalization. */
|
|
1314
1314
|
type DsFieldErrorsInput = string | DsFieldError | readonly DsFieldError[] | null | undefined;
|
|
1315
|
+
/**
|
|
1316
|
+
* The one reserved `DsFieldError.kind`. An error carrying it is advisory: it shows
|
|
1317
|
+
* in the warning state and does NOT make the control invalid, which is how a form
|
|
1318
|
+
* model can raise a non-blocking remark — Angular's own `AbstractControl` has no
|
|
1319
|
+
* channel for one, only `errors` and the validity derived from it.
|
|
1320
|
+
*/
|
|
1321
|
+
declare const DS_FIELD_WARNING_KIND = "warning";
|
|
1315
1322
|
/** The single line a field shows below itself, already resolved. */
|
|
1316
1323
|
interface DsFieldMessage {
|
|
1317
1324
|
readonly text: string;
|
|
1318
1325
|
readonly state: FieldMessageState;
|
|
1319
1326
|
}
|
|
1320
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* The inputs every DS form field has, declared once.
|
|
1330
|
+
*
|
|
1331
|
+
* Only the UNIVERSAL ones belong here. `success`, `label`, `required` and
|
|
1332
|
+
* `optional` stay on the components: they exist on some fields and not others, so
|
|
1333
|
+
* lifting them would hand a checkbox a `success` or a slider a `label` it never
|
|
1334
|
+
* had — a silent public-API addition.
|
|
1335
|
+
*
|
|
1336
|
+
* `@Directive()` is required, not decoration: Angular refuses to compile a base
|
|
1337
|
+
* class that declares inputs without it.
|
|
1338
|
+
*/
|
|
1339
|
+
declare abstract class DsFieldBase {
|
|
1340
|
+
/** Helper text shown below the field. */
|
|
1341
|
+
readonly hint: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1342
|
+
/** Error text. Shown immediately — binding it says the consumer has already
|
|
1343
|
+
* decided this field is in error. Takes precedence over `errors`. */
|
|
1344
|
+
readonly error: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1345
|
+
/** Advisory text, shown when there is no error. */
|
|
1346
|
+
readonly warning: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1347
|
+
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
1348
|
+
* by signal forms; reactive and template-driven forms are read through
|
|
1349
|
+
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
1350
|
+
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
1351
|
+
/** Paints the error state and sets `aria-invalid`, WITHOUT a message of its own
|
|
1352
|
+
* — for when the text lives elsewhere, such as a form-level error summary or
|
|
1353
|
+
* one message covering a whole field group. Use `error` to show text. */
|
|
1354
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1355
|
+
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
1356
|
+
* `errors`, so a `required` error does not greet an untouched form. */
|
|
1357
|
+
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1358
|
+
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
1359
|
+
* the layout below it when a hint/error appears. Falls back to
|
|
1360
|
+
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
1361
|
+
* for a form that shows validation messages. */
|
|
1362
|
+
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
1363
|
+
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
1364
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DsFieldBase, never>;
|
|
1365
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DsFieldBase, never, never, { "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "warning": { "alias": "warning"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "reserveMessage": { "alias": "reserveMessage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1321
1368
|
/**
|
|
1322
1369
|
* Shared `ControlValueAccessor` for DS form controls whose value is a signal
|
|
1323
1370
|
* `model()`. Bridges that model with Angular forms (reactive `formControl` /
|
|
@@ -1328,7 +1375,7 @@ interface DsFieldMessage {
|
|
|
1328
1375
|
* effective disabled state so `FormControl.disable()` actually reaches the
|
|
1329
1376
|
* control; it should also call `markTouched()` from a blur handler.
|
|
1330
1377
|
*/
|
|
1331
|
-
declare abstract class DsControlValueAccessor<T> implements ControlValueAccessor {
|
|
1378
|
+
declare abstract class DsControlValueAccessor<T> extends DsFieldBase implements ControlValueAccessor {
|
|
1332
1379
|
/** The component's two-way value model. */
|
|
1333
1380
|
abstract readonly value: ModelSignal<T>;
|
|
1334
1381
|
/**
|
|
@@ -1369,7 +1416,7 @@ declare abstract class DsControlValueAccessor<T> implements ControlValueAccessor
|
|
|
1369
1416
|
* signal API. Subclasses must OR `formDisabled()` into their effective disabled
|
|
1370
1417
|
* state and call `markTouched()` from a blur handler.
|
|
1371
1418
|
*/
|
|
1372
|
-
declare abstract class DsBooleanControlValueAccessor implements ControlValueAccessor {
|
|
1419
|
+
declare abstract class DsBooleanControlValueAccessor extends DsFieldBase implements ControlValueAccessor {
|
|
1373
1420
|
/** The component's two-way checked model. */
|
|
1374
1421
|
abstract readonly checked: ModelSignal<boolean>;
|
|
1375
1422
|
/** Hides the control — see the note on `DsControlValueAccessor.hidden`. */
|
|
@@ -1417,26 +1464,6 @@ declare class InputComponent extends DsControlValueAccessor<string> {
|
|
|
1417
1464
|
protected readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
1418
1465
|
/** Label shown above the field. */
|
|
1419
1466
|
readonly label: _angular_core.InputSignal<string>;
|
|
1420
|
-
/** Helper text shown below the field. */
|
|
1421
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
1422
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
1423
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
1424
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
1425
|
-
/** Advisory text, shown when there is no error. */
|
|
1426
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
1427
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
1428
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
1429
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
1430
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
1431
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
1432
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
1433
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1434
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
1435
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
1436
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
1437
|
-
* for a form that shows validation messages. */
|
|
1438
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
1439
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
1440
1467
|
/** Placeholder shown when empty. */
|
|
1441
1468
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1442
1469
|
/** Disables the field and blocks all interaction. */
|
|
@@ -1449,10 +1476,9 @@ declare class InputComponent extends DsControlValueAccessor<string> {
|
|
|
1449
1476
|
*/
|
|
1450
1477
|
readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1451
1478
|
protected readonly isReadOnly: _angular_core.Signal<boolean>;
|
|
1452
|
-
/**
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
readonly success: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1479
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
1480
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
1481
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1456
1482
|
/** Shows a trailing spinner — e.g. async validation in flight. The input
|
|
1457
1483
|
* stays editable; pair with a `hint` like "Checking availability…". */
|
|
1458
1484
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -1531,7 +1557,7 @@ declare class InputComponent extends DsControlValueAccessor<string> {
|
|
|
1531
1557
|
focus(options?: FocusOptions): void;
|
|
1532
1558
|
protected clear(): void;
|
|
1533
1559
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
1534
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputComponent, "ds-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "
|
|
1560
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputComponent, "ds-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; "autofocus": { "alias": "autofocus"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; "enterKeyHint": { "alias": "enterKeyHint"; "required": false; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "passwordToggle": { "alias": "passwordToggle"; "required": false; "isSignal": true; }; "passwordVisible": { "alias": "passwordVisible"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "blurred": "blurred"; "passwordVisible": "passwordVisibleChange"; }, never, ["[dsInputPrefix]", "[dsInputSuffix]"], true, never>;
|
|
1535
1561
|
}
|
|
1536
1562
|
|
|
1537
1563
|
declare class NumberStepperComponent {
|
|
@@ -1573,26 +1599,6 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
1573
1599
|
protected readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
1574
1600
|
/** Label shown above the field. */
|
|
1575
1601
|
readonly label: _angular_core.InputSignal<string>;
|
|
1576
|
-
/** Helper text shown below the field. */
|
|
1577
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
1578
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
1579
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
1580
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
1581
|
-
/** Advisory text, shown when there is no error. */
|
|
1582
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
1583
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
1584
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
1585
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
1586
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
1587
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
1588
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
1589
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1590
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
1591
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
1592
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
1593
|
-
* for a form that shows validation messages. */
|
|
1594
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
1595
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
1596
1602
|
/** Placeholder shown when empty. */
|
|
1597
1603
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
1598
1604
|
/** Disables the field and blocks all interaction. */
|
|
@@ -1605,8 +1611,9 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
1605
1611
|
*/
|
|
1606
1612
|
readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1607
1613
|
protected readonly isReadOnly: _angular_core.Signal<boolean>;
|
|
1608
|
-
/**
|
|
1609
|
-
|
|
1614
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
1615
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
1616
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1610
1617
|
/** Marks the field required — shows an asterisk and sets `aria-required`. */
|
|
1611
1618
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1612
1619
|
/** Shows an "(optional)" marker next to the label (ignored when `required`). */
|
|
@@ -1654,7 +1661,7 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
1654
1661
|
* deliberately, e.g. focusing the first invalid field on a failed submit. */
|
|
1655
1662
|
focus(options?: FocusOptions): void;
|
|
1656
1663
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
1657
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "
|
|
1664
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
1658
1665
|
}
|
|
1659
1666
|
|
|
1660
1667
|
declare class SearchComponent {
|
|
@@ -1769,28 +1776,9 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
1769
1776
|
*/
|
|
1770
1777
|
readonly readonlyBinding: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1771
1778
|
protected readonly isReadOnly: _angular_core.Signal<boolean>;
|
|
1772
|
-
/**
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
1776
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
1777
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
1778
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
1779
|
-
/** Advisory text, shown when there is no error. */
|
|
1780
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
1781
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
1782
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
1783
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
1784
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
1785
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
1786
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
1787
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1788
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
1789
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
1790
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
1791
|
-
* for a form that shows validation messages. */
|
|
1792
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
1793
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
1779
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
1780
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
1781
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
1794
1782
|
/** Marks the field required — shows an asterisk and sets `aria-required`. */
|
|
1795
1783
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
1796
1784
|
/** Shows an "(optional)" marker next to the label (ignored when `required`). */
|
|
@@ -1846,7 +1834,7 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
1846
1834
|
private firstEnabledIndex;
|
|
1847
1835
|
private lastEnabledIndex;
|
|
1848
1836
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
1849
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "ds-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "
|
|
1837
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectComponent, "ds-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
1850
1838
|
}
|
|
1851
1839
|
|
|
1852
1840
|
/**
|
|
@@ -2735,35 +2723,15 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
|
|
|
2735
2723
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
2736
2724
|
/** Field label shown above the trigger. */
|
|
2737
2725
|
readonly label: _angular_core.InputSignal<string>;
|
|
2738
|
-
/** Helper text shown below the field. */
|
|
2739
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
2740
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
2741
|
-
* decided this field is in error. Takes precedence over `errors` and over the
|
|
2742
|
-
* picker's own "enter a valid date" message. */
|
|
2743
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
2744
|
-
/** Advisory text, shown when there is no error. */
|
|
2745
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
2746
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
2747
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
2748
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
2749
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
2750
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
2751
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
2752
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2753
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
2754
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
2755
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
2756
|
-
* for a form that shows validation messages. */
|
|
2757
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
2758
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
2759
2726
|
/** Marks the field required — shows an asterisk and sets `aria-required`. */
|
|
2760
2727
|
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2761
2728
|
/** Shows an "(optional)" marker beside the label — ignored when `required` is set. */
|
|
2762
2729
|
readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2763
2730
|
/** Disables the picker and blocks all interaction. */
|
|
2764
2731
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
2765
|
-
/**
|
|
2766
|
-
|
|
2732
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
2733
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
2734
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
2767
2735
|
/** Accessible name when no visible `label` is provided. */
|
|
2768
2736
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
2769
2737
|
/** Bounds for the year dropdown in the calendar header. */
|
|
@@ -2934,7 +2902,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
|
|
|
2934
2902
|
protected isPresetDisabled(preset: DatePickerPreset): boolean;
|
|
2935
2903
|
protected applyPreset(preset: DatePickerPreset): void;
|
|
2936
2904
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
2937
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "ds-date-picker", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "
|
|
2905
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatePickerComponent, "ds-date-picker", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "minYear": { "alias": "minYear"; "required": false; "isSignal": true; }; "maxYear": { "alias": "maxYear"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "disabledDate": { "alias": "disabledDate"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "defaultDate": { "alias": "defaultDate"; "required": false; "isSignal": true; }; "allowInput": { "alias": "allowInput"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
2938
2906
|
}
|
|
2939
2907
|
|
|
2940
2908
|
type TimePickerMode = 'single' | 'range';
|
|
@@ -3056,28 +3024,9 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
3056
3024
|
readonly optional: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3057
3025
|
/** Disables the picker and blocks all interaction. */
|
|
3058
3026
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3059
|
-
/**
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
3063
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
3064
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
3065
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
3066
|
-
/** Advisory text, shown when there is no error. */
|
|
3067
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
3068
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
3069
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
3070
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
3071
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
3072
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
3073
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
3074
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
3075
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
3076
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
3077
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
3078
|
-
* for a form that shows validation messages. */
|
|
3079
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
3080
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
3027
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
3028
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
3029
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
3081
3030
|
/** Shown in the trigger when no time is set. */
|
|
3082
3031
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
3083
3032
|
/** Shows an inline clear button when a value is set — single mode only. */
|
|
@@ -3128,7 +3077,7 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
3128
3077
|
private minutesOf;
|
|
3129
3078
|
private laterOf;
|
|
3130
3079
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
3131
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
3080
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
3132
3081
|
}
|
|
3133
3082
|
|
|
3134
3083
|
interface BreadcrumbItem {
|
|
@@ -4158,28 +4107,9 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
|
|
|
4158
4107
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
4159
4108
|
/** Disables the trigger and blocks all interaction. */
|
|
4160
4109
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4161
|
-
/**
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4165
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4166
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4167
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4168
|
-
/** Advisory text, shown when there is no error. */
|
|
4169
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4170
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4171
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4172
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4173
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4174
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4175
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4176
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4177
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4178
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4179
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4180
|
-
* for a form that shows validation messages. */
|
|
4181
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4182
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4110
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
4111
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
4112
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
4183
4113
|
/** Shows a "Create «text»" row when the typed text matches no option. */
|
|
4184
4114
|
readonly allowCreate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4185
4115
|
/** Accessible name for the input. */
|
|
@@ -4268,7 +4198,7 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
|
|
|
4268
4198
|
protected onCreateNew(): void;
|
|
4269
4199
|
protected remove(target: T): void;
|
|
4270
4200
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteComponent<any>, never>;
|
|
4271
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteComponent<any>, "ds-autocomplete", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionGroups": { "alias": "optionGroups"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showChevron": { "alias": "showChevron"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
4201
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteComponent<any>, "ds-autocomplete", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionGroups": { "alias": "optionGroups"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showChevron": { "alias": "showChevron"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "allowCreate": { "alias": "allowCreate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "create": "create"; }, never, ["[dsAutocompletePrefix]", "[dsAutocompleteSuffix]"], true, never>;
|
|
4272
4202
|
}
|
|
4273
4203
|
|
|
4274
4204
|
type DividerVariant = 'default' | 'strong' | 'vertical' | 'label';
|
|
@@ -4351,20 +4281,30 @@ interface SegmentedOption {
|
|
|
4351
4281
|
disabled?: boolean;
|
|
4352
4282
|
}
|
|
4353
4283
|
|
|
4354
|
-
declare class SegmentedComponent {
|
|
4284
|
+
declare class SegmentedComponent extends DsControlValueAccessor<string> {
|
|
4355
4285
|
/** Segments to render — each needs a `label` and `value`, optional `icon`/`disabled`. */
|
|
4356
4286
|
readonly options: _angular_core.InputSignal<readonly SegmentedOption[]>;
|
|
4357
4287
|
/** Selected segment's `value`, two-way bound. */
|
|
4358
4288
|
readonly value: _angular_core.ModelSignal<string>;
|
|
4359
4289
|
/** Accessible name for the segmented control (radiogroup role). */
|
|
4360
4290
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
4291
|
+
/** Visible label above the track; omit to supply your own. */
|
|
4292
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
4293
|
+
/** Disables every segment. */
|
|
4294
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4295
|
+
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
4296
|
+
protected readonly uid: string;
|
|
4297
|
+
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
4298
|
+
private readonly fieldMessage;
|
|
4299
|
+
protected readonly message: _angular_core.Signal<DsFieldMessage>;
|
|
4300
|
+
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
4361
4301
|
private readonly buttons;
|
|
4362
4302
|
protected readonly focusableValue: _angular_core.Signal<string | null>;
|
|
4363
4303
|
protected select(option: SegmentedOption): void;
|
|
4364
4304
|
protected onKeydown(event: KeyboardEvent, index: number): void;
|
|
4365
4305
|
private nextEnabled;
|
|
4366
4306
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedComponent, never>;
|
|
4367
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4307
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4368
4308
|
}
|
|
4369
4309
|
|
|
4370
4310
|
declare class ButtonGroupComponent {
|
|
@@ -4386,16 +4326,18 @@ declare class ListItemComponent {
|
|
|
4386
4326
|
readonly title: _angular_core.InputSignal<string>;
|
|
4387
4327
|
/** Secondary line below `title`. */
|
|
4388
4328
|
readonly subtitle: _angular_core.InputSignal<string>;
|
|
4389
|
-
/**
|
|
4329
|
+
/** Makes the row's text a button that emits `activated`. `[leading]` and
|
|
4330
|
+
* `[trailing]` stay outside it, so a row can hold its own controls as well. */
|
|
4390
4331
|
readonly clickable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4391
|
-
/** Marks the row current
|
|
4332
|
+
/** Marks the row current — `aria-current` and the selected tint. */
|
|
4392
4333
|
readonly selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4393
|
-
/** Disables the row
|
|
4334
|
+
/** Disables the row's own button. Controls projected into `[leading]` or
|
|
4335
|
+
* `[trailing]` keep their own disabled state. */
|
|
4394
4336
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4395
4337
|
/** Fires when the clickable row's button is activated. */
|
|
4396
4338
|
readonly activated: _angular_core.OutputEmitterRef<void>;
|
|
4397
4339
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
4398
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListItemComponent, "ds-list-item", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["[leading]", "
|
|
4340
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListItemComponent, "ds-list-item", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "activated": "activated"; }, never, ["[leading]", "[trailing]", "*"], true, never>;
|
|
4399
4341
|
}
|
|
4400
4342
|
|
|
4401
4343
|
type SplitButtonVariant = 'primary' | 'outline';
|
|
@@ -4461,28 +4403,9 @@ declare class OtpInputComponent extends DsControlValueAccessor<string> {
|
|
|
4461
4403
|
readonly mask: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4462
4404
|
/** Disables all cells and blocks interaction. */
|
|
4463
4405
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4464
|
-
/**
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4468
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4469
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4470
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4471
|
-
/** Advisory text, shown when there is no error. */
|
|
4472
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4473
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4474
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4475
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4476
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4477
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4478
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4479
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4480
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4481
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4482
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4483
|
-
* for a form that shows validation messages. */
|
|
4484
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4485
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4406
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
4407
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
4408
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
4486
4409
|
/** Accessible group label for the cell row. */
|
|
4487
4410
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
4488
4411
|
/** Fires once, with the full code, on the partial → complete transition. */
|
|
@@ -4510,7 +4433,7 @@ declare class OtpInputComponent extends DsControlValueAccessor<string> {
|
|
|
4510
4433
|
private focusBox;
|
|
4511
4434
|
private sanitize;
|
|
4512
4435
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OtpInputComponent, never>;
|
|
4513
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OtpInputComponent, "ds-otp-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
4436
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OtpInputComponent, "ds-otp-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "mask": { "alias": "mask"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "completed": "completed"; }, never, never, true, never>;
|
|
4514
4437
|
}
|
|
4515
4438
|
|
|
4516
4439
|
type SliderValue = number | readonly [number, number];
|
|
@@ -4529,28 +4452,6 @@ declare class SliderComponent extends DsControlValueAccessor<SliderValue> {
|
|
|
4529
4452
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4530
4453
|
/** Accessible name for the thumb(s) — suffixed "minimum"/"maximum" in `range` mode. */
|
|
4531
4454
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
4532
|
-
/** Applies error styling. */
|
|
4533
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4534
|
-
/** Helper text shown below the slider. */
|
|
4535
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4536
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4537
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4538
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4539
|
-
/** Advisory text, shown when there is no error. */
|
|
4540
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4541
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4542
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4543
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4544
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4545
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4546
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4547
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4548
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4549
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4550
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4551
|
-
* for a form that shows validation messages. */
|
|
4552
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4553
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4554
4455
|
private readonly track;
|
|
4555
4456
|
private dragging;
|
|
4556
4457
|
protected readonly uid: string;
|
|
@@ -4578,7 +4479,7 @@ declare class SliderComponent extends DsControlValueAccessor<SliderValue> {
|
|
|
4578
4479
|
private setThumb;
|
|
4579
4480
|
private snap;
|
|
4580
4481
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SliderComponent, never>;
|
|
4581
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderComponent, "ds-slider", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; };
|
|
4482
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SliderComponent, "ds-slider", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "range": { "alias": "range"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4582
4483
|
}
|
|
4583
4484
|
|
|
4584
4485
|
declare class LoadingOverlayComponent {
|
|
@@ -4660,28 +4561,9 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
|
|
|
4660
4561
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4661
4562
|
/** Accessible name for the trigger button and panel. */
|
|
4662
4563
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
4663
|
-
/**
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4667
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4668
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4669
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4670
|
-
/** Advisory text, shown when there is no error. */
|
|
4671
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4672
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4673
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4674
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4675
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4676
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4677
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4678
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4679
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4680
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4681
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4682
|
-
* for a form that shows validation messages. */
|
|
4683
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4684
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4564
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
4565
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
4566
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
4685
4567
|
protected readonly trigger: _angular_core.Signal<ElementRef<HTMLButtonElement>>;
|
|
4686
4568
|
protected readonly panelTpl: _angular_core.Signal<TemplateRef<unknown>>;
|
|
4687
4569
|
protected readonly open: _angular_core.WritableSignal<boolean>;
|
|
@@ -4724,7 +4606,7 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
|
|
|
4724
4606
|
private updateHue;
|
|
4725
4607
|
private clampPct;
|
|
4726
4608
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorPickerComponent, never>;
|
|
4727
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "ds-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "
|
|
4609
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColorPickerComponent, "ds-color-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4728
4610
|
}
|
|
4729
4611
|
|
|
4730
4612
|
interface MultiSelectOption extends DsOption<string> {
|
|
@@ -4753,28 +4635,9 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
4753
4635
|
readonly maxVisibleChips: _angular_core.InputSignalWithTransform<number | "fit" | null, number | "fit" | null>;
|
|
4754
4636
|
/** Disables the trigger and blocks all interaction. */
|
|
4755
4637
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4756
|
-
/**
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4760
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4761
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4762
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4763
|
-
/** Advisory text, shown when there is no error. */
|
|
4764
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4765
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4766
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4767
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4768
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4769
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4770
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4771
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4772
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4773
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4774
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4775
|
-
* for a form that shows validation messages. */
|
|
4776
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4777
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4638
|
+
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
4639
|
+
* the field's success border. A string like `warning`: the text IS the state. */
|
|
4640
|
+
readonly success: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
4778
4641
|
/** Accessible name for the trigger — falls back to `placeholder`. */
|
|
4779
4642
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
4780
4643
|
/** Shows a "Select all" row that toggles every filter-matching, enabled option. */
|
|
@@ -4832,7 +4695,7 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
4832
4695
|
protected close(cause?: DsOverlayCloseCause): void;
|
|
4833
4696
|
private moveActive;
|
|
4834
4697
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
4835
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ds-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
4698
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ds-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "maxVisibleChips": { "alias": "maxVisibleChips"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "selectAll": { "alias": "selectAll"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
4836
4699
|
}
|
|
4837
4700
|
|
|
4838
4701
|
declare class SkeletonComponent {
|
|
@@ -4866,28 +4729,6 @@ declare class CheckboxComponent extends DsBooleanControlValueAccessor {
|
|
|
4866
4729
|
readonly name: _angular_core.InputSignal<string | null>;
|
|
4867
4730
|
/** Overrides the generated id used by the native `<input>` and its `<label for>`. */
|
|
4868
4731
|
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
4869
|
-
/** Applies error styling and marks the input `aria-invalid`. */
|
|
4870
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4871
|
-
/** Helper text shown below the checkbox. */
|
|
4872
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4873
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4874
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4875
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4876
|
-
/** Advisory text, shown when there is no error. */
|
|
4877
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4878
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4879
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4880
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4881
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4882
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4883
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4884
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4885
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4886
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4887
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4888
|
-
* for a form that shows validation messages. */
|
|
4889
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4890
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4891
4732
|
/** Checkbox size — sm/md/lg.
|
|
4892
4733
|
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
4893
4734
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
@@ -4907,10 +4748,10 @@ declare class CheckboxComponent extends DsBooleanControlValueAccessor {
|
|
|
4907
4748
|
protected readonly fieldClass: _angular_core.Signal<string>;
|
|
4908
4749
|
protected onCheckedChange(event: Event): void;
|
|
4909
4750
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
4910
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ds-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "
|
|
4751
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ds-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
4911
4752
|
}
|
|
4912
4753
|
|
|
4913
|
-
declare class RadioComponent {
|
|
4754
|
+
declare class RadioComponent extends DsFieldBase {
|
|
4914
4755
|
/** Standalone two-way binding. When inside ds-radio-group, isChecked() is
|
|
4915
4756
|
* derived from the group value instead. */
|
|
4916
4757
|
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
@@ -4922,28 +4763,6 @@ declare class RadioComponent {
|
|
|
4922
4763
|
readonly value: _angular_core.InputSignal<unknown>;
|
|
4923
4764
|
/** Overrides the auto-generated id used for the input and its label's `for`. */
|
|
4924
4765
|
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
4925
|
-
/** Applies error styling and marks the input `aria-invalid`. */
|
|
4926
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4927
|
-
/** Helper text shown below the control. */
|
|
4928
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
4929
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
4930
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
4931
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
4932
|
-
/** Advisory text, shown when there is no error. */
|
|
4933
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
4934
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
4935
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
4936
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
4937
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
4938
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
4939
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
4940
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
4941
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
4942
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
4943
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
4944
|
-
* for a form that shows validation messages. */
|
|
4945
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
4946
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
4947
4766
|
/** Control size — sm/md/lg.
|
|
4948
4767
|
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
4949
4768
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
@@ -4972,7 +4791,7 @@ declare class RadioComponent {
|
|
|
4972
4791
|
focus(): void;
|
|
4973
4792
|
protected onSelect(): void;
|
|
4974
4793
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
4975
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "ds-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "
|
|
4794
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioComponent, "ds-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
4976
4795
|
}
|
|
4977
4796
|
|
|
4978
4797
|
/** Contract that ds-radio reads from its parent ds-radio-group, injected via
|
|
@@ -5000,28 +4819,6 @@ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implem
|
|
|
5000
4819
|
readonly name: _angular_core.InputSignal<string | null>;
|
|
5001
4820
|
/** Disables the whole group. */
|
|
5002
4821
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5003
|
-
/** Applies error styling and marks the group `aria-invalid`. */
|
|
5004
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5005
|
-
/** Helper text shown below the group. */
|
|
5006
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
5007
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
5008
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
5009
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
5010
|
-
/** Advisory text, shown when there is no error. */
|
|
5011
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
5012
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
5013
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
5014
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
5015
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
5016
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
5017
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
5018
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5019
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
5020
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
5021
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
5022
|
-
* for a form that shows validation messages. */
|
|
5023
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
5024
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
5025
4822
|
/** Accessible name for the group when no visible label is provided. */
|
|
5026
4823
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
5027
4824
|
/** Visible group label; omit to supply your own. */
|
|
@@ -5039,7 +4836,7 @@ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implem
|
|
|
5039
4836
|
select(value: unknown): void;
|
|
5040
4837
|
protected onKeydown(event: KeyboardEvent): void;
|
|
5041
4838
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
5042
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioGroupComponent, "ds-radio-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "
|
|
4839
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioGroupComponent, "ds-radio-group", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["radios"], ["*"], true, never>;
|
|
5043
4840
|
}
|
|
5044
4841
|
|
|
5045
4842
|
declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
@@ -5053,28 +4850,6 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
|
5053
4850
|
readonly variant: _angular_core.InputSignal<"error" | "success" | "default">;
|
|
5054
4851
|
/** Overrides the generated id used by the native `<input>` and its `<label for>`. */
|
|
5055
4852
|
readonly inputId: _angular_core.InputSignal<string | null>;
|
|
5056
|
-
/** Applies error styling and marks the input `aria-invalid`. */
|
|
5057
|
-
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5058
|
-
/** Helper text shown below the switch. */
|
|
5059
|
-
readonly hint: _angular_core.InputSignal<string>;
|
|
5060
|
-
/** Error text. Shown immediately — binding it says the consumer has already
|
|
5061
|
-
* decided this field is in error. Takes precedence over `errors`. */
|
|
5062
|
-
readonly error: _angular_core.InputSignal<string>;
|
|
5063
|
-
/** Advisory text, shown when there is no error. */
|
|
5064
|
-
readonly warning: _angular_core.InputSignal<string>;
|
|
5065
|
-
/** Validation errors, shown once the user has interacted. Bound automatically
|
|
5066
|
-
* by signal forms; reactive and template-driven forms are read through
|
|
5067
|
-
* `NgControl` and need nothing here. Accepts a string, one error, or an array. */
|
|
5068
|
-
readonly errors: _angular_core.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
5069
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates
|
|
5070
|
-
* `errors`, so a `required` error does not greet an untouched form. */
|
|
5071
|
-
readonly touched: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
5072
|
-
/** Reserve the message-row height even when empty, so the field doesn't shift
|
|
5073
|
-
* the layout below it when a hint/error appears. Falls back to
|
|
5074
|
-
* `DS_CONFIG.field.reserveMessage`, then off — opt in per field, or app-wide
|
|
5075
|
-
* for a form that shows validation messages. */
|
|
5076
|
-
readonly reserveMessage: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
5077
|
-
protected readonly reserveMessageResolved: _angular_core.Signal<boolean>;
|
|
5078
4853
|
/** Switch size — sm/md/lg.
|
|
5079
4854
|
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
5080
4855
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
@@ -5095,7 +4870,7 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
|
5095
4870
|
protected readonly fieldClass: _angular_core.Signal<string>;
|
|
5096
4871
|
protected onCheckedChange(event: Event): void;
|
|
5097
4872
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
5098
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "
|
|
4873
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
5099
4874
|
}
|
|
5100
4875
|
|
|
5101
4876
|
/**
|
|
@@ -5115,5 +4890,5 @@ declare class FieldClickFocusDirective {
|
|
|
5115
4890
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<FieldClickFocusDirective, "[dsFieldClickFocus]", never, {}, {}, never, never, true, never>;
|
|
5116
4891
|
}
|
|
5117
4892
|
|
|
5118
|
-
export { ACCORDION, AccordionComponent, AccordionItemComponent, AlertComponent, AppLayoutComponent, AuthLayoutComponent, AutocompleteComponent, AvatarComponent, AvatarGroupComponent, BadgeComponent, BannerComponent, BodyScrollLockService, BottomSheetComponent, BrandNameDirective, BreadcrumbsComponent, BreadcrumbsService, ButtonComponent, ButtonGroupComponent, CardComponent, CellTemplateDirective, CheckboxComponent, ColorPickerComponent, ContainerComponent, DS_CONFIG, DS_FIELD_GROUP, DS_ICON_REGISTRY, DS_TOAST_CONFIG, DS_TOAST_POSITION, DS_TOAST_POSITION_DEFAULT, DatePickerComponent, DescriptionItemComponent, DescriptionListComponent, DividerComponent, DrawerComponent, DropzoneComponent, DsOverlayCloseRef, DsStaticPreview, EmptyStateComponent, FieldClickFocusDirective, FieldGroupComponent, FilterBarComponent, FilterItemDirective, HeaderFilterDirective, ICONS, IconButtonComponent, IconComponent, InlineComponent, InputComponent, LayoutNavigationService, LayoutScrollService, ListComponent, ListItemComponent, LoadingOverlayComponent, MenuComponent, MenuDividerComponent, MenuItemComponent, ModalCardComponent, ModalComponent, ModalService, MultiSelectComponent, NumberStepperComponent, OtpInputComponent, PageFooterComponent, PageHeaderComponent, PaginationComponent, PasswordRulesComponent, PopoverComponent, ProgressComponent, RADIO_GROUP, RadioComponent, RadioGroupComponent, RailTriggerDirective, ReserveMessagesDirective, SIDENAV, SearchComponent, SegmentedComponent, SelectComponent, SidenavComponent, SidenavFooterComponent, SidenavGroupComponent, SidenavItemComponent, SkeletonComponent, SliderComponent, SpinnerComponent, SplitButtonComponent, StackComponent, StatComponent, StatusDotComponent, StepperComponent, SwitchComponent, TabComponent, TableComponent, TabsComponent, TagComponent, TextareaComponent, TimePickerComponent, TimelineComponent, TimelineItemComponent, ToastComponent, ToastRegionComponent, ToastService, ToggleButtonComponent, TooltipDirective, TooltipPanelComponent, TopBarComponent, TreeComponent, W3wComponent, avatarTint, inheritDsConfig, initialsFrom, isSelectOptionGroup, passwordRulesMet, provideDsConfig, provideDsIcons, provideDsTheme };
|
|
5119
|
-
export type { AccordionContract, AccordionItemRef, AlertVariant, AutocompleteOption, AutocompleteOptionGroup, AutocompleteWidth, AvatarSize, AvatarStatus, AvatarTintOptions, BannerVariant, BreadcrumbItem, ButtonColor, ButtonType, ButtonVariant, CardElevation, CardPadding, ContainerSize, DatePickerMode, DatePickerPreset, DatePickerValue, DateValue, DescriptionListOrientation, DividerSpacing, DividerVariant, DrawerPlacement, DropzoneFile, DropzoneFileState, DsConfig, DsFieldGroupContext, DsIconRegistry, DsOption, DsPasswordRule, DsPasswordRuleState, DsScrollReset, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsThemeOptions, DsToastConfig, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, EmptyStateVariant, HeaderFilterContext, IconButtonType, IconButtonVariant, IconName, InputType, LayoutAlign, LayoutGap, LayoutJustify, ModalConfirmOptions, ModalConfirmTone, ModalSize, MultiSelectOption, OtpMode, PageFooterVariant, PopoverAlign, PopoverPlacement, ProgressVariant, RadioGroupChild, RadioGroupContract, RangeValue, SegmentedOption, SelectItem, SelectOption, SelectOptionGroup, SidenavAlertItem, SidenavContract, SidenavItemModel, SidenavSearchProvider, SidenavSearchResult, SortChangeEvent, SortDir, SplitButtonItem, SplitButtonVariant, StepperLabelPosition, StepperOrientation, TableCellEditEvent, TableColumn, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode, TabsOrientation, TabsVariant, TagVariant, TextareaResize, TimeFormat, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue, TimelineTone, ToastAction, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastVariant, TooltipPlacement, TreeNode };
|
|
4893
|
+
export { ACCORDION, AccordionComponent, AccordionItemComponent, AlertComponent, AppLayoutComponent, AuthLayoutComponent, AutocompleteComponent, AvatarComponent, AvatarGroupComponent, BadgeComponent, BannerComponent, BodyScrollLockService, BottomSheetComponent, BrandNameDirective, BreadcrumbsComponent, BreadcrumbsService, ButtonComponent, ButtonGroupComponent, CardComponent, CellTemplateDirective, CheckboxComponent, ColorPickerComponent, ContainerComponent, DS_CONFIG, DS_FIELD_GROUP, DS_FIELD_WARNING_KIND, DS_ICON_REGISTRY, DS_TOAST_CONFIG, DS_TOAST_POSITION, DS_TOAST_POSITION_DEFAULT, DatePickerComponent, DescriptionItemComponent, DescriptionListComponent, DividerComponent, DrawerComponent, DropzoneComponent, DsOverlayCloseRef, DsStaticPreview, EmptyStateComponent, FieldClickFocusDirective, FieldGroupComponent, FilterBarComponent, FilterItemDirective, HeaderFilterDirective, ICONS, IconButtonComponent, IconComponent, InlineComponent, InputComponent, LayoutNavigationService, LayoutScrollService, ListComponent, ListItemComponent, LoadingOverlayComponent, MenuComponent, MenuDividerComponent, MenuItemComponent, ModalCardComponent, ModalComponent, ModalService, MultiSelectComponent, NumberStepperComponent, OtpInputComponent, PageFooterComponent, PageHeaderComponent, PaginationComponent, PasswordRulesComponent, PopoverComponent, ProgressComponent, RADIO_GROUP, RadioComponent, RadioGroupComponent, RailTriggerDirective, ReserveMessagesDirective, SIDENAV, SearchComponent, SegmentedComponent, SelectComponent, SidenavComponent, SidenavFooterComponent, SidenavGroupComponent, SidenavItemComponent, SkeletonComponent, SliderComponent, SpinnerComponent, SplitButtonComponent, StackComponent, StatComponent, StatusDotComponent, StepperComponent, SwitchComponent, TabComponent, TableComponent, TabsComponent, TagComponent, TextareaComponent, TimePickerComponent, TimelineComponent, TimelineItemComponent, ToastComponent, ToastRegionComponent, ToastService, ToggleButtonComponent, TooltipDirective, TooltipPanelComponent, TopBarComponent, TreeComponent, W3wComponent, avatarTint, inheritDsConfig, initialsFrom, isSelectOptionGroup, passwordRulesMet, provideDsConfig, provideDsIcons, provideDsTheme };
|
|
4894
|
+
export type { AccordionContract, AccordionItemRef, AlertVariant, AutocompleteOption, AutocompleteOptionGroup, AutocompleteWidth, AvatarSize, AvatarStatus, AvatarTintOptions, BannerVariant, BreadcrumbItem, ButtonColor, ButtonType, ButtonVariant, CardElevation, CardPadding, ContainerSize, DatePickerMode, DatePickerPreset, DatePickerValue, DateValue, DescriptionListOrientation, DividerSpacing, DividerVariant, DrawerPlacement, DropzoneFile, DropzoneFileState, DsConfig, DsFieldError, DsFieldErrorsInput, DsFieldGroupContext, DsIconRegistry, DsOption, DsPasswordRule, DsPasswordRuleState, DsScrollReset, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsThemeOptions, DsToastConfig, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, EmptyStateVariant, HeaderFilterContext, IconButtonType, IconButtonVariant, IconName, InputType, LayoutAlign, LayoutGap, LayoutJustify, ModalConfirmOptions, ModalConfirmTone, ModalSize, MultiSelectOption, OtpMode, PageFooterVariant, PopoverAlign, PopoverPlacement, ProgressVariant, RadioGroupChild, RadioGroupContract, RangeValue, SegmentedOption, SelectItem, SelectOption, SelectOptionGroup, SidenavAlertItem, SidenavContract, SidenavItemModel, SidenavSearchProvider, SidenavSearchResult, SortChangeEvent, SortDir, SplitButtonItem, SplitButtonVariant, StepperLabelPosition, StepperOrientation, TableCellEditEvent, TableColumn, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode, TabsOrientation, TabsVariant, TagVariant, TextareaResize, TimeFormat, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue, TimelineTone, ToastAction, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastVariant, TooltipPlacement, TreeNode };
|