@dereekb/dbx-web 13.9.0 → 13.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/dereekb-dbx-web.mjs +659 -212
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/package.json +7 -7
- package/types/dereekb-dbx-web.d.ts +649 -211
|
@@ -394,6 +394,20 @@ class DbxPopoverComponentController extends DbxPopoverController {
|
|
|
394
394
|
* Core popover component that renders injected content with position strategy, transition watching, and keyboard close support.
|
|
395
395
|
*
|
|
396
396
|
* Coordinates with {@link DbxPopoverCoordinatorService} to ensure only one popover per key is active at a time.
|
|
397
|
+
*
|
|
398
|
+
* @dbxWebComponent
|
|
399
|
+
* @dbxWebSlug popover
|
|
400
|
+
* @dbxWebCategory overlay
|
|
401
|
+
* @dbxWebRelated popup, prompt-confirm, dialog-content
|
|
402
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
403
|
+
* @dbxWebMinimalExample ```html
|
|
404
|
+
* <dbx-popover></dbx-popover>
|
|
405
|
+
* ```
|
|
406
|
+
*
|
|
407
|
+
* @example
|
|
408
|
+
* ```html
|
|
409
|
+
* // In a service: this.popoverService.open({ content: MyContentComponent, origin })
|
|
410
|
+
* ```
|
|
397
411
|
*/
|
|
398
412
|
class DbxPopoverComponent extends AbstractTransitionWatcherDirective {
|
|
399
413
|
popoverRef = inject((NgPopoverRef));
|
|
@@ -967,11 +981,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
967
981
|
/**
|
|
968
982
|
* Progress button that displays a Material progress bar beneath the button while working.
|
|
969
983
|
*
|
|
984
|
+
* @dbxWebComponent
|
|
985
|
+
* @dbxWebSlug progress-bar-button
|
|
986
|
+
* @dbxWebCategory button
|
|
987
|
+
* @dbxWebRelated button, progress-spinner-button
|
|
988
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
989
|
+
* @dbxWebMinimalExample ```html
|
|
990
|
+
* <dbx-progress-bar-button [config]="cfg"></dbx-progress-bar-button>
|
|
991
|
+
* ```
|
|
992
|
+
*
|
|
970
993
|
* @example
|
|
971
994
|
* ```html
|
|
972
|
-
* <dbx-progress-bar-button [config]="
|
|
973
|
-
* Save
|
|
974
|
-
* </dbx-progress-bar-button>
|
|
995
|
+
* <dbx-progress-bar-button [config]="cfg" (btnClick)="onClick()"></dbx-progress-bar-button>
|
|
975
996
|
* ```
|
|
976
997
|
*/
|
|
977
998
|
class DbxProgressBarButtonComponent extends AbstractProgressButtonDirective {
|
|
@@ -989,11 +1010,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
989
1010
|
* Progress button that overlays a Material progress spinner on the button while working.
|
|
990
1011
|
* Supports icon-only, FAB, and text button modes with automatic spinner sizing.
|
|
991
1012
|
*
|
|
1013
|
+
* @dbxWebComponent
|
|
1014
|
+
* @dbxWebSlug progress-spinner-button
|
|
1015
|
+
* @dbxWebCategory button
|
|
1016
|
+
* @dbxWebRelated button, progress-bar-button
|
|
1017
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
1018
|
+
* @dbxWebMinimalExample ```html
|
|
1019
|
+
* <dbx-progress-spinner-button [config]="cfg"></dbx-progress-spinner-button>
|
|
1020
|
+
* ```
|
|
1021
|
+
*
|
|
992
1022
|
* @example
|
|
993
1023
|
* ```html
|
|
994
|
-
* <dbx-progress-spinner-button [config]="
|
|
995
|
-
* Submit
|
|
996
|
-
* </dbx-progress-spinner-button>
|
|
1024
|
+
* <dbx-progress-spinner-button [config]="cfg" (btnClick)="onClick()"></dbx-progress-spinner-button>
|
|
997
1025
|
* ```
|
|
998
1026
|
*/
|
|
999
1027
|
class DbxProgressSpinnerButtonComponent extends AbstractProgressButtonDirective {
|
|
@@ -1120,6 +1148,15 @@ function provideDbxProgressButtonGlobalConfig(config) {
|
|
|
1120
1148
|
* custom colors, icons, and floating action button (FAB) mode. Integrates with the dbxAction system
|
|
1121
1149
|
* for automatic working/disabled state management.
|
|
1122
1150
|
*
|
|
1151
|
+
* @dbxWebComponent
|
|
1152
|
+
* @dbxWebSlug button
|
|
1153
|
+
* @dbxWebCategory button
|
|
1154
|
+
* @dbxWebRelated icon-button, progress-spinner-button, progress-bar-button
|
|
1155
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
1156
|
+
* @dbxWebMinimalExample ```html
|
|
1157
|
+
* <dbx-button text="Save" raised [dbxAction]="saveAction"></dbx-button>
|
|
1158
|
+
* ```
|
|
1159
|
+
*
|
|
1123
1160
|
* @example
|
|
1124
1161
|
* ```html
|
|
1125
1162
|
* <dbx-button [text]="'Save'" raised [dbxAction]="saveAction">
|
|
@@ -1310,16 +1347,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1310
1347
|
/**
|
|
1311
1348
|
* Adds inline spacing between adjacent buttons. Can be used as an element or attribute.
|
|
1312
1349
|
*
|
|
1313
|
-
* @
|
|
1314
|
-
*
|
|
1315
|
-
*
|
|
1350
|
+
* @dbxWebComponent
|
|
1351
|
+
* @dbxWebSlug button-spacer
|
|
1352
|
+
* @dbxWebCategory button
|
|
1353
|
+
* @dbxWebRelated bar, spacer, button
|
|
1354
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
1355
|
+
* @dbxWebMinimalExample ```html
|
|
1316
1356
|
* <dbx-button-spacer></dbx-button-spacer>
|
|
1317
|
-
* <dbx-button text="Save" raised></dbx-button>
|
|
1318
1357
|
* ```
|
|
1319
1358
|
*
|
|
1320
1359
|
* @example
|
|
1321
1360
|
* ```html
|
|
1322
|
-
* <
|
|
1361
|
+
* <dbx-bar>
|
|
1362
|
+
* <dbx-button text="Save" raised></dbx-button>
|
|
1363
|
+
* <dbx-button-spacer></dbx-button-spacer>
|
|
1364
|
+
* <dbx-button text="Cancel"></dbx-button>
|
|
1365
|
+
* </dbx-bar>
|
|
1323
1366
|
* ```
|
|
1324
1367
|
*/
|
|
1325
1368
|
class DbxButtonSpacerDirective {
|
|
@@ -1341,18 +1384,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
1341
1384
|
* Lightweight button that renders as either an icon-only Material icon button or a text button
|
|
1342
1385
|
* with an icon prefix, depending on whether text is provided.
|
|
1343
1386
|
*
|
|
1344
|
-
* @
|
|
1345
|
-
*
|
|
1346
|
-
*
|
|
1347
|
-
*
|
|
1348
|
-
* @
|
|
1349
|
-
* ```html
|
|
1350
|
-
* <dbx-icon-button icon="
|
|
1387
|
+
* @dbxWebComponent
|
|
1388
|
+
* @dbxWebSlug icon-button
|
|
1389
|
+
* @dbxWebCategory button
|
|
1390
|
+
* @dbxWebRelated button
|
|
1391
|
+
* @dbxWebSkillRefs dbx__migration__migrate-dbx-icon-button
|
|
1392
|
+
* @dbxWebMinimalExample ```html
|
|
1393
|
+
* <dbx-icon-button icon="add"></dbx-icon-button>
|
|
1351
1394
|
* ```
|
|
1352
1395
|
*
|
|
1353
1396
|
* @example
|
|
1354
1397
|
* ```html
|
|
1355
|
-
* <dbx-icon-button icon="
|
|
1398
|
+
* <dbx-icon-button icon="delete" color="warn" [dbxAction]="deleteAction"></dbx-icon-button>
|
|
1356
1399
|
* ```
|
|
1357
1400
|
*/
|
|
1358
1401
|
class DbxIconButtonComponent extends AbstractDbxButtonDirective {
|
|
@@ -2288,10 +2331,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
2288
2331
|
*
|
|
2289
2332
|
* Can be used as an element, attribute, or CSS class selector.
|
|
2290
2333
|
*
|
|
2334
|
+
* @dbxWebComponent
|
|
2335
|
+
* @dbxWebSlug dialog-content
|
|
2336
|
+
* @dbxWebCategory overlay
|
|
2337
|
+
* @dbxWebRelated popover, popup, prompt
|
|
2338
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
2339
|
+
* @dbxWebMinimalExample ```html
|
|
2340
|
+
* <div dbxDialogContent>Body</div>
|
|
2341
|
+
* ```
|
|
2342
|
+
*
|
|
2291
2343
|
* @example
|
|
2292
2344
|
* ```html
|
|
2293
|
-
* <dbx-dialog-content
|
|
2294
|
-
* <
|
|
2345
|
+
* <dbx-dialog-content>
|
|
2346
|
+
* <h2>Confirm</h2>
|
|
2347
|
+
* <p>Are you sure?</p>
|
|
2295
2348
|
* </dbx-dialog-content>
|
|
2296
2349
|
* ```
|
|
2297
2350
|
*/
|
|
@@ -2690,11 +2743,18 @@ function resizeSignal(inputElement) {
|
|
|
2690
2743
|
*
|
|
2691
2744
|
* Uses a `ResizeObserver` internally via {@link resizeSignal}.
|
|
2692
2745
|
*
|
|
2746
|
+
* @dbxWebComponent
|
|
2747
|
+
* @dbxWebSlug resized
|
|
2748
|
+
* @dbxWebCategory screen
|
|
2749
|
+
* @dbxWebRelated flex-group
|
|
2750
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
2751
|
+
* @dbxWebMinimalExample ```html
|
|
2752
|
+
* <div (dbxResized)="handle($event)"></div>
|
|
2753
|
+
* ```
|
|
2754
|
+
*
|
|
2693
2755
|
* @example
|
|
2694
2756
|
* ```html
|
|
2695
|
-
* <div
|
|
2696
|
-
* Resizable content
|
|
2697
|
-
* </div>
|
|
2757
|
+
* <div (dbxResized)="onResized($event)" class="resizable-panel"></div>
|
|
2698
2758
|
* ```
|
|
2699
2759
|
*/
|
|
2700
2760
|
class DbxResizedDirective {
|
|
@@ -3333,10 +3393,20 @@ function overrideClickElementEffect(config) {
|
|
|
3333
3393
|
*
|
|
3334
3394
|
* Supports plain content, clickable actions, router segue references, external hrefs, and disabled states.
|
|
3335
3395
|
*
|
|
3396
|
+
* @dbxWebComponent
|
|
3397
|
+
* @dbxWebSlug anchor
|
|
3398
|
+
* @dbxWebCategory router
|
|
3399
|
+
* @dbxWebRelated anchor-list, navbar, sidenav
|
|
3400
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
3401
|
+
* @dbxWebMinimalExample ```html
|
|
3402
|
+
* <dbx-anchor [anchor]="{ url: '/' }">Home</dbx-anchor>
|
|
3403
|
+
* ```
|
|
3404
|
+
*
|
|
3336
3405
|
* @example
|
|
3337
3406
|
* ```html
|
|
3338
|
-
* <dbx-anchor [anchor]="
|
|
3339
|
-
*
|
|
3407
|
+
* <dbx-anchor [anchor]="{ ref: 'app.home' }">
|
|
3408
|
+
* <button mat-button>Home</button>
|
|
3409
|
+
* </dbx-anchor>
|
|
3340
3410
|
* ```
|
|
3341
3411
|
*/
|
|
3342
3412
|
class DbxAnchorComponent extends AbstractDbxAnchorDirective {
|
|
@@ -3455,9 +3525,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
3455
3525
|
*
|
|
3456
3526
|
* Each anchor is expanded and assigned depth-based CSS classes for nested styling.
|
|
3457
3527
|
*
|
|
3528
|
+
* @dbxWebComponent
|
|
3529
|
+
* @dbxWebSlug anchor-list
|
|
3530
|
+
* @dbxWebCategory router
|
|
3531
|
+
* @dbxWebRelated anchor, sidenav
|
|
3532
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
3533
|
+
* @dbxWebMinimalExample ```html
|
|
3534
|
+
* <dbx-anchor-list [anchors]="anchors"></dbx-anchor-list>
|
|
3535
|
+
* ```
|
|
3536
|
+
*
|
|
3458
3537
|
* @example
|
|
3459
3538
|
* ```html
|
|
3460
|
-
* <dbx-anchor-list [anchors]="
|
|
3539
|
+
* <dbx-anchor-list [anchors]="navAnchors"></dbx-anchor-list>
|
|
3461
3540
|
* ```
|
|
3462
3541
|
*/
|
|
3463
3542
|
class DbxAnchorListComponent {
|
|
@@ -4046,6 +4125,20 @@ class DbxPopupComponentController extends DbxPopupController {
|
|
|
4046
4125
|
* Core popup component that renders injected content with support for minimize, fullscreen, and normal window states.
|
|
4047
4126
|
*
|
|
4048
4127
|
* Coordinates with {@link DbxPopupCoordinatorService} to ensure only one popup per key is active at a time.
|
|
4128
|
+
*
|
|
4129
|
+
* @dbxWebComponent
|
|
4130
|
+
* @dbxWebSlug popup
|
|
4131
|
+
* @dbxWebCategory overlay
|
|
4132
|
+
* @dbxWebRelated popover
|
|
4133
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
4134
|
+
* @dbxWebMinimalExample ```html
|
|
4135
|
+
* <dbx-popup></dbx-popup>
|
|
4136
|
+
* ```
|
|
4137
|
+
*
|
|
4138
|
+
* @example
|
|
4139
|
+
* ```html
|
|
4140
|
+
* // In a service: this.popupService.open({ content: MyContentComponent })
|
|
4141
|
+
* ```
|
|
4049
4142
|
*/
|
|
4050
4143
|
class DbxPopupComponent extends AbstractTransitionWatcherDirective {
|
|
4051
4144
|
popoverRef = inject((NgPopoverRef));
|
|
@@ -4478,13 +4571,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4478
4571
|
* Can be used as a standalone element or as an attribute directive on elements with the `.dbx-section-header` class.
|
|
4479
4572
|
* Serves as the base class for `DbxSectionComponent` and `DbxSectionPageComponent`.
|
|
4480
4573
|
*
|
|
4574
|
+
* @dbxWebComponent
|
|
4575
|
+
* @dbxWebSlug section-header
|
|
4576
|
+
* @dbxWebCategory layout
|
|
4577
|
+
* @dbxWebRelated section, subsection
|
|
4578
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
4579
|
+
* @dbxWebMinimalExample ```html
|
|
4580
|
+
* <dbx-section-header header="My Header"></dbx-section-header>
|
|
4581
|
+
* ```
|
|
4582
|
+
*
|
|
4481
4583
|
* @example
|
|
4482
4584
|
* ```html
|
|
4483
|
-
* <dbx-section-header header="
|
|
4484
|
-
*
|
|
4485
|
-
* <div class="dbx-section-header" header="Attribute Usage" [h]="3"></div>
|
|
4486
|
-
*
|
|
4487
|
-
* <dbx-section-header [headerConfig]="{ header: 'Config Object', h: 2, icon: 'info' }"></dbx-section-header>
|
|
4585
|
+
* <div class="dbx-section-header" header="Custom Layout" [h]="2" icon="info"></div>
|
|
4488
4586
|
* ```
|
|
4489
4587
|
*/
|
|
4490
4588
|
class DbxSectionHeaderComponent {
|
|
@@ -4636,6 +4734,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4636
4734
|
* Displays a content section with a header and body area. The header defaults to an h3 heading
|
|
4637
4735
|
* and supports optional elevation styling.
|
|
4638
4736
|
*
|
|
4737
|
+
* @dbxWebComponent
|
|
4738
|
+
* @dbxWebSlug section
|
|
4739
|
+
* @dbxWebCategory layout
|
|
4740
|
+
* @dbxWebRelated subsection, section-page, section-header, intro-action-section
|
|
4741
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks, dbx__ref__dbx-component-patterns
|
|
4742
|
+
* @dbxWebMinimalExample ```html
|
|
4743
|
+
* <dbx-section header="My Section"><p>Body</p></dbx-section>
|
|
4744
|
+
* ```
|
|
4745
|
+
*
|
|
4639
4746
|
* @example
|
|
4640
4747
|
* ```html
|
|
4641
4748
|
* <dbx-section header="My Section" icon="info" hint="Additional context">
|
|
@@ -4649,6 +4756,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4649
4756
|
* ```
|
|
4650
4757
|
*/
|
|
4651
4758
|
class DbxSectionComponent extends DbxSectionHeaderComponent {
|
|
4759
|
+
/** Apply elevated card styling. */
|
|
4652
4760
|
elevate = input(false, ...(ngDevMode ? [{ debugName: "elevate" }] : /* istanbul ignore next */ []));
|
|
4653
4761
|
classConfig = computed(() => {
|
|
4654
4762
|
return this.elevate() ? 'dbx-section-elevate dbx-content-elevate' : '';
|
|
@@ -4691,11 +4799,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4691
4799
|
* Renders a subsection within a parent section, using a smaller heading (defaults to h4).
|
|
4692
4800
|
* Useful for grouping related content under a `dbx-section`.
|
|
4693
4801
|
*
|
|
4802
|
+
* @dbxWebComponent
|
|
4803
|
+
* @dbxWebSlug subsection
|
|
4804
|
+
* @dbxWebCategory layout
|
|
4805
|
+
* @dbxWebRelated section, section-header
|
|
4806
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
4807
|
+
* @dbxWebMinimalExample ```html
|
|
4808
|
+
* <dbx-subsection header="Details"><p>Body</p></dbx-subsection>
|
|
4809
|
+
* ```
|
|
4810
|
+
*
|
|
4694
4811
|
* @example
|
|
4695
4812
|
* ```html
|
|
4696
|
-
* <dbx-section header="
|
|
4697
|
-
* <dbx-subsection header="
|
|
4698
|
-
* <p>Subsection
|
|
4813
|
+
* <dbx-section header="Settings">
|
|
4814
|
+
* <dbx-subsection header="Notifications" icon="notifications">
|
|
4815
|
+
* <p>Subsection body.</p>
|
|
4699
4816
|
* </dbx-subsection>
|
|
4700
4817
|
* </dbx-section>
|
|
4701
4818
|
* ```
|
|
@@ -4736,11 +4853,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4736
4853
|
/**
|
|
4737
4854
|
* Renders a styled prompt section with a header, descriptive text, and a hero content slot.
|
|
4738
4855
|
*
|
|
4856
|
+
* @dbxWebComponent
|
|
4857
|
+
* @dbxWebSlug prompt
|
|
4858
|
+
* @dbxWebCategory overlay
|
|
4859
|
+
* @dbxWebRelated prompt-confirm, dialog-content
|
|
4860
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
4861
|
+
* @dbxWebMinimalExample ```html
|
|
4862
|
+
* <dbx-prompt header="Confirm"></dbx-prompt>
|
|
4863
|
+
* ```
|
|
4864
|
+
*
|
|
4739
4865
|
* @example
|
|
4740
4866
|
* ```html
|
|
4741
|
-
* <dbx-prompt
|
|
4742
|
-
* <
|
|
4743
|
-
* <button mat-
|
|
4867
|
+
* <dbx-prompt header="Delete account" prompt="This cannot be undone.">
|
|
4868
|
+
* <button mat-button (click)="cancel()">Cancel</button>
|
|
4869
|
+
* <button mat-flat-button color="warn" (click)="confirm()">Delete</button>
|
|
4744
4870
|
* </dbx-prompt>
|
|
4745
4871
|
* ```
|
|
4746
4872
|
*/
|
|
@@ -4778,11 +4904,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4778
4904
|
/**
|
|
4779
4905
|
* Renders a confirmation prompt with customizable title, message, confirm, and cancel buttons.
|
|
4780
4906
|
*
|
|
4907
|
+
* @dbxWebComponent
|
|
4908
|
+
* @dbxWebSlug prompt-confirm
|
|
4909
|
+
* @dbxWebCategory overlay
|
|
4910
|
+
* @dbxWebRelated prompt, action-confirm
|
|
4911
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
4912
|
+
* @dbxWebMinimalExample ```html
|
|
4913
|
+
* <dbx-prompt-confirm [config]="cfg"></dbx-prompt-confirm>
|
|
4914
|
+
* ```
|
|
4915
|
+
*
|
|
4781
4916
|
* @example
|
|
4782
4917
|
* ```html
|
|
4783
|
-
* <dbx-prompt-confirm [config]="{
|
|
4784
|
-
* <p>Additional content here.</p>
|
|
4785
|
-
* </dbx-prompt-confirm>
|
|
4918
|
+
* <dbx-prompt-confirm [config]="{ header: 'Delete?', confirmText: 'Delete', cancelText: 'Cancel' }"></dbx-prompt-confirm>
|
|
4786
4919
|
* ```
|
|
4787
4920
|
*/
|
|
4788
4921
|
class DbxPromptConfirmComponent {
|
|
@@ -4959,15 +5092,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
4959
5092
|
* Constrains content to a maximum width with configurable padding. Useful for centering
|
|
4960
5093
|
* page content and maintaining readable line lengths.
|
|
4961
5094
|
*
|
|
5095
|
+
* @dbxWebComponent
|
|
5096
|
+
* @dbxWebSlug content-container
|
|
5097
|
+
* @dbxWebCategory layout
|
|
5098
|
+
* @dbxWebRelated content, content-page, content-box
|
|
5099
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
5100
|
+
* @dbxWebMinimalExample ```html
|
|
5101
|
+
* <div dbxContentContainer>Body</div>
|
|
5102
|
+
* ```
|
|
5103
|
+
*
|
|
4962
5104
|
* @example
|
|
4963
5105
|
* ```html
|
|
4964
|
-
* <dbx-content-container grow="
|
|
4965
|
-
* <p>
|
|
5106
|
+
* <dbx-content-container grow="full" padding="normal">
|
|
5107
|
+
* <p>Page body</p>
|
|
4966
5108
|
* </dbx-content-container>
|
|
4967
|
-
*
|
|
4968
|
-
* <div dbxContentContainer grow="full" padding="none" topPadding="small">
|
|
4969
|
-
* <p>Full-width content with top padding.</p>
|
|
4970
|
-
* </div>
|
|
4971
5109
|
* ```
|
|
4972
5110
|
*/
|
|
4973
5111
|
class DbxContentContainerDirective {
|
|
@@ -5701,11 +5839,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
5701
5839
|
/**
|
|
5702
5840
|
* Displays a label header above projected content, useful for labeling form fields or data sections.
|
|
5703
5841
|
*
|
|
5842
|
+
* @dbxWebComponent
|
|
5843
|
+
* @dbxWebSlug label-block
|
|
5844
|
+
* @dbxWebCategory text
|
|
5845
|
+
* @dbxWebRelated detail-block
|
|
5846
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
5847
|
+
* @dbxWebMinimalExample ```html
|
|
5848
|
+
* <dbx-label-block header="Label">Body</dbx-label-block>
|
|
5849
|
+
* ```
|
|
5850
|
+
*
|
|
5704
5851
|
* @example
|
|
5705
5852
|
* ```html
|
|
5706
|
-
* <dbx-label-block header="
|
|
5707
|
-
* <span>user@example.com</span>
|
|
5708
|
-
* </dbx-label-block>
|
|
5853
|
+
* <dbx-label-block header="Status"><span>Active</span></dbx-label-block>
|
|
5709
5854
|
* ```
|
|
5710
5855
|
*/
|
|
5711
5856
|
class DbxLabelBlockComponent {
|
|
@@ -6045,9 +6190,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6045
6190
|
* Emits a {@link DbxErrorViewButtonEvent} when the button is clicked, which is typically used
|
|
6046
6191
|
* to open an error detail popover. Used internally by {@link DbxErrorComponent}.
|
|
6047
6192
|
*
|
|
6193
|
+
* @dbxWebComponent
|
|
6194
|
+
* @dbxWebSlug error-view
|
|
6195
|
+
* @dbxWebCategory feedback
|
|
6196
|
+
* @dbxWebRelated error, error-snackbar
|
|
6197
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
6198
|
+
* @dbxWebMinimalExample ```html
|
|
6199
|
+
* <dbx-error-view [error]="error"></dbx-error-view>
|
|
6200
|
+
* ```
|
|
6201
|
+
*
|
|
6048
6202
|
* @example
|
|
6049
6203
|
* ```html
|
|
6050
|
-
* <dbx-error-view
|
|
6204
|
+
* <dbx-error-view [error]="error">
|
|
6205
|
+
* <dbx-button text="Retry" [dbxAction]="retryAction"></dbx-button>
|
|
6206
|
+
* </dbx-error-view>
|
|
6051
6207
|
* ```
|
|
6052
6208
|
*/
|
|
6053
6209
|
class DbxErrorViewComponent {
|
|
@@ -6104,12 +6260,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6104
6260
|
* with an icon and message, or a custom error widget registered via {@link DbxErrorWidgetService}.
|
|
6105
6261
|
* Clicking the error icon opens a popover with detailed error information.
|
|
6106
6262
|
*
|
|
6263
|
+
* @dbxWebComponent
|
|
6264
|
+
* @dbxWebSlug error
|
|
6265
|
+
* @dbxWebCategory feedback
|
|
6266
|
+
* @dbxWebRelated error-snackbar, error-view, loading
|
|
6267
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
6268
|
+
* @dbxWebMinimalExample ```html
|
|
6269
|
+
* <dbx-error [error]="error"></dbx-error>
|
|
6270
|
+
* ```
|
|
6271
|
+
*
|
|
6107
6272
|
* @example
|
|
6108
6273
|
* ```html
|
|
6109
|
-
* <dbx-error [error]="
|
|
6110
|
-
*
|
|
6111
|
-
* <!-- Icon-only mode, no message text -->
|
|
6112
|
-
* <dbx-error [error]="myError" [iconOnly]="true"></dbx-error>
|
|
6274
|
+
* <dbx-error [error]="error$ | async"></dbx-error>
|
|
6113
6275
|
* ```
|
|
6114
6276
|
*/
|
|
6115
6277
|
class DbxErrorComponent {
|
|
@@ -6213,13 +6375,18 @@ const DEFAULT_LOADING_PROGRESS_DIAMETER = 96;
|
|
|
6213
6375
|
* Supports both linear (bar) and circular (spinner) modes with configurable
|
|
6214
6376
|
* diameter, color, and optional hint text below the indicator.
|
|
6215
6377
|
*
|
|
6216
|
-
* @
|
|
6217
|
-
*
|
|
6218
|
-
*
|
|
6378
|
+
* @dbxWebComponent
|
|
6379
|
+
* @dbxWebSlug loading-progress
|
|
6380
|
+
* @dbxWebCategory feedback
|
|
6381
|
+
* @dbxWebRelated loading, basic-loading
|
|
6382
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
6383
|
+
* @dbxWebMinimalExample ```html
|
|
6219
6384
|
* <dbx-loading-progress></dbx-loading-progress>
|
|
6385
|
+
* ```
|
|
6220
6386
|
*
|
|
6221
|
-
*
|
|
6222
|
-
*
|
|
6387
|
+
* @example
|
|
6388
|
+
* ```html
|
|
6389
|
+
* <dbx-loading-progress mode="bar"></dbx-loading-progress>
|
|
6223
6390
|
* ```
|
|
6224
6391
|
*/
|
|
6225
6392
|
class DbxLoadingProgressComponent {
|
|
@@ -6286,6 +6453,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6286
6453
|
* Prefer using {@link DbxLoadingComponent} (`<dbx-loading>`) which wraps this component with
|
|
6287
6454
|
* support for {@link LoadingContext} streams.
|
|
6288
6455
|
*
|
|
6456
|
+
* @dbxWebComponent
|
|
6457
|
+
* @dbxWebSlug basic-loading
|
|
6458
|
+
* @dbxWebCategory feedback
|
|
6459
|
+
* @dbxWebRelated loading, loading-progress, error
|
|
6460
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
6461
|
+
* @dbxWebMinimalExample ```html
|
|
6462
|
+
* <dbx-basic-loading [loading]="true"><p>Content</p></dbx-basic-loading>
|
|
6463
|
+
* ```
|
|
6464
|
+
*
|
|
6289
6465
|
* @example
|
|
6290
6466
|
* ```html
|
|
6291
6467
|
* <dbx-basic-loading [loading]="true" color="accent" text="Loading data...">
|
|
@@ -6368,19 +6544,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6368
6544
|
* track loading and error state from reactive streams. Also supports manual `loading`
|
|
6369
6545
|
* and `error` inputs for simpler use cases.
|
|
6370
6546
|
*
|
|
6547
|
+
* @dbxWebComponent
|
|
6548
|
+
* @dbxWebSlug loading
|
|
6549
|
+
* @dbxWebCategory feedback
|
|
6550
|
+
* @dbxWebRelated basic-loading, loading-progress, error
|
|
6551
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
6552
|
+
* @dbxWebMinimalExample ```html
|
|
6553
|
+
* <dbx-loading [state]="state$ | async">Body</dbx-loading>
|
|
6554
|
+
* ```
|
|
6555
|
+
*
|
|
6371
6556
|
* @example
|
|
6372
6557
|
* ```html
|
|
6373
|
-
*
|
|
6374
|
-
*
|
|
6375
|
-
* <p>Data loaded successfully.</p>
|
|
6376
|
-
* </dbx-loading>
|
|
6377
|
-
*
|
|
6378
|
-
* <!-- With manual loading/error inputs -->
|
|
6379
|
-
* <dbx-loading [loading]="isLoading" [error]="loadError" linear [padding]="true">
|
|
6380
|
-
* <p>Content here.</p>
|
|
6381
|
-
* <ng-container error>
|
|
6382
|
-
* <p>Custom error message.</p>
|
|
6383
|
-
* </ng-container>
|
|
6558
|
+
* <dbx-loading [state]="state$ | async" text="Loading items...">
|
|
6559
|
+
* <dbx-list [state$]="state$" [config]="listConfig"></dbx-list>
|
|
6384
6560
|
* </dbx-loading>
|
|
6385
6561
|
* ```
|
|
6386
6562
|
*/
|
|
@@ -6475,10 +6651,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6475
6651
|
* Apply to a `<dbx-loading>` element that is within an action context to automatically
|
|
6476
6652
|
* reflect the action's loading state in the loading component.
|
|
6477
6653
|
*
|
|
6654
|
+
* @dbxWebComponent
|
|
6655
|
+
* @dbxWebSlug action-loading-context
|
|
6656
|
+
* @dbxWebCategory action
|
|
6657
|
+
* @dbxWebRelated loading, action-snackbar
|
|
6658
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
6659
|
+
* @dbxWebMinimalExample ```html
|
|
6660
|
+
* <button [dbxActionLoadingContext]></button>
|
|
6661
|
+
* ```
|
|
6662
|
+
*
|
|
6478
6663
|
* @example
|
|
6479
6664
|
* ```html
|
|
6480
|
-
* <dbx-loading
|
|
6481
|
-
* <
|
|
6665
|
+
* <dbx-loading [state]="ctx.state$ | async">
|
|
6666
|
+
* <button [dbxAction]="saveAction" dbxActionLoadingContext>Save</button>
|
|
6482
6667
|
* </dbx-loading>
|
|
6483
6668
|
* ```
|
|
6484
6669
|
*/
|
|
@@ -6523,13 +6708,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6523
6708
|
/**
|
|
6524
6709
|
* Adds flexible spacing between sibling elements in a flex container.
|
|
6525
6710
|
*
|
|
6711
|
+
* @dbxWebComponent
|
|
6712
|
+
* @dbxWebSlug spacer
|
|
6713
|
+
* @dbxWebCategory layout
|
|
6714
|
+
* @dbxWebRelated bar, button-spacer
|
|
6715
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
6716
|
+
* @dbxWebMinimalExample ```html
|
|
6717
|
+
* <dbx-spacer></dbx-spacer>
|
|
6718
|
+
* ```
|
|
6719
|
+
*
|
|
6526
6720
|
* @example
|
|
6527
6721
|
* ```html
|
|
6528
|
-
* <
|
|
6529
|
-
* <span>
|
|
6722
|
+
* <dbx-bar>
|
|
6723
|
+
* <span>Title</span>
|
|
6530
6724
|
* <dbx-spacer></dbx-spacer>
|
|
6531
|
-
* <
|
|
6532
|
-
* </
|
|
6725
|
+
* <button mat-button>Action</button>
|
|
6726
|
+
* </dbx-bar>
|
|
6533
6727
|
* ```
|
|
6534
6728
|
*/
|
|
6535
6729
|
class DbxSpacerDirective {
|
|
@@ -6880,18 +7074,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
6880
7074
|
* (loading, success, error). Supports built-in message presets via `dbxActionSnackbarDefault` and
|
|
6881
7075
|
* custom generator functions via the `dbxActionSnackbar` input.
|
|
6882
7076
|
*
|
|
6883
|
-
* @
|
|
6884
|
-
*
|
|
6885
|
-
*
|
|
6886
|
-
*
|
|
6887
|
-
*
|
|
7077
|
+
* @dbxWebComponent
|
|
7078
|
+
* @dbxWebSlug action-snackbar
|
|
7079
|
+
* @dbxWebCategory action
|
|
7080
|
+
* @dbxWebRelated action-snackbar-error, action-confirm, error-snackbar
|
|
7081
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7082
|
+
* @dbxWebMinimalExample ```html
|
|
7083
|
+
* <div [dbxActionSnackbar]="fn"></div>
|
|
6888
7084
|
* ```
|
|
6889
7085
|
*
|
|
6890
7086
|
* @example
|
|
6891
7087
|
* ```html
|
|
6892
|
-
* <
|
|
6893
|
-
* <!-- Custom snackbar with undo support -->
|
|
6894
|
-
* </div>
|
|
7088
|
+
* <button [dbxAction]="saveAction" [dbxActionSnackbar]="snackbarFn">Save</button>
|
|
6895
7089
|
* ```
|
|
6896
7090
|
*/
|
|
6897
7091
|
class DbxActionSnackbarDirective {
|
|
@@ -7035,18 +7229,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7035
7229
|
*
|
|
7036
7230
|
* NOTE: This directive only works with UI-Router (not Angular Router).
|
|
7037
7231
|
*
|
|
7038
|
-
* @
|
|
7039
|
-
*
|
|
7040
|
-
*
|
|
7041
|
-
*
|
|
7042
|
-
*
|
|
7232
|
+
* @dbxWebComponent
|
|
7233
|
+
* @dbxWebSlug action-transition-safety
|
|
7234
|
+
* @dbxWebCategory action
|
|
7235
|
+
* @dbxWebRelated action-confirm
|
|
7236
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7237
|
+
* @dbxWebMinimalExample ```html
|
|
7238
|
+
* <form [dbxActionTransitionSafety]></form>
|
|
7043
7239
|
* ```
|
|
7044
7240
|
*
|
|
7045
7241
|
* @example
|
|
7046
7242
|
* ```html
|
|
7047
|
-
* <form [dbxAction]="
|
|
7048
|
-
* <!-- Auto-triggers save on navigation if possible, otherwise shows dialog -->
|
|
7049
|
-
* </form>
|
|
7243
|
+
* <form [dbxAction]="formAction" dbxActionTransitionSafety>...</form>
|
|
7050
7244
|
* ```
|
|
7051
7245
|
*/
|
|
7052
7246
|
class DbxActionTransitionSafetyDirective {
|
|
@@ -7165,11 +7359,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7165
7359
|
* This directive works with action triggering only, not button clicks.
|
|
7166
7360
|
* For button-based confirmation, use an appPromptConfirmButton directive instead.
|
|
7167
7361
|
*
|
|
7362
|
+
* @dbxWebComponent
|
|
7363
|
+
* @dbxWebSlug action-confirm
|
|
7364
|
+
* @dbxWebCategory action
|
|
7365
|
+
* @dbxWebRelated action-snackbar, prompt-confirm
|
|
7366
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7367
|
+
* @dbxWebMinimalExample ```html
|
|
7368
|
+
* <div [dbxActionConfirm]="cfg"></div>
|
|
7369
|
+
* ```
|
|
7370
|
+
*
|
|
7168
7371
|
* @example
|
|
7169
7372
|
* ```html
|
|
7170
|
-
* <
|
|
7171
|
-
* ...
|
|
7172
|
-
* </form>
|
|
7373
|
+
* <button [dbxAction]="deleteAction" [dbxActionConfirm]="{ header: 'Delete account?', confirmText: 'Delete' }">Delete</button>
|
|
7173
7374
|
* ```
|
|
7174
7375
|
*/
|
|
7175
7376
|
class DbxActionConfirmDirective extends AbstractPromptConfirmDirective {
|
|
@@ -7222,18 +7423,18 @@ const DEFAULT_ACTION_KEY_TRIGGER = 'enter';
|
|
|
7222
7423
|
* Triggers the parent action context when a specific keyboard key is released.
|
|
7223
7424
|
* Defaults to the "enter" key. Key names should be lowercase.
|
|
7224
7425
|
*
|
|
7225
|
-
* @
|
|
7226
|
-
*
|
|
7227
|
-
*
|
|
7228
|
-
*
|
|
7229
|
-
*
|
|
7426
|
+
* @dbxWebComponent
|
|
7427
|
+
* @dbxWebSlug action-key-trigger
|
|
7428
|
+
* @dbxWebCategory action
|
|
7429
|
+
* @dbxWebRelated action-confirm, action-snackbar
|
|
7430
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7431
|
+
* @dbxWebMinimalExample ```html
|
|
7432
|
+
* <div [dbxActionKeyTrigger]="'enter'"></div>
|
|
7230
7433
|
* ```
|
|
7231
7434
|
*
|
|
7232
7435
|
* @example
|
|
7233
7436
|
* ```html
|
|
7234
|
-
* <
|
|
7235
|
-
* <!-- Pressing Escape triggers the action -->
|
|
7236
|
-
* </div>
|
|
7437
|
+
* <form [dbxAction]="saveAction" [dbxActionKeyTrigger]="'cmd+s'">...</form>
|
|
7237
7438
|
* ```
|
|
7238
7439
|
*/
|
|
7239
7440
|
class DbxActionKeyTriggerDirective {
|
|
@@ -7394,9 +7595,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7394
7595
|
* Supports an optional auto-dismiss timer that pauses while an error detail popover is open.
|
|
7395
7596
|
* Typically opened via {@link DbxErrorSnackbarService} or the static {@link DbxErrorSnackbarComponent.showErrorSnackbar} method.
|
|
7396
7597
|
*
|
|
7598
|
+
* @dbxWebComponent
|
|
7599
|
+
* @dbxWebSlug error-snackbar
|
|
7600
|
+
* @dbxWebCategory feedback
|
|
7601
|
+
* @dbxWebRelated error
|
|
7602
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7603
|
+
* @dbxWebMinimalExample ```html
|
|
7604
|
+
* <dbx-error-snackbar></dbx-error-snackbar>
|
|
7605
|
+
* ```
|
|
7606
|
+
*
|
|
7397
7607
|
* @example
|
|
7398
|
-
* ```
|
|
7399
|
-
*
|
|
7608
|
+
* ```html
|
|
7609
|
+
* // Triggered via DbxErrorSnackbarService.showError(error)
|
|
7400
7610
|
* ```
|
|
7401
7611
|
*/
|
|
7402
7612
|
class DbxErrorSnackbarComponent {
|
|
@@ -7518,13 +7728,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
7518
7728
|
* Subscribes to the action context's error stream and shows a snackbar via {@link DbxErrorSnackbarService}
|
|
7519
7729
|
* whenever an error occurs. Accepts an optional configuration or a duration in milliseconds as input.
|
|
7520
7730
|
*
|
|
7731
|
+
* @dbxWebComponent
|
|
7732
|
+
* @dbxWebSlug action-snackbar-error
|
|
7733
|
+
* @dbxWebCategory action
|
|
7734
|
+
* @dbxWebRelated action-snackbar
|
|
7735
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
7736
|
+
* @dbxWebMinimalExample ```html
|
|
7737
|
+
* <div [dbxActionSnackbarError]></div>
|
|
7738
|
+
* ```
|
|
7739
|
+
*
|
|
7521
7740
|
* @example
|
|
7522
7741
|
* ```html
|
|
7523
|
-
*
|
|
7524
|
-
* <div dbxAction [dbxActionSnackbarError]="5000">...</div>
|
|
7525
|
-
*
|
|
7526
|
-
* <!-- Default behavior, no auto-dismiss -->
|
|
7527
|
-
* <div dbxAction dbxActionSnackbarError>...</div>
|
|
7742
|
+
* <button [dbxAction]="saveAction" dbxActionSnackbarError>Save</button>
|
|
7528
7743
|
* ```
|
|
7529
7744
|
*/
|
|
7530
7745
|
class DbxActionSnackbarErrorDirective {
|
|
@@ -8315,15 +8530,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
8315
8530
|
* Wraps content in a recessed "pit" container with optional scrollable overflow and rounded corners.
|
|
8316
8531
|
* Useful for displaying bounded content areas such as lists or previews with a constrained height.
|
|
8317
8532
|
*
|
|
8533
|
+
* @dbxWebComponent
|
|
8534
|
+
* @dbxWebSlug content-pit
|
|
8535
|
+
* @dbxWebCategory layout
|
|
8536
|
+
* @dbxWebRelated content-box, content-elevate
|
|
8537
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
8538
|
+
* @dbxWebMinimalExample ```html
|
|
8539
|
+
* <dbx-content-pit>Body</dbx-content-pit>
|
|
8540
|
+
* ```
|
|
8541
|
+
*
|
|
8318
8542
|
* @example
|
|
8319
8543
|
* ```html
|
|
8320
|
-
* <
|
|
8321
|
-
* <p>Scrollable pit with medium height and rounded corners.</p>
|
|
8322
|
-
* </dbx-content-pit>
|
|
8323
|
-
*
|
|
8324
|
-
* <div dbxContentPit scrollable="large">
|
|
8325
|
-
* <p>Large scrollable pit area.</p>
|
|
8326
|
-
* </div>
|
|
8544
|
+
* <div dbxContentPit>Inset block</div>
|
|
8327
8545
|
* ```
|
|
8328
8546
|
*/
|
|
8329
8547
|
class DbxContentPitDirective {
|
|
@@ -9244,10 +9462,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
9244
9462
|
/**
|
|
9245
9463
|
* Renders a horizontal bar with a themed background color, used to visually group or separate content.
|
|
9246
9464
|
*
|
|
9465
|
+
* @dbxWebComponent
|
|
9466
|
+
* @dbxWebSlug bar
|
|
9467
|
+
* @dbxWebCategory layout
|
|
9468
|
+
* @dbxWebRelated bar-header, pagebar, button-spacer
|
|
9469
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
9470
|
+
* @dbxWebMinimalExample ```html
|
|
9471
|
+
* <dbx-bar><button>A</button><button>B</button></dbx-bar>
|
|
9472
|
+
* ```
|
|
9473
|
+
*
|
|
9247
9474
|
* @example
|
|
9248
9475
|
* ```html
|
|
9249
|
-
* <dbx-bar
|
|
9250
|
-
* <
|
|
9476
|
+
* <dbx-bar>
|
|
9477
|
+
* <dbx-button text="Save" raised color="primary"></dbx-button>
|
|
9478
|
+
* <dbx-button-spacer></dbx-button-spacer>
|
|
9479
|
+
* <dbx-button text="Cancel" stroked></dbx-button>
|
|
9251
9480
|
* </dbx-bar>
|
|
9252
9481
|
* ```
|
|
9253
9482
|
*/
|
|
@@ -9275,9 +9504,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
9275
9504
|
/**
|
|
9276
9505
|
* A themed header bar displaying an optional icon and text label, useful as a section divider.
|
|
9277
9506
|
*
|
|
9507
|
+
* @dbxWebComponent
|
|
9508
|
+
* @dbxWebSlug bar-header
|
|
9509
|
+
* @dbxWebCategory layout
|
|
9510
|
+
* @dbxWebRelated bar, pagebar
|
|
9511
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
9512
|
+
* @dbxWebMinimalExample ```html
|
|
9513
|
+
* <dbx-bar-header header="Title"></dbx-bar-header>
|
|
9514
|
+
* ```
|
|
9515
|
+
*
|
|
9278
9516
|
* @example
|
|
9279
9517
|
* ```html
|
|
9280
|
-
* <dbx-bar-header
|
|
9518
|
+
* <dbx-bar-header header="Members" icon="group">
|
|
9519
|
+
* <button mat-icon-button><mat-icon>add</mat-icon></button>
|
|
9520
|
+
* </dbx-bar-header>
|
|
9281
9521
|
* ```
|
|
9282
9522
|
*/
|
|
9283
9523
|
class DbxBarHeaderComponent {
|
|
@@ -9324,11 +9564,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
9324
9564
|
/**
|
|
9325
9565
|
* A page-level toolbar with left and right content slots, built on Angular Material's mat-toolbar.
|
|
9326
9566
|
*
|
|
9567
|
+
* @dbxWebComponent
|
|
9568
|
+
* @dbxWebSlug pagebar
|
|
9569
|
+
* @dbxWebCategory layout
|
|
9570
|
+
* @dbxWebRelated bar, navbar
|
|
9571
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks, dbx__ref__dbx-app-structure
|
|
9572
|
+
* @dbxWebMinimalExample ```html
|
|
9573
|
+
* <dbx-pagebar>Title</dbx-pagebar>
|
|
9574
|
+
* ```
|
|
9575
|
+
*
|
|
9327
9576
|
* @example
|
|
9328
9577
|
* ```html
|
|
9329
|
-
* <dbx-pagebar
|
|
9330
|
-
* <
|
|
9331
|
-
* <
|
|
9578
|
+
* <dbx-pagebar>
|
|
9579
|
+
* <h2>Settings</h2>
|
|
9580
|
+
* <span class="spacer"></span>
|
|
9581
|
+
* <button mat-stroked-button>Save</button>
|
|
9332
9582
|
* </dbx-pagebar>
|
|
9333
9583
|
* ```
|
|
9334
9584
|
*/
|
|
@@ -9448,6 +9698,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
9448
9698
|
*
|
|
9449
9699
|
* Supports a named content slot `[sectionHeader]` for custom header actions beside the title.
|
|
9450
9700
|
*
|
|
9701
|
+
* @dbxWebComponent
|
|
9702
|
+
* @dbxWebSlug card-box
|
|
9703
|
+
* @dbxWebCategory card
|
|
9704
|
+
* @dbxWebRelated card-box-container, section
|
|
9705
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
9706
|
+
* @dbxWebMinimalExample ```html
|
|
9707
|
+
* <dbx-card-box header="Title"><p>Body</p></dbx-card-box>
|
|
9708
|
+
* ```
|
|
9709
|
+
*
|
|
9451
9710
|
* @example
|
|
9452
9711
|
* ```html
|
|
9453
9712
|
* <dbx-card-box [header]="'Settings'" [icon]="'settings'">
|
|
@@ -9518,18 +9777,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
9518
9777
|
*
|
|
9519
9778
|
* Can be used as an element or as an attribute directive on any host element.
|
|
9520
9779
|
*
|
|
9521
|
-
* @
|
|
9522
|
-
*
|
|
9523
|
-
*
|
|
9524
|
-
*
|
|
9525
|
-
*
|
|
9780
|
+
* @dbxWebComponent
|
|
9781
|
+
* @dbxWebSlug card-box-container
|
|
9782
|
+
* @dbxWebCategory card
|
|
9783
|
+
* @dbxWebRelated card-box
|
|
9784
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
9785
|
+
* @dbxWebMinimalExample ```html
|
|
9786
|
+
* <div dbxCardBoxContainer><dbx-card-box></dbx-card-box></div>
|
|
9526
9787
|
* ```
|
|
9527
9788
|
*
|
|
9528
9789
|
* @example
|
|
9529
9790
|
* ```html
|
|
9530
|
-
* <
|
|
9531
|
-
* <
|
|
9532
|
-
*
|
|
9791
|
+
* <dbx-card-box-container>
|
|
9792
|
+
* <dbx-card-box header="One"></dbx-card-box>
|
|
9793
|
+
* <dbx-card-box header="Two"></dbx-card-box>
|
|
9794
|
+
* </dbx-card-box-container>
|
|
9533
9795
|
* ```
|
|
9534
9796
|
*/
|
|
9535
9797
|
class DbxCardBoxContainerDirective {
|
|
@@ -9711,11 +9973,25 @@ function provideTwoColumnsContext() {
|
|
|
9711
9973
|
*
|
|
9712
9974
|
* Requires a {@link TwoColumnsContextStore} to be provided by a parent component or directive.
|
|
9713
9975
|
*
|
|
9976
|
+
* @dbxWebComponent
|
|
9977
|
+
* @dbxWebSlug two-column
|
|
9978
|
+
* @dbxWebCategory layout
|
|
9979
|
+
* @dbxWebRelated two-column-right
|
|
9980
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks, dbx__ref__dbx-app-structure
|
|
9981
|
+
* @dbxWebMinimalExample ```html
|
|
9982
|
+
* <dbx-two-column>
|
|
9983
|
+
* <div left>Sidebar</div>
|
|
9984
|
+
* <div right>Main</div>
|
|
9985
|
+
* </dbx-two-column>
|
|
9986
|
+
* ```
|
|
9987
|
+
*
|
|
9714
9988
|
* @example
|
|
9715
9989
|
* ```html
|
|
9716
|
-
* <dbx-two-column [
|
|
9717
|
-
* <
|
|
9718
|
-
* <
|
|
9990
|
+
* <dbx-two-column [inSectionPage]="true">
|
|
9991
|
+
* <dbx-list left [state$]="state$" [config]="listConfig" />
|
|
9992
|
+
* <dbx-two-column-right right header="Detail">
|
|
9993
|
+
* <p>Selected item detail.</p>
|
|
9994
|
+
* </dbx-two-column-right>
|
|
9719
9995
|
* </dbx-two-column>
|
|
9720
9996
|
* ```
|
|
9721
9997
|
*/
|
|
@@ -10424,10 +10700,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
10424
10700
|
*
|
|
10425
10701
|
* Automatically selects the active anchor based on the current route and supports configurable breakpoints.
|
|
10426
10702
|
*
|
|
10703
|
+
* @dbxWebComponent
|
|
10704
|
+
* @dbxWebSlug navbar
|
|
10705
|
+
* @dbxWebCategory navigation
|
|
10706
|
+
* @dbxWebRelated anchor, sidenav, pagebar
|
|
10707
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
10708
|
+
* @dbxWebMinimalExample ```html
|
|
10709
|
+
* <dbx-navbar [anchors]="anchors"></dbx-navbar>
|
|
10710
|
+
* ```
|
|
10711
|
+
*
|
|
10427
10712
|
* @example
|
|
10428
10713
|
* ```html
|
|
10429
|
-
* <dbx-navbar [anchors]="
|
|
10430
|
-
* <dbx-navbar [anchors]="navAnchors" mode="icon" [showMenuCaret]="true"></dbx-navbar>
|
|
10714
|
+
* <dbx-navbar [anchors]="topNav"></dbx-navbar>
|
|
10431
10715
|
* ```
|
|
10432
10716
|
*/
|
|
10433
10717
|
class DbxNavbarComponent extends AbstractTransitionDirective {
|
|
@@ -10568,13 +10852,18 @@ function resolveSideNavDisplayMode(mode, allowedModes) {
|
|
|
10568
10852
|
* Renders a Material sidenav with an anchor list and automatically transitions between mobile overlay, icon rail, and full sidebar modes.
|
|
10569
10853
|
* Closes automatically on route transitions in mobile mode.
|
|
10570
10854
|
*
|
|
10855
|
+
* @dbxWebComponent
|
|
10856
|
+
* @dbxWebSlug sidenav
|
|
10857
|
+
* @dbxWebCategory navigation
|
|
10858
|
+
* @dbxWebRelated sidenav-page, anchor-list
|
|
10859
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
10860
|
+
* @dbxWebMinimalExample ```html
|
|
10861
|
+
* <dbx-sidenav [anchors]="anchors"></dbx-sidenav>
|
|
10862
|
+
* ```
|
|
10863
|
+
*
|
|
10571
10864
|
* @example
|
|
10572
10865
|
* ```html
|
|
10573
|
-
* <dbx-sidenav [anchors]="
|
|
10574
|
-
* <div top>Header Content</div>
|
|
10575
|
-
* <div bottom>Footer Content</div>
|
|
10576
|
-
* <router-outlet></router-outlet>
|
|
10577
|
-
* </dbx-sidenav>
|
|
10866
|
+
* <dbx-sidenav [anchors]="sidenavAnchors"></dbx-sidenav>
|
|
10578
10867
|
* ```
|
|
10579
10868
|
*/
|
|
10580
10869
|
class DbxSidenavComponent extends AbstractTransitionWatcherDirective {
|
|
@@ -10843,15 +11132,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
10843
11132
|
*
|
|
10844
11133
|
* When `mobileOnly` is true, the pagebar is hidden on non-mobile screen sizes.
|
|
10845
11134
|
*
|
|
11135
|
+
* @dbxWebComponent
|
|
11136
|
+
* @dbxWebSlug sidenav-page
|
|
11137
|
+
* @dbxWebCategory navigation
|
|
11138
|
+
* @dbxWebRelated sidenav, navbar
|
|
11139
|
+
* @dbxWebSkillRefs dbx__ref__dbx-app-structure
|
|
11140
|
+
* @dbxWebMinimalExample ```html
|
|
11141
|
+
* <dbx-sidenav-page>Content</dbx-sidenav-page>
|
|
11142
|
+
* ```
|
|
11143
|
+
*
|
|
10846
11144
|
* @example
|
|
10847
11145
|
* ```html
|
|
10848
|
-
* <dbx-sidenav
|
|
10849
|
-
* <
|
|
10850
|
-
*
|
|
10851
|
-
* <span navRight>Right Nav Content</span>
|
|
10852
|
-
* <p>Page body content</p>
|
|
10853
|
-
* </dbx-sidenav-page>
|
|
10854
|
-
* </dbx-sidenav>
|
|
11146
|
+
* <dbx-sidenav-page>
|
|
11147
|
+
* <ui-view></ui-view>
|
|
11148
|
+
* </dbx-sidenav-page>
|
|
10855
11149
|
* ```
|
|
10856
11150
|
*/
|
|
10857
11151
|
class DbxSidenavPageComponent {
|
|
@@ -11076,13 +11370,20 @@ function provideDbxRouterWebUiRouterProviderConfig() {
|
|
|
11076
11370
|
* When this component is created, it automatically registers itself with the {@link TwoColumnsContextStore}
|
|
11077
11371
|
* to indicate that right-side content is present.
|
|
11078
11372
|
*
|
|
11373
|
+
* @dbxWebComponent
|
|
11374
|
+
* @dbxWebSlug two-column-right
|
|
11375
|
+
* @dbxWebCategory layout
|
|
11376
|
+
* @dbxWebRelated two-column
|
|
11377
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks, dbx__ref__dbx-app-structure
|
|
11378
|
+
* @dbxWebMinimalExample ```html
|
|
11379
|
+
* <dbx-two-column-right>Body</dbx-two-column-right>
|
|
11380
|
+
* ```
|
|
11381
|
+
*
|
|
11079
11382
|
* @example
|
|
11080
11383
|
* ```html
|
|
11081
|
-
* <dbx-two-column-right header="Detail
|
|
11082
|
-
* <
|
|
11083
|
-
*
|
|
11084
|
-
* </div>
|
|
11085
|
-
* <p>Right column content here</p>
|
|
11384
|
+
* <dbx-two-column-right header="Item Detail">
|
|
11385
|
+
* <button nav mat-icon-button><mat-icon>delete</mat-icon></button>
|
|
11386
|
+
* <p>Body content</p>
|
|
11086
11387
|
* </dbx-two-column-right>
|
|
11087
11388
|
* ```
|
|
11088
11389
|
*/
|
|
@@ -11328,15 +11629,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11328
11629
|
* Wraps content in a box container with optional elevation (card-like shadow) and wide layout.
|
|
11329
11630
|
* Both `elevate` and `wide` default to `true`.
|
|
11330
11631
|
*
|
|
11632
|
+
* @dbxWebComponent
|
|
11633
|
+
* @dbxWebSlug content-box
|
|
11634
|
+
* @dbxWebCategory layout
|
|
11635
|
+
* @dbxWebRelated content, content-elevate, content-pit
|
|
11636
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11637
|
+
* @dbxWebMinimalExample ```html
|
|
11638
|
+
* <div dbxContentBox>Body</div>
|
|
11639
|
+
* ```
|
|
11640
|
+
*
|
|
11331
11641
|
* @example
|
|
11332
11642
|
* ```html
|
|
11333
11643
|
* <dbx-content-box>
|
|
11334
|
-
* <p>
|
|
11644
|
+
* <p>Summary content</p>
|
|
11335
11645
|
* </dbx-content-box>
|
|
11336
|
-
*
|
|
11337
|
-
* <div dbxContentBox [elevate]="false" [wide]="false">
|
|
11338
|
-
* <p>Flat, non-wide box content.</p>
|
|
11339
|
-
* </div>
|
|
11340
11646
|
* ```
|
|
11341
11647
|
*/
|
|
11342
11648
|
class DbxContentBoxDirective {
|
|
@@ -11361,14 +11667,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11361
11667
|
/**
|
|
11362
11668
|
* Sets the host element to fill the available page height. Use as a wrapper for page-level content blocks.
|
|
11363
11669
|
*
|
|
11670
|
+
* @dbxWebComponent
|
|
11671
|
+
* @dbxWebSlug content
|
|
11672
|
+
* @dbxWebCategory layout
|
|
11673
|
+
* @dbxWebRelated content-container, content-page, content-box
|
|
11674
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11675
|
+
* @dbxWebMinimalExample ```html
|
|
11676
|
+
* <dbx-content>Body</dbx-content>
|
|
11677
|
+
* ```
|
|
11678
|
+
*
|
|
11364
11679
|
* @example
|
|
11365
11680
|
* ```html
|
|
11366
|
-
* <dbx-content>
|
|
11367
|
-
* <p>This content fills the page height.</p>
|
|
11368
|
-
* </dbx-content>
|
|
11369
|
-
*
|
|
11370
11681
|
* <div dbxContent>
|
|
11371
|
-
* <p>
|
|
11682
|
+
* <p>Standard content body</p>
|
|
11372
11683
|
* </div>
|
|
11373
11684
|
* ```
|
|
11374
11685
|
*/
|
|
@@ -11391,15 +11702,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11391
11702
|
* Applies elevation (box-shadow) styling to the host element, giving it a raised card appearance.
|
|
11392
11703
|
* Elevation is enabled by default and can be toggled off.
|
|
11393
11704
|
*
|
|
11705
|
+
* @dbxWebComponent
|
|
11706
|
+
* @dbxWebSlug content-elevate
|
|
11707
|
+
* @dbxWebCategory layout
|
|
11708
|
+
* @dbxWebRelated content-box, content-pit
|
|
11709
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11710
|
+
* @dbxWebMinimalExample ```html
|
|
11711
|
+
* <dbx-content-elevate>Body</dbx-content-elevate>
|
|
11712
|
+
* ```
|
|
11713
|
+
*
|
|
11394
11714
|
* @example
|
|
11395
11715
|
* ```html
|
|
11396
|
-
* <
|
|
11397
|
-
* <p>Elevated content with shadow.</p>
|
|
11398
|
-
* </dbx-content-elevate>
|
|
11399
|
-
*
|
|
11400
|
-
* <div dbxContentElevate [elevate]="false">
|
|
11401
|
-
* <p>Flat content, no elevation.</p>
|
|
11402
|
-
* </div>
|
|
11716
|
+
* <div dbxContentElevate>Highlighted block</div>
|
|
11403
11717
|
* ```
|
|
11404
11718
|
*/
|
|
11405
11719
|
class DbxContentElevateDirective {
|
|
@@ -11423,14 +11737,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11423
11737
|
* Sets the host element to fill the full page height with page-level content styling.
|
|
11424
11738
|
* Similar to `DbxContentDirective` but applies the `dbx-content-page` class for page-specific layout.
|
|
11425
11739
|
*
|
|
11740
|
+
* @dbxWebComponent
|
|
11741
|
+
* @dbxWebSlug content-page
|
|
11742
|
+
* @dbxWebCategory layout
|
|
11743
|
+
* @dbxWebRelated content-container, section-page
|
|
11744
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11745
|
+
* @dbxWebMinimalExample ```html
|
|
11746
|
+
* <dbx-content-page>Page</dbx-content-page>
|
|
11747
|
+
* ```
|
|
11748
|
+
*
|
|
11426
11749
|
* @example
|
|
11427
11750
|
* ```html
|
|
11428
|
-
* <dbx-content-page>
|
|
11429
|
-
* <p>Full-page content layout.</p>
|
|
11430
|
-
* </dbx-content-page>
|
|
11431
|
-
*
|
|
11432
11751
|
* <div dbxContentPage>
|
|
11433
|
-
* <
|
|
11752
|
+
* <dbx-section-page header="Dashboard"><p>...</p></dbx-section-page>
|
|
11434
11753
|
* </div>
|
|
11435
11754
|
* ```
|
|
11436
11755
|
*/
|
|
@@ -11595,11 +11914,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11595
11914
|
* that can be used to adjust styling. When `breakToColumn` is enabled, items will stack vertically
|
|
11596
11915
|
* on small screens.
|
|
11597
11916
|
*
|
|
11917
|
+
* @dbxWebComponent
|
|
11918
|
+
* @dbxWebSlug flex-group
|
|
11919
|
+
* @dbxWebCategory layout
|
|
11920
|
+
* @dbxWebRelated flex-size, bar
|
|
11921
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11922
|
+
* @dbxWebMinimalExample ```html
|
|
11923
|
+
* <div dbxFlexGroup><div dbxFlexSize="1">A</div></div>
|
|
11924
|
+
* ```
|
|
11925
|
+
*
|
|
11598
11926
|
* @example
|
|
11599
11927
|
* ```html
|
|
11600
|
-
* <div dbxFlexGroup
|
|
11601
|
-
* <div
|
|
11602
|
-
* <div
|
|
11928
|
+
* <div dbxFlexGroup breakpoint="sm">
|
|
11929
|
+
* <div dbxFlexSize="2">Wide</div>
|
|
11930
|
+
* <div dbxFlexSize="1">Narrow</div>
|
|
11603
11931
|
* </div>
|
|
11604
11932
|
* ```
|
|
11605
11933
|
*/
|
|
@@ -11644,11 +11972,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
11644
11972
|
* Applies a `dbx-flex-{size}` CSS class to the host element based on the given {@link DbxFlexSize} value.
|
|
11645
11973
|
* Use within a {@link DbxFlexGroupDirective} to control how much row width this element occupies.
|
|
11646
11974
|
*
|
|
11975
|
+
* @dbxWebComponent
|
|
11976
|
+
* @dbxWebSlug flex-size
|
|
11977
|
+
* @dbxWebCategory layout
|
|
11978
|
+
* @dbxWebRelated flex-group
|
|
11979
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
11980
|
+
* @dbxWebMinimalExample ```html
|
|
11981
|
+
* <div dbxFlexSize="1"></div>
|
|
11982
|
+
* ```
|
|
11983
|
+
*
|
|
11647
11984
|
* @example
|
|
11648
11985
|
* ```html
|
|
11649
11986
|
* <div dbxFlexGroup>
|
|
11650
|
-
* <div
|
|
11651
|
-
* <div
|
|
11987
|
+
* <div dbxFlexSize="2">Twice as wide</div>
|
|
11988
|
+
* <div dbxFlexSize="1">Narrow</div>
|
|
11652
11989
|
* </div>
|
|
11653
11990
|
* ```
|
|
11654
11991
|
*/
|
|
@@ -12155,9 +12492,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
12155
12492
|
/**
|
|
12156
12493
|
* Renders a value-based list view using a configuration input. Must be used within a parent {@link DbxListView} context.
|
|
12157
12494
|
*
|
|
12495
|
+
* @dbxWebComponent
|
|
12496
|
+
* @dbxWebSlug list-view
|
|
12497
|
+
* @dbxWebCategory list
|
|
12498
|
+
* @dbxWebRelated list, selection-list-view, list-grid-view, list-accordion-view
|
|
12499
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
12500
|
+
* @dbxWebMinimalExample ```html
|
|
12501
|
+
* <dbx-list-view [config]="rowConfig"></dbx-list-view>
|
|
12502
|
+
* ```
|
|
12503
|
+
*
|
|
12158
12504
|
* @example
|
|
12159
12505
|
* ```html
|
|
12160
|
-
* <dbx-list-view [config]="
|
|
12506
|
+
* <dbx-list-view [config]="rowConfig"></dbx-list-view>
|
|
12161
12507
|
* ```
|
|
12162
12508
|
*/
|
|
12163
12509
|
class DbxValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
@@ -12373,9 +12719,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
12373
12719
|
* Renders a value list as an accordion using a configuration input. Each item renders its own expansion panel.
|
|
12374
12720
|
* Requires a parent {@link DbxListView} context.
|
|
12375
12721
|
*
|
|
12722
|
+
* @dbxWebComponent
|
|
12723
|
+
* @dbxWebSlug list-accordion-view
|
|
12724
|
+
* @dbxWebCategory list
|
|
12725
|
+
* @dbxWebRelated list, list-view
|
|
12726
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
12727
|
+
* @dbxWebMinimalExample ```html
|
|
12728
|
+
* <dbx-list-accordion-view [config]="rowConfig"></dbx-list-accordion-view>
|
|
12729
|
+
* ```
|
|
12730
|
+
*
|
|
12376
12731
|
* @example
|
|
12377
12732
|
* ```html
|
|
12378
|
-
* <dbx-list-accordion-view [config]="
|
|
12733
|
+
* <dbx-list-accordion-view [config]="rowConfig"></dbx-list-accordion-view>
|
|
12379
12734
|
* ```
|
|
12380
12735
|
*/
|
|
12381
12736
|
class DbxValueListAccordionViewComponent extends AbstractDbxValueListViewDirective {
|
|
@@ -12667,9 +13022,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
12667
13022
|
/**
|
|
12668
13023
|
* Renders a value list as a CSS grid using a configuration input. Requires a parent {@link DbxListView} context.
|
|
12669
13024
|
*
|
|
13025
|
+
* @dbxWebComponent
|
|
13026
|
+
* @dbxWebSlug list-grid-view
|
|
13027
|
+
* @dbxWebCategory list
|
|
13028
|
+
* @dbxWebRelated list, list-view
|
|
13029
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
13030
|
+
* @dbxWebMinimalExample ```html
|
|
13031
|
+
* <dbx-list-grid-view [config]="cellConfig"></dbx-list-grid-view>
|
|
13032
|
+
* ```
|
|
13033
|
+
*
|
|
12670
13034
|
* @example
|
|
12671
13035
|
* ```html
|
|
12672
|
-
* <dbx-list-grid-view [config]="
|
|
13036
|
+
* <dbx-list-grid-view [config]="cellConfig" dbxListGridSize="md"></dbx-list-grid-view>
|
|
12673
13037
|
* ```
|
|
12674
13038
|
*/
|
|
12675
13039
|
class DbxValueListGridViewComponent extends AbstractDbxValueListViewDirective {
|
|
@@ -12792,9 +13156,18 @@ class AbstractDbxListTitleGroupHeaderComponent {
|
|
|
12792
13156
|
* Default group header component that displays a title, optional icon, and optional hint text.
|
|
12793
13157
|
* Used automatically by {@link DbxListTitleGroupDirective} unless a custom header component is specified.
|
|
12794
13158
|
*
|
|
13159
|
+
* @dbxWebComponent
|
|
13160
|
+
* @dbxWebSlug list-title-group-header
|
|
13161
|
+
* @dbxWebCategory list
|
|
13162
|
+
* @dbxWebRelated list, list-view
|
|
13163
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
13164
|
+
* @dbxWebMinimalExample ```html
|
|
13165
|
+
* <dbx-list-title-group-header></dbx-list-title-group-header>
|
|
13166
|
+
* ```
|
|
13167
|
+
*
|
|
12795
13168
|
* @example
|
|
12796
13169
|
* ```html
|
|
12797
|
-
* <dbx-list-
|
|
13170
|
+
* <dbx-list-view [config]="rowConfig" dbxListTitleGroup></dbx-list-view>
|
|
12798
13171
|
* ```
|
|
12799
13172
|
*/
|
|
12800
13173
|
class DbxListTitleGroupHeaderComponent extends AbstractDbxListTitleGroupHeaderComponent {
|
|
@@ -13030,11 +13403,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
13030
13403
|
/**
|
|
13031
13404
|
* Displays centered placeholder content within an empty list. Projects its content into a styled container.
|
|
13032
13405
|
*
|
|
13406
|
+
* @dbxWebComponent
|
|
13407
|
+
* @dbxWebSlug list-empty-content
|
|
13408
|
+
* @dbxWebCategory list
|
|
13409
|
+
* @dbxWebRelated list
|
|
13410
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
13411
|
+
* @dbxWebMinimalExample ```html
|
|
13412
|
+
* <dbx-list-empty-content>Empty</dbx-list-empty-content>
|
|
13413
|
+
* ```
|
|
13414
|
+
*
|
|
13033
13415
|
* @example
|
|
13034
13416
|
* ```html
|
|
13035
|
-
* <dbx-list
|
|
13036
|
-
* <
|
|
13037
|
-
*
|
|
13417
|
+
* <dbx-list [state$]="items$" [config]="listConfig">
|
|
13418
|
+
* <dbx-list-empty-content>
|
|
13419
|
+
* <p>No items yet — add one to get started.</p>
|
|
13420
|
+
* </dbx-list-empty-content>
|
|
13421
|
+
* </dbx-list>
|
|
13038
13422
|
* ```
|
|
13039
13423
|
*/
|
|
13040
13424
|
class DbxListEmptyContentComponent {
|
|
@@ -13109,11 +13493,18 @@ const DBX_LIST_DEFAULT_THROTTLE_SCROLL = 50;
|
|
|
13109
13493
|
*
|
|
13110
13494
|
* This component is typically wrapped by a higher-level component that provides its configuration via the `config` input.
|
|
13111
13495
|
*
|
|
13496
|
+
* @dbxWebComponent
|
|
13497
|
+
* @dbxWebSlug list
|
|
13498
|
+
* @dbxWebCategory list
|
|
13499
|
+
* @dbxWebRelated list-view, list-empty-content, list-grid-view, list-accordion-view, selection-list-view
|
|
13500
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
13501
|
+
* @dbxWebMinimalExample ```html
|
|
13502
|
+
* <dbx-list [state$]="items$" [config]="listConfig"></dbx-list>
|
|
13503
|
+
* ```
|
|
13504
|
+
*
|
|
13112
13505
|
* @example
|
|
13113
13506
|
* ```html
|
|
13114
|
-
* <dbx-list [state]="
|
|
13115
|
-
* <ng-container empty>No items found.</ng-container>
|
|
13116
|
-
* </dbx-list>
|
|
13507
|
+
* <dbx-list [state$]="items$" [config]="listConfig" (contentScrolled)="onScroll($event)"></dbx-list>
|
|
13117
13508
|
* ```
|
|
13118
13509
|
*/
|
|
13119
13510
|
class DbxListComponent {
|
|
@@ -13568,9 +13959,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
13568
13959
|
* Renders a selection-capable list view using a configuration input. Requires a parent {@link DbxListView} context.
|
|
13569
13960
|
* Switches between selection mode (with checkboxes) and view mode (standard list) based on the parent's selection mode.
|
|
13570
13961
|
*
|
|
13962
|
+
* @dbxWebComponent
|
|
13963
|
+
* @dbxWebSlug selection-list-view
|
|
13964
|
+
* @dbxWebCategory list
|
|
13965
|
+
* @dbxWebRelated list, list-view
|
|
13966
|
+
* @dbxWebSkillRefs dbx__ref__dbx-component-patterns
|
|
13967
|
+
* @dbxWebMinimalExample ```html
|
|
13968
|
+
* <dbx-selection-list-view [config]="rowConfig"></dbx-selection-list-view>
|
|
13969
|
+
* ```
|
|
13970
|
+
*
|
|
13571
13971
|
* @example
|
|
13572
13972
|
* ```html
|
|
13573
|
-
* <dbx-selection-list-view [config]="
|
|
13973
|
+
* <dbx-selection-list-view [config]="rowConfig" selectionMode="multi"></dbx-selection-list-view>
|
|
13574
13974
|
* ```
|
|
13575
13975
|
*/
|
|
13576
13976
|
class DbxSelectionValueListViewComponent extends AbstractDbxValueListViewDirective {
|
|
@@ -13705,15 +14105,23 @@ function provideDbxListViewWrapper(sourceType) {
|
|
|
13705
14105
|
* Displays an introductory message with a call-to-action button. When the button is clicked,
|
|
13706
14106
|
* the intro is replaced by the projected content. Useful for onboarding or first-time-use flows.
|
|
13707
14107
|
*
|
|
14108
|
+
* @dbxWebComponent
|
|
14109
|
+
* @dbxWebSlug intro-action-section
|
|
14110
|
+
* @dbxWebCategory feedback
|
|
14111
|
+
* @dbxWebRelated section, list-empty-content
|
|
14112
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
14113
|
+
* @dbxWebMinimalExample ```html
|
|
14114
|
+
* <dbx-intro-action-section hint="Welcome" action="Start"><p>Body</p></dbx-intro-action-section>
|
|
14115
|
+
* ```
|
|
14116
|
+
*
|
|
13708
14117
|
* @example
|
|
13709
14118
|
* ```html
|
|
13710
14119
|
* <dbx-intro-action-section
|
|
13711
14120
|
* hint="Welcome! Click below to get started."
|
|
13712
14121
|
* action="Get Started"
|
|
13713
|
-
* [showIntro]="
|
|
13714
|
-
* (showAction)="
|
|
13715
|
-
* <
|
|
13716
|
-
* <p>Main content shown after the action is clicked.</p>
|
|
14122
|
+
* [showIntro]="!hasOnboarded"
|
|
14123
|
+
* (showAction)="markOnboarded()">
|
|
14124
|
+
* <p>Main content shown after the action.</p>
|
|
13717
14125
|
* </dbx-intro-action-section>
|
|
13718
14126
|
* ```
|
|
13719
14127
|
*/
|
|
@@ -13782,14 +14190,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
13782
14190
|
* Supports nested section pages that retain proper fixed-height layout. Use for top-level
|
|
13783
14191
|
* page content that needs a prominent heading.
|
|
13784
14192
|
*
|
|
14193
|
+
* @dbxWebComponent
|
|
14194
|
+
* @dbxWebSlug section-page
|
|
14195
|
+
* @dbxWebCategory layout
|
|
14196
|
+
* @dbxWebRelated section, content-page
|
|
14197
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks, dbx__ref__dbx-app-structure
|
|
14198
|
+
* @dbxWebMinimalExample ```html
|
|
14199
|
+
* <dbx-section-page header="Page"><p>Body</p></dbx-section-page>
|
|
14200
|
+
* ```
|
|
14201
|
+
*
|
|
13785
14202
|
* @example
|
|
13786
14203
|
* ```html
|
|
13787
|
-
* <dbx-section-page header="
|
|
13788
|
-
* <p>
|
|
13789
|
-
* </dbx-section-page>
|
|
13790
|
-
*
|
|
13791
|
-
* <dbx-section-page header="Scrollable Body" scroll="body" hint="Only the body scrolls">
|
|
13792
|
-
* <div style="height: 2000px">Tall content</div>
|
|
14204
|
+
* <dbx-section-page header="Dashboard" icon="dashboard" scroll="body">
|
|
14205
|
+
* <p>Top-level page content.</p>
|
|
13793
14206
|
* </dbx-section-page>
|
|
13794
14207
|
* ```
|
|
13795
14208
|
*/
|
|
@@ -14301,11 +14714,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
14301
14714
|
*
|
|
14302
14715
|
* Use the `[header]` content slot for extra header-level content and default content for the detail area.
|
|
14303
14716
|
*
|
|
14717
|
+
* @dbxWebComponent
|
|
14718
|
+
* @dbxWebSlug detail-block
|
|
14719
|
+
* @dbxWebCategory text
|
|
14720
|
+
* @dbxWebRelated label-block
|
|
14721
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
14722
|
+
* @dbxWebMinimalExample ```html
|
|
14723
|
+
* <dbx-detail-block header="Label">Body</dbx-detail-block>
|
|
14724
|
+
* ```
|
|
14725
|
+
*
|
|
14304
14726
|
* @example
|
|
14305
14727
|
* ```html
|
|
14306
|
-
* <dbx-detail-block
|
|
14307
|
-
* <
|
|
14308
|
-
* <p>Detail content goes here.</p>
|
|
14728
|
+
* <dbx-detail-block header="Email" icon="mail">
|
|
14729
|
+
* <p>{{ user.email }}</p>
|
|
14309
14730
|
* </dbx-detail-block>
|
|
14310
14731
|
* ```
|
|
14311
14732
|
*/
|
|
@@ -14653,11 +15074,18 @@ const DBX_CHIP_DEFAULT_TONE = 18;
|
|
|
14653
15074
|
/**
|
|
14654
15075
|
* Renders a styled chip element with optional small, block, and color modes.
|
|
14655
15076
|
*
|
|
15077
|
+
* @dbxWebComponent
|
|
15078
|
+
* @dbxWebSlug chip
|
|
15079
|
+
* @dbxWebCategory text
|
|
15080
|
+
* @dbxWebRelated chip-list
|
|
15081
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
15082
|
+
* @dbxWebMinimalExample ```html
|
|
15083
|
+
* <dbx-chip text="Tag"></dbx-chip>
|
|
15084
|
+
* ```
|
|
15085
|
+
*
|
|
14656
15086
|
* @example
|
|
14657
15087
|
* ```html
|
|
14658
|
-
* <dbx-chip
|
|
14659
|
-
* <dbx-chip [block]="true">Full Width</dbx-chip>
|
|
14660
|
-
* <dbx-chip [color]="'primary'">Primary</dbx-chip>
|
|
15088
|
+
* <dbx-chip text="Active" icon="check" color="primary"></dbx-chip>
|
|
14661
15089
|
* ```
|
|
14662
15090
|
*/
|
|
14663
15091
|
class DbxChipDirective {
|
|
@@ -14740,10 +15168,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
14740
15168
|
*
|
|
14741
15169
|
* Uses {@link DbxChipDirective} internally with `dbx-chip-spacer` class for spacing.
|
|
14742
15170
|
*
|
|
15171
|
+
* @dbxWebComponent
|
|
15172
|
+
* @dbxWebSlug chip-list
|
|
15173
|
+
* @dbxWebCategory text
|
|
15174
|
+
* @dbxWebRelated chip
|
|
15175
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
15176
|
+
* @dbxWebMinimalExample ```html
|
|
15177
|
+
* <dbx-chip-list></dbx-chip-list>
|
|
15178
|
+
* ```
|
|
15179
|
+
*
|
|
14743
15180
|
* @example
|
|
14744
15181
|
* ```html
|
|
14745
|
-
* <dbx-chip-list
|
|
14746
|
-
*
|
|
15182
|
+
* <dbx-chip-list>
|
|
15183
|
+
* <dbx-chip text="Tag1"></dbx-chip>
|
|
15184
|
+
* <dbx-chip text="Tag2"></dbx-chip>
|
|
15185
|
+
* </dbx-chip-list>
|
|
14747
15186
|
* ```
|
|
14748
15187
|
*/
|
|
14749
15188
|
class DbxChipListComponent {
|
|
@@ -14988,10 +15427,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
14988
15427
|
*
|
|
14989
15428
|
* Clicking the text or the icon copies the text to the clipboard and optionally shows a snackbar confirmation.
|
|
14990
15429
|
*
|
|
15430
|
+
* @dbxWebComponent
|
|
15431
|
+
* @dbxWebSlug click-to-copy-text
|
|
15432
|
+
* @dbxWebCategory text
|
|
15433
|
+
* @dbxWebRelated chip
|
|
15434
|
+
* @dbxWebSkillRefs dbx__ref__dbx-ui-building-blocks
|
|
15435
|
+
* @dbxWebMinimalExample ```html
|
|
15436
|
+
* <dbx-click-to-copy-text [text]="value"></dbx-click-to-copy-text>
|
|
15437
|
+
* ```
|
|
15438
|
+
*
|
|
14991
15439
|
* @example
|
|
14992
15440
|
* ```html
|
|
14993
|
-
* <dbx-click-to-copy-text
|
|
14994
|
-
* <dbx-click-to-copy-text [clickIconToCopyOnly]="true">Click icon only</dbx-click-to-copy-text>
|
|
15441
|
+
* <dbx-click-to-copy-text [text]="userId"></dbx-click-to-copy-text>
|
|
14995
15442
|
* ```
|
|
14996
15443
|
*/
|
|
14997
15444
|
class DbxClickToCopyTextComponent {
|