@qrunio/qqq-frontend-core 0.36.1-SNAPSHOT
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/LICENSE +202 -0
- package/README.md +155 -0
- package/lib/controllers/QController.d.ts +235 -0
- package/lib/controllers/QController.js +1106 -0
- package/lib/controllers/QController.js.map +1 -0
- package/lib/controllers/QControllerV1.d.ts +213 -0
- package/lib/controllers/QControllerV1.js +992 -0
- package/lib/controllers/QControllerV1.js.map +1 -0
- package/lib/exceptions/QException.d.ts +12 -0
- package/lib/exceptions/QException.js +54 -0
- package/lib/exceptions/QException.js.map +1 -0
- package/lib/model/QPossibleValue.d.ts +13 -0
- package/lib/model/QPossibleValue.js +51 -0
- package/lib/model/QPossibleValue.js.map +1 -0
- package/lib/model/QRecord.d.ts +14 -0
- package/lib/model/QRecord.js +64 -0
- package/lib/model/QRecord.js.map +1 -0
- package/lib/model/metaData/AdornmentType.d.ts +17 -0
- package/lib/model/metaData/AdornmentType.js +42 -0
- package/lib/model/metaData/AdornmentType.js.map +1 -0
- package/lib/model/metaData/Banner.d.ts +15 -0
- package/lib/model/metaData/Banner.js +37 -0
- package/lib/model/metaData/Banner.js.map +1 -0
- package/lib/model/metaData/Capability.d.ts +13 -0
- package/lib/model/metaData/Capability.js +38 -0
- package/lib/model/metaData/Capability.js.map +1 -0
- package/lib/model/metaData/FieldAdornment.d.ts +15 -0
- package/lib/model/metaData/FieldAdornment.js +58 -0
- package/lib/model/metaData/FieldAdornment.js.map +1 -0
- package/lib/model/metaData/ProcessMetaDataAdjustment.d.ts +11 -0
- package/lib/model/metaData/ProcessMetaDataAdjustment.js +45 -0
- package/lib/model/metaData/ProcessMetaDataAdjustment.js.map +1 -0
- package/lib/model/metaData/QAppMetaData.d.ts +17 -0
- package/lib/model/metaData/QAppMetaData.js +57 -0
- package/lib/model/metaData/QAppMetaData.js.map +1 -0
- package/lib/model/metaData/QAppNodeType.d.ts +10 -0
- package/lib/model/metaData/QAppNodeType.js +32 -0
- package/lib/model/metaData/QAppNodeType.js.map +1 -0
- package/lib/model/metaData/QAppSection.d.ts +14 -0
- package/lib/model/metaData/QAppSection.js +46 -0
- package/lib/model/metaData/QAppSection.js.map +1 -0
- package/lib/model/metaData/QAppTreeNode.d.ts +16 -0
- package/lib/model/metaData/QAppTreeNode.js +46 -0
- package/lib/model/metaData/QAppTreeNode.js.map +1 -0
- package/lib/model/metaData/QAuthenticationMetaData.d.ts +10 -0
- package/lib/model/metaData/QAuthenticationMetaData.js +44 -0
- package/lib/model/metaData/QAuthenticationMetaData.js.map +1 -0
- package/lib/model/metaData/QBrandingMetaData.d.ts +17 -0
- package/lib/model/metaData/QBrandingMetaData.js +46 -0
- package/lib/model/metaData/QBrandingMetaData.js.map +1 -0
- package/lib/model/metaData/QComponentType.d.ts +20 -0
- package/lib/model/metaData/QComponentType.js +45 -0
- package/lib/model/metaData/QComponentType.js.map +1 -0
- package/lib/model/metaData/QExposedJoin.d.ts +18 -0
- package/lib/model/metaData/QExposedJoin.js +65 -0
- package/lib/model/metaData/QExposedJoin.js.map +1 -0
- package/lib/model/metaData/QFieldMetaData.d.ts +46 -0
- package/lib/model/metaData/QFieldMetaData.js +157 -0
- package/lib/model/metaData/QFieldMetaData.js.map +1 -0
- package/lib/model/metaData/QFieldType.d.ts +18 -0
- package/lib/model/metaData/QFieldType.js +43 -0
- package/lib/model/metaData/QFieldType.js.map +1 -0
- package/lib/model/metaData/QFrontendComponent.d.ts +10 -0
- package/lib/model/metaData/QFrontendComponent.js +35 -0
- package/lib/model/metaData/QFrontendComponent.js.map +1 -0
- package/lib/model/metaData/QFrontendStepMetaData.d.ts +18 -0
- package/lib/model/metaData/QFrontendStepMetaData.js +62 -0
- package/lib/model/metaData/QFrontendStepMetaData.js.map +1 -0
- package/lib/model/metaData/QHelpContent.d.ts +27 -0
- package/lib/model/metaData/QHelpContent.js +108 -0
- package/lib/model/metaData/QHelpContent.js.map +1 -0
- package/lib/model/metaData/QIcon.d.ts +10 -0
- package/lib/model/metaData/QIcon.js +34 -0
- package/lib/model/metaData/QIcon.js.map +1 -0
- package/lib/model/metaData/QInstance.d.ts +43 -0
- package/lib/model/metaData/QInstance.js +149 -0
- package/lib/model/metaData/QInstance.js.map +1 -0
- package/lib/model/metaData/QJoinMetaData.d.ts +15 -0
- package/lib/model/metaData/QJoinMetaData.js +53 -0
- package/lib/model/metaData/QJoinMetaData.js.map +1 -0
- package/lib/model/metaData/QProcessMetaData.d.ts +18 -0
- package/lib/model/metaData/QProcessMetaData.js +52 -0
- package/lib/model/metaData/QProcessMetaData.js.map +1 -0
- package/lib/model/metaData/QReportMetaData.d.ts +13 -0
- package/lib/model/metaData/QReportMetaData.js +38 -0
- package/lib/model/metaData/QReportMetaData.js.map +1 -0
- package/lib/model/metaData/QTableMetaData.d.ts +34 -0
- package/lib/model/metaData/QTableMetaData.js +165 -0
- package/lib/model/metaData/QTableMetaData.js.map +1 -0
- package/lib/model/metaData/QTableSection.d.ts +25 -0
- package/lib/model/metaData/QTableSection.js +99 -0
- package/lib/model/metaData/QTableSection.js.map +1 -0
- package/lib/model/metaData/QTableVariant.d.ts +10 -0
- package/lib/model/metaData/QTableVariant.js +34 -0
- package/lib/model/metaData/QTableVariant.js.map +1 -0
- package/lib/model/metaData/QThemeMetaData.d.ts +106 -0
- package/lib/model/metaData/QThemeMetaData.js +151 -0
- package/lib/model/metaData/QThemeMetaData.js.map +1 -0
- package/lib/model/metaData/QWidgetMetaData.d.ts +32 -0
- package/lib/model/metaData/QWidgetMetaData.js +63 -0
- package/lib/model/metaData/QWidgetMetaData.js.map +1 -0
- package/lib/model/processes/QJobComplete.d.ts +15 -0
- package/lib/model/processes/QJobComplete.js +39 -0
- package/lib/model/processes/QJobComplete.js.map +1 -0
- package/lib/model/processes/QJobError.d.ts +10 -0
- package/lib/model/processes/QJobError.js +34 -0
- package/lib/model/processes/QJobError.js.map +1 -0
- package/lib/model/processes/QJobRunning.d.ts +11 -0
- package/lib/model/processes/QJobRunning.js +35 -0
- package/lib/model/processes/QJobRunning.js.map +1 -0
- package/lib/model/processes/QJobStarted.d.ts +9 -0
- package/lib/model/processes/QJobStarted.js +33 -0
- package/lib/model/processes/QJobStarted.js.map +1 -0
- package/lib/model/query/FilterVariableExpression.d.ts +11 -0
- package/lib/model/query/FilterVariableExpression.js +37 -0
- package/lib/model/query/FilterVariableExpression.js.map +1 -0
- package/lib/model/query/NowExpression.d.ts +9 -0
- package/lib/model/query/NowExpression.js +35 -0
- package/lib/model/query/NowExpression.js.map +1 -0
- package/lib/model/query/NowWithOffsetExpression.d.ts +14 -0
- package/lib/model/query/NowWithOffsetExpression.js +43 -0
- package/lib/model/query/NowWithOffsetExpression.js.map +1 -0
- package/lib/model/query/QCriteriaOperator.d.ts +25 -0
- package/lib/model/query/QCriteriaOperator.js +47 -0
- package/lib/model/query/QCriteriaOperator.js.map +1 -0
- package/lib/model/query/QFilterCriteria.d.ts +16 -0
- package/lib/model/query/QFilterCriteria.js +52 -0
- package/lib/model/query/QFilterCriteria.js.map +1 -0
- package/lib/model/query/QFilterOrderBy.d.ts +13 -0
- package/lib/model/query/QFilterOrderBy.js +40 -0
- package/lib/model/query/QFilterOrderBy.js.map +1 -0
- package/lib/model/query/QQueryFilter.d.ts +30 -0
- package/lib/model/query/QQueryFilter.js +114 -0
- package/lib/model/query/QQueryFilter.js.map +1 -0
- package/lib/model/query/QueryJoin.d.ts +13 -0
- package/lib/model/query/QueryJoin.js +42 -0
- package/lib/model/query/QueryJoin.js.map +1 -0
- package/lib/model/query/ThisOrLastPeriodExpression.d.ts +13 -0
- package/lib/model/query/ThisOrLastPeriodExpression.js +43 -0
- package/lib/model/query/ThisOrLastPeriodExpression.js.map +1 -0
- package/lib/qqq-frontend-core.d.ts +1 -0
- package/lib/qqq-frontend-core.js +31 -0
- package/lib/qqq-frontend-core.js.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
var __assign = (this && this.__assign) || function () {
|
|
22
|
+
__assign = Object.assign || function(t) {
|
|
23
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
24
|
+
s = arguments[i];
|
|
25
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
26
|
+
t[p] = s[p];
|
|
27
|
+
}
|
|
28
|
+
return t;
|
|
29
|
+
};
|
|
30
|
+
return __assign.apply(this, arguments);
|
|
31
|
+
};
|
|
32
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
33
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
34
|
+
if (ar || !(i in from)) {
|
|
35
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
36
|
+
ar[i] = from[i];
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
40
|
+
};
|
|
41
|
+
import { QHelpContent } from "./QHelpContent";
|
|
42
|
+
/*******************************************************************************
|
|
43
|
+
** Meta-Data to define a section (of fields) in a table in a QQQ instance.
|
|
44
|
+
**
|
|
45
|
+
*******************************************************************************/
|
|
46
|
+
var QTableSection = /** @class */ (function () {
|
|
47
|
+
/*******************************************************************************
|
|
48
|
+
**
|
|
49
|
+
*******************************************************************************/
|
|
50
|
+
function QTableSection(object) {
|
|
51
|
+
this.name = object.name;
|
|
52
|
+
this.label = object.label;
|
|
53
|
+
this.tier = object.tier;
|
|
54
|
+
this.iconName = object.icon ? object.icon.name : object.iconName;
|
|
55
|
+
if (object.fieldNames) {
|
|
56
|
+
this.fieldNames = object.fieldNames;
|
|
57
|
+
}
|
|
58
|
+
this.isHidden = object.isHidden;
|
|
59
|
+
this.widgetName = object.widgetName;
|
|
60
|
+
this.gridColumns = object.gridColumns;
|
|
61
|
+
this.helpContents = QHelpContent.buildArray(object.helpContents);
|
|
62
|
+
if (object.alternatives) {
|
|
63
|
+
this.alternatives = new Map();
|
|
64
|
+
for (var type in object.alternatives) {
|
|
65
|
+
this.alternatives.set(type, new QTableSection(object.alternatives[type]));
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/***************************************************************************
|
|
70
|
+
*
|
|
71
|
+
***************************************************************************/
|
|
72
|
+
QTableSection.prototype.clone = function () {
|
|
73
|
+
var fieldNamesClone = undefined;
|
|
74
|
+
if (this.fieldNames) {
|
|
75
|
+
fieldNamesClone = __spreadArray([], this.fieldNames, true);
|
|
76
|
+
}
|
|
77
|
+
var helpContentsClone = (this.helpContents ? [] : undefined);
|
|
78
|
+
if (this.helpContents && helpContentsClone) {
|
|
79
|
+
for (var _i = 0, _a = this.helpContents; _i < _a.length; _i++) {
|
|
80
|
+
var helpContent = _a[_i];
|
|
81
|
+
helpContentsClone.push(helpContent.clone());
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
var alternativesClone = (this.alternatives ? new Map : undefined);
|
|
85
|
+
if (this.alternatives && alternativesClone) {
|
|
86
|
+
this.alternatives.forEach(function (value, key) {
|
|
87
|
+
return alternativesClone.set(key, value.clone());
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
var clone = new QTableSection(__assign({}, this));
|
|
91
|
+
clone.fieldNames = fieldNamesClone;
|
|
92
|
+
clone.helpContents = helpContentsClone;
|
|
93
|
+
clone.alternatives = alternativesClone;
|
|
94
|
+
return (clone);
|
|
95
|
+
};
|
|
96
|
+
return QTableSection;
|
|
97
|
+
}());
|
|
98
|
+
export { QTableSection };
|
|
99
|
+
//# sourceMappingURL=QTableSection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QTableSection.js","sourceRoot":"","sources":["../../../src/model/metaData/QTableSection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;;;;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;iFAGiF;AACjF;IAcG;;qFAEiF;IACjF,uBAAY,MAAW;QAEpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;QAEjE,IAAI,MAAM,CAAC,UAAU,EACrB;YACG,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;SACtC;QAED,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CA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,CAAC,CAAC;SAChD;QAED,IAAM,KAAK,GAAG,IAAI,aAAa,cAAK,IAAI,EAAE,CAAC;QAE3C,KAAK,CAAC,UAAU,GAAG,eAAe,CAAC;QACnC,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC;QACvC,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC;QAEvC,OAAO,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC;IAEJ,oBAAC;AAAD,CAAC,AAjFD,IAiFC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
** Meta-Data to define a variant for a table that should be visible on the frontend
|
|
3
|
+
**
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
export declare class QTableVariant {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
constructor(object: any);
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
/*******************************************************************************
|
|
22
|
+
** Meta-Data to define a variant for a table that should be visible on the frontend
|
|
23
|
+
**
|
|
24
|
+
*******************************************************************************/
|
|
25
|
+
var QTableVariant = /** @class */ (function () {
|
|
26
|
+
function QTableVariant(object) {
|
|
27
|
+
this.id = object.id;
|
|
28
|
+
this.name = object.name;
|
|
29
|
+
this.type = object.type;
|
|
30
|
+
}
|
|
31
|
+
return QTableVariant;
|
|
32
|
+
}());
|
|
33
|
+
export { QTableVariant };
|
|
34
|
+
//# sourceMappingURL=QTableVariant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QTableVariant.js","sourceRoot":"","sources":["../../../src/model/metaData/QTableVariant.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;iFAGiF;AACjF;IAMG,uBAAY,MAAW;QAEpB,IAAI,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IAC3B,CAAC;IACJ,oBAAC;AAAD,CAAC,AAZD,IAYC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
** Meta-Data to define theme configuration in a QQQ instance.
|
|
3
|
+
**
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
export declare class QThemeMetaData {
|
|
6
|
+
primaryColor?: string;
|
|
7
|
+
secondaryColor?: string;
|
|
8
|
+
backgroundColor?: string;
|
|
9
|
+
surfaceColor?: string;
|
|
10
|
+
textPrimary?: string;
|
|
11
|
+
textSecondary?: string;
|
|
12
|
+
errorColor?: string;
|
|
13
|
+
warningColor?: string;
|
|
14
|
+
successColor?: string;
|
|
15
|
+
infoColor?: string;
|
|
16
|
+
fontFamily?: string;
|
|
17
|
+
headerFontFamily?: string;
|
|
18
|
+
monoFontFamily?: string;
|
|
19
|
+
fontSizeBase?: string;
|
|
20
|
+
fontWeightLight?: number;
|
|
21
|
+
fontWeightRegular?: number;
|
|
22
|
+
fontWeightMedium?: number;
|
|
23
|
+
fontWeightBold?: number;
|
|
24
|
+
typographyH1FontSize?: string;
|
|
25
|
+
typographyH1FontWeight?: number;
|
|
26
|
+
typographyH1LineHeight?: number;
|
|
27
|
+
typographyH1LetterSpacing?: string;
|
|
28
|
+
typographyH1TextTransform?: string;
|
|
29
|
+
typographyH2FontSize?: string;
|
|
30
|
+
typographyH2FontWeight?: number;
|
|
31
|
+
typographyH2LineHeight?: number;
|
|
32
|
+
typographyH2LetterSpacing?: string;
|
|
33
|
+
typographyH2TextTransform?: string;
|
|
34
|
+
typographyH3FontSize?: string;
|
|
35
|
+
typographyH3FontWeight?: number;
|
|
36
|
+
typographyH3LineHeight?: number;
|
|
37
|
+
typographyH3LetterSpacing?: string;
|
|
38
|
+
typographyH3TextTransform?: string;
|
|
39
|
+
typographyH4FontSize?: string;
|
|
40
|
+
typographyH4FontWeight?: number;
|
|
41
|
+
typographyH4LineHeight?: number;
|
|
42
|
+
typographyH4LetterSpacing?: string;
|
|
43
|
+
typographyH4TextTransform?: string;
|
|
44
|
+
typographyH5FontSize?: string;
|
|
45
|
+
typographyH5FontWeight?: number;
|
|
46
|
+
typographyH5LineHeight?: number;
|
|
47
|
+
typographyH5LetterSpacing?: string;
|
|
48
|
+
typographyH5TextTransform?: string;
|
|
49
|
+
typographyH6FontSize?: string;
|
|
50
|
+
typographyH6FontWeight?: number;
|
|
51
|
+
typographyH6LineHeight?: number;
|
|
52
|
+
typographyH6LetterSpacing?: string;
|
|
53
|
+
typographyH6TextTransform?: string;
|
|
54
|
+
typographyBody1FontSize?: string;
|
|
55
|
+
typographyBody1FontWeight?: number;
|
|
56
|
+
typographyBody1LineHeight?: number;
|
|
57
|
+
typographyBody1LetterSpacing?: string;
|
|
58
|
+
typographyBody1TextTransform?: string;
|
|
59
|
+
typographyBody2FontSize?: string;
|
|
60
|
+
typographyBody2FontWeight?: number;
|
|
61
|
+
typographyBody2LineHeight?: number;
|
|
62
|
+
typographyBody2LetterSpacing?: string;
|
|
63
|
+
typographyBody2TextTransform?: string;
|
|
64
|
+
typographyButtonFontSize?: string;
|
|
65
|
+
typographyButtonFontWeight?: number;
|
|
66
|
+
typographyButtonLineHeight?: number;
|
|
67
|
+
typographyButtonLetterSpacing?: string;
|
|
68
|
+
typographyButtonTextTransform?: string;
|
|
69
|
+
typographyCaptionFontSize?: string;
|
|
70
|
+
typographyCaptionFontWeight?: number;
|
|
71
|
+
typographyCaptionLineHeight?: number;
|
|
72
|
+
typographyCaptionLetterSpacing?: string;
|
|
73
|
+
typographyCaptionTextTransform?: string;
|
|
74
|
+
borderRadius?: string;
|
|
75
|
+
density?: "compact" | "normal" | "comfortable";
|
|
76
|
+
logoPath?: string;
|
|
77
|
+
iconPath?: string;
|
|
78
|
+
faviconPath?: string;
|
|
79
|
+
customCss?: string;
|
|
80
|
+
iconStyle?: "filled" | "outlined" | "rounded" | "sharp" | "two-tone";
|
|
81
|
+
brandedHeaderEnabled?: boolean;
|
|
82
|
+
brandedHeaderBackgroundColor?: string;
|
|
83
|
+
brandedHeaderTextColor?: string;
|
|
84
|
+
brandedHeaderLogoPath?: string;
|
|
85
|
+
brandedHeaderLogoAltText?: string;
|
|
86
|
+
brandedHeaderHeight?: string;
|
|
87
|
+
brandedHeaderTagline?: string;
|
|
88
|
+
appBarBackgroundColor?: string;
|
|
89
|
+
appBarTextColor?: string;
|
|
90
|
+
sidebarBackgroundColor?: string;
|
|
91
|
+
sidebarTextColor?: string;
|
|
92
|
+
sidebarIconColor?: string;
|
|
93
|
+
sidebarSelectedBackgroundColor?: string;
|
|
94
|
+
sidebarSelectedTextColor?: string;
|
|
95
|
+
sidebarHoverBackgroundColor?: string;
|
|
96
|
+
sidebarDividerColor?: string;
|
|
97
|
+
tableHeaderBackgroundColor?: string;
|
|
98
|
+
tableHeaderTextColor?: string;
|
|
99
|
+
tableRowHoverColor?: string;
|
|
100
|
+
tableRowSelectedColor?: string;
|
|
101
|
+
tableBorderColor?: string;
|
|
102
|
+
dividerColor?: string;
|
|
103
|
+
borderColor?: string;
|
|
104
|
+
cardBorderColor?: string;
|
|
105
|
+
constructor(object: any);
|
|
106
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2025. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
/*******************************************************************************
|
|
22
|
+
** Meta-Data to define theme configuration in a QQQ instance.
|
|
23
|
+
**
|
|
24
|
+
*******************************************************************************/
|
|
25
|
+
var QThemeMetaData = /** @class */ (function () {
|
|
26
|
+
function QThemeMetaData(object) {
|
|
27
|
+
// Color palette
|
|
28
|
+
this.primaryColor = object.primaryColor;
|
|
29
|
+
this.secondaryColor = object.secondaryColor;
|
|
30
|
+
this.backgroundColor = object.backgroundColor;
|
|
31
|
+
this.surfaceColor = object.surfaceColor;
|
|
32
|
+
this.textPrimary = object.textPrimary;
|
|
33
|
+
this.textSecondary = object.textSecondary;
|
|
34
|
+
this.errorColor = object.errorColor;
|
|
35
|
+
this.warningColor = object.warningColor;
|
|
36
|
+
this.successColor = object.successColor;
|
|
37
|
+
this.infoColor = object.infoColor;
|
|
38
|
+
// Typography - Base
|
|
39
|
+
this.fontFamily = object.fontFamily;
|
|
40
|
+
this.headerFontFamily = object.headerFontFamily;
|
|
41
|
+
this.monoFontFamily = object.monoFontFamily;
|
|
42
|
+
this.fontSizeBase = object.fontSizeBase;
|
|
43
|
+
this.fontWeightLight = object.fontWeightLight;
|
|
44
|
+
this.fontWeightRegular = object.fontWeightRegular;
|
|
45
|
+
this.fontWeightMedium = object.fontWeightMedium;
|
|
46
|
+
this.fontWeightBold = object.fontWeightBold;
|
|
47
|
+
// Typography - H1
|
|
48
|
+
this.typographyH1FontSize = object.typographyH1FontSize;
|
|
49
|
+
this.typographyH1FontWeight = object.typographyH1FontWeight;
|
|
50
|
+
this.typographyH1LineHeight = object.typographyH1LineHeight;
|
|
51
|
+
this.typographyH1LetterSpacing = object.typographyH1LetterSpacing;
|
|
52
|
+
this.typographyH1TextTransform = object.typographyH1TextTransform;
|
|
53
|
+
// Typography - H2
|
|
54
|
+
this.typographyH2FontSize = object.typographyH2FontSize;
|
|
55
|
+
this.typographyH2FontWeight = object.typographyH2FontWeight;
|
|
56
|
+
this.typographyH2LineHeight = object.typographyH2LineHeight;
|
|
57
|
+
this.typographyH2LetterSpacing = object.typographyH2LetterSpacing;
|
|
58
|
+
this.typographyH2TextTransform = object.typographyH2TextTransform;
|
|
59
|
+
// Typography - H3
|
|
60
|
+
this.typographyH3FontSize = object.typographyH3FontSize;
|
|
61
|
+
this.typographyH3FontWeight = object.typographyH3FontWeight;
|
|
62
|
+
this.typographyH3LineHeight = object.typographyH3LineHeight;
|
|
63
|
+
this.typographyH3LetterSpacing = object.typographyH3LetterSpacing;
|
|
64
|
+
this.typographyH3TextTransform = object.typographyH3TextTransform;
|
|
65
|
+
// Typography - H4
|
|
66
|
+
this.typographyH4FontSize = object.typographyH4FontSize;
|
|
67
|
+
this.typographyH4FontWeight = object.typographyH4FontWeight;
|
|
68
|
+
this.typographyH4LineHeight = object.typographyH4LineHeight;
|
|
69
|
+
this.typographyH4LetterSpacing = object.typographyH4LetterSpacing;
|
|
70
|
+
this.typographyH4TextTransform = object.typographyH4TextTransform;
|
|
71
|
+
// Typography - H5
|
|
72
|
+
this.typographyH5FontSize = object.typographyH5FontSize;
|
|
73
|
+
this.typographyH5FontWeight = object.typographyH5FontWeight;
|
|
74
|
+
this.typographyH5LineHeight = object.typographyH5LineHeight;
|
|
75
|
+
this.typographyH5LetterSpacing = object.typographyH5LetterSpacing;
|
|
76
|
+
this.typographyH5TextTransform = object.typographyH5TextTransform;
|
|
77
|
+
// Typography - H6
|
|
78
|
+
this.typographyH6FontSize = object.typographyH6FontSize;
|
|
79
|
+
this.typographyH6FontWeight = object.typographyH6FontWeight;
|
|
80
|
+
this.typographyH6LineHeight = object.typographyH6LineHeight;
|
|
81
|
+
this.typographyH6LetterSpacing = object.typographyH6LetterSpacing;
|
|
82
|
+
this.typographyH6TextTransform = object.typographyH6TextTransform;
|
|
83
|
+
// Typography - Body1
|
|
84
|
+
this.typographyBody1FontSize = object.typographyBody1FontSize;
|
|
85
|
+
this.typographyBody1FontWeight = object.typographyBody1FontWeight;
|
|
86
|
+
this.typographyBody1LineHeight = object.typographyBody1LineHeight;
|
|
87
|
+
this.typographyBody1LetterSpacing = object.typographyBody1LetterSpacing;
|
|
88
|
+
this.typographyBody1TextTransform = object.typographyBody1TextTransform;
|
|
89
|
+
// Typography - Body2
|
|
90
|
+
this.typographyBody2FontSize = object.typographyBody2FontSize;
|
|
91
|
+
this.typographyBody2FontWeight = object.typographyBody2FontWeight;
|
|
92
|
+
this.typographyBody2LineHeight = object.typographyBody2LineHeight;
|
|
93
|
+
this.typographyBody2LetterSpacing = object.typographyBody2LetterSpacing;
|
|
94
|
+
this.typographyBody2TextTransform = object.typographyBody2TextTransform;
|
|
95
|
+
// Typography - Button
|
|
96
|
+
this.typographyButtonFontSize = object.typographyButtonFontSize;
|
|
97
|
+
this.typographyButtonFontWeight = object.typographyButtonFontWeight;
|
|
98
|
+
this.typographyButtonLineHeight = object.typographyButtonLineHeight;
|
|
99
|
+
this.typographyButtonLetterSpacing = object.typographyButtonLetterSpacing;
|
|
100
|
+
this.typographyButtonTextTransform = object.typographyButtonTextTransform;
|
|
101
|
+
// Typography - Caption
|
|
102
|
+
this.typographyCaptionFontSize = object.typographyCaptionFontSize;
|
|
103
|
+
this.typographyCaptionFontWeight = object.typographyCaptionFontWeight;
|
|
104
|
+
this.typographyCaptionLineHeight = object.typographyCaptionLineHeight;
|
|
105
|
+
this.typographyCaptionLetterSpacing = object.typographyCaptionLetterSpacing;
|
|
106
|
+
this.typographyCaptionTextTransform = object.typographyCaptionTextTransform;
|
|
107
|
+
// Sizing
|
|
108
|
+
this.borderRadius = object.borderRadius;
|
|
109
|
+
this.density = object.density;
|
|
110
|
+
// Asset paths
|
|
111
|
+
this.logoPath = object.logoPath;
|
|
112
|
+
this.iconPath = object.iconPath;
|
|
113
|
+
this.faviconPath = object.faviconPath;
|
|
114
|
+
// Custom CSS
|
|
115
|
+
this.customCss = object.customCss;
|
|
116
|
+
// Icon style
|
|
117
|
+
this.iconStyle = object.iconStyle;
|
|
118
|
+
// Branded Header Bar
|
|
119
|
+
this.brandedHeaderEnabled = object.brandedHeaderEnabled;
|
|
120
|
+
this.brandedHeaderBackgroundColor = object.brandedHeaderBackgroundColor;
|
|
121
|
+
this.brandedHeaderTextColor = object.brandedHeaderTextColor;
|
|
122
|
+
this.brandedHeaderLogoPath = object.brandedHeaderLogoPath;
|
|
123
|
+
this.brandedHeaderLogoAltText = object.brandedHeaderLogoAltText;
|
|
124
|
+
this.brandedHeaderHeight = object.brandedHeaderHeight;
|
|
125
|
+
this.brandedHeaderTagline = object.brandedHeaderTagline;
|
|
126
|
+
// App Bar
|
|
127
|
+
this.appBarBackgroundColor = object.appBarBackgroundColor;
|
|
128
|
+
this.appBarTextColor = object.appBarTextColor;
|
|
129
|
+
// Sidebar
|
|
130
|
+
this.sidebarBackgroundColor = object.sidebarBackgroundColor;
|
|
131
|
+
this.sidebarTextColor = object.sidebarTextColor;
|
|
132
|
+
this.sidebarIconColor = object.sidebarIconColor;
|
|
133
|
+
this.sidebarSelectedBackgroundColor = object.sidebarSelectedBackgroundColor;
|
|
134
|
+
this.sidebarSelectedTextColor = object.sidebarSelectedTextColor;
|
|
135
|
+
this.sidebarHoverBackgroundColor = object.sidebarHoverBackgroundColor;
|
|
136
|
+
this.sidebarDividerColor = object.sidebarDividerColor;
|
|
137
|
+
// Tables
|
|
138
|
+
this.tableHeaderBackgroundColor = object.tableHeaderBackgroundColor;
|
|
139
|
+
this.tableHeaderTextColor = object.tableHeaderTextColor;
|
|
140
|
+
this.tableRowHoverColor = object.tableRowHoverColor;
|
|
141
|
+
this.tableRowSelectedColor = object.tableRowSelectedColor;
|
|
142
|
+
this.tableBorderColor = object.tableBorderColor;
|
|
143
|
+
// General
|
|
144
|
+
this.dividerColor = object.dividerColor;
|
|
145
|
+
this.borderColor = object.borderColor;
|
|
146
|
+
this.cardBorderColor = object.cardBorderColor;
|
|
147
|
+
}
|
|
148
|
+
return QThemeMetaData;
|
|
149
|
+
}());
|
|
150
|
+
export { QThemeMetaData };
|
|
151
|
+
//# sourceMappingURL=QThemeMetaData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QThemeMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QThemeMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;iFAGiF;AACjF;IA+IG,wBAAY,MAAW;QAEpB,gBAAgB;QAChB,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;QAC5C,IAAI,CAAC,eAAe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IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;QAE9C,UAAU;QACV,IAAI,CAAC,sBAAsB,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAChD,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAChD,IAAI,CAAC,8BAA8B,GAAG,MAAM,CAAC,8BAA8B,CAAC;QAC5E,IAAI,CAAC,wBAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;QAChE,IAAI,CAAC,2BAA2B,GAAG,MAAM,CAAC,2BAA2B,CAAC;QACtE,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAC,mBAAmB,CAAC;QAEtD,SAAS;QACT,IAAI,CAAC,0BAA0B,GAAG,MAAM,CAAC,0BAA0B,CAAC;QACpE,IAAI,CAAC,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAC;QACxD,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;QACpD,IAAI,CAAC,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC;QAC1D,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAEhD,UAAU;QACV,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACjD,CAAC;IACJ,qBAAC;AAAD,CAAC,AA9RD,IA8RC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { QHelpContent } from "./QHelpContent";
|
|
2
|
+
import { QIcon } from "./QIcon";
|
|
3
|
+
/*******************************************************************************
|
|
4
|
+
** Meta-Data to define a widget in a QQQ instance.
|
|
5
|
+
**
|
|
6
|
+
*******************************************************************************/
|
|
7
|
+
export declare class QWidgetMetaData {
|
|
8
|
+
name: string;
|
|
9
|
+
label: string;
|
|
10
|
+
tooltip: string;
|
|
11
|
+
type: string;
|
|
12
|
+
icon?: string;
|
|
13
|
+
isCard?: boolean;
|
|
14
|
+
minHeight?: string;
|
|
15
|
+
gridColumns?: number;
|
|
16
|
+
footerHTML?: string;
|
|
17
|
+
hasPermission: boolean;
|
|
18
|
+
storeDropdownSelections?: boolean;
|
|
19
|
+
dropdowns?: [
|
|
20
|
+
{
|
|
21
|
+
name?: string;
|
|
22
|
+
possibleValueSourceName?: string;
|
|
23
|
+
isRequired: boolean;
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
showReloadButton: boolean;
|
|
27
|
+
showExportButton: boolean;
|
|
28
|
+
icons?: Map<string, QIcon>;
|
|
29
|
+
helpContent?: Map<string, QHelpContent[]>;
|
|
30
|
+
defaultValues?: Map<string, any>;
|
|
31
|
+
constructor(object: any);
|
|
32
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { QHelpContent } from "./QHelpContent";
|
|
22
|
+
import { QIcon } from "./QIcon";
|
|
23
|
+
/*******************************************************************************
|
|
24
|
+
** Meta-Data to define a widget in a QQQ instance.
|
|
25
|
+
**
|
|
26
|
+
*******************************************************************************/
|
|
27
|
+
var QWidgetMetaData = /** @class */ (function () {
|
|
28
|
+
function QWidgetMetaData(object) {
|
|
29
|
+
this.hasPermission = false;
|
|
30
|
+
this.showReloadButton = true;
|
|
31
|
+
this.showExportButton = true;
|
|
32
|
+
this.name = object.name;
|
|
33
|
+
this.label = object.label;
|
|
34
|
+
this.tooltip = object.tooltip;
|
|
35
|
+
this.type = object.type;
|
|
36
|
+
this.icon = object.icon;
|
|
37
|
+
this.isCard = object.isCard;
|
|
38
|
+
this.minHeight = object.minHeight;
|
|
39
|
+
this.gridColumns = object.gridColumns;
|
|
40
|
+
this.footerHTML = object.footerHTML;
|
|
41
|
+
this.hasPermission = object.hasPermission;
|
|
42
|
+
this.storeDropdownSelections = object.storeDropdownSelections;
|
|
43
|
+
this.dropdowns = object.dropdowns;
|
|
44
|
+
this.showReloadButton = object.showReloadButton;
|
|
45
|
+
this.showExportButton = object.showExportButton;
|
|
46
|
+
if (object.icons) {
|
|
47
|
+
this.icons = new Map();
|
|
48
|
+
for (var key in object.icons) {
|
|
49
|
+
this.icons.set(key, new QIcon(object.icons[key]));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
this.helpContent = QHelpContent.buildMap(object.helpContent);
|
|
53
|
+
if (object.defaultValues) {
|
|
54
|
+
this.defaultValues = new Map();
|
|
55
|
+
for (var key in object.defaultValues) {
|
|
56
|
+
this.defaultValues.set(key, object.defaultValues[key]);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return QWidgetMetaData;
|
|
61
|
+
}());
|
|
62
|
+
export { QWidgetMetaData };
|
|
63
|
+
//# sourceMappingURL=QWidgetMetaData.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CAAC,KAAK,GAAG,IAAI,GAAG,EAAiB,CAAC;YACtC,KAAK,IAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAC9B;gBACG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;aACpD;SACH;QAED,IAAI,CAAC,WAAW,GAAG,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAE7D,IAAI,MAAM,CAAC,aAAa,EACxB;YACG,IAAI,CAAC,aAAa,GAAG,IAAI,GAAG,EAAe,CAAC;YAC5C,KAAK,IAAM,GAAG,IAAI,MAAM,CAAC,aAAa,EACtC;gBACG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC;aACzD;SACH;IAEJ,CAAC;IACJ,sBAAC;AAAD,CAAC,AAhED,IAgEC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProcessMetaDataAdjustment } from "../metaData/ProcessMetaDataAdjustment";
|
|
2
|
+
import { QFrontendStepMetaData } from "../metaData/QFrontendStepMetaData";
|
|
3
|
+
/*******************************************************************************
|
|
4
|
+
** Indication that a process step has successfully finished running.
|
|
5
|
+
**
|
|
6
|
+
*******************************************************************************/
|
|
7
|
+
export declare class QJobComplete {
|
|
8
|
+
processUUID: string;
|
|
9
|
+
values?: any;
|
|
10
|
+
nextStep: string;
|
|
11
|
+
backStep: string;
|
|
12
|
+
processMetaDataAdjustment?: ProcessMetaDataAdjustment;
|
|
13
|
+
updatedFrontendStepList?: QFrontendStepMetaData[];
|
|
14
|
+
constructor(object: any);
|
|
15
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import { ProcessMetaDataAdjustment } from "../metaData/ProcessMetaDataAdjustment";
|
|
22
|
+
/*******************************************************************************
|
|
23
|
+
** Indication that a process step has successfully finished running.
|
|
24
|
+
**
|
|
25
|
+
*******************************************************************************/
|
|
26
|
+
var QJobComplete = /** @class */ (function () {
|
|
27
|
+
function QJobComplete(object) {
|
|
28
|
+
this.processUUID = object.processUUID;
|
|
29
|
+
this.values = object.values || {};
|
|
30
|
+
this.nextStep = object.nextStep;
|
|
31
|
+
this.backStep = object.backStep;
|
|
32
|
+
if (object.processMetaDataAdjustment) {
|
|
33
|
+
this.processMetaDataAdjustment = new ProcessMetaDataAdjustment(object.processMetaDataAdjustment);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return QJobComplete;
|
|
37
|
+
}());
|
|
38
|
+
export { QJobComplete };
|
|
39
|
+
//# sourceMappingURL=QJobComplete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QJobComplete.js","sourceRoot":"","sources":["../../../src/model/processes/QJobComplete.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,yBAAyB,EAAC,MAAM,uCAAuC,CAAC;AAGhF;;;iFAGiF;AACjF;IAaG,sBAAY,MAAW;QAEpB,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAEhC,IAAI,MAAM,CAAC,yBAAyB,EACpC;YACG,IAAI,CAAC,yBAAyB,GAAG,IAAI,yBAAyB,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAAC;SACnG;IACJ,CAAC;IAEJ,mBAAC;AAAD,CAAC,AA1BD,IA0BC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
** Indication that a process step had an error.
|
|
3
|
+
**
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
export declare class QJobError {
|
|
6
|
+
processUUID: string;
|
|
7
|
+
error: string;
|
|
8
|
+
userFacingError?: string;
|
|
9
|
+
constructor(object: any);
|
|
10
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* QQQ - Low-code Application Framework for Engineers.
|
|
3
|
+
* Copyright (C) 2021-2022. Kingsrook, LLC
|
|
4
|
+
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
|
5
|
+
* contact@kingsrook.com
|
|
6
|
+
* https://github.com/Kingsrook/
|
|
7
|
+
*
|
|
8
|
+
* This program is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU Affero General Public License as
|
|
10
|
+
* published by the Free Software Foundation, either version 3 of the
|
|
11
|
+
* License, or (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU Affero General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
19
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
/*******************************************************************************
|
|
22
|
+
** Indication that a process step had an error.
|
|
23
|
+
**
|
|
24
|
+
*******************************************************************************/
|
|
25
|
+
var QJobError = /** @class */ (function () {
|
|
26
|
+
function QJobError(object) {
|
|
27
|
+
this.processUUID = object.processUUID;
|
|
28
|
+
this.error = object.error;
|
|
29
|
+
this.userFacingError = object.userFacingError;
|
|
30
|
+
}
|
|
31
|
+
return QJobError;
|
|
32
|
+
}());
|
|
33
|
+
export { QJobError };
|
|
34
|
+
//# sourceMappingURL=QJobError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QJobError.js","sourceRoot":"","sources":["../../../src/model/processes/QJobError.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;iFAGiF;AACjF;IAMG,mBAAY,MAAW;QAEpB,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;IACjD,CAAC;IACJ,gBAAC;AAAD,CAAC,AAZD,IAYC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
** Indication that a process step is still running.
|
|
3
|
+
**
|
|
4
|
+
*******************************************************************************/
|
|
5
|
+
export declare class QJobRunning {
|
|
6
|
+
processUUID: string;
|
|
7
|
+
message: string;
|
|
8
|
+
current?: number;
|
|
9
|
+
total?: number;
|
|
10
|
+
constructor(object: any);
|
|
11
|
+
}
|