@limetech/lime-web-components 5.16.0 → 5.18.0
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/application/repository.d.ts +6 -0
- package/dist/application/repository.d.ts.map +1 -1
- package/dist/application/session.d.ts +1 -0
- package/dist/application/session.d.ts.map +1 -1
- package/dist/es5/testing/limeobjects/index.js +2 -1
- package/dist/es5/testing/limeobjects/todo.js +106 -0
- package/dist/testing/limeobjects/index.d.ts +26 -1
- package/dist/testing/limeobjects/index.d.ts.map +1 -1
- package/dist/testing/limeobjects/index.js +2 -1
- package/dist/testing/limeobjects/todo.d.ts +27 -0
- package/dist/testing/limeobjects/todo.d.ts.map +1 -0
- package/dist/testing/limeobjects/todo.js +102 -0
- package/package.json +2 -2
|
@@ -18,5 +18,11 @@ export interface ApplicationRepository extends StateRepository {
|
|
|
18
18
|
* Get the current session
|
|
19
19
|
*/
|
|
20
20
|
getSession(): Session | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Get the current language
|
|
23
|
+
*
|
|
24
|
+
* @returns a two-letter language code, for example "en"
|
|
25
|
+
*/
|
|
26
|
+
getLanguage(): string;
|
|
21
27
|
}
|
|
22
28
|
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/application/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC1D;;OAEG;IACH,kBAAkB,IAAI,MAAM,GAAG,SAAS,CAAC;IAEzC;;OAEG;IACH,cAAc,IAAI,IAAI,GAAG,SAAS,CAAC;IAEnC;;OAEG;IACH,UAAU,IAAI,OAAO,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../src/application/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,qBAAsB,SAAQ,eAAe;IAC1D;;OAEG;IACH,kBAAkB,IAAI,MAAM,GAAG,SAAS,CAAC;IAEzC;;OAEG;IACH,cAAc,IAAI,IAAI,GAAG,SAAS,CAAC;IAEnC;;OAEG;IACH,UAAU,IAAI,OAAO,GAAG,SAAS,CAAC;IAElC;;;;OAIG;IACH,WAAW,IAAI,MAAM,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/application/session.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/application/session.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE5B;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAElC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -6,6 +6,7 @@ var coworker_1 = require("./coworker");
|
|
|
6
6
|
var deal_1 = require("./deal");
|
|
7
7
|
var person_1 = require("./person");
|
|
8
8
|
var document_1 = require("./document");
|
|
9
|
+
var todo_1 = require("./todo");
|
|
9
10
|
var limetypes_1 = require("../limetypes");
|
|
10
11
|
exports.limeobjects = {
|
|
11
12
|
company: company_1.company,
|
|
@@ -23,7 +24,7 @@ exports.limeobjects = {
|
|
|
23
24
|
infotiles: [],
|
|
24
25
|
participant: [],
|
|
25
26
|
campaign: [],
|
|
26
|
-
todo:
|
|
27
|
+
todo: todo_1.todo,
|
|
27
28
|
helpdesk: [],
|
|
28
29
|
office: [],
|
|
29
30
|
target: [],
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.todo = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var _1 = require(".");
|
|
6
|
+
exports.todo = [
|
|
7
|
+
{
|
|
8
|
+
business: null,
|
|
9
|
+
business2: null,
|
|
10
|
+
campaign: null,
|
|
11
|
+
company: 1003,
|
|
12
|
+
coworker: 1002,
|
|
13
|
+
createdtime: '2012-03-08T15:36:46.430000+01:00',
|
|
14
|
+
createduser: 1,
|
|
15
|
+
descriptive: 'MH prospect',
|
|
16
|
+
done: false,
|
|
17
|
+
endtime: null,
|
|
18
|
+
helpdesk: null,
|
|
19
|
+
id: 1018,
|
|
20
|
+
machine: null,
|
|
21
|
+
note: null,
|
|
22
|
+
person: null,
|
|
23
|
+
project: null,
|
|
24
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
25
|
+
subject: 'MH prospect',
|
|
26
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
27
|
+
todostatus: '202801',
|
|
28
|
+
updateduser: 1,
|
|
29
|
+
weekday2: 'wed',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
business: null,
|
|
33
|
+
business2: null,
|
|
34
|
+
campaign: null,
|
|
35
|
+
company: 1001,
|
|
36
|
+
coworker: 1001,
|
|
37
|
+
createdtime: '2014-03-08T15:36:46.430000+01:00',
|
|
38
|
+
createduser: 1,
|
|
39
|
+
descriptive: 'testing todos',
|
|
40
|
+
done: false,
|
|
41
|
+
endtime: null,
|
|
42
|
+
helpdesk: null,
|
|
43
|
+
id: 1019,
|
|
44
|
+
machine: null,
|
|
45
|
+
note: null,
|
|
46
|
+
person: null,
|
|
47
|
+
project: null,
|
|
48
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
49
|
+
subject: 'testing todos',
|
|
50
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
51
|
+
todostatus: '202801',
|
|
52
|
+
updateduser: 1,
|
|
53
|
+
weekday2: 'mon',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
business: null,
|
|
57
|
+
business2: null,
|
|
58
|
+
campaign: null,
|
|
59
|
+
company: 1007,
|
|
60
|
+
coworker: 1001,
|
|
61
|
+
createdtime: '2016-03-08T15:36:46.430000+01:00',
|
|
62
|
+
createduser: 1,
|
|
63
|
+
descriptive: 'for AB Culinar (DEMO)',
|
|
64
|
+
done: false,
|
|
65
|
+
endtime: null,
|
|
66
|
+
helpdesk: null,
|
|
67
|
+
id: 1020,
|
|
68
|
+
machine: null,
|
|
69
|
+
note: 'AB Culinar (DEMO) todo',
|
|
70
|
+
person: null,
|
|
71
|
+
project: null,
|
|
72
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
73
|
+
subject: 'AB Culinar (DEMO) todo',
|
|
74
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
75
|
+
todostatus: '202801',
|
|
76
|
+
updateduser: 1,
|
|
77
|
+
weekday2: 'wed',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
business: null,
|
|
81
|
+
business2: null,
|
|
82
|
+
campaign: null,
|
|
83
|
+
company: 1022,
|
|
84
|
+
coworker: 1054,
|
|
85
|
+
createdtime: '2016-03-08T15:36:46.430000+01:00',
|
|
86
|
+
createduser: 1,
|
|
87
|
+
descriptive: 'PH Glas (DEMO)',
|
|
88
|
+
done: false,
|
|
89
|
+
endtime: null,
|
|
90
|
+
helpdesk: null,
|
|
91
|
+
id: 1020,
|
|
92
|
+
machine: null,
|
|
93
|
+
note: 'PH Glas (DEMO) todo',
|
|
94
|
+
person: null,
|
|
95
|
+
project: null,
|
|
96
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
97
|
+
subject: 'PH Glas (DEMO) todo',
|
|
98
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
99
|
+
todostatus: '202801',
|
|
100
|
+
updateduser: 1,
|
|
101
|
+
weekday2: 'tue',
|
|
102
|
+
},
|
|
103
|
+
].map(function (data) {
|
|
104
|
+
var limeobject = tslib_1.__assign(tslib_1.__assign({}, data), { getLimetype: function () { return (0, _1.getLimetype)('todo'); }, getValue: function (property) { return (0, _1.getValue)(property, limeobject); } });
|
|
105
|
+
return limeobject;
|
|
106
|
+
});
|
|
@@ -167,7 +167,32 @@ export declare const limeobjects: {
|
|
|
167
167
|
infotiles: any[];
|
|
168
168
|
participant: any[];
|
|
169
169
|
campaign: any[];
|
|
170
|
-
todo:
|
|
170
|
+
todo: {
|
|
171
|
+
getLimetype: () => import("../..").LimeType;
|
|
172
|
+
getValue: (property: string) => any;
|
|
173
|
+
business: any;
|
|
174
|
+
business2: any;
|
|
175
|
+
campaign: any;
|
|
176
|
+
company: number;
|
|
177
|
+
coworker: number;
|
|
178
|
+
createdtime: string;
|
|
179
|
+
createduser: number;
|
|
180
|
+
descriptive: string;
|
|
181
|
+
done: boolean;
|
|
182
|
+
endtime: any;
|
|
183
|
+
helpdesk: any;
|
|
184
|
+
id: number;
|
|
185
|
+
machine: any;
|
|
186
|
+
note: string;
|
|
187
|
+
person: any;
|
|
188
|
+
project: any;
|
|
189
|
+
starttime: string;
|
|
190
|
+
subject: string;
|
|
191
|
+
timestamp: string;
|
|
192
|
+
todostatus: string;
|
|
193
|
+
updateduser: number;
|
|
194
|
+
weekday2: string;
|
|
195
|
+
}[];
|
|
171
196
|
helpdesk: any[];
|
|
172
197
|
office: any[];
|
|
173
198
|
target: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAC;AAEF,eAAO,MAAM,WAAW,aAAc,MAAM,6BAAwB,CAAC;AAErE,wBAAgB,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,GAAG,CA4BnE"}
|
|
@@ -3,6 +3,7 @@ import { coworker } from './coworker';
|
|
|
3
3
|
import { deal } from './deal';
|
|
4
4
|
import { person } from './person';
|
|
5
5
|
import { document } from './document';
|
|
6
|
+
import { todo } from './todo';
|
|
6
7
|
import { limetypes } from '../limetypes';
|
|
7
8
|
export const limeobjects = {
|
|
8
9
|
company: company,
|
|
@@ -20,7 +21,7 @@ export const limeobjects = {
|
|
|
20
21
|
infotiles: [],
|
|
21
22
|
participant: [],
|
|
22
23
|
campaign: [],
|
|
23
|
-
todo:
|
|
24
|
+
todo: todo,
|
|
24
25
|
helpdesk: [],
|
|
25
26
|
office: [],
|
|
26
27
|
target: [],
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const todo: {
|
|
2
|
+
getLimetype: () => import("../..").LimeType;
|
|
3
|
+
getValue: (property: string) => any;
|
|
4
|
+
business: any;
|
|
5
|
+
business2: any;
|
|
6
|
+
campaign: any;
|
|
7
|
+
company: number;
|
|
8
|
+
coworker: number;
|
|
9
|
+
createdtime: string;
|
|
10
|
+
createduser: number;
|
|
11
|
+
descriptive: string;
|
|
12
|
+
done: boolean;
|
|
13
|
+
endtime: any;
|
|
14
|
+
helpdesk: any;
|
|
15
|
+
id: number;
|
|
16
|
+
machine: any;
|
|
17
|
+
note: string;
|
|
18
|
+
person: any;
|
|
19
|
+
project: any;
|
|
20
|
+
starttime: string;
|
|
21
|
+
subject: string;
|
|
22
|
+
timestamp: string;
|
|
23
|
+
todostatus: string;
|
|
24
|
+
updateduser: number;
|
|
25
|
+
weekday2: string;
|
|
26
|
+
}[];
|
|
27
|
+
//# sourceMappingURL=todo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"todo.d.ts","sourceRoot":"","sources":["../../../src/testing/limeobjects/todo.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;yBAqGY,MAAM;;;;;;;;;;;;;;;;;;;;;;;GAIjC,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { getLimetype, getValue } from '.';
|
|
2
|
+
export const todo = [
|
|
3
|
+
{
|
|
4
|
+
business: null,
|
|
5
|
+
business2: null,
|
|
6
|
+
campaign: null,
|
|
7
|
+
company: 1003,
|
|
8
|
+
coworker: 1002,
|
|
9
|
+
createdtime: '2012-03-08T15:36:46.430000+01:00',
|
|
10
|
+
createduser: 1,
|
|
11
|
+
descriptive: 'MH prospect',
|
|
12
|
+
done: false,
|
|
13
|
+
endtime: null,
|
|
14
|
+
helpdesk: null,
|
|
15
|
+
id: 1018,
|
|
16
|
+
machine: null,
|
|
17
|
+
note: null,
|
|
18
|
+
person: null,
|
|
19
|
+
project: null,
|
|
20
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
21
|
+
subject: 'MH prospect',
|
|
22
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
23
|
+
todostatus: '202801',
|
|
24
|
+
updateduser: 1,
|
|
25
|
+
weekday2: 'wed',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
business: null,
|
|
29
|
+
business2: null,
|
|
30
|
+
campaign: null,
|
|
31
|
+
company: 1001,
|
|
32
|
+
coworker: 1001,
|
|
33
|
+
createdtime: '2014-03-08T15:36:46.430000+01:00',
|
|
34
|
+
createduser: 1,
|
|
35
|
+
descriptive: 'testing todos',
|
|
36
|
+
done: false,
|
|
37
|
+
endtime: null,
|
|
38
|
+
helpdesk: null,
|
|
39
|
+
id: 1019,
|
|
40
|
+
machine: null,
|
|
41
|
+
note: null,
|
|
42
|
+
person: null,
|
|
43
|
+
project: null,
|
|
44
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
45
|
+
subject: 'testing todos',
|
|
46
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
47
|
+
todostatus: '202801',
|
|
48
|
+
updateduser: 1,
|
|
49
|
+
weekday2: 'mon',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
business: null,
|
|
53
|
+
business2: null,
|
|
54
|
+
campaign: null,
|
|
55
|
+
company: 1007,
|
|
56
|
+
coworker: 1001,
|
|
57
|
+
createdtime: '2016-03-08T15:36:46.430000+01:00',
|
|
58
|
+
createduser: 1,
|
|
59
|
+
descriptive: 'for AB Culinar (DEMO)',
|
|
60
|
+
done: false,
|
|
61
|
+
endtime: null,
|
|
62
|
+
helpdesk: null,
|
|
63
|
+
id: 1020,
|
|
64
|
+
machine: null,
|
|
65
|
+
note: 'AB Culinar (DEMO) todo',
|
|
66
|
+
person: null,
|
|
67
|
+
project: null,
|
|
68
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
69
|
+
subject: 'AB Culinar (DEMO) todo',
|
|
70
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
71
|
+
todostatus: '202801',
|
|
72
|
+
updateduser: 1,
|
|
73
|
+
weekday2: 'wed',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
business: null,
|
|
77
|
+
business2: null,
|
|
78
|
+
campaign: null,
|
|
79
|
+
company: 1022,
|
|
80
|
+
coworker: 1054,
|
|
81
|
+
createdtime: '2016-03-08T15:36:46.430000+01:00',
|
|
82
|
+
createduser: 1,
|
|
83
|
+
descriptive: 'PH Glas (DEMO)',
|
|
84
|
+
done: false,
|
|
85
|
+
endtime: null,
|
|
86
|
+
helpdesk: null,
|
|
87
|
+
id: 1020,
|
|
88
|
+
machine: null,
|
|
89
|
+
note: 'PH Glas (DEMO) todo',
|
|
90
|
+
person: null,
|
|
91
|
+
project: null,
|
|
92
|
+
starttime: '2018-10-10T00:00:00+02:00',
|
|
93
|
+
subject: 'PH Glas (DEMO) todo',
|
|
94
|
+
timestamp: '2023-09-14T16:48:53.407000+02:00',
|
|
95
|
+
todostatus: '202801',
|
|
96
|
+
updateduser: 1,
|
|
97
|
+
weekday2: 'tue',
|
|
98
|
+
},
|
|
99
|
+
].map((data) => {
|
|
100
|
+
const limeobject = Object.assign(Object.assign({}, data), { getLimetype: () => getLimetype('todo'), getValue: (property) => getValue(property, limeobject) });
|
|
101
|
+
return limeobject;
|
|
102
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-web-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.18.0",
|
|
4
4
|
"description": "Lime Web Components",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@typescript-eslint/parser": "^5.62.0",
|
|
42
42
|
"commitizen": "^4.3.0",
|
|
43
43
|
"cz-conventional-changelog": "^3.3.0",
|
|
44
|
-
"eslint": "^8.
|
|
44
|
+
"eslint": "^8.51.0",
|
|
45
45
|
"eslint-config-prettier": "^8.10.0",
|
|
46
46
|
"eslint-plugin-ban": "^1.6.0",
|
|
47
47
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|