@dereekb/dbx-web 13.43.0 → 14.0.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/eslint/index.esm.js +9 -5
- package/eslint/package.json +9 -9
- package/fesm2022/dereekb-dbx-web-calendar.mjs +14 -13
- package/fesm2022/dereekb-dbx-web-calendar.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-docs.mjs +30 -32
- package/fesm2022/dereekb-dbx-web-docs.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-mapbox.mjs +111 -99
- package/fesm2022/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-style-demo.mjs +90 -91
- package/fesm2022/dereekb-dbx-web-style-demo.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web-table.mjs +149 -157
- package/fesm2022/dereekb-dbx-web-table.mjs.map +1 -1
- package/fesm2022/dereekb-dbx-web.mjs +2663 -2672
- package/fesm2022/dereekb-dbx-web.mjs.map +1 -1
- package/package.json +20 -20
- package/types/dereekb-dbx-web-mapbox.d.ts +1 -5
- package/types/dereekb-dbx-web.d.ts +121 -321
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { asArray, cssClassesSet, useIterableOrValue, spaceSeparatedCssClasses, makeValuesGroupMap } from '@dereekb/util';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, Injectable, input, computed, Directive, InjectionToken, makeEnvironmentProviders, signal, viewChild, ElementRef, effect,
|
|
3
|
+
import { inject, Injectable, input, computed, Directive, InjectionToken, makeEnvironmentProviders, signal, Service, viewChild, ElementRef, effect, Component, provideEnvironmentInitializer } from '@angular/core';
|
|
4
4
|
import { toObservable } from '@angular/core/rxjs-interop';
|
|
5
5
|
import { DbxDetachService, DbxPopoverService, DbxStyleService, DbxButtonComponent, DbxFlexGroupDirective, DbxFlexSizeDirective, DbxButtonSpacerDirective, DbxColorService, DbxColorDirective, DBX_THEME_COLORS_MAIN, DBX_THEME_COLORS_EXTRA, DbxPagebarComponent, DbxBarDirective, DbxBarHeaderComponent, DbxAnchorListComponent } from '@dereekb/dbx-web';
|
|
6
6
|
import { NgComponentOutlet } from '@angular/common';
|
|
@@ -182,10 +182,10 @@ class DbxStyleDemoStyleLoaderService {
|
|
|
182
182
|
});
|
|
183
183
|
return mergeDbxStyleDemoStyleTemplates(resolved);
|
|
184
184
|
}
|
|
185
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
186
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoStyleLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
186
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoStyleLoaderService });
|
|
187
187
|
}
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoStyleLoaderService, decorators: [{
|
|
189
189
|
type: Injectable
|
|
190
190
|
}], ctorParameters: () => [] });
|
|
191
191
|
|
|
@@ -212,7 +212,8 @@ class DbxStyleDemoStyleLoaderDirective {
|
|
|
212
212
|
/**
|
|
213
213
|
* Template keys to resolve through the service, or a config object carrying inline templates.
|
|
214
214
|
*/
|
|
215
|
-
dbxStyleDemoStyleLoader = input(undefined,
|
|
215
|
+
dbxStyleDemoStyleLoader = input(undefined, /* @ts-ignore */
|
|
216
|
+
...(ngDevMode ? [{ debugName: "dbxStyleDemoStyleLoader" }] : /* istanbul ignore next */ []));
|
|
216
217
|
_mergedSignal = computed(() => {
|
|
217
218
|
const input = this.dbxStyleDemoStyleLoader();
|
|
218
219
|
const keysOrTemplates = isDbxStyleDemoStyleLoaderConfig(input) ? input.templates : input;
|
|
@@ -226,24 +227,26 @@ class DbxStyleDemoStyleLoaderDirective {
|
|
|
226
227
|
result = mergeDbxStyleDemoStyleTemplates(asArray(keysOrTemplates).filter(isDbxStyleDemoStyleTemplate));
|
|
227
228
|
}
|
|
228
229
|
return result;
|
|
229
|
-
},
|
|
230
|
+
}, /* @ts-ignore */
|
|
231
|
+
...(ngDevMode ? [{ debugName: "_mergedSignal" }] : /* istanbul ignore next */ []));
|
|
230
232
|
styleSignal = computed(() => {
|
|
231
233
|
const { style } = this._mergedSignal();
|
|
232
234
|
return Object.keys(style).length > 0 ? style : null;
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
}, /* @ts-ignore */
|
|
236
|
+
...(ngDevMode ? [{ debugName: "styleSignal" }] : /* istanbul ignore next */ []));
|
|
237
|
+
classesSignal = computed(() => spaceSeparatedCssClasses(this._mergedSignal().classes), /* @ts-ignore */
|
|
238
|
+
...(ngDevMode ? [{ debugName: "classesSignal" }] : /* istanbul ignore next */ []));
|
|
239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoStyleLoaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
240
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.4", type: DbxStyleDemoStyleLoaderDirective, isStandalone: true, selector: "[dbxStyleDemoStyleLoader]", inputs: { dbxStyleDemoStyleLoader: { classPropertyName: "dbxStyleDemoStyleLoader", publicName: "dbxStyleDemoStyleLoader", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classesSignal()", "style": "styleSignal()" } }, ngImport: i0 });
|
|
237
241
|
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoStyleLoaderDirective, decorators: [{
|
|
239
243
|
type: Directive,
|
|
240
244
|
args: [{
|
|
241
245
|
selector: '[dbxStyleDemoStyleLoader]',
|
|
242
246
|
host: {
|
|
243
247
|
'[class]': 'classesSignal()',
|
|
244
248
|
'[style]': 'styleSignal()'
|
|
245
|
-
}
|
|
246
|
-
standalone: true
|
|
249
|
+
}
|
|
247
250
|
}]
|
|
248
251
|
}], propDecorators: { dbxStyleDemoStyleLoader: [{ type: i0.Input, args: [{ isSignal: true, alias: "dbxStyleDemoStyleLoader", required: false }] }] } });
|
|
249
252
|
|
|
@@ -287,14 +290,14 @@ class DbxStyleDemoSectionRegistry {
|
|
|
287
290
|
sectionsSignal;
|
|
288
291
|
constructor() {
|
|
289
292
|
const groups = inject(DBX_STYLE_DEMO_SECTION_GROUP, { optional: true }) ?? [];
|
|
290
|
-
this.sectionsSignal = signal(groups.flatMap((group) => group.sections),
|
|
293
|
+
this.sectionsSignal = signal(groups.flatMap((group) => group.sections), /* @ts-ignore */
|
|
294
|
+
...(ngDevMode ? [{ debugName: "sectionsSignal" }] : /* istanbul ignore next */ []));
|
|
291
295
|
}
|
|
292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
293
|
-
static ɵprov = i0.ɵɵ
|
|
296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoSectionRegistry, deps: [], target: i0.ɵɵFactoryTarget.Service });
|
|
297
|
+
static ɵprov = i0.ɵɵngDeclareService({ minVersion: "22.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoSectionRegistry });
|
|
294
298
|
}
|
|
295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
296
|
-
type:
|
|
297
|
-
args: [{ providedIn: 'root' }]
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoSectionRegistry, decorators: [{
|
|
300
|
+
type: Service
|
|
298
301
|
}], ctorParameters: () => [] });
|
|
299
302
|
|
|
300
303
|
/**
|
|
@@ -414,42 +417,52 @@ class DbxStyleDemoControlsService {
|
|
|
414
417
|
_sectionsComponentClass = inject(DBX_STYLE_DEMO_SECTIONS_COMPONENT, { optional: true });
|
|
415
418
|
_styleService = inject(DbxStyleService, { optional: true });
|
|
416
419
|
_config = inject(DbxStyleDemoControlsServiceConfig, { optional: true });
|
|
417
|
-
_sectionEnabledOverrides = signal(new Map(),
|
|
418
|
-
|
|
419
|
-
|
|
420
|
+
_sectionEnabledOverrides = signal(new Map(), /* @ts-ignore */
|
|
421
|
+
...(ngDevMode ? [{ debugName: "_sectionEnabledOverrides" }] : /* istanbul ignore next */ []));
|
|
422
|
+
_activeTemplateKeysOverride = signal(undefined, /* @ts-ignore */
|
|
423
|
+
...(ngDevMode ? [{ debugName: "_activeTemplateKeysOverride" }] : /* istanbul ignore next */ []));
|
|
424
|
+
_defaultActiveTemplateKeys = signal([], /* @ts-ignore */
|
|
425
|
+
...(ngDevMode ? [{ debugName: "_defaultActiveTemplateKeys" }] : /* istanbul ignore next */ []));
|
|
420
426
|
/**
|
|
421
427
|
* True when a controls component is registered, gating the controls buttons.
|
|
422
428
|
*/
|
|
423
|
-
hasControlsSignal = signal(this._controlsComponentClass != null,
|
|
429
|
+
hasControlsSignal = signal(this._controlsComponentClass != null, /* @ts-ignore */
|
|
430
|
+
...(ngDevMode ? [{ debugName: "hasControlsSignal" }] : /* istanbul ignore next */ []));
|
|
424
431
|
/**
|
|
425
432
|
* True when a sections component is registered (and a popover service is available), gating the playground's
|
|
426
433
|
* "Sections" button.
|
|
427
434
|
*/
|
|
428
|
-
hasSectionsSignal = signal(this._sectionsComponentClass != null && this._popoverService != null,
|
|
435
|
+
hasSectionsSignal = signal(this._sectionsComponentClass != null && this._popoverService != null, /* @ts-ignore */
|
|
436
|
+
...(ngDevMode ? [{ debugName: "hasSectionsSignal" }] : /* istanbul ignore next */ []));
|
|
429
437
|
/**
|
|
430
438
|
* All registered sections, unfiltered (the global controls list every section).
|
|
431
439
|
*/
|
|
432
440
|
sectionsSignal = this._registry.sectionsSignal;
|
|
433
|
-
templateTogglesSignal = signal(this._toggles,
|
|
441
|
+
templateTogglesSignal = signal(this._toggles, /* @ts-ignore */
|
|
442
|
+
...(ngDevMode ? [{ debugName: "templateTogglesSignal" }] : /* istanbul ignore next */ []));
|
|
434
443
|
enabledIdsSignal = computed(() => {
|
|
435
444
|
const overrides = this._sectionEnabledOverrides();
|
|
436
445
|
return new Set(this.sectionsSignal()
|
|
437
446
|
.filter((section) => overrides.get(section.id) ?? section.defaultEnabled !== false)
|
|
438
447
|
.map((section) => section.id));
|
|
439
|
-
},
|
|
448
|
+
}, /* @ts-ignore */
|
|
449
|
+
...(ngDevMode ? [{ debugName: "enabledIdsSignal" }] : /* istanbul ignore next */ []));
|
|
440
450
|
activeTemplateKeysSignal = computed(() => {
|
|
441
451
|
const _defaultActiveTemplateKeys = this._defaultActiveTemplateKeys();
|
|
442
452
|
const override = this._activeTemplateKeysOverride();
|
|
443
453
|
return override ?? new Set(_defaultActiveTemplateKeys);
|
|
444
|
-
},
|
|
445
|
-
|
|
454
|
+
}, /* @ts-ignore */
|
|
455
|
+
...(ngDevMode ? [{ debugName: "activeTemplateKeysSignal" }] : /* istanbul ignore next */ []));
|
|
456
|
+
activeTemplateKeysArraySignal = computed(() => Array.from(this.activeTemplateKeysSignal()), /* @ts-ignore */
|
|
457
|
+
...(ngDevMode ? [{ debugName: "activeTemplateKeysArraySignal" }] : /* istanbul ignore next */ []));
|
|
446
458
|
constructor() {
|
|
447
459
|
const styleService = this._styleService;
|
|
448
460
|
if (styleService != null && this._config?.applyStylesToApp !== false) {
|
|
449
461
|
const supplementSignal = computed(() => {
|
|
450
462
|
const { style, classes } = this._loaderService.mergeTemplates(Array.from(this.activeTemplateKeysSignal()));
|
|
451
463
|
return { style, classes };
|
|
452
|
-
},
|
|
464
|
+
}, /* @ts-ignore */
|
|
465
|
+
...(ngDevMode ? [{ debugName: "supplementSignal" }] : /* istanbul ignore next */ []));
|
|
453
466
|
styleService.setSupplement(toObservable(supplementSignal));
|
|
454
467
|
}
|
|
455
468
|
}
|
|
@@ -518,10 +531,10 @@ class DbxStyleDemoControlsService {
|
|
|
518
531
|
});
|
|
519
532
|
}
|
|
520
533
|
}
|
|
521
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
522
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
534
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoControlsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
535
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoControlsService });
|
|
523
536
|
}
|
|
524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoControlsService, decorators: [{
|
|
525
538
|
type: Injectable
|
|
526
539
|
}], ctorParameters: () => [] });
|
|
527
540
|
|
|
@@ -550,7 +563,8 @@ class DbxStyleDemoComponent {
|
|
|
550
563
|
/**
|
|
551
564
|
* Playground configuration.
|
|
552
565
|
*/
|
|
553
|
-
config = input(undefined,
|
|
566
|
+
config = input(undefined, /* @ts-ignore */
|
|
567
|
+
...(ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []));
|
|
554
568
|
/**
|
|
555
569
|
* True when a controls component is registered, gating the "Style controls" button.
|
|
556
570
|
*/
|
|
@@ -582,18 +596,21 @@ class DbxStyleDemoComponent {
|
|
|
582
596
|
result = sections;
|
|
583
597
|
}
|
|
584
598
|
return result;
|
|
585
|
-
},
|
|
599
|
+
}, /* @ts-ignore */
|
|
600
|
+
...(ngDevMode ? [{ debugName: "sectionsSignal" }] : /* istanbul ignore next */ []));
|
|
586
601
|
visibleSectionsSignal = computed(() => {
|
|
587
602
|
const enabledIds = this._controlsService.enabledIdsSignal();
|
|
588
603
|
return this.sectionsSignal().filter((section) => enabledIds.has(section.id));
|
|
589
|
-
},
|
|
604
|
+
}, /* @ts-ignore */
|
|
605
|
+
...(ngDevMode ? [{ debugName: "visibleSectionsSignal" }] : /* istanbul ignore next */ []));
|
|
590
606
|
/**
|
|
591
607
|
* Seeds the controls service with this playground's configured default active templates.
|
|
592
608
|
*/
|
|
593
609
|
_seedDefaultTemplatesEffect = effect(() => {
|
|
594
610
|
const defaults = this.config()?.defaultActiveTemplates;
|
|
595
611
|
this._controlsService.setDefaultActiveTemplates(defaults ?? []);
|
|
596
|
-
},
|
|
612
|
+
}, /* @ts-ignore */
|
|
613
|
+
...(ngDevMode ? [{ debugName: "_seedDefaultTemplatesEffect" }] : /* istanbul ignore next */ []));
|
|
597
614
|
openControls() {
|
|
598
615
|
this._controlsService.openControls();
|
|
599
616
|
}
|
|
@@ -603,8 +620,8 @@ class DbxStyleDemoComponent {
|
|
|
603
620
|
this._controlsService.openSectionsPopover({ origin });
|
|
604
621
|
}
|
|
605
622
|
}
|
|
606
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
607
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
624
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoComponent, isStandalone: true, selector: "dbx-style-demo", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "sectionsButton", first: true, predicate: ["sectionsButton"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: `
|
|
608
625
|
<div class="dbx-style-demo dbx-flex-column dbx-p3">
|
|
609
626
|
<div class="dbx-flex-bar dbx-pb3">
|
|
610
627
|
<span class="dbx-text-title-large">Style Demo</span>
|
|
@@ -632,9 +649,9 @@ class DbxStyleDemoComponent {
|
|
|
632
649
|
</div>
|
|
633
650
|
</div>
|
|
634
651
|
</div>
|
|
635
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "
|
|
652
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }, { kind: "directive", type: DbxStyleDemoStyleLoaderDirective, selector: "[dbxStyleDemoStyleLoader]", inputs: ["dbxStyleDemoStyleLoader"] }] });
|
|
636
653
|
}
|
|
637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoComponent, decorators: [{
|
|
638
655
|
type: Component,
|
|
639
656
|
args: [{
|
|
640
657
|
selector: 'dbx-style-demo',
|
|
@@ -667,9 +684,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
667
684
|
</div>
|
|
668
685
|
</div>
|
|
669
686
|
`,
|
|
670
|
-
|
|
671
|
-
imports: [NgComponentOutlet, MatCardModule, DbxButtonComponent, DbxFlexGroupDirective, DbxFlexSizeDirective, DbxStyleDemoStyleLoaderDirective],
|
|
672
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
687
|
+
imports: [NgComponentOutlet, MatCardModule, DbxButtonComponent, DbxFlexGroupDirective, DbxFlexSizeDirective, DbxStyleDemoStyleLoaderDirective]
|
|
673
688
|
}]
|
|
674
689
|
}], propDecorators: { config: [{ type: i0.Input, args: [{ isSignal: true, alias: "config", required: false }] }], sectionsButton: [{ type: i0.ViewChild, args: ['sectionsButton', { ...{ read: ElementRef }, isSignal: true }] }] } });
|
|
675
690
|
|
|
@@ -687,8 +702,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
687
702
|
class DbxStyleDemoButtonsSectionComponent {
|
|
688
703
|
variants = ['basic', 'stroked', 'flat', 'raised', 'tonal'];
|
|
689
704
|
colors = [undefined, 'primary', 'accent', 'warn', 'success'];
|
|
690
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
691
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
705
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoButtonsSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
706
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoButtonsSectionComponent, isStandalone: true, selector: "dbx-style-demo-buttons-section", ngImport: i0, template: `
|
|
692
707
|
<dbx-docs-ui-example header="Buttons" hint="dbx-button appearances across theme colors.">
|
|
693
708
|
<dbx-docs-ui-example-info>
|
|
694
709
|
<p>
|
|
@@ -730,14 +745,12 @@ class DbxStyleDemoButtonsSectionComponent {
|
|
|
730
745
|
</div>
|
|
731
746
|
</dbx-docs-ui-example-content>
|
|
732
747
|
</dbx-docs-ui-example>
|
|
733
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "
|
|
748
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }] });
|
|
734
749
|
}
|
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoButtonsSectionComponent, decorators: [{
|
|
736
751
|
type: Component,
|
|
737
752
|
args: [{
|
|
738
753
|
selector: 'dbx-style-demo-buttons-section',
|
|
739
|
-
standalone: true,
|
|
740
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
741
754
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxButtonComponent, DbxButtonSpacerDirective],
|
|
742
755
|
template: `
|
|
743
756
|
<dbx-docs-ui-example header="Buttons" hint="dbx-button appearances across theme colors.">
|
|
@@ -796,8 +809,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
796
809
|
* @dbxDocsUiExampleRelated mat-card, dbx-card-box
|
|
797
810
|
*/
|
|
798
811
|
class DbxStyleDemoCardsSectionComponent {
|
|
799
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
800
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
812
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoCardsSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
813
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.4", type: DbxStyleDemoCardsSectionComponent, isStandalone: true, selector: "dbx-style-demo-cards-section", ngImport: i0, template: `
|
|
801
814
|
<dbx-docs-ui-example header="Cards" hint="Material 3 card appearances painted from system surface tokens.">
|
|
802
815
|
<dbx-docs-ui-example-info>
|
|
803
816
|
<p>
|
|
@@ -846,14 +859,12 @@ class DbxStyleDemoCardsSectionComponent {
|
|
|
846
859
|
</div>
|
|
847
860
|
</dbx-docs-ui-example-content>
|
|
848
861
|
</dbx-docs-ui-example>
|
|
849
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "
|
|
862
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }] });
|
|
850
863
|
}
|
|
851
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoCardsSectionComponent, decorators: [{
|
|
852
865
|
type: Component,
|
|
853
866
|
args: [{
|
|
854
867
|
selector: 'dbx-style-demo-cards-section',
|
|
855
|
-
standalone: true,
|
|
856
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
857
868
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, MatCardModule, DbxButtonComponent, DbxFlexGroupDirective, DbxFlexSizeDirective],
|
|
858
869
|
template: `
|
|
859
870
|
<dbx-docs-ui-example header="Cards" hint="Material 3 card appearances painted from system surface tokens.">
|
|
@@ -922,8 +933,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
922
933
|
class DbxStyleDemoColorTemplatesSectionComponent {
|
|
923
934
|
_colorService = inject(DbxColorService, { optional: true });
|
|
924
935
|
templates = (this._colorService?.getAllRegisteredTemplateKeys() ?? []).map((key) => ({ key, curated: this._colorService?.getTemplate(key)?.curated === true }));
|
|
925
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
926
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
936
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoColorTemplatesSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
937
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoColorTemplatesSectionComponent, isStandalone: true, selector: "dbx-style-demo-color-templates-section", ngImport: i0, template: `
|
|
927
938
|
<dbx-docs-ui-example header="Color Templates" hint="Registered DbxColorService templates.">
|
|
928
939
|
<dbx-docs-ui-example-info>
|
|
929
940
|
<p>
|
|
@@ -961,14 +972,12 @@ class DbxStyleDemoColorTemplatesSectionComponent {
|
|
|
961
972
|
}
|
|
962
973
|
</dbx-docs-ui-example-content>
|
|
963
974
|
</dbx-docs-ui-example>
|
|
964
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxColorDirective, selector: "[dbxColor]", inputs: ["dbxColor", "dbxColorTone"], outputs: ["dbxColorChange", "dbxColorToneChange"] }]
|
|
975
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxColorDirective, selector: "[dbxColor]", inputs: ["dbxColor", "dbxColorTone"], outputs: ["dbxColorChange", "dbxColorToneChange"] }] });
|
|
965
976
|
}
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoColorTemplatesSectionComponent, decorators: [{
|
|
967
978
|
type: Component,
|
|
968
979
|
args: [{
|
|
969
980
|
selector: 'dbx-style-demo-color-templates-section',
|
|
970
|
-
standalone: true,
|
|
971
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
972
981
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxColorDirective],
|
|
973
982
|
template: `
|
|
974
983
|
<dbx-docs-ui-example header="Color Templates" hint="Registered DbxColorService templates.">
|
|
@@ -1025,8 +1034,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.11", ngImpo
|
|
|
1025
1034
|
class DbxStyleDemoColorTonesSectionComponent {
|
|
1026
1035
|
colors = [...DBX_THEME_COLORS_MAIN, ...DBX_THEME_COLORS_EXTRA];
|
|
1027
1036
|
tones = [40, 18, 8];
|
|
1028
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1029
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1037
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoColorTonesSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1038
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoColorTonesSectionComponent, isStandalone: true, selector: "dbx-style-demo-color-tones-section", ngImport: i0, template: `
|
|
1030
1039
|
<dbx-docs-ui-example header="Color & Tones" hint="Themed [dbxColor] backgrounds, full and tonal.">
|
|
1031
1040
|
<dbx-docs-ui-example-info>
|
|
1032
1041
|
<p>
|
|
@@ -1053,14 +1062,12 @@ class DbxStyleDemoColorTonesSectionComponent {
|
|
|
1053
1062
|
</div>
|
|
1054
1063
|
</dbx-docs-ui-example-content>
|
|
1055
1064
|
</dbx-docs-ui-example>
|
|
1056
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxColorDirective, selector: "[dbxColor]", inputs: ["dbxColor", "dbxColorTone"], outputs: ["dbxColorChange", "dbxColorToneChange"] }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }]
|
|
1065
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "directive", type: DbxColorDirective, selector: "[dbxColor]", inputs: ["dbxColor", "dbxColorTone"], outputs: ["dbxColorChange", "dbxColorToneChange"] }, { kind: "directive", type: DbxFlexGroupDirective, selector: "[dbxFlexGroup]", inputs: ["content", "breakToColumn", "relative", "breakpoint"] }, { kind: "directive", type: DbxFlexSizeDirective, selector: "[dbxFlexSize]", inputs: ["dbxFlexSize"] }] });
|
|
1057
1066
|
}
|
|
1058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoColorTonesSectionComponent, decorators: [{
|
|
1059
1068
|
type: Component,
|
|
1060
1069
|
args: [{
|
|
1061
1070
|
selector: 'dbx-style-demo-color-tones-section',
|
|
1062
|
-
standalone: true,
|
|
1063
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1064
1071
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxColorDirective, DbxFlexGroupDirective, DbxFlexSizeDirective],
|
|
1065
1072
|
template: `
|
|
1066
1073
|
<dbx-docs-ui-example header="Color & Tones" hint="Themed [dbxColor] backgrounds, full and tonal.">
|
|
@@ -1118,8 +1125,8 @@ class DbxStyleDemoNavigationSectionComponent {
|
|
|
1118
1125
|
},
|
|
1119
1126
|
{ title: 'Help', icon: 'help', onClick: () => undefined }
|
|
1120
1127
|
];
|
|
1121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1122
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoNavigationSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1129
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.4", type: DbxStyleDemoNavigationSectionComponent, isStandalone: true, selector: "dbx-style-demo-navigation-section", ngImport: i0, template: `
|
|
1123
1130
|
<dbx-docs-ui-example header="Navigation" hint="Router-free navigation building blocks.">
|
|
1124
1131
|
<dbx-docs-ui-example-info>
|
|
1125
1132
|
<p>
|
|
@@ -1157,14 +1164,12 @@ class DbxStyleDemoNavigationSectionComponent {
|
|
|
1157
1164
|
</div>
|
|
1158
1165
|
</dbx-docs-ui-example-content>
|
|
1159
1166
|
</dbx-docs-ui-example>
|
|
1160
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "component", type: DbxPagebarComponent, selector: "dbx-pagebar" }, { kind: "directive", type: DbxBarDirective, selector: "dbx-bar,[dbxBar]" }, { kind: "component", type: DbxBarHeaderComponent, selector: "dbx-bar-header", inputs: ["text", "icon"] }, { kind: "component", type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: ["anchors"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "
|
|
1167
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "component", type: DbxPagebarComponent, selector: "dbx-pagebar" }, { kind: "directive", type: DbxBarDirective, selector: "dbx-bar,[dbxBar]" }, { kind: "component", type: DbxBarHeaderComponent, selector: "dbx-bar-header", inputs: ["text", "icon"] }, { kind: "component", type: DbxAnchorListComponent, selector: "dbx-anchor-list", inputs: ["anchors"] }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }, { kind: "directive", type: DbxButtonSpacerDirective, selector: "dbx-button-spacer,[dbxButtonSpacer]" }] });
|
|
1161
1168
|
}
|
|
1162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoNavigationSectionComponent, decorators: [{
|
|
1163
1170
|
type: Component,
|
|
1164
1171
|
args: [{
|
|
1165
1172
|
selector: 'dbx-style-demo-navigation-section',
|
|
1166
|
-
standalone: true,
|
|
1167
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1168
1173
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, DbxPagebarComponent, DbxBarDirective, DbxBarHeaderComponent, DbxAnchorListComponent, DbxButtonComponent, DbxButtonSpacerDirective],
|
|
1169
1174
|
template: `
|
|
1170
1175
|
<dbx-docs-ui-example header="Navigation" hint="Router-free navigation building blocks.">
|
|
@@ -1233,8 +1238,8 @@ class DbxStyleDemoShapeScaleSectionComponent {
|
|
|
1233
1238
|
{ label: 'extra-extra-large', radius: '48px' },
|
|
1234
1239
|
{ label: 'full', radius: 'var(--mat-sys-corner-full)', webToken: '--mat-sys-corner-full' }
|
|
1235
1240
|
];
|
|
1236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1237
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoShapeScaleSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1242
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoShapeScaleSectionComponent, isStandalone: true, selector: "dbx-style-demo-shape-scale-section", ngImport: i0, template: `
|
|
1238
1243
|
<dbx-docs-ui-example header="Shape Scale" hint="The Material 3 corner-radius scale.">
|
|
1239
1244
|
<dbx-docs-ui-example-info>
|
|
1240
1245
|
<p>
|
|
@@ -1282,14 +1287,12 @@ class DbxStyleDemoShapeScaleSectionComponent {
|
|
|
1282
1287
|
</div>
|
|
1283
1288
|
</dbx-docs-ui-example-content>
|
|
1284
1289
|
</dbx-docs-ui-example>
|
|
1285
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "
|
|
1290
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }, { kind: "ngmodule", type: MatCardModule }, { kind: "component", type: i1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: DbxButtonComponent, selector: "dbx-button", inputs: ["bar", "type", "buttonStyle", "color", "spinnerColor", "customTextColor", "customSpinnerColor", "basic", "tonal", "raised", "stroked", "flat", "iconOnly", "fab", "customContent", "allowClickPropagation", "mode"] }] });
|
|
1286
1291
|
}
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoShapeScaleSectionComponent, decorators: [{
|
|
1288
1293
|
type: Component,
|
|
1289
1294
|
args: [{
|
|
1290
1295
|
selector: 'dbx-style-demo-shape-scale-section',
|
|
1291
|
-
standalone: true,
|
|
1292
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1293
1296
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent, MatCardModule, DbxButtonComponent],
|
|
1294
1297
|
template: `
|
|
1295
1298
|
<dbx-docs-ui-example header="Shape Scale" hint="The Material 3 corner-radius scale.">
|
|
@@ -1370,8 +1373,8 @@ class DbxStyleDemoSurfacesSectionComponent {
|
|
|
1370
1373
|
{ label: 'outline', border: '1px solid var(--mat-sys-outline)' },
|
|
1371
1374
|
{ label: 'outline-variant', border: '1px solid var(--mat-sys-outline-variant)' }
|
|
1372
1375
|
];
|
|
1373
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1374
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoSurfacesSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1377
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoSurfacesSectionComponent, isStandalone: true, selector: "dbx-style-demo-surfaces-section", ngImport: i0, template: `
|
|
1375
1378
|
<dbx-docs-ui-example header="Surfaces" hint="The Material 3 surface ramp from system tokens.">
|
|
1376
1379
|
<dbx-docs-ui-example-info>
|
|
1377
1380
|
<p>
|
|
@@ -1412,14 +1415,12 @@ class DbxStyleDemoSurfacesSectionComponent {
|
|
|
1412
1415
|
</div>
|
|
1413
1416
|
</dbx-docs-ui-example-content>
|
|
1414
1417
|
</dbx-docs-ui-example>
|
|
1415
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }]
|
|
1418
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }] });
|
|
1416
1419
|
}
|
|
1417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoSurfacesSectionComponent, decorators: [{
|
|
1418
1421
|
type: Component,
|
|
1419
1422
|
args: [{
|
|
1420
1423
|
selector: 'dbx-style-demo-surfaces-section',
|
|
1421
|
-
standalone: true,
|
|
1422
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1423
1424
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent],
|
|
1424
1425
|
template: `
|
|
1425
1426
|
<dbx-docs-ui-example header="Surfaces" hint="The Material 3 surface ramp from system tokens.">
|
|
@@ -1484,8 +1485,8 @@ class DbxStyleDemoTypeRolesSectionComponent {
|
|
|
1484
1485
|
{ cssClass: 'dbx-text-body-large', label: 'Body Large — the quick brown fox jumps over the lazy dog.' },
|
|
1485
1486
|
{ cssClass: 'dbx-text-label-medium', label: 'Label Medium' }
|
|
1486
1487
|
];
|
|
1487
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1488
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1488
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoTypeRolesSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1489
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.4", type: DbxStyleDemoTypeRolesSectionComponent, isStandalone: true, selector: "dbx-style-demo-type-roles-section", ngImport: i0, template: `
|
|
1489
1490
|
<dbx-docs-ui-example header="Type Roles" hint="Material 3 typescale via .dbx-text-* utilities.">
|
|
1490
1491
|
<dbx-docs-ui-example-info>
|
|
1491
1492
|
<p>
|
|
@@ -1506,14 +1507,12 @@ class DbxStyleDemoTypeRolesSectionComponent {
|
|
|
1506
1507
|
</div>
|
|
1507
1508
|
</dbx-docs-ui-example-content>
|
|
1508
1509
|
</dbx-docs-ui-example>
|
|
1509
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }]
|
|
1510
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DbxDocsUiExampleComponent, selector: "dbx-docs-ui-example", inputs: ["header", "hint"] }, { kind: "component", type: DbxDocsUiExampleInfoComponent, selector: "dbx-docs-ui-example-info" }, { kind: "component", type: DbxDocsUiExampleContentComponent, selector: "dbx-docs-ui-example-content" }] });
|
|
1510
1511
|
}
|
|
1511
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.4", ngImport: i0, type: DbxStyleDemoTypeRolesSectionComponent, decorators: [{
|
|
1512
1513
|
type: Component,
|
|
1513
1514
|
args: [{
|
|
1514
1515
|
selector: 'dbx-style-demo-type-roles-section',
|
|
1515
|
-
standalone: true,
|
|
1516
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1517
1516
|
imports: [DbxDocsUiExampleComponent, DbxDocsUiExampleInfoComponent, DbxDocsUiExampleContentComponent],
|
|
1518
1517
|
template: `
|
|
1519
1518
|
<dbx-docs-ui-example header="Type Roles" hint="Material 3 typescale via .dbx-text-* utilities.">
|