@orchestrator-ui/orchestrator-ui-components 2.10.1 → 2.12.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.
- package/.turbo/turbo-build.log +6 -6
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +12 -12
- package/CHANGELOG.md +33 -0
- package/dist/index.d.ts +17 -7
- package/dist/index.js +764 -751
- package/dist/index.js.map +1 -1
- package/package.json +6 -2
- package/src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx +46 -23
- package/src/components/WfoBadges/WfoFailedTasksBadge/styles.ts +10 -0
- package/src/components/WfoForms/formFields/BoolFieldStyling.ts +0 -4
- package/src/components/WfoInlineNoteEdit/WfoInlineNoteEdit.tsx +5 -6
- package/src/components/WfoSubscription/WfoInUseByRelations.tsx +1 -0
- package/src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx +1 -1
- package/src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx +14 -3
- package/src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx +22 -16
- package/src/components/WfoTable/WfoTable/WfoTableDataRows.tsx +10 -4
- package/src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoSortDirectionIcon.tsx +5 -11
- package/src/components/WfoTable/WfoTable/WfoTableHeaderCell/styles.ts +1 -0
- package/src/components/WfoTable/WfoTable/styles.ts +6 -0
- package/src/configuration/version.ts +1 -1
- package/src/icons/heroicons/WfoArrowDown.tsx +27 -0
- package/src/icons/heroicons/WfoArrowUp.tsx +27 -0
- package/src/icons/heroicons/WfoArrowsUpDown.tsx +2 -2
- package/src/icons/heroicons/WfoHeroIconsWrapper.tsx +12 -19
- package/src/icons/heroicons/index.ts +2 -0
- package/src/icons/index.ts +0 -2
- package/src/rtk/endpoints/subscriptionDetail.ts +2 -1
- package/src/utils/getDefaultTableConfig.ts +1 -0
- package/src/icons/WfoArrowNarrowDown.stories.tsx +0 -13
- package/src/icons/WfoArrowNarrowDown.tsx +0 -35
- package/src/icons/WfoArrowNarrowUp.stories.tsx +0 -13
- package/src/icons/WfoArrowNarrowUp.tsx +0 -34
package/dist/index.js
CHANGED
|
@@ -4922,10 +4922,10 @@ var require_markup = __commonJS({
|
|
|
4922
4922
|
var require_css = __commonJS({
|
|
4923
4923
|
"../../node_modules/refractor/lang/css.js"(exports, module) {
|
|
4924
4924
|
"use strict";
|
|
4925
|
-
module.exports =
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
function
|
|
4925
|
+
module.exports = css44;
|
|
4926
|
+
css44.displayName = "css";
|
|
4927
|
+
css44.aliases = [];
|
|
4928
|
+
function css44(Prism) {
|
|
4929
4929
|
;
|
|
4930
4930
|
(function(Prism2) {
|
|
4931
4931
|
var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
@@ -5192,7 +5192,7 @@ var require_core = __commonJS({
|
|
|
5192
5192
|
var decode = require_parse_entities();
|
|
5193
5193
|
var Prism = require_prism_core();
|
|
5194
5194
|
var markup = require_markup();
|
|
5195
|
-
var
|
|
5195
|
+
var css44 = require_css();
|
|
5196
5196
|
var clike = require_clike();
|
|
5197
5197
|
var js = require_javascript();
|
|
5198
5198
|
restore();
|
|
@@ -5208,7 +5208,7 @@ var require_core = __commonJS({
|
|
|
5208
5208
|
refract.registered = registered;
|
|
5209
5209
|
refract.listLanguages = listLanguages;
|
|
5210
5210
|
register(markup);
|
|
5211
|
-
register(
|
|
5211
|
+
register(css44);
|
|
5212
5212
|
register(clike);
|
|
5213
5213
|
register(js);
|
|
5214
5214
|
refract.util.encode = encode;
|
|
@@ -26792,7 +26792,7 @@ var PolicyResource = /* @__PURE__ */ ((PolicyResource2) => {
|
|
|
26792
26792
|
})(PolicyResource || {});
|
|
26793
26793
|
|
|
26794
26794
|
// src/configuration/version.ts
|
|
26795
|
-
var ORCHESTRATOR_UI_LIBRARY_VERSION = "2.
|
|
26795
|
+
var ORCHESTRATOR_UI_LIBRARY_VERSION = "2.12.0";
|
|
26796
26796
|
|
|
26797
26797
|
// src/types/types.ts
|
|
26798
26798
|
var EngineStatus = /* @__PURE__ */ ((EngineStatus3) => {
|
|
@@ -34336,7 +34336,7 @@ fragment SubscriptionDetail on SubscriptionInterface {
|
|
|
34336
34336
|
subscriptionInstanceId
|
|
34337
34337
|
inUseByRelations
|
|
34338
34338
|
}
|
|
34339
|
-
processes(sortBy: { field: "startedAt", order: ASC }) {
|
|
34339
|
+
processes(first: ${NUMBER_OF_ITEMS_REPRESENTING_ALL_ITEMS}, after: 0, sortBy: { field: "startedAt", order: ASC }) {
|
|
34340
34340
|
page {
|
|
34341
34341
|
processId
|
|
34342
34342
|
lastStatus
|
|
@@ -34846,6 +34846,7 @@ var getDefaultTableConfig = (storageKey) => {
|
|
|
34846
34846
|
case SUBSCRIPTIONS_TABLE_LOCAL_STORAGE_KEY:
|
|
34847
34847
|
const subscriptionColumns = [
|
|
34848
34848
|
"productName",
|
|
34849
|
+
"customerFullname",
|
|
34849
34850
|
"metadata"
|
|
34850
34851
|
];
|
|
34851
34852
|
return getTableConfig(subscriptionColumns);
|
|
@@ -35079,6 +35080,7 @@ var WfoProcessStatusBadge = ({
|
|
|
35079
35080
|
|
|
35080
35081
|
// src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx
|
|
35081
35082
|
import { useTranslations as useTranslations5 } from "next-intl";
|
|
35083
|
+
import Link from "next/link";
|
|
35082
35084
|
import { EuiToolTip } from "@elastic/eui";
|
|
35083
35085
|
|
|
35084
35086
|
// src/icons/heroicons/WfoHeroIconsWrapper.tsx
|
|
@@ -35086,23 +35088,18 @@ import { jsx as jsx12 } from "@emotion/react/jsx-runtime";
|
|
|
35086
35088
|
var WfoHeroIconsWrapper = ({
|
|
35087
35089
|
children,
|
|
35088
35090
|
className
|
|
35089
|
-
}) =>
|
|
35090
|
-
|
|
35091
|
-
|
|
35092
|
-
|
|
35093
|
-
{
|
|
35094
|
-
|
|
35095
|
-
|
|
35096
|
-
|
|
35097
|
-
|
|
35098
|
-
|
|
35099
|
-
|
|
35100
|
-
|
|
35101
|
-
},
|
|
35102
|
-
children
|
|
35103
|
-
}
|
|
35104
|
-
);
|
|
35105
|
-
};
|
|
35091
|
+
}) => /* @__PURE__ */ jsx12(
|
|
35092
|
+
"div",
|
|
35093
|
+
{
|
|
35094
|
+
className,
|
|
35095
|
+
css: {
|
|
35096
|
+
display: "flex",
|
|
35097
|
+
alignItems: "center",
|
|
35098
|
+
height: "100%"
|
|
35099
|
+
},
|
|
35100
|
+
children
|
|
35101
|
+
}
|
|
35102
|
+
);
|
|
35106
35103
|
var withWfoHeroIconsWrapper = (Icon) => {
|
|
35107
35104
|
const wfoHeroIconsWrapperWithIcon = ({
|
|
35108
35105
|
className,
|
|
@@ -35112,21 +35109,47 @@ var withWfoHeroIconsWrapper = (Icon) => {
|
|
|
35112
35109
|
return wfoHeroIconsWrapperWithIcon;
|
|
35113
35110
|
};
|
|
35114
35111
|
|
|
35115
|
-
// src/icons/heroicons/
|
|
35112
|
+
// src/icons/heroicons/WfoArrowDown.tsx
|
|
35116
35113
|
import { jsx as jsx13 } from "@emotion/react/jsx-runtime";
|
|
35114
|
+
var WfoArrowDownSvg = ({
|
|
35115
|
+
width = 12,
|
|
35116
|
+
height = 14,
|
|
35117
|
+
color = "currentColor"
|
|
35118
|
+
}) => /* @__PURE__ */ jsx13(
|
|
35119
|
+
"svg",
|
|
35120
|
+
{
|
|
35121
|
+
width,
|
|
35122
|
+
height,
|
|
35123
|
+
viewBox: "4 3 12 14",
|
|
35124
|
+
fill: color,
|
|
35125
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35126
|
+
children: /* @__PURE__ */ jsx13(
|
|
35127
|
+
"path",
|
|
35128
|
+
{
|
|
35129
|
+
fillRule: "evenodd",
|
|
35130
|
+
d: "M10 3a.75.75 0 0 1 .75.75v10.638l3.96-4.158a.75.75 0 1 1 1.08 1.04l-5.25 5.5a.75.75 0 0 1-1.08 0l-5.25-5.5a.75.75 0 1 1 1.08-1.04l3.96 4.158V3.75A.75.75 0 0 1 10 3Z",
|
|
35131
|
+
clipRule: "evenodd"
|
|
35132
|
+
}
|
|
35133
|
+
)
|
|
35134
|
+
}
|
|
35135
|
+
);
|
|
35136
|
+
var WfoArrowDown = withWfoHeroIconsWrapper(WfoArrowDownSvg);
|
|
35137
|
+
|
|
35138
|
+
// src/icons/heroicons/WfoArrowsUpDown.tsx
|
|
35139
|
+
import { jsx as jsx14 } from "@emotion/react/jsx-runtime";
|
|
35117
35140
|
var WfoArrowsUpDownSvg = ({
|
|
35118
35141
|
width = 20,
|
|
35119
35142
|
height = 20,
|
|
35120
|
-
color = "
|
|
35121
|
-
}) => /* @__PURE__ */
|
|
35143
|
+
color = "currentColor"
|
|
35144
|
+
}) => /* @__PURE__ */ jsx14(
|
|
35122
35145
|
"svg",
|
|
35123
35146
|
{
|
|
35124
35147
|
width,
|
|
35125
35148
|
height,
|
|
35126
|
-
viewBox: "
|
|
35149
|
+
viewBox: "2 2 20 20",
|
|
35127
35150
|
fill: color,
|
|
35128
35151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35129
|
-
children: /* @__PURE__ */
|
|
35152
|
+
children: /* @__PURE__ */ jsx14(
|
|
35130
35153
|
"path",
|
|
35131
35154
|
{
|
|
35132
35155
|
fillRule: "evenodd",
|
|
@@ -35138,13 +35161,39 @@ var WfoArrowsUpDownSvg = ({
|
|
|
35138
35161
|
);
|
|
35139
35162
|
var WfoArrowsUpDown = withWfoHeroIconsWrapper(WfoArrowsUpDownSvg);
|
|
35140
35163
|
|
|
35164
|
+
// src/icons/heroicons/WfoArrowUp.tsx
|
|
35165
|
+
import { jsx as jsx15 } from "@emotion/react/jsx-runtime";
|
|
35166
|
+
var WfoArrowUpSvg = ({
|
|
35167
|
+
width = 12,
|
|
35168
|
+
height = 14,
|
|
35169
|
+
color = "currentColor"
|
|
35170
|
+
}) => /* @__PURE__ */ jsx15(
|
|
35171
|
+
"svg",
|
|
35172
|
+
{
|
|
35173
|
+
width,
|
|
35174
|
+
height,
|
|
35175
|
+
viewBox: "4 3 12 14",
|
|
35176
|
+
fill: color,
|
|
35177
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35178
|
+
children: /* @__PURE__ */ jsx15(
|
|
35179
|
+
"path",
|
|
35180
|
+
{
|
|
35181
|
+
fillRule: "evenodd",
|
|
35182
|
+
d: "M10 17a.75.75 0 0 1-.75-.75V5.612L5.29 9.77a.75.75 0 0 1-1.08-1.04l5.25-5.5a.75.75 0 0 1 1.08 0l5.25 5.5a.75.75 0 1 1-1.08 1.04l-3.96-4.158V16.25A.75.75 0 0 1 10 17Z",
|
|
35183
|
+
clipRule: "evenodd"
|
|
35184
|
+
}
|
|
35185
|
+
)
|
|
35186
|
+
}
|
|
35187
|
+
);
|
|
35188
|
+
var WfoArrowUp = withWfoHeroIconsWrapper(WfoArrowUpSvg);
|
|
35189
|
+
|
|
35141
35190
|
// src/icons/heroicons/WfoWrench.tsx
|
|
35142
|
-
import { jsx as
|
|
35191
|
+
import { jsx as jsx16 } from "@emotion/react/jsx-runtime";
|
|
35143
35192
|
var WfoWrenchSvg = ({
|
|
35144
35193
|
width = 20,
|
|
35145
35194
|
height = 20,
|
|
35146
35195
|
color = "currentColor"
|
|
35147
|
-
}) => /* @__PURE__ */
|
|
35196
|
+
}) => /* @__PURE__ */ jsx16(
|
|
35148
35197
|
"svg",
|
|
35149
35198
|
{
|
|
35150
35199
|
width,
|
|
@@ -35152,7 +35201,7 @@ var WfoWrenchSvg = ({
|
|
|
35152
35201
|
viewBox: "0 0 24 24",
|
|
35153
35202
|
fill: color,
|
|
35154
35203
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35155
|
-
children: /* @__PURE__ */
|
|
35204
|
+
children: /* @__PURE__ */ jsx16(
|
|
35156
35205
|
"path",
|
|
35157
35206
|
{
|
|
35158
35207
|
fillRule: "evenodd",
|
|
@@ -35165,7 +35214,7 @@ var WfoWrenchSvg = ({
|
|
|
35165
35214
|
var WfoWrench = withWfoHeroIconsWrapper(WfoWrenchSvg);
|
|
35166
35215
|
|
|
35167
35216
|
// src/icons/WfoXCircleFill.tsx
|
|
35168
|
-
import { jsx as
|
|
35217
|
+
import { jsx as jsx17, jsxs as jsxs3 } from "@emotion/react/jsx-runtime";
|
|
35169
35218
|
var WfoXCircleFill = ({
|
|
35170
35219
|
width = 24,
|
|
35171
35220
|
height = 24,
|
|
@@ -35179,8 +35228,8 @@ var WfoXCircleFill = ({
|
|
|
35179
35228
|
version: "1.1",
|
|
35180
35229
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35181
35230
|
children: [
|
|
35182
|
-
/* @__PURE__ */
|
|
35183
|
-
/* @__PURE__ */
|
|
35231
|
+
/* @__PURE__ */ jsx17("title", { children: "icon/x-circle-fill" }),
|
|
35232
|
+
/* @__PURE__ */ jsx17(
|
|
35184
35233
|
"g",
|
|
35185
35234
|
{
|
|
35186
35235
|
id: "Symbols",
|
|
@@ -35188,7 +35237,7 @@ var WfoXCircleFill = ({
|
|
|
35188
35237
|
strokeWidth: "1",
|
|
35189
35238
|
fill: "none",
|
|
35190
35239
|
fillRule: "evenodd",
|
|
35191
|
-
children: /* @__PURE__ */
|
|
35240
|
+
children: /* @__PURE__ */ jsx17("g", { id: "icon/x-circle-fill", fill: color, children: /* @__PURE__ */ jsx17(
|
|
35192
35241
|
"path",
|
|
35193
35242
|
{
|
|
35194
35243
|
d: "M12,20 C16.4183,20 20,16.4183 20,12 C20,7.58172 16.4183,4 12,4 C7.58172,4 4,7.58172 4,12 C4,16.4183 7.58172,20 12,20 Z M10.70711,9.29289 C10.31658,8.90237 9.68342,8.90237 9.29289,9.29289 C8.90237,9.68342 8.90237,10.31658 9.29289,10.70711 L10.58579,12 L9.29289,13.2929 C8.90237,13.6834 8.90237,14.3166 9.29289,14.7071 C9.68342,15.0976 10.31658,15.0976 10.70711,14.7071 L12,13.4142 L13.2929,14.7071 C13.6834,15.0976 14.3166,15.0976 14.7071,14.7071 C15.0976,14.3166 15.0976,13.6834 14.7071,13.2929 L13.4142,12 L14.7071,10.70711 C15.0976,10.31658 15.0976,9.68342 14.7071,9.29289 C14.3166,8.90237 13.6834,8.90237 13.2929,9.29289 L12,10.58579 L10.70711,9.29289 Z",
|
|
@@ -35202,7 +35251,7 @@ var WfoXCircleFill = ({
|
|
|
35202
35251
|
);
|
|
35203
35252
|
|
|
35204
35253
|
// src/icons/WfoArrowsExpand.tsx
|
|
35205
|
-
import { jsx as
|
|
35254
|
+
import { jsx as jsx18, jsxs as jsxs4 } from "@emotion/react/jsx-runtime";
|
|
35206
35255
|
var WfoArrowsExpand = ({
|
|
35207
35256
|
width = 16,
|
|
35208
35257
|
height = 20,
|
|
@@ -35216,8 +35265,8 @@ var WfoArrowsExpand = ({
|
|
|
35216
35265
|
version: "1.1",
|
|
35217
35266
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35218
35267
|
children: [
|
|
35219
|
-
/* @__PURE__ */
|
|
35220
|
-
/* @__PURE__ */
|
|
35268
|
+
/* @__PURE__ */ jsx18("title", { children: "icon/arrows-expand" }),
|
|
35269
|
+
/* @__PURE__ */ jsx18(
|
|
35221
35270
|
"g",
|
|
35222
35271
|
{
|
|
35223
35272
|
id: "Symbols",
|
|
@@ -35225,7 +35274,7 @@ var WfoArrowsExpand = ({
|
|
|
35225
35274
|
strokeWidth: "1",
|
|
35226
35275
|
fill: "none",
|
|
35227
35276
|
fillRule: "evenodd",
|
|
35228
|
-
children: /* @__PURE__ */
|
|
35277
|
+
children: /* @__PURE__ */ jsx18("g", { id: "icon/arrows-expand", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx18(
|
|
35229
35278
|
"path",
|
|
35230
35279
|
{
|
|
35231
35280
|
d: "M8,3 C8.55228475,3 9,3.44771525 9,4 C9,4.55228475 8.55228475,5 8,5 L6.414,5 L9.70710678,8.29289322 C10.0976311,8.68341751 10.0976311,9.31658249 9.70710678,9.70710678 C9.31658249,10.0976311 8.68341751,10.0976311 8.29289322,9.70710678 L5,6.414 L5,8 C5,8.55228475 4.55228475,9 4,9 C3.44771525,9 3,8.55228475 3,8 L3.00278786,3.92476146 L3.02024007,3.79927424 L3.04973809,3.68785748 L3.08186687,3.60305436 L3.13590047,3.49621086 L3.21292769,3.38297765 L3.29291093,3.29285919 C3.32828727,3.25749917 3.36567442,3.22531295 3.40469339,3.19633458 L3.51222854,3.1267352 L3.60305314,3.08187107 L3.73400703,3.03584514 L3.8819045,3.00690716 L4,3 L8,3 Z M16,3 L20,3 L20.0752385,3.00278786 L20.2007258,3.02024007 L20.3121425,3.04973809 L20.4232215,3.09367336 L20.5207088,3.14599545 L20.6170223,3.21292769 L20.7071408,3.29291093 C20.7425008,3.32828727 20.774687,3.36567442 20.8036654,3.40469339 L20.8732648,3.51222854 L20.9181289,3.60305314 L20.9641549,3.73400703 L20.9930928,3.8819045 L21,4 L21,8 C21,8.55228475 20.5522847,9 20,9 C19.4477153,9 19,8.55228475 19,8 L19,6.414 L15.7071068,9.70710678 C15.3165825,10.0976311 14.6834175,10.0976311 14.2928932,9.70710678 C13.9023689,9.31658249 13.9023689,8.68341751 14.2928932,8.29289322 L17.585,5 L16,5 C15.4477153,5 15,4.55228475 15,4 C15,3.44771525 15.4477153,3 16,3 Z M9.70710678,14.2928932 C10.0976311,14.6834175 10.0976311,15.3165825 9.70710678,15.7071068 L6.414,19 L8,19 C8.55228475,19 9,19.4477153 9,20 C9,20.5522847 8.55228475,21 8,21 L3.92476146,20.9972121 L3.79927424,20.9797599 L3.68785748,20.9502619 L3.60305436,20.9181331 L3.49621086,20.8640995 L3.38297765,20.7870723 L3.29285919,20.7070891 C3.25749917,20.6717127 3.22531295,20.6343256 3.19633458,20.5953066 L3.12467117,20.4840621 L3.07122549,20.371336 L3.03584514,20.265993 L3.00683422,20.1174742 L3,20 L3,16 C3,15.4477153 3.44771525,15 4,15 C4.55228475,15 5,15.4477153 5,16 L5,17.585 L8.29289322,14.2928932 C8.68341751,13.9023689 9.31658249,13.9023689 9.70710678,14.2928932 Z M16,21 C15.4477153,21 15,20.5522847 15,20 C15,19.4477153 15.4477153,19 16,19 L17.585,19 L14.2928932,15.7071068 C13.9023689,15.3165825 13.9023689,14.6834175 14.2928932,14.2928932 C14.6834175,13.9023689 15.3165825,13.9023689 15.7071068,14.2928932 L19,17.585 L19,16 C19,15.4477153 19.4477153,15 20,15 C20.5522847,15 21,15.4477153 21,16 L20.9972121,20.0752385 L20.9797599,20.2007258 L20.9502619,20.3121425 L20.9063266,20.4232215 L20.8540045,20.5207088 L20.7902954,20.6128994 L20.7073018,20.7068684 C20.6717127,20.7425008 20.6343256,20.774687 20.5953066,20.8036654 L20.4840621,20.8753288 L20.371336,20.9287745 L20.2350988,20.9722083 L20.1539846,20.9882174 L20,21 L16,21 Z",
|
|
@@ -35239,7 +35288,7 @@ var WfoArrowsExpand = ({
|
|
|
35239
35288
|
);
|
|
35240
35289
|
|
|
35241
35290
|
// src/icons/WfoStatusDotIcon.tsx
|
|
35242
|
-
import { jsx as
|
|
35291
|
+
import { jsx as jsx19, jsxs as jsxs5 } from "@emotion/react/jsx-runtime";
|
|
35243
35292
|
var WfoStatusDotIcon = ({
|
|
35244
35293
|
width = 24,
|
|
35245
35294
|
height = 24,
|
|
@@ -35253,8 +35302,8 @@ var WfoStatusDotIcon = ({
|
|
|
35253
35302
|
version: "1.1",
|
|
35254
35303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35255
35304
|
children: [
|
|
35256
|
-
/* @__PURE__ */
|
|
35257
|
-
/* @__PURE__ */
|
|
35305
|
+
/* @__PURE__ */ jsx19("title", { children: "icon/statusdot" }),
|
|
35306
|
+
/* @__PURE__ */ jsx19(
|
|
35258
35307
|
"g",
|
|
35259
35308
|
{
|
|
35260
35309
|
id: "Symbols",
|
|
@@ -35263,8 +35312,8 @@ var WfoStatusDotIcon = ({
|
|
|
35263
35312
|
fill: "none",
|
|
35264
35313
|
fillRule: "evenodd",
|
|
35265
35314
|
children: /* @__PURE__ */ jsxs5("g", { id: "icon/statusdot", fill: color, fillRule: "nonzero", children: [
|
|
35266
|
-
/* @__PURE__ */
|
|
35267
|
-
/* @__PURE__ */
|
|
35315
|
+
/* @__PURE__ */ jsx19("circle", { id: "Oval", opacity: "0.25", cx: "12", cy: "12", r: "8" }),
|
|
35316
|
+
/* @__PURE__ */ jsx19("circle", { id: "Oval", cx: "12", cy: "12", r: "4" })
|
|
35268
35317
|
] })
|
|
35269
35318
|
}
|
|
35270
35319
|
)
|
|
@@ -35273,7 +35322,7 @@ var WfoStatusDotIcon = ({
|
|
|
35273
35322
|
);
|
|
35274
35323
|
|
|
35275
35324
|
// src/icons/WfoLogoutIcon.tsx
|
|
35276
|
-
import { jsx as
|
|
35325
|
+
import { jsx as jsx20, jsxs as jsxs6 } from "@emotion/react/jsx-runtime";
|
|
35277
35326
|
var WfoLogoutIcon = ({
|
|
35278
35327
|
width = 24,
|
|
35279
35328
|
height = 24,
|
|
@@ -35287,8 +35336,8 @@ var WfoLogoutIcon = ({
|
|
|
35287
35336
|
version: "1.1",
|
|
35288
35337
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35289
35338
|
children: [
|
|
35290
|
-
/* @__PURE__ */
|
|
35291
|
-
/* @__PURE__ */
|
|
35339
|
+
/* @__PURE__ */ jsx20("title", { children: "icon/logout" }),
|
|
35340
|
+
/* @__PURE__ */ jsx20(
|
|
35292
35341
|
"g",
|
|
35293
35342
|
{
|
|
35294
35343
|
id: "Symbols",
|
|
@@ -35296,7 +35345,7 @@ var WfoLogoutIcon = ({
|
|
|
35296
35345
|
strokeWidth: "1",
|
|
35297
35346
|
fill: "none",
|
|
35298
35347
|
fillRule: "evenodd",
|
|
35299
|
-
children: /* @__PURE__ */
|
|
35348
|
+
children: /* @__PURE__ */ jsx20("g", { id: "icon/logout", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx20(
|
|
35300
35349
|
"path",
|
|
35301
35350
|
{
|
|
35302
35351
|
d: "M10,3 C12.2091701,3 14,4.79085056 14,7 L14,8 C14,8.55228475 13.5522847,9 13,9 C12.4477153,9 12,8.55228475 12,8 L12,7 C12,5.8954149 11.1045954,5 10,5 L6,5 C4.89543475,5 4,5.89543475 4,7 L4,17 C4,18.1045954 4.8954149,19 6,19 L10,19 C11.1046153,19 12,18.1046153 12,17 L12,16 C12,15.4477153 12.4477153,15 13,15 C13.5522847,15 14,15.4477153 14,16 L14,17 C14,19.2091847 12.2091847,21 10,21 L6,21 C3.79085056,21 2,19.2091701 2,17 L2,7 C2,4.79086525 3.79086525,3 6,3 L10,3 Z M17.7071068,7.29289322 L21.7071068,11.2928932 L21.7485042,11.336853 L21.757,11.347 L21.787214,11.3832499 L21.779,11.374 L21.8036654,11.4046934 C21.8215099,11.4288693 21.8382813,11.453725 21.8539326,11.4793398 L21.8753288,11.5159379 C21.8862061,11.5357061 21.8966234,11.5561086 21.9063462,11.5769009 L21.9287745,11.628664 C21.9366843,11.6484208 21.9438775,11.6682023 21.9504533,11.6882636 C21.9552713,11.7031487 21.9599023,11.7185367 21.9641549,11.734007 C21.9701664,11.7555635 21.9753602,11.7772539 21.9798348,11.7992059 C21.9832978,11.8166247 21.9863719,11.834051 21.9889822,11.8515331 C21.9920328,11.8714753 21.9944666,11.892114 21.9962623,11.912935 C21.9978436,11.9317345 21.9989053,11.9497336 21.9994829,11.9677454 C21.9998183,11.9777892 22,11.9888734 22,12 L21.996384,12.0852242 L21.9889807,12.1489612 C21.9863719,12.165949 21.9832978,12.1833753 21.9797599,12.2007258 C21.9753602,12.2227461 21.9701664,12.2444365 21.964279,12.2658396 C21.9599023,12.2814633 21.9552713,12.2968513 21.9502619,12.3121425 C21.9438775,12.3317977 21.9366843,12.3515792 21.928896,12.3710585 L21.9063266,12.4232215 C21.8966234,12.4438914 21.8862061,12.4642939 21.8751242,12.484277 C21.8685012,12.4963944 21.8613931,12.5086131 21.8540045,12.5207088 C21.8382813,12.546275 21.8215099,12.5711307 21.8036865,12.5951593 L21.7870723,12.6170223 C21.7849289,12.6196628 21.7826279,12.6225624 21.7803112,12.625449 L21.7071068,12.7071068 L17.7071068,16.7071068 C17.3165825,17.0976311 16.6834175,17.0976311 16.2928932,16.7071068 C15.9023689,16.3165825 15.9023689,15.6834175 16.2928932,15.2928932 L18.585,13 L7,13 C6.44771525,13 6,12.5522847 6,12 C6,11.4477153 6.44771525,11 7,11 L18.585,11 L16.2928932,8.70710678 C15.9023689,8.31658249 15.9023689,7.68341751 16.2928932,7.29289322 C16.6834175,6.90236893 17.3165825,6.90236893 17.7071068,7.29289322 Z",
|
|
@@ -35310,12 +35359,12 @@ var WfoLogoutIcon = ({
|
|
|
35310
35359
|
);
|
|
35311
35360
|
|
|
35312
35361
|
// src/icons/WfoCheckmarkCircleFill.tsx
|
|
35313
|
-
import { jsx as
|
|
35362
|
+
import { jsx as jsx21 } from "@emotion/react/jsx-runtime";
|
|
35314
35363
|
var WfoCheckmarkCircleFill = ({
|
|
35315
35364
|
width = 24,
|
|
35316
35365
|
height = 24,
|
|
35317
35366
|
color = "#000000"
|
|
35318
|
-
}) => /* @__PURE__ */
|
|
35367
|
+
}) => /* @__PURE__ */ jsx21(
|
|
35319
35368
|
"svg",
|
|
35320
35369
|
{
|
|
35321
35370
|
width,
|
|
@@ -35323,7 +35372,7 @@ var WfoCheckmarkCircleFill = ({
|
|
|
35323
35372
|
viewBox: "0 0 24 24",
|
|
35324
35373
|
version: "1.1",
|
|
35325
35374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35326
|
-
children: /* @__PURE__ */
|
|
35375
|
+
children: /* @__PURE__ */ jsx21(
|
|
35327
35376
|
"g",
|
|
35328
35377
|
{
|
|
35329
35378
|
id: "Symbols",
|
|
@@ -35331,7 +35380,7 @@ var WfoCheckmarkCircleFill = ({
|
|
|
35331
35380
|
strokeWidth: "1",
|
|
35332
35381
|
fill: "none",
|
|
35333
35382
|
fillRule: "evenodd",
|
|
35334
|
-
children: /* @__PURE__ */
|
|
35383
|
+
children: /* @__PURE__ */ jsx21("g", { id: "icon/checkmark-circle-fill", fill: color, children: /* @__PURE__ */ jsx21(
|
|
35335
35384
|
"path",
|
|
35336
35385
|
{
|
|
35337
35386
|
d: "M12,20 C16.4183,20 20,16.4183 20,12 C20,7.58172 16.4183,4 12,4 C7.58172,4 4,7.58172 4,12 C4,16.4183 7.58172,20 12,20 Z M15.7071,10.70711 C16.0976,10.31658 16.0976,9.68342 15.7071,9.29289 C15.3166,8.90237 14.6834,8.90237 14.2929,9.29289 L11,12.5858 L9.70711,11.29289 C9.31658,10.90237 8.68342,10.90237 8.29289,11.29289 C7.90237,11.68342 7.90237,12.3166 8.29289,12.7071 L10.29289,14.7071 C10.68342,15.0976 11.31658,15.0976 11.70711,14.7071 L15.7071,10.70711 Z",
|
|
@@ -35344,12 +35393,12 @@ var WfoCheckmarkCircleFill = ({
|
|
|
35344
35393
|
);
|
|
35345
35394
|
|
|
35346
35395
|
// src/icons/WfoMinusCircleOutline.tsx
|
|
35347
|
-
import { jsx as
|
|
35396
|
+
import { jsx as jsx22 } from "@emotion/react/jsx-runtime";
|
|
35348
35397
|
var WfoMinusCircleOutline = ({
|
|
35349
35398
|
width = 24,
|
|
35350
35399
|
height = 24,
|
|
35351
35400
|
color = "#000000"
|
|
35352
|
-
}) => /* @__PURE__ */
|
|
35401
|
+
}) => /* @__PURE__ */ jsx22(
|
|
35353
35402
|
"svg",
|
|
35354
35403
|
{
|
|
35355
35404
|
width,
|
|
@@ -35357,7 +35406,7 @@ var WfoMinusCircleOutline = ({
|
|
|
35357
35406
|
viewBox: "0 0 24 24",
|
|
35358
35407
|
version: "1.1",
|
|
35359
35408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35360
|
-
children: /* @__PURE__ */
|
|
35409
|
+
children: /* @__PURE__ */ jsx22(
|
|
35361
35410
|
"g",
|
|
35362
35411
|
{
|
|
35363
35412
|
id: "Symbols",
|
|
@@ -35365,7 +35414,7 @@ var WfoMinusCircleOutline = ({
|
|
|
35365
35414
|
strokeWidth: "1",
|
|
35366
35415
|
fill: "none",
|
|
35367
35416
|
fillRule: "evenodd",
|
|
35368
|
-
children: /* @__PURE__ */
|
|
35417
|
+
children: /* @__PURE__ */ jsx22("g", { id: "icon/minus-circle-outline", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx22(
|
|
35369
35418
|
"path",
|
|
35370
35419
|
{
|
|
35371
35420
|
d: "M12,4 C16.4183,4 20,7.58172 20,12 C20,16.4183 16.4183,20 12,20 C7.58172,20 4,16.4183 4,12 C4,7.58172 7.58172,4 12,4 Z M12,6 C8.6862895,6 6,8.6862895 6,12 C6,15.3137228 8.68628182,18 12,18 C15.3137305,18 18,15.3137305 18,12 C18,8.68628182 15.3137228,6 12,6 Z M15,11 C15.5523,11 16,11.44772 16,12 C16,12.5523 15.5523,13 15,13 L9,13 C8.44772,13 8,12.5523 8,12 C8,11.44772 8.44772,11 9,11 Z",
|
|
@@ -35378,7 +35427,7 @@ var WfoMinusCircleOutline = ({
|
|
|
35378
35427
|
);
|
|
35379
35428
|
|
|
35380
35429
|
// src/icons/WfoPlusCircleFill.tsx
|
|
35381
|
-
import { jsx as
|
|
35430
|
+
import { jsx as jsx23, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
|
|
35382
35431
|
var WfoPlusCircleFill = ({
|
|
35383
35432
|
width = 24,
|
|
35384
35433
|
height = 24,
|
|
@@ -35392,8 +35441,8 @@ var WfoPlusCircleFill = ({
|
|
|
35392
35441
|
version: "1.1",
|
|
35393
35442
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35394
35443
|
children: [
|
|
35395
|
-
/* @__PURE__ */
|
|
35396
|
-
/* @__PURE__ */
|
|
35444
|
+
/* @__PURE__ */ jsx23("title", { children: "icon/plus-circle-fill" }),
|
|
35445
|
+
/* @__PURE__ */ jsx23(
|
|
35397
35446
|
"g",
|
|
35398
35447
|
{
|
|
35399
35448
|
id: "Symbols",
|
|
@@ -35401,7 +35450,7 @@ var WfoPlusCircleFill = ({
|
|
|
35401
35450
|
strokeWidth: "1",
|
|
35402
35451
|
fill: "none",
|
|
35403
35452
|
fillRule: "evenodd",
|
|
35404
|
-
children: /* @__PURE__ */
|
|
35453
|
+
children: /* @__PURE__ */ jsx23("g", { id: "icon/plus-circle-fill", fill: color, children: /* @__PURE__ */ jsx23(
|
|
35405
35454
|
"path",
|
|
35406
35455
|
{
|
|
35407
35456
|
d: "M12,20 C16.4183,20 20,16.4183 20,12 C20,7.58172 16.4183,4 12,4 C7.58172,4 4,7.58172 4,12 C4,16.4183 7.58172,20 12,20 Z M13,9 C13,8.44772 12.5523,8 12,8 C11.44772,8 11,8.44772 11,9 L11,11 L9,11 C8.44772,11 8,11.44771 8,12 C8,12.5523 8.44772,13 9,13 L11,13 L11,15 C11,15.5523 11.44772,16 12,16 C12.5523,16 13,15.5523 13,15 L13,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.44772 15.5523,11 15,11 L13,11 L13,9 Z",
|
|
@@ -35415,7 +35464,7 @@ var WfoPlusCircleFill = ({
|
|
|
35415
35464
|
);
|
|
35416
35465
|
|
|
35417
35466
|
// src/icons/WfoChevronDown.tsx
|
|
35418
|
-
import { jsx as
|
|
35467
|
+
import { jsx as jsx24, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
|
|
35419
35468
|
var WfoChevronDown = ({
|
|
35420
35469
|
width = 24,
|
|
35421
35470
|
height = 24,
|
|
@@ -35429,8 +35478,8 @@ var WfoChevronDown = ({
|
|
|
35429
35478
|
version: "1.1",
|
|
35430
35479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35431
35480
|
children: [
|
|
35432
|
-
/* @__PURE__ */
|
|
35433
|
-
/* @__PURE__ */
|
|
35481
|
+
/* @__PURE__ */ jsx24("title", { children: "icon/chevron-down" }),
|
|
35482
|
+
/* @__PURE__ */ jsx24(
|
|
35434
35483
|
"g",
|
|
35435
35484
|
{
|
|
35436
35485
|
id: "Symbols",
|
|
@@ -35438,7 +35487,7 @@ var WfoChevronDown = ({
|
|
|
35438
35487
|
strokeWidth: "1",
|
|
35439
35488
|
fill: "none",
|
|
35440
35489
|
fillRule: "evenodd",
|
|
35441
|
-
children: /* @__PURE__ */
|
|
35490
|
+
children: /* @__PURE__ */ jsx24("g", { id: "icon/chevron-down", fill: color, children: /* @__PURE__ */ jsx24(
|
|
35442
35491
|
"path",
|
|
35443
35492
|
{
|
|
35444
35493
|
d: "M7.29289,9.29289 C7.68342,8.90237 8.31658,8.90237 8.70711,9.29289 L12,12.5858 L15.2929,9.29289 C15.6834,8.90237 16.3166,8.90237 16.7071,9.29289 C17.0976,9.68342 17.0976,10.31658 16.7071,10.70711 L12.7071,14.7071 C12.3166,15.0976 11.68342,15.0976 11.29289,14.7071 L7.29289,10.70711 C6.90237,10.31658 6.90237,9.68342 7.29289,9.29289 Z",
|
|
@@ -35452,7 +35501,7 @@ var WfoChevronDown = ({
|
|
|
35452
35501
|
);
|
|
35453
35502
|
|
|
35454
35503
|
// src/icons/WfoChevronUp.tsx
|
|
35455
|
-
import { jsx as
|
|
35504
|
+
import { jsx as jsx25, jsxs as jsxs9 } from "@emotion/react/jsx-runtime";
|
|
35456
35505
|
var WfoChevronUp = ({
|
|
35457
35506
|
width = 24,
|
|
35458
35507
|
height = 24,
|
|
@@ -35466,8 +35515,8 @@ var WfoChevronUp = ({
|
|
|
35466
35515
|
version: "1.1",
|
|
35467
35516
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35468
35517
|
children: [
|
|
35469
|
-
/* @__PURE__ */
|
|
35470
|
-
/* @__PURE__ */
|
|
35518
|
+
/* @__PURE__ */ jsx25("title", { children: "icon/chevron-up" }),
|
|
35519
|
+
/* @__PURE__ */ jsx25(
|
|
35471
35520
|
"g",
|
|
35472
35521
|
{
|
|
35473
35522
|
id: "Symbols",
|
|
@@ -35475,7 +35524,7 @@ var WfoChevronUp = ({
|
|
|
35475
35524
|
strokeWidth: "1",
|
|
35476
35525
|
fill: "none",
|
|
35477
35526
|
fillRule: "evenodd",
|
|
35478
|
-
children: /* @__PURE__ */
|
|
35527
|
+
children: /* @__PURE__ */ jsx25("g", { id: "icon/chevron-up", fill: color, children: /* @__PURE__ */ jsx25(
|
|
35479
35528
|
"path",
|
|
35480
35529
|
{
|
|
35481
35530
|
d: "M16.7071,14.7071 C16.3166,15.0976 15.6834,15.0976 15.2929,14.7071 L12,11.41421 L8.70711,14.7071 C8.31658,15.0976 7.68342,15.0976 7.29289,14.7071 C6.90237,14.3166 6.90237,13.6834 7.29289,13.2929 L11.29289,9.29289 C11.68342,8.90237 12.3166,8.90237 12.7071,9.29289 L16.7071,13.2929 C17.0976,13.6834 17.0976,14.3166 16.7071,14.7071 Z",
|
|
@@ -35489,7 +35538,7 @@ var WfoChevronUp = ({
|
|
|
35489
35538
|
);
|
|
35490
35539
|
|
|
35491
35540
|
// src/icons/WfoBoltFill.tsx
|
|
35492
|
-
import { jsx as
|
|
35541
|
+
import { jsx as jsx26, jsxs as jsxs10 } from "@emotion/react/jsx-runtime";
|
|
35493
35542
|
var WfoBoltFill = ({
|
|
35494
35543
|
width = 20,
|
|
35495
35544
|
height = 20,
|
|
@@ -35504,8 +35553,8 @@ var WfoBoltFill = ({
|
|
|
35504
35553
|
version: "1.1",
|
|
35505
35554
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35506
35555
|
children: [
|
|
35507
|
-
/* @__PURE__ */
|
|
35508
|
-
/* @__PURE__ */
|
|
35556
|
+
/* @__PURE__ */ jsx26("title", { children: "icon/bolt-fill" }),
|
|
35557
|
+
/* @__PURE__ */ jsx26(
|
|
35509
35558
|
"g",
|
|
35510
35559
|
{
|
|
35511
35560
|
id: "Symbols",
|
|
@@ -35513,7 +35562,7 @@ var WfoBoltFill = ({
|
|
|
35513
35562
|
strokeWidth: "1",
|
|
35514
35563
|
fill: "none",
|
|
35515
35564
|
fillRule: "evenodd",
|
|
35516
|
-
children: /* @__PURE__ */
|
|
35565
|
+
children: /* @__PURE__ */ jsx26("g", { id: "icon/bolt-fill", fill: color, children: /* @__PURE__ */ jsx26(
|
|
35517
35566
|
"path",
|
|
35518
35567
|
{
|
|
35519
35568
|
fillRule: "evenodd",
|
|
@@ -35529,7 +35578,7 @@ var WfoBoltFill = ({
|
|
|
35529
35578
|
};
|
|
35530
35579
|
|
|
35531
35580
|
// src/icons/WfoBoltSlashFill.tsx
|
|
35532
|
-
import { jsx as
|
|
35581
|
+
import { jsx as jsx27, jsxs as jsxs11 } from "@emotion/react/jsx-runtime";
|
|
35533
35582
|
var WfoBoltSlashFill = ({
|
|
35534
35583
|
width = 20,
|
|
35535
35584
|
height = 20,
|
|
@@ -35544,8 +35593,8 @@ var WfoBoltSlashFill = ({
|
|
|
35544
35593
|
version: "1.1",
|
|
35545
35594
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35546
35595
|
children: [
|
|
35547
|
-
/* @__PURE__ */
|
|
35548
|
-
/* @__PURE__ */
|
|
35596
|
+
/* @__PURE__ */ jsx27("title", { children: "icon/bolt-fill" }),
|
|
35597
|
+
/* @__PURE__ */ jsx27(
|
|
35549
35598
|
"g",
|
|
35550
35599
|
{
|
|
35551
35600
|
id: "Symbols",
|
|
@@ -35553,7 +35602,7 @@ var WfoBoltSlashFill = ({
|
|
|
35553
35602
|
strokeWidth: "1",
|
|
35554
35603
|
fill: "none",
|
|
35555
35604
|
fillRule: "evenodd",
|
|
35556
|
-
children: /* @__PURE__ */
|
|
35605
|
+
children: /* @__PURE__ */ jsx27("g", { id: "icon/bolt-slash-fill", fill: color, children: /* @__PURE__ */ jsx27(
|
|
35557
35606
|
"path",
|
|
35558
35607
|
{
|
|
35559
35608
|
strokeLinecap: "round",
|
|
@@ -35569,7 +35618,7 @@ var WfoBoltSlashFill = ({
|
|
|
35569
35618
|
};
|
|
35570
35619
|
|
|
35571
35620
|
// src/icons/WfoCubeSolid.tsx
|
|
35572
|
-
import { jsx as
|
|
35621
|
+
import { jsx as jsx28, jsxs as jsxs12 } from "@emotion/react/jsx-runtime";
|
|
35573
35622
|
var WfoCubeSolid = ({
|
|
35574
35623
|
width = 24,
|
|
35575
35624
|
height = 24,
|
|
@@ -35583,8 +35632,8 @@ var WfoCubeSolid = ({
|
|
|
35583
35632
|
version: "1.1",
|
|
35584
35633
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35585
35634
|
children: [
|
|
35586
|
-
/* @__PURE__ */
|
|
35587
|
-
/* @__PURE__ */
|
|
35635
|
+
/* @__PURE__ */ jsx28("title", { children: "icon/cube-solid" }),
|
|
35636
|
+
/* @__PURE__ */ jsx28(
|
|
35588
35637
|
"g",
|
|
35589
35638
|
{
|
|
35590
35639
|
id: "Symbols",
|
|
@@ -35592,7 +35641,7 @@ var WfoCubeSolid = ({
|
|
|
35592
35641
|
strokeWidth: "1",
|
|
35593
35642
|
fill: "none",
|
|
35594
35643
|
fillRule: "evenodd",
|
|
35595
|
-
children: /* @__PURE__ */
|
|
35644
|
+
children: /* @__PURE__ */ jsx28("g", { id: "icon/cube-solid", fill: color, fillRule: "nonzero", children: /* @__PURE__ */ jsx28(
|
|
35596
35645
|
"path",
|
|
35597
35646
|
{
|
|
35598
35647
|
d: "M12.378 1.602a.75.75 0 0 0-.756 0L3 6.632l9 5.25 9-5.25-8.622-5.03ZM21.75 7.93l-9 5.25v9l8.628-5.032a.75.75 0 0 0 .372-.648V7.93ZM11.25 22.18v-9l-9-5.25v8.57a.75.75 0 0 0 .372.648l8.628 5.033Z",
|
|
@@ -35605,53 +35654,14 @@ var WfoCubeSolid = ({
|
|
|
35605
35654
|
}
|
|
35606
35655
|
);
|
|
35607
35656
|
|
|
35608
|
-
// src/icons/WfoArrowNarrowDown.tsx
|
|
35609
|
-
import { jsx as jsx27, jsxs as jsxs13 } from "@emotion/react/jsx-runtime";
|
|
35610
|
-
var WfoArrowNarrowDown = ({
|
|
35611
|
-
width = 16,
|
|
35612
|
-
height = 20,
|
|
35613
|
-
color = "#000000"
|
|
35614
|
-
}) => /* @__PURE__ */ jsxs13(
|
|
35615
|
-
"svg",
|
|
35616
|
-
{
|
|
35617
|
-
width,
|
|
35618
|
-
height,
|
|
35619
|
-
viewBox: "0 0 16 20",
|
|
35620
|
-
version: "1.1",
|
|
35621
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
35622
|
-
className: "wfoArrowNarrowIcon",
|
|
35623
|
-
children: [
|
|
35624
|
-
/* @__PURE__ */ jsx27("title", { children: "icon/arrow-narrow-down" }),
|
|
35625
|
-
/* @__PURE__ */ jsx27(
|
|
35626
|
-
"g",
|
|
35627
|
-
{
|
|
35628
|
-
id: "Symbols",
|
|
35629
|
-
stroke: "none",
|
|
35630
|
-
strokeWidth: "1",
|
|
35631
|
-
fill: "none",
|
|
35632
|
-
fillRule: "evenodd",
|
|
35633
|
-
children: /* @__PURE__ */ jsx27("g", { id: "icon/arrow-narrow-down", fill: color, children: /* @__PURE__ */ jsx27(
|
|
35634
|
-
"path",
|
|
35635
|
-
{
|
|
35636
|
-
d: "M4.29289,9.70711 C3.90237,9.31658 3.90237,8.68342 4.29289,8.29289 L7.29289,5.29289 C7.68342,4.90237 8.3166,4.90237 8.7071,5.29289 L11.7071,8.29289 C12.0976,8.68342 12.0976,9.31658 11.7071,9.70711 C11.3166,10.09763 10.6834,10.09763 10.2929,9.70711 L9,8.41421 L9,14 C9,14.5523 8.5523,15 8,15 C7.44772,15 7,14.5523 7,14 L7,8.41421 L5.70711,9.70711 C5.31658,10.09763 4.68342,10.09763 4.29289,9.70711 Z",
|
|
35637
|
-
id: "Path",
|
|
35638
|
-
transform: "translate(7.999988, 10.000000) rotate(-180.000000) translate(-7.999988, -10.000000) "
|
|
35639
|
-
}
|
|
35640
|
-
) })
|
|
35641
|
-
}
|
|
35642
|
-
)
|
|
35643
|
-
]
|
|
35644
|
-
}
|
|
35645
|
-
);
|
|
35646
|
-
|
|
35647
35657
|
// src/icons/WfoRefresh.tsx
|
|
35648
|
-
import { jsx as
|
|
35658
|
+
import { jsx as jsx29, jsxs as jsxs13 } from "@emotion/react/jsx-runtime";
|
|
35649
35659
|
var WfoRefresh = ({
|
|
35650
35660
|
width = 24,
|
|
35651
35661
|
height = 24,
|
|
35652
35662
|
color = "#000000"
|
|
35653
35663
|
}) => {
|
|
35654
|
-
return /* @__PURE__ */
|
|
35664
|
+
return /* @__PURE__ */ jsxs13(
|
|
35655
35665
|
"svg",
|
|
35656
35666
|
{
|
|
35657
35667
|
width,
|
|
@@ -35660,8 +35670,8 @@ var WfoRefresh = ({
|
|
|
35660
35670
|
version: "1.1",
|
|
35661
35671
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35662
35672
|
children: [
|
|
35663
|
-
/* @__PURE__ */
|
|
35664
|
-
/* @__PURE__ */
|
|
35673
|
+
/* @__PURE__ */ jsx29("title", { children: "icon/refresh" }),
|
|
35674
|
+
/* @__PURE__ */ jsx29(
|
|
35665
35675
|
"g",
|
|
35666
35676
|
{
|
|
35667
35677
|
id: "Symbols",
|
|
@@ -35669,7 +35679,7 @@ var WfoRefresh = ({
|
|
|
35669
35679
|
strokeWidth: "1",
|
|
35670
35680
|
fill: "none",
|
|
35671
35681
|
fillRule: "evenodd",
|
|
35672
|
-
children: /* @__PURE__ */
|
|
35682
|
+
children: /* @__PURE__ */ jsx29("g", { id: "icon/refresh", fill: color, children: /* @__PURE__ */ jsx29(
|
|
35673
35683
|
"path",
|
|
35674
35684
|
{
|
|
35675
35685
|
d: "M6,4 C6.55228,4 7,4.44772 7,5 L7,7.10125 C8.27009,5.80489 10.04052,5 12,5 C15.0494,5 17.641,6.94932 18.6014,9.66675 C18.7855,10.18747 18.5126,10.75879 17.9918,10.94284 C17.4711,11.12689 16.8998,10.85396 16.7157,10.33325 C16.0289,8.38991 14.1755,7 12,7 C10.36507,7 8.91204,7.78502 7.99935,9 L11,9 C11.55228,9 12,9.44772 12,10 C12,10.55228 11.55228,11 11,11 L6,11 C5.44772,11 5,10.55228 5,10 L5,5 C5,4.44772 5.44772,4 6,4 Z M6.00817,13.0572 C6.52888,12.8731 7.1002,13.146 7.28425,13.6668 C7.97112,15.6101 9.82453,17 12,17 C13.6349,17 15.088,16.215 16.0006,15 L13,15 C12.4477,15 12,14.5523 12,14 C12,13.4477 12.4477,13 13,13 L18,13 C18.2652,13 18.5196,13.1054 18.7071,13.2929 C18.8946,13.4804 19,13.7348 19,14 L19,19 C19,19.5523 18.5523,20 18,20 C17.4477,20 17,19.5523 17,19 L17,16.8987 C15.7299,18.1951 13.9595,19 12,19 C8.95059,19 6.35905,17.0507 5.39857,14.3332 C5.21452,13.8125 5.48745,13.2412 6.00817,13.0572 Z",
|
|
@@ -35683,51 +35693,13 @@ var WfoRefresh = ({
|
|
|
35683
35693
|
);
|
|
35684
35694
|
};
|
|
35685
35695
|
|
|
35686
|
-
// src/icons/WfoArrowNarrowUp.tsx
|
|
35687
|
-
import { jsx as jsx29, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
|
|
35688
|
-
var WfoArrowNarrowUp = ({
|
|
35689
|
-
width = 16,
|
|
35690
|
-
height = 20,
|
|
35691
|
-
color = "#000000"
|
|
35692
|
-
}) => /* @__PURE__ */ jsxs15(
|
|
35693
|
-
"svg",
|
|
35694
|
-
{
|
|
35695
|
-
width,
|
|
35696
|
-
height,
|
|
35697
|
-
viewBox: "0 0 16 20",
|
|
35698
|
-
version: "1.1",
|
|
35699
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
35700
|
-
className: "wfoArrowNarrowIcon",
|
|
35701
|
-
children: [
|
|
35702
|
-
/* @__PURE__ */ jsx29("title", { children: "icon/arrow-narrow-up" }),
|
|
35703
|
-
/* @__PURE__ */ jsx29(
|
|
35704
|
-
"g",
|
|
35705
|
-
{
|
|
35706
|
-
id: "Symbols",
|
|
35707
|
-
stroke: "none",
|
|
35708
|
-
strokeWidth: "1",
|
|
35709
|
-
fill: "none",
|
|
35710
|
-
fillRule: "evenodd",
|
|
35711
|
-
children: /* @__PURE__ */ jsx29("g", { id: "icon/arrow-narrow-up", fill: color, children: /* @__PURE__ */ jsx29(
|
|
35712
|
-
"path",
|
|
35713
|
-
{
|
|
35714
|
-
d: "M4.29289,9.70711 C3.90237,9.31658 3.90237,8.68342 4.29289,8.29289 L7.29289,5.29289 C7.68342,4.90237 8.3166,4.90237 8.7071,5.29289 L11.7071,8.29289 C12.0976,8.68342 12.0976,9.31658 11.7071,9.70711 C11.3166,10.09763 10.6834,10.09763 10.2929,9.70711 L9,8.41421 L9,14 C9,14.5523 8.5523,15 8,15 C7.44772,15 7,14.5523 7,14 L7,8.41421 L5.70711,9.70711 C5.31658,10.09763 4.68342,10.09763 4.29289,9.70711 Z",
|
|
35715
|
-
id: "Path"
|
|
35716
|
-
}
|
|
35717
|
-
) })
|
|
35718
|
-
}
|
|
35719
|
-
)
|
|
35720
|
-
]
|
|
35721
|
-
}
|
|
35722
|
-
);
|
|
35723
|
-
|
|
35724
35696
|
// src/icons/WfoMinusCircleFill.tsx
|
|
35725
|
-
import { jsx as jsx30, jsxs as
|
|
35697
|
+
import { jsx as jsx30, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
|
|
35726
35698
|
var WfoMinusCircleFill = ({
|
|
35727
35699
|
width = 24,
|
|
35728
35700
|
height = 24,
|
|
35729
35701
|
color = "#000000"
|
|
35730
|
-
}) => /* @__PURE__ */
|
|
35702
|
+
}) => /* @__PURE__ */ jsxs14(
|
|
35731
35703
|
"svg",
|
|
35732
35704
|
{
|
|
35733
35705
|
width,
|
|
@@ -35759,12 +35731,12 @@ var WfoMinusCircleFill = ({
|
|
|
35759
35731
|
);
|
|
35760
35732
|
|
|
35761
35733
|
// src/icons/WfoPlayCircle.tsx
|
|
35762
|
-
import { jsx as jsx31, jsxs as
|
|
35734
|
+
import { jsx as jsx31, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
|
|
35763
35735
|
var WfoPlayCircle = ({
|
|
35764
35736
|
width = 24,
|
|
35765
35737
|
height = 24,
|
|
35766
35738
|
color = "#000000"
|
|
35767
|
-
}) => /* @__PURE__ */
|
|
35739
|
+
}) => /* @__PURE__ */ jsxs15(
|
|
35768
35740
|
"svg",
|
|
35769
35741
|
{
|
|
35770
35742
|
width,
|
|
@@ -35798,12 +35770,12 @@ var WfoPlayCircle = ({
|
|
|
35798
35770
|
);
|
|
35799
35771
|
|
|
35800
35772
|
// src/icons/WfoSearchStrikethrough.tsx
|
|
35801
|
-
import { jsx as jsx32, jsxs as
|
|
35773
|
+
import { jsx as jsx32, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
|
|
35802
35774
|
var WfoSearchStrikethrough = ({
|
|
35803
35775
|
width = 24,
|
|
35804
35776
|
height = 24,
|
|
35805
35777
|
color = "#0067AC"
|
|
35806
|
-
}) => /* @__PURE__ */
|
|
35778
|
+
}) => /* @__PURE__ */ jsxs16(
|
|
35807
35779
|
"svg",
|
|
35808
35780
|
{
|
|
35809
35781
|
width,
|
|
@@ -35835,12 +35807,12 @@ var WfoSearchStrikethrough = ({
|
|
|
35835
35807
|
);
|
|
35836
35808
|
|
|
35837
35809
|
// src/icons/WfoSortAsc.tsx
|
|
35838
|
-
import { jsx as jsx33, jsxs as
|
|
35810
|
+
import { jsx as jsx33, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
|
|
35839
35811
|
var WfoSortAsc = ({
|
|
35840
35812
|
width = 24,
|
|
35841
35813
|
height = 24,
|
|
35842
35814
|
color = "#000000"
|
|
35843
|
-
}) => /* @__PURE__ */
|
|
35815
|
+
}) => /* @__PURE__ */ jsxs17(
|
|
35844
35816
|
"svg",
|
|
35845
35817
|
{
|
|
35846
35818
|
width,
|
|
@@ -35872,12 +35844,12 @@ var WfoSortAsc = ({
|
|
|
35872
35844
|
);
|
|
35873
35845
|
|
|
35874
35846
|
// src/icons/WfoSortDesc.tsx
|
|
35875
|
-
import { jsx as jsx34, jsxs as
|
|
35847
|
+
import { jsx as jsx34, jsxs as jsxs18 } from "@emotion/react/jsx-runtime";
|
|
35876
35848
|
var WfoSortDesc = ({
|
|
35877
35849
|
width = 24,
|
|
35878
35850
|
height = 24,
|
|
35879
35851
|
color = "#000000"
|
|
35880
|
-
}) => /* @__PURE__ */
|
|
35852
|
+
}) => /* @__PURE__ */ jsxs18(
|
|
35881
35853
|
"svg",
|
|
35882
35854
|
{
|
|
35883
35855
|
width,
|
|
@@ -35909,12 +35881,12 @@ var WfoSortDesc = ({
|
|
|
35909
35881
|
);
|
|
35910
35882
|
|
|
35911
35883
|
// src/icons/WfoSideMenu.tsx
|
|
35912
|
-
import { jsx as jsx35, jsxs as
|
|
35884
|
+
import { jsx as jsx35, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
|
|
35913
35885
|
var WfoSideMenu = ({
|
|
35914
35886
|
width = 20,
|
|
35915
35887
|
height = 20,
|
|
35916
35888
|
color = "#000000"
|
|
35917
|
-
}) => /* @__PURE__ */
|
|
35889
|
+
}) => /* @__PURE__ */ jsxs19(
|
|
35918
35890
|
"svg",
|
|
35919
35891
|
{
|
|
35920
35892
|
width,
|
|
@@ -35924,7 +35896,7 @@ var WfoSideMenu = ({
|
|
|
35924
35896
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35925
35897
|
children: [
|
|
35926
35898
|
/* @__PURE__ */ jsx35("title", { children: "icon/sidemenu" }),
|
|
35927
|
-
/* @__PURE__ */ jsx35("g", { id: "Symbols", stroke: "none", strokeWidth: "6", fill: "none", children: /* @__PURE__ */
|
|
35899
|
+
/* @__PURE__ */ jsx35("g", { id: "Symbols", stroke: "none", strokeWidth: "6", fill: "none", children: /* @__PURE__ */ jsxs19(
|
|
35928
35900
|
"g",
|
|
35929
35901
|
{
|
|
35930
35902
|
id: "icon/sidemenu",
|
|
@@ -35957,12 +35929,12 @@ var WfoSideMenu = ({
|
|
|
35957
35929
|
);
|
|
35958
35930
|
|
|
35959
35931
|
// src/icons/WfoShare.tsx
|
|
35960
|
-
import { jsx as jsx36, jsxs as
|
|
35932
|
+
import { jsx as jsx36, jsxs as jsxs20 } from "@emotion/react/jsx-runtime";
|
|
35961
35933
|
var WfoShare = ({
|
|
35962
35934
|
width = 24,
|
|
35963
35935
|
height = 24,
|
|
35964
35936
|
color = "#000000"
|
|
35965
|
-
}) => /* @__PURE__ */
|
|
35937
|
+
}) => /* @__PURE__ */ jsxs20(
|
|
35966
35938
|
"svg",
|
|
35967
35939
|
{
|
|
35968
35940
|
width,
|
|
@@ -35996,13 +35968,13 @@ var WfoShare = ({
|
|
|
35996
35968
|
);
|
|
35997
35969
|
|
|
35998
35970
|
// src/icons/WfoPlayFill.tsx
|
|
35999
|
-
import { jsx as jsx37, jsxs as
|
|
35971
|
+
import { jsx as jsx37, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
|
|
36000
35972
|
var WfoPlayFill = ({
|
|
36001
35973
|
width = 24,
|
|
36002
35974
|
height = 24,
|
|
36003
35975
|
color = "#000000"
|
|
36004
35976
|
}) => {
|
|
36005
|
-
return /* @__PURE__ */
|
|
35977
|
+
return /* @__PURE__ */ jsxs21(
|
|
36006
35978
|
"svg",
|
|
36007
35979
|
{
|
|
36008
35980
|
width,
|
|
@@ -36035,13 +36007,13 @@ var WfoPlayFill = ({
|
|
|
36035
36007
|
};
|
|
36036
36008
|
|
|
36037
36009
|
// src/icons/WfoCode.tsx
|
|
36038
|
-
import { jsx as jsx38, jsxs as
|
|
36010
|
+
import { jsx as jsx38, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
|
|
36039
36011
|
var WfoCode = ({
|
|
36040
36012
|
width = 24,
|
|
36041
36013
|
height = 24,
|
|
36042
36014
|
color = "#000000"
|
|
36043
36015
|
}) => {
|
|
36044
|
-
return /* @__PURE__ */
|
|
36016
|
+
return /* @__PURE__ */ jsxs22(
|
|
36045
36017
|
"svg",
|
|
36046
36018
|
{
|
|
36047
36019
|
width,
|
|
@@ -36074,13 +36046,13 @@ var WfoCode = ({
|
|
|
36074
36046
|
};
|
|
36075
36047
|
|
|
36076
36048
|
// src/icons/WfoEyeFill.tsx
|
|
36077
|
-
import { jsx as jsx39, jsxs as
|
|
36049
|
+
import { jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
|
|
36078
36050
|
var WfoEyeFill = ({
|
|
36079
36051
|
width = 24,
|
|
36080
36052
|
height = 24,
|
|
36081
36053
|
color = "#000000"
|
|
36082
36054
|
}) => {
|
|
36083
|
-
return /* @__PURE__ */
|
|
36055
|
+
return /* @__PURE__ */ jsxs23(
|
|
36084
36056
|
"svg",
|
|
36085
36057
|
{
|
|
36086
36058
|
width,
|
|
@@ -36113,12 +36085,12 @@ var WfoEyeFill = ({
|
|
|
36113
36085
|
};
|
|
36114
36086
|
|
|
36115
36087
|
// src/icons/WfoCogFill.tsx
|
|
36116
|
-
import { jsx as jsx40, jsxs as
|
|
36088
|
+
import { jsx as jsx40, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
|
|
36117
36089
|
var WfoCogFill = ({
|
|
36118
36090
|
width = 24,
|
|
36119
36091
|
height = 24,
|
|
36120
36092
|
color = "#000000"
|
|
36121
|
-
}) => /* @__PURE__ */
|
|
36093
|
+
}) => /* @__PURE__ */ jsxs24(
|
|
36122
36094
|
"svg",
|
|
36123
36095
|
{
|
|
36124
36096
|
width,
|
|
@@ -36150,12 +36122,12 @@ var WfoCogFill = ({
|
|
|
36150
36122
|
);
|
|
36151
36123
|
|
|
36152
36124
|
// src/icons/WfoStatistic.tsx
|
|
36153
|
-
import { jsx as jsx41, jsxs as
|
|
36125
|
+
import { jsx as jsx41, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
|
|
36154
36126
|
var WfoStatistic = ({
|
|
36155
36127
|
width = 20,
|
|
36156
36128
|
height = 20,
|
|
36157
36129
|
color = "#000000"
|
|
36158
|
-
}) => /* @__PURE__ */
|
|
36130
|
+
}) => /* @__PURE__ */ jsxs25(
|
|
36159
36131
|
"svg",
|
|
36160
36132
|
{
|
|
36161
36133
|
width,
|
|
@@ -36167,7 +36139,7 @@ var WfoStatistic = ({
|
|
|
36167
36139
|
className: "wfoStatisticIcon",
|
|
36168
36140
|
children: [
|
|
36169
36141
|
/* @__PURE__ */ jsx41("title", { children: "icon/statistic" }),
|
|
36170
|
-
/* @__PURE__ */
|
|
36142
|
+
/* @__PURE__ */ jsxs25("g", { xmlns: "http://www.w3.org/2000/svg", children: [
|
|
36171
36143
|
/* @__PURE__ */ jsx41(
|
|
36172
36144
|
"path",
|
|
36173
36145
|
{
|
|
@@ -36201,12 +36173,12 @@ var WfoStatistic = ({
|
|
|
36201
36173
|
);
|
|
36202
36174
|
|
|
36203
36175
|
// src/icons/WfoPencilAlt.tsx
|
|
36204
|
-
import { jsx as jsx42, jsxs as
|
|
36176
|
+
import { jsx as jsx42, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
|
|
36205
36177
|
var WfoPencilAlt = ({
|
|
36206
36178
|
width = 24,
|
|
36207
36179
|
height = 24,
|
|
36208
36180
|
color = "#000000"
|
|
36209
|
-
}) => /* @__PURE__ */
|
|
36181
|
+
}) => /* @__PURE__ */ jsxs26(
|
|
36210
36182
|
"svg",
|
|
36211
36183
|
{
|
|
36212
36184
|
width,
|
|
@@ -36261,12 +36233,12 @@ var WfoPencil = ({
|
|
|
36261
36233
|
);
|
|
36262
36234
|
|
|
36263
36235
|
// src/icons/WfoViewList.tsx
|
|
36264
|
-
import { jsx as jsx44, jsxs as
|
|
36236
|
+
import { jsx as jsx44, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
|
|
36265
36237
|
var WfoViewList = ({
|
|
36266
36238
|
width = 24,
|
|
36267
36239
|
height = 24,
|
|
36268
36240
|
color = "#000000"
|
|
36269
|
-
}) => /* @__PURE__ */
|
|
36241
|
+
}) => /* @__PURE__ */ jsxs27(
|
|
36270
36242
|
"svg",
|
|
36271
36243
|
{
|
|
36272
36244
|
width,
|
|
@@ -36289,11 +36261,11 @@ var WfoViewList = ({
|
|
|
36289
36261
|
);
|
|
36290
36262
|
|
|
36291
36263
|
// src/icons/WfoContactEnvelopeFill.tsx
|
|
36292
|
-
import { jsx as jsx45, jsxs as
|
|
36264
|
+
import { jsx as jsx45, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
|
|
36293
36265
|
var WfoContactEnvelopeFill = ({
|
|
36294
36266
|
width = 24,
|
|
36295
36267
|
height = 24
|
|
36296
|
-
}) => /* @__PURE__ */
|
|
36268
|
+
}) => /* @__PURE__ */ jsxs28(
|
|
36297
36269
|
"svg",
|
|
36298
36270
|
{
|
|
36299
36271
|
width,
|
|
@@ -36319,8 +36291,8 @@ var WfoContactEnvelopeFill = ({
|
|
|
36319
36291
|
);
|
|
36320
36292
|
|
|
36321
36293
|
// src/icons/WfoBell.tsx
|
|
36322
|
-
import { jsx as jsx46, jsxs as
|
|
36323
|
-
var WfoBell = ({ width = 24, height = 24 }) => /* @__PURE__ */
|
|
36294
|
+
import { jsx as jsx46, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
|
|
36295
|
+
var WfoBell = ({ width = 24, height = 24 }) => /* @__PURE__ */ jsxs29(
|
|
36324
36296
|
"svg",
|
|
36325
36297
|
{
|
|
36326
36298
|
width,
|
|
@@ -36361,12 +36333,12 @@ var WfoBell = ({ width = 24, height = 24 }) => /* @__PURE__ */ jsxs31(
|
|
|
36361
36333
|
);
|
|
36362
36334
|
|
|
36363
36335
|
// src/icons/WfoWarningTriangle.tsx
|
|
36364
|
-
import { jsx as jsx47, jsxs as
|
|
36336
|
+
import { jsx as jsx47, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
|
|
36365
36337
|
var WfoWarningTriangle = ({
|
|
36366
36338
|
width = 24,
|
|
36367
36339
|
height = 24,
|
|
36368
36340
|
color = "#000000"
|
|
36369
|
-
}) => /* @__PURE__ */
|
|
36341
|
+
}) => /* @__PURE__ */ jsxs30(
|
|
36370
36342
|
"svg",
|
|
36371
36343
|
{
|
|
36372
36344
|
width,
|
|
@@ -36389,12 +36361,12 @@ var WfoWarningTriangle = ({
|
|
|
36389
36361
|
);
|
|
36390
36362
|
|
|
36391
36363
|
// src/icons/WfoExternalLink.tsx
|
|
36392
|
-
import { jsx as jsx48, jsxs as
|
|
36364
|
+
import { jsx as jsx48, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
|
|
36393
36365
|
var WfoExternalLink = ({
|
|
36394
36366
|
width = 24,
|
|
36395
36367
|
height = 24,
|
|
36396
36368
|
color = "currentColor"
|
|
36397
|
-
}) => /* @__PURE__ */
|
|
36369
|
+
}) => /* @__PURE__ */ jsxs31(
|
|
36398
36370
|
"svg",
|
|
36399
36371
|
{
|
|
36400
36372
|
width,
|
|
@@ -36420,12 +36392,12 @@ var WfoExternalLink = ({
|
|
|
36420
36392
|
);
|
|
36421
36393
|
|
|
36422
36394
|
// src/icons/WfoTrash.tsx
|
|
36423
|
-
import { jsx as jsx49, jsxs as
|
|
36395
|
+
import { jsx as jsx49, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
|
|
36424
36396
|
var WfoTrash = ({
|
|
36425
36397
|
width = 24,
|
|
36426
36398
|
height = 24,
|
|
36427
36399
|
color = "#000000"
|
|
36428
|
-
}) => /* @__PURE__ */
|
|
36400
|
+
}) => /* @__PURE__ */ jsxs32(
|
|
36429
36401
|
"svg",
|
|
36430
36402
|
{
|
|
36431
36403
|
width,
|
|
@@ -36565,8 +36537,18 @@ var processStatusApi = orchestratorApi.injectEndpoints({
|
|
|
36565
36537
|
});
|
|
36566
36538
|
var { useProcessStatusCountsQuery } = processStatusApi;
|
|
36567
36539
|
|
|
36540
|
+
// src/components/WfoBadges/WfoFailedTasksBadge/styles.ts
|
|
36541
|
+
import { css as css2 } from "@emotion/react";
|
|
36542
|
+
var getTasksBadgeStyles = () => {
|
|
36543
|
+
const failedTaskBadgeStyle = css2({
|
|
36544
|
+
cursor: "pointer",
|
|
36545
|
+
"&:hover": { textDecoration: "underline" }
|
|
36546
|
+
});
|
|
36547
|
+
return { failedTaskBadgeStyle };
|
|
36548
|
+
};
|
|
36549
|
+
|
|
36568
36550
|
// src/components/WfoBadges/WfoFailedTasksBadge/WfoFailedTasksBadge.tsx
|
|
36569
|
-
import { Fragment, jsx as jsx54, jsxs as
|
|
36551
|
+
import { Fragment, jsx as jsx54, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
|
|
36570
36552
|
var getTaskCountsSummary = (processStatusCounts) => {
|
|
36571
36553
|
const failed = processStatusCounts?.task_counts.failed || 0;
|
|
36572
36554
|
const inconsistentData = processStatusCounts?.task_counts.inconsistent_data || 0;
|
|
@@ -36578,9 +36560,20 @@ var getTaskCountsSummary = (processStatusCounts) => {
|
|
|
36578
36560
|
total: failed + inconsistentData + apiUnavailable
|
|
36579
36561
|
};
|
|
36580
36562
|
};
|
|
36563
|
+
var WfoTasksLink = ({ children }) => /* @__PURE__ */ jsx54(
|
|
36564
|
+
Link,
|
|
36565
|
+
{
|
|
36566
|
+
href: `${PATH_TASKS}`,
|
|
36567
|
+
onClick: (e) => {
|
|
36568
|
+
e.currentTarget.blur();
|
|
36569
|
+
},
|
|
36570
|
+
children
|
|
36571
|
+
}
|
|
36572
|
+
);
|
|
36581
36573
|
var WfoFailedTasksBadge = () => {
|
|
36582
36574
|
const t = useTranslations5("common");
|
|
36583
36575
|
const { theme } = useOrchestratorTheme();
|
|
36576
|
+
const { failedTaskBadgeStyle } = useWithOrchestratorTheme(getTasksBadgeStyles);
|
|
36584
36577
|
const { data: processStatusCounts } = useProcessStatusCountsQuery();
|
|
36585
36578
|
const taskCountsSummary = getTaskCountsSummary(processStatusCounts);
|
|
36586
36579
|
if (taskCountsSummary.total != 0) {
|
|
@@ -36588,30 +36581,31 @@ var WfoFailedTasksBadge = () => {
|
|
|
36588
36581
|
EuiToolTip,
|
|
36589
36582
|
{
|
|
36590
36583
|
position: "bottom",
|
|
36591
|
-
content: /* @__PURE__ */
|
|
36592
|
-
/* @__PURE__ */
|
|
36584
|
+
content: /* @__PURE__ */ jsxs33(Fragment, { children: [
|
|
36585
|
+
/* @__PURE__ */ jsxs33("div", { children: [
|
|
36593
36586
|
"Failed: ",
|
|
36594
36587
|
taskCountsSummary.failed
|
|
36595
36588
|
] }),
|
|
36596
|
-
/* @__PURE__ */
|
|
36589
|
+
/* @__PURE__ */ jsxs33("div", { children: [
|
|
36597
36590
|
"Inconsistent data:",
|
|
36598
36591
|
" ",
|
|
36599
36592
|
taskCountsSummary.inconsistentData
|
|
36600
36593
|
] }),
|
|
36601
|
-
/* @__PURE__ */
|
|
36594
|
+
/* @__PURE__ */ jsxs33("div", { children: [
|
|
36602
36595
|
"API unavailable: ",
|
|
36603
36596
|
taskCountsSummary.apiUnavailable
|
|
36604
36597
|
] })
|
|
36605
36598
|
] }),
|
|
36606
|
-
children: /* @__PURE__ */ jsx54(
|
|
36599
|
+
children: /* @__PURE__ */ jsx54(WfoTasksLink, { children: /* @__PURE__ */ jsx54(
|
|
36607
36600
|
WfoHeaderBadge,
|
|
36608
36601
|
{
|
|
36602
|
+
css: failedTaskBadgeStyle,
|
|
36609
36603
|
color: theme.colors.ghost,
|
|
36610
36604
|
textColor: theme.colors.shadow,
|
|
36611
36605
|
iconType: () => /* @__PURE__ */ jsx54(WfoXCircleFill, { color: theme.colors.danger }),
|
|
36612
36606
|
children: taskCountsSummary.total
|
|
36613
36607
|
}
|
|
36614
|
-
)
|
|
36608
|
+
) })
|
|
36615
36609
|
}
|
|
36616
36610
|
);
|
|
36617
36611
|
} else {
|
|
@@ -36620,15 +36614,21 @@ var WfoFailedTasksBadge = () => {
|
|
|
36620
36614
|
{
|
|
36621
36615
|
position: "bottom",
|
|
36622
36616
|
content: /* @__PURE__ */ jsx54(Fragment, { children: /* @__PURE__ */ jsx54("div", { children: t("noFailedTasks") }) }),
|
|
36623
|
-
children: /* @__PURE__ */ jsx54(
|
|
36617
|
+
children: /* @__PURE__ */ jsx54(WfoTasksLink, { children: /* @__PURE__ */ jsx54(
|
|
36624
36618
|
WfoHeaderBadge,
|
|
36625
36619
|
{
|
|
36620
|
+
css: failedTaskBadgeStyle,
|
|
36626
36621
|
color: theme.colors.ghost,
|
|
36627
36622
|
textColor: theme.colors.shadow,
|
|
36628
|
-
iconType: () => /* @__PURE__ */ jsx54(
|
|
36623
|
+
iconType: () => /* @__PURE__ */ jsx54(
|
|
36624
|
+
WfoCheckmarkCircleFill,
|
|
36625
|
+
{
|
|
36626
|
+
color: theme.colors.success
|
|
36627
|
+
}
|
|
36628
|
+
),
|
|
36629
36629
|
children: "0"
|
|
36630
36630
|
}
|
|
36631
|
-
)
|
|
36631
|
+
) })
|
|
36632
36632
|
}
|
|
36633
36633
|
);
|
|
36634
36634
|
}
|
|
@@ -36643,7 +36643,7 @@ var WfoHeaderBadge = ({
|
|
|
36643
36643
|
children,
|
|
36644
36644
|
...restProps
|
|
36645
36645
|
}) => {
|
|
36646
|
-
const
|
|
36646
|
+
const css44 = restProps.iconType ? {
|
|
36647
36647
|
height: 24,
|
|
36648
36648
|
display: "flex",
|
|
36649
36649
|
paddingLeft: 0
|
|
@@ -36651,7 +36651,7 @@ var WfoHeaderBadge = ({
|
|
|
36651
36651
|
height: 24,
|
|
36652
36652
|
display: "flex"
|
|
36653
36653
|
};
|
|
36654
|
-
return /* @__PURE__ */ jsx55(WfoBadge, { ...restProps, css:
|
|
36654
|
+
return /* @__PURE__ */ jsx55(WfoBadge, { ...restProps, css: css44, children });
|
|
36655
36655
|
};
|
|
36656
36656
|
|
|
36657
36657
|
// src/components/WfoBadges/WfoEnvironmentBadge/WfoEnvironmentBadge.tsx
|
|
@@ -36790,14 +36790,14 @@ import { useTranslations as useTranslations6 } from "next-intl";
|
|
|
36790
36790
|
import { EuiToolTip as EuiToolTip2 } from "@elastic/eui";
|
|
36791
36791
|
|
|
36792
36792
|
// src/components/WfoBadges/WfoWebsocketStatusBadge/styles.ts
|
|
36793
|
-
import { css as
|
|
36793
|
+
import { css as css3 } from "@emotion/react";
|
|
36794
36794
|
var getStyles = ({ theme }) => {
|
|
36795
|
-
const connectedStyle =
|
|
36795
|
+
const connectedStyle = css3({
|
|
36796
36796
|
paddingLeft: theme.base / 2,
|
|
36797
36797
|
cursor: "default",
|
|
36798
36798
|
backgroundColor: theme.colors.ghost
|
|
36799
36799
|
});
|
|
36800
|
-
const disconnectedStyle =
|
|
36800
|
+
const disconnectedStyle = css3({
|
|
36801
36801
|
paddingLeft: theme.base / 2,
|
|
36802
36802
|
cursor: "pointer",
|
|
36803
36803
|
backgroundColor: theme.colors.danger
|
|
@@ -36872,14 +36872,14 @@ import {
|
|
|
36872
36872
|
EuiPageHeader,
|
|
36873
36873
|
EuiSpacer
|
|
36874
36874
|
} from "@elastic/eui";
|
|
36875
|
-
import { Fragment as Fragment2, jsx as jsx61, jsxs as
|
|
36875
|
+
import { Fragment as Fragment2, jsx as jsx61, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
|
|
36876
36876
|
var WfoContentHeader = ({
|
|
36877
36877
|
title,
|
|
36878
36878
|
subtitle,
|
|
36879
36879
|
children
|
|
36880
|
-
}) => /* @__PURE__ */
|
|
36881
|
-
/* @__PURE__ */
|
|
36882
|
-
/* @__PURE__ */
|
|
36880
|
+
}) => /* @__PURE__ */ jsxs34(Fragment2, { children: [
|
|
36881
|
+
/* @__PURE__ */ jsxs34(EuiFlexGroup, { children: [
|
|
36882
|
+
/* @__PURE__ */ jsxs34(EuiFlexItem, { children: [
|
|
36883
36883
|
/* @__PURE__ */ jsx61(
|
|
36884
36884
|
WfoRenderElementOrString,
|
|
36885
36885
|
{
|
|
@@ -36887,7 +36887,7 @@ var WfoContentHeader = ({
|
|
|
36887
36887
|
children: title
|
|
36888
36888
|
}
|
|
36889
36889
|
),
|
|
36890
|
-
subtitle && /* @__PURE__ */
|
|
36890
|
+
subtitle && /* @__PURE__ */ jsxs34("div", { children: [
|
|
36891
36891
|
/* @__PURE__ */ jsx61(EuiSpacer, { size: "m" }),
|
|
36892
36892
|
/* @__PURE__ */ jsx61(WfoRenderElementOrString, { children: subtitle })
|
|
36893
36893
|
] })
|
|
@@ -36901,13 +36901,13 @@ var WfoContentHeader = ({
|
|
|
36901
36901
|
import { EuiButtonIcon } from "@elastic/eui";
|
|
36902
36902
|
|
|
36903
36903
|
// src/components/WfoExpandableField/styles.ts
|
|
36904
|
-
import { css as
|
|
36904
|
+
import { css as css4 } from "@emotion/react";
|
|
36905
36905
|
var getStyles2 = ({ theme }) => {
|
|
36906
|
-
const titleRowStyle =
|
|
36906
|
+
const titleRowStyle = css4({
|
|
36907
36907
|
display: "flex",
|
|
36908
36908
|
alignItems: "center"
|
|
36909
36909
|
});
|
|
36910
|
-
const titleStyle =
|
|
36910
|
+
const titleStyle = css4({
|
|
36911
36911
|
marginLeft: theme.size.s
|
|
36912
36912
|
});
|
|
36913
36913
|
return {
|
|
@@ -36917,7 +36917,7 @@ var getStyles2 = ({ theme }) => {
|
|
|
36917
36917
|
};
|
|
36918
36918
|
|
|
36919
36919
|
// src/components/WfoExpandableField/WfoExpandableField.tsx
|
|
36920
|
-
import { Fragment as Fragment3, jsx as jsx62, jsxs as
|
|
36920
|
+
import { Fragment as Fragment3, jsx as jsx62, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
|
|
36921
36921
|
var WfoExpandableField = ({
|
|
36922
36922
|
isExpanded,
|
|
36923
36923
|
title,
|
|
@@ -36926,8 +36926,8 @@ var WfoExpandableField = ({
|
|
|
36926
36926
|
}) => {
|
|
36927
36927
|
const { theme } = useOrchestratorTheme();
|
|
36928
36928
|
const { titleRowStyle, titleStyle } = useWithOrchestratorTheme(getStyles2);
|
|
36929
|
-
return /* @__PURE__ */
|
|
36930
|
-
/* @__PURE__ */
|
|
36929
|
+
return /* @__PURE__ */ jsxs35(Fragment3, { children: [
|
|
36930
|
+
/* @__PURE__ */ jsxs35("div", { css: titleRowStyle, children: [
|
|
36931
36931
|
/* @__PURE__ */ jsx62(
|
|
36932
36932
|
EuiButtonIcon,
|
|
36933
36933
|
{
|
|
@@ -37262,7 +37262,7 @@ var isUuid4 = (value) => !!value.match(
|
|
|
37262
37262
|
);
|
|
37263
37263
|
|
|
37264
37264
|
// src/components/WfoPageTemplate/WfoBreadcrumbs/WfoBreadcrumbs.tsx
|
|
37265
|
-
import { Fragment as Fragment4, jsx as jsx63, jsxs as
|
|
37265
|
+
import { Fragment as Fragment4, jsx as jsx63, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
|
|
37266
37266
|
var WfoBreadcrumbs = ({
|
|
37267
37267
|
handleSideMenuClick
|
|
37268
37268
|
}) => {
|
|
@@ -37295,8 +37295,8 @@ var WfoBreadcrumbs = ({
|
|
|
37295
37295
|
});
|
|
37296
37296
|
}
|
|
37297
37297
|
});
|
|
37298
|
-
return /* @__PURE__ */
|
|
37299
|
-
/* @__PURE__ */
|
|
37298
|
+
return /* @__PURE__ */ jsxs36(Fragment4, { children: [
|
|
37299
|
+
/* @__PURE__ */ jsxs36(
|
|
37300
37300
|
EuiFlexGroup2,
|
|
37301
37301
|
{
|
|
37302
37302
|
direction: "row",
|
|
@@ -37339,9 +37339,9 @@ import { useTranslations as useTranslations8 } from "next-intl";
|
|
|
37339
37339
|
import { EuiTab, EuiTabs } from "@elastic/eui";
|
|
37340
37340
|
|
|
37341
37341
|
// src/components/WfoFilterTabs/styles.ts
|
|
37342
|
-
import { css as
|
|
37342
|
+
import { css as css5 } from "@emotion/react";
|
|
37343
37343
|
var getStyles3 = ({ theme }) => {
|
|
37344
|
-
const tabStyle =
|
|
37344
|
+
const tabStyle = css5({
|
|
37345
37345
|
gap: `${theme.size.xxs}`,
|
|
37346
37346
|
".euiTab__prepend": {
|
|
37347
37347
|
marginRight: `${theme.size.xs}`
|
|
@@ -37380,18 +37380,18 @@ var WfoFilterTabs = ({
|
|
|
37380
37380
|
import { EuiText as EuiText2 } from "@elastic/eui";
|
|
37381
37381
|
|
|
37382
37382
|
// src/components/WfoKeyValueTable/styles.ts
|
|
37383
|
-
import { css as
|
|
37383
|
+
import { css as css6 } from "@emotion/react";
|
|
37384
37384
|
var getStyles4 = ({ theme }) => {
|
|
37385
37385
|
const padding = theme.font.baseline * 2.5;
|
|
37386
37386
|
const clipboardIconMargin = theme.font.baseline * 2;
|
|
37387
37387
|
const keyColumnWidth = theme.base * 12;
|
|
37388
37388
|
const radius = theme.border.radius.medium;
|
|
37389
37389
|
const clipboardIconSize = theme.base;
|
|
37390
|
-
const keyValueTable =
|
|
37390
|
+
const keyValueTable = css6({
|
|
37391
37391
|
display: "grid",
|
|
37392
37392
|
gridTemplateColumns: `${keyColumnWidth}px 1fr`
|
|
37393
37393
|
});
|
|
37394
|
-
const valueOnlyTable =
|
|
37394
|
+
const valueOnlyTable = css6({
|
|
37395
37395
|
display: "block",
|
|
37396
37396
|
gridTemplateColumns: `${keyColumnWidth}px 1fr`,
|
|
37397
37397
|
"& > div": {
|
|
@@ -37400,19 +37400,19 @@ var getStyles4 = ({ theme }) => {
|
|
|
37400
37400
|
borderBottomLeftRadius: radius
|
|
37401
37401
|
}
|
|
37402
37402
|
});
|
|
37403
|
-
const lightBackground =
|
|
37403
|
+
const lightBackground = css6({
|
|
37404
37404
|
backgroundColor: theme.colors.emptyShade
|
|
37405
37405
|
});
|
|
37406
|
-
const darkBackground =
|
|
37406
|
+
const darkBackground = css6({
|
|
37407
37407
|
backgroundColor: theme.colors.lightestShade
|
|
37408
37408
|
});
|
|
37409
37409
|
const getBackgroundColorStyleForRow = (rowNumber) => rowNumber % 2 ? lightBackground : darkBackground;
|
|
37410
|
-
const keyColumnStyle =
|
|
37410
|
+
const keyColumnStyle = css6({
|
|
37411
37411
|
padding,
|
|
37412
37412
|
borderTopLeftRadius: radius,
|
|
37413
37413
|
borderBottomLeftRadius: radius
|
|
37414
37414
|
});
|
|
37415
|
-
const valueColumnStyle =
|
|
37415
|
+
const valueColumnStyle = css6({
|
|
37416
37416
|
borderTopRightRadius: radius,
|
|
37417
37417
|
borderBottomRightRadius: radius,
|
|
37418
37418
|
paddingTop: theme.size.s,
|
|
@@ -37423,11 +37423,11 @@ var getStyles4 = ({ theme }) => {
|
|
|
37423
37423
|
visibility: "visible"
|
|
37424
37424
|
}
|
|
37425
37425
|
});
|
|
37426
|
-
const keyCellStyle =
|
|
37426
|
+
const keyCellStyle = css6({
|
|
37427
37427
|
fontWeight: theme.font.weight.medium,
|
|
37428
37428
|
color: theme.colors.title
|
|
37429
37429
|
});
|
|
37430
|
-
const valueCellStyle =
|
|
37430
|
+
const valueCellStyle = css6({
|
|
37431
37431
|
fontWeight: theme.font.weight.regular,
|
|
37432
37432
|
color: theme.colors.text,
|
|
37433
37433
|
display: "flex",
|
|
@@ -37435,12 +37435,12 @@ var getStyles4 = ({ theme }) => {
|
|
|
37435
37435
|
overflowWrap: "anywhere",
|
|
37436
37436
|
whiteSpace: "pre-wrap"
|
|
37437
37437
|
});
|
|
37438
|
-
const clipboardIconStyle =
|
|
37438
|
+
const clipboardIconStyle = css6({
|
|
37439
37439
|
visibility: "hidden",
|
|
37440
37440
|
height: `${clipboardIconSize}px`,
|
|
37441
37441
|
paddingBottom: 0
|
|
37442
37442
|
});
|
|
37443
|
-
const clickableStyle =
|
|
37443
|
+
const clickableStyle = css6({
|
|
37444
37444
|
marginLeft: clipboardIconMargin,
|
|
37445
37445
|
cursor: "pointer",
|
|
37446
37446
|
paddingRight: theme.size.s
|
|
@@ -37473,12 +37473,12 @@ import React7 from "react";
|
|
|
37473
37473
|
import { EuiCopy } from "@elastic/eui";
|
|
37474
37474
|
|
|
37475
37475
|
// src/icons/WfoClipboardCopy.tsx
|
|
37476
|
-
import { jsx as jsx66, jsxs as
|
|
37476
|
+
import { jsx as jsx66, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
|
|
37477
37477
|
var WfoClipboardCopy = ({
|
|
37478
37478
|
width = 24,
|
|
37479
37479
|
height = 24,
|
|
37480
37480
|
color = "#000000"
|
|
37481
|
-
}) => /* @__PURE__ */
|
|
37481
|
+
}) => /* @__PURE__ */ jsxs37(
|
|
37482
37482
|
"svg",
|
|
37483
37483
|
{
|
|
37484
37484
|
width,
|
|
@@ -37510,7 +37510,7 @@ var WfoClipboardCopy = ({
|
|
|
37510
37510
|
);
|
|
37511
37511
|
|
|
37512
37512
|
// src/components/WfoKeyValueTable/WfoValueCell.tsx
|
|
37513
|
-
import { jsx as jsx67, jsxs as
|
|
37513
|
+
import { jsx as jsx67, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
|
|
37514
37514
|
var WfoValueCell = ({
|
|
37515
37515
|
value,
|
|
37516
37516
|
textToCopy,
|
|
@@ -37529,7 +37529,7 @@ var WfoValueCell = ({
|
|
|
37529
37529
|
const shouldRenderCopyColumn = enableCopyIcon && textToCopy;
|
|
37530
37530
|
const valueToRender = typeof value === "string" || typeof value === "number" || React7.isValidElement(value) ? value : JSON.stringify(value);
|
|
37531
37531
|
const copyText = typeof textToCopy === "object" ? JSON.stringify(textToCopy) : textToCopy;
|
|
37532
|
-
return /* @__PURE__ */
|
|
37532
|
+
return /* @__PURE__ */ jsxs38("div", { css: [getBackgroundColorStyleForRow(rowNumber), valueColumnStyle], children: [
|
|
37533
37533
|
/* @__PURE__ */ jsx67("div", { css: valueCellStyle, children: valueToRender }),
|
|
37534
37534
|
/* @__PURE__ */ jsx67("div", { css: clipboardIconStyle, children: shouldRenderCopyColumn && /* @__PURE__ */ jsx67(EuiCopy, { textToCopy: copyText || "", children: (copy) => /* @__PURE__ */ jsx67("div", { onClick: copy, css: clickableStyle, children: /* @__PURE__ */ jsx67(
|
|
37535
37535
|
WfoClipboardCopy,
|
|
@@ -37544,13 +37544,13 @@ var WfoValueCell = ({
|
|
|
37544
37544
|
|
|
37545
37545
|
// src/components/WfoKeyValueTable/WfoKeyValueTable.tsx
|
|
37546
37546
|
import { Fragment as Fragment5 } from "react";
|
|
37547
|
-
import { jsx as jsx68, jsxs as
|
|
37547
|
+
import { jsx as jsx68, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
|
|
37548
37548
|
var WfoKeyValueTable = ({
|
|
37549
37549
|
keyValues,
|
|
37550
37550
|
showCopyToClipboardIcon = false
|
|
37551
37551
|
}) => {
|
|
37552
37552
|
const { keyValueTable } = useWithOrchestratorTheme(getStyles4);
|
|
37553
|
-
return /* @__PURE__ */ jsx68("div", { css: keyValueTable, children: keyValues.map(({ key, value, textToCopy }, rowNumber) => /* @__PURE__ */
|
|
37553
|
+
return /* @__PURE__ */ jsx68("div", { css: keyValueTable, children: keyValues.map(({ key, value, textToCopy }, rowNumber) => /* @__PURE__ */ jsxs39(Fragment5, { children: [
|
|
37554
37554
|
/* @__PURE__ */ jsx68(WfoKeyCell, { value: key, rowNumber }),
|
|
37555
37555
|
/* @__PURE__ */ jsx68(
|
|
37556
37556
|
WfoValueCell,
|
|
@@ -37596,8 +37596,8 @@ import {
|
|
|
37596
37596
|
} from "@elastic/eui";
|
|
37597
37597
|
|
|
37598
37598
|
// src/components/WfoPageTemplate/WfoPageHeader/WfoAppLogo.tsx
|
|
37599
|
-
import { jsx as jsx70, jsxs as
|
|
37600
|
-
var WfoAppLogo = () => /* @__PURE__ */
|
|
37599
|
+
import { jsx as jsx70, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
|
|
37600
|
+
var WfoAppLogo = () => /* @__PURE__ */ jsxs40(
|
|
37601
37601
|
"svg",
|
|
37602
37602
|
{
|
|
37603
37603
|
width: "64",
|
|
@@ -37636,15 +37636,15 @@ var WfoAppLogo = () => /* @__PURE__ */ jsxs42(
|
|
|
37636
37636
|
);
|
|
37637
37637
|
|
|
37638
37638
|
// src/components/WfoPageTemplate/WfoPageHeader/styles.ts
|
|
37639
|
-
import { css as
|
|
37639
|
+
import { css as css7 } from "@emotion/react";
|
|
37640
37640
|
var getWfoPageHeaderStyles = ({ theme }) => {
|
|
37641
|
-
const appNameStyle =
|
|
37641
|
+
const appNameStyle = css7({
|
|
37642
37642
|
paddingRight: theme.base,
|
|
37643
37643
|
marginRight: theme.base,
|
|
37644
37644
|
borderRight: `${theme.border.width.thick} solid ${theme.colors.subduedText}`
|
|
37645
37645
|
});
|
|
37646
37646
|
const getHeaderStyle = (navigationHeight) => {
|
|
37647
|
-
return
|
|
37647
|
+
return css7({
|
|
37648
37648
|
backgroundColor: theme.colors.header,
|
|
37649
37649
|
height: navigationHeight,
|
|
37650
37650
|
borderBottom: theme.colors.header
|
|
@@ -37664,12 +37664,12 @@ import { useTranslations as useTranslations9 } from "next-intl";
|
|
|
37664
37664
|
import { EuiButtonIcon as EuiButtonIcon3, EuiContextMenu, EuiPopover } from "@elastic/eui";
|
|
37665
37665
|
|
|
37666
37666
|
// src/icons/WfoQuestionCircle.tsx
|
|
37667
|
-
import { jsx as jsx71, jsxs as
|
|
37667
|
+
import { jsx as jsx71, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
|
|
37668
37668
|
var WfoQuestionCircle = ({
|
|
37669
37669
|
width = 24,
|
|
37670
37670
|
height = 24,
|
|
37671
37671
|
color = "#000000"
|
|
37672
|
-
}) => /* @__PURE__ */
|
|
37672
|
+
}) => /* @__PURE__ */ jsxs41(
|
|
37673
37673
|
"svg",
|
|
37674
37674
|
{
|
|
37675
37675
|
width,
|
|
@@ -37768,7 +37768,7 @@ var WfoHamburgerMenu = ({}) => {
|
|
|
37768
37768
|
};
|
|
37769
37769
|
|
|
37770
37770
|
// src/components/WfoPageTemplate/WfoPageHeader/WfoPageHeader.tsx
|
|
37771
|
-
import { jsx as jsx73, jsxs as
|
|
37771
|
+
import { jsx as jsx73, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
|
|
37772
37772
|
var WfoPageHeader = ({
|
|
37773
37773
|
navigationHeight,
|
|
37774
37774
|
getAppLogo,
|
|
@@ -37780,13 +37780,13 @@ var WfoPageHeader = ({
|
|
|
37780
37780
|
const { getHeaderStyle, appNameStyle } = useWithOrchestratorTheme(
|
|
37781
37781
|
getWfoPageHeaderStyles
|
|
37782
37782
|
);
|
|
37783
|
-
return /* @__PURE__ */
|
|
37784
|
-
/* @__PURE__ */
|
|
37783
|
+
return /* @__PURE__ */ jsxs42(EuiHeader, { css: getHeaderStyle(navigationHeight), children: [
|
|
37784
|
+
/* @__PURE__ */ jsxs42(EuiHeaderSection, { children: [
|
|
37785
37785
|
/* @__PURE__ */ jsx73(
|
|
37786
37786
|
EuiToolTip3,
|
|
37787
37787
|
{
|
|
37788
37788
|
content: "UI version " + ORCHESTRATOR_UI_LIBRARY_VERSION,
|
|
37789
|
-
children: /* @__PURE__ */
|
|
37789
|
+
children: /* @__PURE__ */ jsxs42(EuiHeaderSectionItem, { css: { paddingTop: theme.size.xs }, children: [
|
|
37790
37790
|
/* @__PURE__ */ jsx73(EuiHeaderLogo, { iconType: () => /* @__PURE__ */ jsx73(WfoAppLogo, {}) }),
|
|
37791
37791
|
/* @__PURE__ */ jsx73("div", { css: appNameStyle, children: getAppLogo(navigationHeight) })
|
|
37792
37792
|
] })
|
|
@@ -37794,8 +37794,8 @@ var WfoPageHeader = ({
|
|
|
37794
37794
|
),
|
|
37795
37795
|
/* @__PURE__ */ jsx73(EuiHeaderSectionItem, { children: /* @__PURE__ */ jsx73(WfoEnvironmentBadge, {}) })
|
|
37796
37796
|
] }),
|
|
37797
|
-
/* @__PURE__ */ jsx73(EuiHeaderSection, { children: /* @__PURE__ */
|
|
37798
|
-
/* @__PURE__ */
|
|
37797
|
+
/* @__PURE__ */ jsx73(EuiHeaderSection, { children: /* @__PURE__ */ jsxs42(EuiHeaderSectionItem, { children: [
|
|
37798
|
+
/* @__PURE__ */ jsxs42(EuiBadgeGroup, { css: { marginRight: multiplyByBaseUnit(1) }, children: [
|
|
37799
37799
|
/* @__PURE__ */ jsx73(WfoEngineStatusBadge, {}),
|
|
37800
37800
|
/* @__PURE__ */ jsx73(WfoFailedTasksBadge, {})
|
|
37801
37801
|
] }),
|
|
@@ -37836,9 +37836,9 @@ import { useRouter as useRouter4 } from "next/router";
|
|
|
37836
37836
|
import { EuiSideNav, EuiSpacer as EuiSpacer4 } from "@elastic/eui";
|
|
37837
37837
|
|
|
37838
37838
|
// src/components/WfoPageTemplate/WfoSidebar/styles.ts
|
|
37839
|
-
import { css as
|
|
37839
|
+
import { css as css8 } from "@emotion/react";
|
|
37840
37840
|
var getCopyrightStyles = ({ theme }) => {
|
|
37841
|
-
const copyrightStyle =
|
|
37841
|
+
const copyrightStyle = css8({
|
|
37842
37842
|
position: "fixed",
|
|
37843
37843
|
bottom: 0,
|
|
37844
37844
|
left: 0,
|
|
@@ -37851,7 +37851,7 @@ var getCopyrightStyles = ({ theme }) => {
|
|
|
37851
37851
|
};
|
|
37852
37852
|
};
|
|
37853
37853
|
var getMenuStyles = ({ theme }) => {
|
|
37854
|
-
const menuStyle =
|
|
37854
|
+
const menuStyle = css8({
|
|
37855
37855
|
".euiSideNavItem--branch": {
|
|
37856
37856
|
"&:after": {
|
|
37857
37857
|
backgroundColor: theme.colors.lightShade,
|
|
@@ -37896,7 +37896,7 @@ var getMenuItemStyles = ({ theme, isDarkThemeActive }) => {
|
|
|
37896
37896
|
}
|
|
37897
37897
|
}
|
|
37898
37898
|
};
|
|
37899
|
-
const menuItemStyle =
|
|
37899
|
+
const menuItemStyle = css8({
|
|
37900
37900
|
...baseStyles,
|
|
37901
37901
|
color: theme.colors.subduedText
|
|
37902
37902
|
});
|
|
@@ -37907,15 +37907,15 @@ var getMenuItemStyles = ({ theme, isDarkThemeActive }) => {
|
|
|
37907
37907
|
borderRadius: theme.border.radius.medium,
|
|
37908
37908
|
color: theme.colors.ghost
|
|
37909
37909
|
};
|
|
37910
|
-
const selectedMenuItem =
|
|
37910
|
+
const selectedMenuItem = css8({
|
|
37911
37911
|
...selectedMenuItemBaseStyle
|
|
37912
37912
|
});
|
|
37913
|
-
const subMenuItemStyle =
|
|
37913
|
+
const subMenuItemStyle = css8({
|
|
37914
37914
|
...baseSubMenuStyles,
|
|
37915
37915
|
marginLeft: `${theme.size.xs}`,
|
|
37916
37916
|
paddingLeft: `${theme.size.s}`
|
|
37917
37917
|
});
|
|
37918
|
-
const selectedSubMenuItem =
|
|
37918
|
+
const selectedSubMenuItem = css8({
|
|
37919
37919
|
...baseSubMenuStyles,
|
|
37920
37920
|
height: `${theme.base * 2.25}px`,
|
|
37921
37921
|
backgroundColor: isDarkThemeActive ? theme.colors.mediumShade : theme.colors.header,
|
|
@@ -37924,7 +37924,7 @@ var getMenuItemStyles = ({ theme, isDarkThemeActive }) => {
|
|
|
37924
37924
|
marginLeft: `${theme.size.xs}`,
|
|
37925
37925
|
paddingLeft: `${theme.size.s}`
|
|
37926
37926
|
});
|
|
37927
|
-
const subMenuHeaderStyle =
|
|
37927
|
+
const subMenuHeaderStyle = css8({
|
|
37928
37928
|
...baseStyles,
|
|
37929
37929
|
color: theme.colors.text
|
|
37930
37930
|
});
|
|
@@ -37946,9 +37946,9 @@ import { useState as useState8 } from "react";
|
|
|
37946
37946
|
import { EuiButton as EuiButton2, EuiPopover as EuiPopover2, EuiSelectable, EuiSpacer as EuiSpacer3 } from "@elastic/eui";
|
|
37947
37947
|
|
|
37948
37948
|
// src/components/WfoStartButton/styles.ts
|
|
37949
|
-
import { css as
|
|
37949
|
+
import { css as css9 } from "@emotion/react";
|
|
37950
37950
|
var getStyles5 = ({ theme }) => {
|
|
37951
|
-
const selectableStyle =
|
|
37951
|
+
const selectableStyle = css9({
|
|
37952
37952
|
".euiFieldSearch": {
|
|
37953
37953
|
backgroundColor: theme.colors.body,
|
|
37954
37954
|
color: theme.colors.text,
|
|
@@ -37966,7 +37966,7 @@ var getStyles5 = ({ theme }) => {
|
|
|
37966
37966
|
};
|
|
37967
37967
|
|
|
37968
37968
|
// src/components/WfoStartButton/WfoStartButtonComboBox.tsx
|
|
37969
|
-
import { Fragment as Fragment6, jsx as jsx74, jsxs as
|
|
37969
|
+
import { Fragment as Fragment6, jsx as jsx74, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
|
|
37970
37970
|
var WfoStartButtonComboBox = ({
|
|
37971
37971
|
buttonText,
|
|
37972
37972
|
options,
|
|
@@ -38003,7 +38003,7 @@ var WfoStartButtonComboBox = ({
|
|
|
38003
38003
|
options,
|
|
38004
38004
|
onChange: (_2, __, changedOption) => onOptionChange(changedOption),
|
|
38005
38005
|
height: 200,
|
|
38006
|
-
children: (list, search) => /* @__PURE__ */
|
|
38006
|
+
children: (list, search) => /* @__PURE__ */ jsxs43(Fragment6, { children: [
|
|
38007
38007
|
search,
|
|
38008
38008
|
/* @__PURE__ */ jsx74(EuiSpacer3, { size: "s" }),
|
|
38009
38009
|
list
|
|
@@ -38068,11 +38068,11 @@ var PATH_TASKS = "/tasks";
|
|
|
38068
38068
|
var PATH_SETTINGS = "/settings";
|
|
38069
38069
|
|
|
38070
38070
|
// src/components/WfoPageTemplate/WfoSidebar/WfoCopyright.tsx
|
|
38071
|
-
import { jsx as jsx76, jsxs as
|
|
38071
|
+
import { jsx as jsx76, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
|
|
38072
38072
|
var WfoCopyright = () => {
|
|
38073
38073
|
const { copyrightStyle } = useWithOrchestratorTheme(getCopyrightStyles);
|
|
38074
38074
|
const year = (/* @__PURE__ */ new Date()).getFullYear();
|
|
38075
|
-
return /* @__PURE__ */ jsx76("div", { children: /* @__PURE__ */ jsx76("span", { css: copyrightStyle, children: /* @__PURE__ */ jsx76("p", { children: /* @__PURE__ */
|
|
38075
|
+
return /* @__PURE__ */ jsx76("div", { children: /* @__PURE__ */ jsx76("span", { css: copyrightStyle, children: /* @__PURE__ */ jsx76("p", { children: /* @__PURE__ */ jsxs44("a", { href: "https://workfloworchestrator.org/", target: "_blank", children: [
|
|
38076
38076
|
"\xA9 ",
|
|
38077
38077
|
year,
|
|
38078
38078
|
" - workfloworchestrator.org"
|
|
@@ -38081,7 +38081,7 @@ var WfoCopyright = () => {
|
|
|
38081
38081
|
|
|
38082
38082
|
// src/components/WfoPageTemplate/WfoSidebar/WfoMenuLink.tsx
|
|
38083
38083
|
import { useTranslations as useTranslations12 } from "next-intl";
|
|
38084
|
-
import
|
|
38084
|
+
import Link2 from "next/link";
|
|
38085
38085
|
import { jsx as jsx77 } from "@emotion/react/jsx-runtime";
|
|
38086
38086
|
var WfoMenuItemLink = ({
|
|
38087
38087
|
path,
|
|
@@ -38109,11 +38109,11 @@ var WfoMenuItemLink = ({
|
|
|
38109
38109
|
};
|
|
38110
38110
|
const t = useTranslations12("main");
|
|
38111
38111
|
const linkText = t(translationString) === `main.${translationString}` ? translationString : t(translationString);
|
|
38112
|
-
return /* @__PURE__ */ jsx77(
|
|
38112
|
+
return /* @__PURE__ */ jsx77(Link2, { css: getMenuItemStyle(), href: path, target, children: linkText });
|
|
38113
38113
|
};
|
|
38114
38114
|
|
|
38115
38115
|
// src/components/WfoPageTemplate/WfoSidebar/WfoSidebar.tsx
|
|
38116
|
-
import { Fragment as Fragment7, jsx as jsx78, jsxs as
|
|
38116
|
+
import { Fragment as Fragment7, jsx as jsx78, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
|
|
38117
38117
|
var urlPolicyMap = /* @__PURE__ */ new Map([
|
|
38118
38118
|
[PATH_WORKFLOWS, "/orchestrator/processes/" /* NAVIGATION_WORKFLOWS */],
|
|
38119
38119
|
[PATH_SUBSCRIPTIONS, "/orchestrator/subscriptions/" /* NAVIGATION_SUBSCRIPTIONS */],
|
|
@@ -38298,7 +38298,7 @@ var WfoSidebar = ({ overrideMenuItems }) => {
|
|
|
38298
38298
|
);
|
|
38299
38299
|
const defaultMenu = [
|
|
38300
38300
|
{
|
|
38301
|
-
renderItem: () => /* @__PURE__ */
|
|
38301
|
+
renderItem: () => /* @__PURE__ */ jsxs45(Fragment7, { children: [
|
|
38302
38302
|
/* @__PURE__ */ jsx78(
|
|
38303
38303
|
WfoIsAllowedToRender,
|
|
38304
38304
|
{
|
|
@@ -38336,7 +38336,7 @@ var menuItemIsAllowed = (url, urlPolicyMap2, isAllowedHandler) => {
|
|
|
38336
38336
|
};
|
|
38337
38337
|
|
|
38338
38338
|
// src/components/WfoPageTemplate/WfoPageTemplate/WfoPageTemplate.tsx
|
|
38339
|
-
import { Fragment as Fragment8, jsx as jsx79, jsxs as
|
|
38339
|
+
import { Fragment as Fragment8, jsx as jsx79, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
|
|
38340
38340
|
var WfoPageTemplate = ({
|
|
38341
38341
|
children,
|
|
38342
38342
|
getAppLogo,
|
|
@@ -38346,7 +38346,7 @@ var WfoPageTemplate = ({
|
|
|
38346
38346
|
const { theme, multiplyByBaseUnit } = useOrchestratorTheme();
|
|
38347
38347
|
const [isSideMenuVisible, setIsSideMenuVisible] = useState10(true);
|
|
38348
38348
|
const navigationHeight = multiplyByBaseUnit(3);
|
|
38349
|
-
return /* @__PURE__ */
|
|
38349
|
+
return /* @__PURE__ */ jsxs46(Fragment8, { children: [
|
|
38350
38350
|
/* @__PURE__ */ jsx79(
|
|
38351
38351
|
WfoPageHeader,
|
|
38352
38352
|
{
|
|
@@ -38355,7 +38355,7 @@ var WfoPageTemplate = ({
|
|
|
38355
38355
|
onThemeSwitch
|
|
38356
38356
|
}
|
|
38357
38357
|
),
|
|
38358
|
-
/* @__PURE__ */
|
|
38358
|
+
/* @__PURE__ */ jsxs46(
|
|
38359
38359
|
EuiPageTemplate,
|
|
38360
38360
|
{
|
|
38361
38361
|
panelled: false,
|
|
@@ -38373,7 +38373,7 @@ var WfoPageTemplate = ({
|
|
|
38373
38373
|
children: /* @__PURE__ */ jsx79(WfoSidebar, { overrideMenuItems })
|
|
38374
38374
|
}
|
|
38375
38375
|
),
|
|
38376
|
-
/* @__PURE__ */
|
|
38376
|
+
/* @__PURE__ */ jsxs46(
|
|
38377
38377
|
EuiPageTemplate.Section,
|
|
38378
38378
|
{
|
|
38379
38379
|
css: {
|
|
@@ -38402,9 +38402,9 @@ import { useTranslations as useTranslations14 } from "next-intl";
|
|
|
38402
38402
|
import { EuiFieldSearch, EuiFormRow } from "@elastic/eui";
|
|
38403
38403
|
|
|
38404
38404
|
// src/theme/baseStyles/formFieldsBaseStyle.ts
|
|
38405
|
-
import { css as
|
|
38405
|
+
import { css as css10 } from "@emotion/react";
|
|
38406
38406
|
var getFormFieldsBaseStyle = ({ theme }) => {
|
|
38407
|
-
const formFieldBaseStyle =
|
|
38407
|
+
const formFieldBaseStyle = css10({
|
|
38408
38408
|
backgroundColor: theme.colors.body,
|
|
38409
38409
|
color: theme.colors.text,
|
|
38410
38410
|
"&:focus": {
|
|
@@ -38568,13 +38568,13 @@ import {
|
|
|
38568
38568
|
EuiModalHeaderTitle as EuiModalHeaderTitle2,
|
|
38569
38569
|
EuiSpacer as EuiSpacer5
|
|
38570
38570
|
} from "@elastic/eui";
|
|
38571
|
-
import { jsx as jsx81, jsxs as
|
|
38571
|
+
import { jsx as jsx81, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
|
|
38572
38572
|
var WfoInformationModal = ({
|
|
38573
38573
|
title,
|
|
38574
38574
|
onClose,
|
|
38575
38575
|
children
|
|
38576
38576
|
}) => {
|
|
38577
|
-
return /* @__PURE__ */
|
|
38577
|
+
return /* @__PURE__ */ jsxs47(EuiModal2, { onClose, children: [
|
|
38578
38578
|
/* @__PURE__ */ jsx81(EuiModalHeader2, { children: /* @__PURE__ */ jsx81(EuiModalHeaderTitle2, { size: "xs", children: title }) }),
|
|
38579
38579
|
/* @__PURE__ */ jsx81(EuiSpacer5, { size: "s" }),
|
|
38580
38580
|
/* @__PURE__ */ jsx81(EuiModalBody2, { children }),
|
|
@@ -38595,7 +38595,7 @@ import {
|
|
|
38595
38595
|
EuiModalHeaderTitle as EuiModalHeaderTitle3,
|
|
38596
38596
|
EuiSpacer as EuiSpacer6
|
|
38597
38597
|
} from "@elastic/eui";
|
|
38598
|
-
import { jsx as jsx82, jsxs as
|
|
38598
|
+
import { jsx as jsx82, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
|
|
38599
38599
|
var WfoSettingsModal = ({
|
|
38600
38600
|
title,
|
|
38601
38601
|
onClose,
|
|
@@ -38604,11 +38604,11 @@ var WfoSettingsModal = ({
|
|
|
38604
38604
|
children
|
|
38605
38605
|
}) => {
|
|
38606
38606
|
const t = useTranslations15("main");
|
|
38607
|
-
return /* @__PURE__ */
|
|
38607
|
+
return /* @__PURE__ */ jsxs48(EuiModal3, { onClose, maxWidth: 400, children: [
|
|
38608
38608
|
/* @__PURE__ */ jsx82(EuiModalHeader3, { children: /* @__PURE__ */ jsx82(EuiModalHeaderTitle3, { size: "xs", children: title }) }),
|
|
38609
38609
|
/* @__PURE__ */ jsx82(EuiSpacer6, { size: "s" }),
|
|
38610
38610
|
/* @__PURE__ */ jsx82(EuiModalBody3, { children }),
|
|
38611
|
-
/* @__PURE__ */ jsx82(EuiModalFooter3, { children: /* @__PURE__ */
|
|
38611
|
+
/* @__PURE__ */ jsx82(EuiModalFooter3, { children: /* @__PURE__ */ jsxs48(EuiFlexGroup3, { justifyContent: "spaceBetween", children: [
|
|
38612
38612
|
/* @__PURE__ */ jsx82(EuiButtonEmpty, { onClick: onResetToDefaults, flush: "left", children: t("resetToDefault") }),
|
|
38613
38613
|
/* @__PURE__ */ jsx82(EuiButton4, { onClick: onUpdateTableConfig, fill: true, children: t("savePreferences") })
|
|
38614
38614
|
] }) })
|
|
@@ -38628,7 +38628,7 @@ import {
|
|
|
38628
38628
|
EuiModalHeaderTitle as EuiModalHeaderTitle4,
|
|
38629
38629
|
EuiSpacer as EuiSpacer7
|
|
38630
38630
|
} from "@elastic/eui";
|
|
38631
|
-
import { jsx as jsx83, jsxs as
|
|
38631
|
+
import { jsx as jsx83, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
|
|
38632
38632
|
var WfoSubmitModal = ({
|
|
38633
38633
|
title,
|
|
38634
38634
|
onClose,
|
|
@@ -38638,11 +38638,11 @@ var WfoSubmitModal = ({
|
|
|
38638
38638
|
isDisabled,
|
|
38639
38639
|
children
|
|
38640
38640
|
}) => {
|
|
38641
|
-
return /* @__PURE__ */
|
|
38641
|
+
return /* @__PURE__ */ jsxs49(EuiModal4, { onClose, children: [
|
|
38642
38642
|
/* @__PURE__ */ jsx83(EuiModalHeader4, { children: /* @__PURE__ */ jsx83(EuiModalHeaderTitle4, { size: "xs", children: title }) }),
|
|
38643
38643
|
/* @__PURE__ */ jsx83(EuiSpacer7, { size: "s" }),
|
|
38644
38644
|
/* @__PURE__ */ jsx83(EuiModalBody4, { children }),
|
|
38645
|
-
/* @__PURE__ */ jsx83(EuiModalFooter4, { children: /* @__PURE__ */
|
|
38645
|
+
/* @__PURE__ */ jsx83(EuiModalFooter4, { children: /* @__PURE__ */ jsxs49(EuiFlexGroup4, { justifyContent: "spaceBetween", children: [
|
|
38646
38646
|
/* @__PURE__ */ jsx83(EuiFlexItem3, { grow: false, children: /* @__PURE__ */ jsx83(EuiButtonEmpty2, { onClick: onClose, children: "Close" }) }),
|
|
38647
38647
|
/* @__PURE__ */ jsx83(EuiFlexItem3, { grow: false, children: /* @__PURE__ */ jsx83(
|
|
38648
38648
|
EuiButton5,
|
|
@@ -38967,15 +38967,15 @@ var WfoSubscriptionProductInfoSection = ({
|
|
|
38967
38967
|
|
|
38968
38968
|
// src/components/WfoSubscription/SubscriptionKeyValueBlock.tsx
|
|
38969
38969
|
import { EuiFlexGroup as EuiFlexGroup5, EuiFlexItem as EuiFlexItem4, EuiSpacer as EuiSpacer8, EuiText as EuiText3 } from "@elastic/eui";
|
|
38970
|
-
import { Fragment as Fragment9, jsx as jsx88, jsxs as
|
|
38970
|
+
import { Fragment as Fragment9, jsx as jsx88, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
|
|
38971
38971
|
var SubscriptionKeyValueBlock = ({
|
|
38972
38972
|
title,
|
|
38973
38973
|
keyValues
|
|
38974
38974
|
}) => {
|
|
38975
38975
|
const { theme } = useOrchestratorTheme();
|
|
38976
|
-
return /* @__PURE__ */
|
|
38976
|
+
return /* @__PURE__ */ jsxs50(Fragment9, { children: [
|
|
38977
38977
|
/* @__PURE__ */ jsx88(EuiSpacer8, { size: "m" }),
|
|
38978
|
-
/* @__PURE__ */ jsx88("div", { children: /* @__PURE__ */
|
|
38978
|
+
/* @__PURE__ */ jsx88("div", { children: /* @__PURE__ */ jsxs50("div", { style: { marginTop: 5 }, children: [
|
|
38979
38979
|
/* @__PURE__ */ jsx88(EuiFlexGroup5, { justifyContent: "spaceBetween", children: /* @__PURE__ */ jsx88(EuiFlexItem4, { children: /* @__PURE__ */ jsx88(
|
|
38980
38980
|
EuiText3,
|
|
38981
38981
|
{
|
|
@@ -38999,7 +38999,7 @@ var SubscriptionKeyValueBlock = ({
|
|
|
38999
38999
|
// src/components/WfoSubscription/WfoInSyncField.tsx
|
|
39000
39000
|
import { useContext as useContext4 } from "react";
|
|
39001
39001
|
import { useTranslations as useTranslations20 } from "next-intl";
|
|
39002
|
-
import
|
|
39002
|
+
import Link3 from "next/link";
|
|
39003
39003
|
import { EuiButton as EuiButton6 } from "@elastic/eui";
|
|
39004
39004
|
|
|
39005
39005
|
// src/components/WfoAuth/WfoIsAllowedToRender.tsx
|
|
@@ -39034,7 +39034,7 @@ var WfoInsyncIcon = ({ inSync }) => {
|
|
|
39034
39034
|
};
|
|
39035
39035
|
|
|
39036
39036
|
// src/components/WfoSubscription/WfoInSyncField.tsx
|
|
39037
|
-
import { Fragment as Fragment11, jsx as jsx91, jsxs as
|
|
39037
|
+
import { Fragment as Fragment11, jsx as jsx91, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
|
|
39038
39038
|
var WfoInSyncField = ({
|
|
39039
39039
|
subscriptionDetail,
|
|
39040
39040
|
isFetching
|
|
@@ -39077,9 +39077,9 @@ var WfoInSyncField = ({
|
|
|
39077
39077
|
}
|
|
39078
39078
|
});
|
|
39079
39079
|
};
|
|
39080
|
-
return /* @__PURE__ */
|
|
39081
|
-
/* @__PURE__ */
|
|
39082
|
-
|
|
39080
|
+
return /* @__PURE__ */ jsxs51(Fragment11, { children: [
|
|
39081
|
+
/* @__PURE__ */ jsxs51(
|
|
39082
|
+
Link3,
|
|
39083
39083
|
{
|
|
39084
39084
|
href: processUrl,
|
|
39085
39085
|
css: {
|
|
@@ -39106,7 +39106,7 @@ var WfoInSyncField = ({
|
|
|
39106
39106
|
) })
|
|
39107
39107
|
] });
|
|
39108
39108
|
};
|
|
39109
|
-
return /* @__PURE__ */
|
|
39109
|
+
return /* @__PURE__ */ jsxs51(Fragment11, { children: [
|
|
39110
39110
|
/* @__PURE__ */ jsx91("div", { css: { paddingRight: theme.base / 4, display: "flex" }, children: /* @__PURE__ */ jsx91(WfoInsyncIcon, { inSync }) }),
|
|
39111
39111
|
inSync && lastTaskRunDate && `(${formatDate(lastTaskRunDate)})`,
|
|
39112
39112
|
!inSync && lastUncompletedProcess && getProcessLink()
|
|
@@ -39138,45 +39138,45 @@ var WfoTargetTypeIcon = ({
|
|
|
39138
39138
|
};
|
|
39139
39139
|
|
|
39140
39140
|
// src/components/WfoSubscription/styles.ts
|
|
39141
|
-
import { css as
|
|
39141
|
+
import { css as css11 } from "@emotion/react";
|
|
39142
39142
|
var getSubscriptionDetailStyles = ({ theme }) => {
|
|
39143
39143
|
const productBlockTreeWidth = theme.base * 28;
|
|
39144
|
-
const contentCellStyle =
|
|
39144
|
+
const contentCellStyle = css11({
|
|
39145
39145
|
padding: theme.base / 4 * 3,
|
|
39146
39146
|
borderBottom: theme.border.thin,
|
|
39147
39147
|
borderBottomColor: theme.colors.lightShade
|
|
39148
39148
|
});
|
|
39149
|
-
const headerCellStyle =
|
|
39149
|
+
const headerCellStyle = css11({
|
|
39150
39150
|
...contentCellStyle,
|
|
39151
39151
|
paddingLeft: 0,
|
|
39152
39152
|
width: theme.base * 16,
|
|
39153
39153
|
fontWeight: theme.font.weight.medium
|
|
39154
39154
|
});
|
|
39155
|
-
const emptyCellStyle =
|
|
39155
|
+
const emptyCellStyle = css11({
|
|
39156
39156
|
width: theme.base
|
|
39157
39157
|
});
|
|
39158
|
-
const tableStyle =
|
|
39158
|
+
const tableStyle = css11({
|
|
39159
39159
|
backgroundColor: theme.colors.lightestShade,
|
|
39160
39160
|
width: "100%",
|
|
39161
39161
|
borderRadius: theme.border.radius.medium,
|
|
39162
39162
|
marginTop: theme.base / 2
|
|
39163
39163
|
});
|
|
39164
|
-
const timeLineStyle =
|
|
39164
|
+
const timeLineStyle = css11({
|
|
39165
39165
|
paddingLeft: theme.base / 2
|
|
39166
39166
|
});
|
|
39167
|
-
const workflowTargetStyle =
|
|
39168
|
-
const lastContentCellStyle =
|
|
39167
|
+
const workflowTargetStyle = css11({ fontWeight: theme.font.weight.bold });
|
|
39168
|
+
const lastContentCellStyle = css11({
|
|
39169
39169
|
...contentCellStyle,
|
|
39170
39170
|
border: 0
|
|
39171
39171
|
});
|
|
39172
|
-
const lastHeaderCellStyle =
|
|
39172
|
+
const lastHeaderCellStyle = css11({
|
|
39173
39173
|
padding: theme.base,
|
|
39174
39174
|
paddingLeft: 0,
|
|
39175
39175
|
width: 250,
|
|
39176
39176
|
fontWeight: theme.font.weight.medium,
|
|
39177
39177
|
border: 0
|
|
39178
39178
|
});
|
|
39179
|
-
const inUseByRelationDetailsStyle =
|
|
39179
|
+
const inUseByRelationDetailsStyle = css11({
|
|
39180
39180
|
borderColor: theme.colors.lightShade,
|
|
39181
39181
|
borderStyle: "solid",
|
|
39182
39182
|
borderWidth: "thin",
|
|
@@ -39198,7 +39198,7 @@ var getSubscriptionDetailStyles = ({ theme }) => {
|
|
|
39198
39198
|
};
|
|
39199
39199
|
|
|
39200
39200
|
// src/components/WfoSubscription/WfoProcessesTimeline.tsx
|
|
39201
|
-
import { Fragment as Fragment12, jsx as jsx93, jsxs as
|
|
39201
|
+
import { Fragment as Fragment12, jsx as jsx93, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
|
|
39202
39202
|
var WfoProcessCard = ({ subscriptionDetailProcess }) => {
|
|
39203
39203
|
const t = useTranslations21("subscriptions.detail.processDetail");
|
|
39204
39204
|
const {
|
|
@@ -39210,8 +39210,8 @@ var WfoProcessCard = ({ subscriptionDetailProcess }) => {
|
|
|
39210
39210
|
lastHeaderCellStyle
|
|
39211
39211
|
} = useWithOrchestratorTheme(getSubscriptionDetailStyles);
|
|
39212
39212
|
const processUrl = subscriptionDetailProcess.isTask ? PATH_TASKS : PATH_WORKFLOWS;
|
|
39213
|
-
return /* @__PURE__ */ jsx93(Fragment12, { children: /* @__PURE__ */ jsx93("table", { css: tableStyle, children: /* @__PURE__ */
|
|
39214
|
-
/* @__PURE__ */
|
|
39213
|
+
return /* @__PURE__ */ jsx93(Fragment12, { children: /* @__PURE__ */ jsx93("table", { css: tableStyle, children: /* @__PURE__ */ jsxs52("tbody", { children: [
|
|
39214
|
+
/* @__PURE__ */ jsxs52("tr", { children: [
|
|
39215
39215
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle }),
|
|
39216
39216
|
/* @__PURE__ */ jsx93("td", { css: headerCellStyle, children: t("id") }),
|
|
39217
39217
|
/* @__PURE__ */ jsx93("td", { css: contentCellStyle, children: /* @__PURE__ */ jsx93(
|
|
@@ -39223,7 +39223,7 @@ var WfoProcessCard = ({ subscriptionDetailProcess }) => {
|
|
|
39223
39223
|
) }),
|
|
39224
39224
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle })
|
|
39225
39225
|
] }),
|
|
39226
|
-
/* @__PURE__ */
|
|
39226
|
+
/* @__PURE__ */ jsxs52("tr", { children: [
|
|
39227
39227
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle }),
|
|
39228
39228
|
/* @__PURE__ */ jsx93("td", { css: headerCellStyle, children: t("status") }),
|
|
39229
39229
|
/* @__PURE__ */ jsx93("td", { css: contentCellStyle, children: /* @__PURE__ */ jsx93(
|
|
@@ -39234,7 +39234,7 @@ var WfoProcessCard = ({ subscriptionDetailProcess }) => {
|
|
|
39234
39234
|
) }),
|
|
39235
39235
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle })
|
|
39236
39236
|
] }),
|
|
39237
|
-
/* @__PURE__ */
|
|
39237
|
+
/* @__PURE__ */ jsxs52("tr", { children: [
|
|
39238
39238
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle }),
|
|
39239
39239
|
/* @__PURE__ */ jsx93("td", { css: headerCellStyle, children: t("startedAt") }),
|
|
39240
39240
|
/* @__PURE__ */ jsx93("td", { css: contentCellStyle, children: parseDateToLocaleDateTimeString(
|
|
@@ -39242,7 +39242,7 @@ var WfoProcessCard = ({ subscriptionDetailProcess }) => {
|
|
|
39242
39242
|
) }),
|
|
39243
39243
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle })
|
|
39244
39244
|
] }),
|
|
39245
|
-
/* @__PURE__ */
|
|
39245
|
+
/* @__PURE__ */ jsxs52("tr", { children: [
|
|
39246
39246
|
/* @__PURE__ */ jsx93("td", { css: emptyCellStyle }),
|
|
39247
39247
|
/* @__PURE__ */ jsx93("td", { css: lastHeaderCellStyle, children: t("startedBy") }),
|
|
39248
39248
|
/* @__PURE__ */ jsx93("td", { css: lastContentCellStyle, children: subscriptionDetailProcess.createdBy }),
|
|
@@ -39256,7 +39256,7 @@ var WfoRenderSubscriptionProcess = ({
|
|
|
39256
39256
|
const { timeLineStyle, workflowTargetStyle } = useWithOrchestratorTheme(
|
|
39257
39257
|
getSubscriptionDetailStyles
|
|
39258
39258
|
);
|
|
39259
|
-
return /* @__PURE__ */
|
|
39259
|
+
return /* @__PURE__ */ jsxs52(
|
|
39260
39260
|
EuiComment,
|
|
39261
39261
|
{
|
|
39262
39262
|
username: subscriptionDetailProcess.workflowTarget ?? "",
|
|
@@ -39268,7 +39268,7 @@ var WfoRenderSubscriptionProcess = ({
|
|
|
39268
39268
|
}
|
|
39269
39269
|
),
|
|
39270
39270
|
children: [
|
|
39271
|
-
/* @__PURE__ */
|
|
39271
|
+
/* @__PURE__ */ jsxs52(
|
|
39272
39272
|
EuiFlexGroup6,
|
|
39273
39273
|
{
|
|
39274
39274
|
alignItems: "center",
|
|
@@ -39317,7 +39317,7 @@ var WfoProcessesTimeline = ({
|
|
|
39317
39317
|
subscriptionDetailProcesses,
|
|
39318
39318
|
selectedOption.value
|
|
39319
39319
|
);
|
|
39320
|
-
return /* @__PURE__ */
|
|
39320
|
+
return /* @__PURE__ */ jsxs52(Fragment12, { children: [
|
|
39321
39321
|
/* @__PURE__ */ jsx93(EuiSpacer9, { size: "m" }),
|
|
39322
39322
|
!subscriptionDetailProcesses && /* @__PURE__ */ jsx93(WfoLoading, {}),
|
|
39323
39323
|
/* @__PURE__ */ jsx93(
|
|
@@ -39341,7 +39341,7 @@ var WfoProcessesTimeline = ({
|
|
|
39341
39341
|
// src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
|
|
39342
39342
|
import { useState as useState14 } from "react";
|
|
39343
39343
|
import { useTranslations as useTranslations26 } from "next-intl";
|
|
39344
|
-
import
|
|
39344
|
+
import Link4 from "next/link";
|
|
39345
39345
|
import { EuiFlexGroup as EuiFlexGroup8, EuiFlexItem as EuiFlexItem5, EuiSpacer as EuiSpacer12, EuiSwitch } from "@elastic/eui";
|
|
39346
39346
|
|
|
39347
39347
|
// src/components/WfoSubscription/utils/relatedSubscriptionsListItemsObjectMappers.ts
|
|
@@ -39425,16 +39425,16 @@ var WfoExpandedRow = ({
|
|
|
39425
39425
|
};
|
|
39426
39426
|
|
|
39427
39427
|
// src/components/WfoTable/WfoTable/styles.ts
|
|
39428
|
-
import { css as
|
|
39428
|
+
import { css as css13, keyframes } from "@emotion/react";
|
|
39429
39429
|
|
|
39430
39430
|
// src/components/WfoTable/WfoTable/WfoTableHeaderCell/styles.ts
|
|
39431
|
-
import { css as
|
|
39431
|
+
import { css as css12 } from "@emotion/react";
|
|
39432
39432
|
var HEADER_CELL_TITLE_BUTTON_CLASS = "headerCellTitleButton";
|
|
39433
39433
|
var HEADER_CELL_SORT_BUTTON_CLASS = "headerCellSortButton";
|
|
39434
39434
|
var SORTABLE_ICON_CLASS = "sortableIcon";
|
|
39435
39435
|
var getWfoBasicTableStyles = ({ theme }) => {
|
|
39436
39436
|
const radius = theme.border.radius.medium;
|
|
39437
|
-
const basicTableStyle =
|
|
39437
|
+
const basicTableStyle = css12({
|
|
39438
39438
|
table: {
|
|
39439
39439
|
backgroundColor: theme.colors.emptyShade
|
|
39440
39440
|
},
|
|
@@ -39461,7 +39461,7 @@ var getWfoBasicTableStyles = ({ theme }) => {
|
|
|
39461
39461
|
}
|
|
39462
39462
|
}
|
|
39463
39463
|
});
|
|
39464
|
-
const getStatusColumnStyle = (columnNumber) =>
|
|
39464
|
+
const getStatusColumnStyle = (columnNumber) => css12(basicTableStyle, {
|
|
39465
39465
|
[`tbody tr td:nth-child(${columnNumber}) .euiTableCellContent`]: {
|
|
39466
39466
|
padding: 0,
|
|
39467
39467
|
".euiTableCellContent__text": {
|
|
@@ -39472,7 +39472,7 @@ var getWfoBasicTableStyles = ({ theme }) => {
|
|
|
39472
39472
|
}
|
|
39473
39473
|
}
|
|
39474
39474
|
});
|
|
39475
|
-
const dropDownTableStyle =
|
|
39475
|
+
const dropDownTableStyle = css12({
|
|
39476
39476
|
thead: {
|
|
39477
39477
|
backgroundColor: theme.colors.lightestShade,
|
|
39478
39478
|
"tr>:first-child": {
|
|
@@ -39486,7 +39486,7 @@ var getWfoBasicTableStyles = ({ theme }) => {
|
|
|
39486
39486
|
backgroundColor: theme.colors.lightestShade
|
|
39487
39487
|
}
|
|
39488
39488
|
});
|
|
39489
|
-
const expandableTableStyle =
|
|
39489
|
+
const expandableTableStyle = css12([
|
|
39490
39490
|
basicTableStyle,
|
|
39491
39491
|
{
|
|
39492
39492
|
"tr.euiTableRow-isExpandedRow": {
|
|
@@ -39494,7 +39494,7 @@ var getWfoBasicTableStyles = ({ theme }) => {
|
|
|
39494
39494
|
}
|
|
39495
39495
|
}
|
|
39496
39496
|
]);
|
|
39497
|
-
const headerCellStyle =
|
|
39497
|
+
const headerCellStyle = css12({
|
|
39498
39498
|
display: "flex",
|
|
39499
39499
|
justifyContent: "flex-start",
|
|
39500
39500
|
alignItems: "center",
|
|
@@ -39502,27 +39502,28 @@ var getWfoBasicTableStyles = ({ theme }) => {
|
|
|
39502
39502
|
overflow: "hidden"
|
|
39503
39503
|
}
|
|
39504
39504
|
});
|
|
39505
|
-
const getHeaderCellContentStyle = (isSortable) =>
|
|
39505
|
+
const getHeaderCellContentStyle = (isSortable) => css12({
|
|
39506
39506
|
cursor: isSortable ? "pointer" : "not-allowed",
|
|
39507
39507
|
fontWeight: theme.font.weight.semiBold
|
|
39508
39508
|
});
|
|
39509
|
-
const headerCellPopoverHeaderStyle =
|
|
39509
|
+
const headerCellPopoverHeaderStyle = css12({
|
|
39510
39510
|
margin: theme.size.m,
|
|
39511
39511
|
display: "flex",
|
|
39512
39512
|
justifyContent: "space-between",
|
|
39513
39513
|
alignItems: "center"
|
|
39514
39514
|
});
|
|
39515
|
-
const headerCellPopoverHeaderTitleStyle =
|
|
39515
|
+
const headerCellPopoverHeaderTitleStyle = css12({
|
|
39516
39516
|
fontWeight: theme.font.weight.medium
|
|
39517
39517
|
});
|
|
39518
|
-
const headerCellPopoverContentStyle =
|
|
39518
|
+
const headerCellPopoverContentStyle = css12({
|
|
39519
39519
|
margin: theme.size.m
|
|
39520
39520
|
});
|
|
39521
|
-
const getTitleButtonStyle = (sortOrder) =>
|
|
39521
|
+
const getTitleButtonStyle = (sortOrder) => css12({
|
|
39522
39522
|
flex: "0 1 auto",
|
|
39523
39523
|
overflow: sortOrder === void 0 ? "visible" : "hidden"
|
|
39524
39524
|
});
|
|
39525
|
-
const sortButtonStyle =
|
|
39525
|
+
const sortButtonStyle = css12({
|
|
39526
|
+
paddingLeft: theme.size.xxs,
|
|
39526
39527
|
display: "flex",
|
|
39527
39528
|
flex: "0 0 auto",
|
|
39528
39529
|
alignItems: "center",
|
|
@@ -39569,13 +39570,13 @@ var getWfoTableStyles = ({ theme }) => {
|
|
|
39569
39570
|
width: 0
|
|
39570
39571
|
}
|
|
39571
39572
|
});
|
|
39572
|
-
const tableContainerStyle =
|
|
39573
|
+
const tableContainerStyle = css13({
|
|
39573
39574
|
overflowX: "auto"
|
|
39574
39575
|
});
|
|
39575
|
-
const tableStyle =
|
|
39576
|
+
const tableStyle = css13({
|
|
39576
39577
|
width: "100%"
|
|
39577
39578
|
});
|
|
39578
|
-
const headerStyle =
|
|
39579
|
+
const headerStyle = css13({
|
|
39579
39580
|
backgroundColor: theme.colors.lightShade,
|
|
39580
39581
|
fontSize: theme.size.m,
|
|
39581
39582
|
textAlign: "left",
|
|
@@ -39586,7 +39587,7 @@ var getWfoTableStyles = ({ theme }) => {
|
|
|
39586
39587
|
borderTopRightRadius: radius
|
|
39587
39588
|
}
|
|
39588
39589
|
});
|
|
39589
|
-
const bodyLoadingStyle =
|
|
39590
|
+
const bodyLoadingStyle = css13({
|
|
39590
39591
|
position: "relative",
|
|
39591
39592
|
overflow: "hidden",
|
|
39592
39593
|
"&::before": {
|
|
@@ -39597,21 +39598,22 @@ var getWfoTableStyles = ({ theme }) => {
|
|
|
39597
39598
|
animation: `${tableLoadingLineKeyframes} 1s linear infinite`
|
|
39598
39599
|
}
|
|
39599
39600
|
});
|
|
39600
|
-
const rowStyle =
|
|
39601
|
+
const rowStyle = css13({
|
|
39601
39602
|
height: TABLE_ROW_HEIGHT,
|
|
39602
39603
|
borderStyle: "solid",
|
|
39603
39604
|
borderWidth: "0 0 1px 0",
|
|
39604
39605
|
borderColor: theme.colors.lightShade
|
|
39605
39606
|
});
|
|
39606
|
-
const dataRowStyle =
|
|
39607
|
+
const dataRowStyle = css13({
|
|
39607
39608
|
"&:hover": {
|
|
39608
39609
|
backgroundColor: theme.colors.lightestShade
|
|
39609
39610
|
}
|
|
39610
39611
|
});
|
|
39611
|
-
const expandedRowStyle =
|
|
39612
|
+
const expandedRowStyle = css13({
|
|
39612
39613
|
backgroundColor: theme.colors.lightestShade
|
|
39613
39614
|
});
|
|
39614
|
-
const headerCellStyle =
|
|
39615
|
+
const headerCellStyle = css13({
|
|
39616
|
+
paddingRight: 0,
|
|
39615
39617
|
[`&:hover`]: {
|
|
39616
39618
|
[`.${SORTABLE_ICON_CLASS}`]: {
|
|
39617
39619
|
visibility: "visible"
|
|
@@ -39621,19 +39623,22 @@ var getWfoTableStyles = ({ theme }) => {
|
|
|
39621
39623
|
}
|
|
39622
39624
|
}
|
|
39623
39625
|
});
|
|
39624
|
-
const cellStyle =
|
|
39626
|
+
const cellStyle = css13({
|
|
39625
39627
|
paddingLeft: theme.size.m,
|
|
39626
39628
|
paddingRight: theme.size.m,
|
|
39627
39629
|
whiteSpace: "nowrap",
|
|
39628
39630
|
verticalAlign: "middle"
|
|
39629
39631
|
});
|
|
39630
|
-
const
|
|
39632
|
+
const cellContentStyle = css13({
|
|
39633
|
+
display: "inline-block"
|
|
39634
|
+
});
|
|
39635
|
+
const emptyTableMessageStyle = css13({
|
|
39631
39636
|
textAlign: "center"
|
|
39632
39637
|
});
|
|
39633
|
-
const clickableStyle =
|
|
39638
|
+
const clickableStyle = css13({
|
|
39634
39639
|
cursor: "pointer"
|
|
39635
39640
|
});
|
|
39636
|
-
const setWidth = (width) => width !== void 0 &&
|
|
39641
|
+
const setWidth = (width) => width !== void 0 && css13({
|
|
39637
39642
|
width,
|
|
39638
39643
|
minWidth: width,
|
|
39639
39644
|
maxWidth: width,
|
|
@@ -39649,6 +39654,7 @@ var getWfoTableStyles = ({ theme }) => {
|
|
|
39649
39654
|
expandedRowStyle,
|
|
39650
39655
|
headerCellStyle,
|
|
39651
39656
|
cellStyle,
|
|
39657
|
+
cellContentStyle,
|
|
39652
39658
|
emptyTableMessageStyle,
|
|
39653
39659
|
clickableStyle,
|
|
39654
39660
|
setWidth
|
|
@@ -39689,7 +39695,7 @@ function mapSortableAndFilterableValuesToTableColumnConfig(tableColumnConfig, so
|
|
|
39689
39695
|
}
|
|
39690
39696
|
|
|
39691
39697
|
// src/components/WfoTable/WfoTable/WfoTableDataRows.tsx
|
|
39692
|
-
import { Fragment as Fragment14, jsx as jsx94, jsxs as
|
|
39698
|
+
import { Fragment as Fragment14, jsx as jsx94, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
|
|
39693
39699
|
var WfoTableDataRows = ({
|
|
39694
39700
|
data,
|
|
39695
39701
|
columnConfig,
|
|
@@ -39699,13 +39705,20 @@ var WfoTableDataRows = ({
|
|
|
39699
39705
|
onRowClick,
|
|
39700
39706
|
className
|
|
39701
39707
|
}) => {
|
|
39702
|
-
const {
|
|
39708
|
+
const {
|
|
39709
|
+
cellStyle,
|
|
39710
|
+
cellContentStyle,
|
|
39711
|
+
rowStyle,
|
|
39712
|
+
dataRowStyle,
|
|
39713
|
+
clickableStyle,
|
|
39714
|
+
setWidth
|
|
39715
|
+
} = useWithOrchestratorTheme(getWfoTableStyles);
|
|
39703
39716
|
const sortedVisibleColumns = getSortedVisibleColumns(
|
|
39704
39717
|
columnConfig,
|
|
39705
39718
|
columnOrder,
|
|
39706
39719
|
hiddenColumns
|
|
39707
39720
|
);
|
|
39708
|
-
return /* @__PURE__ */ jsx94(Fragment14, { children: data.map((row, index) => /* @__PURE__ */
|
|
39721
|
+
return /* @__PURE__ */ jsx94(Fragment14, { children: data.map((row, index) => /* @__PURE__ */ jsxs53(Fragment13, { children: [
|
|
39709
39722
|
/* @__PURE__ */ jsx94(
|
|
39710
39723
|
"tr",
|
|
39711
39724
|
{
|
|
@@ -39729,7 +39742,7 @@ var WfoTableDataRows = ({
|
|
|
39729
39742
|
),
|
|
39730
39743
|
setWidth(columnConfig2.width)
|
|
39731
39744
|
],
|
|
39732
|
-
children: /* @__PURE__ */ jsx94("div", { children: columnConfig2.renderControl(row) })
|
|
39745
|
+
children: /* @__PURE__ */ jsx94("div", { css: cellContentStyle, children: columnConfig2.renderControl(row) })
|
|
39733
39746
|
},
|
|
39734
39747
|
key
|
|
39735
39748
|
);
|
|
@@ -39745,7 +39758,7 @@ var WfoTableDataRows = ({
|
|
|
39745
39758
|
),
|
|
39746
39759
|
setWidth(columnConfig2.width)
|
|
39747
39760
|
],
|
|
39748
|
-
children: /* @__PURE__ */ jsx94("div", { children: /* @__PURE__ */ jsx94(
|
|
39761
|
+
children: /* @__PURE__ */ jsx94("div", { css: cellContentStyle, children: /* @__PURE__ */ jsx94(
|
|
39749
39762
|
WfoDataCell,
|
|
39750
39763
|
{
|
|
39751
39764
|
customTooltip: columnConfig2.renderTooltip?.(
|
|
@@ -39784,27 +39797,15 @@ var WfoSortDirectionIcon = ({
|
|
|
39784
39797
|
return /* @__PURE__ */ jsx95(
|
|
39785
39798
|
WfoArrowsUpDown,
|
|
39786
39799
|
{
|
|
39800
|
+
height: 16,
|
|
39801
|
+
width: 16,
|
|
39787
39802
|
className: SORTABLE_ICON_CLASS,
|
|
39788
39803
|
css: { visibility: "hidden" },
|
|
39789
39804
|
color: theme.colors.subduedText
|
|
39790
39805
|
}
|
|
39791
39806
|
);
|
|
39792
39807
|
}
|
|
39793
|
-
return sortDirection === "ASC" /* ASC */ ? /* @__PURE__ */ jsx95(
|
|
39794
|
-
WfoArrowNarrowUp,
|
|
39795
|
-
{
|
|
39796
|
-
color: theme.colors.subduedText,
|
|
39797
|
-
height: 24,
|
|
39798
|
-
width: 24
|
|
39799
|
-
}
|
|
39800
|
-
) : /* @__PURE__ */ jsx95(
|
|
39801
|
-
WfoArrowNarrowDown,
|
|
39802
|
-
{
|
|
39803
|
-
color: theme.colors.subduedText,
|
|
39804
|
-
height: 24,
|
|
39805
|
-
width: 24
|
|
39806
|
-
}
|
|
39807
|
-
);
|
|
39808
|
+
return sortDirection === "ASC" /* ASC */ ? /* @__PURE__ */ jsx95(WfoArrowUp, { color: theme.colors.subduedText }) : /* @__PURE__ */ jsx95(WfoArrowDown, { color: theme.colors.subduedText });
|
|
39808
39809
|
};
|
|
39809
39810
|
|
|
39810
39811
|
// src/components/WfoTable/WfoTable/WfoTableHeaderCell/WfoTableHeaderCell.tsx
|
|
@@ -39817,7 +39818,7 @@ import {
|
|
|
39817
39818
|
EuiText as EuiText5,
|
|
39818
39819
|
useGeneratedHtmlId
|
|
39819
39820
|
} from "@elastic/eui";
|
|
39820
|
-
import { jsx as jsx96, jsxs as
|
|
39821
|
+
import { jsx as jsx96, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
|
|
39821
39822
|
var WfoTableHeaderCell = ({
|
|
39822
39823
|
fieldName,
|
|
39823
39824
|
sortOrder,
|
|
@@ -39858,8 +39859,8 @@ var WfoTableHeaderCell = ({
|
|
|
39858
39859
|
isClearable: false
|
|
39859
39860
|
}
|
|
39860
39861
|
) });
|
|
39861
|
-
return /* @__PURE__ */
|
|
39862
|
-
/* @__PURE__ */
|
|
39862
|
+
return /* @__PURE__ */ jsxs54("div", { css: headerCellStyle, children: [
|
|
39863
|
+
/* @__PURE__ */ jsxs54(
|
|
39863
39864
|
EuiPopover3,
|
|
39864
39865
|
{
|
|
39865
39866
|
className: HEADER_CELL_TITLE_BUTTON_CLASS,
|
|
@@ -39968,7 +39969,7 @@ var WfoTableHeaderRow = ({
|
|
|
39968
39969
|
};
|
|
39969
39970
|
|
|
39970
39971
|
// src/components/WfoTable/WfoTable/WfoTable.tsx
|
|
39971
|
-
import { Fragment as Fragment16, jsx as jsx98, jsxs as
|
|
39972
|
+
import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
|
|
39972
39973
|
var ColumnType = /* @__PURE__ */ ((ColumnType2) => {
|
|
39973
39974
|
ColumnType2["DATA"] = "data";
|
|
39974
39975
|
ColumnType2["CONTROL"] = "control";
|
|
@@ -40004,8 +40005,8 @@ var WfoTable = ({
|
|
|
40004
40005
|
columnOrder,
|
|
40005
40006
|
hiddenColumns
|
|
40006
40007
|
);
|
|
40007
|
-
return /* @__PURE__ */
|
|
40008
|
-
/* @__PURE__ */ jsx98("div", { css: [tableContainerStyle, useEuiScrollBar()], children: /* @__PURE__ */
|
|
40008
|
+
return /* @__PURE__ */ jsxs55(Fragment16, { children: [
|
|
40009
|
+
/* @__PURE__ */ jsx98("div", { css: [tableContainerStyle, useEuiScrollBar()], children: /* @__PURE__ */ jsxs55("table", { className, css: tableStyle, children: [
|
|
40009
40010
|
overrideHeader ? overrideHeader(sortedVisibleColumns) : /* @__PURE__ */ jsx98("thead", { css: headerStyle, children: /* @__PURE__ */ jsx98(
|
|
40010
40011
|
WfoTableHeaderRow,
|
|
40011
40012
|
{
|
|
@@ -40036,7 +40037,7 @@ var WfoTable = ({
|
|
|
40036
40037
|
}
|
|
40037
40038
|
) })
|
|
40038
40039
|
] }) }),
|
|
40039
|
-
pagination && /* @__PURE__ */
|
|
40040
|
+
pagination && /* @__PURE__ */ jsxs55(Fragment16, { children: [
|
|
40040
40041
|
/* @__PURE__ */ jsx98(EuiSpacer10, { size: "xs" }),
|
|
40041
40042
|
/* @__PURE__ */ jsx98(
|
|
40042
40043
|
EuiTablePagination,
|
|
@@ -40067,24 +40068,24 @@ import { useTranslations as useTranslations24 } from "next-intl";
|
|
|
40067
40068
|
import { EuiButtonIcon as EuiButtonIcon5, EuiText as EuiText6 } from "@elastic/eui";
|
|
40068
40069
|
|
|
40069
40070
|
// src/components/WfoTable/WfoTable/WfoGroupedTable/styles.ts
|
|
40070
|
-
import { css as
|
|
40071
|
+
import { css as css14 } from "@emotion/react";
|
|
40071
40072
|
var getWfoGroupedTableStyles = ({ theme }) => {
|
|
40072
40073
|
const expandRowButtonWidth = "24px";
|
|
40073
40074
|
const marginBetweenButtonAndGroupLabel = theme.size.m;
|
|
40074
|
-
const innerTableHeaderStyle =
|
|
40075
|
+
const innerTableHeaderStyle = css14({
|
|
40075
40076
|
fontSize: theme.size.m,
|
|
40076
40077
|
textAlign: "left",
|
|
40077
40078
|
backgroundColor: theme.colors.lightestShade
|
|
40078
40079
|
});
|
|
40079
|
-
const expandableRowContainerStyle =
|
|
40080
|
+
const expandableRowContainerStyle = css14({
|
|
40080
40081
|
display: "flex",
|
|
40081
40082
|
alignItems: "center"
|
|
40082
40083
|
});
|
|
40083
|
-
const expandableRowTextStyle =
|
|
40084
|
+
const expandableRowTextStyle = css14({
|
|
40084
40085
|
marginLeft: marginBetweenButtonAndGroupLabel,
|
|
40085
40086
|
fontWeight: theme.font.weight.medium
|
|
40086
40087
|
});
|
|
40087
|
-
const getNestingStyle = (nestingLevel) =>
|
|
40088
|
+
const getNestingStyle = (nestingLevel) => css14({
|
|
40088
40089
|
"th:first-child > *:first-child, td:first-child > *:first-child": {
|
|
40089
40090
|
marginLeft: `calc(${nestingLevel} * (${expandRowButtonWidth} + ${marginBetweenButtonAndGroupLabel}))`
|
|
40090
40091
|
}
|
|
@@ -40098,7 +40099,7 @@ var getWfoGroupedTableStyles = ({ theme }) => {
|
|
|
40098
40099
|
};
|
|
40099
40100
|
|
|
40100
40101
|
// src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandableRow.tsx
|
|
40101
|
-
import { jsx as jsx99, jsxs as
|
|
40102
|
+
import { jsx as jsx99, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
|
|
40102
40103
|
var WfoExpandableRow = ({
|
|
40103
40104
|
groupName,
|
|
40104
40105
|
numberOfRowsInGroup,
|
|
@@ -40108,7 +40109,7 @@ var WfoExpandableRow = ({
|
|
|
40108
40109
|
const { expandableRowContainerStyle, expandableRowTextStyle } = useWithOrchestratorTheme(getWfoGroupedTableStyles);
|
|
40109
40110
|
const t = useTranslations24("wfoComponents");
|
|
40110
40111
|
const hasData = numberOfRowsInGroup > 0;
|
|
40111
|
-
return /* @__PURE__ */
|
|
40112
|
+
return /* @__PURE__ */ jsxs56("div", { css: expandableRowContainerStyle, children: [
|
|
40112
40113
|
/* @__PURE__ */ jsx99(
|
|
40113
40114
|
EuiButtonIcon5,
|
|
40114
40115
|
{
|
|
@@ -40186,7 +40187,7 @@ var WfoGroupedTableGroups = React18.forwardRef(
|
|
|
40186
40187
|
WfoGroupedTableGroups.displayName = "WfoGroupedTableGroups";
|
|
40187
40188
|
|
|
40188
40189
|
// src/components/WfoTable/WfoTable/WfoGroupedTable/WfoExpandedGroupRow.tsx
|
|
40189
|
-
import { Fragment as Fragment17, jsx as jsx101, jsxs as
|
|
40190
|
+
import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
|
|
40190
40191
|
var WfoExpandedGroupRow = React19.forwardRef(
|
|
40191
40192
|
({
|
|
40192
40193
|
data,
|
|
@@ -40198,7 +40199,7 @@ var WfoExpandedGroupRow = React19.forwardRef(
|
|
|
40198
40199
|
const { expandedRowStyle } = useWithOrchestratorTheme(getWfoTableStyles);
|
|
40199
40200
|
const { innerTableHeaderStyle, getNestingStyle } = useWithOrchestratorTheme(getWfoGroupedTableStyles);
|
|
40200
40201
|
if (Array.isArray(data)) {
|
|
40201
|
-
return /* @__PURE__ */
|
|
40202
|
+
return /* @__PURE__ */ jsxs57(Fragment17, { children: [
|
|
40202
40203
|
/* @__PURE__ */ jsx101(
|
|
40203
40204
|
WfoTableHeaderRow,
|
|
40204
40205
|
{
|
|
@@ -40408,7 +40409,7 @@ var useGroupedTableConfig = ({
|
|
|
40408
40409
|
};
|
|
40409
40410
|
|
|
40410
40411
|
// src/components/WfoTable/WfoTable/WfoGroupedTable/WfoGroupedTable.tsx
|
|
40411
|
-
import { Fragment as Fragment18, jsx as jsx103, jsxs as
|
|
40412
|
+
import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
|
|
40412
40413
|
var WfoGroupedTable = ({
|
|
40413
40414
|
data,
|
|
40414
40415
|
columnConfig,
|
|
@@ -40432,7 +40433,7 @@ var WfoGroupedTable = ({
|
|
|
40432
40433
|
groupNameLabel,
|
|
40433
40434
|
columnConfig
|
|
40434
40435
|
});
|
|
40435
|
-
return /* @__PURE__ */
|
|
40436
|
+
return /* @__PURE__ */ jsxs58(Fragment18, { children: [
|
|
40436
40437
|
/* @__PURE__ */ jsx103(EuiFlexGroup7, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx103(
|
|
40437
40438
|
EuiButtonEmpty3,
|
|
40438
40439
|
{
|
|
@@ -40531,7 +40532,7 @@ var WfoToolTip = ({
|
|
|
40531
40532
|
};
|
|
40532
40533
|
|
|
40533
40534
|
// src/components/WfoSubscription/WfoRelatedSubscriptions.tsx
|
|
40534
|
-
import { Fragment as Fragment20, jsx as jsx108, jsxs as
|
|
40535
|
+
import { Fragment as Fragment20, jsx as jsx108, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
|
|
40535
40536
|
var WfoRelatedSubscriptions = ({
|
|
40536
40537
|
subscriptionId
|
|
40537
40538
|
}) => {
|
|
@@ -40573,7 +40574,7 @@ var WfoRelatedSubscriptions = ({
|
|
|
40573
40574
|
columnType: "data" /* DATA */,
|
|
40574
40575
|
label: t("description"),
|
|
40575
40576
|
renderData: (value, record) => /* @__PURE__ */ jsx108(
|
|
40576
|
-
|
|
40577
|
+
Link4,
|
|
40577
40578
|
{
|
|
40578
40579
|
target: "_blank",
|
|
40579
40580
|
href: `${PATH_SUBSCRIPTIONS}/${record.subscriptionId}`,
|
|
@@ -40623,7 +40624,7 @@ var WfoRelatedSubscriptions = ({
|
|
|
40623
40624
|
const toggleTerminatedSubscriptions = () => {
|
|
40624
40625
|
setHideTerminatedSubscriptions((currentValue) => !currentValue);
|
|
40625
40626
|
};
|
|
40626
|
-
return /* @__PURE__ */
|
|
40627
|
+
return /* @__PURE__ */ jsxs59(Fragment20, { children: [
|
|
40627
40628
|
/* @__PURE__ */ jsx108(EuiSpacer12, { size: "xl" }),
|
|
40628
40629
|
/* @__PURE__ */ jsx108(EuiFlexGroup8, { justifyContent: "flexEnd", children: /* @__PURE__ */ jsx108(EuiFlexItem5, { grow: 0, children: /* @__PURE__ */ jsx108(
|
|
40629
40630
|
EuiSwitch,
|
|
@@ -40669,11 +40670,11 @@ import { StringParam as StringParam2, useQueryParam, withDefault as withDefault2
|
|
|
40669
40670
|
// src/components/WfoError/WfoError.tsx
|
|
40670
40671
|
import { useTranslations as useTranslations27 } from "next-intl";
|
|
40671
40672
|
import { EuiFlexGroup as EuiFlexGroup9, EuiText as EuiText7 } from "@elastic/eui";
|
|
40672
|
-
import { Fragment as Fragment21, jsx as jsx109, jsxs as
|
|
40673
|
+
import { Fragment as Fragment21, jsx as jsx109, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
|
|
40673
40674
|
var WfoError = () => {
|
|
40674
40675
|
const t = useTranslations27("common");
|
|
40675
40676
|
const { theme } = useOrchestratorTheme();
|
|
40676
|
-
return /* @__PURE__ */
|
|
40677
|
+
return /* @__PURE__ */ jsxs60(EuiFlexGroup9, { direction: "row", alignItems: "center", gutterSize: "s", children: [
|
|
40677
40678
|
/* @__PURE__ */ jsx109(WfoXCircleFill, { color: theme.colors.danger }),
|
|
40678
40679
|
/* @__PURE__ */ jsx109("h1", { children: t("errorMessage") })
|
|
40679
40680
|
] });
|
|
@@ -40682,9 +40683,9 @@ var WfoErrorWithMessage = ({ error }) => {
|
|
|
40682
40683
|
const t = useTranslations27("common");
|
|
40683
40684
|
const { theme } = useOrchestratorTheme();
|
|
40684
40685
|
const message = error && error.length > 0 ? error.map((err) => err.message).join(", ") : t("unknownError");
|
|
40685
|
-
return /* @__PURE__ */ jsx109(Fragment21, { children: /* @__PURE__ */
|
|
40686
|
+
return /* @__PURE__ */ jsx109(Fragment21, { children: /* @__PURE__ */ jsxs60(EuiFlexGroup9, { direction: "row", alignItems: "center", gutterSize: "s", children: [
|
|
40686
40687
|
/* @__PURE__ */ jsx109(WfoXCircleFill, { color: theme.colors.danger }),
|
|
40687
|
-
/* @__PURE__ */
|
|
40688
|
+
/* @__PURE__ */ jsxs60(EuiText7, { color: theme.colors.dangerText, children: [
|
|
40688
40689
|
t("errorMessage"),
|
|
40689
40690
|
" (",
|
|
40690
40691
|
message,
|
|
@@ -40727,7 +40728,7 @@ var subscriptionDetailTabs = [
|
|
|
40727
40728
|
];
|
|
40728
40729
|
|
|
40729
40730
|
// src/components/WfoSubscription/WfoSubscription.tsx
|
|
40730
|
-
import { Fragment as Fragment22, jsx as jsx111, jsxs as
|
|
40731
|
+
import { Fragment as Fragment22, jsx as jsx111, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
|
|
40731
40732
|
var WfoSubscription = ({ subscriptionId }) => {
|
|
40732
40733
|
const [activeTab, setActiveTab] = useQueryParam(
|
|
40733
40734
|
"activeTab",
|
|
@@ -40746,7 +40747,7 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
40746
40747
|
setActiveTab(tab);
|
|
40747
40748
|
};
|
|
40748
40749
|
const subscriptionDetail = data?.subscription;
|
|
40749
|
-
return /* @__PURE__ */ jsx111(Fragment22, { children: isError2 && /* @__PURE__ */ jsx111(WfoError, {}) || isLoading && /* @__PURE__ */ jsx111(WfoLoading, {}) || subscriptionDetail && subscriptionDetail.subscriptionId && /* @__PURE__ */
|
|
40750
|
+
return /* @__PURE__ */ jsx111(Fragment22, { children: isError2 && /* @__PURE__ */ jsx111(WfoError, {}) || isLoading && /* @__PURE__ */ jsx111(WfoLoading, {}) || subscriptionDetail && subscriptionDetail.subscriptionId && /* @__PURE__ */ jsxs61(Fragment22, { children: [
|
|
40750
40751
|
/* @__PURE__ */ jsx111(
|
|
40751
40752
|
WfoContentHeader,
|
|
40752
40753
|
{
|
|
@@ -40756,7 +40757,7 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
40756
40757
|
title: subscriptionDetail.description
|
|
40757
40758
|
}
|
|
40758
40759
|
),
|
|
40759
|
-
subtitle: /* @__PURE__ */
|
|
40760
|
+
subtitle: /* @__PURE__ */ jsxs61(Fragment22, { children: [
|
|
40760
40761
|
/* @__PURE__ */ jsx111(
|
|
40761
40762
|
WfoSubscriptionStatusBadge,
|
|
40762
40763
|
{
|
|
@@ -40813,7 +40814,7 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
40813
40814
|
subscriptionId: subscriptionDetail.subscriptionId
|
|
40814
40815
|
}
|
|
40815
40816
|
)
|
|
40816
|
-
] }) || /* @__PURE__ */
|
|
40817
|
+
] }) || /* @__PURE__ */ jsxs61("h1", { children: [
|
|
40817
40818
|
"Unknown subscriptionId: ",
|
|
40818
40819
|
subscriptionId
|
|
40819
40820
|
] }) });
|
|
@@ -40822,7 +40823,7 @@ var WfoSubscription = ({ subscriptionId }) => {
|
|
|
40822
40823
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
|
|
40823
40824
|
import { useState as useState16 } from "react";
|
|
40824
40825
|
import { useTranslations as useTranslations29 } from "next-intl";
|
|
40825
|
-
import
|
|
40826
|
+
import Link6 from "next/link";
|
|
40826
40827
|
import { useRouter as useRouter5 } from "next/router";
|
|
40827
40828
|
import {
|
|
40828
40829
|
EuiButton as EuiButton7,
|
|
@@ -40837,41 +40838,41 @@ import {
|
|
|
40837
40838
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
|
|
40838
40839
|
import { useState as useState15 } from "react";
|
|
40839
40840
|
import { useTranslations as useTranslations28 } from "next-intl";
|
|
40840
|
-
import
|
|
40841
|
+
import Link5 from "next/link";
|
|
40841
40842
|
import { EuiButtonIcon as EuiButtonIcon6, EuiText as EuiText8 } from "@elastic/eui";
|
|
40842
40843
|
|
|
40843
40844
|
// src/components/WfoSubscription/WfoSubscriptionActions/styles.ts
|
|
40844
|
-
import { css as
|
|
40845
|
+
import { css as css15 } from "@emotion/react";
|
|
40845
40846
|
var EXPANDED_CONTENT_LEFT_MARGIN = "52px";
|
|
40846
40847
|
var getSubscriptionActionStyles = ({ theme }) => {
|
|
40847
|
-
const clickableStyle =
|
|
40848
|
+
const clickableStyle = css15({
|
|
40848
40849
|
"&:hover, & :hover": {
|
|
40849
40850
|
cursor: "pointer"
|
|
40850
40851
|
}
|
|
40851
40852
|
});
|
|
40852
|
-
const expandableMenuItemStyle =
|
|
40853
|
+
const expandableMenuItemStyle = css15({
|
|
40853
40854
|
display: "flex",
|
|
40854
40855
|
justifyContent: "space-between",
|
|
40855
40856
|
alignItems: "center"
|
|
40856
40857
|
});
|
|
40857
|
-
const expandButtonStyle =
|
|
40858
|
+
const expandButtonStyle = css15({
|
|
40858
40859
|
marginRight: theme.size.m
|
|
40859
40860
|
});
|
|
40860
|
-
const expandedContentStyle =
|
|
40861
|
+
const expandedContentStyle = css15({
|
|
40861
40862
|
marginLeft: EXPANDED_CONTENT_LEFT_MARGIN,
|
|
40862
40863
|
paddingBottom: theme.size.m,
|
|
40863
40864
|
paddingRight: theme.size.m
|
|
40864
40865
|
});
|
|
40865
|
-
const linkStyle =
|
|
40866
|
+
const linkStyle = css15({
|
|
40866
40867
|
display: "block"
|
|
40867
40868
|
});
|
|
40868
|
-
const linkMenuItemStyle =
|
|
40869
|
+
const linkMenuItemStyle = css15({
|
|
40869
40870
|
"&>:hover": {
|
|
40870
40871
|
backgroundColor: theme.colors.lightestShade,
|
|
40871
40872
|
borderRadius: theme.border.radius.medium
|
|
40872
40873
|
}
|
|
40873
40874
|
});
|
|
40874
|
-
const tooltipMenuItemStyle =
|
|
40875
|
+
const tooltipMenuItemStyle = css15([
|
|
40875
40876
|
linkMenuItemStyle,
|
|
40876
40877
|
{
|
|
40877
40878
|
"& > *": {
|
|
@@ -40879,14 +40880,14 @@ var getSubscriptionActionStyles = ({ theme }) => {
|
|
|
40879
40880
|
}
|
|
40880
40881
|
}
|
|
40881
40882
|
]);
|
|
40882
|
-
const disabledIconStyle =
|
|
40883
|
+
const disabledIconStyle = css15({
|
|
40883
40884
|
display: "flex",
|
|
40884
40885
|
width: theme.base * 2
|
|
40885
40886
|
});
|
|
40886
|
-
const iconStyle =
|
|
40887
|
+
const iconStyle = css15({
|
|
40887
40888
|
width: theme.base * 2
|
|
40888
40889
|
});
|
|
40889
|
-
const secondaryIconStyle =
|
|
40890
|
+
const secondaryIconStyle = css15({
|
|
40890
40891
|
transform: "translate(-11px, -8px);"
|
|
40891
40892
|
});
|
|
40892
40893
|
return {
|
|
@@ -40904,7 +40905,7 @@ var getSubscriptionActionStyles = ({ theme }) => {
|
|
|
40904
40905
|
};
|
|
40905
40906
|
|
|
40906
40907
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActionExpandableMenuItem.tsx
|
|
40907
|
-
import { jsx as jsx112, jsxs as
|
|
40908
|
+
import { jsx as jsx112, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
|
|
40908
40909
|
var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLockedRelation, children }) => {
|
|
40909
40910
|
const t = useTranslations28("subscriptions.detail.actions");
|
|
40910
40911
|
const {
|
|
@@ -40916,8 +40917,8 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
|
|
|
40916
40917
|
} = useWithOrchestratorTheme(getSubscriptionActionStyles);
|
|
40917
40918
|
const [isExpanded, setIsExpanded] = useState15(false);
|
|
40918
40919
|
const { locked_relations: lockedRelations } = subscriptionAction;
|
|
40919
|
-
return /* @__PURE__ */
|
|
40920
|
-
/* @__PURE__ */
|
|
40920
|
+
return /* @__PURE__ */ jsxs62("div", { children: [
|
|
40921
|
+
/* @__PURE__ */ jsxs62(
|
|
40921
40922
|
"div",
|
|
40922
40923
|
{
|
|
40923
40924
|
css: [
|
|
@@ -40938,10 +40939,10 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
|
|
|
40938
40939
|
]
|
|
40939
40940
|
}
|
|
40940
40941
|
),
|
|
40941
|
-
lockedRelations && isExpanded && /* @__PURE__ */
|
|
40942
|
+
lockedRelations && isExpanded && /* @__PURE__ */ jsxs62("div", { css: expandedContentStyle, children: [
|
|
40942
40943
|
/* @__PURE__ */ jsx112(EuiText8, { size: "xs", children: t("lockedBySubscriptions") }),
|
|
40943
40944
|
lockedRelations.map((relation) => /* @__PURE__ */ jsx112(EuiText8, { size: "xs", children: /* @__PURE__ */ jsx112(
|
|
40944
|
-
|
|
40945
|
+
Link5,
|
|
40945
40946
|
{
|
|
40946
40947
|
css: linkStyle,
|
|
40947
40948
|
href: `${PATH_SUBSCRIPTIONS}/${relation}`,
|
|
@@ -40954,7 +40955,7 @@ var WfoSubscriptionActionExpandableMenuItem = ({ subscriptionAction, onClickLock
|
|
|
40954
40955
|
};
|
|
40955
40956
|
|
|
40956
40957
|
// src/components/WfoSubscription/WfoSubscriptionActions/WfoSubscriptionActions.tsx
|
|
40957
|
-
import { Fragment as Fragment23, jsx as jsx113, jsxs as
|
|
40958
|
+
import { Fragment as Fragment23, jsx as jsx113, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
|
|
40958
40959
|
var MenuBlock = ({ title }) => /* @__PURE__ */ jsx113(EuiTitle, { size: "xxxs", children: /* @__PURE__ */ jsx113("h3", { children: title }) });
|
|
40959
40960
|
var WfoSubscriptionActions = ({
|
|
40960
40961
|
subscriptionId,
|
|
@@ -41003,7 +41004,7 @@ var WfoSubscriptionActions = ({
|
|
|
41003
41004
|
router.push(url);
|
|
41004
41005
|
}
|
|
41005
41006
|
};
|
|
41006
|
-
return /* @__PURE__ */ jsx113(
|
|
41007
|
+
return /* @__PURE__ */ jsx113(Link6, { href: url, onClick: handleLinkClick, children: /* @__PURE__ */ jsx113("div", { css: linkMenuItemStyle, children: actionItem }) });
|
|
41007
41008
|
};
|
|
41008
41009
|
const tooltipIt = (actionItem) => {
|
|
41009
41010
|
if (!action.reason) return actionItem;
|
|
@@ -41018,7 +41019,7 @@ var WfoSubscriptionActions = ({
|
|
|
41018
41019
|
) }) });
|
|
41019
41020
|
};
|
|
41020
41021
|
const getIcon = () => {
|
|
41021
|
-
return action.reason ? /* @__PURE__ */
|
|
41022
|
+
return action.reason ? /* @__PURE__ */ jsxs63("div", { css: disabledIconStyle, children: [
|
|
41022
41023
|
/* @__PURE__ */ jsx113(WfoTargetTypeIcon, { target, disabled: true }),
|
|
41023
41024
|
/* @__PURE__ */ jsx113("div", { css: secondaryIconStyle, children: /* @__PURE__ */ jsx113(
|
|
41024
41025
|
WfoXCircleFill,
|
|
@@ -41052,10 +41053,10 @@ var WfoSubscriptionActions = ({
|
|
|
41052
41053
|
closePopover,
|
|
41053
41054
|
panelPaddingSize: "none",
|
|
41054
41055
|
anchorPosition: "downLeft",
|
|
41055
|
-
children: /* @__PURE__ */ jsx113(EuiContextMenuPanel, { children: /* @__PURE__ */
|
|
41056
|
+
children: /* @__PURE__ */ jsx113(EuiContextMenuPanel, { children: /* @__PURE__ */ jsxs63(EuiPanel, { color: "transparent", paddingSize: "s", children: [
|
|
41056
41057
|
subscriptionActions && isAllowed(
|
|
41057
41058
|
"/orchestrator/subscriptions/modify/" /* SUBSCRIPTION_MODIFY */ + subscriptionId
|
|
41058
|
-
) && subscriptionActions.modify && /* @__PURE__ */
|
|
41059
|
+
) && subscriptionActions.modify && /* @__PURE__ */ jsxs63(Fragment23, { children: [
|
|
41059
41060
|
/* @__PURE__ */ jsx113(MenuBlock, { title: t("modify") }),
|
|
41060
41061
|
subscriptionActions.modify.map(
|
|
41061
41062
|
(action, index) => /* @__PURE__ */ jsx113(
|
|
@@ -41071,7 +41072,7 @@ var WfoSubscriptionActions = ({
|
|
|
41071
41072
|
] }),
|
|
41072
41073
|
subscriptionActions && isAllowed(
|
|
41073
41074
|
"/orchestrator/subscriptions/validate/" /* SUBSCRIPTION_VALIDATE */ + subscriptionId
|
|
41074
|
-
) && subscriptionActions.system && /* @__PURE__ */
|
|
41075
|
+
) && subscriptionActions.system && /* @__PURE__ */ jsxs63(Fragment23, { children: [
|
|
41075
41076
|
/* @__PURE__ */ jsx113(MenuBlock, { title: t("tasks") }),
|
|
41076
41077
|
subscriptionActions.system.map(
|
|
41077
41078
|
(action, index) => /* @__PURE__ */ jsx113(
|
|
@@ -41088,7 +41089,7 @@ var WfoSubscriptionActions = ({
|
|
|
41088
41089
|
] }),
|
|
41089
41090
|
subscriptionActions && isAllowed(
|
|
41090
41091
|
"/orchestrator/subscriptions/terminate/" /* SUBSCRIPTION_TERMINATE */ + subscriptionId
|
|
41091
|
-
) && subscriptionActions.terminate && /* @__PURE__ */
|
|
41092
|
+
) && subscriptionActions.terminate && /* @__PURE__ */ jsxs63(Fragment23, { children: [
|
|
41092
41093
|
/* @__PURE__ */ jsx113(MenuBlock, { title: t("terminate") }),
|
|
41093
41094
|
subscriptionActions.terminate.map(
|
|
41094
41095
|
(action, index) => /* @__PURE__ */ jsx113(
|
|
@@ -41123,7 +41124,7 @@ import {
|
|
|
41123
41124
|
|
|
41124
41125
|
// src/components/WfoSubscription/WfoInUseByRelations.tsx
|
|
41125
41126
|
import { useTranslations as useTranslations30 } from "next-intl";
|
|
41126
|
-
import
|
|
41127
|
+
import Link7 from "next/link";
|
|
41127
41128
|
import { Fragment as Fragment24, jsx as jsx114 } from "@emotion/react/jsx-runtime";
|
|
41128
41129
|
var WfoInUseByRelations = ({
|
|
41129
41130
|
inUseByRelations
|
|
@@ -41149,7 +41150,8 @@ var WfoInUseByRelations = ({
|
|
|
41149
41150
|
value: /* @__PURE__ */ jsx114(
|
|
41150
41151
|
WfoFirstPartUUID,
|
|
41151
41152
|
{
|
|
41152
|
-
UUID: inUseByRelationDetails.subscriptionId
|
|
41153
|
+
UUID: inUseByRelationDetails.subscriptionId,
|
|
41154
|
+
showCopyIcon: false
|
|
41153
41155
|
}
|
|
41154
41156
|
),
|
|
41155
41157
|
textToCopy: inUseByRelationDetails.subscriptionId
|
|
@@ -41157,7 +41159,7 @@ var WfoInUseByRelations = ({
|
|
|
41157
41159
|
{
|
|
41158
41160
|
key: t("description"),
|
|
41159
41161
|
value: /* @__PURE__ */ jsx114(
|
|
41160
|
-
|
|
41162
|
+
Link7,
|
|
41161
41163
|
{
|
|
41162
41164
|
href: `${PATH_SUBSCRIPTIONS}/${inUseByRelationDetails.subscriptionId}`,
|
|
41163
41165
|
target: "_blank",
|
|
@@ -41186,10 +41188,10 @@ var WfoInUseByRelations = ({
|
|
|
41186
41188
|
};
|
|
41187
41189
|
|
|
41188
41190
|
// src/components/WfoSubscription/WfoSubscriptionProductBlock/styles.ts
|
|
41189
|
-
import { css as
|
|
41191
|
+
import { css as css16 } from "@emotion/react";
|
|
41190
41192
|
var getStyles6 = (wfoTheme) => {
|
|
41191
41193
|
const { theme, toSecondaryColor } = wfoTheme;
|
|
41192
|
-
const iconStyle =
|
|
41194
|
+
const iconStyle = css16({
|
|
41193
41195
|
width: 45,
|
|
41194
41196
|
height: 45,
|
|
41195
41197
|
backgroundColor: toSecondaryColor(theme.colors.primary),
|
|
@@ -41198,24 +41200,24 @@ var getStyles6 = (wfoTheme) => {
|
|
|
41198
41200
|
paddingLeft: 15,
|
|
41199
41201
|
borderRadius: 7
|
|
41200
41202
|
});
|
|
41201
|
-
const iconOutsideCurrentSubscriptionStyle =
|
|
41203
|
+
const iconOutsideCurrentSubscriptionStyle = css16([
|
|
41202
41204
|
iconStyle,
|
|
41203
41205
|
{
|
|
41204
41206
|
backgroundColor: theme.colors.lightShade,
|
|
41205
41207
|
color: theme.colors.darkestShade
|
|
41206
41208
|
}
|
|
41207
41209
|
]);
|
|
41208
|
-
const panelStyle =
|
|
41210
|
+
const panelStyle = css16({
|
|
41209
41211
|
backgroundColor: toSecondaryColor(
|
|
41210
41212
|
toSecondaryColor(theme.colors.primary)
|
|
41211
41213
|
),
|
|
41212
41214
|
border: `solid 1px ${toSecondaryColor(theme.colors.primary)}`
|
|
41213
41215
|
});
|
|
41214
|
-
const panelStyleOutsideCurrentSubscription =
|
|
41216
|
+
const panelStyleOutsideCurrentSubscription = css16({
|
|
41215
41217
|
backgroundColor: toSecondaryColor(theme.colors.emptyShade),
|
|
41216
41218
|
border: `dashed 1px ${theme.colors.lightShade}`
|
|
41217
41219
|
});
|
|
41218
|
-
const rowStyle =
|
|
41220
|
+
const rowStyle = css16({
|
|
41219
41221
|
display: "flex",
|
|
41220
41222
|
flexDirection: "row",
|
|
41221
41223
|
alignItems: "flex-start",
|
|
@@ -41228,17 +41230,17 @@ var getStyles6 = (wfoTheme) => {
|
|
|
41228
41230
|
borderBottom: "none"
|
|
41229
41231
|
}
|
|
41230
41232
|
});
|
|
41231
|
-
const leftColumnStyle =
|
|
41233
|
+
const leftColumnStyle = css16({
|
|
41232
41234
|
width: 250,
|
|
41233
41235
|
flexShrink: 0,
|
|
41234
41236
|
paddingTop: `${theme.base / 4}px`
|
|
41235
41237
|
});
|
|
41236
|
-
const leftColumnStyleWithAlignSelf =
|
|
41238
|
+
const leftColumnStyleWithAlignSelf = css16({
|
|
41237
41239
|
width: 250,
|
|
41238
41240
|
flexShrink: 0,
|
|
41239
41241
|
alignSelf: "center"
|
|
41240
41242
|
});
|
|
41241
|
-
const outsideSubscriptionIdTextStyle =
|
|
41243
|
+
const outsideSubscriptionIdTextStyle = css16({
|
|
41242
41244
|
padding: `${theme.size.xs}px 0`
|
|
41243
41245
|
});
|
|
41244
41246
|
return {
|
|
@@ -41254,8 +41256,8 @@ var getStyles6 = (wfoTheme) => {
|
|
|
41254
41256
|
};
|
|
41255
41257
|
|
|
41256
41258
|
// src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoSubscriptionProductBlock.tsx
|
|
41257
|
-
import { Fragment as Fragment25, jsx as jsx115, jsxs as
|
|
41258
|
-
var HIDDEN_KEYS = ["title", "name", "label"];
|
|
41259
|
+
import { Fragment as Fragment25, jsx as jsx115, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
|
|
41260
|
+
var HIDDEN_KEYS = ["title", "name", "label", "inUseByIds"];
|
|
41259
41261
|
var WfoSubscriptionProductBlock = ({
|
|
41260
41262
|
productBlock,
|
|
41261
41263
|
subscriptionId
|
|
@@ -41281,16 +41283,16 @@ var WfoSubscriptionProductBlock = ({
|
|
|
41281
41283
|
const isEmpty2 = (value) => {
|
|
41282
41284
|
return value === null || value === void 0 || value === "" || Array.isArray(value) && value.length === 0;
|
|
41283
41285
|
};
|
|
41284
|
-
return /* @__PURE__ */
|
|
41286
|
+
return /* @__PURE__ */ jsxs64(Fragment25, { children: [
|
|
41285
41287
|
/* @__PURE__ */ jsx115(EuiSpacer13, { size: "m" }),
|
|
41286
|
-
/* @__PURE__ */
|
|
41288
|
+
/* @__PURE__ */ jsxs64(
|
|
41287
41289
|
EuiPanel2,
|
|
41288
41290
|
{
|
|
41289
41291
|
color: "transparent",
|
|
41290
41292
|
hasShadow: false,
|
|
41291
41293
|
css: isOutsideCurrentSubscription ? panelStyleOutsideCurrentSubscription : panelStyle,
|
|
41292
41294
|
children: [
|
|
41293
|
-
/* @__PURE__ */
|
|
41295
|
+
/* @__PURE__ */ jsxs64(EuiFlexGroup11, { children: [
|
|
41294
41296
|
/* @__PURE__ */ jsx115(EuiFlexItem7, { grow: false, children: /* @__PURE__ */ jsx115(
|
|
41295
41297
|
"div",
|
|
41296
41298
|
{
|
|
@@ -41298,7 +41300,7 @@ var WfoSubscriptionProductBlock = ({
|
|
|
41298
41300
|
children: /* @__PURE__ */ jsx115(EuiIcon, { type: "filebeatApp", color: "currentColor" })
|
|
41299
41301
|
}
|
|
41300
41302
|
) }),
|
|
41301
|
-
/* @__PURE__ */
|
|
41303
|
+
/* @__PURE__ */ jsxs64(EuiFlexItem7, { children: [
|
|
41302
41304
|
/* @__PURE__ */ jsx115(EuiText9, { grow: true, children: /* @__PURE__ */ jsx115("h3", { children: getProductBlockTitle(
|
|
41303
41305
|
productBlock.productBlockInstanceValues
|
|
41304
41306
|
) }) }),
|
|
@@ -41318,13 +41320,13 @@ var WfoSubscriptionProductBlock = ({
|
|
|
41318
41320
|
) })
|
|
41319
41321
|
] }),
|
|
41320
41322
|
/* @__PURE__ */ jsx115(EuiSpacer13, { size: "m" }),
|
|
41321
|
-
/* @__PURE__ */ jsx115("table", { width: "100%", children: /* @__PURE__ */
|
|
41322
|
-
isOutsideCurrentSubscription && /* @__PURE__ */
|
|
41323
|
+
/* @__PURE__ */ jsx115("table", { width: "100%", children: /* @__PURE__ */ jsxs64("tbody", { children: [
|
|
41324
|
+
isOutsideCurrentSubscription && /* @__PURE__ */ jsxs64("tr", { css: rowStyle, children: [
|
|
41323
41325
|
/* @__PURE__ */ jsx115("td", { css: leftColumnStyleWithAlignSelf, children: /* @__PURE__ */ jsx115("b", { children: t("ownerSubscriptionId") }) }),
|
|
41324
41326
|
/* @__PURE__ */ jsx115("td", { children: /* @__PURE__ */ jsx115(
|
|
41325
41327
|
WfoValueCell,
|
|
41326
41328
|
{
|
|
41327
|
-
value: /* @__PURE__ */
|
|
41329
|
+
value: /* @__PURE__ */ jsxs64(Fragment25, { children: [
|
|
41328
41330
|
/* @__PURE__ */ jsx115(
|
|
41329
41331
|
"a",
|
|
41330
41332
|
{
|
|
@@ -41350,16 +41352,16 @@ var WfoSubscriptionProductBlock = ({
|
|
|
41350
41352
|
}
|
|
41351
41353
|
) })
|
|
41352
41354
|
] }, -1),
|
|
41353
|
-
showDetails && /* @__PURE__ */
|
|
41354
|
-
/* @__PURE__ */
|
|
41355
|
+
showDetails && /* @__PURE__ */ jsxs64(Fragment25, { children: [
|
|
41356
|
+
/* @__PURE__ */ jsxs64("tr", { css: rowStyle, children: [
|
|
41355
41357
|
/* @__PURE__ */ jsx115("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx115("b", { children: t("subscriptionInstanceId") }) }),
|
|
41356
41358
|
/* @__PURE__ */ jsx115("td", { children: productBlock.subscriptionInstanceId })
|
|
41357
41359
|
] }, -2),
|
|
41358
|
-
!isOutsideCurrentSubscription && /* @__PURE__ */
|
|
41360
|
+
!isOutsideCurrentSubscription && /* @__PURE__ */ jsxs64("tr", { css: rowStyle, children: [
|
|
41359
41361
|
/* @__PURE__ */ jsx115("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx115("b", { children: t("ownerSubscriptionId") }) }),
|
|
41360
41362
|
/* @__PURE__ */ jsx115("td", { children: /* @__PURE__ */ jsx115(Fragment25, { children: /* @__PURE__ */ jsx115(EuiBadge2, { children: t("self") }) }) })
|
|
41361
41363
|
] }, -3),
|
|
41362
|
-
/* @__PURE__ */
|
|
41364
|
+
/* @__PURE__ */ jsxs64("tr", { css: rowStyle, children: [
|
|
41363
41365
|
/* @__PURE__ */ jsx115("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx115("b", { children: t("inUseByRelations") }) }),
|
|
41364
41366
|
/* @__PURE__ */ jsx115("td", { children: inUseByRelations.length === 0 && "None" || /* @__PURE__ */ jsx115(
|
|
41365
41367
|
WfoInUseByRelations,
|
|
@@ -41405,7 +41407,7 @@ var WfoSubscriptionProductBlock = ({
|
|
|
41405
41407
|
|
|
41406
41408
|
// src/components/WfoSubscription/WfoSubscriptionProductBlock/WfoProductBlockKeyValueRow.tsx
|
|
41407
41409
|
import { EuiBadge as EuiBadge3 } from "@elastic/eui";
|
|
41408
|
-
import { Fragment as Fragment26, jsx as jsx116, jsxs as
|
|
41410
|
+
import { Fragment as Fragment26, jsx as jsx116, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
|
|
41409
41411
|
var WfoProductBlockKeyValueRow = ({ fieldValue }) => {
|
|
41410
41412
|
const { leftColumnStyle, rowStyle } = useWithOrchestratorTheme(getStyles6);
|
|
41411
41413
|
const { getOverriddenValue } = useSubscriptionDetailValueOverride();
|
|
@@ -41420,7 +41422,7 @@ var WfoProductBlockKeyValueRow = ({ fieldValue }) => {
|
|
|
41420
41422
|
return /* @__PURE__ */ jsx116(Fragment26, { children: value2 });
|
|
41421
41423
|
}
|
|
41422
41424
|
};
|
|
41423
|
-
return /* @__PURE__ */
|
|
41425
|
+
return /* @__PURE__ */ jsxs65("tr", { css: rowStyle, children: [
|
|
41424
41426
|
/* @__PURE__ */ jsx116("td", { css: leftColumnStyle, children: /* @__PURE__ */ jsx116("b", { children: camelToHuman(field) }) }),
|
|
41425
41427
|
/* @__PURE__ */ jsx116("td", { children: getOverriddenValue(fieldValue) ?? /* @__PURE__ */ jsx116(WfoProductBlockValue, { value }) })
|
|
41426
41428
|
] });
|
|
@@ -41510,11 +41512,11 @@ var getStyles7 = (wfoTheme) => {
|
|
|
41510
41512
|
};
|
|
41511
41513
|
|
|
41512
41514
|
// src/icons/WfoXMarkSmall.tsx
|
|
41513
|
-
import { jsx as jsx117, jsxs as
|
|
41515
|
+
import { jsx as jsx117, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
|
|
41514
41516
|
var WfoXMarkSmall = ({
|
|
41515
41517
|
width = 20,
|
|
41516
41518
|
height = 20
|
|
41517
|
-
}) => /* @__PURE__ */
|
|
41519
|
+
}) => /* @__PURE__ */ jsxs66(
|
|
41518
41520
|
"svg",
|
|
41519
41521
|
{
|
|
41520
41522
|
width,
|
|
@@ -41540,7 +41542,7 @@ var WfoXMarkSmall = ({
|
|
|
41540
41542
|
);
|
|
41541
41543
|
|
|
41542
41544
|
// src/components/WfoTree/WfoTreeNodeListItem.tsx
|
|
41543
|
-
import { jsx as jsx118, jsxs as
|
|
41545
|
+
import { jsx as jsx118, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
|
|
41544
41546
|
var WfoTreeNodeListItem = ({
|
|
41545
41547
|
item,
|
|
41546
41548
|
selected
|
|
@@ -41551,7 +41553,7 @@ var WfoTreeNodeListItem = ({
|
|
|
41551
41553
|
const { selectedTreeItemStyle, treeItemStyle } = useWithOrchestratorTheme(getStyles7);
|
|
41552
41554
|
const { isOutsideCurrentSubscription, id, label } = item;
|
|
41553
41555
|
const textLabel = label.toString();
|
|
41554
|
-
return /* @__PURE__ */
|
|
41556
|
+
return /* @__PURE__ */ jsxs67(
|
|
41555
41557
|
EuiFlexGroup12,
|
|
41556
41558
|
{
|
|
41557
41559
|
alignItems: "center",
|
|
@@ -41577,7 +41579,7 @@ var WfoTreeNodeListItem = ({
|
|
|
41577
41579
|
};
|
|
41578
41580
|
|
|
41579
41581
|
// src/components/WfoTree/WfoTreeNode.tsx
|
|
41580
|
-
import { jsx as jsx119, jsxs as
|
|
41582
|
+
import { jsx as jsx119, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
|
|
41581
41583
|
var WfoTreeNode = ({
|
|
41582
41584
|
item,
|
|
41583
41585
|
hasChildren,
|
|
@@ -41589,7 +41591,7 @@ var WfoTreeNode = ({
|
|
|
41589
41591
|
const expanded = expandedIds.includes(item.id);
|
|
41590
41592
|
const selected = selectedIds.includes(item.id);
|
|
41591
41593
|
const expandIcon = expanded ? "arrowDown" : "arrowRight";
|
|
41592
|
-
return /* @__PURE__ */ jsx119("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */
|
|
41594
|
+
return /* @__PURE__ */ jsx119("div", { style: { paddingLeft: `${level * parseInt(theme.size.m)}px` }, children: /* @__PURE__ */ jsxs68(EuiFlexGroup13, { children: [
|
|
41593
41595
|
/* @__PURE__ */ jsx119(EuiFlexItem9, { grow: false, css: treeContainerStyle, children: hasChildren ? /* @__PURE__ */ jsx119(
|
|
41594
41596
|
EuiIcon2,
|
|
41595
41597
|
{
|
|
@@ -41604,7 +41606,7 @@ var WfoTreeNode = ({
|
|
|
41604
41606
|
};
|
|
41605
41607
|
|
|
41606
41608
|
// src/components/WfoTree/WfoTreeBranch.tsx
|
|
41607
|
-
import { Fragment as Fragment27, jsx as jsx120, jsxs as
|
|
41609
|
+
import { Fragment as Fragment27, jsx as jsx120, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
|
|
41608
41610
|
var WfoTreeBranch = ({ item, level }) => {
|
|
41609
41611
|
const { expandedIds } = React27.useContext(TreeContext);
|
|
41610
41612
|
const selected = expandedIds.includes(item.id);
|
|
@@ -41619,7 +41621,7 @@ var WfoTreeBranch = ({ item, level }) => {
|
|
|
41619
41621
|
}
|
|
41620
41622
|
return null;
|
|
41621
41623
|
};
|
|
41622
|
-
return /* @__PURE__ */
|
|
41624
|
+
return /* @__PURE__ */ jsxs69(Fragment27, { children: [
|
|
41623
41625
|
/* @__PURE__ */ jsx120(
|
|
41624
41626
|
EuiListGroup,
|
|
41625
41627
|
{
|
|
@@ -41711,7 +41713,7 @@ var getPositionInTree = (tree, id) => {
|
|
|
41711
41713
|
};
|
|
41712
41714
|
|
|
41713
41715
|
// src/components/WfoSubscription/WfoSubscriptionDetailTree.tsx
|
|
41714
|
-
import { jsx as jsx122, jsxs as
|
|
41716
|
+
import { jsx as jsx122, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
|
|
41715
41717
|
var WfoSubscriptionDetailTree = ({
|
|
41716
41718
|
productBlockInstances,
|
|
41717
41719
|
subscriptionId
|
|
@@ -41786,7 +41788,7 @@ var WfoSubscriptionDetailTree = ({
|
|
|
41786
41788
|
return 0;
|
|
41787
41789
|
};
|
|
41788
41790
|
const headerHeight = 265;
|
|
41789
|
-
return /* @__PURE__ */
|
|
41791
|
+
return /* @__PURE__ */ jsxs70(
|
|
41790
41792
|
EuiFlexGroup14,
|
|
41791
41793
|
{
|
|
41792
41794
|
css: {
|
|
@@ -41804,8 +41806,8 @@ var WfoSubscriptionDetailTree = ({
|
|
|
41804
41806
|
overflowY: "auto"
|
|
41805
41807
|
},
|
|
41806
41808
|
grow: true,
|
|
41807
|
-
children: /* @__PURE__ */
|
|
41808
|
-
/* @__PURE__ */ jsx122(EuiFlexItem10, { grow: false, children: /* @__PURE__ */
|
|
41809
|
+
children: /* @__PURE__ */ jsxs70(EuiFlexGroup14, { direction: "column", children: [
|
|
41810
|
+
/* @__PURE__ */ jsx122(EuiFlexItem10, { grow: false, children: /* @__PURE__ */ jsxs70(
|
|
41809
41811
|
EuiFlexGroup14,
|
|
41810
41812
|
{
|
|
41811
41813
|
justifyContent: "spaceBetween",
|
|
@@ -41824,7 +41826,7 @@ var WfoSubscriptionDetailTree = ({
|
|
|
41824
41826
|
]
|
|
41825
41827
|
}
|
|
41826
41828
|
) }),
|
|
41827
|
-
/* @__PURE__ */
|
|
41829
|
+
/* @__PURE__ */ jsxs70(EuiFlexItem10, { grow: true, children: [
|
|
41828
41830
|
!tree && /* @__PURE__ */ jsx122(WfoLoading, {}),
|
|
41829
41831
|
tree && /* @__PURE__ */ jsx122(
|
|
41830
41832
|
WfoTree,
|
|
@@ -41845,7 +41847,7 @@ var WfoSubscriptionDetailTree = ({
|
|
|
41845
41847
|
minWidth: 350
|
|
41846
41848
|
},
|
|
41847
41849
|
grow: true,
|
|
41848
|
-
children: /* @__PURE__ */
|
|
41850
|
+
children: /* @__PURE__ */ jsxs70("div", { children: [
|
|
41849
41851
|
/* @__PURE__ */ jsx122("div", { children: "\xA0" }),
|
|
41850
41852
|
" ",
|
|
41851
41853
|
selectedIds.length === 0 && /* @__PURE__ */ jsx122(
|
|
@@ -41858,7 +41860,7 @@ var WfoSubscriptionDetailTree = ({
|
|
|
41858
41860
|
size: "m",
|
|
41859
41861
|
title: t("noProductBlockSelected"),
|
|
41860
41862
|
iconType: "inspect",
|
|
41861
|
-
children: /* @__PURE__ */
|
|
41863
|
+
children: /* @__PURE__ */ jsxs70(EuiText11, { children: [
|
|
41862
41864
|
t("ctaSelectProductBlock"),
|
|
41863
41865
|
" "
|
|
41864
41866
|
] })
|
|
@@ -41979,11 +41981,11 @@ import {
|
|
|
41979
41981
|
} from "@elastic/eui";
|
|
41980
41982
|
|
|
41981
41983
|
// src/components/WfoTable/WfoTableSettingsModal/styles.ts
|
|
41982
|
-
import { css as
|
|
41984
|
+
import { css as css17 } from "@emotion/react";
|
|
41983
41985
|
var getWfoTableSettingsModalStyles = (wfoTheme) => {
|
|
41984
41986
|
const { formFieldBaseStyle } = getFormFieldsBaseStyle(wfoTheme);
|
|
41985
41987
|
const { theme } = wfoTheme;
|
|
41986
|
-
const formRowStyle =
|
|
41988
|
+
const formRowStyle = css17({
|
|
41987
41989
|
justifyContent: "space-between",
|
|
41988
41990
|
".euiFormLabel": {
|
|
41989
41991
|
color: theme.colors.text
|
|
@@ -41996,7 +41998,7 @@ var getWfoTableSettingsModalStyles = (wfoTheme) => {
|
|
|
41996
41998
|
};
|
|
41997
41999
|
|
|
41998
42000
|
// src/components/WfoTable/WfoTableSettingsModal/WfoTableSettingsModal.tsx
|
|
41999
|
-
import { jsx as jsx125, jsxs as
|
|
42001
|
+
import { jsx as jsx125, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
|
|
42000
42002
|
var TableSettingsModal = ({
|
|
42001
42003
|
tableConfig,
|
|
42002
42004
|
pageSizeOptions,
|
|
@@ -42035,8 +42037,8 @@ var TableSettingsModal = ({
|
|
|
42035
42037
|
columns,
|
|
42036
42038
|
selectedPageSize
|
|
42037
42039
|
}),
|
|
42038
|
-
children: /* @__PURE__ */
|
|
42039
|
-
columns.map(({ field, name, isVisible }) => /* @__PURE__ */
|
|
42040
|
+
children: /* @__PURE__ */ jsxs71(EuiForm, { children: [
|
|
42041
|
+
columns.map(({ field, name, isVisible }) => /* @__PURE__ */ jsxs71("div", { children: [
|
|
42040
42042
|
/* @__PURE__ */ jsx125(
|
|
42041
42043
|
EuiFormRow2,
|
|
42042
42044
|
{
|
|
@@ -42146,10 +42148,10 @@ var getQueryStringHandler = (setDataDisplayParam) => (queryString) => {
|
|
|
42146
42148
|
|
|
42147
42149
|
// src/components/WfoTable/WfoStatusColorField/styles.ts
|
|
42148
42150
|
import { tint as tint2 } from "@elastic/eui";
|
|
42149
|
-
import { css as
|
|
42151
|
+
import { css as css18 } from "@emotion/react";
|
|
42150
42152
|
var getWfoStatusColorFieldStyles = ({ theme }) => {
|
|
42151
42153
|
const toStatusColorFieldColor = (color) => tint2(color, 0.3);
|
|
42152
|
-
const getStatusColorFieldStyle = (color) =>
|
|
42154
|
+
const getStatusColorFieldStyle = (color) => css18({
|
|
42153
42155
|
backgroundColor: toStatusColorFieldColor(color),
|
|
42154
42156
|
height: TABLE_ROW_HEIGHT,
|
|
42155
42157
|
width: theme.size.xs
|
|
@@ -42202,13 +42204,13 @@ var hasSpaces = (value) => value.indexOf(" ") !== -1;
|
|
|
42202
42204
|
var toQueryValue = (value) => hasSpaces(value) ? `"${value}"` : value;
|
|
42203
42205
|
|
|
42204
42206
|
// src/components/WfoTable/WfoSortButtons/styles.ts
|
|
42205
|
-
import { css as
|
|
42207
|
+
import { css as css19 } from "@emotion/react";
|
|
42206
42208
|
var getStyles8 = () => {
|
|
42207
|
-
const sortButtonsContainerStyle =
|
|
42209
|
+
const sortButtonsContainerStyle = css19({
|
|
42208
42210
|
display: "flex",
|
|
42209
42211
|
alignItems: "center"
|
|
42210
42212
|
});
|
|
42211
|
-
const getSortButtonStyle = (isActive) =>
|
|
42213
|
+
const getSortButtonStyle = (isActive) => css19({
|
|
42212
42214
|
display: "flex",
|
|
42213
42215
|
alignItems: "center",
|
|
42214
42216
|
cursor: isActive ? "pointer" : "not-allowed"
|
|
@@ -42244,13 +42246,13 @@ var WfoSortButton = ({
|
|
|
42244
42246
|
};
|
|
42245
42247
|
|
|
42246
42248
|
// src/components/WfoTable/WfoSortButtons/WfoSortButtons.tsx
|
|
42247
|
-
import { jsx as jsx128, jsxs as
|
|
42249
|
+
import { jsx as jsx128, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
|
|
42248
42250
|
var WfoSortButtons = ({
|
|
42249
42251
|
sortOrder,
|
|
42250
42252
|
onChangeSortOrder
|
|
42251
42253
|
}) => {
|
|
42252
42254
|
const { sortButtonsContainerStyle } = getStyles8();
|
|
42253
|
-
return /* @__PURE__ */
|
|
42255
|
+
return /* @__PURE__ */ jsxs72("div", { css: sortButtonsContainerStyle, children: [
|
|
42254
42256
|
/* @__PURE__ */ jsx128(
|
|
42255
42257
|
WfoSortButton,
|
|
42256
42258
|
{
|
|
@@ -42274,10 +42276,10 @@ var WfoSortButtons = ({
|
|
|
42274
42276
|
import { EuiCopy as EuiCopy2 } from "@elastic/eui";
|
|
42275
42277
|
|
|
42276
42278
|
// src/components/WfoTable/WfoFirstPartUUID/styles.ts
|
|
42277
|
-
import { css as
|
|
42279
|
+
import { css as css20 } from "@emotion/react";
|
|
42278
42280
|
var COPY_ICON_CLASS = "copyIcon";
|
|
42279
42281
|
var getStyles9 = ({ theme }) => {
|
|
42280
|
-
const uuidFieldStyle =
|
|
42282
|
+
const uuidFieldStyle = css20({
|
|
42281
42283
|
fontWeight: theme.font.weight.medium,
|
|
42282
42284
|
display: "flex",
|
|
42283
42285
|
gap: theme.size.xs,
|
|
@@ -42288,7 +42290,7 @@ var getStyles9 = ({ theme }) => {
|
|
|
42288
42290
|
visibility: "visible"
|
|
42289
42291
|
}
|
|
42290
42292
|
});
|
|
42291
|
-
const clickable =
|
|
42293
|
+
const clickable = css20({
|
|
42292
42294
|
cursor: "pointer",
|
|
42293
42295
|
visibility: "hidden"
|
|
42294
42296
|
});
|
|
@@ -42299,13 +42301,16 @@ var getStyles9 = ({ theme }) => {
|
|
|
42299
42301
|
};
|
|
42300
42302
|
|
|
42301
42303
|
// src/components/WfoTable/WfoFirstPartUUID/WfoFirstPartUUID.tsx
|
|
42302
|
-
import { jsx as jsx129, jsxs as
|
|
42303
|
-
var WfoFirstPartUUID = ({
|
|
42304
|
+
import { jsx as jsx129, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
|
|
42305
|
+
var WfoFirstPartUUID = ({
|
|
42306
|
+
UUID,
|
|
42307
|
+
showCopyIcon = true
|
|
42308
|
+
}) => {
|
|
42304
42309
|
const { uuidFieldStyle, clickable } = useWithOrchestratorTheme(getStyles9);
|
|
42305
42310
|
const { theme } = useOrchestratorTheme();
|
|
42306
|
-
return /* @__PURE__ */
|
|
42311
|
+
return /* @__PURE__ */ jsxs73("span", { css: uuidFieldStyle, children: [
|
|
42307
42312
|
getFirstUuidPart(UUID),
|
|
42308
|
-
/* @__PURE__ */ jsx129(EuiCopy2, { textToCopy: UUID, children: (copy) => /* @__PURE__ */ jsx129(
|
|
42313
|
+
showCopyIcon && /* @__PURE__ */ jsx129(EuiCopy2, { textToCopy: UUID, children: (copy) => /* @__PURE__ */ jsx129(
|
|
42309
42314
|
"div",
|
|
42310
42315
|
{
|
|
42311
42316
|
className: COPY_ICON_CLASS,
|
|
@@ -42343,12 +42348,12 @@ import {
|
|
|
42343
42348
|
} from "@elastic/eui";
|
|
42344
42349
|
|
|
42345
42350
|
// src/icons/WfoDotsHorizontal.tsx
|
|
42346
|
-
import { jsx as jsx131, jsxs as
|
|
42351
|
+
import { jsx as jsx131, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
|
|
42347
42352
|
var WfoDotsHorizontal = ({
|
|
42348
42353
|
width = 20,
|
|
42349
42354
|
height = 20,
|
|
42350
42355
|
color = "currentColor"
|
|
42351
|
-
}) => /* @__PURE__ */
|
|
42356
|
+
}) => /* @__PURE__ */ jsxs74(
|
|
42352
42357
|
"svg",
|
|
42353
42358
|
{
|
|
42354
42359
|
width,
|
|
@@ -42465,7 +42470,7 @@ import {
|
|
|
42465
42470
|
EuiSpacer as EuiSpacer15,
|
|
42466
42471
|
EuiText as EuiText12
|
|
42467
42472
|
} from "@elastic/eui";
|
|
42468
|
-
import { Fragment as Fragment29, jsx as jsx134, jsxs as
|
|
42473
|
+
import { Fragment as Fragment29, jsx as jsx134, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
|
|
42469
42474
|
var WfoAdvancedTable = ({
|
|
42470
42475
|
tableColumnConfig,
|
|
42471
42476
|
defaultHiddenColumns = [],
|
|
@@ -42549,8 +42554,8 @@ var WfoAdvancedTable = ({
|
|
|
42549
42554
|
span: (chunks) => /* @__PURE__ */ jsx134("span", { children: chunks }),
|
|
42550
42555
|
b: (chunks) => /* @__PURE__ */ jsx134("b", { children: chunks })
|
|
42551
42556
|
});
|
|
42552
|
-
return /* @__PURE__ */
|
|
42553
|
-
/* @__PURE__ */
|
|
42557
|
+
return /* @__PURE__ */ jsxs75(Fragment29, { children: [
|
|
42558
|
+
/* @__PURE__ */ jsxs75(EuiFlexGroup15, { alignItems: "center", children: [
|
|
42554
42559
|
/* @__PURE__ */ jsx134(EuiFlexItem12, { children: /* @__PURE__ */ jsx134(
|
|
42555
42560
|
WfoSearchField,
|
|
42556
42561
|
{
|
|
@@ -42639,7 +42644,7 @@ import { useEuiScrollBar as useEuiScrollBar2 } from "@elastic/eui";
|
|
|
42639
42644
|
import { EuiToolTip as EuiToolTip6 } from "@elastic/eui";
|
|
42640
42645
|
|
|
42641
42646
|
// src/components/WfoTimeline/styles.ts
|
|
42642
|
-
import { css as
|
|
42647
|
+
import { css as css21 } from "@emotion/react";
|
|
42643
42648
|
var getStyles10 = ({ theme }) => {
|
|
42644
42649
|
const emptyStepOuterDiameter = theme.base;
|
|
42645
42650
|
const emptyStepInnerDiameter = theme.base / 2;
|
|
@@ -42670,7 +42675,7 @@ var getStyles10 = ({ theme }) => {
|
|
|
42670
42675
|
return theme.colors.ghost;
|
|
42671
42676
|
}
|
|
42672
42677
|
};
|
|
42673
|
-
const timelinePanelStyle =
|
|
42678
|
+
const timelinePanelStyle = css21({
|
|
42674
42679
|
backgroundColor: theme.colors.body,
|
|
42675
42680
|
borderRadius: theme.border.radius.medium,
|
|
42676
42681
|
overflow: "auto",
|
|
@@ -42687,7 +42692,7 @@ var getStyles10 = ({ theme }) => {
|
|
|
42687
42692
|
flexGrow: 1
|
|
42688
42693
|
}
|
|
42689
42694
|
});
|
|
42690
|
-
const getHorizontalLineStyle = (color) =>
|
|
42695
|
+
const getHorizontalLineStyle = (color) => css21({
|
|
42691
42696
|
content: '""',
|
|
42692
42697
|
height: theme.border.width.thick,
|
|
42693
42698
|
backgroundColor: color,
|
|
@@ -42715,7 +42720,7 @@ var getStyles10 = ({ theme }) => {
|
|
|
42715
42720
|
return theme.colors.lightShade;
|
|
42716
42721
|
}
|
|
42717
42722
|
};
|
|
42718
|
-
return
|
|
42723
|
+
return css21([
|
|
42719
42724
|
!isFirstStep && {
|
|
42720
42725
|
"::before": {
|
|
42721
42726
|
...getHorizontalLineStyle(
|
|
@@ -42732,7 +42737,7 @@ var getStyles10 = ({ theme }) => {
|
|
|
42732
42737
|
}
|
|
42733
42738
|
]);
|
|
42734
42739
|
};
|
|
42735
|
-
const getStepOuterCircleStyle = (hasContent) =>
|
|
42740
|
+
const getStepOuterCircleStyle = (hasContent) => css21({
|
|
42736
42741
|
display: "flex",
|
|
42737
42742
|
justifyContent: "center",
|
|
42738
42743
|
alignItems: "center",
|
|
@@ -42743,7 +42748,7 @@ var getStyles10 = ({ theme }) => {
|
|
|
42743
42748
|
});
|
|
42744
42749
|
const getStepInnerCircleStyle = (stepStatus, hasContent) => {
|
|
42745
42750
|
const diameter = hasContent ? stepWithValueInnerDiameter : emptyStepInnerDiameter;
|
|
42746
|
-
return
|
|
42751
|
+
return css21({
|
|
42747
42752
|
borderRadius: "50%",
|
|
42748
42753
|
backgroundColor: getColorForStepStatus(stepStatus),
|
|
42749
42754
|
height: diameter,
|
|
@@ -42754,15 +42759,15 @@ var getStyles10 = ({ theme }) => {
|
|
|
42754
42759
|
color: getTextColorForStepStatusIcon(stepStatus)
|
|
42755
42760
|
});
|
|
42756
42761
|
};
|
|
42757
|
-
const stepStyle =
|
|
42762
|
+
const stepStyle = css21({
|
|
42758
42763
|
display: "flex",
|
|
42759
42764
|
flexDirection: "row",
|
|
42760
42765
|
alignItems: "center"
|
|
42761
42766
|
});
|
|
42762
|
-
const clickableStyle =
|
|
42767
|
+
const clickableStyle = css21({
|
|
42763
42768
|
cursor: "pointer"
|
|
42764
42769
|
});
|
|
42765
|
-
const notClickableStyle =
|
|
42770
|
+
const notClickableStyle = css21({
|
|
42766
42771
|
cursor: "auto"
|
|
42767
42772
|
});
|
|
42768
42773
|
return {
|
|
@@ -42925,9 +42930,9 @@ import { connectField, filterDOMProps } from "uniforms";
|
|
|
42925
42930
|
import { EuiCheckbox, EuiFlexItem as EuiFlexItem13, EuiText as EuiText13 } from "@elastic/eui";
|
|
42926
42931
|
|
|
42927
42932
|
// src/components/WfoForms/formFields/AcceptFieldStyling.ts
|
|
42928
|
-
import { css as
|
|
42933
|
+
import { css as css22 } from "@emotion/react";
|
|
42929
42934
|
var getStyles11 = ({ theme }) => {
|
|
42930
|
-
const acceptFieldStyle =
|
|
42935
|
+
const acceptFieldStyle = css22({
|
|
42931
42936
|
".acceptField": {
|
|
42932
42937
|
"label.warning": {
|
|
42933
42938
|
color: theme.colors.danger
|
|
@@ -42952,7 +42957,7 @@ var getStyles11 = ({ theme }) => {
|
|
|
42952
42957
|
};
|
|
42953
42958
|
|
|
42954
42959
|
// src/components/WfoForms/formFields/AcceptField.tsx
|
|
42955
|
-
import { jsx as jsx139, jsxs as
|
|
42960
|
+
import { jsx as jsx139, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
|
|
42956
42961
|
filterDOMProps.register("data");
|
|
42957
42962
|
function Accept({
|
|
42958
42963
|
disabled,
|
|
@@ -42994,7 +42999,7 @@ function Accept({
|
|
|
42994
42999
|
},
|
|
42995
43000
|
{ checks: {}, skip: false, allChecked: false }
|
|
42996
43001
|
);
|
|
42997
|
-
return /* @__PURE__ */ jsx139(EuiFlexItem13, { css: acceptFieldStyle, children: /* @__PURE__ */
|
|
43002
|
+
return /* @__PURE__ */ jsx139(EuiFlexItem13, { css: acceptFieldStyle, children: /* @__PURE__ */ jsxs76(
|
|
42998
43003
|
"section",
|
|
42999
43004
|
{
|
|
43000
43005
|
...filterDOMProps(props),
|
|
@@ -43029,7 +43034,7 @@ function Accept({
|
|
|
43029
43034
|
case "margin":
|
|
43030
43035
|
return /* @__PURE__ */ jsx139("br", {}, index);
|
|
43031
43036
|
case "warning":
|
|
43032
|
-
return /* @__PURE__ */
|
|
43037
|
+
return /* @__PURE__ */ jsxs76(
|
|
43033
43038
|
"label",
|
|
43034
43039
|
{
|
|
43035
43040
|
className: "euiFormLabel euiFormRow__label warning",
|
|
@@ -43096,9 +43101,9 @@ import { connectField as connectField2, filterDOMProps as filterDOMProps2 } from
|
|
|
43096
43101
|
import { EuiCheckbox as EuiCheckbox2, EuiFlexItem as EuiFlexItem14, EuiFormRow as EuiFormRow3, EuiText as EuiText14 } from "@elastic/eui";
|
|
43097
43102
|
|
|
43098
43103
|
// src/components/WfoForms/formFields/commonStyles.ts
|
|
43099
|
-
import { css as
|
|
43104
|
+
import { css as css23 } from "@emotion/react";
|
|
43100
43105
|
var getCommonFormFieldStyles = ({ theme }) => {
|
|
43101
|
-
const formRowStyle =
|
|
43106
|
+
const formRowStyle = css23({
|
|
43102
43107
|
".euiText": {
|
|
43103
43108
|
color: theme.colors.text
|
|
43104
43109
|
},
|
|
@@ -43115,21 +43120,17 @@ var getCommonFormFieldStyles = ({ theme }) => {
|
|
|
43115
43120
|
};
|
|
43116
43121
|
|
|
43117
43122
|
// src/components/WfoForms/formFields/BoolFieldStyling.ts
|
|
43118
|
-
import { css as
|
|
43123
|
+
import { css as css24 } from "@emotion/react";
|
|
43119
43124
|
var PRIMARY_COLOR = "#0077cc";
|
|
43120
43125
|
var LIGHT_GREY_COLOR = "#eff2f3";
|
|
43121
43126
|
var MEDIUM_GREY_COLOR = "#a6b6be";
|
|
43122
|
-
var boolFieldStyling =
|
|
43127
|
+
var boolFieldStyling = css24`
|
|
43123
43128
|
|
|
43124
43129
|
.bool-field {
|
|
43125
43130
|
.euiCheckbox .euiCheckbox__input ~ .euiCheckbox__label {
|
|
43126
43131
|
z-index: unset;
|
|
43127
43132
|
}
|
|
43128
43133
|
|
|
43129
|
-
input[type="checkbox"] {
|
|
43130
|
-
display: none;
|
|
43131
|
-
}
|
|
43132
|
-
|
|
43133
43134
|
label {
|
|
43134
43135
|
display: inline-block;
|
|
43135
43136
|
margin: 3px 0;
|
|
@@ -43261,10 +43262,10 @@ var ErrorField = connectField4(Error2, {
|
|
|
43261
43262
|
|
|
43262
43263
|
// src/components/WfoForms/formFields/ErrorsField.tsx
|
|
43263
43264
|
import { filterDOMProps as filterDOMProps4, useForm as useForm2 } from "uniforms";
|
|
43264
|
-
import { jsx as jsx143, jsxs as
|
|
43265
|
+
import { jsx as jsx143, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
|
|
43265
43266
|
var ErrorsField = (props) => {
|
|
43266
43267
|
const { error, schema } = useForm2();
|
|
43267
|
-
return !error && !props.children ? null : /* @__PURE__ */
|
|
43268
|
+
return !error && !props.children ? null : /* @__PURE__ */ jsxs77("div", { ...filterDOMProps4(props), children: [
|
|
43268
43269
|
props.children,
|
|
43269
43270
|
/* @__PURE__ */ jsx143("ul", { children: schema.getErrorMessages(error).map((message, index) => /* @__PURE__ */ jsx143("li", { children: message }, index)) })
|
|
43270
43271
|
] });
|
|
@@ -43292,7 +43293,7 @@ import cloneDeep from "lodash/cloneDeep";
|
|
|
43292
43293
|
import { useTranslations as useTranslations37 } from "next-intl";
|
|
43293
43294
|
import { connectField as connectField6, filterDOMProps as filterDOMProps6, joinName, useField } from "uniforms";
|
|
43294
43295
|
import { EuiIcon as EuiIcon3, EuiText as EuiText15 } from "@elastic/eui";
|
|
43295
|
-
import { jsx as jsx145, jsxs as
|
|
43296
|
+
import { jsx as jsx145, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
|
|
43296
43297
|
function ListAdd({
|
|
43297
43298
|
disabled,
|
|
43298
43299
|
initialCount,
|
|
@@ -43316,7 +43317,7 @@ function ListAdd({
|
|
|
43316
43317
|
parent.onChange(parent.value.concat(newRowsValue));
|
|
43317
43318
|
}
|
|
43318
43319
|
}
|
|
43319
|
-
return /* @__PURE__ */
|
|
43320
|
+
return /* @__PURE__ */ jsxs78(
|
|
43320
43321
|
"div",
|
|
43321
43322
|
{
|
|
43322
43323
|
className: "add-item",
|
|
@@ -43348,7 +43349,7 @@ var ListAddField = connectField6(ListAdd, {
|
|
|
43348
43349
|
import { useTranslations as useTranslations38 } from "next-intl";
|
|
43349
43350
|
import { connectField as connectField7, filterDOMProps as filterDOMProps7, joinName as joinName2, useField as useField2 } from "uniforms";
|
|
43350
43351
|
import { EuiIcon as EuiIcon4, EuiText as EuiText16 } from "@elastic/eui";
|
|
43351
|
-
import { jsx as jsx146, jsxs as
|
|
43352
|
+
import { jsx as jsx146, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
|
|
43352
43353
|
function ListDel({
|
|
43353
43354
|
disabled,
|
|
43354
43355
|
name,
|
|
@@ -43376,7 +43377,7 @@ function ListDel({
|
|
|
43376
43377
|
parent.onChange(value);
|
|
43377
43378
|
}
|
|
43378
43379
|
}
|
|
43379
|
-
return /* @__PURE__ */
|
|
43380
|
+
return /* @__PURE__ */ jsxs79(
|
|
43380
43381
|
"div",
|
|
43381
43382
|
{
|
|
43382
43383
|
...filterDOMProps7(props),
|
|
@@ -43414,12 +43415,12 @@ import { EuiFlexItem as EuiFlexItem15, EuiFormRow as EuiFormRow4, EuiText as Eui
|
|
|
43414
43415
|
// src/components/WfoForms/formFields/ListItemField.tsx
|
|
43415
43416
|
import { connectField as connectField8 } from "uniforms";
|
|
43416
43417
|
import { AutoField as AutoField2 } from "uniforms-unstyled";
|
|
43417
|
-
import { jsx as jsx147, jsxs as
|
|
43418
|
+
import { jsx as jsx147, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
|
|
43418
43419
|
function ListItem({
|
|
43419
43420
|
children = /* @__PURE__ */ jsx147(AutoField2, { label: null, name: "" }),
|
|
43420
43421
|
outerList = false
|
|
43421
43422
|
}) {
|
|
43422
|
-
return /* @__PURE__ */
|
|
43423
|
+
return /* @__PURE__ */ jsxs80("li", { children: [
|
|
43423
43424
|
children,
|
|
43424
43425
|
/* @__PURE__ */ jsx147(ListDelField, { name: "", outerList })
|
|
43425
43426
|
] });
|
|
@@ -43427,8 +43428,8 @@ function ListItem({
|
|
|
43427
43428
|
var ListItemField = connectField8(ListItem, { initialValue: false });
|
|
43428
43429
|
|
|
43429
43430
|
// src/components/WfoForms/formFields/listFieldStyling.ts
|
|
43430
|
-
import { css as
|
|
43431
|
-
var listFieldStyling =
|
|
43431
|
+
import { css as css25 } from "@emotion/react";
|
|
43432
|
+
var listFieldStyling = css25`
|
|
43432
43433
|
.list-field {
|
|
43433
43434
|
ul {
|
|
43434
43435
|
display: flex;
|
|
@@ -43514,7 +43515,7 @@ var listFieldStyling = css24`
|
|
|
43514
43515
|
`;
|
|
43515
43516
|
|
|
43516
43517
|
// src/components/WfoForms/formFields/ListField.tsx
|
|
43517
|
-
import { Fragment as Fragment30, jsx as jsx148, jsxs as
|
|
43518
|
+
import { Fragment as Fragment30, jsx as jsx148, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
|
|
43518
43519
|
filterDOMProps8.register("minCount");
|
|
43519
43520
|
filterDOMProps8.register("maxCount");
|
|
43520
43521
|
filterDOMProps8.register("items");
|
|
@@ -43537,7 +43538,7 @@ function List({
|
|
|
43537
43538
|
const { formRowStyle } = useWithOrchestratorTheme(getCommonFormFieldStyles);
|
|
43538
43539
|
const child = useField3(joinName3(name, "$"), {}, { absoluteName: true })[0];
|
|
43539
43540
|
const hasListAsChild = child.fieldType === Array;
|
|
43540
|
-
return /* @__PURE__ */ jsx148(EuiFlexItem15, { css: listFieldStyling, children: /* @__PURE__ */
|
|
43541
|
+
return /* @__PURE__ */ jsx148(EuiFlexItem15, { css: listFieldStyling, children: /* @__PURE__ */ jsxs81(
|
|
43541
43542
|
"section",
|
|
43542
43543
|
{
|
|
43543
43544
|
...filterDOMProps8(props),
|
|
@@ -43556,7 +43557,7 @@ function List({
|
|
|
43556
43557
|
children: /* @__PURE__ */ jsx148(Fragment30, {})
|
|
43557
43558
|
}
|
|
43558
43559
|
),
|
|
43559
|
-
/* @__PURE__ */
|
|
43560
|
+
/* @__PURE__ */ jsxs81("ul", { children: [
|
|
43560
43561
|
range(Math.max(value?.length ?? 0, initialCount ?? 0)).map(
|
|
43561
43562
|
(itemIndex) => Children.map(
|
|
43562
43563
|
children,
|
|
@@ -44095,7 +44096,7 @@ var TextField = connectField14(Text, { kind: "leaf" });
|
|
|
44095
44096
|
|
|
44096
44097
|
// src/components/WfoForms/formFields/DateField.tsx
|
|
44097
44098
|
import { connectField as connectField15, filterDOMProps as filterDOMProps15 } from "uniforms";
|
|
44098
|
-
import { jsx as jsx157, jsxs as
|
|
44099
|
+
import { jsx as jsx157, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
|
|
44099
44100
|
var DateConstructor = (typeof global === "object" ? global : window).Date;
|
|
44100
44101
|
var dateFormat = (value) => {
|
|
44101
44102
|
return value?.toISOString().slice(0, -8);
|
|
@@ -44114,7 +44115,7 @@ function Date2({
|
|
|
44114
44115
|
value,
|
|
44115
44116
|
...props
|
|
44116
44117
|
}) {
|
|
44117
|
-
return /* @__PURE__ */
|
|
44118
|
+
return /* @__PURE__ */ jsxs82("div", { ...filterDOMProps15(props), children: [
|
|
44118
44119
|
label && /* @__PURE__ */ jsx157("label", { htmlFor: id, children: label }),
|
|
44119
44120
|
/* @__PURE__ */ jsx157(
|
|
44120
44121
|
"input",
|
|
@@ -44352,9 +44353,9 @@ var subscriptionHasTaggedProduct = (subscriptionDetail) => {
|
|
|
44352
44353
|
};
|
|
44353
44354
|
|
|
44354
44355
|
// src/components/WfoForms/formFields/deprecated/ContactPersonAutocompleteStyles.ts
|
|
44355
|
-
import { css as
|
|
44356
|
+
import { css as css26 } from "@emotion/react";
|
|
44356
44357
|
var getStyles12 = ({ theme }) => {
|
|
44357
|
-
const contactPersonAutocompleteStyling =
|
|
44358
|
+
const contactPersonAutocompleteStyling = css26`
|
|
44358
44359
|
.autocomplete-container {
|
|
44359
44360
|
position: relative;
|
|
44360
44361
|
}
|
|
@@ -44392,7 +44393,7 @@ var getStyles12 = ({ theme }) => {
|
|
|
44392
44393
|
};
|
|
44393
44394
|
|
|
44394
44395
|
// src/components/WfoForms/formFields/deprecated/ContactPersonAutocomplete.tsx
|
|
44395
|
-
import { jsx as jsx159, jsxs as
|
|
44396
|
+
import { jsx as jsx159, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
|
|
44396
44397
|
var ContactPersonAutocomplete = ({
|
|
44397
44398
|
query,
|
|
44398
44399
|
selectedItem,
|
|
@@ -44414,13 +44415,13 @@ var ContactPersonAutocomplete = ({
|
|
|
44414
44415
|
const first = name.substring(0, indexOf);
|
|
44415
44416
|
const middle = name.substring(indexOf, indexOf + query2.length);
|
|
44416
44417
|
const last = name.substring(indexOf + query2.length);
|
|
44417
|
-
return /* @__PURE__ */
|
|
44418
|
+
return /* @__PURE__ */ jsxs83("span", { children: [
|
|
44418
44419
|
first,
|
|
44419
44420
|
/* @__PURE__ */ jsx159("span", { className: "matched", children: middle }),
|
|
44420
44421
|
last
|
|
44421
44422
|
] });
|
|
44422
44423
|
};
|
|
44423
|
-
return isEmpty(suggestions) ? null : /* @__PURE__ */ jsx159(EuiFlexItem16, { css: contactPersonAutocompleteStyling, children: /* @__PURE__ */ jsx159("section", { className: `autocomplete`, children: /* @__PURE__ */ jsx159("table", { className: "result", children: /* @__PURE__ */ jsx159("tbody", { children: suggestions.map((item, index) => /* @__PURE__ */
|
|
44424
|
+
return isEmpty(suggestions) ? null : /* @__PURE__ */ jsx159(EuiFlexItem16, { css: contactPersonAutocompleteStyling, children: /* @__PURE__ */ jsx159("section", { className: `autocomplete`, children: /* @__PURE__ */ jsx159("table", { className: "result", children: /* @__PURE__ */ jsx159("tbody", { children: suggestions.map((item, index) => /* @__PURE__ */ jsxs83(
|
|
44424
44425
|
"tr",
|
|
44425
44426
|
{
|
|
44426
44427
|
className: selectedItem === index ? "active" : "",
|
|
@@ -44448,7 +44449,7 @@ import {
|
|
|
44448
44449
|
useForm as useForm6
|
|
44449
44450
|
} from "uniforms";
|
|
44450
44451
|
import { EuiFieldText as EuiFieldText2, EuiFormRow as EuiFormRow11, EuiText as EuiText24 } from "@elastic/eui";
|
|
44451
|
-
import { Fragment as Fragment32, jsx as jsx160, jsxs as
|
|
44452
|
+
import { Fragment as Fragment32, jsx as jsx160, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
|
|
44452
44453
|
function stop(e) {
|
|
44453
44454
|
if (e !== void 0 && e !== null) {
|
|
44454
44455
|
e.preventDefault();
|
|
@@ -44581,7 +44582,7 @@ function ContactPersonName({
|
|
|
44581
44582
|
id,
|
|
44582
44583
|
fullWidth: true,
|
|
44583
44584
|
css: formRowStyle,
|
|
44584
|
-
children: /* @__PURE__ */
|
|
44585
|
+
children: /* @__PURE__ */ jsxs84(Fragment32, { children: [
|
|
44585
44586
|
/* @__PURE__ */ jsx160(
|
|
44586
44587
|
EuiFieldText2,
|
|
44587
44588
|
{
|
|
@@ -44680,8 +44681,8 @@ import { connectField as connectField19, filterDOMProps as filterDOMProps19 } fr
|
|
|
44680
44681
|
import { EuiFlexItem as EuiFlexItem17, EuiFormRow as EuiFormRow12, EuiText as EuiText25 } from "@elastic/eui";
|
|
44681
44682
|
|
|
44682
44683
|
// src/components/WfoForms/formFields/deprecated/ImsPortIdFieldStyling.ts
|
|
44683
|
-
import { css as
|
|
44684
|
-
var imsPortIdFieldStyling =
|
|
44684
|
+
import { css as css27 } from "@emotion/react";
|
|
44685
|
+
var imsPortIdFieldStyling = css27`
|
|
44685
44686
|
section.node-port {
|
|
44686
44687
|
display: flex;
|
|
44687
44688
|
flex-direction: row;
|
|
@@ -44698,7 +44699,7 @@ var imsPortIdFieldStyling = css26`
|
|
|
44698
44699
|
`;
|
|
44699
44700
|
|
|
44700
44701
|
// src/components/WfoForms/formFields/deprecated/ImsPortIdField.tsx
|
|
44701
|
-
import { jsx as jsx162, jsxs as
|
|
44702
|
+
import { jsx as jsx162, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
|
|
44702
44703
|
function nodeToOptionCorelink(nodeOption) {
|
|
44703
44704
|
return {
|
|
44704
44705
|
value: nodeOption.subscriptionId,
|
|
@@ -44784,7 +44785,7 @@ function ImsPortId({
|
|
|
44784
44785
|
EuiFormRow12,
|
|
44785
44786
|
{
|
|
44786
44787
|
label,
|
|
44787
|
-
labelAppend: /* @__PURE__ */
|
|
44788
|
+
labelAppend: /* @__PURE__ */ jsxs85(EuiText25, { size: "m", children: [
|
|
44788
44789
|
description,
|
|
44789
44790
|
" "
|
|
44790
44791
|
] }),
|
|
@@ -44792,10 +44793,10 @@ function ImsPortId({
|
|
|
44792
44793
|
isInvalid: error,
|
|
44793
44794
|
id,
|
|
44794
44795
|
fullWidth: true,
|
|
44795
|
-
children: !nodeValue && nodeSubscriptionId && /* @__PURE__ */
|
|
44796
|
+
children: !nodeValue && nodeSubscriptionId && /* @__PURE__ */ jsxs85(EuiText25, { children: [
|
|
44796
44797
|
"This Node subscription is missing. Please check the nodes status: ",
|
|
44797
44798
|
nodeSubscriptionId
|
|
44798
|
-
] }) || /* @__PURE__ */
|
|
44799
|
+
] }) || /* @__PURE__ */ jsxs85("section", { className: "node-port", children: [
|
|
44799
44800
|
/* @__PURE__ */ jsx162("div", { className: "node-select", children: /* @__PURE__ */ jsx162(
|
|
44800
44801
|
EuiFormRow12,
|
|
44801
44802
|
{
|
|
@@ -44896,7 +44897,7 @@ var ipamApi = orchestratorApi.injectEndpoints({
|
|
|
44896
44897
|
var { usePrefixFiltersQuery, useIpBlocksQuery, useFreeSubnetsQuery } = ipamApi;
|
|
44897
44898
|
|
|
44898
44899
|
// src/components/WfoForms/formFields/deprecated/SplitPrefix.tsx
|
|
44899
|
-
import { jsx as jsx163, jsxs as
|
|
44900
|
+
import { jsx as jsx163, jsxs as jsxs86 } from "@emotion/react/jsx-runtime";
|
|
44900
44901
|
var SplitPrefix = ({
|
|
44901
44902
|
id,
|
|
44902
44903
|
name,
|
|
@@ -44955,8 +44956,8 @@ var SplitPrefix = ({
|
|
|
44955
44956
|
const prefix_value = prefix_options.find(
|
|
44956
44957
|
(option) => option.value === selectedSubnet
|
|
44957
44958
|
);
|
|
44958
|
-
return /* @__PURE__ */ jsx163(EuiFlexItem18, { css: splitPrefixStyling, children: /* @__PURE__ */
|
|
44959
|
-
/* @__PURE__ */
|
|
44959
|
+
return /* @__PURE__ */ jsx163(EuiFlexItem18, { css: splitPrefixStyling, children: /* @__PURE__ */ jsxs86("section", { children: [
|
|
44960
|
+
/* @__PURE__ */ jsxs86("h3", { children: [
|
|
44960
44961
|
"Selected prefix: ",
|
|
44961
44962
|
subnet,
|
|
44962
44963
|
"/",
|
|
@@ -44973,7 +44974,7 @@ var SplitPrefix = ({
|
|
|
44973
44974
|
value: length_value
|
|
44974
44975
|
}
|
|
44975
44976
|
),
|
|
44976
|
-
/* @__PURE__ */
|
|
44977
|
+
/* @__PURE__ */ jsxs86("div", { children: [
|
|
44977
44978
|
/* @__PURE__ */ jsx163("div", { children: "Desired prefix:" }),
|
|
44978
44979
|
/* @__PURE__ */ jsx163(
|
|
44979
44980
|
ReactSelect3,
|
|
@@ -45018,7 +45019,7 @@ function prop(obj, key) {
|
|
|
45018
45019
|
var ipamStates = ["Free", "Allocated", null, "Planned", null, null];
|
|
45019
45020
|
|
|
45020
45021
|
// src/components/WfoForms/formFields/deprecated/IpPrefixTableField.tsx
|
|
45021
|
-
import { Fragment as Fragment33, jsx as jsx164, jsxs as
|
|
45022
|
+
import { Fragment as Fragment33, jsx as jsx164, jsxs as jsxs87 } from "@emotion/react/jsx-runtime";
|
|
45022
45023
|
var IpPrefixTableField = ({
|
|
45023
45024
|
id,
|
|
45024
45025
|
name,
|
|
@@ -45183,9 +45184,9 @@ var IpPrefixTableField = ({
|
|
|
45183
45184
|
}
|
|
45184
45185
|
);
|
|
45185
45186
|
}
|
|
45186
|
-
return /* @__PURE__ */
|
|
45187
|
-
/* @__PURE__ */
|
|
45188
|
-
/* @__PURE__ */
|
|
45187
|
+
return /* @__PURE__ */ jsxs87(EuiFlexItem19, { css: ipPrefixTableFieldStyling, children: [
|
|
45188
|
+
/* @__PURE__ */ jsxs87("div", { children: [
|
|
45189
|
+
/* @__PURE__ */ jsxs87(
|
|
45189
45190
|
EuiFlexGroup16,
|
|
45190
45191
|
{
|
|
45191
45192
|
gutterSize: "s",
|
|
@@ -45204,7 +45205,7 @@ var IpPrefixTableField = ({
|
|
|
45204
45205
|
]
|
|
45205
45206
|
}
|
|
45206
45207
|
),
|
|
45207
|
-
manualOverrideVisible && /* @__PURE__ */
|
|
45208
|
+
manualOverrideVisible && /* @__PURE__ */ jsxs87(EuiPanel3, { style: { marginBottom: "20px" }, children: [
|
|
45208
45209
|
/* @__PURE__ */ jsx164(
|
|
45209
45210
|
EuiFormRow13,
|
|
45210
45211
|
{
|
|
@@ -45230,9 +45231,9 @@ var IpPrefixTableField = ({
|
|
|
45230
45231
|
)
|
|
45231
45232
|
] })
|
|
45232
45233
|
] }),
|
|
45233
|
-
!manualOverrideVisible && /* @__PURE__ */
|
|
45234
|
-
/* @__PURE__ */
|
|
45235
|
-
/* @__PURE__ */
|
|
45234
|
+
!manualOverrideVisible && /* @__PURE__ */ jsxs87(Fragment33, { children: [
|
|
45235
|
+
/* @__PURE__ */ jsxs87("div", { children: [
|
|
45236
|
+
/* @__PURE__ */ jsxs87(EuiFlexGroup16, { gutterSize: "s", children: [
|
|
45236
45237
|
/* @__PURE__ */ jsx164(
|
|
45237
45238
|
EuiFlexItem19,
|
|
45238
45239
|
{
|
|
@@ -45323,7 +45324,7 @@ var IpPrefixTableField = ({
|
|
|
45323
45324
|
var IpPrefixTableField_default = IpPrefixTableField;
|
|
45324
45325
|
|
|
45325
45326
|
// src/components/WfoForms/formFields/deprecated/IpNetworkField.tsx
|
|
45326
|
-
import { jsx as jsx165, jsxs as
|
|
45327
|
+
import { jsx as jsx165, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
|
|
45327
45328
|
function IpNetwork({
|
|
45328
45329
|
id,
|
|
45329
45330
|
label,
|
|
@@ -45357,7 +45358,7 @@ function IpNetwork({
|
|
|
45357
45358
|
isInvalid: error,
|
|
45358
45359
|
id,
|
|
45359
45360
|
fullWidth: true,
|
|
45360
|
-
children: /* @__PURE__ */ jsx165("section", { className: "ipblock-selector", children: /* @__PURE__ */
|
|
45361
|
+
children: /* @__PURE__ */ jsx165("section", { className: "ipblock-selector", children: /* @__PURE__ */ jsxs88("div", { id, children: [
|
|
45361
45362
|
!prefixMin && /* @__PURE__ */ jsx165(
|
|
45362
45363
|
IpPrefixTableField_default,
|
|
45363
45364
|
{
|
|
@@ -45415,7 +45416,7 @@ function IpNetwork({
|
|
|
45415
45416
|
var IpNetworkField = connectField20(IpNetwork, { kind: "leaf" });
|
|
45416
45417
|
|
|
45417
45418
|
// src/components/WfoForms/formFields/deprecated/IpPrefixTableFieldStyling.ts
|
|
45418
|
-
import { css as
|
|
45419
|
+
import { css as css28 } from "@emotion/react";
|
|
45419
45420
|
var DARK_GREY_COLOR = "#333333";
|
|
45420
45421
|
var LIGHTER_GREY_COLOR = "#999999";
|
|
45421
45422
|
var LIGHT_GOLD_COLOR = "#fca456";
|
|
@@ -45436,7 +45437,7 @@ function shadeColor(color, percent) {
|
|
|
45436
45437
|
const BB = B.toString(16).length === 1 ? "0" + B.toString(16) : B.toString(16);
|
|
45437
45438
|
return "#" + RR + GG + BB;
|
|
45438
45439
|
}
|
|
45439
|
-
var ipPrefixTableFieldStyling =
|
|
45440
|
+
var ipPrefixTableFieldStyling = css28`
|
|
45440
45441
|
table.ip-blocks {
|
|
45441
45442
|
word-break: break-all;
|
|
45442
45443
|
margin-bottom: 20px;
|
|
@@ -45524,8 +45525,8 @@ var ipPrefixTableFieldStyling = css27`
|
|
|
45524
45525
|
`;
|
|
45525
45526
|
|
|
45526
45527
|
// src/components/WfoForms/formFields/deprecated/SplitPrefixStyling.ts
|
|
45527
|
-
import { css as
|
|
45528
|
-
var splitPrefixStyling =
|
|
45528
|
+
import { css as css29 } from "@emotion/react";
|
|
45529
|
+
var splitPrefixStyling = css29`
|
|
45529
45530
|
section.split-prefix {
|
|
45530
45531
|
display: flex;
|
|
45531
45532
|
flex-direction: column;
|
|
@@ -45812,7 +45813,7 @@ import {
|
|
|
45812
45813
|
EuiFlexItem as EuiFlexItem20,
|
|
45813
45814
|
EuiText as EuiText30
|
|
45814
45815
|
} from "@elastic/eui";
|
|
45815
|
-
import { Fragment as Fragment34, jsx as jsx168, jsxs as
|
|
45816
|
+
import { Fragment as Fragment34, jsx as jsx168, jsxs as jsxs89 } from "@emotion/react/jsx-runtime";
|
|
45816
45817
|
filterDOMProps23.register("properties", "wrap");
|
|
45817
45818
|
function Nest({
|
|
45818
45819
|
children,
|
|
@@ -45829,13 +45830,13 @@ function Nest({
|
|
|
45829
45830
|
const isInList = !isNaN(parseInt(lastNamePart));
|
|
45830
45831
|
const itemIndex = isInList ? parseInt(lastNamePart) : 0;
|
|
45831
45832
|
if (isInList) {
|
|
45832
|
-
return /* @__PURE__ */
|
|
45833
|
+
return /* @__PURE__ */ jsxs89(
|
|
45833
45834
|
EuiFlexGroup17,
|
|
45834
45835
|
{
|
|
45835
45836
|
...filterDOMProps23(props),
|
|
45836
45837
|
className: `${className} nest-field`,
|
|
45837
45838
|
children: [
|
|
45838
|
-
label && /* @__PURE__ */
|
|
45839
|
+
label && /* @__PURE__ */ jsxs89(Fragment34, { children: [
|
|
45839
45840
|
/* @__PURE__ */ jsx168("label", { className: "euiFormLabel euiFormRow__label", children: label }),
|
|
45840
45841
|
/* @__PURE__ */ jsx168(EuiText30, { size: "m", children: description })
|
|
45841
45842
|
] }),
|
|
@@ -45878,7 +45879,7 @@ import { useTranslations as useTranslations46 } from "next-intl";
|
|
|
45878
45879
|
import { connectField as connectField24, filterDOMProps as filterDOMProps24, useField as useField7 } from "uniforms";
|
|
45879
45880
|
import { AutoField as AutoField4 } from "uniforms-unstyled";
|
|
45880
45881
|
import { EuiDescribedFormGroup as EuiDescribedFormGroup2, EuiFlexItem as EuiFlexItem21, EuiFormRow as EuiFormRow17 } from "@elastic/eui";
|
|
45881
|
-
import { Fragment as Fragment35, jsx as jsx169, jsxs as
|
|
45882
|
+
import { Fragment as Fragment35, jsx as jsx169, jsxs as jsxs90 } from "@emotion/react/jsx-runtime";
|
|
45882
45883
|
filterDOMProps24.register("properties");
|
|
45883
45884
|
function OptGroup({
|
|
45884
45885
|
fields,
|
|
@@ -45897,7 +45898,7 @@ function OptGroup({
|
|
|
45897
45898
|
title: /* @__PURE__ */ jsx169("span", { children: t(`${name}.title`) }),
|
|
45898
45899
|
description: t(`${name}.description`),
|
|
45899
45900
|
className: `${className} optgroup-field`,
|
|
45900
|
-
children: /* @__PURE__ */
|
|
45901
|
+
children: /* @__PURE__ */ jsxs90(Fragment35, { children: [
|
|
45901
45902
|
/* @__PURE__ */ jsx169(EuiFlexItem21, { children: /* @__PURE__ */ jsx169(
|
|
45902
45903
|
EuiFormRow17,
|
|
45903
45904
|
{
|
|
@@ -45961,8 +45962,8 @@ var useGetSubscriptionDropdownOptions = (tags = [], statuses = ["active"]) => {
|
|
|
45961
45962
|
};
|
|
45962
45963
|
|
|
45963
45964
|
// src/components/WfoForms/formFields/SubscriptionFieldStyling.ts
|
|
45964
|
-
import { css as
|
|
45965
|
-
var subscriptionFieldStyling =
|
|
45965
|
+
import { css as css30 } from "@emotion/react";
|
|
45966
|
+
var subscriptionFieldStyling = css30`
|
|
45966
45967
|
.subscription-field {
|
|
45967
45968
|
> div {
|
|
45968
45969
|
display: flex;
|
|
@@ -45995,7 +45996,7 @@ var subscriptionFieldStyling = css29`
|
|
|
45995
45996
|
`;
|
|
45996
45997
|
|
|
45997
45998
|
// src/components/WfoForms/formFields/SubscriptionField.tsx
|
|
45998
|
-
import { jsx as jsx170, jsxs as
|
|
45999
|
+
import { jsx as jsx170, jsxs as jsxs91 } from "@emotion/react/jsx-runtime";
|
|
45999
46000
|
filterDOMProps25.register(
|
|
46000
46001
|
"excludedSubscriptionIds",
|
|
46001
46002
|
"customerId",
|
|
@@ -46149,7 +46150,7 @@ function SubscriptionFieldDefinition({
|
|
|
46149
46150
|
isInvalid: error,
|
|
46150
46151
|
id,
|
|
46151
46152
|
fullWidth: true,
|
|
46152
|
-
children: /* @__PURE__ */
|
|
46153
|
+
children: /* @__PURE__ */ jsxs91("div", { children: [
|
|
46153
46154
|
!disabled && /* @__PURE__ */ jsx170(
|
|
46154
46155
|
EuiFlexGroup18,
|
|
46155
46156
|
{
|
|
@@ -46209,10 +46210,10 @@ import { EuiFlexItem as EuiFlexItem23, EuiFormRow as EuiFormRow19, EuiText as Eu
|
|
|
46209
46210
|
|
|
46210
46211
|
// src/components/WfoForms/formFields/SummaryFieldStyling.ts
|
|
46211
46212
|
import { tint as tint3 } from "@elastic/eui";
|
|
46212
|
-
import { css as
|
|
46213
|
+
import { css as css31 } from "@emotion/react";
|
|
46213
46214
|
var getStyles13 = ({ theme }) => {
|
|
46214
46215
|
const toShadeColor = (color) => tint3(color, 0.9);
|
|
46215
|
-
const summaryFieldStyle =
|
|
46216
|
+
const summaryFieldStyle = css31({
|
|
46216
46217
|
"div.emailMessage": {
|
|
46217
46218
|
td: {
|
|
46218
46219
|
color: theme.colors.text
|
|
@@ -46253,7 +46254,7 @@ var getStyles13 = ({ theme }) => {
|
|
|
46253
46254
|
};
|
|
46254
46255
|
|
|
46255
46256
|
// src/components/WfoForms/formFields/SummaryField.tsx
|
|
46256
|
-
import { jsx as jsx171, jsxs as
|
|
46257
|
+
import { jsx as jsx171, jsxs as jsxs92 } from "@emotion/react/jsx-runtime";
|
|
46257
46258
|
function Summary({
|
|
46258
46259
|
id,
|
|
46259
46260
|
label,
|
|
@@ -46268,7 +46269,7 @@ function Summary({
|
|
|
46268
46269
|
}
|
|
46269
46270
|
const { headers, labels, columns } = data;
|
|
46270
46271
|
const extraColumnsData = columns.filter((_2, index) => index !== 0);
|
|
46271
|
-
const rows = columns[0].map((row, index) => /* @__PURE__ */
|
|
46272
|
+
const rows = columns[0].map((row, index) => /* @__PURE__ */ jsxs92("tr", { children: [
|
|
46272
46273
|
labels && /* @__PURE__ */ jsx171("td", { className: `label`, children: labels[index] }),
|
|
46273
46274
|
/* @__PURE__ */ jsx171("td", { className: `value`, children: typeof row === "string" && row.includes("<!doctype html>") ? /* @__PURE__ */ jsx171(
|
|
46274
46275
|
"div",
|
|
@@ -46279,7 +46280,7 @@ function Summary({
|
|
|
46279
46280
|
) : row }),
|
|
46280
46281
|
extraColumnsData && extraColumnsData.map((_2, idx) => /* @__PURE__ */ jsx171("td", { className: `value`, children: extraColumnsData[idx][index] }, idx))
|
|
46281
46282
|
] }, index));
|
|
46282
|
-
const tableHeader = !headers || headers.length === 0 ? null : /* @__PURE__ */
|
|
46283
|
+
const tableHeader = !headers || headers.length === 0 ? null : /* @__PURE__ */ jsxs92("tr", { children: [
|
|
46283
46284
|
labels && /* @__PURE__ */ jsx171("th", {}),
|
|
46284
46285
|
headers.map((header, idx) => /* @__PURE__ */ jsx171("th", { children: header }, idx))
|
|
46285
46286
|
] });
|
|
@@ -46290,7 +46291,7 @@ function Summary({
|
|
|
46290
46291
|
labelAppend: /* @__PURE__ */ jsx171(EuiText32, { size: "m", children: description }),
|
|
46291
46292
|
id,
|
|
46292
46293
|
fullWidth: true,
|
|
46293
|
-
children: /* @__PURE__ */ jsx171("section", { className: "table-summary", children: /* @__PURE__ */
|
|
46294
|
+
children: /* @__PURE__ */ jsx171("section", { className: "table-summary", children: /* @__PURE__ */ jsxs92("table", { id: `${id}-table`, children: [
|
|
46294
46295
|
/* @__PURE__ */ jsx171("thead", { children: tableHeader }),
|
|
46295
46296
|
/* @__PURE__ */ jsx171("tbody", { children: rows })
|
|
46296
46297
|
] }) })
|
|
@@ -46416,9 +46417,9 @@ function autoFieldFunction(props, uniforms) {
|
|
|
46416
46417
|
}
|
|
46417
46418
|
|
|
46418
46419
|
// src/components/WfoForms/UserInputFormStyling.ts
|
|
46419
|
-
import { css as
|
|
46420
|
+
import { css as css32 } from "@emotion/react";
|
|
46420
46421
|
var PRIMARY_COLOR2 = "#0077cc";
|
|
46421
|
-
var userInputFormStyling =
|
|
46422
|
+
var userInputFormStyling = css32`
|
|
46422
46423
|
.user-input-form {
|
|
46423
46424
|
h3 {
|
|
46424
46425
|
padding: 20px 0;
|
|
@@ -46495,7 +46496,7 @@ var userInputFormStyling = css31`
|
|
|
46495
46496
|
`;
|
|
46496
46497
|
|
|
46497
46498
|
// src/components/WfoForms/UserInputForm.tsx
|
|
46498
|
-
import { Fragment as Fragment36, jsx as jsx174, jsxs as
|
|
46499
|
+
import { Fragment as Fragment36, jsx as jsx174, jsxs as jsxs93 } from "@emotion/react/jsx-runtime";
|
|
46499
46500
|
filterDOMProps27.register("description");
|
|
46500
46501
|
filterDOMProps27.register("const");
|
|
46501
46502
|
filterDOMProps27.register("default");
|
|
@@ -46875,9 +46876,9 @@ function WfoUserInputForm({
|
|
|
46875
46876
|
children: buttons2.next.text ?? t(nextButtonTranslationKey)
|
|
46876
46877
|
}
|
|
46877
46878
|
);
|
|
46878
|
-
return /* @__PURE__ */
|
|
46879
|
+
return /* @__PURE__ */ jsxs93(Fragment36, { children: [
|
|
46879
46880
|
/* @__PURE__ */ jsx174(EuiHorizontalRule4, {}),
|
|
46880
|
-
/* @__PURE__ */
|
|
46881
|
+
/* @__PURE__ */ jsxs93(EuiFlexGroup19, { justifyContent: "spaceBetween", children: [
|
|
46881
46882
|
prevButton,
|
|
46882
46883
|
nextButton
|
|
46883
46884
|
] })
|
|
@@ -46896,9 +46897,9 @@ function WfoUserInputForm({
|
|
|
46896
46897
|
next: {}
|
|
46897
46898
|
};
|
|
46898
46899
|
const buttons = buttonsFromSchema;
|
|
46899
|
-
return /* @__PURE__ */ jsx174("div", { css: userInputFormStyling, children: /* @__PURE__ */ jsx174("div", { className: "user-input-form", children: /* @__PURE__ */
|
|
46900
|
+
return /* @__PURE__ */ jsx174("div", { css: userInputFormStyling, children: /* @__PURE__ */ jsx174("div", { className: "user-input-form", children: /* @__PURE__ */ jsxs93("section", { className: "form-fieldset", children: [
|
|
46900
46901
|
stepUserInput.title && stepUserInput.title !== "unknown" && /* @__PURE__ */ jsx174("h3", { children: stepUserInput.title }),
|
|
46901
|
-
/* @__PURE__ */ jsx174(AutoFieldProvider, { value: autoFieldFunction, children: /* @__PURE__ */
|
|
46902
|
+
/* @__PURE__ */ jsx174(AutoFieldProvider, { value: autoFieldFunction, children: /* @__PURE__ */ jsxs93(
|
|
46902
46903
|
AutoForm,
|
|
46903
46904
|
{
|
|
46904
46905
|
schema: bridge,
|
|
@@ -47150,7 +47151,7 @@ var WfoDropdownButton = ({
|
|
|
47150
47151
|
|
|
47151
47152
|
// src/components/WfoProcessList/WfoProcessesList.tsx
|
|
47152
47153
|
import { useTranslations as useTranslations70 } from "next-intl";
|
|
47153
|
-
import
|
|
47154
|
+
import Link10 from "next/link";
|
|
47154
47155
|
|
|
47155
47156
|
// src/pages/metadata/WfoProductBlocksPage.tsx
|
|
47156
47157
|
import { useEffect as useEffect22, useState as useState34 } from "react";
|
|
@@ -47161,7 +47162,7 @@ import { EuiBadgeGroup as EuiBadgeGroup2 } from "@elastic/eui";
|
|
|
47161
47162
|
import { useTranslations as useTranslations51 } from "next-intl";
|
|
47162
47163
|
import { useRouter as useRouter7 } from "next/router";
|
|
47163
47164
|
import { EuiSpacer as EuiSpacer16, EuiTab as EuiTab2, EuiTabs as EuiTabs2 } from "@elastic/eui";
|
|
47164
|
-
import { Fragment as Fragment38, jsx as jsx182, jsxs as
|
|
47165
|
+
import { Fragment as Fragment38, jsx as jsx182, jsxs as jsxs94 } from "@emotion/react/jsx-runtime";
|
|
47165
47166
|
var metaDataTabs = [
|
|
47166
47167
|
{
|
|
47167
47168
|
id: 1,
|
|
@@ -47196,7 +47197,7 @@ var WfoMetadataPageLayout = ({
|
|
|
47196
47197
|
const router = useRouter7();
|
|
47197
47198
|
const t = useTranslations51("metadata");
|
|
47198
47199
|
const currentPath = router.pathname;
|
|
47199
|
-
return /* @__PURE__ */
|
|
47200
|
+
return /* @__PURE__ */ jsxs94(Fragment38, { children: [
|
|
47200
47201
|
/* @__PURE__ */ jsx182(WfoContentHeader, { title: t("title") }),
|
|
47201
47202
|
/* @__PURE__ */ jsx182(EuiTabs2, { children: tabs.map(({ id, translationKey: name, path }) => /* @__PURE__ */ jsx182(
|
|
47202
47203
|
EuiTab2,
|
|
@@ -47213,7 +47214,7 @@ var WfoMetadataPageLayout = ({
|
|
|
47213
47214
|
};
|
|
47214
47215
|
|
|
47215
47216
|
// src/pages/metadata/WfoProductBlocksPage.tsx
|
|
47216
|
-
import { Fragment as Fragment39, jsx as jsx183, jsxs as
|
|
47217
|
+
import { Fragment as Fragment39, jsx as jsx183, jsxs as jsxs95 } from "@emotion/react/jsx-runtime";
|
|
47217
47218
|
var PRODUCT_BLOCK_FIELD_NAME = "name";
|
|
47218
47219
|
var WfoProductBlocksPage = () => {
|
|
47219
47220
|
const t = useTranslations52("metadata.productBlocks");
|
|
@@ -47281,7 +47282,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47281
47282
|
index
|
|
47282
47283
|
)) }),
|
|
47283
47284
|
renderTooltip: (productBlocks) => {
|
|
47284
|
-
return productBlocks.map((productBlock) => /* @__PURE__ */
|
|
47285
|
+
return productBlocks.map((productBlock) => /* @__PURE__ */ jsxs95("p", { children: [
|
|
47285
47286
|
"- ",
|
|
47286
47287
|
productBlock.name
|
|
47287
47288
|
] }, productBlock.name));
|
|
@@ -47307,7 +47308,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47307
47308
|
index
|
|
47308
47309
|
)) }),
|
|
47309
47310
|
renderTooltip: (resourceTypes) => {
|
|
47310
|
-
return resourceTypes.map((resourceType) => /* @__PURE__ */
|
|
47311
|
+
return resourceTypes.map((resourceType) => /* @__PURE__ */ jsxs95("p", { children: [
|
|
47311
47312
|
"- ",
|
|
47312
47313
|
resourceType.resourceType
|
|
47313
47314
|
] }, resourceType.resourceType));
|
|
@@ -47406,7 +47407,7 @@ var WfoProductBlocksPage = () => {
|
|
|
47406
47407
|
import { useEffect as useEffect23, useState as useState35 } from "react";
|
|
47407
47408
|
import { useTranslations as useTranslations53 } from "next-intl";
|
|
47408
47409
|
import { EuiBadgeGroup as EuiBadgeGroup3 } from "@elastic/eui";
|
|
47409
|
-
import { Fragment as Fragment40, jsx as jsx184, jsxs as
|
|
47410
|
+
import { Fragment as Fragment40, jsx as jsx184, jsxs as jsxs96 } from "@emotion/react/jsx-runtime";
|
|
47410
47411
|
var RESOURCE_TYPE_FIELD_TYPE = "resourceType";
|
|
47411
47412
|
var WfoResourceTypesPage = () => {
|
|
47412
47413
|
const t = useTranslations53("metadata.resourceTypes");
|
|
@@ -47472,7 +47473,7 @@ var WfoResourceTypesPage = () => {
|
|
|
47472
47473
|
index
|
|
47473
47474
|
)) }),
|
|
47474
47475
|
renderTooltip: (productBlocks) => {
|
|
47475
|
-
return productBlocks.map((productBlock) => /* @__PURE__ */
|
|
47476
|
+
return productBlocks.map((productBlock) => /* @__PURE__ */ jsxs96("p", { children: [
|
|
47476
47477
|
"- ",
|
|
47477
47478
|
productBlock.name
|
|
47478
47479
|
] }, productBlock.name));
|
|
@@ -47555,7 +47556,7 @@ var WfoResourceTypesPage = () => {
|
|
|
47555
47556
|
// src/pages/metadata/WfoProductsPage.tsx
|
|
47556
47557
|
import { useEffect as useEffect24, useState as useState36 } from "react";
|
|
47557
47558
|
import { useTranslations as useTranslations54 } from "next-intl";
|
|
47558
|
-
import { Fragment as Fragment41, jsx as jsx185, jsxs as
|
|
47559
|
+
import { Fragment as Fragment41, jsx as jsx185, jsxs as jsxs97 } from "@emotion/react/jsx-runtime";
|
|
47559
47560
|
var PRODUCT_FIELD_NAME = "name";
|
|
47560
47561
|
var WfoProductsPage = () => {
|
|
47561
47562
|
const t = useTranslations54("metadata.products");
|
|
@@ -47631,7 +47632,7 @@ var WfoProductsPage = () => {
|
|
|
47631
47632
|
index
|
|
47632
47633
|
)) }),
|
|
47633
47634
|
renderTooltip: (fixedInputs) => {
|
|
47634
|
-
return fixedInputs.map((fixedInput) => /* @__PURE__ */
|
|
47635
|
+
return fixedInputs.map((fixedInput) => /* @__PURE__ */ jsxs97("p", { children: [
|
|
47635
47636
|
"- ",
|
|
47636
47637
|
`${fixedInput.name}: ${fixedInput.value}`
|
|
47637
47638
|
] }, fixedInput.name));
|
|
@@ -47649,7 +47650,7 @@ var WfoProductsPage = () => {
|
|
|
47649
47650
|
index
|
|
47650
47651
|
)) }),
|
|
47651
47652
|
renderTooltip: (productBlocks) => {
|
|
47652
|
-
return productBlocks.map((productBlock) => /* @__PURE__ */
|
|
47653
|
+
return productBlocks.map((productBlock) => /* @__PURE__ */ jsxs97("p", { children: [
|
|
47653
47654
|
"- ",
|
|
47654
47655
|
productBlock.name
|
|
47655
47656
|
] }, productBlock.name));
|
|
@@ -47789,7 +47790,7 @@ var graphQlWorkflowListMapper = ({
|
|
|
47789
47790
|
});
|
|
47790
47791
|
|
|
47791
47792
|
// src/pages/metadata/WfoWorkflowsPage.tsx
|
|
47792
|
-
import { Fragment as Fragment42, jsx as jsx186, jsxs as
|
|
47793
|
+
import { Fragment as Fragment42, jsx as jsx186, jsxs as jsxs98 } from "@emotion/react/jsx-runtime";
|
|
47793
47794
|
var WfoWorkflowsPage = () => {
|
|
47794
47795
|
const t = useTranslations55("metadata.workflows");
|
|
47795
47796
|
const tError = useTranslations55("errors");
|
|
@@ -47852,7 +47853,7 @@ var WfoWorkflowsPage = () => {
|
|
|
47852
47853
|
index
|
|
47853
47854
|
)) }),
|
|
47854
47855
|
renderTooltip: (productTags) => {
|
|
47855
|
-
return productTags?.filter(onlyUnique).sort((tagA, tagB) => tagA.localeCompare(tagB)).map((productTag) => /* @__PURE__ */
|
|
47856
|
+
return productTags?.filter(onlyUnique).sort((tagA, tagB) => tagA.localeCompare(tagB)).map((productTag) => /* @__PURE__ */ jsxs98("p", { children: [
|
|
47856
47857
|
"- ",
|
|
47857
47858
|
productTag
|
|
47858
47859
|
] }, productTag));
|
|
@@ -47979,7 +47980,7 @@ var graphQlTaskListMapper = ({
|
|
|
47979
47980
|
});
|
|
47980
47981
|
|
|
47981
47982
|
// src/pages/metadata/WfoTasksPage.tsx
|
|
47982
|
-
import { Fragment as Fragment43, jsx as jsx187, jsxs as
|
|
47983
|
+
import { Fragment as Fragment43, jsx as jsx187, jsxs as jsxs99 } from "@emotion/react/jsx-runtime";
|
|
47983
47984
|
var WfoTasksPage = () => {
|
|
47984
47985
|
const t = useTranslations56("metadata.tasks");
|
|
47985
47986
|
const tError = useTranslations56("errors");
|
|
@@ -48042,7 +48043,7 @@ var WfoTasksPage = () => {
|
|
|
48042
48043
|
index
|
|
48043
48044
|
)) }),
|
|
48044
48045
|
renderTooltip: (productTags) => {
|
|
48045
|
-
return productTags?.filter(onlyUnique).sort((tagA, tagB) => tagA.localeCompare(tagB)).map((productTag) => /* @__PURE__ */
|
|
48046
|
+
return productTags?.filter(onlyUnique).sort((tagA, tagB) => tagA.localeCompare(tagB)).map((productTag) => /* @__PURE__ */ jsxs99("p", { children: [
|
|
48046
48047
|
"- ",
|
|
48047
48048
|
productTag
|
|
48048
48049
|
] }, productTag));
|
|
@@ -48137,9 +48138,9 @@ var WfoTasksPage = () => {
|
|
|
48137
48138
|
};
|
|
48138
48139
|
|
|
48139
48140
|
// src/pages/processes/WfoProcessListSubscriptionsCell.tsx
|
|
48140
|
-
import
|
|
48141
|
+
import Link8 from "next/link";
|
|
48141
48142
|
import { EuiFlexGroup as EuiFlexGroup20 } from "@elastic/eui";
|
|
48142
|
-
import { Fragment as Fragment44, jsx as jsx188, jsxs as
|
|
48143
|
+
import { Fragment as Fragment44, jsx as jsx188, jsxs as jsxs100 } from "@emotion/react/jsx-runtime";
|
|
48143
48144
|
var RENDER_ALL = "RENDER_ALL";
|
|
48144
48145
|
var RenderDirection = /* @__PURE__ */ ((RenderDirection2) => {
|
|
48145
48146
|
RenderDirection2["HORIZONTAL"] = "HORIZONTAL";
|
|
@@ -48157,14 +48158,14 @@ var WfoProcessListSubscriptionsCell = ({
|
|
|
48157
48158
|
}
|
|
48158
48159
|
const visibleSubscriptions = numberOfSubscriptionsToRender === RENDER_ALL ? subscriptions : subscriptions.slice(0, numberOfSubscriptionsToRender);
|
|
48159
48160
|
const numberOfNotVisibleSubscriptions = length - visibleSubscriptions.length;
|
|
48160
|
-
return /* @__PURE__ */ jsx188(Fragment44, { children: /* @__PURE__ */
|
|
48161
|
+
return /* @__PURE__ */ jsx188(Fragment44, { children: /* @__PURE__ */ jsxs100(
|
|
48161
48162
|
EuiFlexGroup20,
|
|
48162
48163
|
{
|
|
48163
48164
|
direction: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "row" : "column",
|
|
48164
48165
|
gutterSize: renderDirection === "HORIZONTAL" /* HORIZONTAL */ ? "m" : "xs",
|
|
48165
48166
|
children: [
|
|
48166
48167
|
visibleSubscriptions.map((subscription) => /* @__PURE__ */ jsx188(
|
|
48167
|
-
|
|
48168
|
+
Link8,
|
|
48168
48169
|
{
|
|
48169
48170
|
href: `/subscriptions/${subscription.subscriptionId}`,
|
|
48170
48171
|
css: {
|
|
@@ -48270,14 +48271,14 @@ var getIndexOfCurrentStep = (timelineItems) => {
|
|
|
48270
48271
|
};
|
|
48271
48272
|
|
|
48272
48273
|
// src/pages/processes/WfoProcessDetail.tsx
|
|
48273
|
-
import { Fragment as Fragment45, jsx as jsx189, jsxs as
|
|
48274
|
+
import { Fragment as Fragment45, jsx as jsx189, jsxs as jsxs101 } from "@emotion/react/jsx-runtime";
|
|
48274
48275
|
var ProcessHeaderValue = ({
|
|
48275
48276
|
translationKey,
|
|
48276
48277
|
value = ""
|
|
48277
48278
|
}) => {
|
|
48278
48279
|
const t = useTranslations57("processes.detail");
|
|
48279
48280
|
const { theme } = useOrchestratorTheme();
|
|
48280
|
-
return /* @__PURE__ */
|
|
48281
|
+
return /* @__PURE__ */ jsxs101(
|
|
48281
48282
|
EuiFlexGroup21,
|
|
48282
48283
|
{
|
|
48283
48284
|
direction: "column",
|
|
@@ -48384,8 +48385,8 @@ var WfoProcessDetail = ({
|
|
|
48384
48385
|
router.push(PATH_TASKS);
|
|
48385
48386
|
}
|
|
48386
48387
|
});
|
|
48387
|
-
return /* @__PURE__ */
|
|
48388
|
-
/* @__PURE__ */
|
|
48388
|
+
return /* @__PURE__ */ jsxs101(Fragment45, { children: [
|
|
48389
|
+
/* @__PURE__ */ jsxs101(
|
|
48389
48390
|
WfoContentHeader,
|
|
48390
48391
|
{
|
|
48391
48392
|
title: /* @__PURE__ */ jsx189(WfoTitleWithWebsocketBadge, { title: pageTitle }),
|
|
@@ -48457,7 +48458,7 @@ var WfoProcessDetail = ({
|
|
|
48457
48458
|
hasBorder: false,
|
|
48458
48459
|
color: "subdued",
|
|
48459
48460
|
element: "div",
|
|
48460
|
-
children: isLoading && !hasError && /* @__PURE__ */ jsx189(WfoLoading, {}) || processDetail !== void 0 && /* @__PURE__ */
|
|
48461
|
+
children: isLoading && !hasError && /* @__PURE__ */ jsx189(WfoLoading, {}) || processDetail !== void 0 && /* @__PURE__ */ jsxs101(EuiFlexGroup21, { direction: "row", gutterSize: "m", children: [
|
|
48461
48462
|
/* @__PURE__ */ jsx189(
|
|
48462
48463
|
ProcessHeaderValue,
|
|
48463
48464
|
{
|
|
@@ -48506,7 +48507,7 @@ var WfoProcessDetail = ({
|
|
|
48506
48507
|
),
|
|
48507
48508
|
process && isAllowed(
|
|
48508
48509
|
"/orchestrator/subscriptions/view/from-process" /* PROCESS_RELATED_SUBSCRIPTIONS */
|
|
48509
|
-
) && processDetail.subscriptions && /* @__PURE__ */
|
|
48510
|
+
) && processDetail.subscriptions && /* @__PURE__ */ jsxs101(
|
|
48510
48511
|
EuiFlexGroup21,
|
|
48511
48512
|
{
|
|
48512
48513
|
gutterSize: "xs",
|
|
@@ -48641,32 +48642,32 @@ import {
|
|
|
48641
48642
|
import { EuiFlexItem as EuiFlexItem24 } from "@elastic/eui";
|
|
48642
48643
|
|
|
48643
48644
|
// src/components/WfoWorkflowSteps/styles.ts
|
|
48644
|
-
import { css as
|
|
48645
|
+
import { css as css33 } from "@emotion/react";
|
|
48645
48646
|
var getStyles14 = ({ theme, toSecondaryColor }) => {
|
|
48646
|
-
const stepSpacerStyle =
|
|
48647
|
+
const stepSpacerStyle = css33({
|
|
48647
48648
|
borderLeft: `1px solid ${theme.colors.darkShade}`,
|
|
48648
48649
|
height: "24px",
|
|
48649
48650
|
marginLeft: "36px"
|
|
48650
48651
|
});
|
|
48651
|
-
const stepRowStyle =
|
|
48652
|
+
const stepRowStyle = css33({
|
|
48652
48653
|
flexGrow: 1,
|
|
48653
48654
|
alignItems: "center",
|
|
48654
48655
|
justifyContent: "flex-end"
|
|
48655
48656
|
});
|
|
48656
|
-
const stepListHeaderStyle =
|
|
48657
|
+
const stepListHeaderStyle = css33({
|
|
48657
48658
|
marginBottom: "24px",
|
|
48658
48659
|
marginTop: "60px",
|
|
48659
48660
|
alignItems: "flex-end"
|
|
48660
48661
|
});
|
|
48661
|
-
const stepListContentStyle =
|
|
48662
|
+
const stepListContentStyle = css33({
|
|
48662
48663
|
flexDirection: "row",
|
|
48663
48664
|
alignItems: "center"
|
|
48664
48665
|
});
|
|
48665
|
-
const stepListContentBoldTextStyle =
|
|
48666
|
+
const stepListContentBoldTextStyle = css33({
|
|
48666
48667
|
fontSize: theme.size.base,
|
|
48667
48668
|
fontWeight: theme.font.weight.bold
|
|
48668
48669
|
});
|
|
48669
|
-
const stepListContentAnchorStyle =
|
|
48670
|
+
const stepListContentAnchorStyle = css33({
|
|
48670
48671
|
marginTop: 2,
|
|
48671
48672
|
marginLeft: 0,
|
|
48672
48673
|
fontSize: theme.size.m,
|
|
@@ -48674,7 +48675,7 @@ var getStyles14 = ({ theme, toSecondaryColor }) => {
|
|
|
48674
48675
|
color: theme.colors.link,
|
|
48675
48676
|
cursor: "pointer"
|
|
48676
48677
|
});
|
|
48677
|
-
const stepListOptionsContainerStyle =
|
|
48678
|
+
const stepListOptionsContainerStyle = css33({
|
|
48678
48679
|
flexGrow: 0
|
|
48679
48680
|
});
|
|
48680
48681
|
const stepStateIcon = {
|
|
@@ -48690,36 +48691,36 @@ var getStyles14 = ({ theme, toSecondaryColor }) => {
|
|
|
48690
48691
|
color: theme.colors.disabled,
|
|
48691
48692
|
fontWeight: theme.font.weight.semiBold
|
|
48692
48693
|
};
|
|
48693
|
-
const stepStateSuccessIconStyle =
|
|
48694
|
+
const stepStateSuccessIconStyle = css33({
|
|
48694
48695
|
...stepStateIcon,
|
|
48695
48696
|
backgroundColor: toSecondaryColor(theme.colors.primary)
|
|
48696
48697
|
});
|
|
48697
|
-
const stepStateSuspendIconStyle =
|
|
48698
|
+
const stepStateSuspendIconStyle = css33({
|
|
48698
48699
|
...stepStateIcon,
|
|
48699
48700
|
backgroundColor: toSecondaryColor(theme.colors.warning)
|
|
48700
48701
|
});
|
|
48701
|
-
const stepStatePendingIconStyle =
|
|
48702
|
+
const stepStatePendingIconStyle = css33({
|
|
48702
48703
|
...stepStateIcon,
|
|
48703
48704
|
backgroundColor: toSecondaryColor(theme.colors.darkShade)
|
|
48704
48705
|
});
|
|
48705
|
-
const stepStateFailedIconStyle =
|
|
48706
|
+
const stepStateFailedIconStyle = css33({
|
|
48706
48707
|
...stepStateIcon,
|
|
48707
48708
|
backgroundColor: toSecondaryColor(theme.colors.danger)
|
|
48708
48709
|
});
|
|
48709
|
-
const stepHeaderRightStyle =
|
|
48710
|
+
const stepHeaderRightStyle = css33({
|
|
48710
48711
|
alignItems: "center"
|
|
48711
48712
|
});
|
|
48712
|
-
const stepEmailContainerStyle =
|
|
48713
|
+
const stepEmailContainerStyle = css33({
|
|
48713
48714
|
paddingLeft: 24,
|
|
48714
48715
|
width: 600,
|
|
48715
48716
|
marginTop: 0
|
|
48716
48717
|
});
|
|
48717
|
-
const getStepHeaderStyle = (isClickable) =>
|
|
48718
|
+
const getStepHeaderStyle = (isClickable) => css33({
|
|
48718
48719
|
gap: 0,
|
|
48719
48720
|
alignItems: "center",
|
|
48720
48721
|
cursor: isClickable ? "pointer" : "default"
|
|
48721
48722
|
});
|
|
48722
|
-
const getStepToggleExpandStyle = (isVisible) =>
|
|
48723
|
+
const getStepToggleExpandStyle = (isVisible) => css33({
|
|
48723
48724
|
marginRight: theme.base / 2,
|
|
48724
48725
|
visibility: isVisible ? "visible" : "hidden"
|
|
48725
48726
|
});
|
|
@@ -48744,7 +48745,7 @@ var getStyles14 = ({ theme, toSecondaryColor }) => {
|
|
|
48744
48745
|
};
|
|
48745
48746
|
|
|
48746
48747
|
// src/components/WfoWorkflowSteps/WfoStepStatusIcon/WfoStepStatusIcon.tsx
|
|
48747
|
-
import { jsx as jsx191, jsxs as
|
|
48748
|
+
import { jsx as jsx191, jsxs as jsxs102 } from "@emotion/react/jsx-runtime";
|
|
48748
48749
|
var SubIcon = ({ stepStatus, color = "" }) => {
|
|
48749
48750
|
switch (stepStatus) {
|
|
48750
48751
|
case "suspend" /* SUSPEND */:
|
|
@@ -48818,7 +48819,7 @@ var WfoStepStatusIcon = ({
|
|
|
48818
48819
|
];
|
|
48819
48820
|
}
|
|
48820
48821
|
})();
|
|
48821
|
-
return /* @__PURE__ */
|
|
48822
|
+
return /* @__PURE__ */ jsxs102(EuiFlexItem24, { css: { flexDirection: "row" }, grow: 0, children: [
|
|
48822
48823
|
/* @__PURE__ */ jsx191("div", { css: stepStateStyle, children: /* @__PURE__ */ jsx191(
|
|
48823
48824
|
MainIcon,
|
|
48824
48825
|
{
|
|
@@ -48907,7 +48908,7 @@ var WfoStepForm = ({
|
|
|
48907
48908
|
};
|
|
48908
48909
|
|
|
48909
48910
|
// src/components/WfoWorkflowSteps/WfoStep/WfoStep.tsx
|
|
48910
|
-
import { Fragment as Fragment46, jsx as jsx193, jsxs as
|
|
48911
|
+
import { Fragment as Fragment46, jsx as jsx193, jsxs as jsxs103 } from "@emotion/react/jsx-runtime";
|
|
48911
48912
|
var WfoStep = React58.forwardRef(
|
|
48912
48913
|
({
|
|
48913
48914
|
stepListItem,
|
|
@@ -48938,10 +48939,10 @@ var WfoStep = React58.forwardRef(
|
|
|
48938
48939
|
if (!value) {
|
|
48939
48940
|
return "";
|
|
48940
48941
|
}
|
|
48941
|
-
return /* @__PURE__ */
|
|
48942
|
+
return /* @__PURE__ */ jsxs103(EuiText34, { size: "s", children: [
|
|
48942
48943
|
/* @__PURE__ */ jsx193("h4", { children: "To" }),
|
|
48943
48944
|
/* @__PURE__ */ jsx193("p", { children: value.to.map(
|
|
48944
|
-
(v, i) => /* @__PURE__ */
|
|
48945
|
+
(v, i) => /* @__PURE__ */ jsxs103("div", { children: [
|
|
48945
48946
|
v.name,
|
|
48946
48947
|
" <",
|
|
48947
48948
|
/* @__PURE__ */ jsx193("a", { href: `mailto: ${v.email}`, children: v.email }),
|
|
@@ -48950,7 +48951,7 @@ var WfoStep = React58.forwardRef(
|
|
|
48950
48951
|
) }),
|
|
48951
48952
|
/* @__PURE__ */ jsx193("h4", { children: "CC" }),
|
|
48952
48953
|
/* @__PURE__ */ jsx193("p", { children: value.cc.map(
|
|
48953
|
-
(v, i) => /* @__PURE__ */
|
|
48954
|
+
(v, i) => /* @__PURE__ */ jsxs103("div", { children: [
|
|
48954
48955
|
v.name,
|
|
48955
48956
|
" <",
|
|
48956
48957
|
/* @__PURE__ */ jsx193("a", { href: `mailto: ${v.email}`, children: v.email }),
|
|
@@ -48969,8 +48970,8 @@ var WfoStep = React58.forwardRef(
|
|
|
48969
48970
|
)
|
|
48970
48971
|
] });
|
|
48971
48972
|
};
|
|
48972
|
-
return /* @__PURE__ */ jsx193("div", { ref, children: /* @__PURE__ */
|
|
48973
|
-
/* @__PURE__ */
|
|
48973
|
+
return /* @__PURE__ */ jsx193("div", { ref, children: /* @__PURE__ */ jsxs103(EuiPanel5, { children: [
|
|
48974
|
+
/* @__PURE__ */ jsxs103(
|
|
48974
48975
|
EuiFlexGroup22,
|
|
48975
48976
|
{
|
|
48976
48977
|
css: getStepHeaderStyle(hasStepContent),
|
|
@@ -48983,15 +48984,15 @@ var WfoStep = React58.forwardRef(
|
|
|
48983
48984
|
isStartStep
|
|
48984
48985
|
}
|
|
48985
48986
|
),
|
|
48986
|
-
/* @__PURE__ */
|
|
48987
|
+
/* @__PURE__ */ jsxs103(EuiFlexItem26, { grow: 0, children: [
|
|
48987
48988
|
/* @__PURE__ */ jsx193(EuiText34, { css: stepListContentBoldTextStyle, children: step.name }),
|
|
48988
|
-
/* @__PURE__ */
|
|
48989
|
+
/* @__PURE__ */ jsxs103(EuiText34, { children: [
|
|
48989
48990
|
step.status,
|
|
48990
48991
|
" ",
|
|
48991
48992
|
step.executed && `- ${formatDate(step.executed)}`
|
|
48992
48993
|
] })
|
|
48993
48994
|
] }),
|
|
48994
|
-
/* @__PURE__ */ jsx193(EuiFlexGroup22, { css: stepRowStyle, children: step.executed && /* @__PURE__ */
|
|
48995
|
+
/* @__PURE__ */ jsx193(EuiFlexGroup22, { css: stepRowStyle, children: step.executed && /* @__PURE__ */ jsxs103(Fragment46, { children: [
|
|
48995
48996
|
isExpanded && /* @__PURE__ */ jsx193(
|
|
48996
48997
|
EuiButton12,
|
|
48997
48998
|
{
|
|
@@ -49005,7 +49006,7 @@ var WfoStep = React58.forwardRef(
|
|
|
49005
49006
|
)
|
|
49006
49007
|
}
|
|
49007
49008
|
),
|
|
49008
|
-
/* @__PURE__ */
|
|
49009
|
+
/* @__PURE__ */ jsxs103(
|
|
49009
49010
|
EuiFlexItem26,
|
|
49010
49011
|
{
|
|
49011
49012
|
grow: 0,
|
|
@@ -49062,7 +49063,7 @@ WfoStep.displayName = "WfoStep";
|
|
|
49062
49063
|
|
|
49063
49064
|
// src/components/WfoWorkflowSteps/WfoStepList/WfoStepList.tsx
|
|
49064
49065
|
import React59, { useImperativeHandle as useImperativeHandle2, useRef as useRef9 } from "react";
|
|
49065
|
-
import { Fragment as Fragment47, jsx as jsx194, jsxs as
|
|
49066
|
+
import { Fragment as Fragment47, jsx as jsx194, jsxs as jsxs104 } from "@emotion/react/jsx-runtime";
|
|
49066
49067
|
var WfoStepList = React59.forwardRef(
|
|
49067
49068
|
({
|
|
49068
49069
|
stepListItems,
|
|
@@ -49109,7 +49110,7 @@ var WfoStepList = React59.forwardRef(
|
|
|
49109
49110
|
}
|
|
49110
49111
|
};
|
|
49111
49112
|
return /* @__PURE__ */ jsx194(Fragment47, { children: stepListItems.map((stepListItem, index) => {
|
|
49112
|
-
const stepComponent = /* @__PURE__ */
|
|
49113
|
+
const stepComponent = /* @__PURE__ */ jsxs104("div", { children: [
|
|
49113
49114
|
index !== 0 && /* @__PURE__ */ jsx194("div", { css: stepSpacerStyle }),
|
|
49114
49115
|
/* @__PURE__ */ jsx194(
|
|
49115
49116
|
WfoStep,
|
|
@@ -49158,7 +49159,7 @@ import {
|
|
|
49158
49159
|
|
|
49159
49160
|
// src/components/WfoDiff/styles.ts
|
|
49160
49161
|
import { shade as shade2, tint as tint4 } from "@elastic/eui";
|
|
49161
|
-
import { css as
|
|
49162
|
+
import { css as css34 } from "@emotion/react";
|
|
49162
49163
|
var getWfoDiffStyles = ({
|
|
49163
49164
|
theme,
|
|
49164
49165
|
toSecondaryColor,
|
|
@@ -49170,7 +49171,7 @@ var getWfoDiffStyles = ({
|
|
|
49170
49171
|
const insertCodeColor = isDarkThemeActive ? shade2(insertGutterColor, SHADE_FACTOR) : tint4(insertGutterColor, TINT_FACTOR);
|
|
49171
49172
|
const deleteColor = toSecondaryColor(theme.colors.danger);
|
|
49172
49173
|
const deleteSecondaryColor = isDarkThemeActive ? shade2(deleteColor, SHADE_FACTOR) : tint4(deleteColor, TINT_FACTOR);
|
|
49173
|
-
const diffStyle =
|
|
49174
|
+
const diffStyle = css34({
|
|
49174
49175
|
".diff-code-insert": {
|
|
49175
49176
|
backgroundColor: insertCodeColor
|
|
49176
49177
|
},
|
|
@@ -49193,7 +49194,7 @@ var getWfoDiffStyles = ({
|
|
|
49193
49194
|
};
|
|
49194
49195
|
|
|
49195
49196
|
// src/components/WfoDiff/WfoDiff.tsx
|
|
49196
|
-
import { jsx as jsx195, jsxs as
|
|
49197
|
+
import { jsx as jsx195, jsxs as jsxs105 } from "@emotion/react/jsx-runtime";
|
|
49197
49198
|
var EMPTY_HUNKS = [];
|
|
49198
49199
|
var SMALL_CONTEXT = 3;
|
|
49199
49200
|
var FULL_CONTEXT = 1e6;
|
|
@@ -49231,8 +49232,8 @@ var WfoDiff = ({ oldText, newText, syntax }) => {
|
|
|
49231
49232
|
useEffect27(() => {
|
|
49232
49233
|
updateDiffText();
|
|
49233
49234
|
}, [updateDiffText, showFull]);
|
|
49234
|
-
return /* @__PURE__ */
|
|
49235
|
-
/* @__PURE__ */
|
|
49235
|
+
return /* @__PURE__ */ jsxs105("div", { children: [
|
|
49236
|
+
/* @__PURE__ */ jsxs105(EuiFlexGroup23, { gutterSize: "xs", children: [
|
|
49236
49237
|
/* @__PURE__ */ jsx195(EuiFlexItem27, { grow: false, children: /* @__PURE__ */ jsx195(EuiText35, { children: /* @__PURE__ */ jsx195("h3", { children: t("title") }) }) }),
|
|
49237
49238
|
/* @__PURE__ */ jsx195(EuiFlexItem27, { grow: false, children: /* @__PURE__ */ jsx195(
|
|
49238
49239
|
EuiButtonIcon12,
|
|
@@ -49278,9 +49279,9 @@ import { useTranslations as useTranslations60 } from "next-intl";
|
|
|
49278
49279
|
import { EuiCodeBlock, EuiText as EuiText36 } from "@elastic/eui";
|
|
49279
49280
|
|
|
49280
49281
|
// src/components/WfoWorkflowSteps/WfoTraceback/styles.ts
|
|
49281
|
-
import { css as
|
|
49282
|
+
import { css as css35 } from "@emotion/react";
|
|
49282
49283
|
var getStyles15 = ({ theme }) => {
|
|
49283
|
-
const codeBlockStyle =
|
|
49284
|
+
const codeBlockStyle = css35({
|
|
49284
49285
|
marginTop: theme.size.m,
|
|
49285
49286
|
marginBottom: theme.size.l,
|
|
49286
49287
|
borderRadius: theme.border.radius.medium
|
|
@@ -49291,18 +49292,18 @@ var getStyles15 = ({ theme }) => {
|
|
|
49291
49292
|
};
|
|
49292
49293
|
|
|
49293
49294
|
// src/components/WfoWorkflowSteps/WfoTraceback/WfoTraceback.tsx
|
|
49294
|
-
import { Fragment as Fragment48, jsx as jsx196, jsxs as
|
|
49295
|
+
import { Fragment as Fragment48, jsx as jsx196, jsxs as jsxs106 } from "@emotion/react/jsx-runtime";
|
|
49295
49296
|
var WfoTraceback = ({ children }) => {
|
|
49296
49297
|
const { codeBlockStyle } = useWithOrchestratorTheme(getStyles15);
|
|
49297
49298
|
const t = useTranslations60("processes.steps");
|
|
49298
|
-
return /* @__PURE__ */
|
|
49299
|
+
return /* @__PURE__ */ jsxs106(Fragment48, { children: [
|
|
49299
49300
|
/* @__PURE__ */ jsx196(EuiText36, { children: /* @__PURE__ */ jsx196("h3", { children: t("traceback") }) }),
|
|
49300
49301
|
/* @__PURE__ */ jsx196(EuiCodeBlock, { css: codeBlockStyle, children })
|
|
49301
49302
|
] });
|
|
49302
49303
|
};
|
|
49303
49304
|
|
|
49304
49305
|
// src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoWorkflowStepList.tsx
|
|
49305
|
-
import { Fragment as Fragment49, jsx as jsx197, jsxs as
|
|
49306
|
+
import { Fragment as Fragment49, jsx as jsx197, jsxs as jsxs107 } from "@emotion/react/jsx-runtime";
|
|
49306
49307
|
var WfoProcessRawData = ({ processId }) => {
|
|
49307
49308
|
const { data, isFetching } = useGetRawProcessDetailQuery({ processId });
|
|
49308
49309
|
return isFetching ? /* @__PURE__ */ jsx197(WfoLoading, {}) : /* @__PURE__ */ jsx197(WfoJsonCodeBlock, { data: data || {} });
|
|
@@ -49397,7 +49398,7 @@ var WfoWorkflowStepList = React61.forwardRef(
|
|
|
49397
49398
|
"aborted" /* ABORTED */,
|
|
49398
49399
|
"completed" /* COMPLETED */
|
|
49399
49400
|
].map((status) => status.toLowerCase()).includes(lastStatus.toLowerCase());
|
|
49400
|
-
return /* @__PURE__ */
|
|
49401
|
+
return /* @__PURE__ */ jsxs107(Fragment49, { children: [
|
|
49401
49402
|
/* @__PURE__ */ jsx197(
|
|
49402
49403
|
WfoStepListHeader,
|
|
49403
49404
|
{
|
|
@@ -49454,9 +49455,9 @@ import {
|
|
|
49454
49455
|
import { EuiText as EuiText37 } from "@elastic/eui";
|
|
49455
49456
|
|
|
49456
49457
|
// src/components/WfoTextAnchor/styles.ts
|
|
49457
|
-
import { css as
|
|
49458
|
+
import { css as css36 } from "@emotion/react";
|
|
49458
49459
|
var getStyles16 = ({ theme }) => {
|
|
49459
|
-
const textAnchorStyle =
|
|
49460
|
+
const textAnchorStyle = css36({
|
|
49460
49461
|
marginTop: theme.size.xxs,
|
|
49461
49462
|
marginLeft: 0,
|
|
49462
49463
|
fontSize: theme.size.m,
|
|
@@ -49477,7 +49478,7 @@ var WfoTextAnchor = ({ text, onClick }) => {
|
|
|
49477
49478
|
};
|
|
49478
49479
|
|
|
49479
49480
|
// src/components/WfoWorkflowSteps/WfoWorkflowStepList/WfoStepListHeader.tsx
|
|
49480
|
-
import { jsx as jsx199, jsxs as
|
|
49481
|
+
import { jsx as jsx199, jsxs as jsxs108 } from "@emotion/react/jsx-runtime";
|
|
49481
49482
|
var WfoStepListHeader = ({
|
|
49482
49483
|
allDetailToggleText,
|
|
49483
49484
|
showDelta,
|
|
@@ -49514,8 +49515,8 @@ var WfoStepListHeader = ({
|
|
|
49514
49515
|
children: t("viewOptions")
|
|
49515
49516
|
}
|
|
49516
49517
|
);
|
|
49517
|
-
return /* @__PURE__ */
|
|
49518
|
-
/* @__PURE__ */
|
|
49518
|
+
return /* @__PURE__ */ jsxs108(EuiFlexGroup24, { css: stepListHeaderStyle, children: [
|
|
49519
|
+
/* @__PURE__ */ jsxs108(EuiFlexGroup24, { css: stepListContentStyle, children: [
|
|
49519
49520
|
/* @__PURE__ */ jsx199(EuiText38, { css: stepListContentBoldTextStyle, children: t(isTask ? "taskSteps" : "workflowSteps") }),
|
|
49520
49521
|
!showRaw && /* @__PURE__ */ jsx199(
|
|
49521
49522
|
WfoTextAnchor,
|
|
@@ -49525,7 +49526,7 @@ var WfoStepListHeader = ({
|
|
|
49525
49526
|
}
|
|
49526
49527
|
)
|
|
49527
49528
|
] }),
|
|
49528
|
-
/* @__PURE__ */
|
|
49529
|
+
/* @__PURE__ */ jsxs108(
|
|
49529
49530
|
EuiFlexGroup24,
|
|
49530
49531
|
{
|
|
49531
49532
|
justifyContent: "flexEnd",
|
|
@@ -49564,7 +49565,7 @@ var WfoStepListHeader = ({
|
|
|
49564
49565
|
isOpen: isViewOptionOpen,
|
|
49565
49566
|
closePopover: closeViewOption,
|
|
49566
49567
|
display: "block",
|
|
49567
|
-
children: /* @__PURE__ */ jsx199("div", { children: /* @__PURE__ */
|
|
49568
|
+
children: /* @__PURE__ */ jsx199("div", { children: /* @__PURE__ */ jsxs108(EuiForm2, { component: "form", children: [
|
|
49568
49569
|
/* @__PURE__ */ jsx199(EuiFormRow20, { children: /* @__PURE__ */ jsx199(
|
|
49569
49570
|
EuiSwitch3,
|
|
49570
49571
|
{
|
|
@@ -49599,7 +49600,7 @@ var WfoStepListHeader = ({
|
|
|
49599
49600
|
};
|
|
49600
49601
|
|
|
49601
49602
|
// src/pages/processes/WfoStartProcessPage.tsx
|
|
49602
|
-
import { jsx as jsx200, jsxs as
|
|
49603
|
+
import { jsx as jsx200, jsxs as jsxs109 } from "@emotion/react/jsx-runtime";
|
|
49603
49604
|
var getInitialProcessPayload = ({
|
|
49604
49605
|
productId,
|
|
49605
49606
|
subscriptionId
|
|
@@ -49741,10 +49742,10 @@ var WfoStartProcessPage = ({
|
|
|
49741
49742
|
processDetail,
|
|
49742
49743
|
timelineItems: timeLineItems,
|
|
49743
49744
|
isLoading,
|
|
49744
|
-
children: /* @__PURE__ */
|
|
49745
|
-
/* @__PURE__ */
|
|
49745
|
+
children: /* @__PURE__ */ jsxs109(EuiPanel6, { css: { marginTop: theme.base * 3 }, children: [
|
|
49746
|
+
/* @__PURE__ */ jsxs109(EuiFlexGroup25, { css: getStepHeaderStyle(false), children: [
|
|
49746
49747
|
/* @__PURE__ */ jsx200(WfoStepStatusIcon, { stepStatus: "form" /* FORM */ }),
|
|
49747
|
-
/* @__PURE__ */
|
|
49748
|
+
/* @__PURE__ */ jsxs109(EuiFlexItem28, { grow: 0, children: [
|
|
49748
49749
|
/* @__PURE__ */ jsx200(EuiText39, { css: stepListContentBoldTextStyle, children: t("userInput") }),
|
|
49749
49750
|
/* @__PURE__ */ jsx200(EuiText39, { children: t(
|
|
49750
49751
|
isTask ? "submitTaskFormLabel" : "submitWorkflowFormLabel"
|
|
@@ -49772,7 +49773,7 @@ var WfoStartProcessPage = ({
|
|
|
49772
49773
|
// src/pages/processes/WfoProductInformationWithLink.tsx
|
|
49773
49774
|
import { useTranslations as useTranslations64 } from "next-intl";
|
|
49774
49775
|
import { EuiButtonIcon as EuiButtonIcon13, EuiFlexGroup as EuiFlexGroup26, EuiText as EuiText40, EuiToolTip as EuiToolTip7 } from "@elastic/eui";
|
|
49775
|
-
import { jsx as jsx201, jsxs as
|
|
49776
|
+
import { jsx as jsx201, jsxs as jsxs110 } from "@emotion/react/jsx-runtime";
|
|
49776
49777
|
var WfoProductInformationWithLink = ({
|
|
49777
49778
|
workflowName,
|
|
49778
49779
|
productNames
|
|
@@ -49780,7 +49781,7 @@ var WfoProductInformationWithLink = ({
|
|
|
49780
49781
|
const { workflowInformationLinkUrl, showWorkflowInformationLink } = useGetOrchestratorConfig();
|
|
49781
49782
|
const t = useTranslations64("processes.detail");
|
|
49782
49783
|
const docsUrl = workflowInformationLinkUrl + workflowName;
|
|
49783
|
-
return /* @__PURE__ */
|
|
49784
|
+
return /* @__PURE__ */ jsxs110(EuiFlexGroup26, { gutterSize: "s", alignItems: "center", children: [
|
|
49784
49785
|
showWorkflowInformationLink && /* @__PURE__ */ jsx201(EuiToolTip7, { content: t("openWorkflowTaskInfo"), children: /* @__PURE__ */ jsx201("a", { href: docsUrl, target: "_blank", children: /* @__PURE__ */ jsx201(
|
|
49785
49786
|
EuiButtonIcon13,
|
|
49786
49787
|
{
|
|
@@ -49796,11 +49797,11 @@ var WfoProductInformationWithLink = ({
|
|
|
49796
49797
|
// src/pages/settings/WfoSettingsPage.tsx
|
|
49797
49798
|
import { useTranslations as useTranslations65 } from "next-intl";
|
|
49798
49799
|
import { EuiHorizontalRule as EuiHorizontalRule6, EuiSpacer as EuiSpacer19 } from "@elastic/eui";
|
|
49799
|
-
import { Fragment as Fragment50, jsx as jsx202, jsxs as
|
|
49800
|
+
import { Fragment as Fragment50, jsx as jsx202, jsxs as jsxs111 } from "@emotion/react/jsx-runtime";
|
|
49800
49801
|
var WfoSettingsPage = () => {
|
|
49801
49802
|
const { theme } = useOrchestratorTheme();
|
|
49802
49803
|
const t = useTranslations65("main");
|
|
49803
|
-
return /* @__PURE__ */
|
|
49804
|
+
return /* @__PURE__ */ jsxs111(Fragment50, { children: [
|
|
49804
49805
|
/* @__PURE__ */ jsx202(
|
|
49805
49806
|
WfoContentHeader,
|
|
49806
49807
|
{
|
|
@@ -49808,7 +49809,7 @@ var WfoSettingsPage = () => {
|
|
|
49808
49809
|
subtitle: /* @__PURE__ */ jsx202(EuiHorizontalRule6, { margin: "s" })
|
|
49809
49810
|
}
|
|
49810
49811
|
),
|
|
49811
|
-
/* @__PURE__ */
|
|
49812
|
+
/* @__PURE__ */ jsxs111("div", { css: { maxWidth: theme.base * 40 }, children: [
|
|
49812
49813
|
/* @__PURE__ */ jsx202(WfoFlushSettings, {}),
|
|
49813
49814
|
/* @__PURE__ */ jsx202(EuiSpacer19, {}),
|
|
49814
49815
|
/* @__PURE__ */ jsx202(WfoModifySettings, {}),
|
|
@@ -49835,7 +49836,7 @@ var useStartPageSummaryCardConfigurationOverride = () => {
|
|
|
49835
49836
|
};
|
|
49836
49837
|
|
|
49837
49838
|
// src/pages/startPage/WfoStartPage.tsx
|
|
49838
|
-
import { Fragment as Fragment51, jsx as jsx203, jsxs as
|
|
49839
|
+
import { Fragment as Fragment51, jsx as jsx203, jsxs as jsxs112 } from "@emotion/react/jsx-runtime";
|
|
49839
49840
|
var WfoStartPage = () => {
|
|
49840
49841
|
const t = useTranslations66("main");
|
|
49841
49842
|
const { overrideSummaryCards } = useStartPageSummaryCardConfigurationOverride();
|
|
@@ -49857,7 +49858,7 @@ var WfoStartPage = () => {
|
|
|
49857
49858
|
/* @__PURE__ */ jsx203(WfoProductsSummaryCard, {}, "products")
|
|
49858
49859
|
];
|
|
49859
49860
|
const summaryCards = overrideSummaryCards?.(defaultSummaryCards) || defaultSummaryCards;
|
|
49860
|
-
return /* @__PURE__ */
|
|
49861
|
+
return /* @__PURE__ */ jsxs112(Fragment51, { children: [
|
|
49861
49862
|
/* @__PURE__ */ jsx203(
|
|
49862
49863
|
WfoContentHeader,
|
|
49863
49864
|
{
|
|
@@ -49894,7 +49895,7 @@ import { useEffect as useEffect30, useState as useState45 } from "react";
|
|
|
49894
49895
|
import { useTranslations as useTranslations67 } from "next-intl";
|
|
49895
49896
|
import { StringParam as StringParam3, useQueryParam as useQueryParam2, withDefault as withDefault3 } from "use-query-params";
|
|
49896
49897
|
import { EuiSpacer as EuiSpacer20 } from "@elastic/eui";
|
|
49897
|
-
import { Fragment as Fragment53, jsx as jsx205, jsxs as
|
|
49898
|
+
import { Fragment as Fragment53, jsx as jsx205, jsxs as jsxs113 } from "@emotion/react/jsx-runtime";
|
|
49898
49899
|
var WfoSubscriptionsListPage = () => {
|
|
49899
49900
|
const t = useTranslations67("subscriptions.detail");
|
|
49900
49901
|
const [tableDefaults, setTableDefaults] = useState45();
|
|
@@ -49932,7 +49933,7 @@ var WfoSubscriptionsListPage = () => {
|
|
|
49932
49933
|
const alwaysOnFilters = subscriptionListTabs.find(
|
|
49933
49934
|
({ id }) => id === activeTab
|
|
49934
49935
|
)?.alwaysOnFilters;
|
|
49935
|
-
return /* @__PURE__ */
|
|
49936
|
+
return /* @__PURE__ */ jsxs113(Fragment53, { children: [
|
|
49936
49937
|
/* @__PURE__ */ jsx205(
|
|
49937
49938
|
WfoContentHeader,
|
|
49938
49939
|
{
|
|
@@ -49964,7 +49965,7 @@ var WfoSubscriptionsListPage = () => {
|
|
|
49964
49965
|
// src/pages/tasks/WfoTasksListPage.tsx
|
|
49965
49966
|
import { useContext as useContext9, useEffect as useEffect31, useState as useState46 } from "react";
|
|
49966
49967
|
import { useTranslations as useTranslations68 } from "next-intl";
|
|
49967
|
-
import
|
|
49968
|
+
import Link9 from "next/link";
|
|
49968
49969
|
import { useRouter as useRouter11 } from "next/router";
|
|
49969
49970
|
import { StringParam as StringParam4, useQueryParam as useQueryParam3, withDefault as withDefault4 } from "use-query-params";
|
|
49970
49971
|
import { EuiButton as EuiButton14, EuiSpacer as EuiSpacer21 } from "@elastic/eui";
|
|
@@ -50032,7 +50033,7 @@ var getTasksListTabTypeFromString = (tabId) => {
|
|
|
50032
50033
|
};
|
|
50033
50034
|
|
|
50034
50035
|
// src/pages/tasks/WfoTasksListPage.tsx
|
|
50035
|
-
import { Fragment as Fragment54, jsx as jsx206, jsxs as
|
|
50036
|
+
import { Fragment as Fragment54, jsx as jsx206, jsxs as jsxs114 } from "@emotion/react/jsx-runtime";
|
|
50036
50037
|
var WfoTasksListPage = () => {
|
|
50037
50038
|
const router = useRouter11();
|
|
50038
50039
|
const t = useTranslations68("tasks.page");
|
|
@@ -50088,7 +50089,7 @@ var WfoTasksListPage = () => {
|
|
|
50088
50089
|
workflowName: {
|
|
50089
50090
|
columnType: "data" /* DATA */,
|
|
50090
50091
|
label: t("taskName"),
|
|
50091
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx206(
|
|
50092
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx206(Link9, { href: `${PATH_TASKS}/${processId}`, children: value })
|
|
50092
50093
|
},
|
|
50093
50094
|
...toSortedTableColumnConfig(defaultTableColumns, [
|
|
50094
50095
|
"lastStep",
|
|
@@ -50106,8 +50107,8 @@ var WfoTasksListPage = () => {
|
|
|
50106
50107
|
"lastModifiedAt"
|
|
50107
50108
|
])
|
|
50108
50109
|
});
|
|
50109
|
-
return /* @__PURE__ */
|
|
50110
|
-
/* @__PURE__ */
|
|
50110
|
+
return /* @__PURE__ */ jsxs114(Fragment54, { children: [
|
|
50111
|
+
/* @__PURE__ */ jsxs114(
|
|
50111
50112
|
WfoContentHeader,
|
|
50112
50113
|
{
|
|
50113
50114
|
title: /* @__PURE__ */ jsx206(WfoTitleWithWebsocketBadge, { title: "Tasks" }),
|
|
@@ -50218,7 +50219,7 @@ var getWorkflowsListTabTypeFromString = (tabId) => {
|
|
|
50218
50219
|
};
|
|
50219
50220
|
|
|
50220
50221
|
// src/pages/workflows/WfoWorkflowsListPage.tsx
|
|
50221
|
-
import { Fragment as Fragment55, jsx as jsx207, jsxs as
|
|
50222
|
+
import { Fragment as Fragment55, jsx as jsx207, jsxs as jsxs115 } from "@emotion/react/jsx-runtime";
|
|
50222
50223
|
var WfoWorkflowsListPage = () => {
|
|
50223
50224
|
const router = useRouter12();
|
|
50224
50225
|
const t = useTranslations69("workflows.index");
|
|
@@ -50256,7 +50257,7 @@ var WfoWorkflowsListPage = () => {
|
|
|
50256
50257
|
router.replace(PATH_WORKFLOWS);
|
|
50257
50258
|
return null;
|
|
50258
50259
|
}
|
|
50259
|
-
return /* @__PURE__ */
|
|
50260
|
+
return /* @__PURE__ */ jsxs115(Fragment55, { children: [
|
|
50260
50261
|
/* @__PURE__ */ jsx207(
|
|
50261
50262
|
WfoContentHeader,
|
|
50262
50263
|
{
|
|
@@ -50383,7 +50384,7 @@ var graphQlProcessFilterMapper = (data) => data?.map(({ field, value }) => ({
|
|
|
50383
50384
|
}));
|
|
50384
50385
|
|
|
50385
50386
|
// src/components/WfoProcessList/WfoProcessesList.tsx
|
|
50386
|
-
import { jsx as jsx208, jsxs as
|
|
50387
|
+
import { jsx as jsx208, jsxs as jsxs116 } from "@emotion/react/jsx-runtime";
|
|
50387
50388
|
var WfoProcessesList = ({
|
|
50388
50389
|
alwaysOnFilters,
|
|
50389
50390
|
defaultHiddenColumns = [],
|
|
@@ -50400,7 +50401,7 @@ var WfoProcessesList = ({
|
|
|
50400
50401
|
columnType: "data" /* DATA */,
|
|
50401
50402
|
label: t("workflowName"),
|
|
50402
50403
|
width: "20%",
|
|
50403
|
-
renderData: (value, { processId }) => /* @__PURE__ */ jsx208(
|
|
50404
|
+
renderData: (value, { processId }) => /* @__PURE__ */ jsx208(Link10, { href: `${PATH_WORKFLOWS}/${processId}`, children: value }),
|
|
50404
50405
|
renderTooltip: (value) => value
|
|
50405
50406
|
},
|
|
50406
50407
|
lastStep: {
|
|
@@ -50457,7 +50458,7 @@ var WfoProcessesList = ({
|
|
|
50457
50458
|
subscriptions
|
|
50458
50459
|
}
|
|
50459
50460
|
),
|
|
50460
|
-
renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */
|
|
50461
|
+
renderTooltip: ({ page: subscriptions }) => subscriptions.map(({ description, subscriptionId }) => /* @__PURE__ */ jsxs116("p", { children: [
|
|
50461
50462
|
"- ",
|
|
50462
50463
|
description
|
|
50463
50464
|
] }, subscriptionId)),
|
|
@@ -50566,13 +50567,13 @@ var WfoProcessesList = ({
|
|
|
50566
50567
|
import { EuiCodeBlock as EuiCodeBlock2 } from "@elastic/eui";
|
|
50567
50568
|
|
|
50568
50569
|
// src/components/WfoJsonCodeBlock/styles.ts
|
|
50569
|
-
import { css as
|
|
50570
|
+
import { css as css37 } from "@emotion/react";
|
|
50570
50571
|
var getStyles17 = ({ theme }) => {
|
|
50571
|
-
const euiCodeBlockStyle =
|
|
50572
|
+
const euiCodeBlockStyle = css37({
|
|
50572
50573
|
marginTop: 10,
|
|
50573
50574
|
borderRadius: theme.border.radius.medium
|
|
50574
50575
|
});
|
|
50575
|
-
const euiBasicCodeBlockStyle =
|
|
50576
|
+
const euiBasicCodeBlockStyle = css37({
|
|
50576
50577
|
backgroundColor: "inherit",
|
|
50577
50578
|
".euiCodeBlock__pre": {
|
|
50578
50579
|
paddingTop: 0,
|
|
@@ -50621,10 +50622,10 @@ import {
|
|
|
50621
50622
|
} from "@elastic/eui";
|
|
50622
50623
|
|
|
50623
50624
|
// src/components/WfoSettings/styles.ts
|
|
50624
|
-
import { css as
|
|
50625
|
+
import { css as css38 } from "@emotion/react";
|
|
50625
50626
|
var getWfoFlushSettingsStyle = (wfoTheme) => {
|
|
50626
50627
|
const { theme } = wfoTheme;
|
|
50627
|
-
const comboboxStyle =
|
|
50628
|
+
const comboboxStyle = css38({
|
|
50628
50629
|
// .euiComboBox is needed to override eui styling (more specific)
|
|
50629
50630
|
"&.euiComboBox": {
|
|
50630
50631
|
".euiComboBox__inputWrap": {
|
|
@@ -50645,7 +50646,7 @@ var getWfoFlushSettingsStyle = (wfoTheme) => {
|
|
|
50645
50646
|
};
|
|
50646
50647
|
|
|
50647
50648
|
// src/components/WfoSettings/WfoFlushSettings.tsx
|
|
50648
|
-
import { jsx as jsx210, jsxs as
|
|
50649
|
+
import { jsx as jsx210, jsxs as jsxs117 } from "@emotion/react/jsx-runtime";
|
|
50649
50650
|
var WfoFlushSettings = () => {
|
|
50650
50651
|
const { comboboxStyle } = useWithOrchestratorTheme(
|
|
50651
50652
|
getWfoFlushSettingsStyle
|
|
@@ -50683,7 +50684,7 @@ var WfoFlushSettings = () => {
|
|
|
50683
50684
|
);
|
|
50684
50685
|
});
|
|
50685
50686
|
};
|
|
50686
|
-
return /* @__PURE__ */ jsx210(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */
|
|
50687
|
+
return /* @__PURE__ */ jsx210(WfoIsAllowedToRender, { resource: "/orchestrator/settings/flush-cache" /* SETTINGS_FLUSH_CACHE */, children: /* @__PURE__ */ jsxs117(EuiPanel7, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
50687
50688
|
/* @__PURE__ */ jsx210(EuiText41, { size: "s", children: /* @__PURE__ */ jsx210("h4", { children: t("flushCacheSettingsTitle") }) }),
|
|
50688
50689
|
/* @__PURE__ */ jsx210(EuiSpacer23, { size: "m" }),
|
|
50689
50690
|
/* @__PURE__ */ jsx210(
|
|
@@ -50759,17 +50760,17 @@ var WfoResetTextSearchIndexButton = () => {
|
|
|
50759
50760
|
};
|
|
50760
50761
|
|
|
50761
50762
|
// src/components/WfoSettings/WfoModifySettings.tsx
|
|
50762
|
-
import { jsx as jsx213, jsxs as
|
|
50763
|
+
import { jsx as jsx213, jsxs as jsxs118 } from "@emotion/react/jsx-runtime";
|
|
50763
50764
|
var WfoModifySettings = () => {
|
|
50764
50765
|
const t = useTranslations74("settings.page");
|
|
50765
|
-
return /* @__PURE__ */
|
|
50766
|
-
/* @__PURE__ */
|
|
50766
|
+
return /* @__PURE__ */ jsxs118(EuiFlexItem29, { children: [
|
|
50767
|
+
/* @__PURE__ */ jsxs118(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
50767
50768
|
/* @__PURE__ */ jsx213(EuiText42, { size: "s", children: /* @__PURE__ */ jsx213("h4", { children: t("resetTextSearchIndex") }) }),
|
|
50768
50769
|
/* @__PURE__ */ jsx213(EuiSpacer24, { size: "m" }),
|
|
50769
50770
|
/* @__PURE__ */ jsx213(WfoResetTextSearchIndexButton, {})
|
|
50770
50771
|
] }),
|
|
50771
50772
|
/* @__PURE__ */ jsx213(EuiSpacer24, {}),
|
|
50772
|
-
/* @__PURE__ */
|
|
50773
|
+
/* @__PURE__ */ jsxs118(EuiPanel8, { hasShadow: false, color: "subdued", paddingSize: "l", children: [
|
|
50773
50774
|
/* @__PURE__ */ jsx213(EuiText42, { size: "s", children: /* @__PURE__ */ jsx213("h4", { children: t("modifyEngine") }) }),
|
|
50774
50775
|
/* @__PURE__ */ jsx213(EuiSpacer24, { size: "m" }),
|
|
50775
50776
|
/* @__PURE__ */ jsx213(WfoEngineStatusButton, {})
|
|
@@ -50780,20 +50781,20 @@ var WfoModifySettings = () => {
|
|
|
50780
50781
|
// src/components/WfoSettings/WfoEngineStatus.tsx
|
|
50781
50782
|
import { useTranslations as useTranslations75 } from "next-intl";
|
|
50782
50783
|
import { EuiFlexGroup as EuiFlexGroup27, EuiFlexItem as EuiFlexItem30, EuiPanel as EuiPanel9, EuiText as EuiText43 } from "@elastic/eui";
|
|
50783
|
-
import { jsx as jsx214, jsxs as
|
|
50784
|
+
import { jsx as jsx214, jsxs as jsxs119 } from "@emotion/react/jsx-runtime";
|
|
50784
50785
|
var WfoEngineStatus = () => {
|
|
50785
50786
|
const { theme } = useOrchestratorTheme();
|
|
50786
50787
|
const { data } = useGetEngineStatusQuery();
|
|
50787
50788
|
const { engineStatus, runningProcesses } = data || {};
|
|
50788
50789
|
const isRunning = engineStatus === "RUNNING" /* RUNNING */;
|
|
50789
50790
|
const t = useTranslations75("settings.page");
|
|
50790
|
-
return /* @__PURE__ */ jsx214(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */
|
|
50791
|
+
return /* @__PURE__ */ jsx214(EuiPanel9, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs119(EuiFlexGroup27, { direction: "column", gutterSize: "s", children: [
|
|
50791
50792
|
/* @__PURE__ */ jsx214(EuiFlexItem30, { children: /* @__PURE__ */ jsx214(EuiText43, { size: "s", children: /* @__PURE__ */ jsx214("h4", { children: t("engineStatusTitle") }) }) }),
|
|
50792
|
-
/* @__PURE__ */
|
|
50793
|
+
/* @__PURE__ */ jsxs119(EuiFlexItem30, { css: { flexDirection: "row" }, children: [
|
|
50793
50794
|
/* @__PURE__ */ jsx214(EuiText43, { size: "s", style: { minWidth: 200 }, children: t("runningProcesses") }),
|
|
50794
50795
|
/* @__PURE__ */ jsx214(EuiText43, { size: "s", children: runningProcesses || "-" })
|
|
50795
50796
|
] }),
|
|
50796
|
-
/* @__PURE__ */
|
|
50797
|
+
/* @__PURE__ */ jsxs119(EuiFlexItem30, { css: { flexDirection: "row" }, children: [
|
|
50797
50798
|
/* @__PURE__ */ jsx214(EuiText43, { size: "s", style: { minWidth: 190 }, children: t("status") }),
|
|
50798
50799
|
/* @__PURE__ */ jsx214(
|
|
50799
50800
|
WfoStatusDotIcon,
|
|
@@ -50809,7 +50810,7 @@ var WfoEngineStatus = () => {
|
|
|
50809
50810
|
// src/components/WfoSettings/WfoWorkerStatus.tsx
|
|
50810
50811
|
import { useTranslations as useTranslations76 } from "next-intl";
|
|
50811
50812
|
import { EuiFlexGroup as EuiFlexGroup28, EuiFlexItem as EuiFlexItem31, EuiPanel as EuiPanel10, EuiText as EuiText44 } from "@elastic/eui";
|
|
50812
|
-
import { jsx as jsx215, jsxs as
|
|
50813
|
+
import { jsx as jsx215, jsxs as jsxs120 } from "@emotion/react/jsx-runtime";
|
|
50813
50814
|
var WfoWorkerStatus = () => {
|
|
50814
50815
|
const { data } = useGetWorkerStatusQuery();
|
|
50815
50816
|
const {
|
|
@@ -50819,17 +50820,17 @@ var WfoWorkerStatus = () => {
|
|
|
50819
50820
|
numberOfWorkersOnline
|
|
50820
50821
|
} = data || {};
|
|
50821
50822
|
const t = useTranslations76("settings.page");
|
|
50822
|
-
return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx215(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */
|
|
50823
|
+
return executorType?.toUpperCase() === "CELERY" /* CELERY */ && /* @__PURE__ */ jsx215(EuiPanel10, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs120(EuiFlexGroup28, { direction: "column", gutterSize: "s", children: [
|
|
50823
50824
|
/* @__PURE__ */ jsx215(EuiFlexItem31, { children: /* @__PURE__ */ jsx215(EuiText44, { size: "s", children: /* @__PURE__ */ jsx215("h4", { children: t("workerStatusTitle") }) }) }),
|
|
50824
|
-
/* @__PURE__ */
|
|
50825
|
+
/* @__PURE__ */ jsxs120(EuiFlexItem31, { css: { flexDirection: "row" }, children: [
|
|
50825
50826
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", style: { minWidth: 200 }, children: t("numberOfQueuedJobs") }),
|
|
50826
50827
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", children: numberOfQueuedJobs || "-" })
|
|
50827
50828
|
] }),
|
|
50828
|
-
/* @__PURE__ */
|
|
50829
|
+
/* @__PURE__ */ jsxs120(EuiFlexItem31, { css: { flexDirection: "row" }, children: [
|
|
50829
50830
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", style: { minWidth: 200 }, children: t("numberOfRunningJobs") }),
|
|
50830
50831
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", children: numberOfRunningJobs || "-" })
|
|
50831
50832
|
] }),
|
|
50832
|
-
/* @__PURE__ */
|
|
50833
|
+
/* @__PURE__ */ jsxs120(EuiFlexItem31, { css: { flexDirection: "row" }, children: [
|
|
50833
50834
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", style: { minWidth: 200 }, children: t("numberOfWorkersOnline") }),
|
|
50834
50835
|
/* @__PURE__ */ jsx215(EuiText44, { size: "s", children: numberOfWorkersOnline || "-" })
|
|
50835
50836
|
] })
|
|
@@ -50838,7 +50839,7 @@ var WfoWorkerStatus = () => {
|
|
|
50838
50839
|
|
|
50839
50840
|
// src/components/WfoErrorBoundary/WfoErrorBoundary.tsx
|
|
50840
50841
|
import React68 from "react";
|
|
50841
|
-
import { jsx as jsx216, jsxs as
|
|
50842
|
+
import { jsx as jsx216, jsxs as jsxs121 } from "@emotion/react/jsx-runtime";
|
|
50842
50843
|
var WfoErrorBoundary = class extends React68.Component {
|
|
50843
50844
|
constructor(props) {
|
|
50844
50845
|
super(props);
|
|
@@ -50855,7 +50856,7 @@ var WfoErrorBoundary = class extends React68.Component {
|
|
|
50855
50856
|
if (this.props.fallback) {
|
|
50856
50857
|
return this.props.fallback;
|
|
50857
50858
|
}
|
|
50858
|
-
return /* @__PURE__ */
|
|
50859
|
+
return /* @__PURE__ */ jsxs121("p", { children: [
|
|
50859
50860
|
"An unexpected error occurred, try to go back to the",
|
|
50860
50861
|
" ",
|
|
50861
50862
|
/* @__PURE__ */ jsx216("a", { href: "/", children: "home page" })
|
|
@@ -50869,9 +50870,9 @@ var WfoErrorBoundary = class extends React68.Component {
|
|
|
50869
50870
|
import { EuiFlexGroup as EuiFlexGroup29 } from "@elastic/eui";
|
|
50870
50871
|
|
|
50871
50872
|
// src/components/WfoNoResults/styles.ts
|
|
50872
|
-
import { css as
|
|
50873
|
+
import { css as css39 } from "@emotion/react";
|
|
50873
50874
|
var getStyles18 = ({ theme }) => {
|
|
50874
|
-
const panelStyle =
|
|
50875
|
+
const panelStyle = css39({
|
|
50875
50876
|
display: "flex",
|
|
50876
50877
|
padding: theme.base * 2,
|
|
50877
50878
|
flexDirection: "row",
|
|
@@ -50890,10 +50891,10 @@ var getStyles18 = ({ theme }) => {
|
|
|
50890
50891
|
};
|
|
50891
50892
|
|
|
50892
50893
|
// src/components/WfoNoResults/WfoNoResults.tsx
|
|
50893
|
-
import { jsxs as
|
|
50894
|
+
import { jsxs as jsxs122 } from "@emotion/react/jsx-runtime";
|
|
50894
50895
|
var WfoNoResults = ({ text, icon }) => {
|
|
50895
50896
|
const { panelStyle } = useWithOrchestratorTheme(getStyles18);
|
|
50896
|
-
return /* @__PURE__ */
|
|
50897
|
+
return /* @__PURE__ */ jsxs122(EuiFlexGroup29, { css: panelStyle, children: [
|
|
50897
50898
|
icon,
|
|
50898
50899
|
" ",
|
|
50899
50900
|
text
|
|
@@ -51028,7 +51029,7 @@ var subscriptionListTabs = [
|
|
|
51028
51029
|
|
|
51029
51030
|
// src/components/WfoSubscriptionsList/WfoSubscriptionsList.tsx
|
|
51030
51031
|
import { useTranslations as useTranslations78 } from "next-intl";
|
|
51031
|
-
import
|
|
51032
|
+
import Link11 from "next/link";
|
|
51032
51033
|
import { useRouter as useRouter14 } from "next/router";
|
|
51033
51034
|
import { jsx as jsx219 } from "@emotion/react/jsx-runtime";
|
|
51034
51035
|
var WfoSubscriptionsList = ({
|
|
@@ -51045,6 +51046,7 @@ var WfoSubscriptionsList = ({
|
|
|
51045
51046
|
subscriptionId: {
|
|
51046
51047
|
columnType: "data" /* DATA */,
|
|
51047
51048
|
label: t("id"),
|
|
51049
|
+
width: "100px",
|
|
51048
51050
|
renderData: (value) => /* @__PURE__ */ jsx219(WfoFirstPartUUID, { UUID: value }),
|
|
51049
51051
|
renderDetails: (value) => value,
|
|
51050
51052
|
renderTooltip: (value) => value
|
|
@@ -51052,18 +51054,20 @@ var WfoSubscriptionsList = ({
|
|
|
51052
51054
|
description: {
|
|
51053
51055
|
columnType: "data" /* DATA */,
|
|
51054
51056
|
label: t("description"),
|
|
51055
|
-
width: "
|
|
51056
|
-
renderData: (value, record) => /* @__PURE__ */ jsx219(
|
|
51057
|
+
width: "500px",
|
|
51058
|
+
renderData: (value, record) => /* @__PURE__ */ jsx219(Link11, { href: `/subscriptions/${record.subscriptionId}`, children: value }),
|
|
51057
51059
|
renderTooltip: (value) => value
|
|
51058
51060
|
},
|
|
51059
51061
|
status: {
|
|
51060
51062
|
columnType: "data" /* DATA */,
|
|
51061
51063
|
label: t("status"),
|
|
51064
|
+
width: "120px",
|
|
51062
51065
|
renderData: (value) => /* @__PURE__ */ jsx219(WfoSubscriptionStatusBadge, { status: value })
|
|
51063
51066
|
},
|
|
51064
51067
|
insync: {
|
|
51065
51068
|
columnType: "data" /* DATA */,
|
|
51066
51069
|
label: t("insync"),
|
|
51070
|
+
width: "80px",
|
|
51067
51071
|
renderData: (value) => /* @__PURE__ */ jsx219(WfoInsyncIcon, { inSync: value })
|
|
51068
51072
|
},
|
|
51069
51073
|
productName: {
|
|
@@ -51077,8 +51081,7 @@ var WfoSubscriptionsList = ({
|
|
|
51077
51081
|
},
|
|
51078
51082
|
customerFullname: {
|
|
51079
51083
|
columnType: "data" /* DATA */,
|
|
51080
|
-
label: t("customerFullname")
|
|
51081
|
-
width: "150px"
|
|
51084
|
+
label: t("customerFullname")
|
|
51082
51085
|
},
|
|
51083
51086
|
customerShortcode: {
|
|
51084
51087
|
columnType: "data" /* DATA */,
|
|
@@ -51088,6 +51091,7 @@ var WfoSubscriptionsList = ({
|
|
|
51088
51091
|
startDate: {
|
|
51089
51092
|
columnType: "data" /* DATA */,
|
|
51090
51093
|
label: t("startDate"),
|
|
51094
|
+
width: "120px",
|
|
51091
51095
|
renderData: (value) => /* @__PURE__ */ jsx219(WfoDateTime, { dateOrIsoString: value }),
|
|
51092
51096
|
renderDetails: parseDateToLocaleDateTimeString,
|
|
51093
51097
|
clipboardText: parseDateToLocaleDateTimeString,
|
|
@@ -51096,6 +51100,7 @@ var WfoSubscriptionsList = ({
|
|
|
51096
51100
|
endDate: {
|
|
51097
51101
|
columnType: "data" /* DATA */,
|
|
51098
51102
|
label: t("endDate"),
|
|
51103
|
+
width: "120px",
|
|
51099
51104
|
renderData: (value) => /* @__PURE__ */ jsx219(WfoDateTime, { dateOrIsoString: value }),
|
|
51100
51105
|
renderDetails: parseDateToLocaleDateTimeString,
|
|
51101
51106
|
clipboardText: parseDateToLocaleDateTimeString,
|
|
@@ -51104,7 +51109,14 @@ var WfoSubscriptionsList = ({
|
|
|
51104
51109
|
note: {
|
|
51105
51110
|
columnType: "data" /* DATA */,
|
|
51106
51111
|
label: t("note"),
|
|
51107
|
-
|
|
51112
|
+
renderData: (cellValue, row) => /* @__PURE__ */ jsx219(
|
|
51113
|
+
WfoInlineNoteEdit,
|
|
51114
|
+
{
|
|
51115
|
+
subscriptionId: row.subscriptionId,
|
|
51116
|
+
value: cellValue,
|
|
51117
|
+
onlyShowOnHover: true
|
|
51118
|
+
}
|
|
51119
|
+
)
|
|
51108
51120
|
},
|
|
51109
51121
|
metadata: {
|
|
51110
51122
|
columnType: "data" /* DATA */,
|
|
@@ -51216,18 +51228,18 @@ import {
|
|
|
51216
51228
|
} from "@elastic/eui";
|
|
51217
51229
|
|
|
51218
51230
|
// src/components/WfoSummary/WfoSummaryCardHeader/styles.ts
|
|
51219
|
-
import { css as
|
|
51231
|
+
import { css as css40 } from "@emotion/react";
|
|
51220
51232
|
var getWfoSummaryCardHeaderStyles = ({ theme }) => {
|
|
51221
|
-
const avatarStyle =
|
|
51233
|
+
const avatarStyle = css40({
|
|
51222
51234
|
maxHeight: theme.base * 3,
|
|
51223
51235
|
maxWidth: theme.base * 3
|
|
51224
51236
|
});
|
|
51225
|
-
const totalSectionStyle =
|
|
51237
|
+
const totalSectionStyle = css40({
|
|
51226
51238
|
display: "flex",
|
|
51227
51239
|
flexDirection: "column",
|
|
51228
51240
|
justifyContent: "space-between"
|
|
51229
51241
|
});
|
|
51230
|
-
const valueStyle =
|
|
51242
|
+
const valueStyle = css40({
|
|
51231
51243
|
fontSize: theme.size.l,
|
|
51232
51244
|
fontWeight: theme.font.weight.semiBold
|
|
51233
51245
|
});
|
|
@@ -51239,7 +51251,7 @@ var getWfoSummaryCardHeaderStyles = ({ theme }) => {
|
|
|
51239
51251
|
};
|
|
51240
51252
|
|
|
51241
51253
|
// src/components/WfoSummary/WfoSummaryCardHeader/WfoSummaryCardHeader.tsx
|
|
51242
|
-
import { jsx as jsx220, jsxs as
|
|
51254
|
+
import { jsx as jsx220, jsxs as jsxs123 } from "@emotion/react/jsx-runtime";
|
|
51243
51255
|
var WfoSummaryCardHeader = ({
|
|
51244
51256
|
text,
|
|
51245
51257
|
value,
|
|
@@ -51248,7 +51260,7 @@ var WfoSummaryCardHeader = ({
|
|
|
51248
51260
|
}) => {
|
|
51249
51261
|
const { theme } = useOrchestratorTheme();
|
|
51250
51262
|
const { avatarStyle, totalSectionStyle, valueStyle } = useWithOrchestratorTheme(getWfoSummaryCardHeaderStyles);
|
|
51251
|
-
return /* @__PURE__ */ jsx220(EuiFlexItem32, { grow: 0, children: /* @__PURE__ */ jsx220(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */
|
|
51263
|
+
return /* @__PURE__ */ jsx220(EuiFlexItem32, { grow: 0, children: /* @__PURE__ */ jsx220(EuiPanel11, { hasShadow: false, color: "subdued", paddingSize: "l", children: /* @__PURE__ */ jsxs123(EuiFlexGroup30, { children: [
|
|
51252
51264
|
/* @__PURE__ */ jsx220(
|
|
51253
51265
|
EuiAvatar2,
|
|
51254
51266
|
{
|
|
@@ -51262,7 +51274,7 @@ var WfoSummaryCardHeader = ({
|
|
|
51262
51274
|
color: iconColor
|
|
51263
51275
|
}
|
|
51264
51276
|
),
|
|
51265
|
-
/* @__PURE__ */
|
|
51277
|
+
/* @__PURE__ */ jsxs123("div", { css: totalSectionStyle, children: [
|
|
51266
51278
|
/* @__PURE__ */ jsx220(EuiText45, { color: "subdued", children: text }),
|
|
51267
51279
|
/* @__PURE__ */ jsx220(EuiText45, { css: valueStyle, children: value })
|
|
51268
51280
|
] })
|
|
@@ -51285,7 +51297,7 @@ import {
|
|
|
51285
51297
|
import { EuiFlexGroup as EuiFlexGroup31, EuiFlexItem as EuiFlexItem33, EuiIcon as EuiIcon5, EuiTextColor } from "@elastic/eui";
|
|
51286
51298
|
|
|
51287
51299
|
// src/components/WfoOptionalLink/WfoOptionalLink.tsx
|
|
51288
|
-
import
|
|
51300
|
+
import Link12 from "next/link";
|
|
51289
51301
|
import { jsx as jsx221 } from "@emotion/react/jsx-runtime";
|
|
51290
51302
|
var WfoOptionalLink = ({
|
|
51291
51303
|
children,
|
|
@@ -51294,27 +51306,27 @@ var WfoOptionalLink = ({
|
|
|
51294
51306
|
if (!href) {
|
|
51295
51307
|
return /* @__PURE__ */ jsx221("span", { children });
|
|
51296
51308
|
}
|
|
51297
|
-
return /* @__PURE__ */ jsx221(
|
|
51309
|
+
return /* @__PURE__ */ jsx221(Link12, { href, children });
|
|
51298
51310
|
};
|
|
51299
51311
|
|
|
51300
51312
|
// src/components/WfoSummary/WfoSummaryCardList/styles.ts
|
|
51301
|
-
import { css as
|
|
51313
|
+
import { css as css41 } from "@emotion/react";
|
|
51302
51314
|
var getWfoSummaryCardListStyles = ({ theme }) => {
|
|
51303
|
-
const listContainerStyle =
|
|
51315
|
+
const listContainerStyle = css41({
|
|
51304
51316
|
display: "flex",
|
|
51305
51317
|
flexDirection: "column",
|
|
51306
51318
|
justifyContent: "space-between",
|
|
51307
51319
|
flexGrow: 1,
|
|
51308
51320
|
borderColor: theme.colors.lightShade
|
|
51309
51321
|
});
|
|
51310
|
-
const listHeaderStyle =
|
|
51322
|
+
const listHeaderStyle = css41({
|
|
51311
51323
|
fontWeight: theme.font.weight.semiBold
|
|
51312
51324
|
});
|
|
51313
|
-
const listStyle =
|
|
51325
|
+
const listStyle = css41({
|
|
51314
51326
|
height: theme.base * 20,
|
|
51315
51327
|
overflow: "auto"
|
|
51316
51328
|
});
|
|
51317
|
-
const listItemContainerStyle =
|
|
51329
|
+
const listItemContainerStyle = css41({
|
|
51318
51330
|
paddingBlock: theme.size.m,
|
|
51319
51331
|
".highlight-icon": {
|
|
51320
51332
|
visibility: "hidden"
|
|
@@ -51323,13 +51335,13 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
|
|
|
51323
51335
|
visibility: "visible"
|
|
51324
51336
|
}
|
|
51325
51337
|
});
|
|
51326
|
-
const listItemTitleStyle =
|
|
51338
|
+
const listItemTitleStyle = css41({
|
|
51327
51339
|
fontWeight: theme.font.weight.medium
|
|
51328
51340
|
});
|
|
51329
|
-
const listItemSubtitleStyle =
|
|
51341
|
+
const listItemSubtitleStyle = css41({
|
|
51330
51342
|
fontWeight: theme.font.weight.regular
|
|
51331
51343
|
});
|
|
51332
|
-
const listItemHighlightIconStyle =
|
|
51344
|
+
const listItemHighlightIconStyle = css41({
|
|
51333
51345
|
visibility: "hidden"
|
|
51334
51346
|
});
|
|
51335
51347
|
return {
|
|
@@ -51344,7 +51356,7 @@ var getWfoSummaryCardListStyles = ({ theme }) => {
|
|
|
51344
51356
|
};
|
|
51345
51357
|
|
|
51346
51358
|
// src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardListItem.tsx
|
|
51347
|
-
import { jsx as jsx222, jsxs as
|
|
51359
|
+
import { jsx as jsx222, jsxs as jsxs124 } from "@emotion/react/jsx-runtime";
|
|
51348
51360
|
var WfoSummaryCardListItem = ({
|
|
51349
51361
|
title,
|
|
51350
51362
|
value,
|
|
@@ -51357,8 +51369,8 @@ var WfoSummaryCardListItem = ({
|
|
|
51357
51369
|
listItemSubtitleStyle,
|
|
51358
51370
|
listItemHighlightIconStyle
|
|
51359
51371
|
} = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
|
|
51360
|
-
return /* @__PURE__ */ jsx222(WfoOptionalLink, { href: url, children: /* @__PURE__ */
|
|
51361
|
-
/* @__PURE__ */
|
|
51372
|
+
return /* @__PURE__ */ jsx222(WfoOptionalLink, { href: url, children: /* @__PURE__ */ jsxs124(EuiFlexGroup31, { css: listItemContainerStyle, gutterSize: "none", children: [
|
|
51373
|
+
/* @__PURE__ */ jsxs124(EuiFlexItem33, { children: [
|
|
51362
51374
|
/* @__PURE__ */ jsx222(
|
|
51363
51375
|
EuiTextColor,
|
|
51364
51376
|
{
|
|
@@ -51382,7 +51394,7 @@ var WfoSummaryCardListItem = ({
|
|
|
51382
51394
|
};
|
|
51383
51395
|
|
|
51384
51396
|
// src/components/WfoSummary/WfoSummaryCardList/WfoSummaryCardList.tsx
|
|
51385
|
-
import { jsx as jsx223, jsxs as
|
|
51397
|
+
import { jsx as jsx223, jsxs as jsxs125 } from "@emotion/react/jsx-runtime";
|
|
51386
51398
|
var WfoSummaryCardList = ({
|
|
51387
51399
|
title,
|
|
51388
51400
|
items,
|
|
@@ -51392,7 +51404,7 @@ var WfoSummaryCardList = ({
|
|
|
51392
51404
|
const router = useRouter15();
|
|
51393
51405
|
const euiScrollBarStyle = useEuiScrollBar3();
|
|
51394
51406
|
const { listContainerStyle, listHeaderStyle, listStyle } = useWithOrchestratorTheme(getWfoSummaryCardListStyles);
|
|
51395
|
-
return /* @__PURE__ */ jsx223(EuiFlexItem34, { children: /* @__PURE__ */
|
|
51407
|
+
return /* @__PURE__ */ jsx223(EuiFlexItem34, { children: /* @__PURE__ */ jsxs125(
|
|
51396
51408
|
EuiPanel12,
|
|
51397
51409
|
{
|
|
51398
51410
|
css: listContainerStyle,
|
|
@@ -51400,10 +51412,10 @@ var WfoSummaryCardList = ({
|
|
|
51400
51412
|
hasBorder: true,
|
|
51401
51413
|
paddingSize: "l",
|
|
51402
51414
|
children: [
|
|
51403
|
-
/* @__PURE__ */
|
|
51415
|
+
/* @__PURE__ */ jsxs125("div", { children: [
|
|
51404
51416
|
/* @__PURE__ */ jsx223("p", { css: listHeaderStyle, children: title }),
|
|
51405
51417
|
/* @__PURE__ */ jsx223(EuiSpacer25, { size: "m" }),
|
|
51406
|
-
/* @__PURE__ */ jsx223(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx223("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */
|
|
51418
|
+
/* @__PURE__ */ jsx223(EuiSkeletonText, { isLoading, lines: 10, children: /* @__PURE__ */ jsx223("div", { css: [listStyle, euiScrollBarStyle], children: items?.map((item, index) => /* @__PURE__ */ jsxs125("div", { children: [
|
|
51407
51419
|
/* @__PURE__ */ jsx223(
|
|
51408
51420
|
WfoSummaryCardListItem,
|
|
51409
51421
|
{
|
|
@@ -51449,9 +51461,9 @@ var WfoSummaryCards = ({ children }) => {
|
|
|
51449
51461
|
import { EuiFlexItem as EuiFlexItem35, EuiSpacer as EuiSpacer26 } from "@elastic/eui";
|
|
51450
51462
|
|
|
51451
51463
|
// src/components/WfoSummary/styles.ts
|
|
51452
|
-
import { css as
|
|
51464
|
+
import { css as css42 } from "@emotion/react";
|
|
51453
51465
|
var getWfoSummaryCardsStyles = ({ theme }) => {
|
|
51454
|
-
const cardContainerStyle =
|
|
51466
|
+
const cardContainerStyle = css42({
|
|
51455
51467
|
height: theme.base * 36,
|
|
51456
51468
|
minWidth: theme.base * 25
|
|
51457
51469
|
});
|
|
@@ -51461,7 +51473,7 @@ var getWfoSummaryCardsStyles = ({ theme }) => {
|
|
|
51461
51473
|
};
|
|
51462
51474
|
|
|
51463
51475
|
// src/components/WfoSummary/WfoSummaryCard.tsx
|
|
51464
|
-
import { jsx as jsx225, jsxs as
|
|
51476
|
+
import { jsx as jsx225, jsxs as jsxs126 } from "@emotion/react/jsx-runtime";
|
|
51465
51477
|
var SummaryCardStatus = /* @__PURE__ */ ((SummaryCardStatus2) => {
|
|
51466
51478
|
SummaryCardStatus2["Success"] = "Success";
|
|
51467
51479
|
SummaryCardStatus2["Error"] = "Error";
|
|
@@ -51501,7 +51513,7 @@ var WfoSummaryCard = ({
|
|
|
51501
51513
|
};
|
|
51502
51514
|
}
|
|
51503
51515
|
};
|
|
51504
|
-
return /* @__PURE__ */
|
|
51516
|
+
return /* @__PURE__ */ jsxs126(EuiFlexItem35, { css: cardContainerStyle, children: [
|
|
51505
51517
|
/* @__PURE__ */ jsx225(
|
|
51506
51518
|
WfoSummaryCardHeader,
|
|
51507
51519
|
{
|
|
@@ -51765,7 +51777,7 @@ var WfoMyWorkflowsSummaryCard = ({
|
|
|
51765
51777
|
|
|
51766
51778
|
// src/components/WfoSummary/WfoProductsSummaryCard.tsx
|
|
51767
51779
|
import { useTranslations as useTranslations84 } from "next-intl";
|
|
51768
|
-
import { jsx as jsx231, jsxs as
|
|
51780
|
+
import { jsx as jsx231, jsxs as jsxs127 } from "@emotion/react/jsx-runtime";
|
|
51769
51781
|
var WfoProductsSummaryCard = () => {
|
|
51770
51782
|
const t = useTranslations84("startPage.products");
|
|
51771
51783
|
const {
|
|
@@ -51776,7 +51788,7 @@ var WfoProductsSummaryCard = () => {
|
|
|
51776
51788
|
(left, right) => (right.subscriptions.pageInfo.totalItems ?? 0) - (left.subscriptions.pageInfo.totalItems ?? 0)
|
|
51777
51789
|
).map((product) => ({
|
|
51778
51790
|
title: "",
|
|
51779
|
-
value: /* @__PURE__ */
|
|
51791
|
+
value: /* @__PURE__ */ jsxs127(
|
|
51780
51792
|
"div",
|
|
51781
51793
|
{
|
|
51782
51794
|
css: {
|
|
@@ -51805,12 +51817,12 @@ var WfoProductsSummaryCard = () => {
|
|
|
51805
51817
|
|
|
51806
51818
|
// src/components/WfoTitleWithWebsocketBadge/WfoTitleWithWebsocketBadge.tsx
|
|
51807
51819
|
import { EuiPageHeader as EuiPageHeader3 } from "@elastic/eui";
|
|
51808
|
-
import { Fragment as Fragment57, jsx as jsx232, jsxs as
|
|
51820
|
+
import { Fragment as Fragment57, jsx as jsx232, jsxs as jsxs128 } from "@emotion/react/jsx-runtime";
|
|
51809
51821
|
var WfoTitleWithWebsocketBadge = ({
|
|
51810
51822
|
title
|
|
51811
51823
|
}) => {
|
|
51812
51824
|
const { useWebSockets } = useGetOrchestratorConfig();
|
|
51813
|
-
const pageTitle = useWebSockets ? /* @__PURE__ */
|
|
51825
|
+
const pageTitle = useWebSockets ? /* @__PURE__ */ jsxs128(Fragment57, { children: [
|
|
51814
51826
|
title,
|
|
51815
51827
|
" ",
|
|
51816
51828
|
/* @__PURE__ */ jsx232(WfoWebsocketStatusBadge, {})
|
|
@@ -51897,7 +51909,7 @@ var WfoRadioDropdown = ({
|
|
|
51897
51909
|
};
|
|
51898
51910
|
|
|
51899
51911
|
// src/components/WfoInlineNoteEdit/WfoInlineNoteEdit.tsx
|
|
51900
|
-
import { useEffect as useEffect33,
|
|
51912
|
+
import { useEffect as useEffect33, useState as useState50 } from "react";
|
|
51901
51913
|
import { EuiInlineEditText } from "@elastic/eui";
|
|
51902
51914
|
import { jsx as jsx234 } from "@emotion/react/jsx-runtime";
|
|
51903
51915
|
var WfoInlineNoteEdit = ({
|
|
@@ -51906,8 +51918,7 @@ var WfoInlineNoteEdit = ({
|
|
|
51906
51918
|
onlyShowOnHover = false
|
|
51907
51919
|
}) => {
|
|
51908
51920
|
const { theme } = useOrchestratorTheme();
|
|
51909
|
-
const
|
|
51910
|
-
const [note, setNote] = useState50(initialNote);
|
|
51921
|
+
const [note, setNote] = useState50(value ?? "");
|
|
51911
51922
|
const [isTooltipVisible, setIsTooltipVisible] = useState50(true);
|
|
51912
51923
|
const [startProcess] = useStartProcessMutation();
|
|
51913
51924
|
const triggerNoteModifyWorkflow = () => {
|
|
@@ -51925,12 +51936,12 @@ var WfoInlineNoteEdit = ({
|
|
|
51925
51936
|
setIsTooltipVisible(true);
|
|
51926
51937
|
};
|
|
51927
51938
|
const handleCancel = () => {
|
|
51928
|
-
setNote(
|
|
51939
|
+
setNote(value ?? "");
|
|
51929
51940
|
setIsTooltipVisible(true);
|
|
51930
51941
|
};
|
|
51931
51942
|
useEffect33(() => {
|
|
51932
|
-
setNote(
|
|
51933
|
-
}, [
|
|
51943
|
+
setNote(value ?? "");
|
|
51944
|
+
}, [value]);
|
|
51934
51945
|
return /* @__PURE__ */ jsx234(
|
|
51935
51946
|
"div",
|
|
51936
51947
|
{
|
|
@@ -52021,9 +52032,9 @@ var WfoInlineNoteEdit = ({
|
|
|
52021
52032
|
import { EuiFlexItem as EuiFlexItem36 } from "@elastic/eui";
|
|
52022
52033
|
|
|
52023
52034
|
// src/components/WfoTableCodeBlock/styles.ts
|
|
52024
|
-
import { css as
|
|
52035
|
+
import { css as css43 } from "@emotion/react";
|
|
52025
52036
|
var getStyles19 = ({ theme }) => {
|
|
52026
|
-
const tableCodeBlockMarginStyle =
|
|
52037
|
+
const tableCodeBlockMarginStyle = css43({
|
|
52027
52038
|
margin: theme.size.base,
|
|
52028
52039
|
marginTop: theme.size.l,
|
|
52029
52040
|
marginRight: theme.size.l
|
|
@@ -53094,8 +53105,10 @@ export {
|
|
|
53094
53105
|
WfoActiveWorkflowsSummaryCard,
|
|
53095
53106
|
WfoActualWork,
|
|
53096
53107
|
WfoAdvancedTable,
|
|
53097
|
-
|
|
53098
|
-
|
|
53108
|
+
WfoArrowDown,
|
|
53109
|
+
WfoArrowDownSvg,
|
|
53110
|
+
WfoArrowUp,
|
|
53111
|
+
WfoArrowUpSvg,
|
|
53099
53112
|
WfoArrowsExpand,
|
|
53100
53113
|
WfoArrowsUpDown,
|
|
53101
53114
|
WfoAuth,
|