sf-i-reporting 1.0.102 → 1.0.104

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/.eslintrc CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2021": true,
5
- "node": true,
6
- "commonjs": true
7
- },
8
- "extends": [
9
- "eslint:recommended",
10
- "plugin:node/recommended"
11
- ],
12
- "parserOptions": {
13
- "ecmaVersion": 12,
14
- "sourceType": "module"
15
- },
16
- "rules": {
17
- "indent": [
18
- "error",
19
- 2
20
- ],
21
- "linebreak-style": [
22
- "error",
23
- "unix"
24
- ],
25
- "quotes": [
26
- "error",
27
- "single"
28
- ],
29
- "semi": [
30
- "error",
31
- "always"
32
- ],
33
- "no-unknown-attribute": [
34
- "error",
35
- {
36
- "globalAttributes": [
37
- "mandatory"
38
- ]
39
- }
40
- ]
41
- },
42
- "globals": {
43
- "Buffer": "readonly"
44
- }
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true,
5
+ "node": true,
6
+ "commonjs": true
7
+ },
8
+ "extends": [
9
+ "eslint:recommended",
10
+ "plugin:node/recommended"
11
+ ],
12
+ "parserOptions": {
13
+ "ecmaVersion": 12,
14
+ "sourceType": "module"
15
+ },
16
+ "rules": {
17
+ "indent": [
18
+ "error",
19
+ 2
20
+ ],
21
+ "linebreak-style": [
22
+ "error",
23
+ "unix"
24
+ ],
25
+ "quotes": [
26
+ "error",
27
+ "single"
28
+ ],
29
+ "semi": [
30
+ "error",
31
+ "always"
32
+ ],
33
+ "no-unknown-attribute": [
34
+ "error",
35
+ {
36
+ "globalAttributes": [
37
+ "mandatory"
38
+ ]
39
+ }
40
+ ]
41
+ },
42
+ "globals": {
43
+ "Buffer": "readonly"
44
+ }
45
45
  }
package/dataObjects.d.ts CHANGED
@@ -1,40 +1,40 @@
1
- export interface DataObject {
2
- type: string;
3
- name: string;
4
- size: string;
5
- label: string;
6
- hint: string;
7
- id: string;
8
- value: any;
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
- savenameseparate: string;
18
- dependencies: string[];
19
- allowedextensions: string;
20
- extract: string;
21
- maxsize: string;
22
- allowdownload: string;
23
- selectfields: string[];
24
- mandatory: any;
25
- copytoreopen: boolean;
26
- displayinhistory: boolean;
27
- elementsjson: string;
28
- customreporting: boolean;
29
- }
30
- export declare function createDataObject(element: any, iter?: number): DataObject;
31
- export interface AddButtonObject {
32
- id: string;
33
- label: string;
34
- schema: string;
35
- direction: string;
36
- children: DataObject[][];
37
- }
38
- export declare function createAddButtonObject(element: any): AddButtonObject;
39
- 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: any;
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
+ savenameseparate: string;
18
+ dependencies: string[];
19
+ allowedextensions: string;
20
+ extract: string;
21
+ maxsize: string;
22
+ allowdownload: string;
23
+ selectfields: string[];
24
+ mandatory: any;
25
+ copytoreopen: boolean;
26
+ displayinhistory: boolean;
27
+ elementsjson: string;
28
+ customreporting: boolean;
29
+ }
30
+ export declare function createDataObject(element: any, iter?: number): DataObject;
31
+ export interface AddButtonObject {
32
+ id: string;
33
+ label: string;
34
+ schema: string;
35
+ direction: string;
36
+ children: DataObject[][];
37
+ }
38
+ export declare function createAddButtonObject(element: any): AddButtonObject;
39
+ export declare function isAddButtonObject(element: any): element is AddButtonObject;
40
40
  //# sourceMappingURL=dataObjects.d.ts.map
package/dataObjects.js CHANGED
@@ -1,79 +1,79 @@
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, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27;
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
- savenameseparate: (_q = element.savenameseparate) !== null && _q !== void 0 ? _q : "no",
21
- dependencies: (_r = element.dependencies) !== null && _r !== void 0 ? _r : [],
22
- allowedextensions: (_s = element.allowedextensions) !== null && _s !== void 0 ? _s : "",
23
- extract: (_t = element.extract) !== null && _t !== void 0 ? _t : "",
24
- maxsize: (_u = element.maxsize) !== null && _u !== void 0 ? _u : "",
25
- allowdownload: (_v = element.allowdownload) !== null && _v !== void 0 ? _v : "",
26
- selectfields: (_w = element.selectfields) !== null && _w !== void 0 ? _w : [],
27
- mandatory: (_x = element.mandatory) !== null && _x !== void 0 ? _x : null,
28
- copytoreopen: ((_y = element.copytoreopen) !== null && _y !== void 0 ? _y : "") == "yes",
29
- displayinhistory: ((_z = element.displayinhistory) !== null && _z !== void 0 ? _z : "") == "yes",
30
- elementsjson: (_0 = element.elementsjson) !== null && _0 !== void 0 ? _0 : "",
31
- customreporting: ((_1 = element.customreporting) !== null && _1 !== void 0 ? _1 : "") == "yes"
32
- };
33
- }
34
- else {
35
- return {
36
- type: element.type,
37
- name: ((_2 = element.name) !== null && _2 !== void 0 ? _2 : "").replace(/{iter}/g, iter + ""),
38
- size: (_3 = element.size) !== null && _3 !== void 0 ? _3 : "",
39
- label: ((_4 = element.label) !== null && _4 !== void 0 ? _4 : "").replace(/{iter}/g, iter + ""),
40
- hint: ((_5 = element.hint) !== null && _5 !== void 0 ? _5 : "").replace(/{iter}/g, iter + ""),
41
- id: ((_6 = element.id) !== null && _6 !== void 0 ? _6 : "").replace(/{iter}/g, "-" + iter + ""),
42
- options: (_7 = element.options) !== null && _7 !== void 0 ? _7 : ["Yes", "No"],
43
- value: (_8 = element.value) !== null && _8 !== void 0 ? _8 : "",
44
- collapse: (_9 = element.collapse) !== null && _9 !== void 0 ? _9 : "true",
45
- mode: (_10 = element.mode) !== null && _10 !== void 0 ? _10 : "",
46
- maxselect: (_11 = element.maxselect) !== null && _11 !== void 0 ? _11 : "",
47
- apiid: (_12 = element.apiid) !== null && _12 !== void 0 ? _12 : "",
48
- searchstring: (_13 = element.searchstring) !== null && _13 !== void 0 ? _13 : "",
49
- selectprojection: (_14 = element.selectprojection) !== null && _14 !== void 0 ? _14 : "",
50
- ignoredprojections: (_15 = element.ignoredprojections) !== null && _15 !== void 0 ? _15 : "",
51
- savenameseparate: (_16 = element.savenameseparate) !== null && _16 !== void 0 ? _16 : "no",
52
- dependencies: (_17 = element.dependencies) !== null && _17 !== void 0 ? _17 : [],
53
- allowedextensions: (_18 = element.allowedextensions) !== null && _18 !== void 0 ? _18 : "",
54
- extract: (_19 = element.extract) !== null && _19 !== void 0 ? _19 : "",
55
- maxsize: (_20 = element.maxsize) !== null && _20 !== void 0 ? _20 : "",
56
- allowdownload: (_21 = element.allowdownload) !== null && _21 !== void 0 ? _21 : "",
57
- selectfields: (_22 = element.selectfields) !== null && _22 !== void 0 ? _22 : [],
58
- mandatory: (_23 = element.mandatory) !== null && _23 !== void 0 ? _23 : null,
59
- copytoreopen: ((_24 = element.copytoreopen) !== null && _24 !== void 0 ? _24 : "") == "yes",
60
- displayinhistory: ((_25 = element.displayinhistory) !== null && _25 !== void 0 ? _25 : "") == "yes",
61
- elementsjson: (_26 = element.elementsjson) !== null && _26 !== void 0 ? _26 : "",
62
- customreporting: ((_27 = element.customreporting) !== null && _27 !== void 0 ? _27 : "") == "yes"
63
- };
64
- }
65
- }
66
- export function createAddButtonObject(element) {
67
- var _a;
68
- return {
69
- id: element.id,
70
- label: element.label,
71
- schema: element.schema,
72
- direction: (_a = element.direction) !== null && _a !== void 0 ? _a : "column",
73
- children: []
74
- };
75
- }
76
- export function isAddButtonObject(element) {
77
- return 'schema' in element;
78
- }
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, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27;
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
+ savenameseparate: (_q = element.savenameseparate) !== null && _q !== void 0 ? _q : "no",
21
+ dependencies: (_r = element.dependencies) !== null && _r !== void 0 ? _r : [],
22
+ allowedextensions: (_s = element.allowedextensions) !== null && _s !== void 0 ? _s : "",
23
+ extract: (_t = element.extract) !== null && _t !== void 0 ? _t : "",
24
+ maxsize: (_u = element.maxsize) !== null && _u !== void 0 ? _u : "",
25
+ allowdownload: (_v = element.allowdownload) !== null && _v !== void 0 ? _v : "",
26
+ selectfields: (_w = element.selectfields) !== null && _w !== void 0 ? _w : [],
27
+ mandatory: (_x = element.mandatory) !== null && _x !== void 0 ? _x : null,
28
+ copytoreopen: ((_y = element.copytoreopen) !== null && _y !== void 0 ? _y : "") == "yes",
29
+ displayinhistory: ((_z = element.displayinhistory) !== null && _z !== void 0 ? _z : "") == "yes",
30
+ elementsjson: (_0 = element.elementsjson) !== null && _0 !== void 0 ? _0 : "",
31
+ customreporting: ((_1 = element.customreporting) !== null && _1 !== void 0 ? _1 : "") == "yes"
32
+ };
33
+ }
34
+ else {
35
+ return {
36
+ type: element.type,
37
+ name: ((_2 = element.name) !== null && _2 !== void 0 ? _2 : "").replace(/{iter}/g, iter + ""),
38
+ size: (_3 = element.size) !== null && _3 !== void 0 ? _3 : "",
39
+ label: ((_4 = element.label) !== null && _4 !== void 0 ? _4 : "").replace(/{iter}/g, iter + ""),
40
+ hint: ((_5 = element.hint) !== null && _5 !== void 0 ? _5 : "").replace(/{iter}/g, iter + ""),
41
+ id: ((_6 = element.id) !== null && _6 !== void 0 ? _6 : "").replace(/{iter}/g, "-" + iter + ""),
42
+ options: (_7 = element.options) !== null && _7 !== void 0 ? _7 : ["Yes", "No"],
43
+ value: (_8 = element.value) !== null && _8 !== void 0 ? _8 : "",
44
+ collapse: (_9 = element.collapse) !== null && _9 !== void 0 ? _9 : "true",
45
+ mode: (_10 = element.mode) !== null && _10 !== void 0 ? _10 : "",
46
+ maxselect: (_11 = element.maxselect) !== null && _11 !== void 0 ? _11 : "",
47
+ apiid: (_12 = element.apiid) !== null && _12 !== void 0 ? _12 : "",
48
+ searchstring: (_13 = element.searchstring) !== null && _13 !== void 0 ? _13 : "",
49
+ selectprojection: (_14 = element.selectprojection) !== null && _14 !== void 0 ? _14 : "",
50
+ ignoredprojections: (_15 = element.ignoredprojections) !== null && _15 !== void 0 ? _15 : "",
51
+ savenameseparate: (_16 = element.savenameseparate) !== null && _16 !== void 0 ? _16 : "no",
52
+ dependencies: (_17 = element.dependencies) !== null && _17 !== void 0 ? _17 : [],
53
+ allowedextensions: (_18 = element.allowedextensions) !== null && _18 !== void 0 ? _18 : "",
54
+ extract: (_19 = element.extract) !== null && _19 !== void 0 ? _19 : "",
55
+ maxsize: (_20 = element.maxsize) !== null && _20 !== void 0 ? _20 : "",
56
+ allowdownload: (_21 = element.allowdownload) !== null && _21 !== void 0 ? _21 : "",
57
+ selectfields: (_22 = element.selectfields) !== null && _22 !== void 0 ? _22 : [],
58
+ mandatory: (_23 = element.mandatory) !== null && _23 !== void 0 ? _23 : null,
59
+ copytoreopen: ((_24 = element.copytoreopen) !== null && _24 !== void 0 ? _24 : "") == "yes",
60
+ displayinhistory: ((_25 = element.displayinhistory) !== null && _25 !== void 0 ? _25 : "") == "yes",
61
+ elementsjson: (_26 = element.elementsjson) !== null && _26 !== void 0 ? _26 : "",
62
+ customreporting: ((_27 = element.customreporting) !== null && _27 !== void 0 ? _27 : "") == "yes"
63
+ };
64
+ }
65
+ }
66
+ export function createAddButtonObject(element) {
67
+ var _a;
68
+ return {
69
+ id: element.id,
70
+ label: element.label,
71
+ schema: element.schema,
72
+ direction: (_a = element.direction) !== null && _a !== void 0 ? _a : "column",
73
+ children: []
74
+ };
75
+ }
76
+ export function isAddButtonObject(element) {
77
+ return 'schema' in element;
78
+ }
79
79
  //# sourceMappingURL=dataObjects.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-reporting",
3
3
  "private": false,
4
- "version": "1.0.102",
4
+ "version": "1.0.104",
5
5
  "description": "Superflows Reporting Component",
6
6
  "main": "sf-i-reporting.js",
7
7
  "module": "sf-i-reporting.js",
@@ -1,147 +1,148 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Superflow.dev
4
- * SPDX-License-Identifier: MIT
5
- */
6
- import { LitElement, PropertyValueMap } from 'lit';
7
- import { DataObject, AddButtonObject } from './dataObjects';
8
- /**
9
- * SfIReporting element.
10
- * @fires renderComplete - When the list is populated
11
- * @fires valueChanged - When the value is changed
12
- * @property apiId - backend api id
13
- * @property label - input label
14
- * @property name - name of the input
15
- * @property mode - mode of operation
16
- * @property selectedId - id to preselect
17
- * @property selectedValue - callback function
18
- */
19
- export declare class SfIReporting extends LitElement {
20
- apiId: string;
21
- apiIdUploader: string;
22
- projectid: string;
23
- projectname: string;
24
- configjson: string;
25
- getConfigJson: () => any;
26
- prepopulateValJson: string;
27
- getPrepopulateJson: () => any;
28
- mode: string;
29
- flow: string;
30
- name: string;
31
- ignoreprojections: string;
32
- editdisable: string;
33
- showterminate: string;
34
- getIgnoreProjections: () => any;
35
- usermap: string;
36
- getUserMap: () => any;
37
- formviewclass: string;
38
- dataModel: any[];
39
- list: any[];
40
- published: boolean;
41
- terminated: boolean;
42
- lastCalendarGenerated: string;
43
- nextCalendarScheduled: string;
44
- selectedItem: any;
45
- selectedItemIds: any;
46
- reopenedItem: any;
47
- static styles: import("lit").CSSResult;
48
- _SfRowError: any;
49
- _SfRowErrorMessage: any;
50
- _SfRowSuccess: any;
51
- _SfRowSuccessMessage: any;
52
- _SfRowNotif: any;
53
- _SfRowNotifMessage: any;
54
- _SfLoader: any;
55
- _SfIReportingC: any;
56
- _SfIReportingCCopy: any;
57
- _SfReportingContainer: any;
58
- _SfReportingContainerShort: any;
59
- _SfReportingButtonSubmit: any;
60
- _SfReportingButtonSubmitConfirm: any;
61
- _SfReportingButtonSubmitCancel: any;
62
- _SfReportingButtonEdit: any;
63
- _SfReportingButtonEditCancel: any;
64
- _SfReportingButtonDelete: any;
65
- _SfReportingButtonDeleteCancel: any;
66
- _SfReportingButtonDeleteConfirm: any;
67
- _SfReportingButtonNew: any;
68
- _SfReportingButtonBack: any;
69
- _SfDecryptContainer: any;
70
- _SfDecryptProjectInput: any;
71
- _SfDecryptFileInput: any;
72
- _SfDecryptButton: any;
73
- decryptProjectId: string;
74
- decryptFileName: string;
75
- constructor();
76
- truncate: (str: string, n: number, useWordBoundary: boolean) => string;
77
- selectedValues: () => {
78
- [key: string]: any;
79
- };
80
- submitClick: () => void;
81
- submitCancelClick: () => void;
82
- submitConfirmClick: () => void;
83
- editClick: () => void;
84
- editCancelClick: () => void;
85
- publishClick: () => void;
86
- newClick: () => void;
87
- backClick: () => void;
88
- deleteClick: () => void;
89
- deleteCancelClick: () => void;
90
- deleteConfirmClick: () => void;
91
- getSchema: () => any;
92
- getBricksValues: (element: DataObject, selectedValues?: string[]) => any[][];
93
- initListeners: () => void;
94
- initListListeners: () => void;
95
- initNewListeners: () => void;
96
- initDetailsListeners: () => void;
97
- initEditListeners: () => void;
98
- populateDataModel: () => void;
99
- populateView: (scrollTopTarget?: number) => Promise<void>;
100
- populateHistory: () => void;
101
- prepopulateValues: (showView?: boolean) => void;
102
- evalShowProgress: () => void;
103
- evalTimeout: any;
104
- initInputListeners: () => void;
105
- checkDependencies: (id: string) => Promise<void>;
106
- updateShortlistedSearchPhrases: (id: string) => void;
107
- initSectionListeners: () => void;
108
- renderAddSection: (addObj: AddButtonObject, iter: number) => string;
109
- renderSectionContainer: (addObj: AddButtonObject) => string;
110
- renderAddButton: (addObj: AddButtonObject) => string;
111
- renderElement: (dataObj: DataObject) => string;
112
- populateViewShort: () => void;
113
- populateList: () => void;
114
- csvToJson: (file: File) => Promise<any>;
115
- loadMode: () => Promise<void>;
116
- prepareXhrPresignedGet: (url: string, loaderElement: any, loaderText?: string) => Promise<unknown>;
117
- prepareXhrPresignedDelete: (url: string, loaderElement: any, loaderText?: string) => Promise<unknown>;
118
- prepareXhr: (data: any, url: string, loaderElement: any, authorization: any) => Promise<unknown>;
119
- fetchPresignedUrl: (url: string) => Promise<any>;
120
- fetchPresignedUrlDelete: (url: string) => Promise<any>;
121
- clearMessages: () => void;
122
- setError: (msg: string) => void;
123
- setSuccess: (msg: string) => void;
124
- setNotif: (msg: string) => void;
125
- fetchSchema: () => Promise<void>;
126
- fetchList: () => Promise<void>;
127
- fetchDetails: () => Promise<void>;
128
- submitNew: (obj?: any) => Promise<void>;
129
- submitEdit: () => Promise<void>;
130
- submitDelete: () => Promise<void>;
131
- submitPublish: () => Promise<void>;
132
- initDecryptView: () => void;
133
- initDecryptListeners: () => void;
134
- evalDecrypt: () => void;
135
- submitDecrypt: () => Promise<void>;
136
- showLoader: () => Promise<void>;
137
- hideLoader: () => Promise<void>;
138
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
139
- connectedCallback(): void;
140
- render(): import("lit-html").TemplateResult<1>;
141
- }
142
- declare global {
143
- interface HTMLElementTagNameMap {
144
- 'sf-i-reporting': SfIReporting;
145
- }
146
- }
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Superflow.dev
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { LitElement, PropertyValueMap } from 'lit';
7
+ import { DataObject, AddButtonObject } from './dataObjects';
8
+ /**
9
+ * SfIReporting element.
10
+ * @fires renderComplete - When the list is populated
11
+ * @fires valueChanged - When the value is changed
12
+ * @property apiId - backend api id
13
+ * @property label - input label
14
+ * @property name - name of the input
15
+ * @property mode - mode of operation
16
+ * @property selectedId - id to preselect
17
+ * @property selectedValue - callback function
18
+ */
19
+ export declare class SfIReporting extends LitElement {
20
+ apiId: string;
21
+ apiIdUploader: string;
22
+ projectid: string;
23
+ projectname: string;
24
+ configjson: string;
25
+ getConfigJson: () => any;
26
+ prepopulateValJson: string;
27
+ getPrepopulateJson: () => any;
28
+ mode: string;
29
+ flow: string;
30
+ name: string;
31
+ ignoreprojections: string;
32
+ editdisable: string;
33
+ showterminate: string;
34
+ getIgnoreProjections: () => any;
35
+ usermap: string;
36
+ getUserMap: () => any;
37
+ formviewclass: string;
38
+ disableocr: string;
39
+ dataModel: any[];
40
+ list: any[];
41
+ published: boolean;
42
+ terminated: boolean;
43
+ lastCalendarGenerated: string;
44
+ nextCalendarScheduled: string;
45
+ selectedItem: any;
46
+ selectedItemIds: any;
47
+ reopenedItem: any;
48
+ static styles: import("lit").CSSResult;
49
+ _SfRowError: any;
50
+ _SfRowErrorMessage: any;
51
+ _SfRowSuccess: any;
52
+ _SfRowSuccessMessage: any;
53
+ _SfRowNotif: any;
54
+ _SfRowNotifMessage: any;
55
+ _SfLoader: any;
56
+ _SfIReportingC: any;
57
+ _SfIReportingCCopy: any;
58
+ _SfReportingContainer: any;
59
+ _SfReportingContainerShort: any;
60
+ _SfReportingButtonSubmit: any;
61
+ _SfReportingButtonSubmitConfirm: any;
62
+ _SfReportingButtonSubmitCancel: any;
63
+ _SfReportingButtonEdit: any;
64
+ _SfReportingButtonEditCancel: any;
65
+ _SfReportingButtonDelete: any;
66
+ _SfReportingButtonDeleteCancel: any;
67
+ _SfReportingButtonDeleteConfirm: any;
68
+ _SfReportingButtonNew: any;
69
+ _SfReportingButtonBack: any;
70
+ _SfDecryptContainer: any;
71
+ _SfDecryptProjectInput: any;
72
+ _SfDecryptFileInput: any;
73
+ _SfDecryptButton: any;
74
+ decryptProjectId: string;
75
+ decryptFileName: string;
76
+ constructor();
77
+ truncate: (str: string, n: number, useWordBoundary: boolean) => string;
78
+ selectedValues: () => {
79
+ [key: string]: any;
80
+ };
81
+ submitClick: () => void;
82
+ submitCancelClick: () => void;
83
+ submitConfirmClick: () => void;
84
+ editClick: () => void;
85
+ editCancelClick: () => void;
86
+ publishClick: () => void;
87
+ newClick: () => void;
88
+ backClick: () => void;
89
+ deleteClick: () => void;
90
+ deleteCancelClick: () => void;
91
+ deleteConfirmClick: () => void;
92
+ getSchema: () => any;
93
+ getBricksValues: (element: DataObject, selectedValues?: string[]) => any[][];
94
+ initListeners: () => void;
95
+ initListListeners: () => void;
96
+ initNewListeners: () => void;
97
+ initDetailsListeners: () => void;
98
+ initEditListeners: () => void;
99
+ populateDataModel: () => void;
100
+ populateView: (scrollTopTarget?: number) => Promise<void>;
101
+ populateHistory: () => void;
102
+ prepopulateValues: (showView?: boolean) => void;
103
+ evalShowProgress: () => void;
104
+ evalTimeout: any;
105
+ initInputListeners: () => void;
106
+ checkDependencies: (id: string) => Promise<void>;
107
+ updateShortlistedSearchPhrases: (id: string) => void;
108
+ initSectionListeners: () => void;
109
+ renderAddSection: (addObj: AddButtonObject, iter: number) => string;
110
+ renderSectionContainer: (addObj: AddButtonObject) => string;
111
+ renderAddButton: (addObj: AddButtonObject) => string;
112
+ renderElement: (dataObj: DataObject) => string;
113
+ populateViewShort: () => void;
114
+ populateList: () => void;
115
+ csvToJson: (file: File) => Promise<any>;
116
+ loadMode: () => Promise<void>;
117
+ prepareXhrPresignedGet: (url: string, loaderElement: any, loaderText?: string) => Promise<unknown>;
118
+ prepareXhrPresignedDelete: (url: string, loaderElement: any, loaderText?: string) => Promise<unknown>;
119
+ prepareXhr: (data: any, url: string, loaderElement: any, authorization: any) => Promise<unknown>;
120
+ fetchPresignedUrl: (url: string) => Promise<any>;
121
+ fetchPresignedUrlDelete: (url: string) => Promise<any>;
122
+ clearMessages: () => void;
123
+ setError: (msg: string) => void;
124
+ setSuccess: (msg: string) => void;
125
+ setNotif: (msg: string) => void;
126
+ fetchSchema: () => Promise<void>;
127
+ fetchList: () => Promise<void>;
128
+ fetchDetails: () => Promise<void>;
129
+ submitNew: (obj?: any) => Promise<void>;
130
+ submitEdit: () => Promise<void>;
131
+ submitDelete: () => Promise<void>;
132
+ submitPublish: () => Promise<void>;
133
+ initDecryptView: () => void;
134
+ initDecryptListeners: () => void;
135
+ evalDecrypt: () => void;
136
+ submitDecrypt: () => Promise<void>;
137
+ showLoader: () => Promise<void>;
138
+ hideLoader: () => Promise<void>;
139
+ protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
140
+ connectedCallback(): void;
141
+ render(): import("lit-html").TemplateResult<1>;
142
+ }
143
+ declare global {
144
+ interface HTMLElementTagNameMap {
145
+ 'sf-i-reporting': SfIReporting;
146
+ }
147
+ }
147
148
  //# sourceMappingURL=sf-i-reporting.d.ts.map