@brandsync/angular 0.0.10 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/brandsync-angular.mjs +625 -55
- package/fesm2022/brandsync-angular.mjs.map +1 -1
- package/lib/components.d.ts +262 -9
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/components.d.ts
CHANGED
|
@@ -10,10 +10,19 @@ import type { BsCheckboxCustomEvent } from '@brandsync/wc/dist/components';
|
|
|
10
10
|
import type { BsComposerCustomEvent } from '@brandsync/wc/dist/components';
|
|
11
11
|
import type { BsComposerStatusBannerCustomEvent } from '@brandsync/wc/dist/components';
|
|
12
12
|
import type { BsDataTableCustomEvent } from '@brandsync/wc/dist/components';
|
|
13
|
+
import type { BsDialogCustomEvent } from '@brandsync/wc/dist/components';
|
|
14
|
+
import type { BsInlineTabCustomEvent } from '@brandsync/wc/dist/components';
|
|
13
15
|
import type { BsInputCustomEvent } from '@brandsync/wc/dist/components';
|
|
14
16
|
import type { BsMenuItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
15
|
-
import type {
|
|
17
|
+
import type { BsNavigationDrawerCustomEvent } from '@brandsync/wc/dist/components';
|
|
18
|
+
import type { BsNavigationDrawerItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
19
|
+
import type { BsPaginationCustomEvent } from '@brandsync/wc/dist/components';
|
|
20
|
+
import type { BsRadioCustomEvent } from '@brandsync/wc/dist/components';
|
|
21
|
+
import type { BsSliderCustomEvent } from '@brandsync/wc/dist/components';
|
|
22
|
+
import type { BsSnackbarCustomEvent } from '@brandsync/wc/dist/components';
|
|
16
23
|
import type { BsSourceLinkCustomEvent } from '@brandsync/wc/dist/components';
|
|
24
|
+
import type { BsSwitchCustomEvent } from '@brandsync/wc/dist/components';
|
|
25
|
+
import type { BsTabCustomEvent } from '@brandsync/wc/dist/components';
|
|
17
26
|
import * as i0 from "@angular/core";
|
|
18
27
|
export declare class BsAiDisclaimer {
|
|
19
28
|
protected z: NgZone;
|
|
@@ -65,6 +74,15 @@ export declare class BsAttachmentList {
|
|
|
65
74
|
}
|
|
66
75
|
export declare interface BsAttachmentList extends Components.BsAttachmentList {
|
|
67
76
|
}
|
|
77
|
+
export declare class BsAvatar {
|
|
78
|
+
protected z: NgZone;
|
|
79
|
+
protected el: HTMLBsAvatarElement;
|
|
80
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsAvatar, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsAvatar, "bs-avatar", never, { "alt": { "alias": "alt"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
83
|
+
}
|
|
84
|
+
export declare interface BsAvatar extends Components.BsAvatar {
|
|
85
|
+
}
|
|
68
86
|
export declare class BsBadge {
|
|
69
87
|
protected z: NgZone;
|
|
70
88
|
protected el: HTMLBsBadgeElement;
|
|
@@ -74,6 +92,33 @@ export declare class BsBadge {
|
|
|
74
92
|
}
|
|
75
93
|
export declare interface BsBadge extends Components.BsBadge {
|
|
76
94
|
}
|
|
95
|
+
export declare class BsBreadcrumb {
|
|
96
|
+
protected z: NgZone;
|
|
97
|
+
protected el: HTMLBsBreadcrumbElement;
|
|
98
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumb, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumb, "bs-breadcrumb", never, { "current": { "alias": "current"; "required": false; }; "href": { "alias": "href"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
101
|
+
}
|
|
102
|
+
export declare interface BsBreadcrumb extends Components.BsBreadcrumb {
|
|
103
|
+
}
|
|
104
|
+
export declare class BsBreadcrumbOverflow {
|
|
105
|
+
protected z: NgZone;
|
|
106
|
+
protected el: HTMLBsBreadcrumbOverflowElement;
|
|
107
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumbOverflow, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumbOverflow, "bs-breadcrumb-overflow", never, { "items": { "alias": "items"; "required": false; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
110
|
+
}
|
|
111
|
+
export declare interface BsBreadcrumbOverflow extends Components.BsBreadcrumbOverflow {
|
|
112
|
+
}
|
|
113
|
+
export declare class BsBreadcrumbs {
|
|
114
|
+
protected z: NgZone;
|
|
115
|
+
protected el: HTMLBsBreadcrumbsElement;
|
|
116
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsBreadcrumbs, never>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsBreadcrumbs, "bs-breadcrumbs", never, { "label": { "alias": "label"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
119
|
+
}
|
|
120
|
+
export declare interface BsBreadcrumbs extends Components.BsBreadcrumbs {
|
|
121
|
+
}
|
|
77
122
|
export declare class BsButton {
|
|
78
123
|
protected z: NgZone;
|
|
79
124
|
protected el: HTMLBsButtonElement;
|
|
@@ -245,7 +290,7 @@ export declare class BsCheckbox {
|
|
|
245
290
|
bsChange: EventEmitter<BsCheckboxCustomEvent<boolean>>;
|
|
246
291
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
247
292
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsCheckbox, never>;
|
|
248
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsCheckbox, "bs-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsCheckbox, "bs-checkbox", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
|
|
249
294
|
}
|
|
250
295
|
export declare interface BsCheckbox extends Components.BsCheckbox {
|
|
251
296
|
/**
|
|
@@ -253,6 +298,15 @@ export declare interface BsCheckbox extends Components.BsCheckbox {
|
|
|
253
298
|
*/
|
|
254
299
|
bsChange: EventEmitter<BsCheckboxCustomEvent<boolean>>;
|
|
255
300
|
}
|
|
301
|
+
export declare class BsCheckboxSkeleton {
|
|
302
|
+
protected z: NgZone;
|
|
303
|
+
protected el: HTMLBsCheckboxSkeletonElement;
|
|
304
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
305
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsCheckboxSkeleton, never>;
|
|
306
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsCheckboxSkeleton, "bs-checkbox-skeleton", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
307
|
+
}
|
|
308
|
+
export declare interface BsCheckboxSkeleton extends Components.BsCheckboxSkeleton {
|
|
309
|
+
}
|
|
256
310
|
export declare class BsComposer {
|
|
257
311
|
protected z: NgZone;
|
|
258
312
|
protected el: HTMLBsComposerElement;
|
|
@@ -337,6 +391,40 @@ export declare interface BsDataTable extends Components.BsDataTable {
|
|
|
337
391
|
selected: boolean;
|
|
338
392
|
}>>;
|
|
339
393
|
}
|
|
394
|
+
export declare class BsDialog {
|
|
395
|
+
protected z: NgZone;
|
|
396
|
+
protected el: HTMLBsDialogElement;
|
|
397
|
+
bsClose: EventEmitter<BsDialogCustomEvent<void>>;
|
|
398
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
399
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsDialog, never>;
|
|
400
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsDialog, "bs-dialog", never, { "centered": { "alias": "centered"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "open": { "alias": "open"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsClose": "bsClose"; }, never, ["*"], true, never>;
|
|
401
|
+
}
|
|
402
|
+
export declare interface BsDialog extends Components.BsDialog {
|
|
403
|
+
bsClose: EventEmitter<BsDialogCustomEvent<void>>;
|
|
404
|
+
}
|
|
405
|
+
export declare class BsIconButton {
|
|
406
|
+
protected z: NgZone;
|
|
407
|
+
protected el: HTMLBsIconButtonElement;
|
|
408
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
409
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsIconButton, never>;
|
|
410
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsIconButton, "bs-icon-button", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
411
|
+
}
|
|
412
|
+
export declare interface BsIconButton extends Components.BsIconButton {
|
|
413
|
+
}
|
|
414
|
+
export declare class BsInlineTab {
|
|
415
|
+
protected z: NgZone;
|
|
416
|
+
protected el: HTMLBsInlineTabElement;
|
|
417
|
+
bsSelect: EventEmitter<BsInlineTabCustomEvent<void>>;
|
|
418
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsInlineTab, never>;
|
|
420
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsInlineTab, "bs-inline-tab", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "bsSelect": "bsSelect"; }, never, ["*"], true, never>;
|
|
421
|
+
}
|
|
422
|
+
export declare interface BsInlineTab extends Components.BsInlineTab {
|
|
423
|
+
/**
|
|
424
|
+
* Fires when the tab is clicked. Does not toggle `selected` itself -- see the class JSDoc.
|
|
425
|
+
*/
|
|
426
|
+
bsSelect: EventEmitter<BsInlineTabCustomEvent<void>>;
|
|
427
|
+
}
|
|
340
428
|
export declare class BsInput {
|
|
341
429
|
protected z: NgZone;
|
|
342
430
|
protected el: HTMLBsInputElement;
|
|
@@ -376,6 +464,15 @@ export declare interface BsInput extends Components.BsInput {
|
|
|
376
464
|
*/
|
|
377
465
|
bsCountryChange: EventEmitter<BsInputCustomEvent<string>>;
|
|
378
466
|
}
|
|
467
|
+
export declare class BsLogo {
|
|
468
|
+
protected z: NgZone;
|
|
469
|
+
protected el: HTMLBsLogoElement;
|
|
470
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
471
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsLogo, never>;
|
|
472
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsLogo, "bs-logo", never, { "alt": { "alias": "alt"; "required": false; }; "background": { "alias": "background"; "required": false; }; "src": { "alias": "src"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
473
|
+
}
|
|
474
|
+
export declare interface BsLogo extends Components.BsLogo {
|
|
475
|
+
}
|
|
379
476
|
export declare class BsMenu {
|
|
380
477
|
protected z: NgZone;
|
|
381
478
|
protected el: HTMLBsMenuElement;
|
|
@@ -399,16 +496,135 @@ export declare interface BsMenuItem extends Components.BsMenuItem {
|
|
|
399
496
|
*/
|
|
400
497
|
bsSelect: EventEmitter<BsMenuItemCustomEvent<void>>;
|
|
401
498
|
}
|
|
402
|
-
export declare class
|
|
499
|
+
export declare class BsNavigationDrawer {
|
|
403
500
|
protected z: NgZone;
|
|
404
|
-
protected el:
|
|
405
|
-
|
|
501
|
+
protected el: HTMLBsNavigationDrawerElement;
|
|
502
|
+
bsCollapse: EventEmitter<BsNavigationDrawerCustomEvent<boolean>>;
|
|
503
|
+
bsSearchClick: EventEmitter<BsNavigationDrawerCustomEvent<void>>;
|
|
406
504
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
407
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
408
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
505
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavigationDrawer, never>;
|
|
506
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationDrawer, "bs-navigation-drawer", never, { "collapsed": { "alias": "collapsed"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "logoBackground": { "alias": "logoBackground"; "required": false; }; "showLogo": { "alias": "showLogo"; "required": false; }; }, { "bsCollapse": "bsCollapse"; "bsSearchClick": "bsSearchClick"; }, never, ["*"], true, never>;
|
|
409
507
|
}
|
|
410
|
-
export declare interface
|
|
411
|
-
|
|
508
|
+
export declare interface BsNavigationDrawer extends Components.BsNavigationDrawer {
|
|
509
|
+
/**
|
|
510
|
+
* Fires with the new `collapsed` value when the collapse toggle button is clicked.
|
|
511
|
+
*/
|
|
512
|
+
bsCollapse: EventEmitter<BsNavigationDrawerCustomEvent<boolean>>;
|
|
513
|
+
/**
|
|
514
|
+
* Fires when the compact search-trigger button (shown instead of the `search` slot while
|
|
515
|
+
`collapsed`) is clicked -- e.g. to open a full search overlay. This component has no
|
|
516
|
+
visibility into what the `search` slot actually contains, so it can't drive a real search
|
|
517
|
+
itself once shrunk to icon size.
|
|
518
|
+
*/
|
|
519
|
+
bsSearchClick: EventEmitter<BsNavigationDrawerCustomEvent<void>>;
|
|
520
|
+
}
|
|
521
|
+
export declare class BsNavigationDrawerItem {
|
|
522
|
+
protected z: NgZone;
|
|
523
|
+
protected el: HTMLBsNavigationDrawerItemElement;
|
|
524
|
+
bsSelect: EventEmitter<BsNavigationDrawerItemCustomEvent<void>>;
|
|
525
|
+
bsToggle: EventEmitter<BsNavigationDrawerItemCustomEvent<boolean>>;
|
|
526
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
527
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavigationDrawerItem, never>;
|
|
528
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationDrawerItem, "bs-navigation-drawer-item", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "nested": { "alias": "nested"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "bsSelect": "bsSelect"; "bsToggle": "bsToggle"; }, never, ["*"], true, never>;
|
|
529
|
+
}
|
|
530
|
+
export declare interface BsNavigationDrawerItem extends Components.BsNavigationDrawerItem {
|
|
531
|
+
/**
|
|
532
|
+
* Fires on click, only when `expandable` is false. See the class doc above.
|
|
533
|
+
*/
|
|
534
|
+
bsSelect: EventEmitter<BsNavigationDrawerItemCustomEvent<void>>;
|
|
535
|
+
/**
|
|
536
|
+
* Fires with the new `expanded` value on click, only when `expandable` is true. See the class
|
|
537
|
+
doc above.
|
|
538
|
+
*/
|
|
539
|
+
bsToggle: EventEmitter<BsNavigationDrawerItemCustomEvent<boolean>>;
|
|
540
|
+
}
|
|
541
|
+
export declare class BsNavigationHeader {
|
|
542
|
+
protected z: NgZone;
|
|
543
|
+
protected el: HTMLBsNavigationHeaderElement;
|
|
544
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
545
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavigationHeader, never>;
|
|
546
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationHeader, "bs-navigation-header", never, { "alignment": { "alias": "alignment"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "logoBackground": { "alias": "logoBackground"; "required": false; }; "skipToContentHref": { "alias": "skipToContentHref"; "required": false; }; "skipToContentLabel": { "alias": "skipToContentLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
547
|
+
}
|
|
548
|
+
export declare interface BsNavigationHeader extends Components.BsNavigationHeader {
|
|
549
|
+
}
|
|
550
|
+
export declare class BsPagination {
|
|
551
|
+
protected z: NgZone;
|
|
552
|
+
protected el: HTMLBsPaginationElement;
|
|
553
|
+
bsPageChange: EventEmitter<BsPaginationCustomEvent<number>>;
|
|
554
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsPagination, never>;
|
|
556
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsPagination, "bs-pagination", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "siblingCount": { "alias": "siblingCount"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; }, { "bsPageChange": "bsPageChange"; }, never, ["*"], true, never>;
|
|
557
|
+
}
|
|
558
|
+
export declare interface BsPagination extends Components.BsPagination {
|
|
559
|
+
/**
|
|
560
|
+
* Fires whenever the active page changes as a result of the user clicking a page/prev/next
|
|
561
|
+
button -- not when `currentPage` is set programmatically from outside.
|
|
562
|
+
*/
|
|
563
|
+
bsPageChange: EventEmitter<BsPaginationCustomEvent<number>>;
|
|
564
|
+
}
|
|
565
|
+
export declare class BsRadio {
|
|
566
|
+
protected z: NgZone;
|
|
567
|
+
protected el: HTMLBsRadioElement;
|
|
568
|
+
bsChange: EventEmitter<BsRadioCustomEvent<string>>;
|
|
569
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
570
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsRadio, never>;
|
|
571
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsRadio, "bs-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
|
|
572
|
+
}
|
|
573
|
+
export declare interface BsRadio extends Components.BsRadio {
|
|
574
|
+
/**
|
|
575
|
+
* Emitted with this radio's own `value` when it becomes checked via user interaction. Since
|
|
576
|
+
native same-`name` grouping doesn't cross shadow-root boundaries (see the `name` prop's doc),
|
|
577
|
+
a consumer wiring up a group of `bs-radio`s must itself set `checked = false` on the others in
|
|
578
|
+
response to this event -- there's no automatic un-checking to rely on here.
|
|
579
|
+
*/
|
|
580
|
+
bsChange: EventEmitter<BsRadioCustomEvent<string>>;
|
|
581
|
+
}
|
|
582
|
+
export declare class BsSlider {
|
|
583
|
+
protected z: NgZone;
|
|
584
|
+
protected el: HTMLBsSliderElement;
|
|
585
|
+
bsChange: EventEmitter<BsSliderCustomEvent<number>>;
|
|
586
|
+
bsRangeChange: EventEmitter<BsSliderCustomEvent<{
|
|
587
|
+
start: number;
|
|
588
|
+
end: number;
|
|
589
|
+
}>>;
|
|
590
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
591
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSlider, never>;
|
|
592
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSlider, "bs-slider", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "segments": { "alias": "segments"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "step": { "alias": "step"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueEnd": { "alias": "valueEnd"; "required": false; }; "valueStart": { "alias": "valueStart"; "required": false; }; }, { "bsChange": "bsChange"; "bsRangeChange": "bsRangeChange"; }, never, ["*"], true, never>;
|
|
593
|
+
}
|
|
594
|
+
export declare interface BsSlider extends Components.BsSlider {
|
|
595
|
+
/**
|
|
596
|
+
* Emitted when `value` changes via user interaction (dragging the thumb, or committing the
|
|
597
|
+
value field), with the new value. Only fires for `type="default"`/`type="segmented"`.
|
|
598
|
+
*/
|
|
599
|
+
bsChange: EventEmitter<BsSliderCustomEvent<number>>;
|
|
600
|
+
/**
|
|
601
|
+
* Emitted when `valueStart`/`valueEnd` changes via user interaction, with both current values.
|
|
602
|
+
Only fires for `type="range"`.
|
|
603
|
+
*/
|
|
604
|
+
bsRangeChange: EventEmitter<BsSliderCustomEvent<{
|
|
605
|
+
start: number;
|
|
606
|
+
end: number;
|
|
607
|
+
}>>;
|
|
608
|
+
}
|
|
609
|
+
export declare class BsSnackbar {
|
|
610
|
+
protected z: NgZone;
|
|
611
|
+
protected el: HTMLBsSnackbarElement;
|
|
612
|
+
bsAction: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
613
|
+
bsDismiss: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
614
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
615
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSnackbar, never>;
|
|
616
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSnackbar, "bs-snackbar", never, { "actionLabel": { "alias": "actionLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "bsAction": "bsAction"; "bsDismiss": "bsDismiss"; }, never, ["*"], true, never>;
|
|
617
|
+
}
|
|
618
|
+
export declare interface BsSnackbar extends Components.BsSnackbar {
|
|
619
|
+
/**
|
|
620
|
+
* Fires when the action button is clicked. Ignored/never fires if `actionLabel` isn't set.
|
|
621
|
+
*/
|
|
622
|
+
bsAction: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
623
|
+
/**
|
|
624
|
+
* Fires when the close button is clicked. This component doesn't remove itself from the DOM --
|
|
625
|
+
the consumer is expected to do that (or hide it) in response to this event.
|
|
626
|
+
*/
|
|
627
|
+
bsDismiss: EventEmitter<BsSnackbarCustomEvent<void>>;
|
|
412
628
|
}
|
|
413
629
|
export declare class BsSourceLink {
|
|
414
630
|
protected z: NgZone;
|
|
@@ -424,6 +640,43 @@ export declare interface BsSourceLink extends Components.BsSourceLink {
|
|
|
424
640
|
*/
|
|
425
641
|
bsOpen: EventEmitter<BsSourceLinkCustomEvent<void>>;
|
|
426
642
|
}
|
|
643
|
+
export declare class BsSwitch {
|
|
644
|
+
protected z: NgZone;
|
|
645
|
+
protected el: HTMLBsSwitchElement;
|
|
646
|
+
bsChange: EventEmitter<BsSwitchCustomEvent<boolean>>;
|
|
647
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
648
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsSwitch, never>;
|
|
649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsSwitch, "bs-switch", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "bsChange": "bsChange"; }, never, ["*"], true, never>;
|
|
650
|
+
}
|
|
651
|
+
export declare interface BsSwitch extends Components.BsSwitch {
|
|
652
|
+
/**
|
|
653
|
+
* Emitted when the checked state changes via user interaction, with the new `checked` value.
|
|
654
|
+
*/
|
|
655
|
+
bsChange: EventEmitter<BsSwitchCustomEvent<boolean>>;
|
|
656
|
+
}
|
|
657
|
+
export declare class BsTab {
|
|
658
|
+
protected z: NgZone;
|
|
659
|
+
protected el: HTMLBsTabElement;
|
|
660
|
+
bsSelect: EventEmitter<BsTabCustomEvent<void>>;
|
|
661
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
662
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTab, never>;
|
|
663
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTab, "bs-tab", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "bsSelect": "bsSelect"; }, never, ["*"], true, never>;
|
|
664
|
+
}
|
|
665
|
+
export declare interface BsTab extends Components.BsTab {
|
|
666
|
+
/**
|
|
667
|
+
* Fires when the tab is clicked. Does not toggle `selected` itself -- see the class JSDoc.
|
|
668
|
+
*/
|
|
669
|
+
bsSelect: EventEmitter<BsTabCustomEvent<void>>;
|
|
670
|
+
}
|
|
671
|
+
export declare class BsTabs {
|
|
672
|
+
protected z: NgZone;
|
|
673
|
+
protected el: HTMLBsTabsElement;
|
|
674
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
675
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsTabs, never>;
|
|
676
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsTabs, "bs-tabs", never, { "orientation": { "alias": "orientation"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
677
|
+
}
|
|
678
|
+
export declare interface BsTabs extends Components.BsTabs {
|
|
679
|
+
}
|
|
427
680
|
export declare class BsTooltip {
|
|
428
681
|
protected z: NgZone;
|
|
429
682
|
protected el: HTMLBsTooltipElement;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAttachment | typeof d.BsAttachmentList | typeof d.BsBadge | typeof d.BsButton | typeof d.BsButtonSkeleton | typeof d.BsCard | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsDataTable | typeof d.BsInput | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAttachment | typeof d.BsAttachmentList | typeof d.BsAvatar | typeof d.BsBadge | typeof d.BsBreadcrumb | typeof d.BsBreadcrumbOverflow | typeof d.BsBreadcrumbs | typeof d.BsButton | typeof d.BsButtonSkeleton | typeof d.BsCard | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsCheckboxSkeleton | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsDataTable | typeof d.BsDialog | typeof d.BsIconButton | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsLogo | typeof d.BsMenu | typeof d.BsMenuItem | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsPagination | typeof d.BsRadio | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTabs | typeof d.BsTooltip)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandsync/angular",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Brandsync design system components as Angular standalone components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@angular/core": "^19.0.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@brandsync/wc": "^0.0
|
|
12
|
+
"@brandsync/wc": "^0.1.0",
|
|
13
13
|
"tslib": "^2.3.0"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|