@viasat/beam-web-components-angular 2.17.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/README.md +304 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-accordion-group.mjs +41 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-accordion-group.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-accordion.mjs +64 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-accordion.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-alert.mjs +93 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-alert.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-avatar-group.mjs +51 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-avatar-group.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-avatar.mjs +77 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-avatar.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-badge-dot.mjs +49 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-badge-dot.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-badge.mjs +55 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-badge.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-box.mjs +111 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-box.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-breadcrumbs-item.mjs +54 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-breadcrumbs-item.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-breadcrumbs.mjs +50 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-breadcrumbs.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-button.mjs +78 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-button.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-checkbox.mjs +69 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-checkbox.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-close-button.mjs +39 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-close-button.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-divider.mjs +63 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-divider.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-empty-state.mjs +50 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-empty-state.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-helper-text.mjs +60 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-helper-text.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-icon.mjs +48 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-icon.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-link.mjs +67 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-link.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-list-item.mjs +32 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-list-item.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-list.mjs +52 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-list.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-progress-bar.mjs +64 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-progress-bar.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-item.mjs +49 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-item.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-list.mjs +38 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-list.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-panel.mjs +36 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control-panel.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control.mjs +55 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-segmented-control.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-spinner.mjs +57 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-spinner.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-text.mjs +91 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-text.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-tooltip.mjs +122 -0
- package/fesm2022/viasat-beam-web-components-angular-src-lib-tooltip.mjs.map +1 -0
- package/fesm2022/viasat-beam-web-components-angular.mjs +43 -0
- package/fesm2022/viasat-beam-web-components-angular.mjs.map +1 -0
- package/index.d.ts +39 -0
- package/package.json +161 -0
- package/src/lib/accordion/accordion.component.d.ts +35 -0
- package/src/lib/accordion/index.d.ts +1 -0
- package/src/lib/accordion-group/accordion-group.component.d.ts +16 -0
- package/src/lib/accordion-group/index.d.ts +1 -0
- package/src/lib/alert/alert.component.d.ts +63 -0
- package/src/lib/alert/index.d.ts +1 -0
- package/src/lib/avatar/avatar.component.d.ts +52 -0
- package/src/lib/avatar/index.d.ts +1 -0
- package/src/lib/avatar-group/avatar-group.component.d.ts +26 -0
- package/src/lib/avatar-group/index.d.ts +1 -0
- package/src/lib/badge/badge.component.d.ts +29 -0
- package/src/lib/badge/index.d.ts +1 -0
- package/src/lib/badge-dot/badge-dot.component.d.ts +24 -0
- package/src/lib/badge-dot/index.d.ts +1 -0
- package/src/lib/box/box.component.d.ts +86 -0
- package/src/lib/box/index.d.ts +1 -0
- package/src/lib/breadcrumbs/breadcrumbs.component.d.ts +25 -0
- package/src/lib/breadcrumbs/index.d.ts +1 -0
- package/src/lib/breadcrumbs-item/breadcrumbs-item.component.d.ts +28 -0
- package/src/lib/breadcrumbs-item/index.d.ts +1 -0
- package/src/lib/button/button.component.d.ts +51 -0
- package/src/lib/button/index.d.ts +1 -0
- package/src/lib/checkbox/checkbox.component.d.ts +46 -0
- package/src/lib/checkbox/index.d.ts +1 -0
- package/src/lib/close-button/close-button.component.d.ts +16 -0
- package/src/lib/close-button/index.d.ts +1 -0
- package/src/lib/divider/divider.component.d.ts +37 -0
- package/src/lib/divider/index.d.ts +1 -0
- package/src/lib/empty-state/empty-state.component.d.ts +22 -0
- package/src/lib/empty-state/index.d.ts +1 -0
- package/src/lib/helper-text/helper-text.component.d.ts +34 -0
- package/src/lib/helper-text/index.d.ts +1 -0
- package/src/lib/icon/icon.component.d.ts +23 -0
- package/src/lib/icon/index.d.ts +1 -0
- package/src/lib/link/index.d.ts +1 -0
- package/src/lib/link/link.component.d.ts +40 -0
- package/src/lib/list/index.d.ts +1 -0
- package/src/lib/list/list.component.d.ts +27 -0
- package/src/lib/list-item/index.d.ts +1 -0
- package/src/lib/list-item/list-item.component.d.ts +6 -0
- package/src/lib/progress-bar/index.d.ts +1 -0
- package/src/lib/progress-bar/progress-bar.component.d.ts +41 -0
- package/src/lib/segmented-control/index.d.ts +1 -0
- package/src/lib/segmented-control/segmented-control.component.d.ts +30 -0
- package/src/lib/segmented-control-item/index.d.ts +1 -0
- package/src/lib/segmented-control-item/segmented-control-item.component.d.ts +21 -0
- package/src/lib/segmented-control-list/index.d.ts +1 -0
- package/src/lib/segmented-control-list/segmented-control-list.component.d.ts +11 -0
- package/src/lib/segmented-control-panel/index.d.ts +1 -0
- package/src/lib/segmented-control-panel/segmented-control-panel.component.d.ts +11 -0
- package/src/lib/spinner/index.d.ts +1 -0
- package/src/lib/spinner/spinner.component.d.ts +31 -0
- package/src/lib/text/index.d.ts +1 -0
- package/src/lib/text/text.component.d.ts +66 -0
- package/src/lib/tooltip/index.d.ts +1 -0
- package/src/lib/tooltip/tooltip.component.d.ts +129 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Avatar';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-avatar>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Avatar/Avatar.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot icon - Customize the default icon
|
|
14
|
+
*/
|
|
15
|
+
class AvatarComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Specify the appearance of the Avatar
|
|
18
|
+
* @default 'neutral'
|
|
19
|
+
*/
|
|
20
|
+
appearance = input('neutral');
|
|
21
|
+
/**
|
|
22
|
+
* Specify a name to display initials in the Avatar
|
|
23
|
+
*/
|
|
24
|
+
name = input();
|
|
25
|
+
/**
|
|
26
|
+
* Pass an image to the Avatar
|
|
27
|
+
*/
|
|
28
|
+
src = input();
|
|
29
|
+
/**
|
|
30
|
+
* Specify alt for image
|
|
31
|
+
*/
|
|
32
|
+
alt = input();
|
|
33
|
+
/**
|
|
34
|
+
* Specify the size of the Avatar
|
|
35
|
+
* @default 'md'
|
|
36
|
+
*/
|
|
37
|
+
size = input('md');
|
|
38
|
+
/**
|
|
39
|
+
* Specify if the Avatar is disabled
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
disabled = input(false, { transform: booleanAttribute });
|
|
43
|
+
/**
|
|
44
|
+
* Specify the shape of the Avatar
|
|
45
|
+
* @default 'circle'
|
|
46
|
+
*/
|
|
47
|
+
shape = input('circle');
|
|
48
|
+
/**
|
|
49
|
+
* If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
isInteractive = input(false, { transform: booleanAttribute });
|
|
53
|
+
/**
|
|
54
|
+
* If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
57
|
+
isFocusable = input(false, { transform: booleanAttribute });
|
|
58
|
+
/**
|
|
59
|
+
* @default false
|
|
60
|
+
*/
|
|
61
|
+
withBorder = input(false, { transform: booleanAttribute });
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: AvatarComponent, isStandalone: true, selector: "bm-ng-avatar", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: true, isRequired: false, transformFunction: null }, alt: { classPropertyName: "alt", publicName: "alt", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, isInteractive: { classPropertyName: "isInteractive", publicName: "isInteractive", isSignal: true, isRequired: false, transformFunction: null }, isFocusable: { classPropertyName: "isFocusable", publicName: "isFocusable", isSignal: true, isRequired: false, transformFunction: null }, withBorder: { classPropertyName: "withBorder", publicName: "withBorder", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-avatar\n [appearance]=\"appearance()\"\n [name]=\"name()\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [shape]=\"shape()\"\n [attr.isInteractive]=\"isInteractive() ? '' : null\"\n [attr.isFocusable]=\"isFocusable() ? '' : null\"\n [attr.withBorder]=\"withBorder() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-avatar>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
64
|
+
}
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'bm-ng-avatar', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-avatar\n [appearance]=\"appearance()\"\n [name]=\"name()\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [shape]=\"shape()\"\n [attr.isInteractive]=\"isInteractive() ? '' : null\"\n [attr.isFocusable]=\"isFocusable() ? '' : null\"\n [attr.withBorder]=\"withBorder() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-avatar>\n", styles: [":host{display:inline-flex}\n"] }]
|
|
68
|
+
}] });
|
|
69
|
+
|
|
70
|
+
// AUTO-GENERATED
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Generated bundle index. Do not edit.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
export { AvatarComponent };
|
|
77
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-avatar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-avatar.mjs","sources":["../../../../libs/web-components-angular/src/lib/avatar/avatar.component.ts","../../../../libs/web-components-angular/src/lib/avatar/avatar.component.html","../../../../libs/web-components-angular/src/lib/avatar/index.ts","../../../../libs/web-components-angular/src/lib/avatar/viasat-beam-web-components-angular-src-lib-avatar.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-avatar>\n * Generated from: libs/web-components/src/lib/Avatar/Avatar.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot icon - Customize the default icon\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Avatar';\n\n@Component({\n selector: 'bm-ng-avatar',\n standalone: true,\n templateUrl: './avatar.component.html',\n styleUrl: './avatar.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class AvatarComponent {\n /**\n * Specify the appearance of the Avatar\n * @default 'neutral'\n */\n appearance = input<'accent' | 'neutral' | undefined>('neutral');\n\n /**\n * Specify a name to display initials in the Avatar\n */\n name = input<string>();\n\n /**\n * Pass an image to the Avatar\n */\n src = input<string>();\n\n /**\n * Specify alt for image\n */\n alt = input<string>();\n\n /**\n * Specify the size of the Avatar\n * @default 'md'\n */\n size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl' | undefined>('md');\n\n /**\n * Specify if the Avatar is disabled\n * @default false\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Specify the shape of the Avatar\n * @default 'circle'\n */\n shape = input<'circle' | 'square' | undefined>('circle');\n\n /**\n * If Avatar is interactive, use `isInteractive` to make the Avatar focusable and show state layer\n * @default false\n */\n isInteractive = input(false, { transform: booleanAttribute });\n\n /**\n * If Avatar is not interactive and Tooltip is provided, use `isFocusable` to make the Avatar focusable\n * @default false\n */\n isFocusable = input(false, { transform: booleanAttribute });\n\n /**\n * @default false\n */\n withBorder = input(false, { transform: booleanAttribute });\n\n\n}\n","<bm-avatar\n [appearance]=\"appearance()\"\n [name]=\"name()\"\n [src]=\"src()\"\n [alt]=\"alt()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [shape]=\"shape()\"\n [attr.isInteractive]=\"isInteractive() ? '' : null\"\n [attr.isFocusable]=\"isFocusable() ? '' : null\"\n [attr.withBorder]=\"withBorder() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-avatar>\n","// AUTO-GENERATED\nexport * from './avatar.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;AASG;MAoBU,eAAe,CAAA;AAC1B;;;AAGG;AACH,IAAA,UAAU,GAAG,KAAK,CAAmC,SAAS,CAAC;AAE/D;;AAEG;IACH,IAAI,GAAG,KAAK,EAAU;AAEtB;;AAEG;IACH,GAAG,GAAG,KAAK,EAAU;AAErB;;AAEG;IACH,GAAG,GAAG,KAAK,EAAU;AAErB;;;AAGG;AACH,IAAA,IAAI,GAAG,KAAK,CAA+C,IAAI,CAAC;AAEhE;;;AAGG;IACH,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAExD;;;AAGG;AACH,IAAA,KAAK,GAAG,KAAK,CAAkC,QAAQ,CAAC;AAExD;;;AAGG;IACH,aAAa,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE7D;;;AAGG;IACH,WAAW,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAE3D;;AAEG;IACH,UAAU,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;wGAvD/C,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,m0CC7B5B,gZAcA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDea,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,SAAS;+BACE,cAAc,EAAA,UAAA,EACZ,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,gZAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA;;;AE3BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/BadgeDot';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-badge-dot>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/BadgeDot/BadgeDot.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Provide text for the BadgeDot
|
|
14
|
+
*/
|
|
15
|
+
class BadgeDotComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Specify the theme of the BadgeDot. By default it inherits the theme from the parent
|
|
18
|
+
*/
|
|
19
|
+
theme = input();
|
|
20
|
+
/**
|
|
21
|
+
* Specify the appearance of the BadgeDot
|
|
22
|
+
* @default 'infoPrimary'
|
|
23
|
+
*/
|
|
24
|
+
appearance = input('infoPrimary');
|
|
25
|
+
/**
|
|
26
|
+
* Specify the emphasis of the BadgeDot
|
|
27
|
+
* @default 'strong'
|
|
28
|
+
*/
|
|
29
|
+
emphasis = input('strong');
|
|
30
|
+
/**
|
|
31
|
+
* Overrides default dot color
|
|
32
|
+
*/
|
|
33
|
+
overrideDotColor = input();
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BadgeDotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: BadgeDotComponent, isStandalone: true, selector: "bm-ng-badge-dot", inputs: { theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, overrideDotColor: { classPropertyName: "overrideDotColor", publicName: "overrideDotColor", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-badge-dot\n [theme]=\"theme()\"\n [appearance]=\"appearance()\"\n [emphasis]=\"emphasis()\"\n [overrideDotColor]=\"overrideDotColor()\"\n>\n <ng-content></ng-content>\n</bm-badge-dot>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BadgeDotComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: 'bm-ng-badge-dot', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-badge-dot\n [theme]=\"theme()\"\n [appearance]=\"appearance()\"\n [emphasis]=\"emphasis()\"\n [overrideDotColor]=\"overrideDotColor()\"\n>\n <ng-content></ng-content>\n</bm-badge-dot>\n", styles: [":host{display:inline-flex}\n"] }]
|
|
40
|
+
}] });
|
|
41
|
+
|
|
42
|
+
// AUTO-GENERATED
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Generated bundle index. Do not edit.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
export { BadgeDotComponent };
|
|
49
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-badge-dot.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-badge-dot.mjs","sources":["../../../../libs/web-components-angular/src/lib/badge-dot/badge-dot.component.ts","../../../../libs/web-components-angular/src/lib/badge-dot/badge-dot.component.html","../../../../libs/web-components-angular/src/lib/badge-dot/index.ts","../../../../libs/web-components-angular/src/lib/badge-dot/viasat-beam-web-components-angular-src-lib-badge-dot.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-badge-dot>\n * Generated from: libs/web-components/src/lib/BadgeDot/BadgeDot.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Provide text for the BadgeDot\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/BadgeDot';\n\n@Component({\n selector: 'bm-ng-badge-dot',\n standalone: true,\n templateUrl: './badge-dot.component.html',\n styleUrl: './badge-dot.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BadgeDotComponent {\n /**\n * Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n */\n theme = input<'light' | 'dark'>();\n\n /**\n * Specify the appearance of the BadgeDot\n * @default 'infoPrimary'\n */\n appearance = input<'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'>('infoPrimary');\n\n /**\n * Specify the emphasis of the BadgeDot\n * @default 'strong'\n */\n emphasis = input<'strong' | 'subtle'>('strong');\n\n /**\n * Overrides default dot color\n */\n overrideDotColor = input<string>();\n\n\n}\n","<bm-badge-dot\n [theme]=\"theme()\"\n [appearance]=\"appearance()\"\n [emphasis]=\"emphasis()\"\n [overrideDotColor]=\"overrideDotColor()\"\n>\n <ng-content></ng-content>\n</bm-badge-dot>\n","// AUTO-GENERATED\nexport * from './badge-dot.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;AASG;MAmBU,iBAAiB,CAAA;AAC5B;;AAEG;IACH,KAAK,GAAG,KAAK,EAAoB;AAEjC;;;AAGG;AACH,IAAA,UAAU,GAAG,KAAK,CAAwE,aAAa,CAAC;AAExG;;;AAGG;AACH,IAAA,QAAQ,GAAG,KAAK,CAAsB,QAAQ,CAAC;AAE/C;;AAEG;IACH,gBAAgB,GAAG,KAAK,EAAU;wGArBvB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,gnBC5B9B,oMAQA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDoBa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAR7B,SAAS;+BACE,iBAAiB,EAAA,UAAA,EACf,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,oMAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA;;;AE1BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Badge';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-badge>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Badge/Badge.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Provide text for the Badge
|
|
14
|
+
* @slot icon - Specify a different icon for the Badge
|
|
15
|
+
*/
|
|
16
|
+
class BadgeComponent {
|
|
17
|
+
/**
|
|
18
|
+
* Specify the appearance of the Badge
|
|
19
|
+
* @default 'infoPrimary'
|
|
20
|
+
*/
|
|
21
|
+
appearance = input('infoPrimary');
|
|
22
|
+
/**
|
|
23
|
+
* Theme of the Badge
|
|
24
|
+
*/
|
|
25
|
+
theme = input();
|
|
26
|
+
/**
|
|
27
|
+
* Specify the size of the Badge
|
|
28
|
+
* @default 'sm'
|
|
29
|
+
*/
|
|
30
|
+
size = input('sm');
|
|
31
|
+
/**
|
|
32
|
+
* Specify the emphasis of the Badge
|
|
33
|
+
* @default 'strong'
|
|
34
|
+
*/
|
|
35
|
+
emphasis = input('strong');
|
|
36
|
+
/**
|
|
37
|
+
* Hides Badge icon
|
|
38
|
+
*/
|
|
39
|
+
hideIcon = input(false, { transform: booleanAttribute });
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: BadgeComponent, isStandalone: true, selector: "bm-ng-badge", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, hideIcon: { classPropertyName: "hideIcon", publicName: "hideIcon", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-badge\n [appearance]=\"appearance()\"\n [theme]=\"theme()\"\n [size]=\"size()\"\n [emphasis]=\"emphasis()\"\n [attr.hideIcon]=\"hideIcon() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-badge>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
44
|
+
type: Component,
|
|
45
|
+
args: [{ selector: 'bm-ng-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-badge\n [appearance]=\"appearance()\"\n [theme]=\"theme()\"\n [size]=\"size()\"\n [emphasis]=\"emphasis()\"\n [attr.hideIcon]=\"hideIcon() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-badge>\n", styles: [":host{display:inline-flex}\n"] }]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
// AUTO-GENERATED
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generated bundle index. Do not edit.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { BadgeComponent };
|
|
55
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-badge.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-badge.mjs","sources":["../../../../libs/web-components-angular/src/lib/badge/badge.component.ts","../../../../libs/web-components-angular/src/lib/badge/badge.component.html","../../../../libs/web-components-angular/src/lib/badge/index.ts","../../../../libs/web-components-angular/src/lib/badge/viasat-beam-web-components-angular-src-lib-badge.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-badge>\n * Generated from: libs/web-components/src/lib/Badge/Badge.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Provide text for the Badge\n * @slot icon - Specify a different icon for the Badge\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Badge';\n\n@Component({\n selector: 'bm-ng-badge',\n standalone: true,\n templateUrl: './badge.component.html',\n styleUrl: './badge.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BadgeComponent {\n /**\n * Specify the appearance of the Badge\n * @default 'infoPrimary'\n */\n appearance = input<'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'>('infoPrimary');\n\n /**\n * Theme of the Badge\n */\n theme = input<'light' | 'dark'>();\n\n /**\n * Specify the size of the Badge\n * @default 'sm'\n */\n size = input<'sm' | 'md' | undefined>('sm');\n\n /**\n * Specify the emphasis of the Badge\n * @default 'strong'\n */\n emphasis = input<'strong' | 'medium' | 'subtle'>('strong');\n\n /**\n * Hides Badge icon\n */\n hideIcon = input(false, { transform: booleanAttribute });\n\n\n}\n","<bm-badge\n [appearance]=\"appearance()\"\n [theme]=\"theme()\"\n [size]=\"size()\"\n [emphasis]=\"emphasis()\"\n [attr.hideIcon]=\"hideIcon() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-badge>\n","// AUTO-GENERATED\nexport * from './badge.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;AAUG;MAoBU,cAAc,CAAA;AACzB;;;AAGG;AACH,IAAA,UAAU,GAAG,KAAK,CAAwE,aAAa,CAAC;AAExG;;AAEG;IACH,KAAK,GAAG,KAAK,EAAoB;AAEjC;;;AAGG;AACH,IAAA,IAAI,GAAG,KAAK,CAA0B,IAAI,CAAC;AAE3C;;;AAGG;AACH,IAAA,QAAQ,GAAG,KAAK,CAAiC,QAAQ,CAAC;AAE1D;;AAEG;IACH,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;wGA3B7C,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,cAAc,ysBC9B3B,kNASA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDqBa,cAAc,EAAA,UAAA,EAAA,CAAA;kBAR1B,SAAS;+BACE,aAAa,EAAA,UAAA,EACX,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,kNAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA;;;AE5BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Box';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-box>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Box/Box.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Provide content for the Box
|
|
14
|
+
*/
|
|
15
|
+
class BoxComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Specify the background color of a Box
|
|
18
|
+
*/
|
|
19
|
+
backgroundColor = input();
|
|
20
|
+
/**
|
|
21
|
+
* Specify the border color of a Box
|
|
22
|
+
*/
|
|
23
|
+
borderColor = input();
|
|
24
|
+
/**
|
|
25
|
+
* Specify the border width of a Box
|
|
26
|
+
*/
|
|
27
|
+
borderWidth = input();
|
|
28
|
+
/**
|
|
29
|
+
* Specify the border radius of a Box
|
|
30
|
+
*/
|
|
31
|
+
borderRadius = input();
|
|
32
|
+
/**
|
|
33
|
+
* Specify before and after padding of a Box
|
|
34
|
+
*/
|
|
35
|
+
px = input();
|
|
36
|
+
/**
|
|
37
|
+
* Specify top and bottom padding of a Box
|
|
38
|
+
*/
|
|
39
|
+
py = input();
|
|
40
|
+
/**
|
|
41
|
+
* Specify top padding of a Box
|
|
42
|
+
*/
|
|
43
|
+
pTop = input();
|
|
44
|
+
/**
|
|
45
|
+
* Specify bottom padding of a Box
|
|
46
|
+
*/
|
|
47
|
+
pBottom = input();
|
|
48
|
+
/**
|
|
49
|
+
* Specify before padding of a Box
|
|
50
|
+
*/
|
|
51
|
+
pBefore = input();
|
|
52
|
+
/**
|
|
53
|
+
* Specify after padding of a Box
|
|
54
|
+
*/
|
|
55
|
+
pAfter = input();
|
|
56
|
+
/**
|
|
57
|
+
* Specify before and after margin of a Box
|
|
58
|
+
*/
|
|
59
|
+
mx = input();
|
|
60
|
+
/**
|
|
61
|
+
* Specify top and bottom margin of a Box
|
|
62
|
+
*/
|
|
63
|
+
my = input();
|
|
64
|
+
/**
|
|
65
|
+
* Specify top margin of a Box
|
|
66
|
+
*/
|
|
67
|
+
mTop = input();
|
|
68
|
+
/**
|
|
69
|
+
* Specify bottom margin of a Box
|
|
70
|
+
*/
|
|
71
|
+
mBottom = input();
|
|
72
|
+
/**
|
|
73
|
+
* Specify before margin of a Box
|
|
74
|
+
*/
|
|
75
|
+
mBefore = input();
|
|
76
|
+
/**
|
|
77
|
+
* Specify after margin of a Box
|
|
78
|
+
*/
|
|
79
|
+
mAfter = input();
|
|
80
|
+
/**
|
|
81
|
+
* Specify all margin
|
|
82
|
+
*/
|
|
83
|
+
m = input();
|
|
84
|
+
/**
|
|
85
|
+
* Specify all padding
|
|
86
|
+
*/
|
|
87
|
+
p = input();
|
|
88
|
+
/**
|
|
89
|
+
* Specify gap between child elements
|
|
90
|
+
*/
|
|
91
|
+
gap = input();
|
|
92
|
+
/**
|
|
93
|
+
* Specify if a Box has a shadow
|
|
94
|
+
*/
|
|
95
|
+
shadow = input();
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: BoxComponent, isStandalone: true, selector: "bm-ng-box", inputs: { backgroundColor: { classPropertyName: "backgroundColor", publicName: "backgroundColor", isSignal: true, isRequired: false, transformFunction: null }, borderColor: { classPropertyName: "borderColor", publicName: "borderColor", isSignal: true, isRequired: false, transformFunction: null }, borderWidth: { classPropertyName: "borderWidth", publicName: "borderWidth", isSignal: true, isRequired: false, transformFunction: null }, borderRadius: { classPropertyName: "borderRadius", publicName: "borderRadius", isSignal: true, isRequired: false, transformFunction: null }, px: { classPropertyName: "px", publicName: "px", isSignal: true, isRequired: false, transformFunction: null }, py: { classPropertyName: "py", publicName: "py", isSignal: true, isRequired: false, transformFunction: null }, pTop: { classPropertyName: "pTop", publicName: "pTop", isSignal: true, isRequired: false, transformFunction: null }, pBottom: { classPropertyName: "pBottom", publicName: "pBottom", isSignal: true, isRequired: false, transformFunction: null }, pBefore: { classPropertyName: "pBefore", publicName: "pBefore", isSignal: true, isRequired: false, transformFunction: null }, pAfter: { classPropertyName: "pAfter", publicName: "pAfter", isSignal: true, isRequired: false, transformFunction: null }, mx: { classPropertyName: "mx", publicName: "mx", isSignal: true, isRequired: false, transformFunction: null }, my: { classPropertyName: "my", publicName: "my", isSignal: true, isRequired: false, transformFunction: null }, mTop: { classPropertyName: "mTop", publicName: "mTop", isSignal: true, isRequired: false, transformFunction: null }, mBottom: { classPropertyName: "mBottom", publicName: "mBottom", isSignal: true, isRequired: false, transformFunction: null }, mBefore: { classPropertyName: "mBefore", publicName: "mBefore", isSignal: true, isRequired: false, transformFunction: null }, mAfter: { classPropertyName: "mAfter", publicName: "mAfter", isSignal: true, isRequired: false, transformFunction: null }, m: { classPropertyName: "m", publicName: "m", isSignal: true, isRequired: false, transformFunction: null }, p: { classPropertyName: "p", publicName: "p", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, shadow: { classPropertyName: "shadow", publicName: "shadow", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-box\n [backgroundColor]=\"backgroundColor()\"\n [borderColor]=\"borderColor()\"\n [borderWidth]=\"borderWidth()\"\n [borderRadius]=\"borderRadius()\"\n [px]=\"px()\"\n [py]=\"py()\"\n [pTop]=\"pTop()\"\n [pBottom]=\"pBottom()\"\n [pBefore]=\"pBefore()\"\n [pAfter]=\"pAfter()\"\n [mx]=\"mx()\"\n [my]=\"my()\"\n [mTop]=\"mTop()\"\n [mBottom]=\"mBottom()\"\n [mBefore]=\"mBefore()\"\n [mAfter]=\"mAfter()\"\n [m]=\"m()\"\n [p]=\"p()\"\n [gap]=\"gap()\"\n [shadow]=\"shadow()\"\n>\n <ng-content></ng-content>\n</bm-box>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
98
|
+
}
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BoxComponent, decorators: [{
|
|
100
|
+
type: Component,
|
|
101
|
+
args: [{ selector: 'bm-ng-box', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-box\n [backgroundColor]=\"backgroundColor()\"\n [borderColor]=\"borderColor()\"\n [borderWidth]=\"borderWidth()\"\n [borderRadius]=\"borderRadius()\"\n [px]=\"px()\"\n [py]=\"py()\"\n [pTop]=\"pTop()\"\n [pBottom]=\"pBottom()\"\n [pBefore]=\"pBefore()\"\n [pAfter]=\"pAfter()\"\n [mx]=\"mx()\"\n [my]=\"my()\"\n [mTop]=\"mTop()\"\n [mBottom]=\"mBottom()\"\n [mBefore]=\"mBefore()\"\n [mAfter]=\"mAfter()\"\n [m]=\"m()\"\n [p]=\"p()\"\n [gap]=\"gap()\"\n [shadow]=\"shadow()\"\n>\n <ng-content></ng-content>\n</bm-box>\n", styles: [":host{display:block}\n"] }]
|
|
102
|
+
}] });
|
|
103
|
+
|
|
104
|
+
// AUTO-GENERATED
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Generated bundle index. Do not edit.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
export { BoxComponent };
|
|
111
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-box.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-box.mjs","sources":["../../../../libs/web-components-angular/src/lib/box/box.component.ts","../../../../libs/web-components-angular/src/lib/box/box.component.html","../../../../libs/web-components-angular/src/lib/box/index.ts","../../../../libs/web-components-angular/src/lib/box/viasat-beam-web-components-angular-src-lib-box.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-box>\n * Generated from: libs/web-components/src/lib/Box/Box.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Provide content for the Box\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Box';\n\n@Component({\n selector: 'bm-ng-box',\n standalone: true,\n templateUrl: './box.component.html',\n styleUrl: './box.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BoxComponent {\n /**\n * Specify the background color of a Box\n */\n backgroundColor = input<'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'selected-subtle' | 'highlight' | 'transparent' | 'expressive-stronger' | 'expressive-inverse'>();\n\n /**\n * Specify the border color of a Box\n */\n borderColor = input<'positive' | 'warning' | 'negative' | 'inverse' | 'selected' | 'expressive' | 'strong' | '00' | '00-alt' | '01' | '02' | '03' | 'info-primary' | 'info-secondary' | 'positive-strong' | 'warning-strong' | 'negative-strong' | 'info-primary-strong' | 'info-secondary-strong' | 'transparent' | 'expressive-stronger' | 'focus'>();\n\n /**\n * Specify the border width of a Box\n */\n borderWidth = input<'md' | 'lg' | 'xl' | 'none' | 'divider'>();\n\n /**\n * Specify the border radius of a Box\n */\n borderRadius = input<'xs' | 'sm' | 'md' | 'lg' | 'none' | 'round'>();\n\n /**\n * Specify before and after padding of a Box\n */\n px = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify top and bottom padding of a Box\n */\n py = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify top padding of a Box\n */\n pTop = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify bottom padding of a Box\n */\n pBottom = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify before padding of a Box\n */\n pBefore = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify after padding of a Box\n */\n pAfter = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify before and after margin of a Box\n */\n mx = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify top and bottom margin of a Box\n */\n my = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify top margin of a Box\n */\n mTop = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify bottom margin of a Box\n */\n mBottom = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify before margin of a Box\n */\n mBefore = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify after margin of a Box\n */\n mAfter = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify all margin\n */\n m = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify all padding\n */\n p = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify gap between child elements\n */\n gap = input<'0' | '12' | '25' | '50' | '75' | '100' | '125' | '150' | '200' | '300' | '400' | '500' | '700' | '800'>();\n\n /**\n * Specify if a Box has a shadow\n */\n shadow = input<'sm' | 'md' | 'lg' | 'none' | 'overlay'>();\n\n\n}\n","<bm-box\n [backgroundColor]=\"backgroundColor()\"\n [borderColor]=\"borderColor()\"\n [borderWidth]=\"borderWidth()\"\n [borderRadius]=\"borderRadius()\"\n [px]=\"px()\"\n [py]=\"py()\"\n [pTop]=\"pTop()\"\n [pBottom]=\"pBottom()\"\n [pBefore]=\"pBefore()\"\n [pAfter]=\"pAfter()\"\n [mx]=\"mx()\"\n [my]=\"my()\"\n [mTop]=\"mTop()\"\n [mBottom]=\"mBottom()\"\n [mBefore]=\"mBefore()\"\n [mAfter]=\"mAfter()\"\n [m]=\"m()\"\n [p]=\"p()\"\n [gap]=\"gap()\"\n [shadow]=\"shadow()\"\n>\n <ng-content></ng-content>\n</bm-box>\n","// AUTO-GENERATED\nexport * from './box.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;AASG;MAmBU,YAAY,CAAA;AACvB;;AAEG;IACH,eAAe,GAAG,KAAK,EAAwW;AAE/X;;AAEG;IACH,WAAW,GAAG,KAAK,EAAoU;AAEvV;;AAEG;IACH,WAAW,GAAG,KAAK,EAA2C;AAE9D;;AAEG;IACH,YAAY,GAAG,KAAK,EAAgD;AAEpE;;AAEG;IACH,EAAE,GAAG,KAAK,EAA2G;AAErH;;AAEG;IACH,EAAE,GAAG,KAAK,EAA2G;AAErH;;AAEG;IACH,IAAI,GAAG,KAAK,EAA2G;AAEvH;;AAEG;IACH,OAAO,GAAG,KAAK,EAA2G;AAE1H;;AAEG;IACH,OAAO,GAAG,KAAK,EAA2G;AAE1H;;AAEG;IACH,MAAM,GAAG,KAAK,EAA2G;AAEzH;;AAEG;IACH,EAAE,GAAG,KAAK,EAA2G;AAErH;;AAEG;IACH,EAAE,GAAG,KAAK,EAA2G;AAErH;;AAEG;IACH,IAAI,GAAG,KAAK,EAA2G;AAEvH;;AAEG;IACH,OAAO,GAAG,KAAK,EAA2G;AAE1H;;AAEG;IACH,OAAO,GAAG,KAAK,EAA2G;AAE1H;;AAEG;IACH,MAAM,GAAG,KAAK,EAA2G;AAEzH;;AAEG;IACH,CAAC,GAAG,KAAK,EAA2G;AAEpH;;AAEG;IACH,CAAC,GAAG,KAAK,EAA2G;AAEpH;;AAEG;IACH,GAAG,GAAG,KAAK,EAA2G;AAEtH;;AAEG;IACH,MAAM,GAAG,KAAK,EAA2C;wGAnG9C,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,YAAY,i+EC5BzB,kiBAwBA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDIa,YAAY,EAAA,UAAA,EAAA,CAAA;kBARxB,SAAS;+BACE,WAAW,EAAA,UAAA,EACT,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,kiBAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AE1BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Breadcrumbs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-breadcrumb-item>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Pass text to an item
|
|
14
|
+
* @slot icon - Pass icon to an item
|
|
15
|
+
*/
|
|
16
|
+
class BreadcrumbsItemComponent {
|
|
17
|
+
/**
|
|
18
|
+
* Pass href to an item
|
|
19
|
+
*/
|
|
20
|
+
href = input();
|
|
21
|
+
/**
|
|
22
|
+
* Specify if the item is interactive without an href
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
clickable = input(false, { transform: booleanAttribute });
|
|
26
|
+
/**
|
|
27
|
+
* Specify truncation width of the items. Sets max-width for all items but the last.
|
|
28
|
+
*/
|
|
29
|
+
truncationWidth = input();
|
|
30
|
+
/**
|
|
31
|
+
* Specify explicitly if the item is the last one
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
isCurrent = input(false, { transform: booleanAttribute });
|
|
35
|
+
/**
|
|
36
|
+
* @default false
|
|
37
|
+
*/
|
|
38
|
+
isCollapsed = input(false, { transform: booleanAttribute });
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BreadcrumbsItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: BreadcrumbsItemComponent, isStandalone: true, selector: "bm-ng-breadcrumb-item", inputs: { href: { classPropertyName: "href", publicName: "href", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null }, truncationWidth: { classPropertyName: "truncationWidth", publicName: "truncationWidth", isSignal: true, isRequired: false, transformFunction: null }, isCurrent: { classPropertyName: "isCurrent", publicName: "isCurrent", isSignal: true, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-breadcrumb-item\n [href]=\"href()\"\n [attr.clickable]=\"clickable() ? '' : null\"\n [truncationWidth]=\"truncationWidth()\"\n [attr.isCurrent]=\"isCurrent() ? '' : null\"\n [attr.isCollapsed]=\"isCollapsed() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb-item>\n", styles: [":host{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BreadcrumbsItemComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'bm-ng-breadcrumb-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-breadcrumb-item\n [href]=\"href()\"\n [attr.clickable]=\"clickable() ? '' : null\"\n [truncationWidth]=\"truncationWidth()\"\n [attr.isCurrent]=\"isCurrent() ? '' : null\"\n [attr.isCollapsed]=\"isCollapsed() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb-item>\n", styles: [":host{display:inline-flex}\n"] }]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
// AUTO-GENERATED
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated bundle index. Do not edit.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
export { BreadcrumbsItemComponent };
|
|
54
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-breadcrumbs-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-breadcrumbs-item.mjs","sources":["../../../../libs/web-components-angular/src/lib/breadcrumbs-item/breadcrumbs-item.component.ts","../../../../libs/web-components-angular/src/lib/breadcrumbs-item/breadcrumbs-item.component.html","../../../../libs/web-components-angular/src/lib/breadcrumbs-item/index.ts","../../../../libs/web-components-angular/src/lib/breadcrumbs-item/viasat-beam-web-components-angular-src-lib-breadcrumbs-item.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-breadcrumb-item>\n * Generated from: libs/web-components/src/lib/Breadcrumbs/BreadcrumbsItem.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Pass text to an item\n * @slot icon - Pass icon to an item\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Breadcrumbs';\n\n@Component({\n selector: 'bm-ng-breadcrumb-item',\n standalone: true,\n templateUrl: './breadcrumbs-item.component.html',\n styleUrl: './breadcrumbs-item.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BreadcrumbsItemComponent {\n /**\n * Pass href to an item\n */\n href = input<string>();\n\n /**\n * Specify if the item is interactive without an href\n * @default false\n */\n clickable = input(false, { transform: booleanAttribute });\n\n /**\n * Specify truncation width of the items. Sets max-width for all items but the last.\n */\n truncationWidth = input<string>();\n\n /**\n * Specify explicitly if the item is the last one\n * @default false\n */\n isCurrent = input(false, { transform: booleanAttribute });\n\n /**\n * @default false\n */\n isCollapsed = input(false, { transform: booleanAttribute });\n\n\n}\n","<bm-breadcrumb-item\n [href]=\"href()\"\n [attr.clickable]=\"clickable() ? '' : null\"\n [truncationWidth]=\"truncationWidth()\"\n [attr.isCurrent]=\"isCurrent() ? '' : null\"\n [attr.isCollapsed]=\"isCollapsed() ? '' : null\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb-item>\n","// AUTO-GENERATED\nexport * from './breadcrumbs-item.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;AAUG;MAoBU,wBAAwB,CAAA;AACnC;;AAEG;IACH,IAAI,GAAG,KAAK,EAAU;AAEtB;;;AAGG;IACH,SAAS,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAEzD;;AAEG;IACH,eAAe,GAAG,KAAK,EAAU;AAEjC;;;AAGG;IACH,SAAS,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAEzD;;AAEG;IACH,WAAW,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;wGA1BhD,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAxB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,0vBC9BrC,kSASA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDqBa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBARpC,SAAS;+BACE,uBAAuB,EAAA,UAAA,EACrB,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,kSAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,CAAA,EAAA;;;AE5BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Breadcrumbs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-breadcrumb>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Pass items to the Breadcrumb
|
|
14
|
+
*/
|
|
15
|
+
class BreadcrumbsComponent {
|
|
16
|
+
/**
|
|
17
|
+
* Specify if items wrap or collapse to an ellipsis
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
wrap = input(true, { transform: booleanAttribute });
|
|
21
|
+
/**
|
|
22
|
+
* Specify how many items show before ellipsis
|
|
23
|
+
* @default 1
|
|
24
|
+
*/
|
|
25
|
+
itemsBeforeCollapse = input(1);
|
|
26
|
+
/**
|
|
27
|
+
* Specify how many items show after ellipsis
|
|
28
|
+
* @default 1
|
|
29
|
+
*/
|
|
30
|
+
itemsAfterCollapse = input(1);
|
|
31
|
+
/**
|
|
32
|
+
* Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent
|
|
33
|
+
*/
|
|
34
|
+
theme = input();
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: BreadcrumbsComponent, isStandalone: true, selector: "bm-ng-breadcrumb", inputs: { wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, itemsBeforeCollapse: { classPropertyName: "itemsBeforeCollapse", publicName: "itemsBeforeCollapse", isSignal: true, isRequired: false, transformFunction: null }, itemsAfterCollapse: { classPropertyName: "itemsAfterCollapse", publicName: "itemsAfterCollapse", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-breadcrumb\n [attr.wrap]=\"wrap() ? '' : null\"\n [itemsBeforeCollapse]=\"itemsBeforeCollapse()\"\n [itemsAfterCollapse]=\"itemsAfterCollapse()\"\n [theme]=\"theme()\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BreadcrumbsComponent, decorators: [{
|
|
39
|
+
type: Component,
|
|
40
|
+
args: [{ selector: 'bm-ng-breadcrumb', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-breadcrumb\n [attr.wrap]=\"wrap() ? '' : null\"\n [itemsBeforeCollapse]=\"itemsBeforeCollapse()\"\n [itemsAfterCollapse]=\"itemsAfterCollapse()\"\n [theme]=\"theme()\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb>\n", styles: [":host{display:block}\n"] }]
|
|
41
|
+
}] });
|
|
42
|
+
|
|
43
|
+
// AUTO-GENERATED
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Generated bundle index. Do not edit.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
export { BreadcrumbsComponent };
|
|
50
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-breadcrumbs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-breadcrumbs.mjs","sources":["../../../../libs/web-components-angular/src/lib/breadcrumbs/breadcrumbs.component.ts","../../../../libs/web-components-angular/src/lib/breadcrumbs/breadcrumbs.component.html","../../../../libs/web-components-angular/src/lib/breadcrumbs/index.ts","../../../../libs/web-components-angular/src/lib/breadcrumbs/viasat-beam-web-components-angular-src-lib-breadcrumbs.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-breadcrumb>\n * Generated from: libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Pass items to the Breadcrumb\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Breadcrumbs';\n\n@Component({\n selector: 'bm-ng-breadcrumb',\n standalone: true,\n templateUrl: './breadcrumbs.component.html',\n styleUrl: './breadcrumbs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class BreadcrumbsComponent {\n /**\n * Specify if items wrap or collapse to an ellipsis\n * @default true\n */\n wrap = input(true, { transform: booleanAttribute });\n\n /**\n * Specify how many items show before ellipsis\n * @default 1\n */\n itemsBeforeCollapse = input(1);\n\n /**\n * Specify how many items show after ellipsis\n * @default 1\n */\n itemsAfterCollapse = input(1);\n\n /**\n * Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n */\n theme = input<'light' | 'dark'>();\n\n\n}\n","<bm-breadcrumb\n [attr.wrap]=\"wrap() ? '' : null\"\n [itemsBeforeCollapse]=\"itemsBeforeCollapse()\"\n [itemsAfterCollapse]=\"itemsAfterCollapse()\"\n [theme]=\"theme()\"\n>\n <ng-content></ng-content>\n</bm-breadcrumb>\n","// AUTO-GENERATED\nexport * from './breadcrumbs.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;AASG;MAoBU,oBAAoB,CAAA;AAC/B;;;AAGG;IACH,IAAI,GAAG,KAAK,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAEnD;;;AAGG;AACH,IAAA,mBAAmB,GAAG,KAAK,CAAC,CAAC,CAAC;AAE9B;;;AAGG;AACH,IAAA,kBAAkB,GAAG,KAAK,CAAC,CAAC,CAAC;AAE7B;;AAEG;IACH,KAAK,GAAG,KAAK,EAAoB;wGAtBtB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,soBC7BjC,qOAQA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDqBa,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;+BACE,kBAAkB,EAAA,UAAA,EAChB,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,qOAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;;AE3BnC;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@viasat/beam-web-components/Button';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* AUTO-GENERATED - DO NOT EDIT MANUALLY
|
|
7
|
+
*
|
|
8
|
+
* Angular wrapper for <bm-button>
|
|
9
|
+
* Generated from: libs/web-components/src/lib/Button/Button.ts
|
|
10
|
+
*
|
|
11
|
+
* Re-generate: npx nx run web-components-angular:generate
|
|
12
|
+
*
|
|
13
|
+
* @slot default - Provide content for the Button
|
|
14
|
+
* @slot iconBefore - Specify if the Button displays icon before the text
|
|
15
|
+
* @slot iconAfter - Specify if the Button displays icon after the text
|
|
16
|
+
*/
|
|
17
|
+
class ButtonComponent {
|
|
18
|
+
/**
|
|
19
|
+
* Specify the appearance of a Button
|
|
20
|
+
* @default 'accent'
|
|
21
|
+
*/
|
|
22
|
+
appearance = input('accent');
|
|
23
|
+
/**
|
|
24
|
+
* Specify the kind of Button
|
|
25
|
+
* @default 'filled'
|
|
26
|
+
*/
|
|
27
|
+
kind = input('filled');
|
|
28
|
+
/**
|
|
29
|
+
* Specify the size of a Button
|
|
30
|
+
* @default 'md'
|
|
31
|
+
*/
|
|
32
|
+
size = input('md');
|
|
33
|
+
/**
|
|
34
|
+
* Specify if the Button is disabled
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
disabled = input(false, { transform: booleanAttribute });
|
|
38
|
+
/**
|
|
39
|
+
* Specify if Button is fluid
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
fluid = input(false, { transform: booleanAttribute });
|
|
43
|
+
/**
|
|
44
|
+
* Specify the width of a Button
|
|
45
|
+
*/
|
|
46
|
+
width = input();
|
|
47
|
+
/**
|
|
48
|
+
* Specify the height of a Button
|
|
49
|
+
*/
|
|
50
|
+
height = input();
|
|
51
|
+
/**
|
|
52
|
+
* Specify the theme of the Button
|
|
53
|
+
*/
|
|
54
|
+
theme = input();
|
|
55
|
+
/**
|
|
56
|
+
* Specify if the icon displays without text
|
|
57
|
+
*/
|
|
58
|
+
iconOnly = input(false, { transform: booleanAttribute });
|
|
59
|
+
/**
|
|
60
|
+
* @default 'button'
|
|
61
|
+
*/
|
|
62
|
+
type = input('button');
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.18", type: ButtonComponent, isStandalone: true, selector: "bm-ng-button", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, kind: { classPropertyName: "kind", publicName: "kind", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<bm-button\n [appearance]=\"appearance()\"\n [kind]=\"kind()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [attr.fluid]=\"fluid() ? '' : null\"\n [width]=\"width()\"\n [height]=\"height()\"\n [theme]=\"theme()\"\n [attr.iconOnly]=\"iconOnly() ? '' : null\"\n [type]=\"type()\"\n>\n <ng-content></ng-content>\n</bm-button>\n", styles: [":host{display:inline-block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{ selector: 'bm-ng-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<bm-button\n [appearance]=\"appearance()\"\n [kind]=\"kind()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [attr.fluid]=\"fluid() ? '' : null\"\n [width]=\"width()\"\n [height]=\"height()\"\n [theme]=\"theme()\"\n [attr.iconOnly]=\"iconOnly() ? '' : null\"\n [type]=\"type()\"\n>\n <ng-content></ng-content>\n</bm-button>\n", styles: [":host{display:inline-block}\n"] }]
|
|
69
|
+
}] });
|
|
70
|
+
|
|
71
|
+
// AUTO-GENERATED
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Generated bundle index. Do not edit.
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
export { ButtonComponent };
|
|
78
|
+
//# sourceMappingURL=viasat-beam-web-components-angular-src-lib-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"viasat-beam-web-components-angular-src-lib-button.mjs","sources":["../../../../libs/web-components-angular/src/lib/button/button.component.ts","../../../../libs/web-components-angular/src/lib/button/button.component.html","../../../../libs/web-components-angular/src/lib/button/index.ts","../../../../libs/web-components-angular/src/lib/button/viasat-beam-web-components-angular-src-lib-button.ts"],"sourcesContent":["/**\n * AUTO-GENERATED - DO NOT EDIT MANUALLY\n *\n * Angular wrapper for <bm-button>\n * Generated from: libs/web-components/src/lib/Button/Button.ts\n *\n * Re-generate: npx nx run web-components-angular:generate\n * \n * @slot default - Provide content for the Button\n * @slot iconBefore - Specify if the Button displays icon before the text\n * @slot iconAfter - Specify if the Button displays icon after the text\n */\n\nimport {\n CUSTOM_ELEMENTS_SCHEMA,\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n input,\n} from '@angular/core';\n\nimport '@viasat/beam-web-components/Button';\n\n@Component({\n selector: 'bm-ng-button',\n standalone: true,\n templateUrl: './button.component.html',\n styleUrl: './button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class ButtonComponent {\n /**\n * Specify the appearance of a Button\n * @default 'accent'\n */\n appearance = input<'accent' | 'neutral' | 'neutral-subtle' | 'destructive'>('accent');\n\n /**\n * Specify the kind of Button\n * @default 'filled'\n */\n kind = input<'filled' | 'outline' | 'ghost' | 'bare'>('filled');\n\n /**\n * Specify the size of a Button\n * @default 'md'\n */\n size = input<'sm' | 'md' | 'lg'>('md');\n\n /**\n * Specify if the Button is disabled\n * @default false\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Specify if Button is fluid\n * @default false\n */\n fluid = input(false, { transform: booleanAttribute });\n\n /**\n * Specify the width of a Button\n */\n width = input<string>();\n\n /**\n * Specify the height of a Button\n */\n height = input<string>();\n\n /**\n * Specify the theme of the Button\n */\n theme = input<'light' | 'dark'>();\n\n /**\n * Specify if the icon displays without text\n */\n iconOnly = input(false, { transform: booleanAttribute });\n\n /**\n * @default 'button'\n */\n type = input('button');\n\n\n}\n","<bm-button\n [appearance]=\"appearance()\"\n [kind]=\"kind()\"\n [size]=\"size()\"\n [attr.disabled]=\"disabled() ? '' : null\"\n [attr.fluid]=\"fluid() ? '' : null\"\n [width]=\"width()\"\n [height]=\"height()\"\n [theme]=\"theme()\"\n [attr.iconOnly]=\"iconOnly() ? '' : null\"\n [type]=\"type()\"\n>\n <ng-content></ng-content>\n</bm-button>\n","// AUTO-GENERATED\nexport * from './button.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;AAWG;MAoBU,eAAe,CAAA;AAC1B;;;AAGG;AACH,IAAA,UAAU,GAAG,KAAK,CAA0D,QAAQ,CAAC;AAErF;;;AAGG;AACH,IAAA,IAAI,GAAG,KAAK,CAA0C,QAAQ,CAAC;AAE/D;;;AAGG;AACH,IAAA,IAAI,GAAG,KAAK,CAAqB,IAAI,CAAC;AAEtC;;;AAGG;IACH,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAExD;;;AAGG;IACH,KAAK,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAErD;;AAEG;IACH,KAAK,GAAG,KAAK,EAAU;AAEvB;;AAEG;IACH,MAAM,GAAG,KAAK,EAAU;AAExB;;AAEG;IACH,KAAK,GAAG,KAAK,EAAoB;AAEjC;;AAEG;IACH,QAAQ,GAAG,KAAK,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;AAExD;;AAEG;AACH,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC;wGAtDX,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,+xCC/B5B,uWAcA,EAAA,MAAA,EAAA,CAAA,+BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FDiBa,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,SAAS;+BACE,cAAc,EAAA,UAAA,EACZ,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EAAA,OAAA,EACtC,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,uWAAA,EAAA,MAAA,EAAA,CAAA,+BAAA,CAAA,EAAA;;;AE7BnC;;ACAA;;AAEG;;;;"}
|