@brandsync/angular 1.22.3 → 1.24.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 +284 -205
- package/fesm2022/brandsync-angular.mjs.map +1 -1
- package/lib/components.d.ts +83 -1
- package/lib/index.d.ts +1 -1
- package/package.json +2 -2
package/lib/components.d.ts
CHANGED
|
@@ -38,6 +38,9 @@ import type { BsDropdownCustomEvent } from '@brandsync/wc/dist/components';
|
|
|
38
38
|
import type { BsErrorPageCustomEvent } from '@brandsync/wc/dist/components';
|
|
39
39
|
import type { BsFileUploadCustomEvent } from '@brandsync/wc/dist/components';
|
|
40
40
|
import type { BsFileUploadItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
41
|
+
import type { BsGenuiCustomEvent } from '@brandsync/wc/dist/components';
|
|
42
|
+
import type { Issue as IBsGenuiIssue } from '@brandsync/wc/dist/components';
|
|
43
|
+
import type { BsGenuiActionDetail as IBsGenuiBsGenuiActionDetail } from '@brandsync/wc/dist/components';
|
|
41
44
|
import type { BsGlobalSearchCustomEvent } from '@brandsync/wc/dist/components';
|
|
42
45
|
import type { BsGlobalSearchSelectDetail as IBsGlobalSearchBsGlobalSearchSelectDetail } from '@brandsync/wc/dist/components';
|
|
43
46
|
import type { BsInlineTabCustomEvent } from '@brandsync/wc/dist/components';
|
|
@@ -52,6 +55,7 @@ import type { BsMenuItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
|
52
55
|
import type { BsMessageListCustomEvent } from '@brandsync/wc/dist/components';
|
|
53
56
|
import type { BsNavigationDrawerCustomEvent } from '@brandsync/wc/dist/components';
|
|
54
57
|
import type { BsNavigationDrawerItemCustomEvent } from '@brandsync/wc/dist/components';
|
|
58
|
+
import type { BsNavigationHeaderCustomEvent } from '@brandsync/wc/dist/components';
|
|
55
59
|
import type { BsOnboardingChecklistCustomEvent } from '@brandsync/wc/dist/components';
|
|
56
60
|
import type { BsPageHeaderCustomEvent } from '@brandsync/wc/dist/components';
|
|
57
61
|
import type { BsPaginationCustomEvent } from '@brandsync/wc/dist/components';
|
|
@@ -375,6 +379,15 @@ export declare interface BsCarousel extends Components.BsCarousel {
|
|
|
375
379
|
*/
|
|
376
380
|
bsPauseChange: EventEmitter<BsCarouselCustomEvent<boolean>>;
|
|
377
381
|
}
|
|
382
|
+
export declare class BsChart {
|
|
383
|
+
protected z: NgZone;
|
|
384
|
+
protected el: HTMLBsChartElement;
|
|
385
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
386
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsChart, never>;
|
|
387
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsChart, "bs-chart", never, { "animated": { "alias": "animated"; "required": false; }; "area": { "alias": "area"; "required": false; }; "categories": { "alias": "categories"; "required": false; }; "categoryLabel": { "alias": "categoryLabel"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "description": { "alias": "description"; "required": false; }; "emptyDescription": { "alias": "emptyDescription"; "required": false; }; "emptyHeading": { "alias": "emptyHeading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorHeading": { "alias": "errorHeading"; "required": false; }; "label": { "alias": "label"; "required": false; }; "legendLabel": { "alias": "legendLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "noDataLabel": { "alias": "noDataLabel"; "required": false; }; "series": { "alias": "series"; "required": false; }; "showGrid": { "alias": "showGrid"; "required": false; }; "showLegend": { "alias": "showLegend"; "required": false; }; "showPoints": { "alias": "showPoints"; "required": false; }; "type": { "alias": "type"; "required": false; }; "valuePrefix": { "alias": "valuePrefix"; "required": false; }; "valueSuffix": { "alias": "valueSuffix"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
388
|
+
}
|
|
389
|
+
export declare interface BsChart extends Components.BsChart {
|
|
390
|
+
}
|
|
378
391
|
export declare class BsChatbotFeedback {
|
|
379
392
|
protected z: NgZone;
|
|
380
393
|
protected el: HTMLBsChatbotFeedbackElement;
|
|
@@ -998,6 +1011,68 @@ export declare interface BsFileUploadItem extends Components.BsFileUploadItem {
|
|
|
998
1011
|
*/
|
|
999
1012
|
bsRemove: EventEmitter<BsFileUploadItemCustomEvent<void>>;
|
|
1000
1013
|
}
|
|
1014
|
+
export declare class BsGenui {
|
|
1015
|
+
protected z: NgZone;
|
|
1016
|
+
protected el: HTMLBsGenuiElement;
|
|
1017
|
+
bsGenerateStart: EventEmitter<BsGenuiCustomEvent<{
|
|
1018
|
+
intent: string;
|
|
1019
|
+
}>>;
|
|
1020
|
+
bsGenerated: EventEmitter<BsGenuiCustomEvent<{
|
|
1021
|
+
intent: string;
|
|
1022
|
+
spec: unknown;
|
|
1023
|
+
issues: IBsGenuiIssue[];
|
|
1024
|
+
repairs: number;
|
|
1025
|
+
}>>;
|
|
1026
|
+
bsGenerateError: EventEmitter<BsGenuiCustomEvent<{
|
|
1027
|
+
intent: string;
|
|
1028
|
+
message: string;
|
|
1029
|
+
}>>;
|
|
1030
|
+
bsFeedback: EventEmitter<BsGenuiCustomEvent<{
|
|
1031
|
+
intent: string;
|
|
1032
|
+
rating: "like" | "dislike" | number;
|
|
1033
|
+
comment?: string;
|
|
1034
|
+
}>>;
|
|
1035
|
+
bsAction: EventEmitter<BsGenuiCustomEvent<IBsGenuiBsGenuiActionDetail>>;
|
|
1036
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1037
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsGenui, never>;
|
|
1038
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsGenui, "bs-genui", never, { "actions": { "alias": "actions"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "catalog": { "alias": "catalog"; "required": false; }; "confirmHeading": { "alias": "confirmHeading"; "required": false; }; "confirmLabel": { "alias": "confirmLabel"; "required": false; }; "data": { "alias": "data"; "required": false; }; "emptyDescription": { "alias": "emptyDescription"; "required": false; }; "emptyHeading": { "alias": "emptyHeading"; "required": false; }; "errorHeading": { "alias": "errorHeading"; "required": false; }; "generate": { "alias": "generate"; "required": false; }; "instructions": { "alias": "instructions"; "required": false; }; "intent": { "alias": "intent"; "required": false; }; "label": { "alias": "label"; "required": false; }; "manual": { "alias": "manual"; "required": false; }; "maxRepairs": { "alias": "maxRepairs"; "required": false; }; "retryLabel": { "alias": "retryLabel"; "required": false; }; "showActions": { "alias": "showActions"; "required": false; }; "status": { "alias": "status"; "required": false; }; "streamingLabel": { "alias": "streamingLabel"; "required": false; }; "thinkingLabel": { "alias": "thinkingLabel"; "required": false; }; }, { "bsGenerateStart": "bsGenerateStart"; "bsGenerated": "bsGenerated"; "bsGenerateError": "bsGenerateError"; "bsFeedback": "bsFeedback"; "bsAction": "bsAction"; }, never, ["*"], true, never>;
|
|
1039
|
+
}
|
|
1040
|
+
export declare interface BsGenui extends Components.BsGenui {
|
|
1041
|
+
/**
|
|
1042
|
+
* Fired when a run begins.
|
|
1043
|
+
*/
|
|
1044
|
+
bsGenerateStart: EventEmitter<BsGenuiCustomEvent<{
|
|
1045
|
+
intent: string;
|
|
1046
|
+
}>>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Fired when a run ends with a screen. `issues` lists what was dropped; `repairs` how many corrections were needed.
|
|
1049
|
+
*/
|
|
1050
|
+
bsGenerated: EventEmitter<BsGenuiCustomEvent<{
|
|
1051
|
+
intent: string;
|
|
1052
|
+
spec: unknown;
|
|
1053
|
+
issues: IBsGenuiIssue[];
|
|
1054
|
+
repairs: number;
|
|
1055
|
+
}>>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Fired when a run fails (the model call threw, or no `generate` was set).
|
|
1058
|
+
*/
|
|
1059
|
+
bsGenerateError: EventEmitter<BsGenuiCustomEvent<{
|
|
1060
|
+
intent: string;
|
|
1061
|
+
message: string;
|
|
1062
|
+
}>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Fired when the user rates the result. `comment` is set when they submit the feedback form.
|
|
1065
|
+
*/
|
|
1066
|
+
bsFeedback: EventEmitter<BsGenuiCustomEvent<{
|
|
1067
|
+
intent: string;
|
|
1068
|
+
rating: 'like' | 'dislike' | number;
|
|
1069
|
+
comment?: string;
|
|
1070
|
+
}>>;
|
|
1071
|
+
/**
|
|
1072
|
+
* Fired when a generated button's action ran, failed or was declined in the confirmation dialog.
|
|
1073
|
+
*/
|
|
1074
|
+
bsAction: EventEmitter<BsGenuiCustomEvent<IBsGenuiBsGenuiActionDetail>>;
|
|
1075
|
+
}
|
|
1001
1076
|
export declare class BsGlobalSearch {
|
|
1002
1077
|
protected z: NgZone;
|
|
1003
1078
|
protected el: HTMLBsGlobalSearchElement;
|
|
@@ -1379,11 +1454,18 @@ export declare interface BsNavigationDrawerItem extends Components.BsNavigationD
|
|
|
1379
1454
|
export declare class BsNavigationHeader {
|
|
1380
1455
|
protected z: NgZone;
|
|
1381
1456
|
protected el: HTMLBsNavigationHeaderElement;
|
|
1457
|
+
bsClose: EventEmitter<BsNavigationHeaderCustomEvent<void>>;
|
|
1382
1458
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1383
1459
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsNavigationHeader, never>;
|
|
1384
|
-
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>;
|
|
1460
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsNavigationHeader, "bs-navigation-header", never, { "alignment": { "alias": "alignment"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "closeMenuLabel": { "alias": "closeMenuLabel"; "required": false; }; "collapsible": { "alias": "collapsible"; "required": false; }; "logoBackground": { "alias": "logoBackground"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "open": { "alias": "open"; "required": false; }; "skipToContentHref": { "alias": "skipToContentHref"; "required": false; }; "skipToContentLabel": { "alias": "skipToContentLabel"; "required": false; }; }, { "bsClose": "bsClose"; }, never, ["*"], true, never>;
|
|
1385
1461
|
}
|
|
1386
1462
|
export declare interface BsNavigationHeader extends Components.BsNavigationHeader {
|
|
1463
|
+
/**
|
|
1464
|
+
* Fires when the user dismisses the `collapsible` mobile panel (Escape, or a click on the
|
|
1465
|
+
backdrop), after `open` has been set back to `false`. Does not fire when you set
|
|
1466
|
+
`open = false` yourself. Same convention as `bs-navigation-drawer`'s identical event.
|
|
1467
|
+
*/
|
|
1468
|
+
bsClose: EventEmitter<BsNavigationHeaderCustomEvent<void>>;
|
|
1387
1469
|
}
|
|
1388
1470
|
export declare class BsOnboardingChecklist {
|
|
1389
1471
|
protected z: NgZone;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.BsAccordion | typeof d.BsAccordionGroup | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAppRecentItem | typeof d.BsAppShell | typeof d.BsAppSwitcher | typeof d.BsAppTile | 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.BsCarousel | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsCheckboxGroup | typeof d.BsCheckboxSkeleton | typeof d.BsChipFilter | typeof d.BsChipInformative | typeof d.BsChipInput | typeof d.BsCitationPreview | typeof d.BsCodeBlock | typeof d.BsCommandPalette | typeof d.BsCompactMenuBlock | typeof d.BsCompanySwitcher | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsContainer | typeof d.BsCookieConsent | typeof d.BsDataTable | typeof d.BsDatepicker | typeof d.BsDescriptionItem | typeof d.BsDescriptionList | typeof d.BsDialog | typeof d.BsDivider | typeof d.BsDropdown | typeof d.BsEmptyState | typeof d.BsErrorPage | typeof d.BsFileUpload | typeof d.BsFileUploadItem | typeof d.BsGlobalSearch | typeof d.BsGrid | typeof d.BsHeading | typeof d.BsIcon | typeof d.BsIconButton | typeof d.BsIconTile | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsKey | typeof d.BsKeyCaps | typeof d.BsKeyboardShortcuts | typeof d.BsLink | typeof d.BsList | typeof d.BsListItem | typeof d.BsLogo | typeof d.BsMegaMenu | typeof d.BsMenu | typeof d.BsMenuBlock | typeof d.BsMenuItem | typeof d.BsMessage | typeof d.BsMessageList | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsOnboardingChecklist | typeof d.BsPageHeader | typeof d.BsPagination | typeof d.BsPopover | typeof d.BsPresence | typeof d.BsProductTour | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsQrCode | typeof d.BsRadio | typeof d.BsRadioGroup | typeof d.BsRipple | typeof d.BsSearchItem | typeof d.BsSelect | typeof d.BsSessionTimeout | typeof d.BsShortcutRow | typeof d.BsSidePanel | typeof d.BsSkeleton | typeof d.BsSkipLink | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSpinner | typeof d.BsSplitPane | typeof d.BsStack | typeof d.BsStat | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTableOfContents | typeof d.BsTabs | typeof d.BsTag | typeof d.BsText | typeof d.BsTimepicker | typeof d.BsToast | typeof d.BsToggleButton | typeof d.BsToggleButtonGroup | typeof d.BsToolbar | typeof d.BsTooltip | typeof d.BsTooltipTrigger | typeof d.BsTree | typeof d.BsTreeItem | typeof d.BsWhatsNew | typeof d.BsWhatsNewEntry)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.BsAccordion | typeof d.BsAccordionGroup | typeof d.BsAiDisclaimer | typeof d.BsAiGreeting | typeof d.BsAiThinking | typeof d.BsAppRecentItem | typeof d.BsAppShell | typeof d.BsAppSwitcher | typeof d.BsAppTile | 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.BsCarousel | typeof d.BsChart | typeof d.BsChatbotFeedback | typeof d.BsChatbotHeader | typeof d.BsChatbotResponseAction | typeof d.BsChatbotSourcesDrawer | typeof d.BsChatbotSuggestionButton | typeof d.BsCheckbox | typeof d.BsCheckboxGroup | typeof d.BsCheckboxSkeleton | typeof d.BsChipFilter | typeof d.BsChipInformative | typeof d.BsChipInput | typeof d.BsCitationPreview | typeof d.BsCodeBlock | typeof d.BsCommandPalette | typeof d.BsCompactMenuBlock | typeof d.BsCompanySwitcher | typeof d.BsComposer | typeof d.BsComposerStatusBanner | typeof d.BsContainer | typeof d.BsCookieConsent | typeof d.BsDataTable | typeof d.BsDatepicker | typeof d.BsDescriptionItem | typeof d.BsDescriptionList | typeof d.BsDialog | typeof d.BsDivider | typeof d.BsDropdown | typeof d.BsEmptyState | typeof d.BsErrorPage | typeof d.BsFileUpload | typeof d.BsFileUploadItem | typeof d.BsGenui | typeof d.BsGlobalSearch | typeof d.BsGrid | typeof d.BsHeading | typeof d.BsIcon | typeof d.BsIconButton | typeof d.BsIconTile | typeof d.BsInlineTab | typeof d.BsInput | typeof d.BsKey | typeof d.BsKeyCaps | typeof d.BsKeyboardShortcuts | typeof d.BsLink | typeof d.BsList | typeof d.BsListItem | typeof d.BsLogo | typeof d.BsMegaMenu | typeof d.BsMenu | typeof d.BsMenuBlock | typeof d.BsMenuItem | typeof d.BsMessage | typeof d.BsMessageList | typeof d.BsNavigationDrawer | typeof d.BsNavigationDrawerItem | typeof d.BsNavigationHeader | typeof d.BsOnboardingChecklist | typeof d.BsPageHeader | typeof d.BsPagination | typeof d.BsPopover | typeof d.BsPresence | typeof d.BsProductTour | typeof d.BsProgress | typeof d.BsProgressLinear | typeof d.BsQrCode | typeof d.BsRadio | typeof d.BsRadioGroup | typeof d.BsRipple | typeof d.BsSearchItem | typeof d.BsSelect | typeof d.BsSessionTimeout | typeof d.BsShortcutRow | typeof d.BsSidePanel | typeof d.BsSkeleton | typeof d.BsSkipLink | typeof d.BsSlider | typeof d.BsSnackbar | typeof d.BsSourceLink | typeof d.BsSpinner | typeof d.BsSplitPane | typeof d.BsStack | typeof d.BsStat | typeof d.BsStepper | typeof d.BsStepperStep | typeof d.BsSwitch | typeof d.BsTab | typeof d.BsTableOfContents | typeof d.BsTabs | typeof d.BsTag | typeof d.BsText | typeof d.BsTimepicker | typeof d.BsToast | typeof d.BsToggleButton | typeof d.BsToggleButtonGroup | typeof d.BsToolbar | typeof d.BsTooltip | typeof d.BsTooltipTrigger | typeof d.BsTree | typeof d.BsTreeItem | typeof d.BsWhatsNew | typeof d.BsWhatsNewEntry)[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brandsync/angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "Brandsync design system components as Angular standalone components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@angular/forms": "^19.0.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@brandsync/wc": "^1.
|
|
13
|
+
"@brandsync/wc": "^1.24.0",
|
|
14
14
|
"tslib": "^2.3.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|