@cellaware/utils 8.1.4 → 8.1.6
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/chatwms/datagrid.js
CHANGED
|
@@ -864,7 +864,7 @@ export function datagridToHtml(datagridState) {
|
|
|
864
864
|
}
|
|
865
865
|
// Apply row styles.
|
|
866
866
|
if (rowStyles.length > 0) {
|
|
867
|
-
buf += `\n\t\t<tr class="${rowStyles.join('
|
|
867
|
+
buf += `\n\t\t<tr class="${rowStyles.join(' ')}">`;
|
|
868
868
|
}
|
|
869
869
|
else {
|
|
870
870
|
buf += '\n\t\t<tr>';
|
|
@@ -873,7 +873,7 @@ export function datagridToHtml(datagridState) {
|
|
|
873
873
|
colIdx = 0;
|
|
874
874
|
for (const rowValue of cellValues) {
|
|
875
875
|
if (colStyles[colIdx].styles.length > 0) {
|
|
876
|
-
buf += `\n\t\t\t<td class="${colStyles[colIdx].styles.join('
|
|
876
|
+
buf += `\n\t\t\t<td class="${colStyles[colIdx].styles.join(' ')}">${rowValue}</td>`;
|
|
877
877
|
}
|
|
878
878
|
else {
|
|
879
879
|
buf += `\n\t\t\t<td>${rowValue}</td>`;
|
package/dist/chatwms/report.d.ts
CHANGED
|
@@ -9,6 +9,15 @@ export interface ReportParameter {
|
|
|
9
9
|
required: boolean;
|
|
10
10
|
exampleValue: string;
|
|
11
11
|
}
|
|
12
|
+
export interface ReportParameterValue {
|
|
13
|
+
parameterName: string;
|
|
14
|
+
/** `text` | `number` | `date` | `boolean` */
|
|
15
|
+
dataType: string;
|
|
16
|
+
rule: string | undefined;
|
|
17
|
+
value: any;
|
|
18
|
+
value2?: any;
|
|
19
|
+
}
|
|
20
|
+
export declare function initReportParameterValue(): ReportParameterValue;
|
|
12
21
|
export interface Report {
|
|
13
22
|
reportId: string;
|
|
14
23
|
reportTitle: string;
|
package/dist/chatwms/report.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export const REPORT_VISIBILITY_PRIVATE = 'private';
|
|
2
2
|
export const REPORT_VISIBILITY_PUBLIC = 'public';
|
|
3
3
|
export const REPORT_VISIBILITY_GLOBAL = 'global';
|
|
4
|
+
export function initReportParameterValue() {
|
|
5
|
+
return {
|
|
6
|
+
parameterName: '',
|
|
7
|
+
dataType: 'text',
|
|
8
|
+
rule: undefined,
|
|
9
|
+
value: '',
|
|
10
|
+
value2: undefined
|
|
11
|
+
};
|
|
12
|
+
}
|
|
4
13
|
export function initReport() {
|
|
5
14
|
return {
|
|
6
15
|
reportId: '',
|