@luzmo/analytics-components-kit 1.0.1-alpha.119 → 1.0.1-alpha.120
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/README.md +119 -70
- package/angular/components/edit-filters.component.ts +1 -3
- package/angular/components/edit-item.component.ts +2 -2
- package/angular/components/edit-option-color-picker.component.ts +1 -3
- package/angular/components/edit-option-color-range.component.ts +1 -3
- package/angular/components/grid.component.ts +2 -6
- package/angular/esm/components/edit-filters.component.d.ts +1 -2
- package/angular/esm/components/edit-filters.component.js +4 -9
- package/angular/esm/components/edit-item.component.d.ts +2 -2
- package/angular/esm/components/edit-item.component.js +6 -6
- package/angular/esm/components/edit-option-color-picker.component.d.ts +1 -2
- package/angular/esm/components/edit-option-color-picker.component.js +4 -9
- package/angular/esm/components/edit-option-color-range.component.d.ts +1 -2
- package/angular/esm/components/edit-option-color-range.component.js +4 -9
- package/angular/esm/components/grid.component.d.ts +2 -4
- package/angular/esm/components/grid.component.js +6 -16
- package/components/edit-filters/edit-filters.d.ts +1 -1
- package/components/edit-item/edit-item.d.ts +1 -1
- package/components/edit-item/index.cjs +1 -1
- package/components/edit-item/index.js +2 -2
- package/components/{edit-item-BF7kFExw.js → edit-item-B3c-HwAS.js} +1 -1
- package/components/{edit-item-y6xrjteN.cjs → edit-item-nG76k7Oq.cjs} +1 -1
- package/components/edit-option/index.cjs +1 -1
- package/components/edit-option/index.js +1 -1
- package/components/{edit-option-uhmUwEn2.cjs → edit-option-D03pLRVt.cjs} +1 -1
- package/components/{edit-option-BNgBgbCi.js → edit-option-Dk1vgEme.js} +1 -1
- package/components/edit-option-action-button-group/index.cjs +1 -1
- package/components/edit-option-action-button-group/index.js +2 -2
- package/components/{edit-option-action-button-group-DNMUMvua.cjs → edit-option-action-button-group-73kg_uNQ.cjs} +1 -1
- package/components/{edit-option-action-button-group-CYoxdrd_.js → edit-option-action-button-group-DjbzjkEZ.js} +1 -1
- package/components/{edit-option-base-Bq9UUQTX.cjs → edit-option-base-Dtq-NG3j.cjs} +1 -1
- package/components/{edit-option-base-CLMJuUWd.js → edit-option-base-Iy9O_UtB.js} +1 -1
- package/components/edit-option-color-palette-picker/index.cjs +1 -1
- package/components/edit-option-color-palette-picker/index.js +2 -2
- package/components/{edit-option-color-palette-picker-DM2WlBD4.cjs → edit-option-color-palette-picker-BI6t5A_k.cjs} +1 -1
- package/components/{edit-option-color-palette-picker-DYGv8DRB.js → edit-option-color-palette-picker-aCwRg_Jo.js} +1 -1
- package/components/edit-option-color-picker/edit-option-color-picker.d.ts +1 -1
- package/components/edit-option-color-picker/index.cjs +1 -1
- package/components/edit-option-color-picker/index.js +2 -2
- package/components/{edit-option-color-picker-DbSlDcRj.js → edit-option-color-picker-B55E1yvl.js} +1 -1
- package/components/{edit-option-color-picker-CxgOPwoI.cjs → edit-option-color-picker-D39iQOlH.cjs} +1 -1
- package/components/edit-option-color-range/edit-option-color-range.d.ts +1 -1
- package/components/edit-option-color-range/index.cjs +1 -1
- package/components/edit-option-color-range/index.js +2 -2
- package/components/{edit-option-color-range-BHw8G8R8.cjs → edit-option-color-range-BuSvGFKR.cjs} +1 -1
- package/components/{edit-option-color-range-jrwWWtWJ.js → edit-option-color-range-CmP4KSDu.js} +1 -1
- package/components/edit-option-multi-language-field/index.cjs +1 -1
- package/components/edit-option-multi-language-field/index.js +2 -2
- package/components/{edit-option-multi-language-field-D8GtgAu1.cjs → edit-option-multi-language-field-BICNgNrF.cjs} +1 -1
- package/components/{edit-option-multi-language-field-csmScmY3.js → edit-option-multi-language-field-LyBT3uby.js} +1 -1
- package/components/edit-option-number-field/index.cjs +1 -1
- package/components/edit-option-number-field/index.js +2 -2
- package/components/{edit-option-number-field-TAgtOdB6.cjs → edit-option-number-field-DKN8S7V0.cjs} +1 -1
- package/components/{edit-option-number-field-CBe7GeZl.js → edit-option-number-field-sS2TxF-Z.js} +1 -1
- package/components/edit-option-picker/index.cjs +1 -1
- package/components/edit-option-picker/index.js +2 -2
- package/components/{edit-option-picker-rbcc3sGS.js → edit-option-picker-CmnErUzv.js} +1 -1
- package/components/{edit-option-picker-C8oyxM43.cjs → edit-option-picker-DP6PS2UA.cjs} +1 -1
- package/components/edit-option-position-picker/index.cjs +1 -1
- package/components/edit-option-position-picker/index.js +2 -2
- package/components/{edit-option-position-picker-Bu9-g-VB.cjs → edit-option-position-picker-Bk-kQc91.cjs} +1 -1
- package/components/{edit-option-position-picker-BtQNsO43.js → edit-option-position-picker-Dx2chSHB.js} +1 -1
- package/components/edit-option-positions-number-field/index.cjs +1 -1
- package/components/edit-option-positions-number-field/index.js +2 -2
- package/components/{edit-option-positions-number-field-BjHGQ9Ht.cjs → edit-option-positions-number-field-2CPGmEoX.cjs} +1 -1
- package/components/{edit-option-positions-number-field-n6namYPw.js → edit-option-positions-number-field-mnxqwh2N.js} +1 -1
- package/components/edit-option-radio-button-group/index.cjs +1 -1
- package/components/edit-option-radio-button-group/index.js +2 -2
- package/components/{edit-option-radio-button-group-sse3NfnC.cjs → edit-option-radio-button-group-B0cGkuoH.cjs} +1 -1
- package/components/{edit-option-radio-button-group-CmPse-yy.js → edit-option-radio-button-group-CjfA_Ly8.js} +1 -1
- package/components/edit-option-slider/index.cjs +1 -1
- package/components/edit-option-slider/index.js +2 -2
- package/components/{edit-option-slider-CWY3k087.cjs → edit-option-slider-B1s30IMV.cjs} +1 -1
- package/components/{edit-option-slider-CM62yQ4G.js → edit-option-slider-BI5mkif3.js} +1 -1
- package/components/edit-option-switch/index.cjs +1 -1
- package/components/edit-option-switch/index.js +2 -2
- package/components/{edit-option-switch-CDUuV5Wv.cjs → edit-option-switch-DEqGXRdE.cjs} +1 -1
- package/components/{edit-option-switch-DHv5rJvE.js → edit-option-switch-DYsZJXi4.js} +1 -1
- package/components/edit-option-text-field/index.cjs +1 -1
- package/components/edit-option-text-field/index.js +2 -2
- package/components/{edit-option-text-field-DU9A7Uih.cjs → edit-option-text-field-BZ5QeU63.cjs} +1 -1
- package/components/{edit-option-text-field-DRd25YSs.js → edit-option-text-field-DKw5zLI5.js} +1 -1
- package/components/grid/grid.d.ts +3 -3
- package/components/index.cjs +1 -1
- package/components/index.js +17 -17
- package/components/item-data-drop-panel/index.cjs +1 -1
- package/components/item-data-drop-panel/index.js +1 -1
- package/components/item-data-drop-panel/item-data-drop-panel.d.ts +63 -3
- package/components/{item-data-drop-panel-P8IM2jI-.js → item-data-drop-panel-BRNjj_ZX.js} +1 -1
- package/components/item-data-drop-panel-eMRkGMlW.cjs +57 -0
- package/custom-elements.json +18 -33
- package/package.json +15 -2
- package/react/components/edit-filters.component.ts +2 -4
- package/react/components/edit-item.component.ts +3 -3
- package/react/components/edit-option-color-picker.component.ts +2 -4
- package/react/components/edit-option-color-range.component.ts +2 -4
- package/react/components/grid.component.ts +5 -9
- package/react/esm/components/edit-filters.component.d.ts +1 -2
- package/react/esm/components/edit-filters.component.js +2 -3
- package/react/esm/components/edit-item.component.d.ts +2 -2
- package/react/esm/components/edit-item.component.js +2 -2
- package/react/esm/components/edit-option-color-picker.component.d.ts +1 -2
- package/react/esm/components/edit-option-color-picker.component.js +2 -3
- package/react/esm/components/edit-option-color-range.component.d.ts +1 -2
- package/react/esm/components/edit-option-color-range.component.js +2 -3
- package/react/esm/components/grid.component.d.ts +4 -6
- package/react/esm/components/grid.component.js +4 -6
- package/components/item-data-drop-panel-DCX4qrd4.cjs +0 -57
package/README.md
CHANGED
|
@@ -19,7 +19,8 @@ npm install @luzmo/analytics-components-kit
|
|
|
19
19
|
## Table of contents
|
|
20
20
|
|
|
21
21
|
- [Available Components](#available-components)
|
|
22
|
-
- [
|
|
22
|
+
- [Panel Components (Recommended)](#panel-components-recommended)
|
|
23
|
+
- [Data Components (Individual)](#data-components-individual)
|
|
23
24
|
- [Filter Components](#filter-components)
|
|
24
25
|
- [Display Settings](#display-settings)
|
|
25
26
|
- [Layout Components](#layout-components)
|
|
@@ -57,7 +58,19 @@ npm install @luzmo/analytics-components-kit
|
|
|
57
58
|
|
|
58
59
|
## Available Components
|
|
59
60
|
|
|
60
|
-
###
|
|
61
|
+
### Panel Components (Recommended)
|
|
62
|
+
|
|
63
|
+
| Component | Import | Description |
|
|
64
|
+
| --------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------- |
|
|
65
|
+
| Draggable Data Fields Panel | `@luzmo/analytics-components-kit/draggable-data-fields-panel` | Panel displaying draggable data fields from datasets |
|
|
66
|
+
| Item Data Drop Panel | `@luzmo/analytics-components-kit/item-data-drop-panel` | Drop panel for chart slot configuration |
|
|
67
|
+
| Item Data Picker Panel | `@luzmo/analytics-components-kit/item-data-picker-panel` | Dropdown-based panel for chart slot configuration (mobile-friendly) |
|
|
68
|
+
|
|
69
|
+
> **Note**: Use `Draggable Data Fields Panel` together with `Item Data Drop Panel` for a complete drag & drop experience. Use `Item Data Picker Panel` as a mobile-friendly alternative; swap between them with media queries.
|
|
70
|
+
>
|
|
71
|
+
> Prefer panel components over individual data components. Panels automatically handle slot constraints (e.g., "no multiple measures if legend is filled"). If using individual components directly, you must implement these constraints yourself.
|
|
72
|
+
|
|
73
|
+
### Data Components (Individual)
|
|
61
74
|
|
|
62
75
|
| Component | Import | Description |
|
|
63
76
|
| -------------------- | ------------------------------------------------------ | ------------------------------------------------------- |
|
|
@@ -94,16 +107,31 @@ npm install @luzmo/analytics-components-kit
|
|
|
94
107
|
## Utilities
|
|
95
108
|
|
|
96
109
|
```typescript
|
|
97
|
-
import { loadDraggableFieldsForDatasets } from '@luzmo/analytics-components-kit/utils';
|
|
110
|
+
import { loadDraggableFieldsForDatasets, switchItem, transformFilters } from '@luzmo/analytics-components-kit/utils';
|
|
111
|
+
import { itemTypes } from '@luzmo/analytics-components-kit/item-list';
|
|
98
112
|
|
|
99
|
-
// Load datasets with draggable data fields
|
|
100
|
-
const datasets = await loadDraggableFieldsForDatasets(['dataset-id-1'
|
|
113
|
+
// Load datasets with draggable data fields (for manual rendering)
|
|
114
|
+
const datasets = await loadDraggableFieldsForDatasets(['dataset-id-1'], {
|
|
101
115
|
dataBrokerConfig: {
|
|
102
116
|
apiUrl: 'https://api.luzmo.com',
|
|
103
117
|
authKey: 'your-auth-key',
|
|
104
118
|
authToken: 'your-auth-token'
|
|
105
119
|
}
|
|
106
120
|
});
|
|
121
|
+
|
|
122
|
+
// Switch chart type while preserving compatible slot data
|
|
123
|
+
const newItem = switchItem({
|
|
124
|
+
oldItemType: 'bar-chart',
|
|
125
|
+
newItemType: 'line-chart',
|
|
126
|
+
slots: currentSlots,
|
|
127
|
+
options: currentOptions
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
// Transform filter groups for use with Luzmo charts
|
|
131
|
+
const chartFilters = transformFilters(filterGroup);
|
|
132
|
+
|
|
133
|
+
// Get list of available chart types (for building a chart picker)
|
|
134
|
+
const chartOptions = itemTypes.map((item) => ({ label: item.label, value: item.type }));
|
|
107
135
|
```
|
|
108
136
|
|
|
109
137
|
## Usage: Drag & Drop Data Flow
|
|
@@ -112,92 +140,113 @@ This library provides a complete drag-and-drop system for building Luzmo chart c
|
|
|
112
140
|
|
|
113
141
|
### Concept
|
|
114
142
|
|
|
115
|
-
1. **
|
|
116
|
-
2. **
|
|
117
|
-
3. **
|
|
118
|
-
4. **
|
|
119
|
-
5. **Use slot contents**: The slot contents are in the format expected by Luzmo charts and can be passed directly to the slots array of Luzmo Flex SDK visualization components
|
|
143
|
+
1. **Add panel components**: Use `<luzmo-draggable-data-fields-panel>` for data fields and `<luzmo-item-data-drop-panel>` for slots (or `<luzmo-item-data-picker-panel>` for mobile)
|
|
144
|
+
2. **Configure panels**: Set `item-type` (e.g., 'bar-chart') and `datasetIds` - panels auto-load slot configurations and fetch data
|
|
145
|
+
3. **Handle slot changes**: Listen to `luzmo-slots-contents-changed` event to capture the complete slots state
|
|
146
|
+
4. **Use slot contents**: Pass `slotsContents` directly to Luzmo Flex SDK visualization components
|
|
120
147
|
|
|
121
|
-
### Example Implementation
|
|
148
|
+
### Example Implementation (Panel Components)
|
|
122
149
|
|
|
123
150
|
#### TypeScript
|
|
124
151
|
|
|
125
152
|
```typescript
|
|
126
|
-
import '@luzmo/analytics-components-kit/draggable-data-
|
|
127
|
-
import '@luzmo/analytics-components-kit/
|
|
128
|
-
import
|
|
129
|
-
import
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
153
|
+
import '@luzmo/analytics-components-kit/draggable-data-fields-panel';
|
|
154
|
+
import '@luzmo/analytics-components-kit/item-data-drop-panel';
|
|
155
|
+
import '@luzmo/analytics-components-kit/item-data-picker-panel';
|
|
156
|
+
import { switchItem } from '@luzmo/analytics-components-kit/utils';
|
|
157
|
+
|
|
158
|
+
const DATASET_ID = 'your-dataset-id';
|
|
159
|
+
const API_CONFIG = {
|
|
160
|
+
apiUrl: 'https://api.luzmo.com',
|
|
161
|
+
authKey: 'your-auth-key',
|
|
162
|
+
authToken: 'your-auth-token'
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
// State
|
|
166
|
+
let activeItem = {
|
|
167
|
+
type: 'bar-chart',
|
|
168
|
+
options: {},
|
|
169
|
+
slots: []
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
// Handle slot content changes (same handler for both panels)
|
|
173
|
+
function handleSlotsChange(event: CustomEvent) {
|
|
174
|
+
activeItem.slots = event.detail.slotsContents;
|
|
175
|
+
// Update your Luzmo chart with the new slots
|
|
176
|
+
}
|
|
145
177
|
|
|
146
|
-
//
|
|
147
|
-
function
|
|
148
|
-
|
|
149
|
-
|
|
178
|
+
// Switch chart type while preserving compatible data
|
|
179
|
+
function handleItemTypeChange(newType: string) {
|
|
180
|
+
const newItem = switchItem({
|
|
181
|
+
oldItemType: activeItem.type,
|
|
182
|
+
newItemType: newType,
|
|
183
|
+
slots: activeItem.slots,
|
|
184
|
+
options: activeItem.options
|
|
185
|
+
});
|
|
186
|
+
activeItem = { ...newItem };
|
|
150
187
|
}
|
|
151
188
|
```
|
|
152
189
|
|
|
153
190
|
#### HTML
|
|
154
191
|
|
|
155
192
|
```html
|
|
156
|
-
<!--
|
|
157
|
-
<div
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
${
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
193
|
+
<!-- Desktop: Drag & drop experience -->
|
|
194
|
+
<div
|
|
195
|
+
class="drag-and-drop-panel"
|
|
196
|
+
style="display: flex; gap: 1rem;"
|
|
197
|
+
>
|
|
198
|
+
<luzmo-draggable-data-fields-panel
|
|
199
|
+
.datasetIds="${[DATASET_ID]}"
|
|
200
|
+
.apiUrl="${API_CONFIG.apiUrl}"
|
|
201
|
+
.authKey="${API_CONFIG.authKey}"
|
|
202
|
+
.authToken="${API_CONFIG.authToken}"
|
|
203
|
+
draggable-data-field-variant="highlight"
|
|
204
|
+
language="en"
|
|
205
|
+
size="m"
|
|
206
|
+
>
|
|
207
|
+
</luzmo-draggable-data-fields-panel>
|
|
208
|
+
|
|
209
|
+
<luzmo-item-data-drop-panel
|
|
210
|
+
.itemType="${activeItem.type}"
|
|
211
|
+
.slotsContents="${activeItem.slots}"
|
|
212
|
+
.apiUrl="${API_CONFIG.apiUrl}"
|
|
213
|
+
.authKey="${API_CONFIG.authKey}"
|
|
214
|
+
.authToken="${API_CONFIG.authToken}"
|
|
215
|
+
grows
|
|
216
|
+
language="en"
|
|
217
|
+
size="m"
|
|
218
|
+
@luzmo-slots-contents-changed="${handleSlotsChange}"
|
|
219
|
+
>
|
|
220
|
+
</luzmo-item-data-drop-panel>
|
|
171
221
|
</div>
|
|
172
222
|
|
|
173
|
-
<!--
|
|
174
|
-
<div class="
|
|
175
|
-
<
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
223
|
+
<!-- Mobile: Picker experience (toggle visibility with CSS/JS) -->
|
|
224
|
+
<div class="picker-panel">
|
|
225
|
+
<luzmo-item-data-picker-panel
|
|
226
|
+
.itemType="${activeItem.type}"
|
|
227
|
+
.slotsContents="${activeItem.slots}"
|
|
228
|
+
.datasetIds="${[DATASET_ID]}"
|
|
229
|
+
.apiUrl="${API_CONFIG.apiUrl}"
|
|
230
|
+
.authKey="${API_CONFIG.authKey}"
|
|
231
|
+
.authToken="${API_CONFIG.authToken}"
|
|
232
|
+
grows
|
|
233
|
+
selects="multiple"
|
|
234
|
+
language="en"
|
|
181
235
|
size="m"
|
|
182
|
-
|
|
183
|
-
@slot-contents-changed="${(e)"
|
|
184
|
-
=""
|
|
185
|
-
>
|
|
186
|
-
handleSlotChange(e, slot.name)} ></luzmo-droppable-slot
|
|
236
|
+
@luzmo-slots-contents-changed="${handleSlotsChange}"
|
|
187
237
|
>
|
|
188
|
-
|
|
238
|
+
</luzmo-item-data-picker-panel>
|
|
189
239
|
</div>
|
|
190
240
|
```
|
|
191
241
|
|
|
192
242
|
### Key Points
|
|
193
243
|
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
- Slot contents
|
|
200
|
-
- The transformation from `DraggableDataField` to `GenericSlotContent` happens automatically when dropping
|
|
244
|
+
- **Panel components handle complexity**: Panels auto-load slot configurations based on `item-type` and handle slot constraints automatically
|
|
245
|
+
- **Same event for both panels**: Both `item-data-drop-panel` and `item-data-picker-panel` emit `luzmo-slots-contents-changed` with `event.detail.slotsContents`
|
|
246
|
+
- **Auto-fetch data**: Pass `datasetIds` to let panels fetch dataset columns/formulas automatically
|
|
247
|
+
- **Responsive patterns**: Use CSS media queries to show drag & drop on desktop and picker on mobile
|
|
248
|
+
- **Chart type switching**: Use `switchItem()` utility to change chart types while preserving compatible slot data
|
|
249
|
+
- **Slot contents format**: The `slotsContents` array is in the format expected by Luzmo Flex SDK visualization components
|
|
201
250
|
|
|
202
251
|
## Item Definitions
|
|
203
252
|
|
|
@@ -19,8 +19,7 @@ import type { FilterGroup } from '../types';
|
|
|
19
19
|
[attr.disabled]="disabled"
|
|
20
20
|
[attr.autofocus]="autofocus"
|
|
21
21
|
[attr.tabIndex]="tabIndex"
|
|
22
|
-
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)"
|
|
23
|
-
(filters-changed)="filtersChanged.emit($event)">
|
|
22
|
+
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)">
|
|
24
23
|
<ng-content></ng-content>
|
|
25
24
|
</luzmo-edit-filters>`
|
|
26
25
|
})
|
|
@@ -39,5 +38,4 @@ export class EditFiltersComponent {
|
|
|
39
38
|
@Input() autofocus?: any;
|
|
40
39
|
@Input() tabIndex?: any;
|
|
41
40
|
@Output() luzmoFiltersChanged = new EventEmitter<CustomEvent>();
|
|
42
|
-
@Output() filtersChanged = new EventEmitter<CustomEvent>();
|
|
43
41
|
}
|
|
@@ -17,7 +17,7 @@ import type { ThemeConfig, ElementSize } from '../types';
|
|
|
17
17
|
[attr.api-url]="apiUrl"
|
|
18
18
|
[attr.auth-key]="authKey"
|
|
19
19
|
[attr.auth-token]="authToken"
|
|
20
|
-
(options-changed)="
|
|
20
|
+
(luzmo-options-changed)="luzmoOptionsChanged.emit($event)">
|
|
21
21
|
<ng-content></ng-content>
|
|
22
22
|
</luzmo-edit-item>`
|
|
23
23
|
})
|
|
@@ -33,5 +33,5 @@ export class EditItemComponent {
|
|
|
33
33
|
@Input() apiUrl?: string;
|
|
34
34
|
@Input() authKey?: string;
|
|
35
35
|
@Input() authToken?: string;
|
|
36
|
-
@Output()
|
|
36
|
+
@Output() luzmoOptionsChanged = new EventEmitter<CustomEvent>();
|
|
37
37
|
}
|
|
@@ -14,8 +14,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
14
14
|
[attr.disabled]="disabled"
|
|
15
15
|
[attr.noAlphaChannel]="noAlphaChannel"
|
|
16
16
|
[attr.placement]="placement"
|
|
17
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
18
|
-
(option-changed)="optionChanged.emit($event)">
|
|
17
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
19
18
|
<ng-content></ng-content>
|
|
20
19
|
</luzmo-edit-option-color-picker>`
|
|
21
20
|
})
|
|
@@ -29,5 +28,4 @@ export class EditOptionColorPickerComponent {
|
|
|
29
28
|
@Input() noAlphaChannel?: any;
|
|
30
29
|
@Input() placement?: any;
|
|
31
30
|
@Output() luzmoOptionChanged = new EventEmitter<CustomEvent>();
|
|
32
|
-
@Output() optionChanged = new EventEmitter<CustomEvent>();
|
|
33
31
|
}
|
|
@@ -20,8 +20,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from
|
|
|
20
20
|
[attr.debounce]="debounce"
|
|
21
21
|
[attr.parseValue]="parseValue"
|
|
22
22
|
[attr.toValue]="toValue"
|
|
23
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
24
|
-
(option-changed)="optionChanged.emit($event)">
|
|
23
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
25
24
|
<ng-content></ng-content>
|
|
26
25
|
</luzmo-edit-option-color-range>`
|
|
27
26
|
})
|
|
@@ -41,5 +40,4 @@ export class EditOptionColorRangeComponent {
|
|
|
41
40
|
@Input() parseValue?: any;
|
|
42
41
|
@Input() toValue?: any;
|
|
43
42
|
@Output() luzmoOptionChanged = new EventEmitter<CustomEvent>();
|
|
44
|
-
@Output() optionChanged = new EventEmitter<CustomEvent>();
|
|
45
43
|
}
|
|
@@ -23,9 +23,7 @@ import type { Placement, InputActionGroup, GridItemData, GridItemRenderer } from
|
|
|
23
23
|
[attr.renderers]="renderers"
|
|
24
24
|
(luzmo-grid-changed)="luzmoGridChanged.emit($event)"
|
|
25
25
|
(luzmo-grid-ready)="luzmoGridReady.emit($event)"
|
|
26
|
-
(grid-item-action)="
|
|
27
|
-
(grid-changed)="gridChanged.emit($event)"
|
|
28
|
-
(grid-ready)="gridReady.emit($event)">
|
|
26
|
+
(luzmo-grid-item-action)="luzmoGridItemAction.emit($event)">
|
|
29
27
|
<ng-content></ng-content>
|
|
30
28
|
</luzmo-grid>`
|
|
31
29
|
})
|
|
@@ -47,7 +45,5 @@ export class GridComponent {
|
|
|
47
45
|
@Input() renderers?: Record<string, GridItemRenderer>;
|
|
48
46
|
@Output() luzmoGridChanged = new EventEmitter<CustomEvent>();
|
|
49
47
|
@Output() luzmoGridReady = new EventEmitter<CustomEvent>();
|
|
50
|
-
@Output()
|
|
51
|
-
@Output() gridChanged = new EventEmitter<CustomEvent>();
|
|
52
|
-
@Output() gridReady = new EventEmitter<CustomEvent>();
|
|
48
|
+
@Output() luzmoGridItemAction = new EventEmitter<CustomEvent>();
|
|
53
49
|
}
|
|
@@ -16,7 +16,6 @@ export declare class EditFiltersComponent {
|
|
|
16
16
|
autofocus?: any;
|
|
17
17
|
tabIndex?: any;
|
|
18
18
|
luzmoFiltersChanged: EventEmitter<CustomEvent<any>>;
|
|
19
|
-
filtersChanged: EventEmitter<CustomEvent<any>>;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditFiltersComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditFiltersComponent, "luzmo-edit-filters", never, { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged";
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditFiltersComponent, "luzmo-edit-filters", never, { "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "timeZone": { "alias": "timeZone"; "required": false; }; "datasetIds": { "alias": "datasetIds"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "luzmoFiltersChanged": "luzmoFiltersChanged"; }, never, ["*"], true, never>;
|
|
22
21
|
}
|
|
@@ -15,9 +15,8 @@ export class EditFiltersComponent {
|
|
|
15
15
|
autofocus;
|
|
16
16
|
tabIndex;
|
|
17
17
|
luzmoFiltersChanged = new EventEmitter();
|
|
18
|
-
filtersChanged = new EventEmitter();
|
|
19
18
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditFiltersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditFiltersComponent, isStandalone: true, selector: "luzmo-edit-filters", inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", language: "language", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", size: "size", disabled: "disabled", autofocus: "autofocus", tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged"
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditFiltersComponent, isStandalone: true, selector: "luzmo-edit-filters", inputs: { apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken", cacheTime: "cacheTime", language: "language", contentLanguage: "contentLanguage", timeZone: "timeZone", datasetIds: "datasetIds", filters: "filters", size: "size", disabled: "disabled", autofocus: "autofocus", tabIndex: "tabIndex" }, outputs: { luzmoFiltersChanged: "luzmoFiltersChanged" }, ngImport: i0, template: `<luzmo-edit-filters
|
|
21
20
|
[attr.api-url]="apiUrl"
|
|
22
21
|
[attr.auth-key]="authKey"
|
|
23
22
|
[attr.auth-token]="authToken"
|
|
@@ -31,10 +30,9 @@ export class EditFiltersComponent {
|
|
|
31
30
|
[attr.disabled]="disabled"
|
|
32
31
|
[attr.autofocus]="autofocus"
|
|
33
32
|
[attr.tabIndex]="tabIndex"
|
|
34
|
-
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)"
|
|
35
|
-
(filters-changed)="filtersChanged.emit($event)">
|
|
33
|
+
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)">
|
|
36
34
|
<ng-content></ng-content>
|
|
37
|
-
</luzmo-edit-filters>`, isInline: true, dependencies: [{ kind: "component", type: EditFiltersComponent, selector: "luzmo-edit-filters", inputs: ["apiUrl", "authKey", "authToken", "cacheTime", "language", "contentLanguage", "timeZone", "datasetIds", "filters", "size", "disabled", "autofocus", "tabIndex"], outputs: ["luzmoFiltersChanged"
|
|
35
|
+
</luzmo-edit-filters>`, isInline: true, dependencies: [{ kind: "component", type: EditFiltersComponent, selector: "luzmo-edit-filters", inputs: ["apiUrl", "authKey", "authToken", "cacheTime", "language", "contentLanguage", "timeZone", "datasetIds", "filters", "size", "disabled", "autofocus", "tabIndex"], outputs: ["luzmoFiltersChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38
36
|
}
|
|
39
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditFiltersComponent, decorators: [{
|
|
40
38
|
type: Component,
|
|
@@ -56,8 +54,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
56
54
|
[attr.disabled]="disabled"
|
|
57
55
|
[attr.autofocus]="autofocus"
|
|
58
56
|
[attr.tabIndex]="tabIndex"
|
|
59
|
-
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)"
|
|
60
|
-
(filters-changed)="filtersChanged.emit($event)">
|
|
57
|
+
(luzmo-filters-changed)="luzmoFiltersChanged.emit($event)">
|
|
61
58
|
<ng-content></ng-content>
|
|
62
59
|
</luzmo-edit-filters>`
|
|
63
60
|
}]
|
|
@@ -89,6 +86,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
89
86
|
type: Input
|
|
90
87
|
}], luzmoFiltersChanged: [{
|
|
91
88
|
type: Output
|
|
92
|
-
}], filtersChanged: [{
|
|
93
|
-
type: Output
|
|
94
89
|
}] } });
|
|
@@ -13,7 +13,7 @@ export declare class EditItemComponent {
|
|
|
13
13
|
apiUrl?: string;
|
|
14
14
|
authKey?: string;
|
|
15
15
|
authToken?: string;
|
|
16
|
-
|
|
16
|
+
luzmoOptionsChanged: EventEmitter<CustomEvent<any>>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditItemComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditItemComponent, "luzmo-edit-item", never, { "language": { "alias": "language"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "options": { "alias": "options"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "customOptionsConfiguration": { "alias": "customOptionsConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; }, { "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditItemComponent, "luzmo-edit-item", never, { "language": { "alias": "language"; "required": false; }; "itemType": { "alias": "itemType"; "required": false; }; "options": { "alias": "options"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "customOptionsConfiguration": { "alias": "customOptionsConfiguration"; "required": false; }; "customTranslations": { "alias": "customTranslations"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; }, { "luzmoOptionsChanged": "luzmoOptionsChanged"; }, never, ["*"], true, never>;
|
|
19
19
|
}
|
|
@@ -12,9 +12,9 @@ export class EditItemComponent {
|
|
|
12
12
|
apiUrl;
|
|
13
13
|
authKey;
|
|
14
14
|
authToken;
|
|
15
|
-
|
|
15
|
+
luzmoOptionsChanged = new EventEmitter();
|
|
16
16
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditItemComponent, isStandalone: true, selector: "luzmo-edit-item", inputs: { language: "language", itemType: "itemType", options: "options", slots: "slots", customOptionsConfiguration: "customOptionsConfiguration", customTranslations: "customTranslations", theme: "theme", size: "size", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken" }, outputs: {
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditItemComponent, isStandalone: true, selector: "luzmo-edit-item", inputs: { language: "language", itemType: "itemType", options: "options", slots: "slots", customOptionsConfiguration: "customOptionsConfiguration", customTranslations: "customTranslations", theme: "theme", size: "size", apiUrl: "apiUrl", authKey: "authKey", authToken: "authToken" }, outputs: { luzmoOptionsChanged: "luzmoOptionsChanged" }, ngImport: i0, template: `<luzmo-edit-item
|
|
18
18
|
[attr.language]="language"
|
|
19
19
|
[attr.item-type]="itemType"
|
|
20
20
|
[attr.options]="options"
|
|
@@ -26,9 +26,9 @@ export class EditItemComponent {
|
|
|
26
26
|
[attr.api-url]="apiUrl"
|
|
27
27
|
[attr.auth-key]="authKey"
|
|
28
28
|
[attr.auth-token]="authToken"
|
|
29
|
-
(options-changed)="
|
|
29
|
+
(luzmo-options-changed)="luzmoOptionsChanged.emit($event)">
|
|
30
30
|
<ng-content></ng-content>
|
|
31
|
-
</luzmo-edit-item>`, isInline: true, dependencies: [{ kind: "component", type: EditItemComponent, selector: "luzmo-edit-item", inputs: ["language", "itemType", "options", "slots", "customOptionsConfiguration", "customTranslations", "theme", "size", "apiUrl", "authKey", "authToken"], outputs: ["
|
|
31
|
+
</luzmo-edit-item>`, isInline: true, dependencies: [{ kind: "component", type: EditItemComponent, selector: "luzmo-edit-item", inputs: ["language", "itemType", "options", "slots", "customOptionsConfiguration", "customTranslations", "theme", "size", "apiUrl", "authKey", "authToken"], outputs: ["luzmoOptionsChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
32
32
|
}
|
|
33
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditItemComponent, decorators: [{
|
|
34
34
|
type: Component,
|
|
@@ -48,7 +48,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
48
48
|
[attr.api-url]="apiUrl"
|
|
49
49
|
[attr.auth-key]="authKey"
|
|
50
50
|
[attr.auth-token]="authToken"
|
|
51
|
-
(options-changed)="
|
|
51
|
+
(luzmo-options-changed)="luzmoOptionsChanged.emit($event)">
|
|
52
52
|
<ng-content></ng-content>
|
|
53
53
|
</luzmo-edit-item>`
|
|
54
54
|
}]
|
|
@@ -74,6 +74,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
74
74
|
type: Input
|
|
75
75
|
}], authToken: [{
|
|
76
76
|
type: Input
|
|
77
|
-
}],
|
|
77
|
+
}], luzmoOptionsChanged: [{
|
|
78
78
|
type: Output
|
|
79
79
|
}] } });
|
|
@@ -10,7 +10,6 @@ export declare class EditOptionColorPickerComponent {
|
|
|
10
10
|
noAlphaChannel?: any;
|
|
11
11
|
placement?: any;
|
|
12
12
|
luzmoOptionChanged: EventEmitter<CustomEvent<any>>;
|
|
13
|
-
optionChanged: EventEmitter<CustomEvent<any>>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditOptionColorPickerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditOptionColorPickerComponent, "luzmo-edit-option-color-picker", never, { "swatches": { "alias": "swatches"; "required": false; }; "rounding": { "alias": "rounding"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged";
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditOptionColorPickerComponent, "luzmo-edit-option-color-picker", never, { "swatches": { "alias": "swatches"; "required": false; }; "rounding": { "alias": "rounding"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged"; }, never, ["*"], true, never>;
|
|
16
15
|
}
|
|
@@ -10,9 +10,8 @@ export class EditOptionColorPickerComponent {
|
|
|
10
10
|
noAlphaChannel;
|
|
11
11
|
placement;
|
|
12
12
|
luzmoOptionChanged = new EventEmitter();
|
|
13
|
-
optionChanged = new EventEmitter();
|
|
14
13
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditOptionColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditOptionColorPickerComponent, isStandalone: true, selector: "luzmo-edit-option-color-picker", inputs: { swatches: "swatches", rounding: "rounding", shape: "shape", debounce: "debounce", value: "value", disabled: "disabled", noAlphaChannel: "noAlphaChannel", placement: "placement" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged"
|
|
14
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditOptionColorPickerComponent, isStandalone: true, selector: "luzmo-edit-option-color-picker", inputs: { swatches: "swatches", rounding: "rounding", shape: "shape", debounce: "debounce", value: "value", disabled: "disabled", noAlphaChannel: "noAlphaChannel", placement: "placement" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, ngImport: i0, template: `<luzmo-edit-option-color-picker
|
|
16
15
|
[attr.swatches]="swatches"
|
|
17
16
|
[attr.rounding]="rounding"
|
|
18
17
|
[attr.shape]="shape"
|
|
@@ -21,10 +20,9 @@ export class EditOptionColorPickerComponent {
|
|
|
21
20
|
[attr.disabled]="disabled"
|
|
22
21
|
[attr.noAlphaChannel]="noAlphaChannel"
|
|
23
22
|
[attr.placement]="placement"
|
|
24
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
25
|
-
(option-changed)="optionChanged.emit($event)">
|
|
23
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
26
24
|
<ng-content></ng-content>
|
|
27
|
-
</luzmo-edit-option-color-picker>`, isInline: true, dependencies: [{ kind: "component", type: EditOptionColorPickerComponent, selector: "luzmo-edit-option-color-picker", inputs: ["swatches", "rounding", "shape", "debounce", "value", "disabled", "noAlphaChannel", "placement"], outputs: ["luzmoOptionChanged"
|
|
25
|
+
</luzmo-edit-option-color-picker>`, isInline: true, dependencies: [{ kind: "component", type: EditOptionColorPickerComponent, selector: "luzmo-edit-option-color-picker", inputs: ["swatches", "rounding", "shape", "debounce", "value", "disabled", "noAlphaChannel", "placement"], outputs: ["luzmoOptionChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28
26
|
}
|
|
29
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditOptionColorPickerComponent, decorators: [{
|
|
30
28
|
type: Component,
|
|
@@ -41,8 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
41
39
|
[attr.disabled]="disabled"
|
|
42
40
|
[attr.noAlphaChannel]="noAlphaChannel"
|
|
43
41
|
[attr.placement]="placement"
|
|
44
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
45
|
-
(option-changed)="optionChanged.emit($event)">
|
|
42
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
46
43
|
<ng-content></ng-content>
|
|
47
44
|
</luzmo-edit-option-color-picker>`
|
|
48
45
|
}]
|
|
@@ -64,6 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
64
61
|
type: Input
|
|
65
62
|
}], luzmoOptionChanged: [{
|
|
66
63
|
type: Output
|
|
67
|
-
}], optionChanged: [{
|
|
68
|
-
type: Output
|
|
69
64
|
}] } });
|
|
@@ -16,7 +16,6 @@ export declare class EditOptionColorRangeComponent {
|
|
|
16
16
|
parseValue?: any;
|
|
17
17
|
toValue?: any;
|
|
18
18
|
luzmoOptionChanged: EventEmitter<CustomEvent<any>>;
|
|
19
|
-
optionChanged: EventEmitter<CustomEvent<any>>;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditOptionColorRangeComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditOptionColorRangeComponent, "luzmo-edit-option-color-range", never, { "value": { "alias": "value"; "required": false; }; "default": { "alias": "default"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "editRangeSize": { "alias": "editRangeSize"; "required": false; }; "noValues": { "alias": "noValues"; "required": false; }; "minimumRangeSize": { "alias": "minimumRangeSize"; "required": false; }; "negativeInfinityValue": { "alias": "negativeInfinityValue"; "required": false; }; "readOnlyColorPicker": { "alias": "readOnlyColorPicker"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "parseValue": { "alias": "parseValue"; "required": false; }; "toValue": { "alias": "toValue"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged";
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditOptionColorRangeComponent, "luzmo-edit-option-color-range", never, { "value": { "alias": "value"; "required": false; }; "default": { "alias": "default"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "noAlphaChannel": { "alias": "noAlphaChannel"; "required": false; }; "editRangeSize": { "alias": "editRangeSize"; "required": false; }; "noValues": { "alias": "noValues"; "required": false; }; "minimumRangeSize": { "alias": "minimumRangeSize"; "required": false; }; "negativeInfinityValue": { "alias": "negativeInfinityValue"; "required": false; }; "readOnlyColorPicker": { "alias": "readOnlyColorPicker"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; "parseValue": { "alias": "parseValue"; "required": false; }; "toValue": { "alias": "toValue"; "required": false; }; }, { "luzmoOptionChanged": "luzmoOptionChanged"; }, never, ["*"], true, never>;
|
|
22
21
|
}
|
|
@@ -16,9 +16,8 @@ export class EditOptionColorRangeComponent {
|
|
|
16
16
|
parseValue;
|
|
17
17
|
toValue;
|
|
18
18
|
luzmoOptionChanged = new EventEmitter();
|
|
19
|
-
optionChanged = new EventEmitter();
|
|
20
19
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditOptionColorRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditOptionColorRangeComponent, isStandalone: true, selector: "luzmo-edit-option-color-range", inputs: { value: "value", default: "default", disabled: "disabled", percentage: "percentage", noAlphaChannel: "noAlphaChannel", editRangeSize: "editRangeSize", noValues: "noValues", minimumRangeSize: "minimumRangeSize", negativeInfinityValue: "negativeInfinityValue", readOnlyColorPicker: "readOnlyColorPicker", reverse: "reverse", debounce: "debounce", parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged"
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.3", type: EditOptionColorRangeComponent, isStandalone: true, selector: "luzmo-edit-option-color-range", inputs: { value: "value", default: "default", disabled: "disabled", percentage: "percentage", noAlphaChannel: "noAlphaChannel", editRangeSize: "editRangeSize", noValues: "noValues", minimumRangeSize: "minimumRangeSize", negativeInfinityValue: "negativeInfinityValue", readOnlyColorPicker: "readOnlyColorPicker", reverse: "reverse", debounce: "debounce", parseValue: "parseValue", toValue: "toValue" }, outputs: { luzmoOptionChanged: "luzmoOptionChanged" }, ngImport: i0, template: `<luzmo-edit-option-color-range
|
|
22
21
|
[attr.value]="value"
|
|
23
22
|
[attr.default]="default"
|
|
24
23
|
[attr.disabled]="disabled"
|
|
@@ -33,10 +32,9 @@ export class EditOptionColorRangeComponent {
|
|
|
33
32
|
[attr.debounce]="debounce"
|
|
34
33
|
[attr.parseValue]="parseValue"
|
|
35
34
|
[attr.toValue]="toValue"
|
|
36
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
37
|
-
(option-changed)="optionChanged.emit($event)">
|
|
35
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
38
36
|
<ng-content></ng-content>
|
|
39
|
-
</luzmo-edit-option-color-range>`, isInline: true, dependencies: [{ kind: "component", type: EditOptionColorRangeComponent, selector: "luzmo-edit-option-color-range", inputs: ["value", "default", "disabled", "percentage", "noAlphaChannel", "editRangeSize", "noValues", "minimumRangeSize", "negativeInfinityValue", "readOnlyColorPicker", "reverse", "debounce", "parseValue", "toValue"], outputs: ["luzmoOptionChanged"
|
|
37
|
+
</luzmo-edit-option-color-range>`, isInline: true, dependencies: [{ kind: "component", type: EditOptionColorRangeComponent, selector: "luzmo-edit-option-color-range", inputs: ["value", "default", "disabled", "percentage", "noAlphaChannel", "editRangeSize", "noValues", "minimumRangeSize", "negativeInfinityValue", "readOnlyColorPicker", "reverse", "debounce", "parseValue", "toValue"], outputs: ["luzmoOptionChanged"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
38
|
}
|
|
41
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImport: i0, type: EditOptionColorRangeComponent, decorators: [{
|
|
42
40
|
type: Component,
|
|
@@ -59,8 +57,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
59
57
|
[attr.debounce]="debounce"
|
|
60
58
|
[attr.parseValue]="parseValue"
|
|
61
59
|
[attr.toValue]="toValue"
|
|
62
|
-
(luzmo-option-changed)="luzmoOptionChanged.emit($event)"
|
|
63
|
-
(option-changed)="optionChanged.emit($event)">
|
|
60
|
+
(luzmo-option-changed)="luzmoOptionChanged.emit($event)">
|
|
64
61
|
<ng-content></ng-content>
|
|
65
62
|
</luzmo-edit-option-color-range>`
|
|
66
63
|
}]
|
|
@@ -94,6 +91,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.3", ngImpor
|
|
|
94
91
|
type: Input
|
|
95
92
|
}], luzmoOptionChanged: [{
|
|
96
93
|
type: Output
|
|
97
|
-
}], optionChanged: [{
|
|
98
|
-
type: Output
|
|
99
94
|
}] } });
|
|
@@ -19,9 +19,7 @@ export declare class GridComponent {
|
|
|
19
19
|
renderers?: Record<string, GridItemRenderer>;
|
|
20
20
|
luzmoGridChanged: EventEmitter<CustomEvent<any>>;
|
|
21
21
|
luzmoGridReady: EventEmitter<CustomEvent<any>>;
|
|
22
|
-
|
|
23
|
-
gridChanged: EventEmitter<CustomEvent<any>>;
|
|
24
|
-
gridReady: EventEmitter<CustomEvent<any>>;
|
|
22
|
+
luzmoGridItemAction: EventEmitter<CustomEvent<any>>;
|
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "luzmo-grid", never, { "appServer": { "alias": "appServer"; "required": false; }; "apiHost": { "alias": "apiHost"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "placementItemActionsMenu": { "alias": "placementItemActionsMenu"; "required": false; }; "defaultItemActionsMenu": { "alias": "defaultItemActionsMenu"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "items": { "alias": "items"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; }, { "luzmoGridChanged": "luzmoGridChanged"; "luzmoGridReady": "luzmoGridReady"; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "luzmo-grid", never, { "appServer": { "alias": "appServer"; "required": false; }; "apiHost": { "alias": "apiHost"; "required": false; }; "authKey": { "alias": "authKey"; "required": false; }; "authToken": { "alias": "authToken"; "required": false; }; "cacheTime": { "alias": "cacheTime"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentLanguage": { "alias": "contentLanguage"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "placementItemActionsMenu": { "alias": "placementItemActionsMenu"; "required": false; }; "defaultItemActionsMenu": { "alias": "defaultItemActionsMenu"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "items": { "alias": "items"; "required": false; }; "renderers": { "alias": "renderers"; "required": false; }; }, { "luzmoGridChanged": "luzmoGridChanged"; "luzmoGridReady": "luzmoGridReady"; "luzmoGridItemAction": "luzmoGridItemAction"; }, never, ["*"], true, never>;
|
|
27
25
|
}
|