sf-i-reporting 1.0.21 → 1.0.22

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.
Files changed (43) hide show
  1. package/dataObjects.d.ts +28 -28
  2. package/dataObjects.js +56 -56
  3. package/dev/index.html +340 -0
  4. package/index.html +11 -0
  5. package/package.json +1 -1
  6. package/rollup.config.js +38 -0
  7. package/sf-i-reporting.d.ts +128 -128
  8. package/sf-i-reporting.d.ts.map +1 -1
  9. package/sf-i-reporting.js +1360 -1364
  10. package/sf-i-reporting.js.map +1 -1
  11. package/src/dataObjects.ts +83 -0
  12. package/src/sf-i-reporting.ts +1850 -0
  13. package/src/test/sf-i-reporting_test.ts +23 -0
  14. package/src/util.ts +104 -0
  15. package/test/sf-i-elastic-text_test.d.ts +7 -0
  16. package/test/sf-i-elastic-text_test.d.ts.map +1 -0
  17. package/test/sf-i-elastic-text_test.js +18 -0
  18. package/test/sf-i-elastic-text_test.js.map +1 -0
  19. package/test/sf-i-form_test.d.ts +7 -0
  20. package/test/sf-i-form_test.d.ts.map +1 -0
  21. package/test/sf-i-form_test.js +18 -0
  22. package/test/sf-i-form_test.js.map +1 -0
  23. package/test/sf-i-reporting_test.d.ts +7 -0
  24. package/test/sf-i-reporting_test.d.ts.map +1 -0
  25. package/test/sf-i-reporting_test.js +18 -0
  26. package/test/sf-i-reporting_test.js.map +1 -0
  27. package/test/sf-i-select_test.d.ts +7 -0
  28. package/test/sf-i-select_test.d.ts.map +1 -0
  29. package/test/sf-i-select_test.js +18 -0
  30. package/test/sf-i-select_test.js.map +1 -0
  31. package/test/sf-nav_profile_test.d.ts +7 -0
  32. package/test/sf-nav_profile_test.d.ts.map +1 -0
  33. package/test/sf-nav_profile_test.js +139 -0
  34. package/test/sf-nav_profile_test.js.map +1 -0
  35. package/test/sf-nav_test.d.ts +7 -0
  36. package/test/sf-nav_test.d.ts.map +1 -0
  37. package/test/sf-nav_test.js +358 -0
  38. package/test/sf-nav_test.js.map +1 -0
  39. package/tsconfig.json +33 -0
  40. package/util.d.ts +12 -12
  41. package/util.js +82 -82
  42. package/web-dev-server.config.js +25 -0
  43. package/web-test-runner.config.js +124 -0
package/dataObjects.d.ts CHANGED
@@ -1,29 +1,29 @@
1
- export interface DataObject {
2
- type: string;
3
- name: string;
4
- size: string;
5
- label: string;
6
- hint: string;
7
- id: string;
8
- value: string | string[];
9
- options: string[];
10
- collapse: string;
11
- apiid: string;
12
- mode: string;
13
- maxselect: string;
14
- searchstring: string;
15
- selectprojection: string;
16
- ignoredprojections: string | string[];
17
- mandatory: any;
18
- }
19
- export declare function createDataObject(element: any, iter?: number): DataObject;
20
- export interface AddButtonObject {
21
- id: string;
22
- label: string;
23
- schema: string;
24
- direction: string;
25
- children: DataObject[][];
26
- }
27
- export declare function createAddButtonObject(element: any): AddButtonObject;
28
- export declare function isAddButtonObject(element: any): element is AddButtonObject;
1
+ export interface DataObject {
2
+ type: string;
3
+ name: string;
4
+ size: string;
5
+ label: string;
6
+ hint: string;
7
+ id: string;
8
+ value: string | string[];
9
+ options: string[];
10
+ collapse: string;
11
+ apiid: string;
12
+ mode: string;
13
+ maxselect: string;
14
+ searchstring: string;
15
+ selectprojection: string;
16
+ ignoredprojections: string | string[];
17
+ mandatory: any;
18
+ }
19
+ export declare function createDataObject(element: any, iter?: number): DataObject;
20
+ export interface AddButtonObject {
21
+ id: string;
22
+ label: string;
23
+ schema: string;
24
+ direction: string;
25
+ children: DataObject[][];
26
+ }
27
+ export declare function createAddButtonObject(element: any): AddButtonObject;
28
+ export declare function isAddButtonObject(element: any): element is AddButtonObject;
29
29
  //# sourceMappingURL=dataObjects.d.ts.map
package/dataObjects.js CHANGED
@@ -1,57 +1,57 @@
1
- export function createDataObject(element, iter) {
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
3
- if (iter == null) {
4
- return {
5
- type: element.type,
6
- name: (_a = element.name) !== null && _a !== void 0 ? _a : "",
7
- size: (_b = element.size) !== null && _b !== void 0 ? _b : "",
8
- label: (_c = element.label) !== null && _c !== void 0 ? _c : "",
9
- hint: (_d = element.hint) !== null && _d !== void 0 ? _d : "",
10
- id: (_e = element.id) !== null && _e !== void 0 ? _e : "",
11
- value: (_f = element.value) !== null && _f !== void 0 ? _f : "",
12
- options: (_g = element.options) !== null && _g !== void 0 ? _g : ["Yes", "No"],
13
- collapse: (_h = element.collapse) !== null && _h !== void 0 ? _h : "true",
14
- mode: (_j = element.mode) !== null && _j !== void 0 ? _j : "",
15
- maxselect: (_k = element.maxselect) !== null && _k !== void 0 ? _k : "",
16
- apiid: (_l = element.apiid) !== null && _l !== void 0 ? _l : "",
17
- searchstring: (_m = element.searchstring) !== null && _m !== void 0 ? _m : "",
18
- selectprojection: (_o = element.selectprojection) !== null && _o !== void 0 ? _o : "",
19
- ignoredprojections: (_p = element.ignoredprojections) !== null && _p !== void 0 ? _p : "",
20
- mandatory: element.mandatory
21
- };
22
- }
23
- else {
24
- return {
25
- type: element.type,
26
- name: ((_q = element.name) !== null && _q !== void 0 ? _q : "").replace(/{iter}/g, iter + ""),
27
- size: (_r = element.size) !== null && _r !== void 0 ? _r : "",
28
- label: ((_s = element.label) !== null && _s !== void 0 ? _s : "").replace(/{iter}/g, iter + ""),
29
- hint: ((_t = element.hint) !== null && _t !== void 0 ? _t : "").replace(/{iter}/g, iter + ""),
30
- id: ((_u = element.id) !== null && _u !== void 0 ? _u : "").replace(/{iter}/g, "-" + iter + ""),
31
- options: (_v = element.options) !== null && _v !== void 0 ? _v : ["Yes", "No"],
32
- value: (_w = element.value) !== null && _w !== void 0 ? _w : "",
33
- collapse: (_x = element.collapse) !== null && _x !== void 0 ? _x : "true",
34
- mode: (_y = element.mode) !== null && _y !== void 0 ? _y : "",
35
- maxselect: (_z = element.maxselect) !== null && _z !== void 0 ? _z : "",
36
- apiid: (_0 = element.apiid) !== null && _0 !== void 0 ? _0 : "",
37
- searchstring: (_1 = element.searchstring) !== null && _1 !== void 0 ? _1 : "",
38
- selectprojection: (_2 = element.selectprojection) !== null && _2 !== void 0 ? _2 : "",
39
- ignoredprojections: (_3 = element.ignoredprojections) !== null && _3 !== void 0 ? _3 : "",
40
- mandatory: element.mandatory
41
- };
42
- }
43
- }
44
- export function createAddButtonObject(element) {
45
- var _a;
46
- return {
47
- id: element.id,
48
- label: element.label,
49
- schema: element.schema,
50
- direction: (_a = element.direction) !== null && _a !== void 0 ? _a : "column",
51
- children: []
52
- };
53
- }
54
- export function isAddButtonObject(element) {
55
- return 'schema' in element;
56
- }
1
+ export function createDataObject(element, iter) {
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
3
+ if (iter == null) {
4
+ return {
5
+ type: element.type,
6
+ name: (_a = element.name) !== null && _a !== void 0 ? _a : "",
7
+ size: (_b = element.size) !== null && _b !== void 0 ? _b : "",
8
+ label: (_c = element.label) !== null && _c !== void 0 ? _c : "",
9
+ hint: (_d = element.hint) !== null && _d !== void 0 ? _d : "",
10
+ id: (_e = element.id) !== null && _e !== void 0 ? _e : "",
11
+ value: (_f = element.value) !== null && _f !== void 0 ? _f : "",
12
+ options: (_g = element.options) !== null && _g !== void 0 ? _g : ["Yes", "No"],
13
+ collapse: (_h = element.collapse) !== null && _h !== void 0 ? _h : "true",
14
+ mode: (_j = element.mode) !== null && _j !== void 0 ? _j : "",
15
+ maxselect: (_k = element.maxselect) !== null && _k !== void 0 ? _k : "",
16
+ apiid: (_l = element.apiid) !== null && _l !== void 0 ? _l : "",
17
+ searchstring: (_m = element.searchstring) !== null && _m !== void 0 ? _m : "",
18
+ selectprojection: (_o = element.selectprojection) !== null && _o !== void 0 ? _o : "",
19
+ ignoredprojections: (_p = element.ignoredprojections) !== null && _p !== void 0 ? _p : "",
20
+ mandatory: element.mandatory
21
+ };
22
+ }
23
+ else {
24
+ return {
25
+ type: element.type,
26
+ name: ((_q = element.name) !== null && _q !== void 0 ? _q : "").replace(/{iter}/g, iter + ""),
27
+ size: (_r = element.size) !== null && _r !== void 0 ? _r : "",
28
+ label: ((_s = element.label) !== null && _s !== void 0 ? _s : "").replace(/{iter}/g, iter + ""),
29
+ hint: ((_t = element.hint) !== null && _t !== void 0 ? _t : "").replace(/{iter}/g, iter + ""),
30
+ id: ((_u = element.id) !== null && _u !== void 0 ? _u : "").replace(/{iter}/g, "-" + iter + ""),
31
+ options: (_v = element.options) !== null && _v !== void 0 ? _v : ["Yes", "No"],
32
+ value: (_w = element.value) !== null && _w !== void 0 ? _w : "",
33
+ collapse: (_x = element.collapse) !== null && _x !== void 0 ? _x : "true",
34
+ mode: (_y = element.mode) !== null && _y !== void 0 ? _y : "",
35
+ maxselect: (_z = element.maxselect) !== null && _z !== void 0 ? _z : "",
36
+ apiid: (_0 = element.apiid) !== null && _0 !== void 0 ? _0 : "",
37
+ searchstring: (_1 = element.searchstring) !== null && _1 !== void 0 ? _1 : "",
38
+ selectprojection: (_2 = element.selectprojection) !== null && _2 !== void 0 ? _2 : "",
39
+ ignoredprojections: (_3 = element.ignoredprojections) !== null && _3 !== void 0 ? _3 : "",
40
+ mandatory: element.mandatory
41
+ };
42
+ }
43
+ }
44
+ export function createAddButtonObject(element) {
45
+ var _a;
46
+ return {
47
+ id: element.id,
48
+ label: element.label,
49
+ schema: element.schema,
50
+ direction: (_a = element.direction) !== null && _a !== void 0 ? _a : "column",
51
+ children: []
52
+ };
53
+ }
54
+ export function isAddButtonObject(element) {
55
+ return 'schema' in element;
56
+ }
57
57
  //# sourceMappingURL=dataObjects.js.map
package/dev/index.html ADDED
@@ -0,0 +1,340 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <title>&lt;sf-i-reporting> Demo</title>
8
+ <script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
9
+ <script src="../node_modules/lit/polyfill-support.js"></script>
10
+ <script type="module" src="../sf-i-reporting.js"></script>
11
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
12
+ rel="stylesheet">
13
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
14
+ <link rel="preconnect" href="https://fonts.googleapis.com">
15
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
16
+ <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600&display=swap" rel="stylesheet">
17
+ <script type="module">
18
+ import {LitElement, html, css} from 'https://esm.run/lit-element/lit-element.js';
19
+ import {SfIElasticText} from 'https://esm.run/sf-i-elastic-text@1.0.17/sf-i-elastic-text.js';
20
+ import {SfIForm} from 'https://esm.run/sf-i-form@1.0.181/sf-i-form.js';
21
+ </script>
22
+ <style>
23
+
24
+ body {
25
+ background-color: #efefef;
26
+ margin: 0px;
27
+ font-family: 'Source Sans Pro';
28
+ }
29
+
30
+ sf-i-reporting:not(:defined) {
31
+ display: none;
32
+ }
33
+
34
+ .d-flex {
35
+ display: flex;
36
+ flex-wrap: wrap;
37
+ }
38
+
39
+ .w-30 {
40
+ width: 30%;
41
+ }
42
+
43
+ .w-5 {
44
+ width: 5%;
45
+ }
46
+
47
+ .w-47-5 {
48
+ width: 47.5%;
49
+ }
50
+
51
+ .w-65 {
52
+ width: 65%;
53
+ }
54
+
55
+ .w-100-m-0 {
56
+ width: 100%;
57
+ }
58
+
59
+ .w-33 {
60
+ width: 30%;
61
+ }
62
+
63
+ .w-66 {
64
+ width: 62%;
65
+ }
66
+
67
+ .w-50 {
68
+ width: 46%;
69
+ }
70
+ .w-100 {
71
+ width: 94%;
72
+ }
73
+ .mb-20 {
74
+ margin-bottom: 20px;
75
+ }
76
+ .justify-center {
77
+ justify-content: center;
78
+ }
79
+
80
+ .align-end {
81
+ align-items: flex-end;
82
+ }
83
+
84
+ label {
85
+ color: #666;
86
+ }
87
+
88
+ input {
89
+ border: none;
90
+ padding: 10px;
91
+ border-radius: 5px;
92
+ background: #efefef;
93
+ box-shadow: inset 2px 2px 6px rgba(5, 5, 5, 0.2);
94
+ border-top: solid 1px rgba(255, 255, 255, 0.8);
95
+ border-left: solid 1px rgba(255, 255, 255, 0.8);
96
+ border-bottom: solid 1px rgba(255, 255, 255, 0.8);
97
+ border-right: solid 1px rgba(255, 255, 255, 0.8);
98
+ transition: 0.3s;
99
+ }
100
+
101
+ input:focus {
102
+ outline-color: #e8e8e8;
103
+ background: #e8e8e8;
104
+ box-shadow: inset 20px 20px 60px #c5c5c5,
105
+ inset -20px -20px 60px #ffffff;
106
+ transition: 0.3s;
107
+ }
108
+
109
+ sf-i-reporting::part(button-icon) {
110
+
111
+ border-width: 0px;
112
+ border-radius: 5px;
113
+ color: #666;
114
+ background: #efefef;
115
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
116
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
117
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
118
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
119
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
120
+
121
+ }
122
+
123
+ sf-i-reporting::part(button-icon-small) {
124
+
125
+ border-width: 0px;
126
+ border-radius: 5px;
127
+ color: #666;
128
+ background: #efefef;
129
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
130
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
131
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
132
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
133
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
134
+
135
+ }
136
+
137
+ sf-i-reporting::part(badge) {
138
+
139
+ color: #666;
140
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
141
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
142
+ padding-left: 10px;
143
+ padding-right: 10px;
144
+ padding-top: 5px;
145
+ padding-bottom: 5px;
146
+ border-radius: 10px;
147
+ margin-top: -8px;
148
+
149
+ }
150
+
151
+ sf-i-reporting::part(title) {
152
+
153
+ font-weight: 400;
154
+
155
+ }
156
+
157
+ sf-i-select::part(input-label),
158
+ sf-i-sub-select::part(input-label),
159
+ sf-i-reporting::part(input-label) {
160
+ color: #666;
161
+ }
162
+
163
+ sf-i-select::part(input-select),
164
+ sf-i-sub-select::part(input-select),
165
+ sf-i-reporting::part(input-select) {
166
+
167
+ border-width: 0px;
168
+ border-radius: 5px;
169
+ color: #666;
170
+ background: #efefef;
171
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
172
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
173
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
174
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
175
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
176
+ padding: 10px;
177
+
178
+ }
179
+
180
+ sf-i-select::part(input-select-multi),
181
+ sf-i-sub-select::part(input-select-multi) {
182
+ font-weight: 400;
183
+ border: none;
184
+ padding: 10px;
185
+ border-radius: 5px;
186
+ background: #efefef;
187
+ box-shadow: inset 2px 2px 6px rgba(5, 5, 5, 0.2);
188
+ border-top: solid 1px rgba(255, 255, 255, 0.8);
189
+ border-left: solid 1px rgba(255, 255, 255, 0.8);
190
+ border-bottom: solid 1px rgba(255, 255, 255, 0.8);
191
+ border-right: solid 1px rgba(255, 255, 255, 0.8);
192
+ transition: 0.3s;
193
+ }
194
+
195
+ sf-i-reporting::part(input) {
196
+ font-weight: 400;
197
+ border: none;
198
+ padding: 10px;
199
+ border-radius: 5px;
200
+ background: #efefef;
201
+ box-shadow: inset 2px 2px 6px rgba(5, 5, 5, 0.2);
202
+ border-top: solid 1px rgba(255, 255, 255, 0.8);
203
+ border-left: solid 1px rgba(255, 255, 255, 0.8);
204
+ border-bottom: solid 1px rgba(255, 255, 255, 0.8);
205
+ border-right: solid 1px rgba(255, 255, 255, 0.8);
206
+ transition: 0.3s;
207
+ }
208
+
209
+ sf-i-reporting::part(input:focus) {
210
+ outline-color: #e8e8e8;
211
+ background: #e8e8e8;
212
+ box-shadow: inset 20px 20px 60px #c5c5c5,
213
+ inset -20px -20px 60px #ffffff;
214
+ transition: 0.3s;
215
+ }
216
+
217
+ sf-i-reporting::part(results-title) {
218
+ color: #444;
219
+ font-weight: 400;
220
+ }
221
+
222
+ sf-i-reporting::part(td-head) {
223
+ color: #888;
224
+ font-weight: 400;
225
+ padding: 5px;
226
+ vertical-align: middle;
227
+ width: 100%;
228
+ }
229
+
230
+ sf-i-reporting::part(td-body) {
231
+ color: #555;
232
+ font-weight: 400;
233
+ /* padding: 5px; */
234
+ vertical-align: middle;
235
+ }
236
+
237
+ sf-i-reporting::part(td-action) {
238
+ color: #888;
239
+ font-weight: 400;
240
+ padding: 5px;
241
+ background-color: #efefef;
242
+ vertical-align: middle;
243
+ }
244
+
245
+ sf-i-reporting::part(button) {
246
+ color: #666;
247
+ background: #efefef;
248
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
249
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
250
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
251
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
252
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
253
+ padding-left: 10px;
254
+ padding-right: 10px;
255
+ padding-top: 5px;
256
+ padding-bottom: 5px;
257
+ border-radius: 5px;
258
+ }
259
+
260
+
261
+
262
+ sf-i-reporting::part(button-lg) {
263
+ color: #666;
264
+ background: #efefef;
265
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
266
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
267
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
268
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
269
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
270
+ padding-left: 10px;
271
+ padding-right: 10px;
272
+ padding-top: 10px;
273
+ padding-bottom: 10px;
274
+ border-radius: 5px;
275
+ font-size: 110%;
276
+ }
277
+
278
+ sf-i-reporting::part(button-lg):not(active){
279
+ color: #666;
280
+ background: #bbbbbb;
281
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
282
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
283
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
284
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
285
+ border-right: solid 1px rgba(0, 0, 0, 0.1);
286
+ padding-left: 10px;
287
+ padding-right: 10px;
288
+ padding-top: 15px;
289
+ padding-bottom: 15px;
290
+ border-radius: 5px;
291
+ font-size: 95%;
292
+ }
293
+
294
+ sf-i-reporting::part(reporting-container) {
295
+ /* position: fixed;
296
+ left: 0px;
297
+ top: 0px;
298
+ width: 100%; */
299
+ height: 100vh;
300
+ /* background-color: #efefef;
301
+ box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
302
+ border-top: solid 1px rgba(255, 255, 255, 0.3);
303
+ border-left: solid 1px rgba(255, 255, 255, 0.3);
304
+ border-bottom: solid 1px rgba(0, 0, 0, 0.1);
305
+ border-right: solid 1px rgba(0, 0, 0, 0.1); */
306
+ overflow-y: auto;
307
+ /* margin: 0px; */
308
+ }
309
+ sf-i-reporting::part(form-container) {
310
+ height: 60vh;
311
+ overflow-y: auto;
312
+ }
313
+ sf-i-reporting::part(form-td-action) {
314
+ /* height: 60vh; */
315
+ overflow-y: auto;
316
+ }
317
+ </style>
318
+ </head>
319
+ <body>
320
+
321
+ <!-- <sf-i-reporting text="Vendor Tagging Vendor Tagging Vendor Tagging Vendor Tagging" minLength="20">
322
+ </sf-i-reporting> -->
323
+ <!-- <sf-i-reporting mode="new" name="Test Name">
324
+ </sf-i-reporting> -->
325
+ <sf-i-reporting mode="admin" name="Test Name" flow="list" apiid="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Globals" ignoreprojections="[&quot;reporters&quot;,&quot;approvers&quot;,&quot;functionheads&quot;,&quot;auditors&quot;,&quot;viewers&quot;,&quot;entityid&quot;,&quot;locationid&quot;,&quot;countryid&quot;,&quot;tags&quot;,&quot;docs&quot;]">
326
+ </sf-i-reporting>
327
+ <!-- <sf-i-reporting id="detail-reporting" name="Notice Details" apiid="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws" mode="admin" flow="details" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global" editdisable="true">
328
+ <div slot="reporting-form">
329
+ <sf-i-form id="reporting-form"></sf-i-form>
330
+ </div>
331
+ </sf-i-reporting> -->
332
+ <div class="mb-20"></div>
333
+ <!-- <sf-i-reporting mode="downloader" name="Downloader">
334
+ </sf-i-reporting> -->
335
+ <div class="mb-20"></div>
336
+
337
+ <script>
338
+ </script>
339
+ </body>
340
+ </html>
package/index.html ADDED
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <title>Lit Starter Kit</title>
7
+ </head>
8
+ <body>
9
+ <a href="/dev/index.html">Component Demo</a>
10
+ </body>
11
+ </html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-reporting",
3
3
  "private": false,
4
- "version": "1.0.21",
4
+ "version": "1.0.22",
5
5
  "description": "Superflows Reporting Component",
6
6
  "main": "sf-i-reporting.js",
7
7
  "module": "sf-i-reporting.js",
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ import summary from 'rollup-plugin-summary';
8
+ import {terser} from 'rollup-plugin-terser';
9
+ import resolve from '@rollup/plugin-node-resolve';
10
+ import replace from '@rollup/plugin-replace';
11
+
12
+ export default {
13
+ input: 'sf-i-reporting.js',
14
+ output: {
15
+ file: 'sf-i-reporting.bundled.js',
16
+ format: 'esm',
17
+ },
18
+ onwarn(warning) {
19
+ if (warning.code !== 'THIS_IS_UNDEFINED') {
20
+ console.error(`(!) ${warning.message}`);
21
+ }
22
+ },
23
+ plugins: [
24
+ replace({'Reflect.decorate': 'undefined'}),
25
+ resolve(),
26
+ terser({
27
+ ecma: 2017,
28
+ module: true,
29
+ warnings: true,
30
+ mangle: {
31
+ properties: {
32
+ regex: /^__/,
33
+ },
34
+ },
35
+ }),
36
+ summary(),
37
+ ],
38
+ };