@qrunio/qqq-frontend-core 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +619 -0
  2. package/README.md +35 -0
  3. package/lib/controllers/QController.d.ts +217 -0
  4. package/lib/controllers/QController.js +1026 -0
  5. package/lib/controllers/QController.js.map +1 -0
  6. package/lib/controllers/QControllerV1.d.ts +213 -0
  7. package/lib/controllers/QControllerV1.js +992 -0
  8. package/lib/controllers/QControllerV1.js.map +1 -0
  9. package/lib/exceptions/QException.d.ts +12 -0
  10. package/lib/exceptions/QException.js +54 -0
  11. package/lib/exceptions/QException.js.map +1 -0
  12. package/lib/model/QPossibleValue.d.ts +9 -0
  13. package/lib/model/QPossibleValue.js +33 -0
  14. package/lib/model/QPossibleValue.js.map +1 -0
  15. package/lib/model/QRecord.d.ts +14 -0
  16. package/lib/model/QRecord.js +64 -0
  17. package/lib/model/QRecord.js.map +1 -0
  18. package/lib/model/metaData/AdornmentType.d.ts +16 -0
  19. package/lib/model/metaData/AdornmentType.js +41 -0
  20. package/lib/model/metaData/AdornmentType.js.map +1 -0
  21. package/lib/model/metaData/Banner.d.ts +15 -0
  22. package/lib/model/metaData/Banner.js +37 -0
  23. package/lib/model/metaData/Banner.js.map +1 -0
  24. package/lib/model/metaData/Capability.d.ts +12 -0
  25. package/lib/model/metaData/Capability.js +37 -0
  26. package/lib/model/metaData/Capability.js.map +1 -0
  27. package/lib/model/metaData/FieldAdornment.d.ts +11 -0
  28. package/lib/model/metaData/FieldAdornment.js +44 -0
  29. package/lib/model/metaData/FieldAdornment.js.map +1 -0
  30. package/lib/model/metaData/ProcessMetaDataAdjustment.d.ts +11 -0
  31. package/lib/model/metaData/ProcessMetaDataAdjustment.js +45 -0
  32. package/lib/model/metaData/ProcessMetaDataAdjustment.js.map +1 -0
  33. package/lib/model/metaData/QAppMetaData.d.ts +17 -0
  34. package/lib/model/metaData/QAppMetaData.js +57 -0
  35. package/lib/model/metaData/QAppMetaData.js.map +1 -0
  36. package/lib/model/metaData/QAppNodeType.d.ts +10 -0
  37. package/lib/model/metaData/QAppNodeType.js +32 -0
  38. package/lib/model/metaData/QAppNodeType.js.map +1 -0
  39. package/lib/model/metaData/QAppSection.d.ts +14 -0
  40. package/lib/model/metaData/QAppSection.js +46 -0
  41. package/lib/model/metaData/QAppSection.js.map +1 -0
  42. package/lib/model/metaData/QAppTreeNode.d.ts +16 -0
  43. package/lib/model/metaData/QAppTreeNode.js +46 -0
  44. package/lib/model/metaData/QAppTreeNode.js.map +1 -0
  45. package/lib/model/metaData/QAuthenticationMetaData.d.ts +10 -0
  46. package/lib/model/metaData/QAuthenticationMetaData.js +44 -0
  47. package/lib/model/metaData/QAuthenticationMetaData.js.map +1 -0
  48. package/lib/model/metaData/QBrandingMetaData.d.ts +17 -0
  49. package/lib/model/metaData/QBrandingMetaData.js +46 -0
  50. package/lib/model/metaData/QBrandingMetaData.js.map +1 -0
  51. package/lib/model/metaData/QComponentType.d.ts +20 -0
  52. package/lib/model/metaData/QComponentType.js +45 -0
  53. package/lib/model/metaData/QComponentType.js.map +1 -0
  54. package/lib/model/metaData/QExposedJoin.d.ts +14 -0
  55. package/lib/model/metaData/QExposedJoin.js +41 -0
  56. package/lib/model/metaData/QExposedJoin.js.map +1 -0
  57. package/lib/model/metaData/QFieldMetaData.d.ts +42 -0
  58. package/lib/model/metaData/QFieldMetaData.js +98 -0
  59. package/lib/model/metaData/QFieldMetaData.js.map +1 -0
  60. package/lib/model/metaData/QFieldType.d.ts +18 -0
  61. package/lib/model/metaData/QFieldType.js +43 -0
  62. package/lib/model/metaData/QFieldType.js.map +1 -0
  63. package/lib/model/metaData/QFrontendComponent.d.ts +10 -0
  64. package/lib/model/metaData/QFrontendComponent.js +35 -0
  65. package/lib/model/metaData/QFrontendComponent.js.map +1 -0
  66. package/lib/model/metaData/QFrontendStepMetaData.d.ts +18 -0
  67. package/lib/model/metaData/QFrontendStepMetaData.js +62 -0
  68. package/lib/model/metaData/QFrontendStepMetaData.js.map +1 -0
  69. package/lib/model/metaData/QHelpContent.d.ts +23 -0
  70. package/lib/model/metaData/QHelpContent.js +82 -0
  71. package/lib/model/metaData/QHelpContent.js.map +1 -0
  72. package/lib/model/metaData/QIcon.d.ts +10 -0
  73. package/lib/model/metaData/QIcon.js +34 -0
  74. package/lib/model/metaData/QIcon.js.map +1 -0
  75. package/lib/model/metaData/QInstance.d.ts +41 -0
  76. package/lib/model/metaData/QInstance.js +145 -0
  77. package/lib/model/metaData/QInstance.js.map +1 -0
  78. package/lib/model/metaData/QJoinMetaData.d.ts +11 -0
  79. package/lib/model/metaData/QJoinMetaData.js +35 -0
  80. package/lib/model/metaData/QJoinMetaData.js.map +1 -0
  81. package/lib/model/metaData/QProcessMetaData.d.ts +18 -0
  82. package/lib/model/metaData/QProcessMetaData.js +52 -0
  83. package/lib/model/metaData/QProcessMetaData.js.map +1 -0
  84. package/lib/model/metaData/QReportMetaData.d.ts +13 -0
  85. package/lib/model/metaData/QReportMetaData.js +38 -0
  86. package/lib/model/metaData/QReportMetaData.js.map +1 -0
  87. package/lib/model/metaData/QTableMetaData.d.ts +29 -0
  88. package/lib/model/metaData/QTableMetaData.js +85 -0
  89. package/lib/model/metaData/QTableMetaData.js.map +1 -0
  90. package/lib/model/metaData/QTableSection.d.ts +20 -0
  91. package/lib/model/metaData/QTableSection.js +46 -0
  92. package/lib/model/metaData/QTableSection.js.map +1 -0
  93. package/lib/model/metaData/QTableVariant.d.ts +10 -0
  94. package/lib/model/metaData/QTableVariant.js +34 -0
  95. package/lib/model/metaData/QTableVariant.js.map +1 -0
  96. package/lib/model/metaData/QWidgetMetaData.d.ts +32 -0
  97. package/lib/model/metaData/QWidgetMetaData.js +63 -0
  98. package/lib/model/metaData/QWidgetMetaData.js.map +1 -0
  99. package/lib/model/processes/QJobComplete.d.ts +15 -0
  100. package/lib/model/processes/QJobComplete.js +39 -0
  101. package/lib/model/processes/QJobComplete.js.map +1 -0
  102. package/lib/model/processes/QJobError.d.ts +10 -0
  103. package/lib/model/processes/QJobError.js +34 -0
  104. package/lib/model/processes/QJobError.js.map +1 -0
  105. package/lib/model/processes/QJobRunning.d.ts +11 -0
  106. package/lib/model/processes/QJobRunning.js +35 -0
  107. package/lib/model/processes/QJobRunning.js.map +1 -0
  108. package/lib/model/processes/QJobStarted.d.ts +9 -0
  109. package/lib/model/processes/QJobStarted.js +33 -0
  110. package/lib/model/processes/QJobStarted.js.map +1 -0
  111. package/lib/model/query/FilterVariableExpression.d.ts +11 -0
  112. package/lib/model/query/FilterVariableExpression.js +37 -0
  113. package/lib/model/query/FilterVariableExpression.js.map +1 -0
  114. package/lib/model/query/NowExpression.d.ts +9 -0
  115. package/lib/model/query/NowExpression.js +35 -0
  116. package/lib/model/query/NowExpression.js.map +1 -0
  117. package/lib/model/query/NowWithOffsetExpression.d.ts +14 -0
  118. package/lib/model/query/NowWithOffsetExpression.js +43 -0
  119. package/lib/model/query/NowWithOffsetExpression.js.map +1 -0
  120. package/lib/model/query/QCriteriaOperator.d.ts +25 -0
  121. package/lib/model/query/QCriteriaOperator.js +47 -0
  122. package/lib/model/query/QCriteriaOperator.js.map +1 -0
  123. package/lib/model/query/QFilterCriteria.d.ts +12 -0
  124. package/lib/model/query/QFilterCriteria.js +34 -0
  125. package/lib/model/query/QFilterCriteria.js.map +1 -0
  126. package/lib/model/query/QFilterOrderBy.d.ts +9 -0
  127. package/lib/model/query/QFilterOrderBy.js +33 -0
  128. package/lib/model/query/QFilterOrderBy.js.map +1 -0
  129. package/lib/model/query/QQueryFilter.d.ts +26 -0
  130. package/lib/model/query/QQueryFilter.js +86 -0
  131. package/lib/model/query/QQueryFilter.js.map +1 -0
  132. package/lib/model/query/QueryJoin.d.ts +13 -0
  133. package/lib/model/query/QueryJoin.js +42 -0
  134. package/lib/model/query/QueryJoin.js.map +1 -0
  135. package/lib/model/query/ThisOrLastPeriodExpression.d.ts +13 -0
  136. package/lib/model/query/ThisOrLastPeriodExpression.js +43 -0
  137. package/lib/model/query/ThisOrLastPeriodExpression.js.map +1 -0
  138. package/lib/qqq-frontend-core.d.ts +1 -0
  139. package/lib/qqq-frontend-core.js +31 -0
  140. package/lib/qqq-frontend-core.js.map +1 -0
  141. package/package.json +51 -0
@@ -0,0 +1,52 @@
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 { QFrontendStepMetaData } from "./QFrontendStepMetaData";
22
+ /*******************************************************************************
23
+ ** Meta-Data to define a process in a QQQ instance.
24
+ **
25
+ *******************************************************************************/
26
+ var QProcessMetaData = /** @class */ (function () {
27
+ function QProcessMetaData(object) {
28
+ this.isHidden = false;
29
+ this.hasPermission = false;
30
+ this.stepFlow = "LINEAR";
31
+ this.name = object.name;
32
+ this.label = object.label;
33
+ this.tableName = object.tableName;
34
+ this.isHidden = object.isHidden;
35
+ this.iconName = object.iconName;
36
+ this.hasPermission = object.hasPermission;
37
+ this.minInputRecords = object.minInputRecords;
38
+ this.maxInputRecords = object.maxInputRecords;
39
+ if (object.stepFlow) {
40
+ this.stepFlow = object.stepFlow;
41
+ }
42
+ if (object.frontendSteps) {
43
+ this.frontendSteps = [];
44
+ for (var i = 0; i < object.frontendSteps.length; i++) {
45
+ this.frontendSteps.push(new QFrontendStepMetaData(object.frontendSteps[i]));
46
+ }
47
+ }
48
+ }
49
+ return QProcessMetaData;
50
+ }());
51
+ export { QProcessMetaData };
52
+ //# sourceMappingURL=QProcessMetaData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QProcessMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QProcessMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAE9D;;;iFAGiF;AACjF;IAaG,0BAAY,MAAW;QARvB,aAAQ,GAAY,KAAK,CAAC;QAG1B,kBAAa,GAAY,KAAK,CAAC;QAC/B,aAAQ,GAAW,QAAQ,CAAC;QAMzB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;QAC1C,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;QAC9C,IAAI,CAAC,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;QAE9C,IAAG,MAAM,CAAC,QAAQ,EAClB;YACG,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;SAClC;QAED,IAAI,MAAM,CAAC,aAAa,EACxB;YACG,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;YACxB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EACpD;gBACG,IAAI,CAAC,aAAa,CAAC,IAAI,CACpB,IAAI,qBAAqB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CACpD,CAAC;aACJ;SACH;IACJ,CAAC;IACJ,uBAAC;AAAD,CAAC,AAxCD,IAwCC"}
@@ -0,0 +1,13 @@
1
+ /*******************************************************************************
2
+ ** Meta-Data to define a report in a QQQ instance.
3
+ **
4
+ *******************************************************************************/
5
+ export declare class QReportMetaData {
6
+ name: string;
7
+ label: string;
8
+ tableName: string;
9
+ processName: string;
10
+ iconName?: string;
11
+ hasPermission: boolean;
12
+ constructor(object: any);
13
+ }
@@ -0,0 +1,38 @@
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 report in a QQQ instance.
23
+ **
24
+ *******************************************************************************/
25
+ var QReportMetaData = /** @class */ (function () {
26
+ function QReportMetaData(object) {
27
+ this.hasPermission = false;
28
+ this.name = object.name;
29
+ this.label = object.label;
30
+ this.tableName = object.tableName;
31
+ this.processName = object.processName;
32
+ this.iconName = object.iconName;
33
+ this.hasPermission = object.hasPermission;
34
+ }
35
+ return QReportMetaData;
36
+ }());
37
+ export { QReportMetaData };
38
+ //# sourceMappingURL=QReportMetaData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QReportMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QReportMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;iFAGiF;AACjF;IASG,yBAAY,MAAW;QAFvB,kBAAa,GAAY,KAAK,CAAC;QAI5B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;IAC7C,CAAC;IACJ,sBAAC;AAAD,CAAC,AAlBD,IAkBC"}
@@ -0,0 +1,29 @@
1
+ import { QExposedJoin } from "./QExposedJoin";
2
+ import { QFieldMetaData } from "./QFieldMetaData";
3
+ import { QHelpContent } from "./QHelpContent";
4
+ import { QTableSection } from "./QTableSection";
5
+ /*******************************************************************************
6
+ ** Meta-Data to define a table in a QQQ instance.
7
+ **
8
+ *******************************************************************************/
9
+ export declare class QTableMetaData {
10
+ name: string;
11
+ label: string;
12
+ isHidden: boolean;
13
+ primaryKeyField: string;
14
+ fields?: Map<string, QFieldMetaData>;
15
+ iconName?: string;
16
+ sections?: QTableSection[];
17
+ exposedJoins?: QExposedJoin[];
18
+ capabilities: Set<string>;
19
+ readPermission: boolean;
20
+ insertPermission: boolean;
21
+ editPermission: boolean;
22
+ deletePermission: boolean;
23
+ usesVariants: boolean;
24
+ variantTableLabel: string;
25
+ supplementalTableMetaData: Map<String, any>;
26
+ shareableTableMetaData: any;
27
+ helpContent?: Map<string, QHelpContent[]>;
28
+ constructor(object: any);
29
+ }
@@ -0,0 +1,85 @@
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 { QExposedJoin } from "./QExposedJoin";
22
+ import { QFieldMetaData } from "./QFieldMetaData";
23
+ import { QHelpContent } from "./QHelpContent";
24
+ import { QTableSection } from "./QTableSection";
25
+ /*******************************************************************************
26
+ ** Meta-Data to define a table in a QQQ instance.
27
+ **
28
+ *******************************************************************************/
29
+ var QTableMetaData = /** @class */ (function () {
30
+ function QTableMetaData(object) {
31
+ this.isHidden = false;
32
+ this.readPermission = false;
33
+ this.insertPermission = false;
34
+ this.editPermission = false;
35
+ this.deletePermission = false;
36
+ this.usesVariants = false;
37
+ this.variantTableLabel = "";
38
+ this.supplementalTableMetaData = new Map();
39
+ this.name = object.name;
40
+ this.label = object.label;
41
+ this.isHidden = object.isHidden;
42
+ this.primaryKeyField = object.primaryKeyField;
43
+ this.iconName = object.iconName;
44
+ this.readPermission = object.readPermission;
45
+ this.insertPermission = object.insertPermission;
46
+ this.editPermission = object.editPermission;
47
+ this.deletePermission = object.deletePermission;
48
+ this.usesVariants = object.usesVariants;
49
+ this.variantTableLabel = object.variantTableLabel;
50
+ if (object.fields) {
51
+ this.fields = new Map();
52
+ for (var key in object.fields) {
53
+ this.fields.set(key, new QFieldMetaData(object.fields[key]));
54
+ }
55
+ }
56
+ if (object.sections) {
57
+ this.sections = [];
58
+ for (var i_1 = 0; i_1 < object.sections.length; i_1++) {
59
+ this.sections.push(new QTableSection(object.sections[i_1]));
60
+ }
61
+ }
62
+ if (object.exposedJoins) {
63
+ this.exposedJoins = [];
64
+ for (var i_2 = 0; i_2 < object.exposedJoins.length; i_2++) {
65
+ this.exposedJoins.push(new QExposedJoin(object.exposedJoins[i_2]));
66
+ }
67
+ }
68
+ this.capabilities = new Set();
69
+ if (object.capabilities) {
70
+ for (var i = 0; i < object.capabilities.length; i++) {
71
+ this.capabilities.add(object.capabilities[i]);
72
+ }
73
+ }
74
+ if (object.supplementalTableMetaData) {
75
+ for (var key in object.supplementalTableMetaData) {
76
+ this.supplementalTableMetaData.set(key, object.supplementalTableMetaData[key]);
77
+ }
78
+ }
79
+ this.shareableTableMetaData = object.shareableTableMetaData;
80
+ this.helpContent = QHelpContent.buildMap(object.helpContents);
81
+ }
82
+ return QTableMetaData;
83
+ }());
84
+ export { QTableMetaData };
85
+ //# sourceMappingURL=QTableMetaData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QTableMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QTableMetaData.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ import { QHelpContent } from "./QHelpContent";
2
+ /*******************************************************************************
3
+ ** Meta-Data to define a section (of fields) in a table in a QQQ instance.
4
+ **
5
+ *******************************************************************************/
6
+ export declare class QTableSection {
7
+ name: string;
8
+ label: string;
9
+ tier: string;
10
+ iconName: string;
11
+ fieldNames?: string[];
12
+ widgetName?: string;
13
+ isHidden: boolean;
14
+ gridColumns?: number;
15
+ helpContents?: QHelpContent[];
16
+ /*******************************************************************************
17
+ **
18
+ *******************************************************************************/
19
+ constructor(object: any);
20
+ }
@@ -0,0 +1,46 @@
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
+ /*******************************************************************************
23
+ ** Meta-Data to define a section (of fields) in a table in a QQQ instance.
24
+ **
25
+ *******************************************************************************/
26
+ var QTableSection = /** @class */ (function () {
27
+ /*******************************************************************************
28
+ **
29
+ *******************************************************************************/
30
+ function QTableSection(object) {
31
+ this.name = object.name;
32
+ this.label = object.label;
33
+ this.tier = object.tier;
34
+ this.iconName = object.icon ? object.icon.name : null;
35
+ if (object.fieldNames) {
36
+ this.fieldNames = object.fieldNames;
37
+ }
38
+ this.isHidden = object.isHidden;
39
+ this.widgetName = object.widgetName;
40
+ this.gridColumns = object.gridColumns;
41
+ this.helpContents = QHelpContent.buildArray(object.helpContents);
42
+ }
43
+ return QTableSection;
44
+ }());
45
+ export { QTableSection };
46
+ //# 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;IAaG;;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,IAAI,CAAC;QAEtD,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,CAAC;QAEtC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC,UAAU,CAAC,MAAM,CAAC,YAAY,CAAC,CAAA;IACnE,CAAC;IAEJ,oBAAC;AAAD,CAAC,AAnCD,IAmCC"}
@@ -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,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.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QWidgetMetaData.js","sourceRoot":"","sources":["../../../src/model/metaData/QWidgetMetaData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AAE9B;;;iFAGiF;AACjF;IA0BG,yBAAY,MAAW;QAfvB,kBAAa,GAAY,KAAK,CAAC;QAO/B,qBAAgB,GAAY,IAAI,CAAC;QACjC,qBAAgB,GAAY,IAAI,CAAC;QAS9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAC1B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;QAC1C,IAAI,CAAC,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,CAAC;QAC9D,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAChD,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAEhD,IAAI,MAAM,CAAC,KAAK,EAChB;YACG,IAAI,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
+ }
@@ -0,0 +1,35 @@
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 is still running.
23
+ **
24
+ *******************************************************************************/
25
+ var QJobRunning = /** @class */ (function () {
26
+ function QJobRunning(object) {
27
+ this.processUUID = object.processUUID;
28
+ this.message = object.message;
29
+ this.current = object.current;
30
+ this.total = object.total;
31
+ }
32
+ return QJobRunning;
33
+ }());
34
+ export { QJobRunning };
35
+ //# sourceMappingURL=QJobRunning.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QJobRunning.js","sourceRoot":"","sources":["../../../src/model/processes/QJobRunning.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;;iFAGiF;AACjF;IAOG,qBAAY,MAAW;QAEpB,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,CAAC;IACJ,kBAAC;AAAD,CAAC,AAdD,IAcC"}
@@ -0,0 +1,9 @@
1
+ /*******************************************************************************
2
+ ** Indication that a process step has started running an async job.
3
+ **
4
+ *******************************************************************************/
5
+ export declare class QJobStarted {
6
+ processUUID: string;
7
+ jobUUID: string;
8
+ constructor(object: any);
9
+ }