@luzmo/ngx-analytics-components-kit 1.0.8-beta.7 → 1.0.8
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/esm/components/data-field-panel.d.ts +4 -4
- package/esm/components/data-field.d.ts +4 -4
- package/esm/components/formula-editor.d.ts +0 -1
- package/esm/components/formula-editor.js +1 -1
- package/esm/components/item-slot-drop.d.ts +5 -5
- package/esm/index.d.ts +2 -54
- package/esm/index.js +2 -106
- package/package.json +2 -2
- package/esm/components/ai-chat-empty-state.d.ts +0 -39
- package/esm/components/ai-chat-empty-state.js +0 -99
- package/esm/components/ai-chat.d.ts +0 -147
- package/esm/components/ai-chat.js +0 -455
- package/esm/components/ai-interaction-textarea.d.ts +0 -106
- package/esm/components/ai-interaction-textarea.js +0 -305
- package/esm/components/data-field-level.d.ts +0 -50
- package/esm/components/data-field-level.js +0 -129
- package/esm/components/data-fields-select.d.ts +0 -81
- package/esm/components/data-fields-select.js +0 -227
- package/esm/components/dataset-icon.d.ts +0 -34
- package/esm/components/dataset-icon.js +0 -86
- package/esm/components/dataset-selector-list.d.ts +0 -56
- package/esm/components/dataset-selector-list.js +0 -155
- package/esm/components/dataset-selector-row.d.ts +0 -70
- package/esm/components/dataset-selector-row.js +0 -197
- package/esm/components/display-settings-binning.d.ts +0 -37
- package/esm/components/display-settings-binning.js +0 -91
- package/esm/components/display-settings-datetime.d.ts +0 -40
- package/esm/components/display-settings-datetime.js +0 -99
- package/esm/components/display-settings-grand-totals.d.ts +0 -37
- package/esm/components/display-settings-grand-totals.js +0 -91
- package/esm/components/display-settings-numeric.d.ts +0 -45
- package/esm/components/display-settings-numeric.js +0 -115
- package/esm/components/display-settings-period-over-period.d.ts +0 -44
- package/esm/components/display-settings-period-over-period.js +0 -107
- package/esm/components/display-settings.d.ts +0 -83
- package/esm/components/display-settings.js +0 -231
- package/esm/components/filter-expression-picker.d.ts +0 -64
- package/esm/components/filter-expression-picker.js +0 -179
- package/esm/components/filter-item.d.ts +0 -63
- package/esm/components/filter-item.js +0 -187
- package/esm/components/filter-parameter-picker.d.ts +0 -56
- package/esm/components/filter-parameter-picker.js +0 -151
- package/esm/components/filter-value-picker-datetime.d.ts +0 -47
- package/esm/components/filter-value-picker-datetime.js +0 -131
- package/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
- package/esm/components/filter-value-picker-hierarchy.js +0 -155
- package/esm/components/filter-value-picker-numeric.d.ts +0 -53
- package/esm/components/filter-value-picker-numeric.js +0 -155
- package/esm/components/filter-value-picker.d.ts +0 -57
- package/esm/components/filter-value-picker.js +0 -171
- package/esm/components/formula-field.d.ts +0 -70
- package/esm/components/formula-field.js +0 -209
- package/esm/components/interactive-viz-item.d.ts +0 -63
- package/esm/components/interactive-viz-item.js +0 -188
- package/esm/components/slot-menu-list.d.ts +0 -46
- package/esm/components/slot-menu-list.js +0 -123
- package/esm/components/slot-menu.d.ts +0 -104
- package/esm/components/slot-menu.js +0 -300
- package/esm/components/viz-item-menu.d.ts +0 -42
- package/esm/components/viz-item-menu.js +0 -111
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/data-field-panel';
|
|
3
|
-
import type { LuzmoDataFieldPanel as LuzmoDataFieldPanelHostElement,
|
|
3
|
+
import type { LuzmoDataFieldPanel as LuzmoDataFieldPanelHostElement, DatasetChangedEventDetail, DatasetDataFields } from '@luzmo/analytics-components-kit/data-field-panel';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export type {
|
|
5
|
+
export type { DatasetChangedEventDetail, DatasetDataFields } from '@luzmo/analytics-components-kit/data-field-panel';
|
|
6
6
|
export declare class LuzmoDataFieldPanel implements OnChanges {
|
|
7
7
|
private readonly elementRef;
|
|
8
8
|
private readonly renderer;
|
|
@@ -60,9 +60,9 @@ export declare class LuzmoDataFieldPanel implements OnChanges {
|
|
|
60
60
|
/** Announces that the selected dataset has changed */
|
|
61
61
|
readonly luzmoDatasetChanged: import("@angular/core").OutputEmitterRef<CustomEvent<DatasetChangedEventDetail>>;
|
|
62
62
|
/** Announces that a data field has been dropped */
|
|
63
|
-
readonly luzmoDataFieldDropped: import("@angular/core").OutputEmitterRef<
|
|
63
|
+
readonly luzmoDataFieldDropped: import("@angular/core").OutputEmitterRef<unknown>;
|
|
64
64
|
/** Announces that a drag has started on a data field */
|
|
65
|
-
readonly luzmoDataFieldDragStarted: import("@angular/core").OutputEmitterRef<
|
|
65
|
+
readonly luzmoDataFieldDragStarted: import("@angular/core").OutputEmitterRef<unknown>;
|
|
66
66
|
constructor();
|
|
67
67
|
ngOnChanges(changes: SimpleChanges): void;
|
|
68
68
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/data-field';
|
|
3
|
-
import type { LuzmoDataField as LuzmoDataFieldHostElement
|
|
3
|
+
import type { LuzmoDataField as LuzmoDataFieldHostElement } from '@luzmo/analytics-components-kit/data-field';
|
|
4
4
|
import type { DatasetDataField } from '@luzmo/analytics-components-kit/types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export type {
|
|
6
|
+
export type { DatasetDataFieldWithSublevel } from '@luzmo/analytics-components-kit/data-field';
|
|
7
7
|
export declare class LuzmoDataField implements OnChanges {
|
|
8
8
|
private readonly elementRef;
|
|
9
9
|
private readonly renderer;
|
|
@@ -27,9 +27,9 @@ export declare class LuzmoDataField implements OnChanges {
|
|
|
27
27
|
/** The size of the element */
|
|
28
28
|
size?: 's' | 'm' | 'l' | 'xl';
|
|
29
29
|
/** Announces that the data field has been dropped */
|
|
30
|
-
readonly luzmoDataFieldDropped: import("@angular/core").OutputEmitterRef<
|
|
30
|
+
readonly luzmoDataFieldDropped: import("@angular/core").OutputEmitterRef<unknown>;
|
|
31
31
|
/** Announces that the drag is started on the data field */
|
|
32
|
-
readonly luzmoDataFieldDragStarted: import("@angular/core").OutputEmitterRef<
|
|
32
|
+
readonly luzmoDataFieldDragStarted: import("@angular/core").OutputEmitterRef<unknown>;
|
|
33
33
|
constructor();
|
|
34
34
|
ngOnChanges(changes: SimpleChanges): void;
|
|
35
35
|
/**
|
|
@@ -3,7 +3,6 @@ import '@luzmo/analytics-components-kit/formula-editor';
|
|
|
3
3
|
import type { LuzmoFormulaEditor as LuzmoFormulaEditorHostElement } from '@luzmo/analytics-components-kit/formula-editor';
|
|
4
4
|
import type { ValidityChangedEventDetail } from '@luzmo/analytics-components-kit/types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export type { LuzmoFormulaCodeMirror } from '@luzmo/analytics-components-kit/formula-editor';
|
|
7
6
|
export declare class LuzmoFormulaEditor implements OnChanges {
|
|
8
7
|
private readonly elementRef;
|
|
9
8
|
private readonly renderer;
|
|
@@ -233,4 +233,4 @@ export class LuzmoFormulaEditor {
|
|
|
233
233
|
type: Input,
|
|
234
234
|
args: [{ alias: 'size' }]
|
|
235
235
|
}], luzmoValidityChanged: [{ type: i0.Output, args: ["luzmoValidityChanged"] }], luzmoExpressionChanged: [{ type: i0.Output, args: ["luzmoExpressionChanged"] }], luzmoDatasetsError: [{ type: i0.Output, args: ["luzmoDatasetsError"] }] }); })();
|
|
236
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFormulaEditor, { className: "LuzmoFormulaEditor", filePath: "components/formula-editor.ts", lineNumber:
|
|
236
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoFormulaEditor, { className: "LuzmoFormulaEditor", filePath: "components/formula-editor.ts", lineNumber: 21 }); })();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import '@luzmo/analytics-components-kit/item-slot-drop';
|
|
3
|
-
import type { LuzmoItemSlotDrop as LuzmoItemSlotDropHostElement,
|
|
3
|
+
import type { LuzmoItemSlotDrop as LuzmoItemSlotDropHostElement, SlotConfig, SlotContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop';
|
|
4
4
|
import type { SlotName, VizItemSlot, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
5
5
|
import type { Placement } from '@luzmo/lucero';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export type {
|
|
7
|
+
export type { SlotConfig, SlotContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop';
|
|
8
8
|
export declare class LuzmoItemSlotDrop implements OnChanges {
|
|
9
9
|
private readonly elementRef;
|
|
10
10
|
private readonly renderer;
|
|
@@ -50,11 +50,11 @@ export declare class LuzmoItemSlotDrop implements OnChanges {
|
|
|
50
50
|
/** Emitted when the slot menu overlay closes / becomes inactive. */
|
|
51
51
|
readonly luzmoSlotMenuInactive: import("@angular/core").OutputEmitterRef<CustomEvent<unknown>>;
|
|
52
52
|
/** Emitted when the slot menu overlay opens for a slot */
|
|
53
|
-
readonly luzmoSlotMenuActive: import("@angular/core").OutputEmitterRef<
|
|
53
|
+
readonly luzmoSlotMenuActive: import("@angular/core").OutputEmitterRef<unknown>;
|
|
54
54
|
/** Emitted to highlight the active column or formula in the slot menu */
|
|
55
|
-
readonly luzmoSlotMenuHighlight: import("@angular/core").OutputEmitterRef<
|
|
55
|
+
readonly luzmoSlotMenuHighlight: import("@angular/core").OutputEmitterRef<unknown>;
|
|
56
56
|
/** Event that is fired when the info button is clicked in display-settings, includes the visibility state and ID values */
|
|
57
|
-
readonly luzmoInfoVisibilityChanged: import("@angular/core").OutputEmitterRef<
|
|
57
|
+
readonly luzmoInfoVisibilityChanged: import("@angular/core").OutputEmitterRef<unknown>;
|
|
58
58
|
/** Announces that the slot contents has changed */
|
|
59
59
|
readonly luzmoSlotContentsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<SlotContentsChangedEventDetail>>;
|
|
60
60
|
constructor();
|
package/esm/index.d.ts
CHANGED
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
import { LuzmoAiChat } from './components/ai-chat.js';
|
|
2
|
-
import { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
|
|
3
|
-
import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
|
|
4
1
|
import { LuzmoDataField } from './components/data-field.js';
|
|
5
|
-
import { LuzmoDataFieldLevel } from './components/data-field-level.js';
|
|
6
2
|
import { LuzmoDataFieldPanel } from './components/data-field-panel.js';
|
|
7
|
-
import { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
|
|
8
|
-
import { LuzmoDatasetIcon } from './components/dataset-icon.js';
|
|
9
|
-
import { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
|
|
10
|
-
import { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
|
|
11
|
-
import { LuzmoDisplaySettings } from './components/display-settings.js';
|
|
12
|
-
import { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
|
|
13
|
-
import { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
|
|
14
|
-
import { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
|
|
15
|
-
import { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
|
|
16
|
-
import { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
|
|
17
|
-
import { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
|
|
18
|
-
import { LuzmoFilterItem } from './components/filter-item.js';
|
|
19
|
-
import { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
|
|
20
|
-
import { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
|
|
21
|
-
import { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
|
|
22
|
-
import { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
|
|
23
|
-
import { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
|
|
24
3
|
import { LuzmoFilters } from './components/filters.js';
|
|
25
4
|
import { LuzmoFormula } from './components/formula.js';
|
|
26
5
|
import { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
27
|
-
import { LuzmoFormulaField } from './components/formula-field.js';
|
|
28
|
-
import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
29
6
|
import { LuzmoItemGrid } from './components/item-grid.js';
|
|
30
7
|
import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
31
8
|
import { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -48,37 +25,11 @@ import { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
|
|
|
48
25
|
import { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
|
|
49
26
|
import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
50
27
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
51
|
-
import { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
52
|
-
import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
53
|
-
import { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
54
|
-
export { LuzmoAiChat, type LuzmoAiChatElement } from './components/ai-chat.js';
|
|
55
|
-
export { LuzmoAiChatEmptyState, type LuzmoAiChatEmptyStateElement } from './components/ai-chat-empty-state.js';
|
|
56
|
-
export { LuzmoAiInteractionTextarea, type LuzmoAiInteractionTextareaElement } from './components/ai-interaction-textarea.js';
|
|
57
28
|
export { LuzmoDataField, type LuzmoDataFieldElement } from './components/data-field.js';
|
|
58
|
-
export { LuzmoDataFieldLevel, type LuzmoDataFieldLevelElement } from './components/data-field-level.js';
|
|
59
29
|
export { LuzmoDataFieldPanel, type LuzmoDataFieldPanelElement } from './components/data-field-panel.js';
|
|
60
|
-
export { LuzmoDataFieldsSelect, type LuzmoDataFieldsSelectElement } from './components/data-fields-select.js';
|
|
61
|
-
export { LuzmoDatasetIcon, type LuzmoDatasetIconElement } from './components/dataset-icon.js';
|
|
62
|
-
export { LuzmoDatasetSelectorList, type LuzmoDatasetSelectorListElement } from './components/dataset-selector-list.js';
|
|
63
|
-
export { LuzmoDatasetSelectorRow, type LuzmoDatasetSelectorRowElement } from './components/dataset-selector-row.js';
|
|
64
|
-
export { LuzmoDisplaySettings, type LuzmoDisplaySettingsElement } from './components/display-settings.js';
|
|
65
|
-
export { LuzmoDisplaySettingsBinning, type LuzmoDisplaySettingsBinningElement } from './components/display-settings-binning.js';
|
|
66
|
-
export { LuzmoDisplaySettingsDatetime, type LuzmoDisplaySettingsDatetimeElement } from './components/display-settings-datetime.js';
|
|
67
|
-
export { LuzmoDisplaySettingsGrandTotals, type LuzmoDisplaySettingsGrandTotalsElement } from './components/display-settings-grand-totals.js';
|
|
68
|
-
export { LuzmoDisplaySettingsNumeric, type LuzmoDisplaySettingsNumericElement } from './components/display-settings-numeric.js';
|
|
69
|
-
export { LuzmoDisplaySettingsPeriodOverPeriod, type LuzmoDisplaySettingsPeriodOverPeriodElement } from './components/display-settings-period-over-period.js';
|
|
70
|
-
export { LuzmoFilterExpressionPicker, type LuzmoFilterExpressionPickerElement } from './components/filter-expression-picker.js';
|
|
71
|
-
export { LuzmoFilterItem, type LuzmoFilterItemElement } from './components/filter-item.js';
|
|
72
|
-
export { LuzmoFilterParameterPicker, type LuzmoFilterParameterPickerElement } from './components/filter-parameter-picker.js';
|
|
73
|
-
export { LuzmoFilterValuePicker, type LuzmoFilterValuePickerElement } from './components/filter-value-picker.js';
|
|
74
|
-
export { LuzmoFilterValuePickerDatetime, type LuzmoFilterValuePickerDatetimeElement } from './components/filter-value-picker-datetime.js';
|
|
75
|
-
export { LuzmoFilterValuePickerHierarchy, type LuzmoFilterValuePickerHierarchyElement } from './components/filter-value-picker-hierarchy.js';
|
|
76
|
-
export { LuzmoFilterValuePickerNumeric, type LuzmoFilterValuePickerNumericElement } from './components/filter-value-picker-numeric.js';
|
|
77
30
|
export { LuzmoFilters, type LuzmoFiltersElement } from './components/filters.js';
|
|
78
31
|
export { LuzmoFormula, type LuzmoFormulaElement } from './components/formula.js';
|
|
79
32
|
export { LuzmoFormulaEditor, type LuzmoFormulaEditorElement } from './components/formula-editor.js';
|
|
80
|
-
export { LuzmoFormulaField, type LuzmoFormulaFieldElement } from './components/formula-field.js';
|
|
81
|
-
export { LuzmoInteractiveVizItem, type LuzmoInteractiveVizItemElement } from './components/interactive-viz-item.js';
|
|
82
33
|
export { LuzmoItemGrid, type LuzmoItemGridElement } from './components/item-grid.js';
|
|
83
34
|
export { LuzmoItemGridItemActionsMenu, type LuzmoItemGridItemActionsMenuElement } from './components/item-grid-item-actions-menu.js';
|
|
84
35
|
export { LuzmoItemOption, type LuzmoItemOptionElement } from './components/item-option.js';
|
|
@@ -101,9 +52,6 @@ export { LuzmoItemSlotDrop, type LuzmoItemSlotDropElement } from './components/i
|
|
|
101
52
|
export { LuzmoItemSlotDropPanel, type LuzmoItemSlotDropPanelElement } from './components/item-slot-drop-panel.js';
|
|
102
53
|
export { LuzmoItemSlotPicker, type LuzmoItemSlotPickerElement } from './components/item-slot-picker.js';
|
|
103
54
|
export { LuzmoItemSlotPickerPanel, type LuzmoItemSlotPickerPanelElement } from './components/item-slot-picker-panel.js';
|
|
104
|
-
export
|
|
105
|
-
export
|
|
106
|
-
export { LuzmoVizItemMenu, type LuzmoVizItemMenuElement } from './components/viz-item-menu.js';
|
|
107
|
-
export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoAiChat, typeof LuzmoAiChatEmptyState, typeof LuzmoAiInteractionTextarea, typeof LuzmoDataField, typeof LuzmoDataFieldLevel, typeof LuzmoDataFieldPanel, typeof LuzmoDataFieldsSelect, typeof LuzmoDatasetIcon, typeof LuzmoDatasetSelectorList, typeof LuzmoDatasetSelectorRow, typeof LuzmoDisplaySettings, typeof LuzmoDisplaySettingsBinning, typeof LuzmoDisplaySettingsDatetime, typeof LuzmoDisplaySettingsGrandTotals, typeof LuzmoDisplaySettingsNumeric, typeof LuzmoDisplaySettingsPeriodOverPeriod, typeof LuzmoFilterExpressionPicker, typeof LuzmoFilterItem, typeof LuzmoFilterParameterPicker, typeof LuzmoFilterValuePicker, typeof LuzmoFilterValuePickerDatetime, typeof LuzmoFilterValuePickerHierarchy, typeof LuzmoFilterValuePickerNumeric, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, typeof LuzmoFormulaField, typeof LuzmoInteractiveVizItem, typeof LuzmoItemGrid, typeof LuzmoItemGridItemActionsMenu, typeof LuzmoItemOption, typeof LuzmoItemOptionActionButtonGroup, typeof LuzmoItemOptionColorPalettePicker, typeof LuzmoItemOptionColorPicker, typeof LuzmoItemOptionColorRange, typeof LuzmoItemOptionGuidelines, typeof LuzmoItemOptionMultiLanguageField, typeof LuzmoItemOptionNumberField, typeof LuzmoItemOptionPanel, typeof LuzmoItemOptionPicker, typeof LuzmoItemOptionPositionPicker, typeof LuzmoItemOptionPositionsNumberField, typeof LuzmoItemOptionRadioButtonGroup, typeof LuzmoItemOptionSlider, typeof LuzmoItemOptionSwitch, typeof LuzmoItemOptionTextField, typeof LuzmoItemSlotDrop, typeof LuzmoItemSlotDropPanel, typeof LuzmoItemSlotPicker, typeof LuzmoItemSlotPickerPanel, typeof LuzmoSlotMenu, typeof LuzmoSlotMenuList, typeof LuzmoVizItemMenu];
|
|
108
|
-
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoAiChat", "LuzmoAiChatEmptyState", "LuzmoAiInteractionTextarea", "LuzmoDataField", "LuzmoDataFieldLevel", "LuzmoDataFieldPanel", "LuzmoDataFieldsSelect", "LuzmoDatasetIcon", "LuzmoDatasetSelectorList", "LuzmoDatasetSelectorRow", "LuzmoDisplaySettings", "LuzmoDisplaySettingsBinning", "LuzmoDisplaySettingsDatetime", "LuzmoDisplaySettingsGrandTotals", "LuzmoDisplaySettingsNumeric", "LuzmoDisplaySettingsPeriodOverPeriod", "LuzmoFilterExpressionPicker", "LuzmoFilterItem", "LuzmoFilterParameterPicker", "LuzmoFilterValuePicker", "LuzmoFilterValuePickerDatetime", "LuzmoFilterValuePickerHierarchy", "LuzmoFilterValuePickerNumeric", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoFormulaField", "LuzmoInteractiveVizItem", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel", "LuzmoSlotMenu", "LuzmoSlotMenuList", "LuzmoVizItemMenu"];
|
|
55
|
+
export declare const LUZMO_ANGULAR_COMPONENTS: readonly [typeof LuzmoDataField, typeof LuzmoDataFieldPanel, typeof LuzmoFilters, typeof LuzmoFormula, typeof LuzmoFormulaEditor, typeof LuzmoItemGrid, typeof LuzmoItemGridItemActionsMenu, typeof LuzmoItemOption, typeof LuzmoItemOptionActionButtonGroup, typeof LuzmoItemOptionColorPalettePicker, typeof LuzmoItemOptionColorPicker, typeof LuzmoItemOptionColorRange, typeof LuzmoItemOptionGuidelines, typeof LuzmoItemOptionMultiLanguageField, typeof LuzmoItemOptionNumberField, typeof LuzmoItemOptionPanel, typeof LuzmoItemOptionPicker, typeof LuzmoItemOptionPositionPicker, typeof LuzmoItemOptionPositionsNumberField, typeof LuzmoItemOptionRadioButtonGroup, typeof LuzmoItemOptionSlider, typeof LuzmoItemOptionSwitch, typeof LuzmoItemOptionTextField, typeof LuzmoItemSlotDrop, typeof LuzmoItemSlotDropPanel, typeof LuzmoItemSlotPicker, typeof LuzmoItemSlotPickerPanel];
|
|
56
|
+
export declare const LUZMO_ANGULAR_COMPONENT_NAMES: readonly ["LuzmoDataField", "LuzmoDataFieldPanel", "LuzmoFilters", "LuzmoFormula", "LuzmoFormulaEditor", "LuzmoItemGrid", "LuzmoItemGridItemActionsMenu", "LuzmoItemOption", "LuzmoItemOptionActionButtonGroup", "LuzmoItemOptionColorPalettePicker", "LuzmoItemOptionColorPicker", "LuzmoItemOptionColorRange", "LuzmoItemOptionGuidelines", "LuzmoItemOptionMultiLanguageField", "LuzmoItemOptionNumberField", "LuzmoItemOptionPanel", "LuzmoItemOptionPicker", "LuzmoItemOptionPositionPicker", "LuzmoItemOptionPositionsNumberField", "LuzmoItemOptionRadioButtonGroup", "LuzmoItemOptionSlider", "LuzmoItemOptionSwitch", "LuzmoItemOptionTextField", "LuzmoItemSlotDrop", "LuzmoItemSlotDropPanel", "LuzmoItemSlotPicker", "LuzmoItemSlotPickerPanel"];
|
|
109
57
|
export type LuzmoAngularComponentName = (typeof LUZMO_ANGULAR_COMPONENT_NAMES)[number];
|
package/esm/index.js
CHANGED
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
// Auto-generated Angular wrappers
|
|
2
|
-
import { LuzmoAiChat } from './components/ai-chat.js';
|
|
3
|
-
import { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
|
|
4
|
-
import { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
|
|
5
2
|
import { LuzmoDataField } from './components/data-field.js';
|
|
6
|
-
import { LuzmoDataFieldLevel } from './components/data-field-level.js';
|
|
7
3
|
import { LuzmoDataFieldPanel } from './components/data-field-panel.js';
|
|
8
|
-
import { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
|
|
9
|
-
import { LuzmoDatasetIcon } from './components/dataset-icon.js';
|
|
10
|
-
import { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
|
|
11
|
-
import { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
|
|
12
|
-
import { LuzmoDisplaySettings } from './components/display-settings.js';
|
|
13
|
-
import { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
|
|
14
|
-
import { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
|
|
15
|
-
import { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
|
|
16
|
-
import { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
|
|
17
|
-
import { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
|
|
18
|
-
import { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
|
|
19
|
-
import { LuzmoFilterItem } from './components/filter-item.js';
|
|
20
|
-
import { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
|
|
21
|
-
import { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
|
|
22
|
-
import { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
|
|
23
|
-
import { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
|
|
24
|
-
import { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
|
|
25
4
|
import { LuzmoFilters } from './components/filters.js';
|
|
26
5
|
import { LuzmoFormula } from './components/formula.js';
|
|
27
6
|
import { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
28
|
-
import { LuzmoFormulaField } from './components/formula-field.js';
|
|
29
|
-
import { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
30
7
|
import { LuzmoItemGrid } from './components/item-grid.js';
|
|
31
8
|
import { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
32
9
|
import { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -49,37 +26,11 @@ import { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
|
|
|
49
26
|
import { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
|
|
50
27
|
import { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
51
28
|
import { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
52
|
-
import { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
53
|
-
import { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
54
|
-
import { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
55
|
-
export { LuzmoAiChat } from './components/ai-chat.js';
|
|
56
|
-
export { LuzmoAiChatEmptyState } from './components/ai-chat-empty-state.js';
|
|
57
|
-
export { LuzmoAiInteractionTextarea } from './components/ai-interaction-textarea.js';
|
|
58
29
|
export { LuzmoDataField } from './components/data-field.js';
|
|
59
|
-
export { LuzmoDataFieldLevel } from './components/data-field-level.js';
|
|
60
30
|
export { LuzmoDataFieldPanel } from './components/data-field-panel.js';
|
|
61
|
-
export { LuzmoDataFieldsSelect } from './components/data-fields-select.js';
|
|
62
|
-
export { LuzmoDatasetIcon } from './components/dataset-icon.js';
|
|
63
|
-
export { LuzmoDatasetSelectorList } from './components/dataset-selector-list.js';
|
|
64
|
-
export { LuzmoDatasetSelectorRow } from './components/dataset-selector-row.js';
|
|
65
|
-
export { LuzmoDisplaySettings } from './components/display-settings.js';
|
|
66
|
-
export { LuzmoDisplaySettingsBinning } from './components/display-settings-binning.js';
|
|
67
|
-
export { LuzmoDisplaySettingsDatetime } from './components/display-settings-datetime.js';
|
|
68
|
-
export { LuzmoDisplaySettingsGrandTotals } from './components/display-settings-grand-totals.js';
|
|
69
|
-
export { LuzmoDisplaySettingsNumeric } from './components/display-settings-numeric.js';
|
|
70
|
-
export { LuzmoDisplaySettingsPeriodOverPeriod } from './components/display-settings-period-over-period.js';
|
|
71
|
-
export { LuzmoFilterExpressionPicker } from './components/filter-expression-picker.js';
|
|
72
|
-
export { LuzmoFilterItem } from './components/filter-item.js';
|
|
73
|
-
export { LuzmoFilterParameterPicker } from './components/filter-parameter-picker.js';
|
|
74
|
-
export { LuzmoFilterValuePicker } from './components/filter-value-picker.js';
|
|
75
|
-
export { LuzmoFilterValuePickerDatetime } from './components/filter-value-picker-datetime.js';
|
|
76
|
-
export { LuzmoFilterValuePickerHierarchy } from './components/filter-value-picker-hierarchy.js';
|
|
77
|
-
export { LuzmoFilterValuePickerNumeric } from './components/filter-value-picker-numeric.js';
|
|
78
31
|
export { LuzmoFilters } from './components/filters.js';
|
|
79
32
|
export { LuzmoFormula } from './components/formula.js';
|
|
80
33
|
export { LuzmoFormulaEditor } from './components/formula-editor.js';
|
|
81
|
-
export { LuzmoFormulaField } from './components/formula-field.js';
|
|
82
|
-
export { LuzmoInteractiveVizItem } from './components/interactive-viz-item.js';
|
|
83
34
|
export { LuzmoItemGrid } from './components/item-grid.js';
|
|
84
35
|
export { LuzmoItemGridItemActionsMenu } from './components/item-grid-item-actions-menu.js';
|
|
85
36
|
export { LuzmoItemOption } from './components/item-option.js';
|
|
@@ -102,38 +53,12 @@ export { LuzmoItemSlotDrop } from './components/item-slot-drop.js';
|
|
|
102
53
|
export { LuzmoItemSlotDropPanel } from './components/item-slot-drop-panel.js';
|
|
103
54
|
export { LuzmoItemSlotPicker } from './components/item-slot-picker.js';
|
|
104
55
|
export { LuzmoItemSlotPickerPanel } from './components/item-slot-picker-panel.js';
|
|
105
|
-
export { LuzmoSlotMenu } from './components/slot-menu.js';
|
|
106
|
-
export { LuzmoSlotMenuList } from './components/slot-menu-list.js';
|
|
107
|
-
export { LuzmoVizItemMenu } from './components/viz-item-menu.js';
|
|
108
56
|
export const LUZMO_ANGULAR_COMPONENTS = [
|
|
109
|
-
LuzmoAiChat,
|
|
110
|
-
LuzmoAiChatEmptyState,
|
|
111
|
-
LuzmoAiInteractionTextarea,
|
|
112
57
|
LuzmoDataField,
|
|
113
|
-
LuzmoDataFieldLevel,
|
|
114
58
|
LuzmoDataFieldPanel,
|
|
115
|
-
LuzmoDataFieldsSelect,
|
|
116
|
-
LuzmoDatasetIcon,
|
|
117
|
-
LuzmoDatasetSelectorList,
|
|
118
|
-
LuzmoDatasetSelectorRow,
|
|
119
|
-
LuzmoDisplaySettings,
|
|
120
|
-
LuzmoDisplaySettingsBinning,
|
|
121
|
-
LuzmoDisplaySettingsDatetime,
|
|
122
|
-
LuzmoDisplaySettingsGrandTotals,
|
|
123
|
-
LuzmoDisplaySettingsNumeric,
|
|
124
|
-
LuzmoDisplaySettingsPeriodOverPeriod,
|
|
125
|
-
LuzmoFilterExpressionPicker,
|
|
126
|
-
LuzmoFilterItem,
|
|
127
|
-
LuzmoFilterParameterPicker,
|
|
128
|
-
LuzmoFilterValuePicker,
|
|
129
|
-
LuzmoFilterValuePickerDatetime,
|
|
130
|
-
LuzmoFilterValuePickerHierarchy,
|
|
131
|
-
LuzmoFilterValuePickerNumeric,
|
|
132
59
|
LuzmoFilters,
|
|
133
60
|
LuzmoFormula,
|
|
134
61
|
LuzmoFormulaEditor,
|
|
135
|
-
LuzmoFormulaField,
|
|
136
|
-
LuzmoInteractiveVizItem,
|
|
137
62
|
LuzmoItemGrid,
|
|
138
63
|
LuzmoItemGridItemActionsMenu,
|
|
139
64
|
LuzmoItemOption,
|
|
@@ -155,40 +80,14 @@ export const LUZMO_ANGULAR_COMPONENTS = [
|
|
|
155
80
|
LuzmoItemSlotDrop,
|
|
156
81
|
LuzmoItemSlotDropPanel,
|
|
157
82
|
LuzmoItemSlotPicker,
|
|
158
|
-
LuzmoItemSlotPickerPanel
|
|
159
|
-
LuzmoSlotMenu,
|
|
160
|
-
LuzmoSlotMenuList,
|
|
161
|
-
LuzmoVizItemMenu
|
|
83
|
+
LuzmoItemSlotPickerPanel
|
|
162
84
|
];
|
|
163
85
|
export const LUZMO_ANGULAR_COMPONENT_NAMES = [
|
|
164
|
-
'LuzmoAiChat',
|
|
165
|
-
'LuzmoAiChatEmptyState',
|
|
166
|
-
'LuzmoAiInteractionTextarea',
|
|
167
86
|
'LuzmoDataField',
|
|
168
|
-
'LuzmoDataFieldLevel',
|
|
169
87
|
'LuzmoDataFieldPanel',
|
|
170
|
-
'LuzmoDataFieldsSelect',
|
|
171
|
-
'LuzmoDatasetIcon',
|
|
172
|
-
'LuzmoDatasetSelectorList',
|
|
173
|
-
'LuzmoDatasetSelectorRow',
|
|
174
|
-
'LuzmoDisplaySettings',
|
|
175
|
-
'LuzmoDisplaySettingsBinning',
|
|
176
|
-
'LuzmoDisplaySettingsDatetime',
|
|
177
|
-
'LuzmoDisplaySettingsGrandTotals',
|
|
178
|
-
'LuzmoDisplaySettingsNumeric',
|
|
179
|
-
'LuzmoDisplaySettingsPeriodOverPeriod',
|
|
180
|
-
'LuzmoFilterExpressionPicker',
|
|
181
|
-
'LuzmoFilterItem',
|
|
182
|
-
'LuzmoFilterParameterPicker',
|
|
183
|
-
'LuzmoFilterValuePicker',
|
|
184
|
-
'LuzmoFilterValuePickerDatetime',
|
|
185
|
-
'LuzmoFilterValuePickerHierarchy',
|
|
186
|
-
'LuzmoFilterValuePickerNumeric',
|
|
187
88
|
'LuzmoFilters',
|
|
188
89
|
'LuzmoFormula',
|
|
189
90
|
'LuzmoFormulaEditor',
|
|
190
|
-
'LuzmoFormulaField',
|
|
191
|
-
'LuzmoInteractiveVizItem',
|
|
192
91
|
'LuzmoItemGrid',
|
|
193
92
|
'LuzmoItemGridItemActionsMenu',
|
|
194
93
|
'LuzmoItemOption',
|
|
@@ -210,8 +109,5 @@ export const LUZMO_ANGULAR_COMPONENT_NAMES = [
|
|
|
210
109
|
'LuzmoItemSlotDrop',
|
|
211
110
|
'LuzmoItemSlotDropPanel',
|
|
212
111
|
'LuzmoItemSlotPicker',
|
|
213
|
-
'LuzmoItemSlotPickerPanel'
|
|
214
|
-
'LuzmoSlotMenu',
|
|
215
|
-
'LuzmoSlotMenuList',
|
|
216
|
-
'LuzmoVizItemMenu'
|
|
112
|
+
'LuzmoItemSlotPickerPanel'
|
|
217
113
|
];
|
package/package.json
CHANGED
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@angular/core": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
31
31
|
"@angular/forms": "^17.3.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0",
|
|
32
|
-
"@luzmo/analytics-components-kit": "1.0.8
|
|
32
|
+
"@luzmo/analytics-components-kit": "1.0.8"
|
|
33
33
|
},
|
|
34
|
-
"version": "1.0.8
|
|
34
|
+
"version": "1.0.8",
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@angular/forms": {
|
|
37
37
|
"optional": true
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/ai-chat';
|
|
3
|
-
import type { LuzmoAiChatEmptyState as LuzmoAiChatEmptyStateHostElement, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail } from '@luzmo/analytics-components-kit/ai-chat';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type { AgentStreamDefinition, AiChatAgentConfig, AiChatCompleteEvent, AiChatConversationIdChangedEventDetail, AiChatDatasetsChangedEventDetail, AiChatEmptyStateSuggestion, AiChatEmptyStateSuggestionSelectedDetail, AiChatMessageSentEventDetail, AiChatRecognizedStepType, AiChatSessionBuildContext, AiChatSessionCallbacks, AiChatSessionConfig, AiChatSessionControllerOptions, AiChatSessionRestoreParams, AiChatSessionRestoreResult, AiChatSessionSeed, AiChatSessionState, AiChatSessionSubmitParams, AiChatStepBase, AiChatStepEvent, AiDictationCreateBody, AiDictationProperties, AiPromptCreateBody, AiPromptDeleteBody, AssistantMessageAction, AssistantMessageActionConfirmVariant, AssistantMessageActionEventDetail, BuildAiDictationRequestOptions, ChatMessageElicitation, LuzmoPromptSubmittedEventDetail, LuzmoRestoreRequestedEventDetail, ProgressTreeNode, PromptBoxAttachment, PromptBoxFileIcons, RecognizedStepEvent, StreamAiDictationOptions, StreamHandlerCallbacks, StreamHandlerContext, StreamHandlerState, StreamingRequestOptions, StreamingResponse, UnknownStepEvent, UploadAiPromptImagesOptions } from '@luzmo/analytics-components-kit/ai-chat';
|
|
6
|
-
export declare class LuzmoAiChatEmptyState implements OnChanges {
|
|
7
|
-
private readonly elementRef;
|
|
8
|
-
private readonly renderer;
|
|
9
|
-
private readonly destroyRef;
|
|
10
|
-
private readonly host;
|
|
11
|
-
private readonly listenerCleanup;
|
|
12
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
-
get nativeElement(): LuzmoAiChatEmptyStateHostElement;
|
|
14
|
-
/** Heading shown above the suggestions. */
|
|
15
|
-
title?: string;
|
|
16
|
-
/** Supporting text shown above suggestion chips when `suggestions` is non-empty. */
|
|
17
|
-
subtitle?: string;
|
|
18
|
-
/** Suggestion chips rendered with https://lucero.luzmo.com/ | Lucero `luzmo-action-button` (`variant="accent"`). */
|
|
19
|
-
suggestions?: AiChatEmptyStateSuggestion[];
|
|
20
|
-
/** When true, suggestion chips cannot be activated. */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/** Fired when the user selects a suggestion chip */
|
|
23
|
-
readonly luzmoSuggestionSelected: import("@angular/core").OutputEmitterRef<CustomEvent<AiChatEmptyStateSuggestionSelectedDetail>>;
|
|
24
|
-
constructor();
|
|
25
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
26
|
-
/**
|
|
27
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
28
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
29
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
30
|
-
* undefined / null by clearing their bindings.
|
|
31
|
-
*/
|
|
32
|
-
private setHostProperty;
|
|
33
|
-
private bindEvents;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoAiChatEmptyState, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoAiChatEmptyState, "luzmo-ai-chat-empty-state", ["luzmoAiChatEmptyState"], { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "suggestions": { "alias": "suggestions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "luzmoSuggestionSelected": "luzmoSuggestionSelected"; }, never, ["*"], true, never>;
|
|
36
|
-
static ngAcceptInputType_disabled: unknown;
|
|
37
|
-
}
|
|
38
|
-
/** The underlying custom element type for LuzmoAiChatEmptyState */
|
|
39
|
-
export type LuzmoAiChatEmptyStateElement = LuzmoAiChatEmptyStateHostElement;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/ai-chat';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
/**
|
|
6
|
-
* Angular wrapper component for <luzmo-ai-chat-empty-state>
|
|
7
|
-
*/
|
|
8
|
-
export class LuzmoAiChatEmptyState {
|
|
9
|
-
elementRef = inject(ElementRef);
|
|
10
|
-
renderer = inject(Renderer2);
|
|
11
|
-
destroyRef = inject(DestroyRef);
|
|
12
|
-
host = this.elementRef.nativeElement;
|
|
13
|
-
listenerCleanup = [];
|
|
14
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
|
-
get nativeElement() {
|
|
16
|
-
return this.host;
|
|
17
|
-
}
|
|
18
|
-
/** Heading shown above the suggestions. */
|
|
19
|
-
title;
|
|
20
|
-
/** Supporting text shown above suggestion chips when `suggestions` is non-empty. */
|
|
21
|
-
subtitle;
|
|
22
|
-
/** Suggestion chips rendered with https://lucero.luzmo.com/ | Lucero `luzmo-action-button` (`variant="accent"`). */
|
|
23
|
-
suggestions;
|
|
24
|
-
/** When true, suggestion chips cannot be activated. */
|
|
25
|
-
disabled;
|
|
26
|
-
/** Fired when the user selects a suggestion chip */
|
|
27
|
-
luzmoSuggestionSelected = output({ alias: 'luzmoSuggestionSelected' });
|
|
28
|
-
constructor() {
|
|
29
|
-
this.bindEvents();
|
|
30
|
-
this.destroyRef.onDestroy(() => {
|
|
31
|
-
for (const cleanup of this.listenerCleanup) {
|
|
32
|
-
cleanup();
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
ngOnChanges(changes) {
|
|
37
|
-
for (const key of Object.keys(changes)) {
|
|
38
|
-
switch (key) {
|
|
39
|
-
case 'title':
|
|
40
|
-
this.setHostProperty('title', changes['title'].currentValue);
|
|
41
|
-
break;
|
|
42
|
-
case 'subtitle':
|
|
43
|
-
this.setHostProperty('subtitle', changes['subtitle'].currentValue);
|
|
44
|
-
break;
|
|
45
|
-
case 'suggestions':
|
|
46
|
-
this.setHostProperty('suggestions', changes['suggestions'].currentValue);
|
|
47
|
-
break;
|
|
48
|
-
case 'disabled':
|
|
49
|
-
this.setHostProperty('disabled', changes['disabled'].currentValue);
|
|
50
|
-
break;
|
|
51
|
-
default:
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
58
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
59
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
60
|
-
* undefined / null by clearing their bindings.
|
|
61
|
-
*/
|
|
62
|
-
setHostProperty(key, value) {
|
|
63
|
-
this.renderer.setProperty(this.host, key, value);
|
|
64
|
-
}
|
|
65
|
-
bindEvents() {
|
|
66
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-suggestion-selected', (event) => {
|
|
67
|
-
const typed = event;
|
|
68
|
-
this.luzmoSuggestionSelected.emit(typed);
|
|
69
|
-
}));
|
|
70
|
-
}
|
|
71
|
-
static ɵfac = function LuzmoAiChatEmptyState_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoAiChatEmptyState)(); };
|
|
72
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAiChatEmptyState, selectors: [["luzmo-ai-chat-empty-state"]], inputs: { title: "title", subtitle: "subtitle", suggestions: "suggestions", disabled: [2, "disabled", "disabled", booleanAttribute] }, outputs: { luzmoSuggestionSelected: "luzmoSuggestionSelected" }, exportAs: ["luzmoAiChatEmptyState"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAiChatEmptyState_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
-
i0.ɵɵprojectionDef();
|
|
74
|
-
i0.ɵɵprojection(0);
|
|
75
|
-
} }, encapsulation: 2 });
|
|
76
|
-
}
|
|
77
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoAiChatEmptyState, [{
|
|
78
|
-
type: Component,
|
|
79
|
-
args: [{
|
|
80
|
-
selector: 'luzmo-ai-chat-empty-state',
|
|
81
|
-
exportAs: 'luzmoAiChatEmptyState',
|
|
82
|
-
standalone: true,
|
|
83
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
84
|
-
template: '<ng-content />'
|
|
85
|
-
}]
|
|
86
|
-
}], () => [], { title: [{
|
|
87
|
-
type: Input,
|
|
88
|
-
args: [{ alias: 'title' }]
|
|
89
|
-
}], subtitle: [{
|
|
90
|
-
type: Input,
|
|
91
|
-
args: [{ alias: 'subtitle' }]
|
|
92
|
-
}], suggestions: [{
|
|
93
|
-
type: Input,
|
|
94
|
-
args: [{ alias: 'suggestions' }]
|
|
95
|
-
}], disabled: [{
|
|
96
|
-
type: Input,
|
|
97
|
-
args: [{ alias: 'disabled', transform: booleanAttribute }]
|
|
98
|
-
}], luzmoSuggestionSelected: [{ type: i0.Output, args: ["luzmoSuggestionSelected"] }] }); })();
|
|
99
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoAiChatEmptyState, { className: "LuzmoAiChatEmptyState", filePath: "components/ai-chat-empty-state.ts", lineNumber: 16 }); })();
|