@brandsync/angular 1.22.2 → 1.23.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.
@@ -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';
@@ -375,6 +378,15 @@ export declare interface BsCarousel extends Components.BsCarousel {
375
378
  */
376
379
  bsPauseChange: EventEmitter<BsCarouselCustomEvent<boolean>>;
377
380
  }
381
+ export declare class BsChart {
382
+ protected z: NgZone;
383
+ protected el: HTMLBsChartElement;
384
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
385
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsChart, never>;
386
+ 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>;
387
+ }
388
+ export declare interface BsChart extends Components.BsChart {
389
+ }
378
390
  export declare class BsChatbotFeedback {
379
391
  protected z: NgZone;
380
392
  protected el: HTMLBsChatbotFeedbackElement;
@@ -998,6 +1010,68 @@ export declare interface BsFileUploadItem extends Components.BsFileUploadItem {
998
1010
  */
999
1011
  bsRemove: EventEmitter<BsFileUploadItemCustomEvent<void>>;
1000
1012
  }
1013
+ export declare class BsGenui {
1014
+ protected z: NgZone;
1015
+ protected el: HTMLBsGenuiElement;
1016
+ bsGenerateStart: EventEmitter<BsGenuiCustomEvent<{
1017
+ intent: string;
1018
+ }>>;
1019
+ bsGenerated: EventEmitter<BsGenuiCustomEvent<{
1020
+ intent: string;
1021
+ spec: unknown;
1022
+ issues: IBsGenuiIssue[];
1023
+ repairs: number;
1024
+ }>>;
1025
+ bsGenerateError: EventEmitter<BsGenuiCustomEvent<{
1026
+ intent: string;
1027
+ message: string;
1028
+ }>>;
1029
+ bsFeedback: EventEmitter<BsGenuiCustomEvent<{
1030
+ intent: string;
1031
+ rating: "like" | "dislike" | number;
1032
+ comment?: string;
1033
+ }>>;
1034
+ bsAction: EventEmitter<BsGenuiCustomEvent<IBsGenuiBsGenuiActionDetail>>;
1035
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1036
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsGenui, never>;
1037
+ 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>;
1038
+ }
1039
+ export declare interface BsGenui extends Components.BsGenui {
1040
+ /**
1041
+ * Fired when a run begins.
1042
+ */
1043
+ bsGenerateStart: EventEmitter<BsGenuiCustomEvent<{
1044
+ intent: string;
1045
+ }>>;
1046
+ /**
1047
+ * Fired when a run ends with a screen. `issues` lists what was dropped; `repairs` how many corrections were needed.
1048
+ */
1049
+ bsGenerated: EventEmitter<BsGenuiCustomEvent<{
1050
+ intent: string;
1051
+ spec: unknown;
1052
+ issues: IBsGenuiIssue[];
1053
+ repairs: number;
1054
+ }>>;
1055
+ /**
1056
+ * Fired when a run fails (the model call threw, or no `generate` was set).
1057
+ */
1058
+ bsGenerateError: EventEmitter<BsGenuiCustomEvent<{
1059
+ intent: string;
1060
+ message: string;
1061
+ }>>;
1062
+ /**
1063
+ * Fired when the user rates the result. `comment` is set when they submit the feedback form.
1064
+ */
1065
+ bsFeedback: EventEmitter<BsGenuiCustomEvent<{
1066
+ intent: string;
1067
+ rating: 'like' | 'dislike' | number;
1068
+ comment?: string;
1069
+ }>>;
1070
+ /**
1071
+ * Fired when a generated button's action ran, failed or was declined in the confirmation dialog.
1072
+ */
1073
+ bsAction: EventEmitter<BsGenuiCustomEvent<IBsGenuiBsGenuiActionDetail>>;
1074
+ }
1001
1075
  export declare class BsGlobalSearch {
1002
1076
  protected z: NgZone;
1003
1077
  protected el: HTMLBsGlobalSearchElement;
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.22.2",
3
+ "version": "1.23.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.22.2",
13
+ "@brandsync/wc": "^1.23.0",
14
14
  "tslib": "^2.3.0"
15
15
  },
16
16
  "license": "MIT",