@luzmo/analytics-components-kit 1.0.8-beta.6 → 1.0.8-beta.7
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/components/index.cjs +1 -1
- package/components/index.js +1 -1
- package/components/viz-item-menu/index.cjs +1 -1
- package/components/viz-item-menu/index.js +1 -1
- package/components/viz-item-menu/viz-item-menu.d.ts +3 -0
- package/components/{viz-item-menu-Ht6bklNL.js → viz-item-menu-B7yRaSAU.js} +1 -1
- package/components/{viz-item-menu-XHh4qhtn.cjs → viz-item-menu-hLdU-02Q.cjs} +1 -1
- package/custom-elements.json +14 -0
- package/package.json +1 -1
- package/react/package.json +2 -2
- package/angular/README.md +0 -40
- package/angular/components/ai-chat-empty-state.ts +0 -98
- package/angular/components/ai-chat.ts +0 -440
- package/angular/components/ai-interaction-textarea.ts +0 -283
- package/angular/components/data-field-level.ts +0 -130
- package/angular/components/data-field-panel.ts +0 -256
- package/angular/components/data-field.ts +0 -130
- package/angular/components/data-fields-select.ts +0 -212
- package/angular/components/dataset-icon.ts +0 -83
- package/angular/components/dataset-selector-list.ts +0 -147
- package/angular/components/dataset-selector-row.ts +0 -198
- package/angular/components/display-settings-binning.ts +0 -92
- package/angular/components/display-settings-datetime.ts +0 -100
- package/angular/components/display-settings-grand-totals.ts +0 -92
- package/angular/components/display-settings-numeric.ts +0 -113
- package/angular/components/display-settings-period-over-period.ts +0 -107
- package/angular/components/display-settings.ts +0 -227
- package/angular/components/filter-expression-picker.ts +0 -168
- package/angular/components/filter-item.ts +0 -175
- package/angular/components/filter-parameter-picker.ts +0 -155
- package/angular/components/filter-value-picker-datetime.ts +0 -125
- package/angular/components/filter-value-picker-hierarchy.ts +0 -146
- package/angular/components/filter-value-picker-numeric.ts +0 -146
- package/angular/components/filter-value-picker.ts +0 -160
- package/angular/components/filters.ts +0 -209
- package/angular/components/formula-editor.ts +0 -229
- package/angular/components/formula-field.ts +0 -198
- package/angular/components/formula.ts +0 -170
- package/angular/components/interactive-viz-item.ts +0 -186
- package/angular/components/item-grid-item-actions-menu.ts +0 -113
- package/angular/components/item-grid.ts +0 -242
- package/angular/components/item-option-action-button-group.ts +0 -105
- package/angular/components/item-option-color-palette-picker.ts +0 -126
- package/angular/components/item-option-color-picker.ts +0 -134
- package/angular/components/item-option-color-range.ts +0 -168
- package/angular/components/item-option-guidelines.ts +0 -84
- package/angular/components/item-option-multi-language-field.ts +0 -133
- package/angular/components/item-option-number-field.ts +0 -161
- package/angular/components/item-option-panel.ts +0 -149
- package/angular/components/item-option-picker.ts +0 -120
- package/angular/components/item-option-position-picker.ts +0 -98
- package/angular/components/item-option-positions-number-field.ts +0 -140
- package/angular/components/item-option-radio-button-group.ts +0 -119
- package/angular/components/item-option-slider.ts +0 -126
- package/angular/components/item-option-switch.ts +0 -98
- package/angular/components/item-option-text-field.ts +0 -112
- package/angular/components/item-option.ts +0 -163
- package/angular/components/item-slot-drop-panel.ts +0 -236
- package/angular/components/item-slot-drop.ts +0 -231
- package/angular/components/item-slot-picker-panel.ts +0 -299
- package/angular/components/item-slot-picker.ts +0 -241
- package/angular/components/slot-menu-list.ts +0 -121
- package/angular/components/slot-menu.ts +0 -304
- package/angular/components/viz-item-menu.ts +0 -118
- package/angular/esm/components/ai-chat-empty-state.d.ts +0 -39
- package/angular/esm/components/ai-chat-empty-state.js +0 -99
- package/angular/esm/components/ai-chat.d.ts +0 -147
- package/angular/esm/components/ai-chat.js +0 -455
- package/angular/esm/components/ai-interaction-textarea.d.ts +0 -106
- package/angular/esm/components/ai-interaction-textarea.js +0 -305
- package/angular/esm/components/data-field-level.d.ts +0 -50
- package/angular/esm/components/data-field-level.js +0 -129
- package/angular/esm/components/data-field-panel.d.ts +0 -86
- package/angular/esm/components/data-field-panel.js +0 -268
- package/angular/esm/components/data-field.d.ts +0 -50
- package/angular/esm/components/data-field.js +0 -129
- package/angular/esm/components/data-fields-select.d.ts +0 -81
- package/angular/esm/components/data-fields-select.js +0 -227
- package/angular/esm/components/dataset-icon.d.ts +0 -34
- package/angular/esm/components/dataset-icon.js +0 -86
- package/angular/esm/components/dataset-selector-list.d.ts +0 -56
- package/angular/esm/components/dataset-selector-list.js +0 -155
- package/angular/esm/components/dataset-selector-row.d.ts +0 -70
- package/angular/esm/components/dataset-selector-row.js +0 -197
- package/angular/esm/components/display-settings-binning.d.ts +0 -37
- package/angular/esm/components/display-settings-binning.js +0 -91
- package/angular/esm/components/display-settings-datetime.d.ts +0 -40
- package/angular/esm/components/display-settings-datetime.js +0 -99
- package/angular/esm/components/display-settings-grand-totals.d.ts +0 -37
- package/angular/esm/components/display-settings-grand-totals.js +0 -91
- package/angular/esm/components/display-settings-numeric.d.ts +0 -45
- package/angular/esm/components/display-settings-numeric.js +0 -115
- package/angular/esm/components/display-settings-period-over-period.d.ts +0 -44
- package/angular/esm/components/display-settings-period-over-period.js +0 -107
- package/angular/esm/components/display-settings.d.ts +0 -83
- package/angular/esm/components/display-settings.js +0 -231
- package/angular/esm/components/filter-expression-picker.d.ts +0 -64
- package/angular/esm/components/filter-expression-picker.js +0 -179
- package/angular/esm/components/filter-item.d.ts +0 -63
- package/angular/esm/components/filter-item.js +0 -187
- package/angular/esm/components/filter-parameter-picker.d.ts +0 -56
- package/angular/esm/components/filter-parameter-picker.js +0 -151
- package/angular/esm/components/filter-value-picker-datetime.d.ts +0 -47
- package/angular/esm/components/filter-value-picker-datetime.js +0 -131
- package/angular/esm/components/filter-value-picker-hierarchy.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-hierarchy.js +0 -155
- package/angular/esm/components/filter-value-picker-numeric.d.ts +0 -53
- package/angular/esm/components/filter-value-picker-numeric.js +0 -155
- package/angular/esm/components/filter-value-picker.d.ts +0 -57
- package/angular/esm/components/filter-value-picker.js +0 -171
- package/angular/esm/components/filters.d.ts +0 -75
- package/angular/esm/components/filters.js +0 -215
- package/angular/esm/components/formula-editor.d.ts +0 -78
- package/angular/esm/components/formula-editor.js +0 -236
- package/angular/esm/components/formula-field.d.ts +0 -70
- package/angular/esm/components/formula-field.js +0 -209
- package/angular/esm/components/formula.d.ts +0 -60
- package/angular/esm/components/formula.js +0 -177
- package/angular/esm/components/interactive-viz-item.d.ts +0 -63
- package/angular/esm/components/interactive-viz-item.js +0 -188
- package/angular/esm/components/item-grid-item-actions-menu.d.ts +0 -45
- package/angular/esm/components/item-grid-item-actions-menu.js +0 -115
- package/angular/esm/components/item-grid.d.ts +0 -80
- package/angular/esm/components/item-grid.js +0 -245
- package/angular/esm/components/item-option-action-button-group.d.ts +0 -41
- package/angular/esm/components/item-option-action-button-group.js +0 -107
- package/angular/esm/components/item-option-color-palette-picker.d.ts +0 -48
- package/angular/esm/components/item-option-color-palette-picker.js +0 -131
- package/angular/esm/components/item-option-color-picker.d.ts +0 -51
- package/angular/esm/components/item-option-color-picker.js +0 -139
- package/angular/esm/components/item-option-color-range.d.ts +0 -66
- package/angular/esm/components/item-option-color-range.js +0 -179
- package/angular/esm/components/item-option-guidelines.d.ts +0 -34
- package/angular/esm/components/item-option-guidelines.js +0 -83
- package/angular/esm/components/item-option-multi-language-field.d.ts +0 -50
- package/angular/esm/components/item-option-multi-language-field.js +0 -139
- package/angular/esm/components/item-option-number-field.d.ts +0 -58
- package/angular/esm/components/item-option-number-field.js +0 -171
- package/angular/esm/components/item-option-panel.d.ts +0 -54
- package/angular/esm/components/item-option-panel.js +0 -155
- package/angular/esm/components/item-option-picker.d.ts +0 -46
- package/angular/esm/components/item-option-picker.js +0 -123
- package/angular/esm/components/item-option-position-picker.d.ts +0 -39
- package/angular/esm/components/item-option-position-picker.js +0 -99
- package/angular/esm/components/item-option-positions-number-field.d.ts +0 -54
- package/angular/esm/components/item-option-positions-number-field.js +0 -147
- package/angular/esm/components/item-option-radio-button-group.d.ts +0 -45
- package/angular/esm/components/item-option-radio-button-group.js +0 -123
- package/angular/esm/components/item-option-slider.d.ts +0 -46
- package/angular/esm/components/item-option-slider.js +0 -131
- package/angular/esm/components/item-option-switch.d.ts +0 -40
- package/angular/esm/components/item-option-switch.js +0 -99
- package/angular/esm/components/item-option-text-field.d.ts +0 -44
- package/angular/esm/components/item-option-text-field.js +0 -115
- package/angular/esm/components/item-option.d.ts +0 -58
- package/angular/esm/components/item-option.js +0 -171
- package/angular/esm/components/item-slot-drop-panel.d.ts +0 -82
- package/angular/esm/components/item-slot-drop-panel.js +0 -249
- package/angular/esm/components/item-slot-drop.d.ts +0 -77
- package/angular/esm/components/item-slot-drop.js +0 -227
- package/angular/esm/components/item-slot-picker-panel.d.ts +0 -97
- package/angular/esm/components/item-slot-picker-panel.js +0 -309
- package/angular/esm/components/item-slot-picker.d.ts +0 -86
- package/angular/esm/components/item-slot-picker.js +0 -259
- package/angular/esm/components/slot-menu-list.d.ts +0 -46
- package/angular/esm/components/slot-menu-list.js +0 -123
- package/angular/esm/components/slot-menu.d.ts +0 -104
- package/angular/esm/components/slot-menu.js +0 -300
- package/angular/esm/components/viz-item-menu.d.ts +0 -42
- package/angular/esm/components/viz-item-menu.js +0 -111
- package/angular/esm/index.d.ts +0 -109
- package/angular/esm/index.js +0 -217
- package/angular/index.ts +0 -223
- package/angular/package.json +0 -40
- package/angular/tsconfig.json +0 -36
- package/angular/type-fallbacks.d.ts +0 -0
- package/angular/utils/ai-prompt/attachments.d.ts +0 -10
- package/angular/utils/ai-prompt/dictation.d.ts +0 -50
- package/angular/utils/ai-prompt/image-upload.d.ts +0 -12
- package/angular/utils/ai-prompt/index.d.ts +0 -6
- package/angular/utils/ai-prompt/tests/attachments.test.d.ts +0 -1
- package/angular/utils/ai-prompt/tests/dictation.test.d.ts +0 -1
- package/angular/utils/ai-prompt/tests/image-upload.test.d.ts +0 -1
- package/angular/utils/base/base.d.ts +0 -16
- package/angular/utils/base/focus-visible.d.ts +0 -29
- package/angular/utils/base/focusable.d.ts +0 -58
- package/angular/utils/base/index.d.ts +0 -5
- package/angular/utils/base/localized-mixin.d.ts +0 -22
- package/angular/utils/base/sized-mixin.d.ts +0 -17
- package/angular/utils/color/color-palettes.d.ts +0 -17
- package/angular/utils/color/extrapolate-color.d.ts +0 -1
- package/angular/utils/data/load-data-fields-for-datasets.d.ts +0 -22
- package/angular/utils/data-broker/index.d.ts +0 -263
- package/angular/utils/data-field-types/calculate-data-field-icon.d.ts +0 -12
- package/angular/utils/data-field-types/default-acceptable-data-field-types.d.ts +0 -1
- package/angular/utils/data-field-types/tests/calculate-data-field-icon.test.d.ts +0 -1
- package/angular/utils/drag/draggable.d.ts +0 -13
- package/angular/utils/drag/pragmatic-element-adapter.d.ts +0 -2
- package/angular/utils/drag/tests/pragmatic-element-adapter.first-import.test.d.ts +0 -1
- package/angular/utils/drag/tests/pragmatic-element-adapter.test.d.ts +0 -1
- package/angular/utils/filters/expressions.d.ts +0 -15
- package/angular/utils/filters/index.d.ts +0 -1
- package/angular/utils/formatter/calculate-duration.d.ts +0 -2
- package/angular/utils/formatter/decompose-numeric-format.d.ts +0 -11
- package/angular/utils/formatter/default-local-formats.d.ts +0 -20
- package/angular/utils/formatter/formats/cs.d.ts +0 -20
- package/angular/utils/formatter/formats/da.d.ts +0 -20
- package/angular/utils/formatter/formats/de.d.ts +0 -21
- package/angular/utils/formatter/formats/en-GB.d.ts +0 -21
- package/angular/utils/formatter/formats/en-US.d.ts +0 -1
- package/angular/utils/formatter/formats/en.d.ts +0 -1
- package/angular/utils/formatter/formats/es.d.ts +0 -54
- package/angular/utils/formatter/formats/fi.d.ts +0 -20
- package/angular/utils/formatter/formats/fr.d.ts +0 -54
- package/angular/utils/formatter/formats/he.d.ts +0 -20
- package/angular/utils/formatter/formats/hu.d.ts +0 -20
- package/angular/utils/formatter/formats/it.d.ts +0 -54
- package/angular/utils/formatter/formats/ja.d.ts +0 -20
- package/angular/utils/formatter/formats/ko.d.ts +0 -20
- package/angular/utils/formatter/formats/mk.d.ts +0 -20
- package/angular/utils/formatter/formats/nl.d.ts +0 -21
- package/angular/utils/formatter/formats/no.d.ts +0 -21
- package/angular/utils/formatter/formats/pl.d.ts +0 -20
- package/angular/utils/formatter/formats/pt.d.ts +0 -20
- package/angular/utils/formatter/formats/ru.d.ts +0 -20
- package/angular/utils/formatter/formats/sv.d.ts +0 -20
- package/angular/utils/formatter/formats/tr.d.ts +0 -21
- package/angular/utils/formatter/formats/zh-CN.d.ts +0 -20
- package/angular/utils/formatter/formats/zh-TW.d.ts +0 -20
- package/angular/utils/formatter/formatter.d.ts +0 -9
- package/angular/utils/formatter/get-dataset-name.d.ts +0 -2
- package/angular/utils/formatter/get-localized-name.d.ts +0 -4
- package/angular/utils/formatter/localize.d.ts +0 -3
- package/angular/utils/formatter/smart-datetime-formats.const.d.ts +0 -36
- package/angular/utils/formatter/tests/calculate-duration.test.d.ts +0 -1
- package/angular/utils/formatter/tests/decompose-numeric-format.test.d.ts +0 -1
- package/angular/utils/formatter/tests/default-local-formats.test.d.ts +0 -1
- package/angular/utils/formatter/tests/formatter.test.d.ts +0 -1
- package/angular/utils/formatter/tests/get-localized-name.test.d.ts +0 -1
- package/angular/utils/formatter/tests/localize.test.d.ts +0 -1
- package/angular/utils/formula/base/formula-base.d.ts +0 -117
- package/angular/utils/formula/base/formula-input-base.d.ts +0 -62
- package/angular/utils/formula/codemirror/actions.d.ts +0 -47
- package/angular/utils/formula/codemirror/drop-cursor.d.ts +0 -15
- package/angular/utils/formula/codemirror/icon-element.d.ts +0 -7
- package/angular/utils/formula/codemirror/parser.d.ts +0 -16
- package/angular/utils/formula/codemirror/tests/actions.test.d.ts +0 -1
- package/angular/utils/formula/codemirror/theme.d.ts +0 -20
- package/angular/utils/formula/codemirror/widget.d.ts +0 -18
- package/angular/utils/formula/config/aggregations.d.ts +0 -9
- package/angular/utils/formula/config/build-datasets.d.ts +0 -10
- package/angular/utils/formula/config/expression-helpers.d.ts +0 -42
- package/angular/utils/formula/config/functions.d.ts +0 -3
- package/angular/utils/formula/config/groupings.d.ts +0 -9
- package/angular/utils/formula/config/regex.d.ts +0 -39
- package/angular/utils/formula/config/resolve-column-presentation.d.ts +0 -19
- package/angular/utils/formula/config/tests/build-datasets.test.d.ts +0 -1
- package/angular/utils/formula/config/validate-expression.d.ts +0 -19
- package/angular/utils/formula/load-formula-codemirror.d.ts +0 -4
- package/angular/utils/formula/render-explanation-tooltip.d.ts +0 -7
- package/angular/utils/formula/store/formula-display-store.d.ts +0 -93
- package/angular/utils/formula/store/formula-editor-context.d.ts +0 -8
- package/angular/utils/formula/store/formula-editor-store.d.ts +0 -46
- package/angular/utils/formula/store/tests/formula-editor-store.test.d.ts +0 -1
- package/angular/utils/formula/tests/validate-expression.test.d.ts +0 -1
- package/angular/utils/get-css-variable.d.ts +0 -1
- package/angular/utils/index.d.ts +0 -10
- package/angular/utils/localize/set-locale.d.ts +0 -7
- package/angular/utils/map-tile-providers/index.d.ts +0 -93
- package/angular/utils/set-nested-value.d.ts +0 -6
- package/angular/utils/slot-content/ad-hoc-slot-content.d.ts +0 -7
- package/angular/utils/slot-content/render-calculation-label.d.ts +0 -7
- package/angular/utils/slot-content/tests/ad-hoc-slot-content.test.d.ts +0 -1
- package/angular/utils/slot-state/slot-context.d.ts +0 -4
- package/angular/utils/slot-state/slot-store.d.ts +0 -39
- package/angular/utils/store/base-store.d.ts +0 -158
- package/angular/utils/store/dashboard-store.d.ts +0 -49
- package/angular/utils/store/index.d.ts +0 -135
- package/angular/utils/store/item-store.d.ts +0 -33
- package/angular/utils/store/store-registry.d.ts +0 -170
- package/angular/utils/store/tests/dashboard-store.test.d.ts +0 -1
- package/angular/utils/store/tests/item-store.test.d.ts +0 -1
- package/angular/utils/store/tests/store-registry.test.d.ts +0 -1
- package/angular/utils/store/types.d.ts +0 -270
- package/angular/utils/switch-item/index.d.ts +0 -34
- package/angular/utils/switch-item/slot-role-classification.d.ts +0 -31
- package/angular/utils/switch-item/stories/switch-item.stories.d.ts +0 -17
- package/angular/utils/switch-item/tests/slot-role-classification.test.d.ts +0 -1
- package/angular/utils/switch-item/tests/switch-item.test.d.ts +0 -1
- package/angular/utils/tests/set-nested-value.test.d.ts +0 -1
- package/angular/utils/themes/bliss.d.ts +0 -2
- package/angular/utils/themes/classic-dark.d.ts +0 -2
- package/angular/utils/themes/classic.d.ts +0 -2
- package/angular/utils/themes/default-dark.d.ts +0 -2
- package/angular/utils/themes/default.d.ts +0 -2
- package/angular/utils/themes/index.d.ts +0 -4
- package/angular/utils/themes/orion.d.ts +0 -2
- package/angular/utils/themes/pinky.d.ts +0 -2
- package/angular/utils/themes/radiant.d.ts +0 -2
- package/angular/utils/themes/royale.d.ts +0 -2
- package/angular/utils/themes/seasonal.d.ts +0 -2
- package/angular/utils/themes/urban.d.ts +0 -2
- package/angular/utils/themes/vivid.d.ts +0 -2
- package/angular/utils/time/formats.const.d.ts +0 -4
- package/angular/utils/time/period-over-period-condition.const.d.ts +0 -8
- package/angular/utils/time/periods.const.d.ts +0 -15
- package/angular/utils/timezone/datetime-timezone.d.ts +0 -25
- package/angular/utils/timezone/tests/datetime-timezone.test.d.ts +0 -1
- package/angular/utils/transformations/convert-data-field-to-slot-content.d.ts +0 -9
- package/angular/utils/transformations/convert-datasets-to-data-fields.d.ts +0 -30
- package/angular/utils/transformations/tests/convert-data-field-to-slot-content.test.d.ts +0 -1
- package/angular/utils/transformations/tests/convert-datasets-to-data-fields.test.d.ts +0 -1
- package/angular/utils/types/tests/type-check.test.d.ts +0 -1
- package/angular/utils/types/type-check.d.ts +0 -28
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-option-text-field';
|
|
3
|
-
import type { LuzmoItemOptionTextField as LuzmoItemOptionTextFieldHostElement, ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-text-field';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type { ItemOptionChangedEventDetail } from '@luzmo/analytics-components-kit/item-option-text-field';
|
|
6
|
-
export declare class LuzmoItemOptionTextField 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(): LuzmoItemOptionTextFieldHostElement;
|
|
14
|
-
/** Internal timer handle used to debounce change events. */
|
|
15
|
-
debounceTimeout?: any;
|
|
16
|
-
/** The current text value. */
|
|
17
|
-
value?: string;
|
|
18
|
-
/** Whether the control is shown in an invalid state. */
|
|
19
|
-
invalid?: boolean;
|
|
20
|
-
/** Whether the control is read-only. */
|
|
21
|
-
readonly?: boolean;
|
|
22
|
-
/** Placeholder text shown when the field is empty. */
|
|
23
|
-
placeholder?: string;
|
|
24
|
-
/** Delay in milliseconds before the change event is emitted after the user stops interacting. */
|
|
25
|
-
debounce?: number;
|
|
26
|
-
/** Emitted when the option value changes. */
|
|
27
|
-
readonly luzmoOptionChanged: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionChangedEventDetail>>;
|
|
28
|
-
constructor();
|
|
29
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
-
/**
|
|
31
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
32
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
33
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
34
|
-
* undefined / null by clearing their bindings.
|
|
35
|
-
*/
|
|
36
|
-
private setHostProperty;
|
|
37
|
-
private bindEvents;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemOptionTextField, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemOptionTextField, "luzmo-item-option-text-field", ["luzmoItemOptionTextField"], { "debounceTimeout": { "alias": "debounceTimeout"; "required": false; }; "value": { "alias": "value"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged"; }, never, ["*"], true, never>;
|
|
40
|
-
static ngAcceptInputType_invalid: unknown;
|
|
41
|
-
static ngAcceptInputType_readonly: unknown;
|
|
42
|
-
}
|
|
43
|
-
/** The underlying custom element type for LuzmoItemOptionTextField */
|
|
44
|
-
export type LuzmoItemOptionTextFieldElement = LuzmoItemOptionTextFieldHostElement;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { booleanAttribute, ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-option-text-field';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
/**
|
|
6
|
-
* Angular wrapper component for <luzmo-item-option-text-field>
|
|
7
|
-
*/
|
|
8
|
-
export class LuzmoItemOptionTextField {
|
|
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
|
-
/** Internal timer handle used to debounce change events. */
|
|
19
|
-
debounceTimeout;
|
|
20
|
-
/** The current text value. */
|
|
21
|
-
value;
|
|
22
|
-
/** Whether the control is shown in an invalid state. */
|
|
23
|
-
invalid;
|
|
24
|
-
/** Whether the control is read-only. */
|
|
25
|
-
readonly;
|
|
26
|
-
/** Placeholder text shown when the field is empty. */
|
|
27
|
-
placeholder;
|
|
28
|
-
/** Delay in milliseconds before the change event is emitted after the user stops interacting. */
|
|
29
|
-
debounce;
|
|
30
|
-
/** Emitted when the option value changes. */
|
|
31
|
-
luzmoOptionChanged = output({ alias: 'luzmoOptionChanged' });
|
|
32
|
-
constructor() {
|
|
33
|
-
this.bindEvents();
|
|
34
|
-
this.destroyRef.onDestroy(() => {
|
|
35
|
-
for (const cleanup of this.listenerCleanup) {
|
|
36
|
-
cleanup();
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
ngOnChanges(changes) {
|
|
41
|
-
for (const key of Object.keys(changes)) {
|
|
42
|
-
switch (key) {
|
|
43
|
-
case 'debounceTimeout':
|
|
44
|
-
this.setHostProperty('debounceTimeout', changes['debounceTimeout'].currentValue);
|
|
45
|
-
break;
|
|
46
|
-
case 'value':
|
|
47
|
-
this.setHostProperty('value', changes['value'].currentValue);
|
|
48
|
-
break;
|
|
49
|
-
case 'invalid':
|
|
50
|
-
this.setHostProperty('invalid', changes['invalid'].currentValue);
|
|
51
|
-
break;
|
|
52
|
-
case 'readonly':
|
|
53
|
-
this.setHostProperty('readonly', changes['readonly'].currentValue);
|
|
54
|
-
break;
|
|
55
|
-
case 'placeholder':
|
|
56
|
-
this.setHostProperty('placeholder', changes['placeholder'].currentValue);
|
|
57
|
-
break;
|
|
58
|
-
case 'debounce':
|
|
59
|
-
this.setHostProperty('debounce', changes['debounce'].currentValue);
|
|
60
|
-
break;
|
|
61
|
-
default:
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
68
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
69
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
70
|
-
* undefined / null by clearing their bindings.
|
|
71
|
-
*/
|
|
72
|
-
setHostProperty(key, value) {
|
|
73
|
-
this.renderer.setProperty(this.host, key, value);
|
|
74
|
-
}
|
|
75
|
-
bindEvents() {
|
|
76
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-option-changed', (event) => {
|
|
77
|
-
const typed = event;
|
|
78
|
-
this.luzmoOptionChanged.emit(typed);
|
|
79
|
-
}));
|
|
80
|
-
}
|
|
81
|
-
static ɵfac = function LuzmoItemOptionTextField_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemOptionTextField)(); };
|
|
82
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOptionTextField, selectors: [["luzmo-item-option-text-field"]], inputs: { debounceTimeout: "debounceTimeout", value: "value", invalid: [2, "invalid", "invalid", booleanAttribute], readonly: [2, "readonly", "readonly", booleanAttribute], placeholder: "placeholder", debounce: "debounce" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, exportAs: ["luzmoItemOptionTextField"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOptionTextField_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
-
i0.ɵɵprojectionDef();
|
|
84
|
-
i0.ɵɵprojection(0);
|
|
85
|
-
} }, encapsulation: 2 });
|
|
86
|
-
}
|
|
87
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOptionTextField, [{
|
|
88
|
-
type: Component,
|
|
89
|
-
args: [{
|
|
90
|
-
selector: 'luzmo-item-option-text-field',
|
|
91
|
-
exportAs: 'luzmoItemOptionTextField',
|
|
92
|
-
standalone: true,
|
|
93
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
94
|
-
template: '<ng-content />'
|
|
95
|
-
}]
|
|
96
|
-
}], () => [], { debounceTimeout: [{
|
|
97
|
-
type: Input,
|
|
98
|
-
args: [{ alias: 'debounceTimeout' }]
|
|
99
|
-
}], value: [{
|
|
100
|
-
type: Input,
|
|
101
|
-
args: [{ alias: 'value' }]
|
|
102
|
-
}], invalid: [{
|
|
103
|
-
type: Input,
|
|
104
|
-
args: [{ alias: 'invalid', transform: booleanAttribute }]
|
|
105
|
-
}], readonly: [{
|
|
106
|
-
type: Input,
|
|
107
|
-
args: [{ alias: 'readonly', transform: booleanAttribute }]
|
|
108
|
-
}], placeholder: [{
|
|
109
|
-
type: Input,
|
|
110
|
-
args: [{ alias: 'placeholder' }]
|
|
111
|
-
}], debounce: [{
|
|
112
|
-
type: Input,
|
|
113
|
-
args: [{ alias: 'debounce' }]
|
|
114
|
-
}], luzmoOptionChanged: [{ type: i0.Output, args: ["luzmoOptionChanged"] }] }); })();
|
|
115
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemOptionTextField, { className: "LuzmoItemOptionTextField", filePath: "components/item-option-text-field.ts", lineNumber: 16 }); })();
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-option';
|
|
3
|
-
import type { LuzmoItemOption as LuzmoItemOptionHostElement, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
4
|
-
import type { ElementSize } from '@luzmo/analytics-components-kit/types';
|
|
5
|
-
import type { OptionConfig, OptionTranslation, ThemeConfig, TranslationOverrides, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export type { ItemOptionChangedEventDetail, ItemOptionsChangedEventDetail } from '@luzmo/analytics-components-kit/item-option';
|
|
8
|
-
export declare class LuzmoItemOption implements OnChanges {
|
|
9
|
-
private readonly elementRef;
|
|
10
|
-
private readonly renderer;
|
|
11
|
-
private readonly destroyRef;
|
|
12
|
-
private readonly host;
|
|
13
|
-
private readonly listenerCleanup;
|
|
14
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
|
-
get nativeElement(): LuzmoItemOptionHostElement;
|
|
16
|
-
/** The language in which to display the option control. */
|
|
17
|
-
language?: string;
|
|
18
|
-
/** The visualization item type whose options config and translations are loaded. */
|
|
19
|
-
itemType?: VizItemType | string;
|
|
20
|
-
/** The key of the option (within the item type's options config) to render. */
|
|
21
|
-
optionKey?: string;
|
|
22
|
-
/** A custom option configuration to render instead of resolving one from `itemType`/`optionKey`. */
|
|
23
|
-
customOptionConfiguration?: OptionConfig;
|
|
24
|
-
/** Translation overrides for the option label, tooltip, and enum values. */
|
|
25
|
-
customTranslations?: OptionTranslation | TranslationOverrides;
|
|
26
|
-
/** The current option values for the item. */
|
|
27
|
-
options?: Record<string, unknown>;
|
|
28
|
-
/** The item's data slots, used by options that depend on slot contents. */
|
|
29
|
-
slots?: unknown[];
|
|
30
|
-
/** The theme configuration applied to the option control. */
|
|
31
|
-
theme?: ThemeConfig & Record<string, any>;
|
|
32
|
-
/** The API URL of the databroker */
|
|
33
|
-
apiUrl?: string;
|
|
34
|
-
/** The auth key of the databroker */
|
|
35
|
-
authKey?: string;
|
|
36
|
-
/** The auth token of the databroker */
|
|
37
|
-
authToken?: string;
|
|
38
|
-
/** The size variant of the option control (`s`, `m`, `l`, `xl`). */
|
|
39
|
-
size?: ElementSize;
|
|
40
|
-
/** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
|
|
41
|
-
changedOptions?: unknown;
|
|
42
|
-
/** Announces that the `options` of the element have changed */
|
|
43
|
-
readonly luzmoOptionsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<ItemOptionsChangedEventDetail>>;
|
|
44
|
-
constructor();
|
|
45
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
46
|
-
/**
|
|
47
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
48
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
49
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
50
|
-
* undefined / null by clearing their bindings.
|
|
51
|
-
*/
|
|
52
|
-
private setHostProperty;
|
|
53
|
-
private bindEvents;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemOption, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemOption, "luzmo-item-option", ["luzmoItemOption"], { "language": { "alias": "language"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "optionKey": { "alias": "optionKey"; "required": false; }; "customOptionConfiguration": { "alias": "customOptionConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "options": { "alias": "options"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "size": { "alias": "size"; "required": false; }; "changedOptions": { "alias": "changedOptions"; "required": false; }; }, { "luzmoOptionsChanged": "luzmoOptionsChanged"; }, never, ["*"], true, never>;
|
|
56
|
-
}
|
|
57
|
-
/** The underlying custom element type for LuzmoItemOption */
|
|
58
|
-
export type LuzmoItemOptionElement = LuzmoItemOptionHostElement;
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, output, Renderer2 } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-option';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
const _c0 = ["*"];
|
|
5
|
-
/**
|
|
6
|
-
* Angular wrapper component for <luzmo-item-option>
|
|
7
|
-
*/
|
|
8
|
-
export class LuzmoItemOption {
|
|
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
|
-
/** The language in which to display the option control. */
|
|
19
|
-
language;
|
|
20
|
-
/** The visualization item type whose options config and translations are loaded. */
|
|
21
|
-
itemType;
|
|
22
|
-
/** The key of the option (within the item type's options config) to render. */
|
|
23
|
-
optionKey;
|
|
24
|
-
/** A custom option configuration to render instead of resolving one from `itemType`/`optionKey`. */
|
|
25
|
-
customOptionConfiguration;
|
|
26
|
-
/** Translation overrides for the option label, tooltip, and enum values. */
|
|
27
|
-
customTranslations;
|
|
28
|
-
/** The current option values for the item. */
|
|
29
|
-
options;
|
|
30
|
-
/** The item's data slots, used by options that depend on slot contents. */
|
|
31
|
-
slots;
|
|
32
|
-
/** The theme configuration applied to the option control. */
|
|
33
|
-
theme;
|
|
34
|
-
/** The API URL of the databroker */
|
|
35
|
-
apiUrl;
|
|
36
|
-
/** The auth key of the databroker */
|
|
37
|
-
authKey;
|
|
38
|
-
/** The auth token of the databroker */
|
|
39
|
-
authToken;
|
|
40
|
-
/** The size variant of the option control (`s`, `m`, `l`, `xl`). */
|
|
41
|
-
size;
|
|
42
|
-
/** Callback that updates `options` and emits `luzmo-options-changed`; used internally by the rendered control. */
|
|
43
|
-
changedOptions;
|
|
44
|
-
/** Announces that the `options` of the element have changed */
|
|
45
|
-
luzmoOptionsChanged = output({ alias: 'luzmoOptionsChanged' });
|
|
46
|
-
constructor() {
|
|
47
|
-
this.bindEvents();
|
|
48
|
-
this.destroyRef.onDestroy(() => {
|
|
49
|
-
for (const cleanup of this.listenerCleanup) {
|
|
50
|
-
cleanup();
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
ngOnChanges(changes) {
|
|
55
|
-
for (const key of Object.keys(changes)) {
|
|
56
|
-
switch (key) {
|
|
57
|
-
case 'language':
|
|
58
|
-
this.setHostProperty('language', changes['language'].currentValue);
|
|
59
|
-
break;
|
|
60
|
-
case 'itemType':
|
|
61
|
-
this.setHostProperty('itemType', changes['itemType'].currentValue);
|
|
62
|
-
break;
|
|
63
|
-
case 'optionKey':
|
|
64
|
-
this.setHostProperty('optionKey', changes['optionKey'].currentValue);
|
|
65
|
-
break;
|
|
66
|
-
case 'customOptionConfiguration':
|
|
67
|
-
this.setHostProperty('customOptionConfiguration', changes['customOptionConfiguration'].currentValue);
|
|
68
|
-
break;
|
|
69
|
-
case 'customTranslations':
|
|
70
|
-
this.setHostProperty('customTranslations', changes['customTranslations'].currentValue);
|
|
71
|
-
break;
|
|
72
|
-
case 'options':
|
|
73
|
-
this.setHostProperty('options', changes['options'].currentValue);
|
|
74
|
-
break;
|
|
75
|
-
case 'slots':
|
|
76
|
-
this.setHostProperty('slots', changes['slots'].currentValue);
|
|
77
|
-
break;
|
|
78
|
-
case 'theme':
|
|
79
|
-
this.setHostProperty('theme', changes['theme'].currentValue);
|
|
80
|
-
break;
|
|
81
|
-
case 'apiUrl':
|
|
82
|
-
this.setHostProperty('apiUrl', changes['apiUrl'].currentValue);
|
|
83
|
-
break;
|
|
84
|
-
case 'authKey':
|
|
85
|
-
this.setHostProperty('authKey', changes['authKey'].currentValue);
|
|
86
|
-
break;
|
|
87
|
-
case 'authToken':
|
|
88
|
-
this.setHostProperty('authToken', changes['authToken'].currentValue);
|
|
89
|
-
break;
|
|
90
|
-
case 'size':
|
|
91
|
-
this.setHostProperty('size', changes['size'].currentValue);
|
|
92
|
-
break;
|
|
93
|
-
case 'changedOptions':
|
|
94
|
-
this.setHostProperty('changedOptions', changes['changedOptions'].currentValue);
|
|
95
|
-
break;
|
|
96
|
-
default:
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
103
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
104
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
105
|
-
* undefined / null by clearing their bindings.
|
|
106
|
-
*/
|
|
107
|
-
setHostProperty(key, value) {
|
|
108
|
-
this.renderer.setProperty(this.host, key, value);
|
|
109
|
-
}
|
|
110
|
-
bindEvents() {
|
|
111
|
-
this.listenerCleanup.push(this.renderer.listen(this.host, 'luzmo-options-changed', (event) => {
|
|
112
|
-
const typed = event;
|
|
113
|
-
this.luzmoOptionsChanged.emit(typed);
|
|
114
|
-
}));
|
|
115
|
-
}
|
|
116
|
-
static ɵfac = function LuzmoItemOption_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoItemOption)(); };
|
|
117
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoItemOption, selectors: [["luzmo-item-option"]], inputs: { language: "language", itemType: "itemType", optionKey: "optionKey", customOptionConfiguration: "customOptionConfiguration", customTranslations: "customTranslations", options: "options", slots: "slots", theme: "theme", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", size: "size", changedOptions: "changedOptions" }, outputs: { luzmoOptionsChanged: "luzmoOptionsChanged" }, exportAs: ["luzmoItemOption"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoItemOption_Template(rf, ctx) { if (rf & 1) {
|
|
118
|
-
i0.ɵɵprojectionDef();
|
|
119
|
-
i0.ɵɵprojection(0);
|
|
120
|
-
} }, encapsulation: 2 });
|
|
121
|
-
}
|
|
122
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoItemOption, [{
|
|
123
|
-
type: Component,
|
|
124
|
-
args: [{
|
|
125
|
-
selector: 'luzmo-item-option',
|
|
126
|
-
exportAs: 'luzmoItemOption',
|
|
127
|
-
standalone: true,
|
|
128
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
129
|
-
template: '<ng-content />'
|
|
130
|
-
}]
|
|
131
|
-
}], () => [], { language: [{
|
|
132
|
-
type: Input,
|
|
133
|
-
args: [{ alias: 'language' }]
|
|
134
|
-
}], itemType: [{
|
|
135
|
-
type: Input,
|
|
136
|
-
args: [{ alias: 'itemType' }]
|
|
137
|
-
}], optionKey: [{
|
|
138
|
-
type: Input,
|
|
139
|
-
args: [{ alias: 'optionKey' }]
|
|
140
|
-
}], customOptionConfiguration: [{
|
|
141
|
-
type: Input,
|
|
142
|
-
args: [{ alias: 'customOptionConfiguration' }]
|
|
143
|
-
}], customTranslations: [{
|
|
144
|
-
type: Input,
|
|
145
|
-
args: [{ alias: 'customTranslations' }]
|
|
146
|
-
}], options: [{
|
|
147
|
-
type: Input,
|
|
148
|
-
args: [{ alias: 'options' }]
|
|
149
|
-
}], slots: [{
|
|
150
|
-
type: Input,
|
|
151
|
-
args: [{ alias: 'slots' }]
|
|
152
|
-
}], theme: [{
|
|
153
|
-
type: Input,
|
|
154
|
-
args: [{ alias: 'theme' }]
|
|
155
|
-
}], apiUrl: [{
|
|
156
|
-
type: Input,
|
|
157
|
-
args: [{ alias: 'apiUrl' }]
|
|
158
|
-
}], authKey: [{
|
|
159
|
-
type: Input,
|
|
160
|
-
args: [{ alias: 'authKey' }]
|
|
161
|
-
}], authToken: [{
|
|
162
|
-
type: Input,
|
|
163
|
-
args: [{ alias: 'authToken' }]
|
|
164
|
-
}], size: [{
|
|
165
|
-
type: Input,
|
|
166
|
-
args: [{ alias: 'size' }]
|
|
167
|
-
}], changedOptions: [{
|
|
168
|
-
type: Input,
|
|
169
|
-
args: [{ alias: 'changedOptions' }]
|
|
170
|
-
}], luzmoOptionsChanged: [{ type: i0.Output, args: ["luzmoOptionsChanged"] }] }); })();
|
|
171
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoItemOption, { className: "LuzmoItemOption", filePath: "components/item-option.ts", lineNumber: 18 }); })();
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import '@luzmo/analytics-components-kit/item-slot-drop-panel';
|
|
3
|
-
import type { LuzmoItemSlotDropPanel as LuzmoItemSlotDropPanelHostElement, SlotConstraintTriggeredEventDetail, SlotsContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop-panel';
|
|
4
|
-
import type { Placement } from '@floating-ui/dom';
|
|
5
|
-
import type { SlotConfig, SlotPositioningConfig, VizItemSlot, VizItemType } from '@luzmo/dashboard-contents-types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export type { DatasetConstraintTriggeredEventDetail, SlotConstraintTriggeredEventDetail, SlotsContentsChangedEventDetail } from '@luzmo/analytics-components-kit/item-slot-drop-panel';
|
|
8
|
-
export declare class LuzmoItemSlotDropPanel implements OnChanges {
|
|
9
|
-
private readonly elementRef;
|
|
10
|
-
private readonly renderer;
|
|
11
|
-
private readonly destroyRef;
|
|
12
|
-
private readonly host;
|
|
13
|
-
private readonly listenerCleanup;
|
|
14
|
-
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
|
-
get nativeElement(): LuzmoItemSlotDropPanelHostElement;
|
|
16
|
-
/** The type of the item (e.g., 'bar-chart', 'line-chart', 'area-chart') */
|
|
17
|
-
itemType?: VizItemType | string;
|
|
18
|
-
/** The language to use for locale-aware formatting and labels */
|
|
19
|
-
contentLanguage?: string;
|
|
20
|
-
/** Optional custom slots configuration (overrides loaded config from item-type). Each slot defines what data types it accepts and its behavior. */
|
|
21
|
-
slotsConfiguration?: SlotConfig[];
|
|
22
|
-
/** Optional custom positioning configuration for grid layout (overrides loaded config). Only used when `positioned` attribute is true. */
|
|
23
|
-
positioningConfiguration?: SlotPositioningConfig;
|
|
24
|
-
/** The contents of all slots. Each entry maps a slot name to its content items. Content items typically contain column/formula references and dataset IDs. */
|
|
25
|
-
slotsContents?: VizItemSlot[];
|
|
26
|
-
/** Whether to use grid-based positioning for slots When true, loads the positioning config and renders slots in a CSS grid */
|
|
27
|
-
positioned?: boolean;
|
|
28
|
-
/** Boundary element selector for drag operations */
|
|
29
|
-
dragBoundary?: string;
|
|
30
|
-
/** Placement of the slot menu popover */
|
|
31
|
-
slotMenuPlacement?: Placement;
|
|
32
|
-
/** Whether to hide the delete button on item slot drop targets */
|
|
33
|
-
hideDelete?: boolean;
|
|
34
|
-
/** Whether to hide the configuration button on item slot drop targets */
|
|
35
|
-
hideConfiguration?: boolean;
|
|
36
|
-
/** Whether the item slot drop targets grow to full width */
|
|
37
|
-
grows?: boolean;
|
|
38
|
-
/** Controls how slot constraints are handled - 'auto': Constraints are applied immediately (default) - 'event-only': Emit event with constraint details, let consumer decide */
|
|
39
|
-
constraintMode?: 'auto' | 'event-only';
|
|
40
|
-
/** The type of menu interaction for item slot drop targets */
|
|
41
|
-
slotMenuMode?: 'default' | 'draggable' | 'event-only';
|
|
42
|
-
/** The API URL of the databroker */
|
|
43
|
-
apiUrl?: string;
|
|
44
|
-
/** The auth key of the databroker */
|
|
45
|
-
authKey?: string;
|
|
46
|
-
/** The auth token of the databroker */
|
|
47
|
-
authToken?: string;
|
|
48
|
-
/** The main container for all slots */
|
|
49
|
-
slotspanel?: string;
|
|
50
|
-
/** The grid container when positioned mode is enabled */
|
|
51
|
-
slotsgrid?: string;
|
|
52
|
-
/** The grid cell wrapper for each slot when positioned */
|
|
53
|
-
slotcell?: string;
|
|
54
|
-
/** The item slot drop element */
|
|
55
|
-
itemslotdrop?: string;
|
|
56
|
-
/** The language for UI labels. Supported values: 'en', 'nl', 'fr', 'de', 'es' */
|
|
57
|
-
language?: string;
|
|
58
|
-
/** The size of the element */
|
|
59
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
60
|
-
/** Emitted when constraint-mode is 'event-only' and a change would trigger constraints */
|
|
61
|
-
readonly luzmoSlotConstraintTriggered: import("@angular/core").OutputEmitterRef<CustomEvent<SlotConstraintTriggeredEventDetail>>;
|
|
62
|
-
/** Announces that the slots contents have changed */
|
|
63
|
-
readonly luzmoSlotsContentsChanged: import("@angular/core").OutputEmitterRef<CustomEvent<SlotsContentsChangedEventDetail>>;
|
|
64
|
-
constructor();
|
|
65
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
66
|
-
/**
|
|
67
|
-
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
68
|
-
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
69
|
-
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
70
|
-
* undefined / null by clearing their bindings.
|
|
71
|
-
*/
|
|
72
|
-
private setHostProperty;
|
|
73
|
-
private bindEvents;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoItemSlotDropPanel, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoItemSlotDropPanel, "luzmo-item-slot-drop-panel", ["luzmoItemSlotDropPanel"], { "itemType": { "alias": "itemType"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "slotsConfiguration": { "alias": "slotsConfiguration"; "required": false; }; "positioningConfiguration": { "alias": "positioningConfiguration"; "required": false; }; "slotsContents": { "alias": "slotsContents"; "required": false; }; "positioned": { "alias": "positioned"; "required": false; }; "dragBoundary": { "alias": "dragBoundary"; "required": false; }; "slotMenuPlacement": { "alias": "slotMenuPlacement"; "required": false; }; "hideDelete": { "alias": "hideDelete"; "required": false; }; "hideConfiguration": { "alias": "hideConfiguration"; "required": false; }; "grows": { "alias": "grows"; "required": false; }; "constraintMode": { "alias": "constraintMode"; "required": false; }; "slotMenuMode": { "alias": "slotMenuMode"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "slotspanel": { "alias": "slotsPanel"; "required": false; }; "slotsgrid": { "alias": "slotsGrid"; "required": false; }; "slotcell": { "alias": "slotCell"; "required": false; }; "itemslotdrop": { "alias": "itemSlotDrop"; "required": false; }; "language": { "alias": "language"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "luzmoSlotConstraintTriggered": "luzmoSlotConstraintTriggered"; "luzmoSlotsContentsChanged": "luzmoSlotsContentsChanged"; }, never, ["*"], true, never>;
|
|
76
|
-
static ngAcceptInputType_positioned: unknown;
|
|
77
|
-
static ngAcceptInputType_hideDelete: unknown;
|
|
78
|
-
static ngAcceptInputType_hideConfiguration: unknown;
|
|
79
|
-
static ngAcceptInputType_grows: unknown;
|
|
80
|
-
}
|
|
81
|
-
/** The underlying custom element type for LuzmoItemSlotDropPanel */
|
|
82
|
-
export type LuzmoItemSlotDropPanelElement = LuzmoItemSlotDropPanelHostElement;
|