@truenas/ui-components 0.1.35 → 0.1.37
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/package.json
CHANGED
|
@@ -1325,6 +1325,123 @@ declare class TnExpansionPanelComponent {
|
|
|
1325
1325
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnExpansionPanelComponent, "tn-expansion-panel", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "elevation": { "alias": "elevation"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "background": { "alias": "background"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "titleStyle": { "alias": "titleStyle"; "required": false; "isSignal": true; }; }, { "expandedChange": "expandedChange"; "toggleEvent": "toggleEvent"; }, never, ["[slot=title]", "*"], true, never>;
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
1328
|
+
/**
|
|
1329
|
+
* Harness for interacting with `tn-expansion-panel` in tests.
|
|
1330
|
+
* Provides methods for expanding, collapsing, and querying panel state.
|
|
1331
|
+
*
|
|
1332
|
+
* @example
|
|
1333
|
+
* ```typescript
|
|
1334
|
+
* // Find and expand a panel
|
|
1335
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness.with({ title: 'Settings' }));
|
|
1336
|
+
* await panel.expand();
|
|
1337
|
+
* expect(await panel.isExpanded()).toBe(true);
|
|
1338
|
+
*
|
|
1339
|
+
* // Collapse a panel
|
|
1340
|
+
* await panel.collapse();
|
|
1341
|
+
* expect(await panel.isExpanded()).toBe(false);
|
|
1342
|
+
* ```
|
|
1343
|
+
*/
|
|
1344
|
+
declare class TnExpansionPanelHarness extends ComponentHarness {
|
|
1345
|
+
/**
|
|
1346
|
+
* The selector for the host element of a `TnExpansionPanelComponent` instance.
|
|
1347
|
+
*/
|
|
1348
|
+
static hostSelector: string;
|
|
1349
|
+
private _header;
|
|
1350
|
+
private _title;
|
|
1351
|
+
/**
|
|
1352
|
+
* Gets a `HarnessPredicate` that can be used to search for an expansion panel
|
|
1353
|
+
* with specific attributes.
|
|
1354
|
+
*
|
|
1355
|
+
* @param options Options for filtering which panel instances are considered a match.
|
|
1356
|
+
* @returns A `HarnessPredicate` configured with the given options.
|
|
1357
|
+
*
|
|
1358
|
+
* @example
|
|
1359
|
+
* ```typescript
|
|
1360
|
+
* // Find by title text
|
|
1361
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness.with({ title: 'Settings' }));
|
|
1362
|
+
*
|
|
1363
|
+
* // Find by title regex
|
|
1364
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness.with({ title: /settings/i }));
|
|
1365
|
+
* ```
|
|
1366
|
+
*/
|
|
1367
|
+
static with(options?: ExpansionPanelHarnessFilters): HarnessPredicate<TnExpansionPanelHarness>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Gets the expansion panel title text.
|
|
1370
|
+
*
|
|
1371
|
+
* @returns Promise resolving to the title text, or empty string if no title.
|
|
1372
|
+
*
|
|
1373
|
+
* @example
|
|
1374
|
+
* ```typescript
|
|
1375
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1376
|
+
* expect(await panel.getTitle()).toBe('Settings');
|
|
1377
|
+
* ```
|
|
1378
|
+
*/
|
|
1379
|
+
getTitle(): Promise<string>;
|
|
1380
|
+
/**
|
|
1381
|
+
* Checks whether the expansion panel is currently expanded.
|
|
1382
|
+
*
|
|
1383
|
+
* @returns Promise resolving to true if the panel is expanded.
|
|
1384
|
+
*
|
|
1385
|
+
* @example
|
|
1386
|
+
* ```typescript
|
|
1387
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1388
|
+
* expect(await panel.isExpanded()).toBe(false);
|
|
1389
|
+
* ```
|
|
1390
|
+
*/
|
|
1391
|
+
isExpanded(): Promise<boolean>;
|
|
1392
|
+
/**
|
|
1393
|
+
* Checks whether the expansion panel is disabled.
|
|
1394
|
+
*
|
|
1395
|
+
* @returns Promise resolving to true if the panel is disabled.
|
|
1396
|
+
*
|
|
1397
|
+
* @example
|
|
1398
|
+
* ```typescript
|
|
1399
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1400
|
+
* expect(await panel.isDisabled()).toBe(false);
|
|
1401
|
+
* ```
|
|
1402
|
+
*/
|
|
1403
|
+
isDisabled(): Promise<boolean>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Toggles the expansion panel by clicking the header.
|
|
1406
|
+
*
|
|
1407
|
+
* @example
|
|
1408
|
+
* ```typescript
|
|
1409
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1410
|
+
* await panel.toggle();
|
|
1411
|
+
* ```
|
|
1412
|
+
*/
|
|
1413
|
+
toggle(): Promise<void>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Expands the panel. No-op if already expanded.
|
|
1416
|
+
*
|
|
1417
|
+
* @example
|
|
1418
|
+
* ```typescript
|
|
1419
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1420
|
+
* await panel.expand();
|
|
1421
|
+
* expect(await panel.isExpanded()).toBe(true);
|
|
1422
|
+
* ```
|
|
1423
|
+
*/
|
|
1424
|
+
expand(): Promise<void>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Collapses the panel. No-op if already collapsed.
|
|
1427
|
+
*
|
|
1428
|
+
* @example
|
|
1429
|
+
* ```typescript
|
|
1430
|
+
* const panel = await loader.getHarness(TnExpansionPanelHarness);
|
|
1431
|
+
* await panel.collapse();
|
|
1432
|
+
* expect(await panel.isExpanded()).toBe(false);
|
|
1433
|
+
* ```
|
|
1434
|
+
*/
|
|
1435
|
+
collapse(): Promise<void>;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* A set of criteria that can be used to filter a list of `TnExpansionPanelHarness` instances.
|
|
1439
|
+
*/
|
|
1440
|
+
interface ExpansionPanelHarnessFilters extends BaseHarnessFilters {
|
|
1441
|
+
/** Filters by title text. Supports string or regex matching. */
|
|
1442
|
+
title?: string | RegExp;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1328
1445
|
/**
|
|
1329
1446
|
* Directive to mark content for projection into the checkbox label area.
|
|
1330
1447
|
* Use when the label needs rich content (links, icons, etc.) instead of plain text.
|
|
@@ -1578,6 +1695,119 @@ declare class TnRadioComponent implements AfterViewInit, OnDestroy, ControlValue
|
|
|
1578
1695
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnRadioComponent, "tn-radio", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, never, true, never>;
|
|
1579
1696
|
}
|
|
1580
1697
|
|
|
1698
|
+
/**
|
|
1699
|
+
* Harness for interacting with `tn-radio` in tests.
|
|
1700
|
+
* Provides methods for selecting and querying radio button state.
|
|
1701
|
+
*
|
|
1702
|
+
* @example
|
|
1703
|
+
* ```typescript
|
|
1704
|
+
* // Find and select a radio button
|
|
1705
|
+
* const radio = await loader.getHarness(TnRadioHarness.with({ label: 'Option A' }));
|
|
1706
|
+
* await radio.check();
|
|
1707
|
+
* expect(await radio.isChecked()).toBe(true);
|
|
1708
|
+
*
|
|
1709
|
+
* // Find by testId
|
|
1710
|
+
* const option = await loader.getHarness(TnRadioHarness.with({ testId: 'color-red' }));
|
|
1711
|
+
* ```
|
|
1712
|
+
*/
|
|
1713
|
+
declare class TnRadioHarness extends ComponentHarness {
|
|
1714
|
+
/**
|
|
1715
|
+
* The selector for the host element of a `TnRadioComponent` instance.
|
|
1716
|
+
*/
|
|
1717
|
+
static hostSelector: string;
|
|
1718
|
+
private _input;
|
|
1719
|
+
private _label;
|
|
1720
|
+
private _text;
|
|
1721
|
+
/**
|
|
1722
|
+
* Gets a `HarnessPredicate` that can be used to search for a radio button
|
|
1723
|
+
* with specific attributes.
|
|
1724
|
+
*
|
|
1725
|
+
* @param options Options for filtering which radio instances are considered a match.
|
|
1726
|
+
* @returns A `HarnessPredicate` configured with the given options.
|
|
1727
|
+
*
|
|
1728
|
+
* @example
|
|
1729
|
+
* ```typescript
|
|
1730
|
+
* // Find by label text
|
|
1731
|
+
* const radio = await loader.getHarness(TnRadioHarness.with({ label: 'Option A' }));
|
|
1732
|
+
*
|
|
1733
|
+
* // Find by label regex
|
|
1734
|
+
* const radio = await loader.getHarness(TnRadioHarness.with({ label: /option/i }));
|
|
1735
|
+
*
|
|
1736
|
+
* // Find by testId
|
|
1737
|
+
* const radio = await loader.getHarness(TnRadioHarness.with({ testId: 'my-radio' }));
|
|
1738
|
+
* ```
|
|
1739
|
+
*/
|
|
1740
|
+
static with(options?: RadioHarnessFilters): HarnessPredicate<TnRadioHarness>;
|
|
1741
|
+
/**
|
|
1742
|
+
* Gets the radio button label text content.
|
|
1743
|
+
*
|
|
1744
|
+
* @returns Promise resolving to the label text.
|
|
1745
|
+
*
|
|
1746
|
+
* @example
|
|
1747
|
+
* ```typescript
|
|
1748
|
+
* const radio = await loader.getHarness(TnRadioHarness);
|
|
1749
|
+
* expect(await radio.getLabelText()).toBe('Option A');
|
|
1750
|
+
* ```
|
|
1751
|
+
*/
|
|
1752
|
+
getLabelText(): Promise<string>;
|
|
1753
|
+
/**
|
|
1754
|
+
* Checks whether the radio button is currently checked.
|
|
1755
|
+
*
|
|
1756
|
+
* @returns Promise resolving to true if the radio button is checked.
|
|
1757
|
+
*
|
|
1758
|
+
* @example
|
|
1759
|
+
* ```typescript
|
|
1760
|
+
* const radio = await loader.getHarness(TnRadioHarness);
|
|
1761
|
+
* expect(await radio.isChecked()).toBe(false);
|
|
1762
|
+
* ```
|
|
1763
|
+
*/
|
|
1764
|
+
isChecked(): Promise<boolean>;
|
|
1765
|
+
/**
|
|
1766
|
+
* Checks whether the radio button is disabled.
|
|
1767
|
+
*
|
|
1768
|
+
* @returns Promise resolving to true if the radio button is disabled.
|
|
1769
|
+
*
|
|
1770
|
+
* @example
|
|
1771
|
+
* ```typescript
|
|
1772
|
+
* const radio = await loader.getHarness(TnRadioHarness);
|
|
1773
|
+
* expect(await radio.isDisabled()).toBe(false);
|
|
1774
|
+
* ```
|
|
1775
|
+
*/
|
|
1776
|
+
isDisabled(): Promise<boolean>;
|
|
1777
|
+
/**
|
|
1778
|
+
* Gets the test ID attribute value.
|
|
1779
|
+
*
|
|
1780
|
+
* @returns Promise resolving to the test ID string, or null.
|
|
1781
|
+
*
|
|
1782
|
+
* @example
|
|
1783
|
+
* ```typescript
|
|
1784
|
+
* const radio = await loader.getHarness(TnRadioHarness);
|
|
1785
|
+
* expect(await radio.getTestId()).toBe('color-red');
|
|
1786
|
+
* ```
|
|
1787
|
+
*/
|
|
1788
|
+
getTestId(): Promise<string | null>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Selects the radio button by clicking the label. No-op if already checked.
|
|
1791
|
+
*
|
|
1792
|
+
* @example
|
|
1793
|
+
* ```typescript
|
|
1794
|
+
* const radio = await loader.getHarness(TnRadioHarness);
|
|
1795
|
+
* await radio.check();
|
|
1796
|
+
* expect(await radio.isChecked()).toBe(true);
|
|
1797
|
+
* ```
|
|
1798
|
+
*/
|
|
1799
|
+
check(): Promise<void>;
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* A set of criteria that can be used to filter a list of `TnRadioHarness` instances.
|
|
1803
|
+
*/
|
|
1804
|
+
interface RadioHarnessFilters extends BaseHarnessFilters {
|
|
1805
|
+
/** Filters by label text. Supports string or regex matching. */
|
|
1806
|
+
label?: string | RegExp;
|
|
1807
|
+
/** Filters by data-testid attribute. */
|
|
1808
|
+
testId?: string;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1581
1811
|
type SlideToggleColor = 'primary' | 'accent' | 'warn';
|
|
1582
1812
|
declare class TnSlideToggleComponent implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
1583
1813
|
toggleEl: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
@@ -4129,6 +4359,169 @@ declare class TnButtonToggleComponent implements ControlValueAccessor {
|
|
|
4129
4359
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TnButtonToggleComponent, "tn-button-toggle", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
4130
4360
|
}
|
|
4131
4361
|
|
|
4362
|
+
/**
|
|
4363
|
+
* Harness for interacting with `tn-button-toggle` in tests.
|
|
4364
|
+
* Provides methods for toggling, checking, unchecking, and querying toggle state.
|
|
4365
|
+
*
|
|
4366
|
+
* @example
|
|
4367
|
+
* ```typescript
|
|
4368
|
+
* // Find and check a button toggle
|
|
4369
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness.with({ label: 'Bold' }));
|
|
4370
|
+
* await toggle.check();
|
|
4371
|
+
* expect(await toggle.isChecked()).toBe(true);
|
|
4372
|
+
*
|
|
4373
|
+
* // Toggle state
|
|
4374
|
+
* await toggle.toggle();
|
|
4375
|
+
* expect(await toggle.isChecked()).toBe(false);
|
|
4376
|
+
* ```
|
|
4377
|
+
*/
|
|
4378
|
+
declare class TnButtonToggleHarness extends ComponentHarness {
|
|
4379
|
+
/**
|
|
4380
|
+
* The selector for the host element of a `TnButtonToggleComponent` instance.
|
|
4381
|
+
*/
|
|
4382
|
+
static hostSelector: string;
|
|
4383
|
+
private _button;
|
|
4384
|
+
private _label;
|
|
4385
|
+
/**
|
|
4386
|
+
* Gets a `HarnessPredicate` that can be used to search for a button toggle
|
|
4387
|
+
* with specific attributes.
|
|
4388
|
+
*
|
|
4389
|
+
* @param options Options for filtering which toggle instances are considered a match.
|
|
4390
|
+
* @returns A `HarnessPredicate` configured with the given options.
|
|
4391
|
+
*
|
|
4392
|
+
* @example
|
|
4393
|
+
* ```typescript
|
|
4394
|
+
* // Find by label text
|
|
4395
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness.with({ label: 'Bold' }));
|
|
4396
|
+
*
|
|
4397
|
+
* // Find by label regex
|
|
4398
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness.with({ label: /bold/i }));
|
|
4399
|
+
* ```
|
|
4400
|
+
*/
|
|
4401
|
+
static with(options?: ButtonToggleHarnessFilters): HarnessPredicate<TnButtonToggleHarness>;
|
|
4402
|
+
/**
|
|
4403
|
+
* Gets the button toggle label text content.
|
|
4404
|
+
*
|
|
4405
|
+
* @returns Promise resolving to the label text.
|
|
4406
|
+
*
|
|
4407
|
+
* @example
|
|
4408
|
+
* ```typescript
|
|
4409
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4410
|
+
* expect(await toggle.getLabelText()).toBe('Bold');
|
|
4411
|
+
* ```
|
|
4412
|
+
*/
|
|
4413
|
+
getLabelText(): Promise<string>;
|
|
4414
|
+
/**
|
|
4415
|
+
* Checks whether the button toggle is currently checked.
|
|
4416
|
+
*
|
|
4417
|
+
* @returns Promise resolving to true if the toggle is checked.
|
|
4418
|
+
*
|
|
4419
|
+
* @example
|
|
4420
|
+
* ```typescript
|
|
4421
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4422
|
+
* expect(await toggle.isChecked()).toBe(false);
|
|
4423
|
+
* ```
|
|
4424
|
+
*/
|
|
4425
|
+
isChecked(): Promise<boolean>;
|
|
4426
|
+
/**
|
|
4427
|
+
* Checks whether the button toggle is disabled.
|
|
4428
|
+
*
|
|
4429
|
+
* @returns Promise resolving to true if the toggle is disabled.
|
|
4430
|
+
*
|
|
4431
|
+
* @example
|
|
4432
|
+
* ```typescript
|
|
4433
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4434
|
+
* expect(await toggle.isDisabled()).toBe(false);
|
|
4435
|
+
* ```
|
|
4436
|
+
*/
|
|
4437
|
+
isDisabled(): Promise<boolean>;
|
|
4438
|
+
/**
|
|
4439
|
+
* Toggles the button toggle by clicking it.
|
|
4440
|
+
*
|
|
4441
|
+
* @example
|
|
4442
|
+
* ```typescript
|
|
4443
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4444
|
+
* await toggle.toggle();
|
|
4445
|
+
* ```
|
|
4446
|
+
*/
|
|
4447
|
+
toggle(): Promise<void>;
|
|
4448
|
+
/**
|
|
4449
|
+
* Checks the button toggle. No-op if already checked.
|
|
4450
|
+
*
|
|
4451
|
+
* @example
|
|
4452
|
+
* ```typescript
|
|
4453
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4454
|
+
* await toggle.check();
|
|
4455
|
+
* expect(await toggle.isChecked()).toBe(true);
|
|
4456
|
+
* ```
|
|
4457
|
+
*/
|
|
4458
|
+
check(): Promise<void>;
|
|
4459
|
+
/**
|
|
4460
|
+
* Unchecks the button toggle. No-op if already unchecked.
|
|
4461
|
+
*
|
|
4462
|
+
* @example
|
|
4463
|
+
* ```typescript
|
|
4464
|
+
* const toggle = await loader.getHarness(TnButtonToggleHarness);
|
|
4465
|
+
* await toggle.uncheck();
|
|
4466
|
+
* expect(await toggle.isChecked()).toBe(false);
|
|
4467
|
+
* ```
|
|
4468
|
+
*/
|
|
4469
|
+
uncheck(): Promise<void>;
|
|
4470
|
+
}
|
|
4471
|
+
/**
|
|
4472
|
+
* Harness for interacting with `tn-button-toggle-group` in tests.
|
|
4473
|
+
* Provides methods for querying the group's toggles and finding checked toggles.
|
|
4474
|
+
*
|
|
4475
|
+
* @example
|
|
4476
|
+
* ```typescript
|
|
4477
|
+
* const group = await loader.getHarness(TnButtonToggleGroupHarness);
|
|
4478
|
+
* const toggles = await group.getToggles();
|
|
4479
|
+
* expect(toggles.length).toBe(3);
|
|
4480
|
+
*
|
|
4481
|
+
* const checked = await group.getCheckedToggle();
|
|
4482
|
+
* expect(await checked?.getLabelText()).toBe('Option A');
|
|
4483
|
+
* ```
|
|
4484
|
+
*/
|
|
4485
|
+
declare class TnButtonToggleGroupHarness extends ComponentHarness {
|
|
4486
|
+
/**
|
|
4487
|
+
* The selector for the host element of a `TnButtonToggleGroupComponent` instance.
|
|
4488
|
+
*/
|
|
4489
|
+
static hostSelector: string;
|
|
4490
|
+
/**
|
|
4491
|
+
* Gets all toggle harnesses within this group.
|
|
4492
|
+
*
|
|
4493
|
+
* @returns Promise resolving to an array of `TnButtonToggleHarness` instances.
|
|
4494
|
+
*
|
|
4495
|
+
* @example
|
|
4496
|
+
* ```typescript
|
|
4497
|
+
* const group = await loader.getHarness(TnButtonToggleGroupHarness);
|
|
4498
|
+
* const toggles = await group.getToggles();
|
|
4499
|
+
* expect(toggles.length).toBe(3);
|
|
4500
|
+
* ```
|
|
4501
|
+
*/
|
|
4502
|
+
getToggles(): Promise<TnButtonToggleHarness[]>;
|
|
4503
|
+
/**
|
|
4504
|
+
* Gets the currently checked toggle, or null if none is checked.
|
|
4505
|
+
*
|
|
4506
|
+
* @returns Promise resolving to the checked `TnButtonToggleHarness`, or null.
|
|
4507
|
+
*
|
|
4508
|
+
* @example
|
|
4509
|
+
* ```typescript
|
|
4510
|
+
* const group = await loader.getHarness(TnButtonToggleGroupHarness);
|
|
4511
|
+
* const checked = await group.getCheckedToggle();
|
|
4512
|
+
* expect(await checked?.getLabelText()).toBe('Option A');
|
|
4513
|
+
* ```
|
|
4514
|
+
*/
|
|
4515
|
+
getCheckedToggle(): Promise<TnButtonToggleHarness | null>;
|
|
4516
|
+
}
|
|
4517
|
+
/**
|
|
4518
|
+
* A set of criteria that can be used to filter a list of `TnButtonToggleHarness` instances.
|
|
4519
|
+
*/
|
|
4520
|
+
interface ButtonToggleHarnessFilters extends BaseHarnessFilters {
|
|
4521
|
+
/** Filters by label text. Supports string or regex matching. */
|
|
4522
|
+
label?: string | RegExp;
|
|
4523
|
+
}
|
|
4524
|
+
|
|
4132
4525
|
type TooltipPosition = 'above' | 'below' | 'left' | 'right' | 'before' | 'after';
|
|
4133
4526
|
declare class TnTooltipDirective implements OnInit, OnDestroy {
|
|
4134
4527
|
message: _angular_core.InputSignal<string>;
|
|
@@ -5253,5 +5646,5 @@ declare const TN_THEME_DEFINITIONS: readonly TnThemeDefinition[];
|
|
|
5253
5646
|
*/
|
|
5254
5647
|
declare const THEME_MAP: Map<TnTheme, TnThemeDefinition>;
|
|
5255
5648
|
|
|
5256
|
-
export { CommonShortcuts, DEFAULT_THEME, DiskIconComponent, DiskType, FileSizePipe, InputType, LIGHT_THEME, LinuxModifierKeys, LinuxShortcuts, ModifierKeys, QuickShortcuts, ShortcutBuilder, StripMntPrefixPipe, THEME_MAP, THEME_STORAGE_KEY, TN_THEME_DEFINITIONS, TnAutocompleteComponent, TnAutocompleteHarness, TnBannerActionDirective, TnBannerComponent, TnBannerHarness, TnBrandedSpinnerComponent, TnButtonComponent, TnButtonHarness, TnButtonToggleComponent, TnButtonToggleGroupComponent, TnCalendarComponent, TnCalendarHeaderComponent, TnCardComponent, TnCellDefDirective, TnCheckboxComponent, TnCheckboxHarness, TnCheckboxLabelDirective, TnChipComponent, TnConfirmDialogComponent, TnDateInputComponent, TnDateRangeInputComponent, TnDialog, TnDialogHarness, TnDialogShellComponent, TnDialogTesting, TnDividerComponent, TnDividerDirective, TnDrawerComponent, TnDrawerContainerComponent, TnDrawerContainerHarness, TnDrawerContentComponent, TnDrawerHarness, TnEmptyComponent, TnEmptyHarness, TnExpansionPanelComponent, TnFilePickerComponent, TnFilePickerPopupComponent, TnFormFieldComponent, TnFormFieldHarness, TnHeaderCellDefDirective, TnIconButtonComponent, TnIconButtonHarness, TnIconComponent, TnIconHarness, TnIconRegistryService, TnIconTesting, TnInputComponent, TnInputDirective, TnInputHarness, TnKeyboardShortcutComponent, TnKeyboardShortcutService, TnListAvatarDirective, TnListComponent, TnListIconDirective, TnListItemComponent, TnListItemLineDirective, TnListItemPrimaryDirective, TnListItemSecondaryDirective, TnListItemTitleDirective, TnListItemTrailingDirective, TnListOptionComponent, TnListSubheaderComponent, TnMenuActivateHoverDirective, TnMenuComponent, TnMenuHarness, TnMenuTesting, TnMenuTriggerDirective, TnMonthViewComponent, TnMultiYearViewComponent, TnNestedTreeNodeComponent, TnParticleProgressBarComponent, TnProgressBarComponent, TnRadioComponent, TnSelectComponent, TnSelectHarness, TnSelectionListComponent, TnSidePanelActionDirective, TnSidePanelComponent, TnSidePanelHarness, TnSidePanelHeaderActionDirective, TnSlideToggleComponent, TnSlideToggleHarness, TnSliderComponent, TnSliderThumbDirective, TnSliderWithLabelDirective, TnSpinnerComponent, TnSpriteLoaderService, TnStepComponent, TnStepperComponent, TnTabComponent, TnTabHarness, TnTabPanelComponent, TnTabPanelHarness, TnTableColumnDirective, TnTableComponent, TnTabsComponent, TnTabsHarness, TnTheme, TnThemeService, TnTimeInputComponent, TnToastComponent, TnToastMock, TnToastPosition, TnToastRef, TnToastService, TnToastTesting, TnToastType, TnTooltipComponent, TnTooltipDirective, TnTreeComponent, TnTreeFlatDataSource, TnTreeFlattener, TnTreeNodeComponent, TnTreeNodeOutletDirective, TruncatePathPipe, WindowsModifierKeys, WindowsShortcuts, createLucideLibrary, createShortcut, defaultSpriteBasePath, defaultSpriteConfigPath, libIconMarker, registerLucideIcons, setupLucideIntegration, tnIconMarker };
|
|
5257
|
-
export type { AutocompleteHarnessFilters, BannerHarnessFilters, ButtonHarnessFilters, CalendarCell, CheckboxHarnessFilters, ChipColor, CreateFolderEvent, DateRange, DialogHarnessFilters, EmptyHarnessFilters, FilePickerCallbacks, FilePickerError, FilePickerMode, FileSystemItem, FormFieldHarnessFilters, IconButtonHarnessFilters, IconHarnessFilters, IconLibrary, IconLibraryType, IconResult, IconSize, IconSource, IconTestingMockOverrides, InputHarnessFilters, KeyCombination, LabelType, LucideIconOptions, MenuHarnessFilters, MockIconRegistry, MockSpriteLoader, PathSegment, PlatformType, ProgressBarMode, ResolvedIcon, SelectHarnessFilters, ShortcutHandler, SidePanelHarnessFilters, SlideToggleColor, SlideToggleHarnessFilters, SpinnerMode, SpriteConfig, TabChangeEvent, TabHarnessFilters, TabPanelHarnessFilters, TabsHarnessFilters, TnBannerType, TnButtonToggleType, TnCardAction, TnCardControl, TnCardFooterLink, TnCardHeaderStatus, TnConfirmDialogData, TnDialogDefaults, TnDialogOpenTarget, TnDrawerMode, TnDrawerPosition, TnEmptySize, TnFlatTreeNode, TnMenuItem, TnSelectOption, TnSelectOptionGroup, TnSelectionChange, TnTableDataSource, TnThemeDefinition, TnToastCall, TnToastConfig, TooltipPosition, YearCell };
|
|
5649
|
+
export { CommonShortcuts, DEFAULT_THEME, DiskIconComponent, DiskType, FileSizePipe, InputType, LIGHT_THEME, LinuxModifierKeys, LinuxShortcuts, ModifierKeys, QuickShortcuts, ShortcutBuilder, StripMntPrefixPipe, THEME_MAP, THEME_STORAGE_KEY, TN_THEME_DEFINITIONS, TnAutocompleteComponent, TnAutocompleteHarness, TnBannerActionDirective, TnBannerComponent, TnBannerHarness, TnBrandedSpinnerComponent, TnButtonComponent, TnButtonHarness, TnButtonToggleComponent, TnButtonToggleGroupComponent, TnButtonToggleGroupHarness, TnButtonToggleHarness, TnCalendarComponent, TnCalendarHeaderComponent, TnCardComponent, TnCellDefDirective, TnCheckboxComponent, TnCheckboxHarness, TnCheckboxLabelDirective, TnChipComponent, TnConfirmDialogComponent, TnDateInputComponent, TnDateRangeInputComponent, TnDialog, TnDialogHarness, TnDialogShellComponent, TnDialogTesting, TnDividerComponent, TnDividerDirective, TnDrawerComponent, TnDrawerContainerComponent, TnDrawerContainerHarness, TnDrawerContentComponent, TnDrawerHarness, TnEmptyComponent, TnEmptyHarness, TnExpansionPanelComponent, TnExpansionPanelHarness, TnFilePickerComponent, TnFilePickerPopupComponent, TnFormFieldComponent, TnFormFieldHarness, TnHeaderCellDefDirective, TnIconButtonComponent, TnIconButtonHarness, TnIconComponent, TnIconHarness, TnIconRegistryService, TnIconTesting, TnInputComponent, TnInputDirective, TnInputHarness, TnKeyboardShortcutComponent, TnKeyboardShortcutService, TnListAvatarDirective, TnListComponent, TnListIconDirective, TnListItemComponent, TnListItemLineDirective, TnListItemPrimaryDirective, TnListItemSecondaryDirective, TnListItemTitleDirective, TnListItemTrailingDirective, TnListOptionComponent, TnListSubheaderComponent, TnMenuActivateHoverDirective, TnMenuComponent, TnMenuHarness, TnMenuTesting, TnMenuTriggerDirective, TnMonthViewComponent, TnMultiYearViewComponent, TnNestedTreeNodeComponent, TnParticleProgressBarComponent, TnProgressBarComponent, TnRadioComponent, TnRadioHarness, TnSelectComponent, TnSelectHarness, TnSelectionListComponent, TnSidePanelActionDirective, TnSidePanelComponent, TnSidePanelHarness, TnSidePanelHeaderActionDirective, TnSlideToggleComponent, TnSlideToggleHarness, TnSliderComponent, TnSliderThumbDirective, TnSliderWithLabelDirective, TnSpinnerComponent, TnSpriteLoaderService, TnStepComponent, TnStepperComponent, TnTabComponent, TnTabHarness, TnTabPanelComponent, TnTabPanelHarness, TnTableColumnDirective, TnTableComponent, TnTabsComponent, TnTabsHarness, TnTheme, TnThemeService, TnTimeInputComponent, TnToastComponent, TnToastMock, TnToastPosition, TnToastRef, TnToastService, TnToastTesting, TnToastType, TnTooltipComponent, TnTooltipDirective, TnTreeComponent, TnTreeFlatDataSource, TnTreeFlattener, TnTreeNodeComponent, TnTreeNodeOutletDirective, TruncatePathPipe, WindowsModifierKeys, WindowsShortcuts, createLucideLibrary, createShortcut, defaultSpriteBasePath, defaultSpriteConfigPath, libIconMarker, registerLucideIcons, setupLucideIntegration, tnIconMarker };
|
|
5650
|
+
export type { AutocompleteHarnessFilters, BannerHarnessFilters, ButtonHarnessFilters, ButtonToggleHarnessFilters, CalendarCell, CheckboxHarnessFilters, ChipColor, CreateFolderEvent, DateRange, DialogHarnessFilters, EmptyHarnessFilters, ExpansionPanelHarnessFilters, FilePickerCallbacks, FilePickerError, FilePickerMode, FileSystemItem, FormFieldHarnessFilters, IconButtonHarnessFilters, IconHarnessFilters, IconLibrary, IconLibraryType, IconResult, IconSize, IconSource, IconTestingMockOverrides, InputHarnessFilters, KeyCombination, LabelType, LucideIconOptions, MenuHarnessFilters, MockIconRegistry, MockSpriteLoader, PathSegment, PlatformType, ProgressBarMode, RadioHarnessFilters, ResolvedIcon, SelectHarnessFilters, ShortcutHandler, SidePanelHarnessFilters, SlideToggleColor, SlideToggleHarnessFilters, SpinnerMode, SpriteConfig, TabChangeEvent, TabHarnessFilters, TabPanelHarnessFilters, TabsHarnessFilters, TnBannerType, TnButtonToggleType, TnCardAction, TnCardControl, TnCardFooterLink, TnCardHeaderStatus, TnConfirmDialogData, TnDialogDefaults, TnDialogOpenTarget, TnDrawerMode, TnDrawerPosition, TnEmptySize, TnFlatTreeNode, TnMenuItem, TnSelectOption, TnSelectOptionGroup, TnSelectionChange, TnTableDataSource, TnThemeDefinition, TnToastCall, TnToastConfig, TooltipPosition, YearCell };
|