@limetech/limepkg-cpq-order 2.8.0-dev.1
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 +78 -0
- package/dist/index.cjs.js +1 -0
- package/dist/types/classes/base.d.ts +27 -0
- package/dist/types/classes/deal.d.ts +7 -0
- package/dist/types/classes/index.d.ts +3 -0
- package/dist/types/classes/item.d.ts +32 -0
- package/dist/types/classes/number.d.ts +3 -0
- package/dist/types/classes/order.d.ts +10 -0
- package/dist/types/components/article-selector/article-group-picker.d.ts +25 -0
- package/dist/types/components/article-selector/article-picker.d.ts +25 -0
- package/dist/types/components/article-selector/article-selector.d.ts +35 -0
- package/dist/types/components/article-selector-layout/article-selector-layout.d.ts +3 -0
- package/dist/types/components/cpq-tab/cpq-tab.d.ts +27 -0
- package/dist/types/components/deal-view/deal-view.d.ts +30 -0
- package/dist/types/components/dynamic-properties/dynamic-properties.d.ts +23 -0
- package/dist/types/components/edit-item-dialog/edit-item-dialog.d.ts +52 -0
- package/dist/types/components/erp-status/erp-status.d.ts +20 -0
- package/dist/types/components/erp-status/flow-items.d.ts +9 -0
- package/dist/types/components/item-form/item-form.d.ts +130 -0
- package/dist/types/components/item-summary/item-summary.d.ts +20 -0
- package/dist/types/components/item-table/item-table.d.ts +23 -0
- package/dist/types/components/loader/coc-loader.d.ts +19 -0
- package/dist/types/components/new-order-dialog/new-order-dialog.d.ts +26 -0
- package/dist/types/components/order-card/order-card.d.ts +22 -0
- package/dist/types/components/order-view/order-view.d.ts +30 -0
- package/dist/types/components/template-selector/template-selector.d.ts +25 -0
- package/dist/types/components.d.ts +723 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/interface.d.ts +6 -0
- package/dist/types/interfaces/article-selector.d.ts +23 -0
- package/dist/types/interfaces/config.d.ts +106 -0
- package/dist/types/interfaces/index.d.ts +3 -0
- package/dist/types/interfaces/objects.d.ts +73 -0
- package/dist/types/services/article.d.ts +7 -0
- package/dist/types/services/deal.d.ts +5 -0
- package/dist/types/services/documenttemplate.service.interface.d.ts +142 -0
- package/dist/types/services/index.d.ts +8 -0
- package/dist/types/services/item.d.ts +6 -0
- package/dist/types/services/limetype.d.ts +4 -0
- package/dist/types/services/notification.d.ts +3 -0
- package/dist/types/services/order.d.ts +6 -0
- package/dist/types/services/servercommand.service.interface.d.ts +36 -0
- package/dist/types/services/template.d.ts +4 -0
- package/dist/types/services/translate.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/testing/config.d.ts +2 -0
- package/dist/types/testing/index.d.ts +4 -0
- package/dist/types/testing/limetype.d.ts +3 -0
- package/dist/types/testing/schema.d.ts +33 -0
- package/dist/types/testing/views.d.ts +140 -0
- package/package.json +61 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { LimeProperty, LimeType, LimeWebComponentContext, LimeWebComponentPlatform } from "@limetech/lime-web-components";
|
|
9
|
+
import { ErpStatus, Iarticle, IarticleGroup, Iconfig, IconfigItemMapping, Iitem } from "./interfaces";
|
|
10
|
+
import { Deal, Item, Order } from "./classes";
|
|
11
|
+
import { StatusLabelMapping } from "./components/erp-status/flow-items";
|
|
12
|
+
import { DocumentTemplate } from "src/services/documenttemplate.service.interface";
|
|
13
|
+
export namespace Components {
|
|
14
|
+
interface CocArticleGroupPicker {
|
|
15
|
+
"config"?: Iconfig;
|
|
16
|
+
/**
|
|
17
|
+
* The context this component belongs to
|
|
18
|
+
* @inherit
|
|
19
|
+
*/
|
|
20
|
+
"context": LimeWebComponentContext;
|
|
21
|
+
"label": string;
|
|
22
|
+
/**
|
|
23
|
+
* Reference to the platform
|
|
24
|
+
* @inherit
|
|
25
|
+
*/
|
|
26
|
+
"platform": LimeWebComponentPlatform;
|
|
27
|
+
"selectedArticleGroup": IarticleGroup | null;
|
|
28
|
+
}
|
|
29
|
+
interface CocArticlePicker {
|
|
30
|
+
"config"?: Iconfig;
|
|
31
|
+
/**
|
|
32
|
+
* The context this component belongs to
|
|
33
|
+
* @inherit
|
|
34
|
+
*/
|
|
35
|
+
"context": LimeWebComponentContext;
|
|
36
|
+
"label": string;
|
|
37
|
+
/**
|
|
38
|
+
* Reference to the platform
|
|
39
|
+
* @inherit
|
|
40
|
+
*/
|
|
41
|
+
"platform": LimeWebComponentPlatform;
|
|
42
|
+
"selectedArticle": Iarticle | null;
|
|
43
|
+
"selectedArticleGroup": IarticleGroup | null;
|
|
44
|
+
}
|
|
45
|
+
interface CocArticleSelector {
|
|
46
|
+
/**
|
|
47
|
+
* The article group relation for the item
|
|
48
|
+
*/
|
|
49
|
+
"articleGroupProperty"?: LimeProperty;
|
|
50
|
+
/**
|
|
51
|
+
* The article relation for the item
|
|
52
|
+
*/
|
|
53
|
+
"articleProperty"?: LimeProperty;
|
|
54
|
+
/**
|
|
55
|
+
* The context this component belongs to
|
|
56
|
+
* @inherit
|
|
57
|
+
*/
|
|
58
|
+
"context": LimeWebComponentContext;
|
|
59
|
+
/**
|
|
60
|
+
* The edited deal article or order row item
|
|
61
|
+
*/
|
|
62
|
+
"item": Iitem;
|
|
63
|
+
/**
|
|
64
|
+
* Reference to the platform
|
|
65
|
+
* @inherit
|
|
66
|
+
*/
|
|
67
|
+
"platform": LimeWebComponentPlatform;
|
|
68
|
+
}
|
|
69
|
+
interface CocArticleSelectorLayout {
|
|
70
|
+
}
|
|
71
|
+
interface CocCpqTab {
|
|
72
|
+
/**
|
|
73
|
+
* The context this component belongs to
|
|
74
|
+
* @inherit
|
|
75
|
+
*/
|
|
76
|
+
"context": LimeWebComponentContext;
|
|
77
|
+
/**
|
|
78
|
+
* Reference to the platform
|
|
79
|
+
* @inherit
|
|
80
|
+
*/
|
|
81
|
+
"platform": LimeWebComponentPlatform;
|
|
82
|
+
}
|
|
83
|
+
interface CocDealView {
|
|
84
|
+
"config": Iconfig;
|
|
85
|
+
/**
|
|
86
|
+
* The context this component belongs to
|
|
87
|
+
* @inherit
|
|
88
|
+
*/
|
|
89
|
+
"context": LimeWebComponentContext;
|
|
90
|
+
"deal": Deal;
|
|
91
|
+
"disabled": boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Reference to the platform
|
|
94
|
+
* @inherit
|
|
95
|
+
*/
|
|
96
|
+
"platform": LimeWebComponentPlatform;
|
|
97
|
+
}
|
|
98
|
+
interface CocDynamicProperties {
|
|
99
|
+
"columns"?: number;
|
|
100
|
+
/**
|
|
101
|
+
* The context this component belongs to
|
|
102
|
+
*/
|
|
103
|
+
"context": LimeWebComponentContext;
|
|
104
|
+
"limetype": string;
|
|
105
|
+
/**
|
|
106
|
+
* Reference to the platform
|
|
107
|
+
*/
|
|
108
|
+
"platform": LimeWebComponentPlatform;
|
|
109
|
+
"properties": Record<string, any>;
|
|
110
|
+
}
|
|
111
|
+
interface CocEditItemDialog {
|
|
112
|
+
"config": Iconfig;
|
|
113
|
+
/**
|
|
114
|
+
* The context this component belongs to
|
|
115
|
+
* @inherit
|
|
116
|
+
*/
|
|
117
|
+
"context": LimeWebComponentContext;
|
|
118
|
+
"currency": string;
|
|
119
|
+
"editMode": string;
|
|
120
|
+
"item": Item;
|
|
121
|
+
"itemMapping": IconfigItemMapping;
|
|
122
|
+
"itemParent": Deal | Order;
|
|
123
|
+
"open": boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Reference to the platform
|
|
126
|
+
* @inherit
|
|
127
|
+
*/
|
|
128
|
+
"platform": LimeWebComponentPlatform;
|
|
129
|
+
}
|
|
130
|
+
interface CocErpStatus {
|
|
131
|
+
/**
|
|
132
|
+
* The context this component belongs to
|
|
133
|
+
* @inherit
|
|
134
|
+
*/
|
|
135
|
+
"context": LimeWebComponentContext;
|
|
136
|
+
/**
|
|
137
|
+
* Reference to the platform
|
|
138
|
+
* @inherit
|
|
139
|
+
*/
|
|
140
|
+
"platform": LimeWebComponentPlatform;
|
|
141
|
+
"status": ErpStatus;
|
|
142
|
+
"statusLabels": StatusLabelMapping;
|
|
143
|
+
}
|
|
144
|
+
interface CocItemForm {
|
|
145
|
+
/**
|
|
146
|
+
* The context this component belongs to
|
|
147
|
+
* @inherit
|
|
148
|
+
*/
|
|
149
|
+
"context": LimeWebComponentContext;
|
|
150
|
+
"currency": String;
|
|
151
|
+
"itemData": Item;
|
|
152
|
+
"itemMapping": IconfigItemMapping;
|
|
153
|
+
"limetype": LimeType;
|
|
154
|
+
/**
|
|
155
|
+
* Reference to the platform
|
|
156
|
+
* @inherit
|
|
157
|
+
*/
|
|
158
|
+
"platform": LimeWebComponentPlatform;
|
|
159
|
+
}
|
|
160
|
+
interface CocItemSummary {
|
|
161
|
+
/**
|
|
162
|
+
* The context this component belongs to
|
|
163
|
+
* @inherit
|
|
164
|
+
*/
|
|
165
|
+
"context": LimeWebComponentContext;
|
|
166
|
+
"currency": string;
|
|
167
|
+
"discount": number;
|
|
168
|
+
/**
|
|
169
|
+
* Reference to the platform
|
|
170
|
+
* @inherit
|
|
171
|
+
*/
|
|
172
|
+
"platform": LimeWebComponentPlatform;
|
|
173
|
+
"subtotal": number;
|
|
174
|
+
"total": number;
|
|
175
|
+
"totalInclVat": number;
|
|
176
|
+
"vat": number;
|
|
177
|
+
}
|
|
178
|
+
interface CocItemTable {
|
|
179
|
+
"activeRow": Item;
|
|
180
|
+
/**
|
|
181
|
+
* The context this component belongs to
|
|
182
|
+
* @inherit
|
|
183
|
+
*/
|
|
184
|
+
"context": LimeWebComponentContext;
|
|
185
|
+
"itemMapping": IconfigItemMapping;
|
|
186
|
+
"items": Item[];
|
|
187
|
+
/**
|
|
188
|
+
* Reference to the platform
|
|
189
|
+
* @inherit
|
|
190
|
+
*/
|
|
191
|
+
"platform": LimeWebComponentPlatform;
|
|
192
|
+
"tableIsReadonly": boolean;
|
|
193
|
+
}
|
|
194
|
+
interface CocNewOrderDialog {
|
|
195
|
+
/**
|
|
196
|
+
* The context this component belongs to
|
|
197
|
+
*/
|
|
198
|
+
"context": LimeWebComponentContext;
|
|
199
|
+
/**
|
|
200
|
+
* Reference to the platform
|
|
201
|
+
*/
|
|
202
|
+
"platform": LimeWebComponentPlatform;
|
|
203
|
+
/**
|
|
204
|
+
* Default data to populate the order with
|
|
205
|
+
*/
|
|
206
|
+
"properties": Record<string, any>;
|
|
207
|
+
}
|
|
208
|
+
interface CocOrderCard {
|
|
209
|
+
/**
|
|
210
|
+
* The context this component belongs to
|
|
211
|
+
* @inherit
|
|
212
|
+
*/
|
|
213
|
+
"context": LimeWebComponentContext;
|
|
214
|
+
/**
|
|
215
|
+
* Reference to the platform
|
|
216
|
+
* @inherit
|
|
217
|
+
*/
|
|
218
|
+
"platform": LimeWebComponentPlatform;
|
|
219
|
+
}
|
|
220
|
+
interface CocOrderView {
|
|
221
|
+
"config": Iconfig;
|
|
222
|
+
/**
|
|
223
|
+
* The context this component belongs to
|
|
224
|
+
* @inherit
|
|
225
|
+
*/
|
|
226
|
+
"context": LimeWebComponentContext;
|
|
227
|
+
"disabled": boolean;
|
|
228
|
+
"order": Order;
|
|
229
|
+
/**
|
|
230
|
+
* Reference to the platform
|
|
231
|
+
* @inherit
|
|
232
|
+
*/
|
|
233
|
+
"platform": LimeWebComponentPlatform;
|
|
234
|
+
}
|
|
235
|
+
interface CocTemplateSelector {
|
|
236
|
+
/**
|
|
237
|
+
* The context this component belongs to
|
|
238
|
+
* @inherit
|
|
239
|
+
*/
|
|
240
|
+
"context": LimeWebComponentContext;
|
|
241
|
+
"limetype": string;
|
|
242
|
+
/**
|
|
243
|
+
* Reference to the platform
|
|
244
|
+
* @inherit
|
|
245
|
+
*/
|
|
246
|
+
"platform": LimeWebComponentPlatform;
|
|
247
|
+
}
|
|
248
|
+
interface LwcLimepkgCpqOrderLoader {
|
|
249
|
+
/**
|
|
250
|
+
* The context this component belongs to
|
|
251
|
+
*/
|
|
252
|
+
"context": LimeWebComponentContext;
|
|
253
|
+
/**
|
|
254
|
+
* Reference to the platform
|
|
255
|
+
*/
|
|
256
|
+
"platform": LimeWebComponentPlatform;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
export interface CocArticleGroupPickerCustomEvent<T> extends CustomEvent<T> {
|
|
260
|
+
detail: T;
|
|
261
|
+
target: HTMLCocArticleGroupPickerElement;
|
|
262
|
+
}
|
|
263
|
+
export interface CocArticlePickerCustomEvent<T> extends CustomEvent<T> {
|
|
264
|
+
detail: T;
|
|
265
|
+
target: HTMLCocArticlePickerElement;
|
|
266
|
+
}
|
|
267
|
+
export interface CocArticleSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
268
|
+
detail: T;
|
|
269
|
+
target: HTMLCocArticleSelectorElement;
|
|
270
|
+
}
|
|
271
|
+
export interface CocDealViewCustomEvent<T> extends CustomEvent<T> {
|
|
272
|
+
detail: T;
|
|
273
|
+
target: HTMLCocDealViewElement;
|
|
274
|
+
}
|
|
275
|
+
export interface CocDynamicPropertiesCustomEvent<T> extends CustomEvent<T> {
|
|
276
|
+
detail: T;
|
|
277
|
+
target: HTMLCocDynamicPropertiesElement;
|
|
278
|
+
}
|
|
279
|
+
export interface CocEditItemDialogCustomEvent<T> extends CustomEvent<T> {
|
|
280
|
+
detail: T;
|
|
281
|
+
target: HTMLCocEditItemDialogElement;
|
|
282
|
+
}
|
|
283
|
+
export interface CocItemFormCustomEvent<T> extends CustomEvent<T> {
|
|
284
|
+
detail: T;
|
|
285
|
+
target: HTMLCocItemFormElement;
|
|
286
|
+
}
|
|
287
|
+
export interface CocNewOrderDialogCustomEvent<T> extends CustomEvent<T> {
|
|
288
|
+
detail: T;
|
|
289
|
+
target: HTMLCocNewOrderDialogElement;
|
|
290
|
+
}
|
|
291
|
+
export interface CocOrderViewCustomEvent<T> extends CustomEvent<T> {
|
|
292
|
+
detail: T;
|
|
293
|
+
target: HTMLCocOrderViewElement;
|
|
294
|
+
}
|
|
295
|
+
export interface CocTemplateSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
296
|
+
detail: T;
|
|
297
|
+
target: HTMLCocTemplateSelectorElement;
|
|
298
|
+
}
|
|
299
|
+
declare global {
|
|
300
|
+
interface HTMLCocArticleGroupPickerElement extends Components.CocArticleGroupPicker, HTMLStencilElement {
|
|
301
|
+
}
|
|
302
|
+
var HTMLCocArticleGroupPickerElement: {
|
|
303
|
+
prototype: HTMLCocArticleGroupPickerElement;
|
|
304
|
+
new (): HTMLCocArticleGroupPickerElement;
|
|
305
|
+
};
|
|
306
|
+
interface HTMLCocArticlePickerElement extends Components.CocArticlePicker, HTMLStencilElement {
|
|
307
|
+
}
|
|
308
|
+
var HTMLCocArticlePickerElement: {
|
|
309
|
+
prototype: HTMLCocArticlePickerElement;
|
|
310
|
+
new (): HTMLCocArticlePickerElement;
|
|
311
|
+
};
|
|
312
|
+
interface HTMLCocArticleSelectorElement extends Components.CocArticleSelector, HTMLStencilElement {
|
|
313
|
+
}
|
|
314
|
+
var HTMLCocArticleSelectorElement: {
|
|
315
|
+
prototype: HTMLCocArticleSelectorElement;
|
|
316
|
+
new (): HTMLCocArticleSelectorElement;
|
|
317
|
+
};
|
|
318
|
+
interface HTMLCocArticleSelectorLayoutElement extends Components.CocArticleSelectorLayout, HTMLStencilElement {
|
|
319
|
+
}
|
|
320
|
+
var HTMLCocArticleSelectorLayoutElement: {
|
|
321
|
+
prototype: HTMLCocArticleSelectorLayoutElement;
|
|
322
|
+
new (): HTMLCocArticleSelectorLayoutElement;
|
|
323
|
+
};
|
|
324
|
+
interface HTMLCocCpqTabElement extends Components.CocCpqTab, HTMLStencilElement {
|
|
325
|
+
}
|
|
326
|
+
var HTMLCocCpqTabElement: {
|
|
327
|
+
prototype: HTMLCocCpqTabElement;
|
|
328
|
+
new (): HTMLCocCpqTabElement;
|
|
329
|
+
};
|
|
330
|
+
interface HTMLCocDealViewElement extends Components.CocDealView, HTMLStencilElement {
|
|
331
|
+
}
|
|
332
|
+
var HTMLCocDealViewElement: {
|
|
333
|
+
prototype: HTMLCocDealViewElement;
|
|
334
|
+
new (): HTMLCocDealViewElement;
|
|
335
|
+
};
|
|
336
|
+
interface HTMLCocDynamicPropertiesElement extends Components.CocDynamicProperties, HTMLStencilElement {
|
|
337
|
+
}
|
|
338
|
+
var HTMLCocDynamicPropertiesElement: {
|
|
339
|
+
prototype: HTMLCocDynamicPropertiesElement;
|
|
340
|
+
new (): HTMLCocDynamicPropertiesElement;
|
|
341
|
+
};
|
|
342
|
+
interface HTMLCocEditItemDialogElement extends Components.CocEditItemDialog, HTMLStencilElement {
|
|
343
|
+
}
|
|
344
|
+
var HTMLCocEditItemDialogElement: {
|
|
345
|
+
prototype: HTMLCocEditItemDialogElement;
|
|
346
|
+
new (): HTMLCocEditItemDialogElement;
|
|
347
|
+
};
|
|
348
|
+
interface HTMLCocErpStatusElement extends Components.CocErpStatus, HTMLStencilElement {
|
|
349
|
+
}
|
|
350
|
+
var HTMLCocErpStatusElement: {
|
|
351
|
+
prototype: HTMLCocErpStatusElement;
|
|
352
|
+
new (): HTMLCocErpStatusElement;
|
|
353
|
+
};
|
|
354
|
+
interface HTMLCocItemFormElement extends Components.CocItemForm, HTMLStencilElement {
|
|
355
|
+
}
|
|
356
|
+
var HTMLCocItemFormElement: {
|
|
357
|
+
prototype: HTMLCocItemFormElement;
|
|
358
|
+
new (): HTMLCocItemFormElement;
|
|
359
|
+
};
|
|
360
|
+
interface HTMLCocItemSummaryElement extends Components.CocItemSummary, HTMLStencilElement {
|
|
361
|
+
}
|
|
362
|
+
var HTMLCocItemSummaryElement: {
|
|
363
|
+
prototype: HTMLCocItemSummaryElement;
|
|
364
|
+
new (): HTMLCocItemSummaryElement;
|
|
365
|
+
};
|
|
366
|
+
interface HTMLCocItemTableElement extends Components.CocItemTable, HTMLStencilElement {
|
|
367
|
+
}
|
|
368
|
+
var HTMLCocItemTableElement: {
|
|
369
|
+
prototype: HTMLCocItemTableElement;
|
|
370
|
+
new (): HTMLCocItemTableElement;
|
|
371
|
+
};
|
|
372
|
+
interface HTMLCocNewOrderDialogElement extends Components.CocNewOrderDialog, HTMLStencilElement {
|
|
373
|
+
}
|
|
374
|
+
var HTMLCocNewOrderDialogElement: {
|
|
375
|
+
prototype: HTMLCocNewOrderDialogElement;
|
|
376
|
+
new (): HTMLCocNewOrderDialogElement;
|
|
377
|
+
};
|
|
378
|
+
interface HTMLCocOrderCardElement extends Components.CocOrderCard, HTMLStencilElement {
|
|
379
|
+
}
|
|
380
|
+
var HTMLCocOrderCardElement: {
|
|
381
|
+
prototype: HTMLCocOrderCardElement;
|
|
382
|
+
new (): HTMLCocOrderCardElement;
|
|
383
|
+
};
|
|
384
|
+
interface HTMLCocOrderViewElement extends Components.CocOrderView, HTMLStencilElement {
|
|
385
|
+
}
|
|
386
|
+
var HTMLCocOrderViewElement: {
|
|
387
|
+
prototype: HTMLCocOrderViewElement;
|
|
388
|
+
new (): HTMLCocOrderViewElement;
|
|
389
|
+
};
|
|
390
|
+
interface HTMLCocTemplateSelectorElement extends Components.CocTemplateSelector, HTMLStencilElement {
|
|
391
|
+
}
|
|
392
|
+
var HTMLCocTemplateSelectorElement: {
|
|
393
|
+
prototype: HTMLCocTemplateSelectorElement;
|
|
394
|
+
new (): HTMLCocTemplateSelectorElement;
|
|
395
|
+
};
|
|
396
|
+
interface HTMLLwcLimepkgCpqOrderLoaderElement extends Components.LwcLimepkgCpqOrderLoader, HTMLStencilElement {
|
|
397
|
+
}
|
|
398
|
+
var HTMLLwcLimepkgCpqOrderLoaderElement: {
|
|
399
|
+
prototype: HTMLLwcLimepkgCpqOrderLoaderElement;
|
|
400
|
+
new (): HTMLLwcLimepkgCpqOrderLoaderElement;
|
|
401
|
+
};
|
|
402
|
+
interface HTMLElementTagNameMap {
|
|
403
|
+
"coc-article-group-picker": HTMLCocArticleGroupPickerElement;
|
|
404
|
+
"coc-article-picker": HTMLCocArticlePickerElement;
|
|
405
|
+
"coc-article-selector": HTMLCocArticleSelectorElement;
|
|
406
|
+
"coc-article-selector-layout": HTMLCocArticleSelectorLayoutElement;
|
|
407
|
+
"coc-cpq-tab": HTMLCocCpqTabElement;
|
|
408
|
+
"coc-deal-view": HTMLCocDealViewElement;
|
|
409
|
+
"coc-dynamic-properties": HTMLCocDynamicPropertiesElement;
|
|
410
|
+
"coc-edit-item-dialog": HTMLCocEditItemDialogElement;
|
|
411
|
+
"coc-erp-status": HTMLCocErpStatusElement;
|
|
412
|
+
"coc-item-form": HTMLCocItemFormElement;
|
|
413
|
+
"coc-item-summary": HTMLCocItemSummaryElement;
|
|
414
|
+
"coc-item-table": HTMLCocItemTableElement;
|
|
415
|
+
"coc-new-order-dialog": HTMLCocNewOrderDialogElement;
|
|
416
|
+
"coc-order-card": HTMLCocOrderCardElement;
|
|
417
|
+
"coc-order-view": HTMLCocOrderViewElement;
|
|
418
|
+
"coc-template-selector": HTMLCocTemplateSelectorElement;
|
|
419
|
+
"lwc-limepkg-cpq-order-loader": HTMLLwcLimepkgCpqOrderLoaderElement;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
declare namespace LocalJSX {
|
|
423
|
+
interface CocArticleGroupPicker {
|
|
424
|
+
"config"?: Iconfig;
|
|
425
|
+
/**
|
|
426
|
+
* The context this component belongs to
|
|
427
|
+
* @inherit
|
|
428
|
+
*/
|
|
429
|
+
"context"?: LimeWebComponentContext;
|
|
430
|
+
"label"?: string;
|
|
431
|
+
"onArticleGroupChange"?: (event: CocArticleGroupPickerCustomEvent<IarticleGroup | null>) => void;
|
|
432
|
+
/**
|
|
433
|
+
* Reference to the platform
|
|
434
|
+
* @inherit
|
|
435
|
+
*/
|
|
436
|
+
"platform"?: LimeWebComponentPlatform;
|
|
437
|
+
"selectedArticleGroup"?: IarticleGroup | null;
|
|
438
|
+
}
|
|
439
|
+
interface CocArticlePicker {
|
|
440
|
+
"config"?: Iconfig;
|
|
441
|
+
/**
|
|
442
|
+
* The context this component belongs to
|
|
443
|
+
* @inherit
|
|
444
|
+
*/
|
|
445
|
+
"context"?: LimeWebComponentContext;
|
|
446
|
+
"label"?: string;
|
|
447
|
+
"onArticleChange"?: (event: CocArticlePickerCustomEvent<Iarticle | null>) => void;
|
|
448
|
+
/**
|
|
449
|
+
* Reference to the platform
|
|
450
|
+
* @inherit
|
|
451
|
+
*/
|
|
452
|
+
"platform"?: LimeWebComponentPlatform;
|
|
453
|
+
"selectedArticle"?: Iarticle | null;
|
|
454
|
+
"selectedArticleGroup"?: IarticleGroup | null;
|
|
455
|
+
}
|
|
456
|
+
interface CocArticleSelector {
|
|
457
|
+
/**
|
|
458
|
+
* The article group relation for the item
|
|
459
|
+
*/
|
|
460
|
+
"articleGroupProperty"?: LimeProperty;
|
|
461
|
+
/**
|
|
462
|
+
* The article relation for the item
|
|
463
|
+
*/
|
|
464
|
+
"articleProperty"?: LimeProperty;
|
|
465
|
+
/**
|
|
466
|
+
* The context this component belongs to
|
|
467
|
+
* @inherit
|
|
468
|
+
*/
|
|
469
|
+
"context"?: LimeWebComponentContext;
|
|
470
|
+
/**
|
|
471
|
+
* The edited deal article or order row item
|
|
472
|
+
*/
|
|
473
|
+
"item"?: Iitem;
|
|
474
|
+
"onArticleChange"?: (event: CocArticleSelectorCustomEvent<Iarticle | null>) => void;
|
|
475
|
+
/**
|
|
476
|
+
* Reference to the platform
|
|
477
|
+
* @inherit
|
|
478
|
+
*/
|
|
479
|
+
"platform"?: LimeWebComponentPlatform;
|
|
480
|
+
}
|
|
481
|
+
interface CocArticleSelectorLayout {
|
|
482
|
+
}
|
|
483
|
+
interface CocCpqTab {
|
|
484
|
+
/**
|
|
485
|
+
* The context this component belongs to
|
|
486
|
+
* @inherit
|
|
487
|
+
*/
|
|
488
|
+
"context"?: LimeWebComponentContext;
|
|
489
|
+
/**
|
|
490
|
+
* Reference to the platform
|
|
491
|
+
* @inherit
|
|
492
|
+
*/
|
|
493
|
+
"platform"?: LimeWebComponentPlatform;
|
|
494
|
+
}
|
|
495
|
+
interface CocDealView {
|
|
496
|
+
"config"?: Iconfig;
|
|
497
|
+
/**
|
|
498
|
+
* The context this component belongs to
|
|
499
|
+
* @inherit
|
|
500
|
+
*/
|
|
501
|
+
"context"?: LimeWebComponentContext;
|
|
502
|
+
"deal"?: Deal;
|
|
503
|
+
"disabled"?: boolean;
|
|
504
|
+
"onItemsChange"?: (event: CocDealViewCustomEvent<Deal>) => void;
|
|
505
|
+
/**
|
|
506
|
+
* Reference to the platform
|
|
507
|
+
* @inherit
|
|
508
|
+
*/
|
|
509
|
+
"platform"?: LimeWebComponentPlatform;
|
|
510
|
+
}
|
|
511
|
+
interface CocDynamicProperties {
|
|
512
|
+
"columns"?: number;
|
|
513
|
+
/**
|
|
514
|
+
* The context this component belongs to
|
|
515
|
+
*/
|
|
516
|
+
"context"?: LimeWebComponentContext;
|
|
517
|
+
"limetype"?: string;
|
|
518
|
+
"onPropertiesChange"?: (event: CocDynamicPropertiesCustomEvent<any>) => void;
|
|
519
|
+
/**
|
|
520
|
+
* Reference to the platform
|
|
521
|
+
*/
|
|
522
|
+
"platform"?: LimeWebComponentPlatform;
|
|
523
|
+
"properties"?: Record<string, any>;
|
|
524
|
+
}
|
|
525
|
+
interface CocEditItemDialog {
|
|
526
|
+
"config"?: Iconfig;
|
|
527
|
+
/**
|
|
528
|
+
* The context this component belongs to
|
|
529
|
+
* @inherit
|
|
530
|
+
*/
|
|
531
|
+
"context"?: LimeWebComponentContext;
|
|
532
|
+
"currency"?: string;
|
|
533
|
+
"editMode"?: string;
|
|
534
|
+
"item"?: Item;
|
|
535
|
+
"itemMapping"?: IconfigItemMapping;
|
|
536
|
+
"itemParent"?: Deal | Order;
|
|
537
|
+
"onCloseDialog"?: (event: CocEditItemDialogCustomEvent<any>) => void;
|
|
538
|
+
"onDeleteItem"?: (event: CocEditItemDialogCustomEvent<any>) => void;
|
|
539
|
+
"onNewItem"?: (event: CocEditItemDialogCustomEvent<any>) => void;
|
|
540
|
+
"onUpdateItem"?: (event: CocEditItemDialogCustomEvent<any>) => void;
|
|
541
|
+
"open"?: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Reference to the platform
|
|
544
|
+
* @inherit
|
|
545
|
+
*/
|
|
546
|
+
"platform"?: LimeWebComponentPlatform;
|
|
547
|
+
}
|
|
548
|
+
interface CocErpStatus {
|
|
549
|
+
/**
|
|
550
|
+
* The context this component belongs to
|
|
551
|
+
* @inherit
|
|
552
|
+
*/
|
|
553
|
+
"context"?: LimeWebComponentContext;
|
|
554
|
+
/**
|
|
555
|
+
* Reference to the platform
|
|
556
|
+
* @inherit
|
|
557
|
+
*/
|
|
558
|
+
"platform"?: LimeWebComponentPlatform;
|
|
559
|
+
"status"?: ErpStatus;
|
|
560
|
+
"statusLabels"?: StatusLabelMapping;
|
|
561
|
+
}
|
|
562
|
+
interface CocItemForm {
|
|
563
|
+
/**
|
|
564
|
+
* The context this component belongs to
|
|
565
|
+
* @inherit
|
|
566
|
+
*/
|
|
567
|
+
"context"?: LimeWebComponentContext;
|
|
568
|
+
"currency"?: String;
|
|
569
|
+
"itemData"?: Item;
|
|
570
|
+
"itemMapping"?: IconfigItemMapping;
|
|
571
|
+
"limetype"?: LimeType;
|
|
572
|
+
"onValidate"?: (event: CocItemFormCustomEvent<any>) => void;
|
|
573
|
+
/**
|
|
574
|
+
* Reference to the platform
|
|
575
|
+
* @inherit
|
|
576
|
+
*/
|
|
577
|
+
"platform"?: LimeWebComponentPlatform;
|
|
578
|
+
}
|
|
579
|
+
interface CocItemSummary {
|
|
580
|
+
/**
|
|
581
|
+
* The context this component belongs to
|
|
582
|
+
* @inherit
|
|
583
|
+
*/
|
|
584
|
+
"context"?: LimeWebComponentContext;
|
|
585
|
+
"currency"?: string;
|
|
586
|
+
"discount"?: number;
|
|
587
|
+
/**
|
|
588
|
+
* Reference to the platform
|
|
589
|
+
* @inherit
|
|
590
|
+
*/
|
|
591
|
+
"platform"?: LimeWebComponentPlatform;
|
|
592
|
+
"subtotal"?: number;
|
|
593
|
+
"total"?: number;
|
|
594
|
+
"totalInclVat"?: number;
|
|
595
|
+
"vat"?: number;
|
|
596
|
+
}
|
|
597
|
+
interface CocItemTable {
|
|
598
|
+
"activeRow"?: Item;
|
|
599
|
+
/**
|
|
600
|
+
* The context this component belongs to
|
|
601
|
+
* @inherit
|
|
602
|
+
*/
|
|
603
|
+
"context"?: LimeWebComponentContext;
|
|
604
|
+
"itemMapping"?: IconfigItemMapping;
|
|
605
|
+
"items"?: Item[];
|
|
606
|
+
/**
|
|
607
|
+
* Reference to the platform
|
|
608
|
+
* @inherit
|
|
609
|
+
*/
|
|
610
|
+
"platform"?: LimeWebComponentPlatform;
|
|
611
|
+
"tableIsReadonly"?: boolean;
|
|
612
|
+
}
|
|
613
|
+
interface CocNewOrderDialog {
|
|
614
|
+
/**
|
|
615
|
+
* The context this component belongs to
|
|
616
|
+
*/
|
|
617
|
+
"context"?: LimeWebComponentContext;
|
|
618
|
+
"onDestroyDialog"?: (event: CocNewOrderDialogCustomEvent<any>) => void;
|
|
619
|
+
/**
|
|
620
|
+
* Reference to the platform
|
|
621
|
+
*/
|
|
622
|
+
"platform"?: LimeWebComponentPlatform;
|
|
623
|
+
/**
|
|
624
|
+
* Default data to populate the order with
|
|
625
|
+
*/
|
|
626
|
+
"properties"?: Record<string, any>;
|
|
627
|
+
}
|
|
628
|
+
interface CocOrderCard {
|
|
629
|
+
/**
|
|
630
|
+
* The context this component belongs to
|
|
631
|
+
* @inherit
|
|
632
|
+
*/
|
|
633
|
+
"context"?: LimeWebComponentContext;
|
|
634
|
+
/**
|
|
635
|
+
* Reference to the platform
|
|
636
|
+
* @inherit
|
|
637
|
+
*/
|
|
638
|
+
"platform"?: LimeWebComponentPlatform;
|
|
639
|
+
}
|
|
640
|
+
interface CocOrderView {
|
|
641
|
+
"config"?: Iconfig;
|
|
642
|
+
/**
|
|
643
|
+
* The context this component belongs to
|
|
644
|
+
* @inherit
|
|
645
|
+
*/
|
|
646
|
+
"context"?: LimeWebComponentContext;
|
|
647
|
+
"disabled"?: boolean;
|
|
648
|
+
"onItemsChange"?: (event: CocOrderViewCustomEvent<Order>) => void;
|
|
649
|
+
"order"?: Order;
|
|
650
|
+
/**
|
|
651
|
+
* Reference to the platform
|
|
652
|
+
* @inherit
|
|
653
|
+
*/
|
|
654
|
+
"platform"?: LimeWebComponentPlatform;
|
|
655
|
+
}
|
|
656
|
+
interface CocTemplateSelector {
|
|
657
|
+
/**
|
|
658
|
+
* The context this component belongs to
|
|
659
|
+
* @inherit
|
|
660
|
+
*/
|
|
661
|
+
"context"?: LimeWebComponentContext;
|
|
662
|
+
"limetype"?: string;
|
|
663
|
+
"onTemplateSelected"?: (event: CocTemplateSelectorCustomEvent<DocumentTemplate>) => void;
|
|
664
|
+
/**
|
|
665
|
+
* Reference to the platform
|
|
666
|
+
* @inherit
|
|
667
|
+
*/
|
|
668
|
+
"platform"?: LimeWebComponentPlatform;
|
|
669
|
+
}
|
|
670
|
+
interface LwcLimepkgCpqOrderLoader {
|
|
671
|
+
/**
|
|
672
|
+
* The context this component belongs to
|
|
673
|
+
*/
|
|
674
|
+
"context"?: LimeWebComponentContext;
|
|
675
|
+
/**
|
|
676
|
+
* Reference to the platform
|
|
677
|
+
*/
|
|
678
|
+
"platform"?: LimeWebComponentPlatform;
|
|
679
|
+
}
|
|
680
|
+
interface IntrinsicElements {
|
|
681
|
+
"coc-article-group-picker": CocArticleGroupPicker;
|
|
682
|
+
"coc-article-picker": CocArticlePicker;
|
|
683
|
+
"coc-article-selector": CocArticleSelector;
|
|
684
|
+
"coc-article-selector-layout": CocArticleSelectorLayout;
|
|
685
|
+
"coc-cpq-tab": CocCpqTab;
|
|
686
|
+
"coc-deal-view": CocDealView;
|
|
687
|
+
"coc-dynamic-properties": CocDynamicProperties;
|
|
688
|
+
"coc-edit-item-dialog": CocEditItemDialog;
|
|
689
|
+
"coc-erp-status": CocErpStatus;
|
|
690
|
+
"coc-item-form": CocItemForm;
|
|
691
|
+
"coc-item-summary": CocItemSummary;
|
|
692
|
+
"coc-item-table": CocItemTable;
|
|
693
|
+
"coc-new-order-dialog": CocNewOrderDialog;
|
|
694
|
+
"coc-order-card": CocOrderCard;
|
|
695
|
+
"coc-order-view": CocOrderView;
|
|
696
|
+
"coc-template-selector": CocTemplateSelector;
|
|
697
|
+
"lwc-limepkg-cpq-order-loader": LwcLimepkgCpqOrderLoader;
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
export { LocalJSX as JSX };
|
|
701
|
+
declare module "@stencil/core" {
|
|
702
|
+
export namespace JSX {
|
|
703
|
+
interface IntrinsicElements {
|
|
704
|
+
"coc-article-group-picker": LocalJSX.CocArticleGroupPicker & JSXBase.HTMLAttributes<HTMLCocArticleGroupPickerElement>;
|
|
705
|
+
"coc-article-picker": LocalJSX.CocArticlePicker & JSXBase.HTMLAttributes<HTMLCocArticlePickerElement>;
|
|
706
|
+
"coc-article-selector": LocalJSX.CocArticleSelector & JSXBase.HTMLAttributes<HTMLCocArticleSelectorElement>;
|
|
707
|
+
"coc-article-selector-layout": LocalJSX.CocArticleSelectorLayout & JSXBase.HTMLAttributes<HTMLCocArticleSelectorLayoutElement>;
|
|
708
|
+
"coc-cpq-tab": LocalJSX.CocCpqTab & JSXBase.HTMLAttributes<HTMLCocCpqTabElement>;
|
|
709
|
+
"coc-deal-view": LocalJSX.CocDealView & JSXBase.HTMLAttributes<HTMLCocDealViewElement>;
|
|
710
|
+
"coc-dynamic-properties": LocalJSX.CocDynamicProperties & JSXBase.HTMLAttributes<HTMLCocDynamicPropertiesElement>;
|
|
711
|
+
"coc-edit-item-dialog": LocalJSX.CocEditItemDialog & JSXBase.HTMLAttributes<HTMLCocEditItemDialogElement>;
|
|
712
|
+
"coc-erp-status": LocalJSX.CocErpStatus & JSXBase.HTMLAttributes<HTMLCocErpStatusElement>;
|
|
713
|
+
"coc-item-form": LocalJSX.CocItemForm & JSXBase.HTMLAttributes<HTMLCocItemFormElement>;
|
|
714
|
+
"coc-item-summary": LocalJSX.CocItemSummary & JSXBase.HTMLAttributes<HTMLCocItemSummaryElement>;
|
|
715
|
+
"coc-item-table": LocalJSX.CocItemTable & JSXBase.HTMLAttributes<HTMLCocItemTableElement>;
|
|
716
|
+
"coc-new-order-dialog": LocalJSX.CocNewOrderDialog & JSXBase.HTMLAttributes<HTMLCocNewOrderDialogElement>;
|
|
717
|
+
"coc-order-card": LocalJSX.CocOrderCard & JSXBase.HTMLAttributes<HTMLCocOrderCardElement>;
|
|
718
|
+
"coc-order-view": LocalJSX.CocOrderView & JSXBase.HTMLAttributes<HTMLCocOrderViewElement>;
|
|
719
|
+
"coc-template-selector": LocalJSX.CocTemplateSelector & JSXBase.HTMLAttributes<HTMLCocTemplateSelectorElement>;
|
|
720
|
+
"lwc-limepkg-cpq-order-loader": LocalJSX.LwcLimepkgCpqOrderLoader & JSXBase.HTMLAttributes<HTMLLwcLimepkgCpqOrderLoaderElement>;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
}
|