@limetech/limepkg-cpq-order 2.14.2-dev.1 → 2.14.2-dev.3
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/dist/components/admin/coc-vat-selector-admin-config/coc-vat-selector-admin-config.d.ts +15 -0
- package/dist/components/article-selector/article-group-picker.d.ts +2 -2
- package/dist/components/article-selector/article-picker.d.ts +2 -2
- package/dist/components/article-selector/article-selector.d.ts +2 -2
- package/dist/components/cpq-tab/cpq-tab.d.ts +2 -2
- package/dist/components/deal-view/deal-view.d.ts +2 -2
- package/dist/components/edit-item-dialog/edit-item-dialog.d.ts +2 -2
- package/dist/components/erp-status/erp-status.d.ts +2 -2
- package/dist/components/item-form/item-form.d.ts +2 -2
- package/dist/components/item-summary/item-summary.d.ts +2 -2
- package/dist/components/item-table/item-table.d.ts +2 -2
- package/dist/components/new-order-dialog/new-order-dialog.d.ts +3 -2
- package/dist/components/order-card/order-card.d.ts +2 -2
- package/dist/components/order-view/order-view.d.ts +2 -2
- package/dist/components/position-index/position-index.d.ts +2 -2
- package/dist/components/template-selector/template-selector.d.ts +2 -2
- package/dist/components.d.ts +101 -108
- package/package.json +1 -1
package/dist/components/admin/coc-vat-selector-admin-config/coc-vat-selector-admin-config.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform } from '@limetech/lime-web-components';
|
|
2
|
+
import { FormComponent } from '@limetech/lime-elements';
|
|
3
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
4
|
+
import { JSX } from 'src/interface';
|
|
5
|
+
declare type VatProps = Pick<JSX.CocVatSelector, 'vatBehaviour'>;
|
|
6
|
+
export declare class VatSelector implements LimeWebComponent, FormComponent<VatProps> {
|
|
7
|
+
platform: LimeWebComponentPlatform;
|
|
8
|
+
context: LimeWebComponentContext;
|
|
9
|
+
value: VatProps;
|
|
10
|
+
change: EventEmitter<VatProps>;
|
|
11
|
+
private vatBehaviours;
|
|
12
|
+
render(): any;
|
|
13
|
+
private handleSelectedValueChanged;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -3,11 +3,11 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
import { Iconfig, IarticleGroup } from '../../interfaces';
|
|
4
4
|
export declare class ArticleGroupPicker implements LimeWebComponent {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* {@inheritDoc}
|
|
7
7
|
*/
|
|
8
8
|
platform: LimeWebComponentPlatform;
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* {@inheritDoc}
|
|
11
11
|
*/
|
|
12
12
|
context: LimeWebComponentContext;
|
|
13
13
|
config?: Iconfig;
|
|
@@ -3,11 +3,11 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
import { Iconfig, Iarticle, IarticleGroup } from '../../interfaces';
|
|
4
4
|
export declare class ArticlePicker implements LimeWebComponent {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* {@inheritDoc}
|
|
7
7
|
*/
|
|
8
8
|
platform: LimeWebComponentPlatform;
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* {@inheritDoc}
|
|
11
11
|
*/
|
|
12
12
|
context: LimeWebComponentContext;
|
|
13
13
|
config?: Iconfig;
|
|
@@ -3,11 +3,11 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
import { Iarticle, IarticleGroup, Iitem, ArticleSelectorComponent } from '../../interfaces';
|
|
4
4
|
export declare class ArticleSelector implements LimeWebComponent, ArticleSelectorComponent {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* {@inheritDoc}
|
|
7
7
|
*/
|
|
8
8
|
platform: LimeWebComponentPlatform;
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* {@inheritDoc}
|
|
11
11
|
*/
|
|
12
12
|
context: LimeWebComponentContext;
|
|
13
13
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform } from '@limetech/lime-web-components';
|
|
2
2
|
export declare class CpqTab implements LimeWebComponent {
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* {@inheritDoc}
|
|
5
5
|
*/
|
|
6
6
|
platform: LimeWebComponentPlatform;
|
|
7
7
|
/**
|
|
8
|
-
* @
|
|
8
|
+
* {@inheritDoc}
|
|
9
9
|
*/
|
|
10
10
|
context: LimeWebComponentContext;
|
|
11
11
|
private currentLimeobject;
|
|
@@ -4,11 +4,11 @@ import { Deal, Item } from '../../classes';
|
|
|
4
4
|
import { Iconfig, ActiveEventItem } from '../../interfaces';
|
|
5
5
|
export declare class DealView implements LimeWebComponent {
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* {@inheritDoc}
|
|
8
8
|
*/
|
|
9
9
|
platform: LimeWebComponentPlatform;
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
context: LimeWebComponentContext;
|
|
14
14
|
deal: Deal;
|
|
@@ -4,11 +4,11 @@ import { Deal, Item, Order } from '../../classes';
|
|
|
4
4
|
import { Iconfig, IconfigItemMapping } from '../../interfaces';
|
|
5
5
|
export declare class EditItemDialog implements LimeWebComponent {
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* {@inheritDoc}
|
|
8
8
|
*/
|
|
9
9
|
platform: LimeWebComponentPlatform;
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
context: LimeWebComponentContext;
|
|
14
14
|
item: Item;
|
|
@@ -3,11 +3,11 @@ import { ErpStatus } from '../../interfaces';
|
|
|
3
3
|
import { StatusLabelMapping } from './flow-items';
|
|
4
4
|
export declare class ErpStatusFlow implements LimeWebComponent {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* {@inheritDoc}
|
|
7
7
|
*/
|
|
8
8
|
platform: LimeWebComponentPlatform;
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* {@inheritDoc}
|
|
11
11
|
*/
|
|
12
12
|
context: LimeWebComponentContext;
|
|
13
13
|
statusLabels: StatusLabelMapping;
|
|
@@ -14,11 +14,11 @@ export interface IitemFormSchema extends FormSchema {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class ItemForm implements LimeWebComponent {
|
|
16
16
|
/**
|
|
17
|
-
* @
|
|
17
|
+
* {@inheritDoc}
|
|
18
18
|
*/
|
|
19
19
|
platform: LimeWebComponentPlatform;
|
|
20
20
|
/**
|
|
21
|
-
* @
|
|
21
|
+
* {@inheritDoc}
|
|
22
22
|
*/
|
|
23
23
|
context: LimeWebComponentContext;
|
|
24
24
|
itemData: Item;
|
|
@@ -2,11 +2,11 @@ import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform, Tr
|
|
|
2
2
|
import { IconfigGeneral } from 'src/interfaces';
|
|
3
3
|
export declare class ItemSummary implements LimeWebComponent {
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* {@inheritDoc}
|
|
6
6
|
*/
|
|
7
7
|
platform: LimeWebComponentPlatform;
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* {@inheritDoc}
|
|
10
10
|
*/
|
|
11
11
|
context: LimeWebComponentContext;
|
|
12
12
|
subtotal: number;
|
|
@@ -8,11 +8,11 @@ export declare type ItemPosition = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare class ItemTable implements LimeWebComponent {
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
platform: LimeWebComponentPlatform;
|
|
14
14
|
/**
|
|
15
|
-
* @
|
|
15
|
+
* {@inheritDoc}
|
|
16
16
|
*/
|
|
17
17
|
context: LimeWebComponentContext;
|
|
18
18
|
items: Item[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform, Translator } from '@limetech/lime-web-components';
|
|
1
|
+
import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform, Navigator, Translator } from '@limetech/lime-web-components';
|
|
2
2
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
3
3
|
export declare class NewOrderDialog implements LimeWebComponent {
|
|
4
4
|
platform: LimeWebComponentPlatform;
|
|
@@ -13,7 +13,7 @@ export declare class NewOrderDialog implements LimeWebComponent {
|
|
|
13
13
|
private savingFailed;
|
|
14
14
|
private formIsValid;
|
|
15
15
|
destroyDialog: EventEmitter;
|
|
16
|
-
get
|
|
16
|
+
get navigator(): Navigator;
|
|
17
17
|
get translate(): Translator;
|
|
18
18
|
private orderLimetype;
|
|
19
19
|
private orderContext;
|
|
@@ -23,6 +23,7 @@ export declare class NewOrderDialog implements LimeWebComponent {
|
|
|
23
23
|
private handlePropertiesChange;
|
|
24
24
|
private onClose;
|
|
25
25
|
private onSave;
|
|
26
|
+
private handleOnSave;
|
|
26
27
|
private routeToObject;
|
|
27
28
|
private handleFormValidate;
|
|
28
29
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { LimeWebComponent, LimeWebComponentContext, LimeWebComponentPlatform } from '@limetech/lime-web-components';
|
|
2
2
|
export declare class OrderCard implements LimeWebComponent {
|
|
3
3
|
/**
|
|
4
|
-
* @
|
|
4
|
+
* {@inheritDoc}
|
|
5
5
|
*/
|
|
6
6
|
platform: LimeWebComponentPlatform;
|
|
7
7
|
/**
|
|
8
|
-
* @
|
|
8
|
+
* {@inheritDoc}
|
|
9
9
|
*/
|
|
10
10
|
context: LimeWebComponentContext;
|
|
11
11
|
private currentLimeobject;
|
|
@@ -4,11 +4,11 @@ import { Item, Order } from '../../classes';
|
|
|
4
4
|
import { Iconfig, ActiveEventItem } from '../../interfaces';
|
|
5
5
|
export declare class OrderView implements LimeWebComponent {
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* {@inheritDoc}
|
|
8
8
|
*/
|
|
9
9
|
platform: LimeWebComponentPlatform;
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
context: LimeWebComponentContext;
|
|
14
14
|
order: Order;
|
|
@@ -4,11 +4,11 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
4
4
|
import { ItemPosition } from '../item-table/item-table';
|
|
5
5
|
export declare class CocPositionIndex implements TableComponent {
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* {@inheritDoc}
|
|
8
8
|
*/
|
|
9
9
|
platform: LimeWebComponentPlatform;
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
context: LimeWebComponentContext;
|
|
14
14
|
value: ItemPosition;
|
|
@@ -3,12 +3,12 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
3
3
|
import { DocumentTemplate } from '@limetech/limepkg-document-templates';
|
|
4
4
|
export declare class TemplateSelector implements LimeWebComponent {
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* {@inheritDoc}
|
|
7
7
|
*/
|
|
8
8
|
platform: LimeWebComponentPlatform;
|
|
9
9
|
private deviceState;
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* {@inheritDoc}
|
|
12
12
|
*/
|
|
13
13
|
context: LimeWebComponentContext;
|
|
14
14
|
limetype: string;
|
package/dist/components.d.ts
CHANGED
|
@@ -17,14 +17,12 @@ export namespace Components {
|
|
|
17
17
|
interface CocArticleGroupPicker {
|
|
18
18
|
"config"?: Iconfig;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @inherit
|
|
20
|
+
* {@inheritDoc}
|
|
22
21
|
*/
|
|
23
22
|
"context": LimeWebComponentContext;
|
|
24
23
|
"label": string;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @inherit
|
|
25
|
+
* {@inheritDoc}
|
|
28
26
|
*/
|
|
29
27
|
"platform": LimeWebComponentPlatform;
|
|
30
28
|
"selectedArticleGroup": IarticleGroup | null;
|
|
@@ -32,14 +30,12 @@ export namespace Components {
|
|
|
32
30
|
interface CocArticlePicker {
|
|
33
31
|
"config"?: Iconfig;
|
|
34
32
|
/**
|
|
35
|
-
*
|
|
36
|
-
* @inherit
|
|
33
|
+
* {@inheritDoc}
|
|
37
34
|
*/
|
|
38
35
|
"context": LimeWebComponentContext;
|
|
39
36
|
"label": string;
|
|
40
37
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @inherit
|
|
38
|
+
* {@inheritDoc}
|
|
43
39
|
*/
|
|
44
40
|
"platform": LimeWebComponentPlatform;
|
|
45
41
|
"selectedArticle": Iarticle | null;
|
|
@@ -55,8 +51,7 @@ export namespace Components {
|
|
|
55
51
|
*/
|
|
56
52
|
"articleProperty"?: LimeProperty;
|
|
57
53
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @inherit
|
|
54
|
+
* {@inheritDoc}
|
|
60
55
|
*/
|
|
61
56
|
"context": LimeWebComponentContext;
|
|
62
57
|
/**
|
|
@@ -64,8 +59,7 @@ export namespace Components {
|
|
|
64
59
|
*/
|
|
65
60
|
"item": Iitem;
|
|
66
61
|
/**
|
|
67
|
-
*
|
|
68
|
-
* @inherit
|
|
62
|
+
* {@inheritDoc}
|
|
69
63
|
*/
|
|
70
64
|
"platform": LimeWebComponentPlatform;
|
|
71
65
|
}
|
|
@@ -73,28 +67,24 @@ export namespace Components {
|
|
|
73
67
|
}
|
|
74
68
|
interface CocCpqTab {
|
|
75
69
|
/**
|
|
76
|
-
*
|
|
77
|
-
* @inherit
|
|
70
|
+
* {@inheritDoc}
|
|
78
71
|
*/
|
|
79
72
|
"context": LimeWebComponentContext;
|
|
80
73
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @inherit
|
|
74
|
+
* {@inheritDoc}
|
|
83
75
|
*/
|
|
84
76
|
"platform": LimeWebComponentPlatform;
|
|
85
77
|
}
|
|
86
78
|
interface CocDealView {
|
|
87
79
|
"config": Iconfig;
|
|
88
80
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @inherit
|
|
81
|
+
* {@inheritDoc}
|
|
91
82
|
*/
|
|
92
83
|
"context": LimeWebComponentContext;
|
|
93
84
|
"deal": Deal;
|
|
94
85
|
"disabled": boolean;
|
|
95
86
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @inherit
|
|
87
|
+
* {@inheritDoc}
|
|
98
88
|
*/
|
|
99
89
|
"platform": LimeWebComponentPlatform;
|
|
100
90
|
}
|
|
@@ -113,8 +103,7 @@ export namespace Components {
|
|
|
113
103
|
interface CocEditItemDialog {
|
|
114
104
|
"config": Iconfig;
|
|
115
105
|
/**
|
|
116
|
-
*
|
|
117
|
-
* @inherit
|
|
106
|
+
* {@inheritDoc}
|
|
118
107
|
*/
|
|
119
108
|
"context": LimeWebComponentContext;
|
|
120
109
|
"currency": string;
|
|
@@ -124,20 +113,17 @@ export namespace Components {
|
|
|
124
113
|
"itemParent": Deal | Order;
|
|
125
114
|
"open": boolean;
|
|
126
115
|
/**
|
|
127
|
-
*
|
|
128
|
-
* @inherit
|
|
116
|
+
* {@inheritDoc}
|
|
129
117
|
*/
|
|
130
118
|
"platform": LimeWebComponentPlatform;
|
|
131
119
|
}
|
|
132
120
|
interface CocErpStatus {
|
|
133
121
|
/**
|
|
134
|
-
*
|
|
135
|
-
* @inherit
|
|
122
|
+
* {@inheritDoc}
|
|
136
123
|
*/
|
|
137
124
|
"context": LimeWebComponentContext;
|
|
138
125
|
/**
|
|
139
|
-
*
|
|
140
|
-
* @inherit
|
|
126
|
+
* {@inheritDoc}
|
|
141
127
|
*/
|
|
142
128
|
"platform": LimeWebComponentPlatform;
|
|
143
129
|
"status": ErpStatus;
|
|
@@ -145,8 +131,7 @@ export namespace Components {
|
|
|
145
131
|
}
|
|
146
132
|
interface CocItemForm {
|
|
147
133
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @inherit
|
|
134
|
+
* {@inheritDoc}
|
|
150
135
|
*/
|
|
151
136
|
"context": LimeWebComponentContext;
|
|
152
137
|
"currency": string;
|
|
@@ -155,23 +140,20 @@ export namespace Components {
|
|
|
155
140
|
"itemMapping": IconfigItemMapping;
|
|
156
141
|
"limetype": LimeType;
|
|
157
142
|
/**
|
|
158
|
-
*
|
|
159
|
-
* @inherit
|
|
143
|
+
* {@inheritDoc}
|
|
160
144
|
*/
|
|
161
145
|
"platform": LimeWebComponentPlatform;
|
|
162
146
|
}
|
|
163
147
|
interface CocItemSummary {
|
|
164
148
|
/**
|
|
165
|
-
*
|
|
166
|
-
* @inherit
|
|
149
|
+
* {@inheritDoc}
|
|
167
150
|
*/
|
|
168
151
|
"context": LimeWebComponentContext;
|
|
169
152
|
"currency": string;
|
|
170
153
|
"discount": number;
|
|
171
154
|
"generalConfig"?: IconfigGeneral1;
|
|
172
155
|
/**
|
|
173
|
-
*
|
|
174
|
-
* @inherit
|
|
156
|
+
* {@inheritDoc}
|
|
175
157
|
*/
|
|
176
158
|
"platform": LimeWebComponentPlatform;
|
|
177
159
|
"subtotal": number;
|
|
@@ -182,16 +164,14 @@ export namespace Components {
|
|
|
182
164
|
interface CocItemTable {
|
|
183
165
|
"activeRow": Item;
|
|
184
166
|
/**
|
|
185
|
-
*
|
|
186
|
-
* @inherit
|
|
167
|
+
* {@inheritDoc}
|
|
187
168
|
*/
|
|
188
169
|
"context": LimeWebComponentContext;
|
|
189
170
|
"discount": number;
|
|
190
171
|
"itemMapping": IconfigItemMapping;
|
|
191
172
|
"items": Item[];
|
|
192
173
|
/**
|
|
193
|
-
*
|
|
194
|
-
* @inherit
|
|
174
|
+
* {@inheritDoc}
|
|
195
175
|
*/
|
|
196
176
|
"platform": LimeWebComponentPlatform;
|
|
197
177
|
"tableIsReadonly": boolean;
|
|
@@ -212,38 +192,34 @@ export namespace Components {
|
|
|
212
192
|
}
|
|
213
193
|
interface CocOrderCard {
|
|
214
194
|
/**
|
|
215
|
-
*
|
|
216
|
-
* @inherit
|
|
195
|
+
* {@inheritDoc}
|
|
217
196
|
*/
|
|
218
197
|
"context": LimeWebComponentContext;
|
|
219
198
|
/**
|
|
220
|
-
*
|
|
221
|
-
* @inherit
|
|
199
|
+
* {@inheritDoc}
|
|
222
200
|
*/
|
|
223
201
|
"platform": LimeWebComponentPlatform;
|
|
224
202
|
}
|
|
225
203
|
interface CocOrderView {
|
|
226
204
|
"config": Iconfig;
|
|
227
205
|
/**
|
|
228
|
-
*
|
|
229
|
-
* @inherit
|
|
206
|
+
* {@inheritDoc}
|
|
230
207
|
*/
|
|
231
208
|
"context": LimeWebComponentContext;
|
|
232
209
|
"disabled": boolean;
|
|
233
210
|
"order": Order;
|
|
234
211
|
/**
|
|
235
|
-
*
|
|
236
|
-
* @inherit
|
|
212
|
+
* {@inheritDoc}
|
|
237
213
|
*/
|
|
238
214
|
"platform": LimeWebComponentPlatform;
|
|
239
215
|
}
|
|
240
216
|
interface CocPositionIndex {
|
|
241
217
|
/**
|
|
242
|
-
* @
|
|
218
|
+
* {@inheritDoc}
|
|
243
219
|
*/
|
|
244
220
|
"context": LimeWebComponentContext;
|
|
245
221
|
/**
|
|
246
|
-
* @
|
|
222
|
+
* {@inheritDoc}
|
|
247
223
|
*/
|
|
248
224
|
"platform": LimeWebComponentPlatform;
|
|
249
225
|
/**
|
|
@@ -253,14 +229,12 @@ export namespace Components {
|
|
|
253
229
|
}
|
|
254
230
|
interface CocTemplateSelector {
|
|
255
231
|
/**
|
|
256
|
-
*
|
|
257
|
-
* @inherit
|
|
232
|
+
* {@inheritDoc}
|
|
258
233
|
*/
|
|
259
234
|
"context": LimeWebComponentContext;
|
|
260
235
|
"limetype": string;
|
|
261
236
|
/**
|
|
262
|
-
*
|
|
263
|
-
* @inherit
|
|
237
|
+
* {@inheritDoc}
|
|
264
238
|
*/
|
|
265
239
|
"platform": LimeWebComponentPlatform;
|
|
266
240
|
}
|
|
@@ -299,6 +273,20 @@ export namespace Components {
|
|
|
299
273
|
"value": number;
|
|
300
274
|
"vatBehaviour": VatBehaviour;
|
|
301
275
|
}
|
|
276
|
+
interface CocVatSelectorAdminConfig {
|
|
277
|
+
/**
|
|
278
|
+
* The context this component belongs to
|
|
279
|
+
*/
|
|
280
|
+
"context": LimeWebComponentContext;
|
|
281
|
+
/**
|
|
282
|
+
* Reference to the platform
|
|
283
|
+
*/
|
|
284
|
+
"platform": LimeWebComponentPlatform;
|
|
285
|
+
/**
|
|
286
|
+
* The value of the current property
|
|
287
|
+
*/
|
|
288
|
+
"value": VatProps;
|
|
289
|
+
}
|
|
302
290
|
interface CocVatTableSelector {
|
|
303
291
|
"context": LimeWebComponentContext;
|
|
304
292
|
/**
|
|
@@ -374,6 +362,10 @@ export interface CocVatSelectorCustomEvent<T> extends CustomEvent<T> {
|
|
|
374
362
|
detail: T;
|
|
375
363
|
target: HTMLCocVatSelectorElement;
|
|
376
364
|
}
|
|
365
|
+
export interface CocVatSelectorAdminConfigCustomEvent<T> extends CustomEvent<T> {
|
|
366
|
+
detail: T;
|
|
367
|
+
target: HTMLCocVatSelectorAdminConfigElement;
|
|
368
|
+
}
|
|
377
369
|
declare global {
|
|
378
370
|
interface HTMLCocArticleGroupPickerElement extends Components.CocArticleGroupPicker, HTMLStencilElement {
|
|
379
371
|
}
|
|
@@ -483,6 +475,12 @@ declare global {
|
|
|
483
475
|
prototype: HTMLCocVatSelectorElement;
|
|
484
476
|
new (): HTMLCocVatSelectorElement;
|
|
485
477
|
};
|
|
478
|
+
interface HTMLCocVatSelectorAdminConfigElement extends Components.CocVatSelectorAdminConfig, HTMLStencilElement {
|
|
479
|
+
}
|
|
480
|
+
var HTMLCocVatSelectorAdminConfigElement: {
|
|
481
|
+
prototype: HTMLCocVatSelectorAdminConfigElement;
|
|
482
|
+
new (): HTMLCocVatSelectorAdminConfigElement;
|
|
483
|
+
};
|
|
486
484
|
interface HTMLCocVatTableSelectorElement extends Components.CocVatTableSelector, HTMLStencilElement {
|
|
487
485
|
}
|
|
488
486
|
var HTMLCocVatTableSelectorElement: {
|
|
@@ -514,6 +512,7 @@ declare global {
|
|
|
514
512
|
"coc-position-index": HTMLCocPositionIndexElement;
|
|
515
513
|
"coc-template-selector": HTMLCocTemplateSelectorElement;
|
|
516
514
|
"coc-vat-selector": HTMLCocVatSelectorElement;
|
|
515
|
+
"coc-vat-selector-admin-config": HTMLCocVatSelectorAdminConfigElement;
|
|
517
516
|
"coc-vat-table-selector": HTMLCocVatTableSelectorElement;
|
|
518
517
|
"lwc-limepkg-cpq-order-loader": HTMLLwcLimepkgCpqOrderLoaderElement;
|
|
519
518
|
}
|
|
@@ -522,15 +521,13 @@ declare namespace LocalJSX {
|
|
|
522
521
|
interface CocArticleGroupPicker {
|
|
523
522
|
"config"?: Iconfig;
|
|
524
523
|
/**
|
|
525
|
-
*
|
|
526
|
-
* @inherit
|
|
524
|
+
* {@inheritDoc}
|
|
527
525
|
*/
|
|
528
526
|
"context"?: LimeWebComponentContext;
|
|
529
527
|
"label"?: string;
|
|
530
528
|
"onArticleGroupChange"?: (event: CocArticleGroupPickerCustomEvent<IarticleGroup | null>) => void;
|
|
531
529
|
/**
|
|
532
|
-
*
|
|
533
|
-
* @inherit
|
|
530
|
+
* {@inheritDoc}
|
|
534
531
|
*/
|
|
535
532
|
"platform"?: LimeWebComponentPlatform;
|
|
536
533
|
"selectedArticleGroup"?: IarticleGroup | null;
|
|
@@ -538,15 +535,13 @@ declare namespace LocalJSX {
|
|
|
538
535
|
interface CocArticlePicker {
|
|
539
536
|
"config"?: Iconfig;
|
|
540
537
|
/**
|
|
541
|
-
*
|
|
542
|
-
* @inherit
|
|
538
|
+
* {@inheritDoc}
|
|
543
539
|
*/
|
|
544
540
|
"context"?: LimeWebComponentContext;
|
|
545
541
|
"label"?: string;
|
|
546
542
|
"onArticleChange"?: (event: CocArticlePickerCustomEvent<Iarticle | null>) => void;
|
|
547
543
|
/**
|
|
548
|
-
*
|
|
549
|
-
* @inherit
|
|
544
|
+
* {@inheritDoc}
|
|
550
545
|
*/
|
|
551
546
|
"platform"?: LimeWebComponentPlatform;
|
|
552
547
|
"selectedArticle"?: Iarticle | null;
|
|
@@ -562,8 +557,7 @@ declare namespace LocalJSX {
|
|
|
562
557
|
*/
|
|
563
558
|
"articleProperty"?: LimeProperty;
|
|
564
559
|
/**
|
|
565
|
-
*
|
|
566
|
-
* @inherit
|
|
560
|
+
* {@inheritDoc}
|
|
567
561
|
*/
|
|
568
562
|
"context"?: LimeWebComponentContext;
|
|
569
563
|
/**
|
|
@@ -572,8 +566,7 @@ declare namespace LocalJSX {
|
|
|
572
566
|
"item"?: Iitem;
|
|
573
567
|
"onArticleChange"?: (event: CocArticleSelectorCustomEvent<Iarticle | null>) => void;
|
|
574
568
|
/**
|
|
575
|
-
*
|
|
576
|
-
* @inherit
|
|
569
|
+
* {@inheritDoc}
|
|
577
570
|
*/
|
|
578
571
|
"platform"?: LimeWebComponentPlatform;
|
|
579
572
|
}
|
|
@@ -581,29 +574,25 @@ declare namespace LocalJSX {
|
|
|
581
574
|
}
|
|
582
575
|
interface CocCpqTab {
|
|
583
576
|
/**
|
|
584
|
-
*
|
|
585
|
-
* @inherit
|
|
577
|
+
* {@inheritDoc}
|
|
586
578
|
*/
|
|
587
579
|
"context"?: LimeWebComponentContext;
|
|
588
580
|
/**
|
|
589
|
-
*
|
|
590
|
-
* @inherit
|
|
581
|
+
* {@inheritDoc}
|
|
591
582
|
*/
|
|
592
583
|
"platform"?: LimeWebComponentPlatform;
|
|
593
584
|
}
|
|
594
585
|
interface CocDealView {
|
|
595
586
|
"config"?: Iconfig;
|
|
596
587
|
/**
|
|
597
|
-
*
|
|
598
|
-
* @inherit
|
|
588
|
+
* {@inheritDoc}
|
|
599
589
|
*/
|
|
600
590
|
"context"?: LimeWebComponentContext;
|
|
601
591
|
"deal"?: Deal;
|
|
602
592
|
"disabled"?: boolean;
|
|
603
593
|
"onItemsChange"?: (event: CocDealViewCustomEvent<Deal>) => void;
|
|
604
594
|
/**
|
|
605
|
-
*
|
|
606
|
-
* @inherit
|
|
595
|
+
* {@inheritDoc}
|
|
607
596
|
*/
|
|
608
597
|
"platform"?: LimeWebComponentPlatform;
|
|
609
598
|
}
|
|
@@ -624,8 +613,7 @@ declare namespace LocalJSX {
|
|
|
624
613
|
interface CocEditItemDialog {
|
|
625
614
|
"config"?: Iconfig;
|
|
626
615
|
/**
|
|
627
|
-
*
|
|
628
|
-
* @inherit
|
|
616
|
+
* {@inheritDoc}
|
|
629
617
|
*/
|
|
630
618
|
"context"?: LimeWebComponentContext;
|
|
631
619
|
"currency"?: string;
|
|
@@ -639,20 +627,17 @@ declare namespace LocalJSX {
|
|
|
639
627
|
"onUpdateItem"?: (event: CocEditItemDialogCustomEvent<any>) => void;
|
|
640
628
|
"open"?: boolean;
|
|
641
629
|
/**
|
|
642
|
-
*
|
|
643
|
-
* @inherit
|
|
630
|
+
* {@inheritDoc}
|
|
644
631
|
*/
|
|
645
632
|
"platform"?: LimeWebComponentPlatform;
|
|
646
633
|
}
|
|
647
634
|
interface CocErpStatus {
|
|
648
635
|
/**
|
|
649
|
-
*
|
|
650
|
-
* @inherit
|
|
636
|
+
* {@inheritDoc}
|
|
651
637
|
*/
|
|
652
638
|
"context"?: LimeWebComponentContext;
|
|
653
639
|
/**
|
|
654
|
-
*
|
|
655
|
-
* @inherit
|
|
640
|
+
* {@inheritDoc}
|
|
656
641
|
*/
|
|
657
642
|
"platform"?: LimeWebComponentPlatform;
|
|
658
643
|
"status"?: ErpStatus;
|
|
@@ -660,8 +645,7 @@ declare namespace LocalJSX {
|
|
|
660
645
|
}
|
|
661
646
|
interface CocItemForm {
|
|
662
647
|
/**
|
|
663
|
-
*
|
|
664
|
-
* @inherit
|
|
648
|
+
* {@inheritDoc}
|
|
665
649
|
*/
|
|
666
650
|
"context"?: LimeWebComponentContext;
|
|
667
651
|
"currency"?: string;
|
|
@@ -672,23 +656,20 @@ declare namespace LocalJSX {
|
|
|
672
656
|
"onChange"?: (event: CocItemFormCustomEvent<Item>) => void;
|
|
673
657
|
"onValidate"?: (event: CocItemFormCustomEvent<any>) => void;
|
|
674
658
|
/**
|
|
675
|
-
*
|
|
676
|
-
* @inherit
|
|
659
|
+
* {@inheritDoc}
|
|
677
660
|
*/
|
|
678
661
|
"platform"?: LimeWebComponentPlatform;
|
|
679
662
|
}
|
|
680
663
|
interface CocItemSummary {
|
|
681
664
|
/**
|
|
682
|
-
*
|
|
683
|
-
* @inherit
|
|
665
|
+
* {@inheritDoc}
|
|
684
666
|
*/
|
|
685
667
|
"context"?: LimeWebComponentContext;
|
|
686
668
|
"currency"?: string;
|
|
687
669
|
"discount"?: number;
|
|
688
670
|
"generalConfig"?: IconfigGeneral1;
|
|
689
671
|
/**
|
|
690
|
-
*
|
|
691
|
-
* @inherit
|
|
672
|
+
* {@inheritDoc}
|
|
692
673
|
*/
|
|
693
674
|
"platform"?: LimeWebComponentPlatform;
|
|
694
675
|
"subtotal"?: number;
|
|
@@ -699,8 +680,7 @@ declare namespace LocalJSX {
|
|
|
699
680
|
interface CocItemTable {
|
|
700
681
|
"activeRow"?: Item;
|
|
701
682
|
/**
|
|
702
|
-
*
|
|
703
|
-
* @inherit
|
|
683
|
+
* {@inheritDoc}
|
|
704
684
|
*/
|
|
705
685
|
"context"?: LimeWebComponentContext;
|
|
706
686
|
"discount"?: number;
|
|
@@ -710,8 +690,7 @@ declare namespace LocalJSX {
|
|
|
710
690
|
"onActiveRowChange"?: (event: CocItemTableCustomEvent<Item>) => void;
|
|
711
691
|
"onPositionUpdate"?: (event: CocItemTableCustomEvent<Item[]>) => void;
|
|
712
692
|
/**
|
|
713
|
-
*
|
|
714
|
-
* @inherit
|
|
693
|
+
* {@inheritDoc}
|
|
715
694
|
*/
|
|
716
695
|
"platform"?: LimeWebComponentPlatform;
|
|
717
696
|
"tableIsReadonly"?: boolean;
|
|
@@ -733,40 +712,36 @@ declare namespace LocalJSX {
|
|
|
733
712
|
}
|
|
734
713
|
interface CocOrderCard {
|
|
735
714
|
/**
|
|
736
|
-
*
|
|
737
|
-
* @inherit
|
|
715
|
+
* {@inheritDoc}
|
|
738
716
|
*/
|
|
739
717
|
"context"?: LimeWebComponentContext;
|
|
740
718
|
/**
|
|
741
|
-
*
|
|
742
|
-
* @inherit
|
|
719
|
+
* {@inheritDoc}
|
|
743
720
|
*/
|
|
744
721
|
"platform"?: LimeWebComponentPlatform;
|
|
745
722
|
}
|
|
746
723
|
interface CocOrderView {
|
|
747
724
|
"config"?: Iconfig;
|
|
748
725
|
/**
|
|
749
|
-
*
|
|
750
|
-
* @inherit
|
|
726
|
+
* {@inheritDoc}
|
|
751
727
|
*/
|
|
752
728
|
"context"?: LimeWebComponentContext;
|
|
753
729
|
"disabled"?: boolean;
|
|
754
730
|
"onItemsChange"?: (event: CocOrderViewCustomEvent<Order>) => void;
|
|
755
731
|
"order"?: Order;
|
|
756
732
|
/**
|
|
757
|
-
*
|
|
758
|
-
* @inherit
|
|
733
|
+
* {@inheritDoc}
|
|
759
734
|
*/
|
|
760
735
|
"platform"?: LimeWebComponentPlatform;
|
|
761
736
|
}
|
|
762
737
|
interface CocPositionIndex {
|
|
763
738
|
/**
|
|
764
|
-
* @
|
|
739
|
+
* {@inheritDoc}
|
|
765
740
|
*/
|
|
766
741
|
"context"?: LimeWebComponentContext;
|
|
767
742
|
"onValueChange"?: (event: CocPositionIndexCustomEvent<ItemPosition>) => void;
|
|
768
743
|
/**
|
|
769
|
-
* @
|
|
744
|
+
* {@inheritDoc}
|
|
770
745
|
*/
|
|
771
746
|
"platform"?: LimeWebComponentPlatform;
|
|
772
747
|
/**
|
|
@@ -776,15 +751,13 @@ declare namespace LocalJSX {
|
|
|
776
751
|
}
|
|
777
752
|
interface CocTemplateSelector {
|
|
778
753
|
/**
|
|
779
|
-
*
|
|
780
|
-
* @inherit
|
|
754
|
+
* {@inheritDoc}
|
|
781
755
|
*/
|
|
782
756
|
"context"?: LimeWebComponentContext;
|
|
783
757
|
"limetype"?: string;
|
|
784
758
|
"onTemplateSelected"?: (event: CocTemplateSelectorCustomEvent<DocumentTemplate>) => void;
|
|
785
759
|
/**
|
|
786
|
-
*
|
|
787
|
-
* @inherit
|
|
760
|
+
* {@inheritDoc}
|
|
788
761
|
*/
|
|
789
762
|
"platform"?: LimeWebComponentPlatform;
|
|
790
763
|
}
|
|
@@ -827,6 +800,24 @@ declare namespace LocalJSX {
|
|
|
827
800
|
"value"?: number;
|
|
828
801
|
"vatBehaviour"?: VatBehaviour;
|
|
829
802
|
}
|
|
803
|
+
interface CocVatSelectorAdminConfig {
|
|
804
|
+
/**
|
|
805
|
+
* The context this component belongs to
|
|
806
|
+
*/
|
|
807
|
+
"context"?: LimeWebComponentContext;
|
|
808
|
+
/**
|
|
809
|
+
* The event to emit when the value of the current property has changed
|
|
810
|
+
*/
|
|
811
|
+
"onChange"?: (event: CocVatSelectorAdminConfigCustomEvent<VatProps>) => void;
|
|
812
|
+
/**
|
|
813
|
+
* Reference to the platform
|
|
814
|
+
*/
|
|
815
|
+
"platform"?: LimeWebComponentPlatform;
|
|
816
|
+
/**
|
|
817
|
+
* The value of the current property
|
|
818
|
+
*/
|
|
819
|
+
"value"?: VatProps;
|
|
820
|
+
}
|
|
830
821
|
interface CocVatTableSelector {
|
|
831
822
|
"context"?: LimeWebComponentContext;
|
|
832
823
|
/**
|
|
@@ -868,6 +859,7 @@ declare namespace LocalJSX {
|
|
|
868
859
|
"coc-position-index": CocPositionIndex;
|
|
869
860
|
"coc-template-selector": CocTemplateSelector;
|
|
870
861
|
"coc-vat-selector": CocVatSelector;
|
|
862
|
+
"coc-vat-selector-admin-config": CocVatSelectorAdminConfig;
|
|
871
863
|
"coc-vat-table-selector": CocVatTableSelector;
|
|
872
864
|
"lwc-limepkg-cpq-order-loader": LwcLimepkgCpqOrderLoader;
|
|
873
865
|
}
|
|
@@ -894,6 +886,7 @@ declare module "@stencil/core" {
|
|
|
894
886
|
"coc-position-index": LocalJSX.CocPositionIndex & JSXBase.HTMLAttributes<HTMLCocPositionIndexElement>;
|
|
895
887
|
"coc-template-selector": LocalJSX.CocTemplateSelector & JSXBase.HTMLAttributes<HTMLCocTemplateSelectorElement>;
|
|
896
888
|
"coc-vat-selector": LocalJSX.CocVatSelector & JSXBase.HTMLAttributes<HTMLCocVatSelectorElement>;
|
|
889
|
+
"coc-vat-selector-admin-config": LocalJSX.CocVatSelectorAdminConfig & JSXBase.HTMLAttributes<HTMLCocVatSelectorAdminConfigElement>;
|
|
897
890
|
"coc-vat-table-selector": LocalJSX.CocVatTableSelector & JSXBase.HTMLAttributes<HTMLCocVatTableSelectorElement>;
|
|
898
891
|
"lwc-limepkg-cpq-order-loader": LocalJSX.LwcLimepkgCpqOrderLoader & JSXBase.HTMLAttributes<HTMLLwcLimepkgCpqOrderLoaderElement>;
|
|
899
892
|
}
|