andoncloud-dashboard-toolkit 1.0.7 → 1.0.8
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/index.js +37 -180
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +35 -181
- package/dist/index.modern.js.map +1 -1
- package/package.json +35 -37
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
2
|
+
|
|
3
|
+
var gql = _interopDefault(require('graphql-tag'));
|
|
2
4
|
|
|
3
5
|
function _extends() {
|
|
4
6
|
_extends = Object.assign || function (target) {
|
|
@@ -27,151 +29,6 @@ function _taggedTemplateLiteralLoose(strings, raw) {
|
|
|
27
29
|
return strings;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
/*! *****************************************************************************
|
|
31
|
-
Copyright (c) Microsoft Corporation.
|
|
32
|
-
|
|
33
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
34
|
-
purpose with or without fee is hereby granted.
|
|
35
|
-
|
|
36
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
37
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
38
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
39
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
40
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
-
***************************************************************************** */
|
|
44
|
-
|
|
45
|
-
var __assign = function() {
|
|
46
|
-
__assign = Object.assign || function __assign(t) {
|
|
47
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
48
|
-
s = arguments[i];
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
50
|
-
}
|
|
51
|
-
return t;
|
|
52
|
-
};
|
|
53
|
-
return __assign.apply(this, arguments);
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
var docCache = new Map();
|
|
57
|
-
var fragmentSourceMap = new Map();
|
|
58
|
-
var printFragmentWarnings = true;
|
|
59
|
-
var experimentalFragmentVariables = false;
|
|
60
|
-
function normalize(string) {
|
|
61
|
-
return string.replace(/[\s,]+/g, ' ').trim();
|
|
62
|
-
}
|
|
63
|
-
function cacheKeyFromLoc(loc) {
|
|
64
|
-
return normalize(loc.source.body.substring(loc.start, loc.end));
|
|
65
|
-
}
|
|
66
|
-
function processFragments(ast) {
|
|
67
|
-
var seenKeys = new Set();
|
|
68
|
-
var definitions = [];
|
|
69
|
-
ast.definitions.forEach(function (fragmentDefinition) {
|
|
70
|
-
if (fragmentDefinition.kind === 'FragmentDefinition') {
|
|
71
|
-
var fragmentName = fragmentDefinition.name.value;
|
|
72
|
-
var sourceKey = cacheKeyFromLoc(fragmentDefinition.loc);
|
|
73
|
-
var sourceKeySet = fragmentSourceMap.get(fragmentName);
|
|
74
|
-
if (sourceKeySet && !sourceKeySet.has(sourceKey)) {
|
|
75
|
-
if (printFragmentWarnings) {
|
|
76
|
-
console.warn("Warning: fragment with name " + fragmentName + " already exists.\n"
|
|
77
|
-
+ "graphql-tag enforces all fragment names across your application to be unique; read more about\n"
|
|
78
|
-
+ "this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names");
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
else if (!sourceKeySet) {
|
|
82
|
-
fragmentSourceMap.set(fragmentName, sourceKeySet = new Set);
|
|
83
|
-
}
|
|
84
|
-
sourceKeySet.add(sourceKey);
|
|
85
|
-
if (!seenKeys.has(sourceKey)) {
|
|
86
|
-
seenKeys.add(sourceKey);
|
|
87
|
-
definitions.push(fragmentDefinition);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
definitions.push(fragmentDefinition);
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
return __assign(__assign({}, ast), { definitions: definitions });
|
|
95
|
-
}
|
|
96
|
-
function stripLoc(doc) {
|
|
97
|
-
var workSet = new Set(doc.definitions);
|
|
98
|
-
workSet.forEach(function (node) {
|
|
99
|
-
if (node.loc)
|
|
100
|
-
delete node.loc;
|
|
101
|
-
Object.keys(node).forEach(function (key) {
|
|
102
|
-
var value = node[key];
|
|
103
|
-
if (value && typeof value === 'object') {
|
|
104
|
-
workSet.add(value);
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
var loc = doc.loc;
|
|
109
|
-
if (loc) {
|
|
110
|
-
delete loc.startToken;
|
|
111
|
-
delete loc.endToken;
|
|
112
|
-
}
|
|
113
|
-
return doc;
|
|
114
|
-
}
|
|
115
|
-
function parseDocument(source) {
|
|
116
|
-
var cacheKey = normalize(source);
|
|
117
|
-
if (!docCache.has(cacheKey)) {
|
|
118
|
-
var parsed = graphql.parse(source, {
|
|
119
|
-
experimentalFragmentVariables: experimentalFragmentVariables,
|
|
120
|
-
allowLegacyFragmentVariables: experimentalFragmentVariables
|
|
121
|
-
});
|
|
122
|
-
if (!parsed || parsed.kind !== 'Document') {
|
|
123
|
-
throw new Error('Not a valid GraphQL document.');
|
|
124
|
-
}
|
|
125
|
-
docCache.set(cacheKey, stripLoc(processFragments(parsed)));
|
|
126
|
-
}
|
|
127
|
-
return docCache.get(cacheKey);
|
|
128
|
-
}
|
|
129
|
-
function gql(literals) {
|
|
130
|
-
var args = [];
|
|
131
|
-
for (var _i = 1; _i < arguments.length; _i++) {
|
|
132
|
-
args[_i - 1] = arguments[_i];
|
|
133
|
-
}
|
|
134
|
-
if (typeof literals === 'string') {
|
|
135
|
-
literals = [literals];
|
|
136
|
-
}
|
|
137
|
-
var result = literals[0];
|
|
138
|
-
args.forEach(function (arg, i) {
|
|
139
|
-
if (arg && arg.kind === 'Document') {
|
|
140
|
-
result += arg.loc.source.body;
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
result += arg;
|
|
144
|
-
}
|
|
145
|
-
result += literals[i + 1];
|
|
146
|
-
});
|
|
147
|
-
return parseDocument(result);
|
|
148
|
-
}
|
|
149
|
-
function resetCaches() {
|
|
150
|
-
docCache.clear();
|
|
151
|
-
fragmentSourceMap.clear();
|
|
152
|
-
}
|
|
153
|
-
function disableFragmentWarnings() {
|
|
154
|
-
printFragmentWarnings = false;
|
|
155
|
-
}
|
|
156
|
-
function enableExperimentalFragmentVariables() {
|
|
157
|
-
experimentalFragmentVariables = true;
|
|
158
|
-
}
|
|
159
|
-
function disableExperimentalFragmentVariables() {
|
|
160
|
-
experimentalFragmentVariables = false;
|
|
161
|
-
}
|
|
162
|
-
var extras = {
|
|
163
|
-
gql: gql,
|
|
164
|
-
resetCaches: resetCaches,
|
|
165
|
-
disableFragmentWarnings: disableFragmentWarnings,
|
|
166
|
-
enableExperimentalFragmentVariables: enableExperimentalFragmentVariables,
|
|
167
|
-
disableExperimentalFragmentVariables: disableExperimentalFragmentVariables
|
|
168
|
-
};
|
|
169
|
-
(function (gql_1) {
|
|
170
|
-
gql_1.gql = extras.gql, gql_1.resetCaches = extras.resetCaches, gql_1.disableFragmentWarnings = extras.disableFragmentWarnings, gql_1.enableExperimentalFragmentVariables = extras.enableExperimentalFragmentVariables, gql_1.disableExperimentalFragmentVariables = extras.disableExperimentalFragmentVariables;
|
|
171
|
-
})(gql || (gql = {}));
|
|
172
|
-
gql["default"] = gql;
|
|
173
|
-
var gql$1 = gql;
|
|
174
|
-
|
|
175
32
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34;
|
|
176
33
|
|
|
177
34
|
(function (AndonLightColor) {
|
|
@@ -221,40 +78,40 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
|
|
|
221
78
|
WorkplaceEvent["StatusChangeCreated"] = "STATUS_CHANGE_CREATED";
|
|
222
79
|
})(exports.WorkplaceEvent || (exports.WorkplaceEvent = {}));
|
|
223
80
|
|
|
224
|
-
var CreateDashboardDocument = gql
|
|
225
|
-
var CreateOrderDocument = gql
|
|
226
|
-
var CreateProductDocument = gql
|
|
227
|
-
var CreateStatusChangeDocument = gql
|
|
228
|
-
var CreateUserPresenceDocument = gql
|
|
229
|
-
var CreateWidgetDocument = gql
|
|
230
|
-
var PauseOrderExecutionDocument = gql
|
|
231
|
-
var RemoveDashboardDocument = gql
|
|
232
|
-
var RemoveUserPresenceDocument = gql
|
|
233
|
-
var RemoveWidgetDocument = gql
|
|
234
|
-
var RemoveWorkplaceUsersPresencesDocument = gql
|
|
235
|
-
var SetCounterDocument = gql
|
|
236
|
-
var StartOrderExecutionDocument = gql
|
|
237
|
-
var StopOrderExecutionDocument = gql
|
|
238
|
-
var UpdateDashboardDocument = gql
|
|
239
|
-
var UpdateWidgetDocument = gql
|
|
240
|
-
var CompanyConfigDocument = gql
|
|
241
|
-
var CounterDirectoriesDocument = gql
|
|
242
|
-
var CountersDocument = gql
|
|
243
|
-
var CurrentUserDocument = gql
|
|
244
|
-
var DashboardsDocument = gql
|
|
245
|
-
var MetricValuesDocument = gql
|
|
246
|
-
var MetricsDocument = gql
|
|
247
|
-
var OrdersDocument = gql
|
|
248
|
-
var OrdersExecutionsDocument = gql
|
|
249
|
-
var ProductsDocument = gql
|
|
250
|
-
var ReasonsDocument = gql
|
|
251
|
-
var ShiftsDocument = gql
|
|
252
|
-
var StatusChangeTransitionPermissionsDocument = gql
|
|
253
|
-
var StatusChangesDocument = gql
|
|
254
|
-
var UsersDocument = gql
|
|
255
|
-
var UsersPresencesDocument = gql
|
|
256
|
-
var WidgetDocument = gql
|
|
257
|
-
var WorkplacesDocument = gql
|
|
81
|
+
var CreateDashboardDocument = gql(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n mutation createDashboard($id: ID!, $name: String!, $gridLayout: String) {\n createDashboard(id: $id, name: $name, gridLayout: $gridLayout) {\n dashboard {\n id\n name\n gridLayout\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
82
|
+
var CreateOrderDocument = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n mutation createOrder($id: ID!, $number: String!) {\n createOrder(id: $id, number: $number) {\n order {\n id\n number\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
83
|
+
var CreateProductDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n mutation createProduct($id: ID!, $name: String, $number: String!) {\n createProduct(id: $id, name: $name, number: $number) {\n product {\n id\n name\n number\n assemblyManual\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
84
|
+
var CreateStatusChangeDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n mutation createStatusChange($id: ID!, $userId: ID, $reasonId: ID!, $workplaceId: ID!, $startedAt: String, $note: String) {\n createStatusChange(\n id: $id\n userId: $userId\n reasonId: $reasonId\n workplaceId: $workplaceId\n startedAt: $startedAt\n note: $note\n ) {\n statusChange {\n id\n workplaceId\n startedAt\n finishedAt\n reason {\n id\n parentId\n reasonGroupId\n name\n position\n leaf\n acceptanceMonit\n hasNote\n statusColor\n }\n author {\n id\n login\n name\n }\n note\n order {\n id\n number\n }\n product {\n id\n name\n number\n assemblyManual\n }\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
85
|
+
var CreateUserPresenceDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n mutation createUserPresence($id: ID!, $workplaceId: ID!, $userToken: String!) {\n createUserPresence(id: $id, workplaceId: $workplaceId, userToken: $userToken) {\n userPresence {\n id\n workplaceId\n user {\n id\n login\n name\n }\n startedAt\n finishedAt\n author {\n id\n login\n name\n }\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
86
|
+
var CreateWidgetDocument = gql(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n mutation createWidget($id: ID!, $config: String) {\n createWidget(id: $id, config: $config) {\n widget {\n id\n config\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
87
|
+
var PauseOrderExecutionDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n mutation pauseOrderExecution($id: ID!, $statusChangeId: ID!) {\n pauseOrderExecution(id: $id, statusChangeId: $statusChangeId) {\n order {\n id\n number\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
88
|
+
var RemoveDashboardDocument = gql(_templateObject8 || (_templateObject8 = _taggedTemplateLiteralLoose(["\n mutation removeDashboard($id: ID!) {\n removeDashboard(id: $id) {\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
89
|
+
var RemoveUserPresenceDocument = gql(_templateObject9 || (_templateObject9 = _taggedTemplateLiteralLoose(["\n mutation removeUserPresence($id: ID!) {\n removeUserPresence(id: $id) {\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
90
|
+
var RemoveWidgetDocument = gql(_templateObject10 || (_templateObject10 = _taggedTemplateLiteralLoose(["\n mutation removeWidget($id: ID!) {\n removeWidget(id: $id) {\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
91
|
+
var RemoveWorkplaceUsersPresencesDocument = gql(_templateObject11 || (_templateObject11 = _taggedTemplateLiteralLoose(["\n mutation removeWorkplaceUsersPresences($workplaceId: ID!) {\n removeWorkplaceUsersPresences(workplaceId: $workplaceId) {\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
92
|
+
var SetCounterDocument = gql(_templateObject12 || (_templateObject12 = _taggedTemplateLiteralLoose(["\n mutation setCounter($id: ID!, $value: Float!) {\n setCounter(id: $id, value: $value) {\n counter {\n id\n kind\n workplaceId\n directoryId\n name\n value\n position\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
93
|
+
var StartOrderExecutionDocument = gql(_templateObject13 || (_templateObject13 = _taggedTemplateLiteralLoose(["\n mutation startOrderExecution($id: ID!, $workplaceId: ID!, $orderId: ID!, $productId: ID, $statusChangeId: ID!, $quantity: Float, $note: String) {\n startOrderExecution(\n id: $id\n workplaceId: $workplaceId\n orderId: $orderId\n productId: $productId\n statusChangeId: $statusChangeId\n quantity: $quantity\n note: $note\n ) {\n order {\n id\n number\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
94
|
+
var StopOrderExecutionDocument = gql(_templateObject14 || (_templateObject14 = _taggedTemplateLiteralLoose(["\n mutation stopOrderExecution($id: ID!, $statusChangeId: ID!) {\n stopOrderExecution(id: $id, statusChangeId: $statusChangeId) {\n order {\n id\n number\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
95
|
+
var UpdateDashboardDocument = gql(_templateObject15 || (_templateObject15 = _taggedTemplateLiteralLoose(["\n mutation updateDashboard($id: ID!, $name: String, $gridLayout: String!) {\n updateDashboard(id: $id, name: $name, gridLayout: $gridLayout) {\n dashboard {\n id\n name\n gridLayout\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
96
|
+
var UpdateWidgetDocument = gql(_templateObject16 || (_templateObject16 = _taggedTemplateLiteralLoose(["\n mutation updateWidget($id: ID!, $config: String!) {\n updateWidget(id: $id, config: $config) {\n widget {\n id\n config\n }\n errors {\n field\n messages\n }\n }\n}\n "])));
|
|
97
|
+
var CompanyConfigDocument = gql(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n query companyConfig {\n companyConfig {\n productConfig {\n formFieldsConfigs {\n name\n regexp\n prefix\n unit\n }\n }\n roleConfig {\n historyVisibilityEnabled\n }\n displayedKpiItems\n workplacesConfigs {\n workplaceId\n orderConfig {\n featureEnabled\n afterStartOrderExecutionReasonId\n afterPauseOrderExecutionReasonId\n afterStopOrderExecutionReasonId\n orderExecutionFormFieldsConfigs {\n name\n regexp\n prefix\n unit\n }\n orderFormFieldsConfigs {\n name\n regexp\n prefix\n unit\n }\n }\n screenSaverConfig {\n enabled\n idleTime\n displayAfterIdle\n displayAfterStatusChangeCreated\n displayAfterOrderCreated\n autoSignOut\n }\n defaultScreen\n statusScreenDisplayBlocks\n }\n devicesConfigs {\n deviceId\n name\n defaultWorkplaceId\n }\n }\n}\n "])));
|
|
98
|
+
var CounterDirectoriesDocument = gql(_templateObject18 || (_templateObject18 = _taggedTemplateLiteralLoose(["\n query counterDirectories {\n counterDirectories {\n id\n name\n directoryId\n position\n workplaceId\n }\n}\n "])));
|
|
99
|
+
var CountersDocument = gql(_templateObject19 || (_templateObject19 = _taggedTemplateLiteralLoose(["\n query counters {\n counters {\n id\n kind\n workplaceId\n directoryId\n name\n value\n position\n }\n}\n "])));
|
|
100
|
+
var CurrentUserDocument = gql(_templateObject20 || (_templateObject20 = _taggedTemplateLiteralLoose(["\n query currentUser {\n currentUser {\n id\n login\n name\n }\n}\n "])));
|
|
101
|
+
var DashboardsDocument = gql(_templateObject21 || (_templateObject21 = _taggedTemplateLiteralLoose(["\n query dashboards {\n dashboards {\n id\n name\n gridLayout\n }\n}\n "])));
|
|
102
|
+
var MetricValuesDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteralLoose(["\n query metricValues($workplaces: [ID!], $gridReasons: [ID!]) {\n metricValues(workplaces: $workplaces, gridReasons: $gridReasons) {\n active\n type\n timer\n value\n status\n workplaceId\n metricId\n }\n}\n "])));
|
|
103
|
+
var MetricsDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteralLoose(["\n query metrics {\n metrics {\n id\n name\n }\n}\n "])));
|
|
104
|
+
var OrdersDocument = gql(_templateObject24 || (_templateObject24 = _taggedTemplateLiteralLoose(["\n query orders {\n orders {\n id\n number\n }\n}\n "])));
|
|
105
|
+
var OrdersExecutionsDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteralLoose(["\n query ordersExecutions {\n ordersExecutions {\n id\n workplaceId\n order {\n id\n number\n }\n product {\n id\n name\n number\n assemblyManual\n }\n startedAt\n finishedAt\n quantity\n note\n }\n}\n "])));
|
|
106
|
+
var ProductsDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteralLoose(["\n query products {\n products {\n id\n name\n number\n assemblyManual\n }\n}\n "])));
|
|
107
|
+
var ReasonsDocument = gql(_templateObject27 || (_templateObject27 = _taggedTemplateLiteralLoose(["\n query reasons {\n reasons {\n id\n parentId\n reasonGroupId\n name\n position\n leaf\n acceptanceMonit\n hasNote\n statusColor\n }\n}\n "])));
|
|
108
|
+
var ShiftsDocument = gql(_templateObject28 || (_templateObject28 = _taggedTemplateLiteralLoose(["\n query shifts {\n shifts {\n id\n name\n startedAt\n finishedAt\n }\n}\n "])));
|
|
109
|
+
var StatusChangeTransitionPermissionsDocument = gql(_templateObject29 || (_templateObject29 = _taggedTemplateLiteralLoose(["\n query statusChangeTransitionPermissions {\n statusChangeTransitionPermissions {\n id\n workplaceId\n roleId\n fromReasonId\n toReasonId\n allowed\n }\n}\n "])));
|
|
110
|
+
var StatusChangesDocument = gql(_templateObject30 || (_templateObject30 = _taggedTemplateLiteralLoose(["\n query statusChanges {\n statusChanges {\n id\n workplaceId\n startedAt\n finishedAt\n reason {\n id\n parentId\n reasonGroupId\n name\n position\n leaf\n acceptanceMonit\n hasNote\n statusColor\n }\n author {\n id\n login\n name\n }\n note\n order {\n id\n number\n }\n product {\n id\n name\n number\n assemblyManual\n }\n }\n}\n "])));
|
|
111
|
+
var UsersDocument = gql(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n query users {\n users {\n id\n login\n name\n }\n}\n "])));
|
|
112
|
+
var UsersPresencesDocument = gql(_templateObject32 || (_templateObject32 = _taggedTemplateLiteralLoose(["\n query usersPresences {\n usersPresences {\n id\n workplaceId\n user {\n id\n login\n name\n }\n startedAt\n finishedAt\n author {\n id\n login\n name\n }\n }\n}\n "])));
|
|
113
|
+
var WidgetDocument = gql(_templateObject33 || (_templateObject33 = _taggedTemplateLiteralLoose(["\n query widget($id: ID!) {\n widget(id: $id) {\n id\n config\n }\n}\n "])));
|
|
114
|
+
var WorkplacesDocument = gql(_templateObject34 || (_templateObject34 = _taggedTemplateLiteralLoose(["\n query workplaces {\n workplaces {\n id\n name\n reasonGroupId\n kpiData {\n ... on KpiItem {\n id\n label\n symbol\n value\n }\n ... on KpiProgressItem {\n id\n label\n symbol\n progress\n }\n }\n }\n}\n "])));
|
|
258
115
|
|
|
259
116
|
var defaultWrapper = function defaultWrapper(action, _operationName) {
|
|
260
117
|
return action();
|