@activecollab/components 2.0.478 → 2.0.480
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ConfirmDialog/ConfirmDialog.js +2 -2
- package/dist/cjs/components/ConfirmDialog/ConfirmDialog.js.map +1 -1
- package/dist/cjs/presentation/shared/index.js +156 -0
- package/dist/cjs/presentation/shared/index.js.map +1 -1
- package/dist/cjs/presentation/shared/selfHostedSettings.js +277 -0
- package/dist/cjs/presentation/shared/selfHostedSettings.js.map +1 -0
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js +1440 -0
- package/dist/cjs/presentation/shared/selfHostedUpgrade.js.map +1 -0
- package/dist/esm/components/ConfirmDialog/ConfirmDialog.d.ts.map +1 -1
- package/dist/esm/components/ConfirmDialog/ConfirmDialog.js +2 -2
- package/dist/esm/components/ConfirmDialog/ConfirmDialog.js.map +1 -1
- package/dist/esm/presentation/shared/index.d.ts +4 -0
- package/dist/esm/presentation/shared/index.d.ts.map +1 -1
- package/dist/esm/presentation/shared/index.js +2 -0
- package/dist/esm/presentation/shared/index.js.map +1 -1
- package/dist/esm/presentation/shared/selfHostedSettings.d.ts +83 -0
- package/dist/esm/presentation/shared/selfHostedSettings.d.ts.map +1 -0
- package/dist/esm/presentation/shared/selfHostedSettings.js +253 -0
- package/dist/esm/presentation/shared/selfHostedSettings.js.map +1 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts +235 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.d.ts.map +1 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.js +1329 -0
- package/dist/esm/presentation/shared/selfHostedUpgrade.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -56,7 +56,7 @@ var ConfirmDialog = exports.ConfirmDialog = /*#__PURE__*/(0, _react.forwardRef)(
|
|
|
56
56
|
}, [open]);
|
|
57
57
|
(0, _react.useEffect)(function () {
|
|
58
58
|
var handleKeyDown = function handleKeyDown(event) {
|
|
59
|
-
if (event.key === "Enter" && onConfirm && !isConfirmBlocked) {
|
|
59
|
+
if (event.key === "Enter" && onConfirm && !isConfirmBlocked && !isLoading) {
|
|
60
60
|
event.preventDefault();
|
|
61
61
|
onConfirm();
|
|
62
62
|
}
|
|
@@ -67,7 +67,7 @@ var ConfirmDialog = exports.ConfirmDialog = /*#__PURE__*/(0, _react.forwardRef)(
|
|
|
67
67
|
return function () {
|
|
68
68
|
window.removeEventListener("keydown", handleKeyDown);
|
|
69
69
|
};
|
|
70
|
-
}, [open, onConfirm, isConfirmBlocked]);
|
|
70
|
+
}, [open, onConfirm, isConfirmBlocked, isLoading]);
|
|
71
71
|
return /*#__PURE__*/_react.default.createElement(_Dialog.Dialog, {
|
|
72
72
|
ref: ref,
|
|
73
73
|
open: open,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmDialog.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_Button","_Checkbox","_Dialog","_Styles","_Body","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","u","next","done","push","value","return","isArray","CONFIRMATION_CHECKBOX_ID","ConfirmDialog","exports","forwardRef","_ref","ref","_ref$open","open","onCancel","onConfirm","className","_ref$dialogTitle","dialogTitle","_ref$dialogContent","dialogContent","_ref$confirmBtnText","confirmBtnText","_ref$cancelBtnText","cancelBtnText","_ref$shouldShowCancel","shouldShowCancelButton","_ref$isLoading","isLoading","confirmationLabel","size","height","_useState","useState","_useState2","confirmed","setConfirmed","isConfirmBlocked","Boolean","handleToggleConfirmed","useCallback","event","target","checked","useEffect","handleKeyDown","key","preventDefault","window","addEventListener","removeEventListener","createElement","Dialog","onClose","classnames","disableCloseOnEsc","Title","ContentDivider","Content","Body2","lineHeight","color","whitespace","StyledConfirmation","Checkbox","id","onChange","disabled","htmlFor","Actions","Button","variant","onClick","type","displayName"],"sources":["../../../../src/components/ConfirmDialog/ConfirmDialog.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useEffect, useState } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport { Button } from \"../Button/Button\";\nimport { Checkbox } from \"../Checkbox\";\nimport { Dialog } from \"../Dialog\";\nimport { StyledConfirmation } from \"./Styles\";\nimport { DialogSize } from \"../Dialog/Styles\";\nimport { Body2 } from \"../Typography/Variants/Body2\";\n\nconst CONFIRMATION_CHECKBOX_ID = \"confirm-dialog-confirmation\";\n\nexport interface ConfirmDialogProps {\n open?: boolean;\n onCancel?: () => void;\n onConfirm?: () => void;\n className?: string;\n dialogTitle?: string;\n dialogContent?: React.ReactNode;\n confirmBtnText?: string;\n cancelBtnText?: string;\n shouldShowCancelButton?: boolean;\n isLoading?: boolean;\n confirmationLabel?: string;\n size?: DialogSize;\n height?: string;\n}\n\nexport const ConfirmDialog = forwardRef<HTMLDivElement, ConfirmDialogProps>(\n (\n {\n open = false,\n onCancel,\n onConfirm,\n className,\n dialogTitle = \"Discard changes?\",\n dialogContent = \"All unsaved changes will be lost.\",\n confirmBtnText = \"OK\",\n cancelBtnText = \"Cancel\",\n shouldShowCancelButton = true,\n isLoading = false,\n confirmationLabel,\n size,\n height,\n },\n ref\n ) => {\n const [confirmed, setConfirmed] = useState(false);\n const isConfirmBlocked = Boolean(confirmationLabel) && !confirmed;\n\n const handleToggleConfirmed = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) =>\n setConfirmed(event.target.checked),\n []\n );\n\n useEffect(() => {\n if (!open) {\n setConfirmed(false);\n }\n }, [open]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === \"Enter\" && onConfirm && !isConfirmBlocked) {\n event.preventDefault();\n onConfirm();\n }\n };\n\n if (open) {\n window.addEventListener(\"keydown\", handleKeyDown);\n }\n\n return () => {\n window.removeEventListener(\"keydown\", handleKeyDown);\n };\n }, [open, onConfirm, isConfirmBlocked]);\n\n return (\n <Dialog\n ref={ref}\n open={open}\n onClose={onCancel}\n className={classnames(\"c-confirm-dialog\", className)}\n disableCloseOnEsc={isLoading}\n size={size}\n height={height}\n >\n <Dialog.Title>{dialogTitle}</Dialog.Title>\n <Dialog.ContentDivider />\n <Dialog.Content>\n <Body2 lineHeight=\"loose\" color=\"secondary\" whitespace=\"pre-line\">\n {dialogContent}\n </Body2>\n {confirmationLabel ? (\n <StyledConfirmation className=\"c-confirm-dialog--confirmation\">\n <Checkbox\n id={CONFIRMATION_CHECKBOX_ID}\n checked={confirmed}\n onChange={handleToggleConfirmed}\n disabled={isLoading}\n />\n <label htmlFor={CONFIRMATION_CHECKBOX_ID}>\n <Body2 color=\"secondary\">{confirmationLabel}</Body2>\n </label>\n </StyledConfirmation>\n ) : null}\n </Dialog.Content>\n <Dialog.ContentDivider />\n <Dialog.Actions>\n <Button\n variant=\"primary\"\n onClick={onConfirm}\n disabled={isLoading || isConfirmBlocked}\n >\n {confirmBtnText}\n </Button>\n {shouldShowCancelButton ? (\n <Button\n variant=\"secondary\"\n data-action=\"cancel\"\n onClick={onCancel}\n type=\"button\"\n disabled={isLoading}\n >\n {cancelBtnText}\n </Button>\n ) : null}\n </Dialog.Actions>\n </Dialog>\n );\n }\n);\n\nConfirmDialog.displayName = \"ConfirmDialog\";\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAE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AAyF,aAAA;IAAOiB,OAAO,EAAE9D;EAAyB,gBACvCxD,MAAA,CAAAY,OAAA,CAAAyF,aAAA,CAAC5F,KAAA,CAAAoG,KAAK;IAACE,KAAK,EAAC;EAAW,GAAEhC,iBAAyB,CAC9C,CACW,CAAC,GACnB,IACU,CAAC,eACjB/E,MAAA,CAAAY,OAAA,CAAAyF,aAAA,CAAC9F,OAAA,CAAA+F,MAAM,CAACK,cAAc,MAAE,CAAC,eACzB3G,MAAA,CAAAY,OAAA,CAAAyF,aAAA,CAAC9F,OAAA,CAAA+F,MAAM,CAACiB,OAAO,qBACbvH,MAAA,CAAAY,OAAA,CAAAyF,aAAA,CAAChG,OAAA,CAAAmH,MAAM;IACLC,OAAO,EAAC,SAAS;IACjBC,OAAO,EAAEzD,SAAU;IACnBoD,QAAQ,EAAEvC,SAAS,IAAIS;EAAiB,GAEvCf,cACK,CAAC,EACRI,sBAAsB,gBACrB5E,MAAA,CAAAY,OAAA,CAAAyF,aAAA,CAAChG,OAAA,CAAAmH,MAAM;IACLC,OAAO,EAAC,WAAW;IACnB,eAAY,QAAQ;IACpBC,OAAO,EAAE1D,QAAS;IAClB2D,IAAI,EAAC,QAAQ;IACbN,QAAQ,EAAEvC;EAAU,GAEnBJ,aACK,CAAC,GACP,IACU,CACV,CAAC;AAEb,CACF,CAAC;AAEDjB,aAAa,CAACmE,WAAW,GAAG,eAAe","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.js","names":["_react","_interopRequireWildcard","require","_classnames","_interopRequireDefault","_Button","_Checkbox","_Dialog","_Styles","_Body","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","u","next","done","push","value","return","isArray","CONFIRMATION_CHECKBOX_ID","ConfirmDialog","exports","forwardRef","_ref","ref","_ref$open","open","onCancel","onConfirm","className","_ref$dialogTitle","dialogTitle","_ref$dialogContent","dialogContent","_ref$confirmBtnText","confirmBtnText","_ref$cancelBtnText","cancelBtnText","_ref$shouldShowCancel","shouldShowCancelButton","_ref$isLoading","isLoading","confirmationLabel","size","height","_useState","useState","_useState2","confirmed","setConfirmed","isConfirmBlocked","Boolean","handleToggleConfirmed","useCallback","event","target","checked","useEffect","handleKeyDown","key","preventDefault","window","addEventListener","removeEventListener","createElement","Dialog","onClose","classnames","disableCloseOnEsc","Title","ContentDivider","Content","Body2","lineHeight","color","whitespace","StyledConfirmation","Checkbox","id","onChange","disabled","htmlFor","Actions","Button","variant","onClick","type","displayName"],"sources":["../../../../src/components/ConfirmDialog/ConfirmDialog.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useEffect, useState } from \"react\";\n\nimport classnames from \"classnames\";\n\nimport { Button } from \"../Button/Button\";\nimport { Checkbox } from \"../Checkbox\";\nimport { Dialog } from \"../Dialog\";\nimport { StyledConfirmation } from \"./Styles\";\nimport { DialogSize } from \"../Dialog/Styles\";\nimport { Body2 } from \"../Typography/Variants/Body2\";\n\nconst CONFIRMATION_CHECKBOX_ID = \"confirm-dialog-confirmation\";\n\nexport interface ConfirmDialogProps {\n open?: boolean;\n onCancel?: () => void;\n onConfirm?: () => void;\n className?: string;\n dialogTitle?: string;\n dialogContent?: React.ReactNode;\n confirmBtnText?: string;\n cancelBtnText?: string;\n shouldShowCancelButton?: boolean;\n isLoading?: boolean;\n confirmationLabel?: string;\n size?: DialogSize;\n height?: string;\n}\n\nexport const ConfirmDialog = forwardRef<HTMLDivElement, ConfirmDialogProps>(\n (\n {\n open = false,\n onCancel,\n onConfirm,\n className,\n dialogTitle = \"Discard changes?\",\n dialogContent = \"All unsaved changes will be lost.\",\n confirmBtnText = \"OK\",\n cancelBtnText = \"Cancel\",\n shouldShowCancelButton = true,\n isLoading = false,\n confirmationLabel,\n size,\n height,\n },\n ref\n ) => {\n const [confirmed, setConfirmed] = useState(false);\n const isConfirmBlocked = Boolean(confirmationLabel) && !confirmed;\n\n const handleToggleConfirmed = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) =>\n setConfirmed(event.target.checked),\n []\n );\n\n useEffect(() => {\n if (!open) {\n setConfirmed(false);\n }\n }, [open]);\n\n useEffect(() => {\n const handleKeyDown = (event: KeyboardEvent) => {\n if (\n event.key === \"Enter\" &&\n onConfirm &&\n !isConfirmBlocked &&\n !isLoading\n ) {\n event.preventDefault();\n onConfirm();\n }\n };\n\n if (open) {\n window.addEventListener(\"keydown\", handleKeyDown);\n }\n\n return () => {\n window.removeEventListener(\"keydown\", handleKeyDown);\n };\n }, [open, onConfirm, isConfirmBlocked, isLoading]);\n\n return (\n <Dialog\n ref={ref}\n open={open}\n onClose={onCancel}\n className={classnames(\"c-confirm-dialog\", className)}\n disableCloseOnEsc={isLoading}\n size={size}\n height={height}\n >\n <Dialog.Title>{dialogTitle}</Dialog.Title>\n <Dialog.ContentDivider />\n <Dialog.Content>\n <Body2 lineHeight=\"loose\" color=\"secondary\" whitespace=\"pre-line\">\n {dialogContent}\n </Body2>\n {confirmationLabel ? (\n <StyledConfirmation className=\"c-confirm-dialog--confirmation\">\n <Checkbox\n id={CONFIRMATION_CHECKBOX_ID}\n checked={confirmed}\n onChange={handleToggleConfirmed}\n disabled={isLoading}\n />\n <label htmlFor={CONFIRMATION_CHECKBOX_ID}>\n <Body2 color=\"secondary\">{confirmationLabel}</Body2>\n </label>\n </StyledConfirmation>\n ) : null}\n </Dialog.Content>\n <Dialog.ContentDivider />\n <Dialog.Actions>\n <Button\n variant=\"primary\"\n onClick={onConfirm}\n disabled={isLoading || isConfirmBlocked}\n >\n {confirmBtnText}\n </Button>\n {shouldShowCancelButton ? (\n <Button\n variant=\"secondary\"\n data-action=\"cancel\"\n onClick={onCancel}\n type=\"button\"\n disabled={isLoading}\n >\n {cancelBtnText}\n </Button>\n ) : null}\n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var _exportNames = {
|
|
|
72
72
|
SettingValue: true,
|
|
73
73
|
SystemSettingsDialog: true,
|
|
74
74
|
SYSTEM_SETTINGS_GROUPS: true,
|
|
75
|
+
SelfHostedSettingsDialog: true,
|
|
76
|
+
ExpandableSettingRow: true,
|
|
77
|
+
StatusDot: true,
|
|
78
|
+
SettingExpandCard: true,
|
|
79
|
+
CommandCode: true,
|
|
80
|
+
OtherSectionRows: true,
|
|
81
|
+
CronJobsBody: true,
|
|
82
|
+
CommandBlock: true,
|
|
83
|
+
ReleaseNotesHtml: true,
|
|
84
|
+
LogPanel: true,
|
|
85
|
+
TokenSetupDialog: true,
|
|
86
|
+
TokenMissingPanel: true,
|
|
87
|
+
TokenStrip: true,
|
|
88
|
+
UpToDatePanel: true,
|
|
89
|
+
UpdateAvailablePanel: true,
|
|
90
|
+
SupportExpiredPanel: true,
|
|
91
|
+
CheckFailedPanel: true,
|
|
92
|
+
PreflightGate: true,
|
|
93
|
+
UpgradeConsole: true,
|
|
94
|
+
SendToSupportDialog: true,
|
|
95
|
+
MaintenanceScreen: true,
|
|
96
|
+
formatDate: true,
|
|
75
97
|
FeatureAvailability: true,
|
|
76
98
|
DEFAULT_FEATURE_AVAILABILITY: true,
|
|
77
99
|
PORTFOLIO_TYPES: true,
|
|
@@ -132,12 +154,30 @@ Object.defineProperty(exports, "CONNECTIONS", {
|
|
|
132
154
|
return _ConnectRepositoryDialog.CONNECTIONS;
|
|
133
155
|
}
|
|
134
156
|
});
|
|
157
|
+
Object.defineProperty(exports, "CheckFailedPanel", {
|
|
158
|
+
enumerable: true,
|
|
159
|
+
get: function get() {
|
|
160
|
+
return _selfHostedUpgrade.CheckFailedPanel;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
135
163
|
Object.defineProperty(exports, "CodeRow", {
|
|
136
164
|
enumerable: true,
|
|
137
165
|
get: function get() {
|
|
138
166
|
return _SourceCodeSection.CodeRow;
|
|
139
167
|
}
|
|
140
168
|
});
|
|
169
|
+
Object.defineProperty(exports, "CommandBlock", {
|
|
170
|
+
enumerable: true,
|
|
171
|
+
get: function get() {
|
|
172
|
+
return _selfHostedUpgrade.CommandBlock;
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "CommandCode", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function get() {
|
|
178
|
+
return _selfHostedSettings.CommandCode;
|
|
179
|
+
}
|
|
180
|
+
});
|
|
141
181
|
Object.defineProperty(exports, "CompletedHeader", {
|
|
142
182
|
enumerable: true,
|
|
143
183
|
get: function get() {
|
|
@@ -156,6 +196,12 @@ Object.defineProperty(exports, "CreateLoginCodeDialogs", {
|
|
|
156
196
|
return _TwoFactorDialogs.CreateLoginCodeDialogs;
|
|
157
197
|
}
|
|
158
198
|
});
|
|
199
|
+
Object.defineProperty(exports, "CronJobsBody", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function get() {
|
|
202
|
+
return _selfHostedSettings.CronJobsBody;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
159
205
|
Object.defineProperty(exports, "DEFAULT_FEATURE_AVAILABILITY", {
|
|
160
206
|
enumerable: true,
|
|
161
207
|
get: function get() {
|
|
@@ -186,6 +232,12 @@ Object.defineProperty(exports, "EditPortfolioDialog", {
|
|
|
186
232
|
return _portfolioDetails.EditPortfolioDialog;
|
|
187
233
|
}
|
|
188
234
|
});
|
|
235
|
+
Object.defineProperty(exports, "ExpandableSettingRow", {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
get: function get() {
|
|
238
|
+
return _selfHostedSettings.ExpandableSettingRow;
|
|
239
|
+
}
|
|
240
|
+
});
|
|
189
241
|
Object.defineProperty(exports, "FeatureAvailability", {
|
|
190
242
|
enumerable: true,
|
|
191
243
|
get: function get() {
|
|
@@ -240,12 +292,24 @@ Object.defineProperty(exports, "LinkingCommandsButton", {
|
|
|
240
292
|
return _LinkingCommandsButton.LinkingCommandsButton;
|
|
241
293
|
}
|
|
242
294
|
});
|
|
295
|
+
Object.defineProperty(exports, "LogPanel", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function get() {
|
|
298
|
+
return _selfHostedUpgrade.LogPanel;
|
|
299
|
+
}
|
|
300
|
+
});
|
|
243
301
|
Object.defineProperty(exports, "MainLogo", {
|
|
244
302
|
enumerable: true,
|
|
245
303
|
get: function get() {
|
|
246
304
|
return _MainLogo.MainLogo;
|
|
247
305
|
}
|
|
248
306
|
});
|
|
307
|
+
Object.defineProperty(exports, "MaintenanceScreen", {
|
|
308
|
+
enumerable: true,
|
|
309
|
+
get: function get() {
|
|
310
|
+
return _selfHostedUpgrade.MaintenanceScreen;
|
|
311
|
+
}
|
|
312
|
+
});
|
|
249
313
|
Object.defineProperty(exports, "MessageDialog", {
|
|
250
314
|
enumerable: true,
|
|
251
315
|
get: function get() {
|
|
@@ -270,6 +334,12 @@ Object.defineProperty(exports, "OVERVIEW_SECTION_COLORS", {
|
|
|
270
334
|
return _dashboardWidgets.OVERVIEW_SECTION_COLORS;
|
|
271
335
|
}
|
|
272
336
|
});
|
|
337
|
+
Object.defineProperty(exports, "OtherSectionRows", {
|
|
338
|
+
enumerable: true,
|
|
339
|
+
get: function get() {
|
|
340
|
+
return _selfHostedSettings.OtherSectionRows;
|
|
341
|
+
}
|
|
342
|
+
});
|
|
273
343
|
Object.defineProperty(exports, "OverviewWidget", {
|
|
274
344
|
enumerable: true,
|
|
275
345
|
get: function get() {
|
|
@@ -330,6 +400,12 @@ Object.defineProperty(exports, "PortfolioOptionsMenu", {
|
|
|
330
400
|
return _PortfolioOptionsMenu.PortfolioOptionsMenu;
|
|
331
401
|
}
|
|
332
402
|
});
|
|
403
|
+
Object.defineProperty(exports, "PreflightGate", {
|
|
404
|
+
enumerable: true,
|
|
405
|
+
get: function get() {
|
|
406
|
+
return _selfHostedUpgrade.PreflightGate;
|
|
407
|
+
}
|
|
408
|
+
});
|
|
333
409
|
Object.defineProperty(exports, "PresentationShell", {
|
|
334
410
|
enumerable: true,
|
|
335
411
|
get: function get() {
|
|
@@ -354,6 +430,12 @@ Object.defineProperty(exports, "ProjectsPicker", {
|
|
|
354
430
|
return _portfolioDetails.ProjectsPicker;
|
|
355
431
|
}
|
|
356
432
|
});
|
|
433
|
+
Object.defineProperty(exports, "ReleaseNotesHtml", {
|
|
434
|
+
enumerable: true,
|
|
435
|
+
get: function get() {
|
|
436
|
+
return _selfHostedUpgrade.ReleaseNotesHtml;
|
|
437
|
+
}
|
|
438
|
+
});
|
|
357
439
|
Object.defineProperty(exports, "RepositorySelect", {
|
|
358
440
|
enumerable: true,
|
|
359
441
|
get: function get() {
|
|
@@ -378,12 +460,30 @@ Object.defineProperty(exports, "SYSTEM_SETTINGS_GROUPS", {
|
|
|
378
460
|
return _systemSettingsDialog.SYSTEM_SETTINGS_GROUPS;
|
|
379
461
|
}
|
|
380
462
|
});
|
|
463
|
+
Object.defineProperty(exports, "SelfHostedSettingsDialog", {
|
|
464
|
+
enumerable: true,
|
|
465
|
+
get: function get() {
|
|
466
|
+
return _selfHostedSettings.SelfHostedSettingsDialog;
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
Object.defineProperty(exports, "SendToSupportDialog", {
|
|
470
|
+
enumerable: true,
|
|
471
|
+
get: function get() {
|
|
472
|
+
return _selfHostedUpgrade.SendToSupportDialog;
|
|
473
|
+
}
|
|
474
|
+
});
|
|
381
475
|
Object.defineProperty(exports, "SettingCount", {
|
|
382
476
|
enumerable: true,
|
|
383
477
|
get: function get() {
|
|
384
478
|
return _settings.SettingCount;
|
|
385
479
|
}
|
|
386
480
|
});
|
|
481
|
+
Object.defineProperty(exports, "SettingExpandCard", {
|
|
482
|
+
enumerable: true,
|
|
483
|
+
get: function get() {
|
|
484
|
+
return _selfHostedSettings.SettingExpandCard;
|
|
485
|
+
}
|
|
486
|
+
});
|
|
387
487
|
Object.defineProperty(exports, "SettingGroup", {
|
|
388
488
|
enumerable: true,
|
|
389
489
|
get: function get() {
|
|
@@ -438,6 +538,12 @@ Object.defineProperty(exports, "StatWidget", {
|
|
|
438
538
|
return _dashboardWidgets.StatWidget;
|
|
439
539
|
}
|
|
440
540
|
});
|
|
541
|
+
Object.defineProperty(exports, "StatusDot", {
|
|
542
|
+
enumerable: true,
|
|
543
|
+
get: function get() {
|
|
544
|
+
return _selfHostedSettings.StatusDot;
|
|
545
|
+
}
|
|
546
|
+
});
|
|
441
547
|
Object.defineProperty(exports, "StatusIndicator", {
|
|
442
548
|
enumerable: true,
|
|
443
549
|
get: function get() {
|
|
@@ -462,6 +568,12 @@ Object.defineProperty(exports, "SuggestSubtasksButton", {
|
|
|
462
568
|
return _SuggestSubtasksButton.SuggestSubtasksButton;
|
|
463
569
|
}
|
|
464
570
|
});
|
|
571
|
+
Object.defineProperty(exports, "SupportExpiredPanel", {
|
|
572
|
+
enumerable: true,
|
|
573
|
+
get: function get() {
|
|
574
|
+
return _selfHostedUpgrade.SupportExpiredPanel;
|
|
575
|
+
}
|
|
576
|
+
});
|
|
465
577
|
Object.defineProperty(exports, "SystemSettingsDialog", {
|
|
466
578
|
enumerable: true,
|
|
467
579
|
get: function get() {
|
|
@@ -492,6 +604,24 @@ Object.defineProperty(exports, "ToastHost", {
|
|
|
492
604
|
return _ToastHost.ToastHost;
|
|
493
605
|
}
|
|
494
606
|
});
|
|
607
|
+
Object.defineProperty(exports, "TokenMissingPanel", {
|
|
608
|
+
enumerable: true,
|
|
609
|
+
get: function get() {
|
|
610
|
+
return _selfHostedUpgrade.TokenMissingPanel;
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
Object.defineProperty(exports, "TokenSetupDialog", {
|
|
614
|
+
enumerable: true,
|
|
615
|
+
get: function get() {
|
|
616
|
+
return _selfHostedUpgrade.TokenSetupDialog;
|
|
617
|
+
}
|
|
618
|
+
});
|
|
619
|
+
Object.defineProperty(exports, "TokenStrip", {
|
|
620
|
+
enumerable: true,
|
|
621
|
+
get: function get() {
|
|
622
|
+
return _selfHostedUpgrade.TokenStrip;
|
|
623
|
+
}
|
|
624
|
+
});
|
|
495
625
|
Object.defineProperty(exports, "TwoFactorShield", {
|
|
496
626
|
enumerable: true,
|
|
497
627
|
get: function get() {
|
|
@@ -504,6 +634,24 @@ Object.defineProperty(exports, "USER_DETAILS_AVATAR_SIZE", {
|
|
|
504
634
|
return _UserDetailsDialog.USER_DETAILS_AVATAR_SIZE;
|
|
505
635
|
}
|
|
506
636
|
});
|
|
637
|
+
Object.defineProperty(exports, "UpToDatePanel", {
|
|
638
|
+
enumerable: true,
|
|
639
|
+
get: function get() {
|
|
640
|
+
return _selfHostedUpgrade.UpToDatePanel;
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
Object.defineProperty(exports, "UpdateAvailablePanel", {
|
|
644
|
+
enumerable: true,
|
|
645
|
+
get: function get() {
|
|
646
|
+
return _selfHostedUpgrade.UpdateAvailablePanel;
|
|
647
|
+
}
|
|
648
|
+
});
|
|
649
|
+
Object.defineProperty(exports, "UpgradeConsole", {
|
|
650
|
+
enumerable: true,
|
|
651
|
+
get: function get() {
|
|
652
|
+
return _selfHostedUpgrade.UpgradeConsole;
|
|
653
|
+
}
|
|
654
|
+
});
|
|
507
655
|
Object.defineProperty(exports, "UserDetailsDialog", {
|
|
508
656
|
enumerable: true,
|
|
509
657
|
get: function get() {
|
|
@@ -576,6 +724,12 @@ Object.defineProperty(exports, "defaultPortfolioName", {
|
|
|
576
724
|
return _portfolioDetails.defaultPortfolioName;
|
|
577
725
|
}
|
|
578
726
|
});
|
|
727
|
+
Object.defineProperty(exports, "formatDate", {
|
|
728
|
+
enumerable: true,
|
|
729
|
+
get: function get() {
|
|
730
|
+
return _selfHostedUpgrade.formatDate;
|
|
731
|
+
}
|
|
732
|
+
});
|
|
579
733
|
Object.defineProperty(exports, "isPortfolioDetailsValid", {
|
|
580
734
|
enumerable: true,
|
|
581
735
|
get: function get() {
|
|
@@ -638,6 +792,8 @@ var _TwoFactorShield = require("./TwoFactorShield");
|
|
|
638
792
|
var _TwoFactorDialogs = require("./TwoFactorDialogs");
|
|
639
793
|
var _settings = require("./settings");
|
|
640
794
|
var _systemSettingsDialog = require("./systemSettingsDialog");
|
|
795
|
+
var _selfHostedSettings = require("./selfHostedSettings");
|
|
796
|
+
var _selfHostedUpgrade = require("./selfHostedUpgrade");
|
|
641
797
|
var _FeatureAvailability = require("./FeatureAvailability");
|
|
642
798
|
var _portfolioDetails = require("./portfolioDetails");
|
|
643
799
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_PresentationShell","_headers","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAA,GAAA3B,OAAA;AAEA,IAAA4B,wBAAA,GAAA5B,OAAA;AAeA,IAAA6B,kBAAA,GAAA7B,OAAA;AAWA,IAAA8B,kBAAA,GAAA9B,OAAA;AAiBA,IAAA+B,sBAAA,GAAA/B,OAAA;AACA,IAAAgC,gBAAA,GAAAhC,OAAA;AAKA,IAAAiC,SAAA,GAAAjC,OAAA;AAEA,IAAAkC,kBAAA,GAAAlC,OAAA;AAQA,IAAAmC,gBAAA,GAAAnC,OAAA;AAEA,IAAAoC,iBAAA,GAAApC,OAAA;AAKA,IAAAqC,SAAA,GAAArC,OAAA;AAeA,IAAAsC,qBAAA,GAAAtC,OAAA;AAQA,IAAAuC,oBAAA,GAAAvC,OAAA;AAUA,IAAAwC,iBAAA,GAAAxC,OAAA","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_tokens","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_MainLogo","_RoundAvatar","_PresentationShell","_headers","_ProjectOptionsMenu","_PortfolioOptionsMenu","_dashboardWidgets","_FloatingControls","_StatusIndicator","_ToastHost","_MessageDialog","_MessageFeedback","_HelpAndSupportMenu","_LinkingCommandsButton","_LinkBranchOrPullRequestDialog","_ConnectRepositoryDialog","_WebhookLogsDialog","_SourceCodeSection","_SuggestSubtasksButton","_TaskOptionsMenu","_UserMenu","_UserDetailsDialog","_TwoFactorShield","_TwoFactorDialogs","_settings","_systemSettingsDialog","_selfHostedSettings","_selfHostedUpgrade","_FeatureAvailability","_portfolioDetails"],"sources":["../../../../src/presentation/shared/index.ts"],"sourcesContent":["/**\n * Shared building blocks for the Presentation mock-ups (`Presentation/*`\n * stories). The application shell, page headers, tab bar and small widgets are\n * defined once here and reused by the List view, Column view, Task sheet and\n * empty-page stories so the chrome stays identical and in one place.\n */\nexport * from \"./tokens\";\nexport { MainLogo } from \"./MainLogo\";\nexport { RoundAvatar } from \"./RoundAvatar\";\nexport { PresentationShell, StyledPagePaper } from \"./PresentationShell\";\nexport type { PresentationShellProps } from \"./PresentationShell\";\nexport { PageHeader, ProjectPageHeader, TabHeader } from \"./headers\";\nexport type {\n PageHeaderProps,\n ProjectPageHeaderProps,\n TabHeaderProps,\n} from \"./headers\";\nexport { ProjectOptionsMenu } from \"./ProjectOptionsMenu\";\nexport { PortfolioOptionsMenu } from \"./PortfolioOptionsMenu\";\nexport type { PortfolioOptionsMenuProps } from \"./PortfolioOptionsMenu\";\nexport {\n WidgetGrid,\n WidgetGroupBy,\n StatWidget,\n WidgetRankedList,\n OverviewWidget,\n AreaChartWidget,\n DailyDeltaChartWidget,\n LeaderboardWidget,\n StackedBarChartWidget,\n CHART_SERIES_COLORS,\n OVERVIEW_SECTION_COLORS,\n PERIOD_OPTIONS,\n PeriodPicker,\n} from \"./dashboardWidgets\";\nexport type {\n WidgetGroupByProps,\n StatWidgetProps,\n RankedListItem,\n OverviewSectionData,\n OverviewWidgetProps,\n AreaChartWidgetProps,\n DailyDeltaPoint,\n DailyDeltaChartWidgetProps,\n LeaderboardRowData,\n LeaderboardWidgetProps,\n StackedBarColumn,\n StackedBarChartWidgetProps,\n PeriodPickerProps,\n} from \"./dashboardWidgets\";\n\nexport type { ProjectOptionsMenuProps } from \"./ProjectOptionsMenu\";\nexport { FloatingControls } from \"./FloatingControls\";\nexport { StatusIndicator } from \"./StatusIndicator\";\nexport type { StatusIndicatorProps } from \"./StatusIndicator\";\nexport { ToastHost } from \"./ToastHost\";\nexport {\n MessageDialog,\n DocLinkContext,\n messageComponents,\n} from \"./MessageDialog\";\nexport type {\n MessageDialogProps,\n MessageDialogSize,\n OpenArticleHandler,\n} from \"./MessageDialog\";\nexport {\n MessageFeedback,\n POSITIVE_FEEDBACK_OPTIONS,\n NEGATIVE_FEEDBACK_OPTIONS,\n} from \"./MessageFeedback\";\nexport type {\n MessageFeedbackProps,\n MessageFeedbackResult,\n FeedbackOption,\n FeedbackSentiment,\n} from \"./MessageFeedback\";\nexport { HelpAndSupportMenu } from \"./HelpAndSupportMenu\";\nexport type { HelpAndSupportMenuProps } from \"./HelpAndSupportMenu\";\nexport { LinkingCommandsButton } from \"./LinkingCommandsButton\";\nexport { LinkBranchOrPullRequestDialog } from \"./LinkBranchOrPullRequestDialog\";\nexport type { LinkBranchOrPullRequestDialogProps } from \"./LinkBranchOrPullRequestDialog\";\nexport {\n ConnectRepositoryDialog,\n RepositorySelect,\n buildRepoOptions,\n CONNECTIONS,\n PROJECT_REPOSITORIES,\n CONNECTABLE_REPOSITORIES,\n} from \"./ConnectRepositoryDialog\";\nexport type {\n ConnectRepositoryDialogProps,\n RepositorySelectProps,\n Connection,\n ConnectionService,\n Repository,\n} from \"./ConnectRepositoryDialog\";\nexport {\n WebhookLogsDialog,\n WEBHOOK_CONNECTIONS,\n WEBHOOK_REPOSITORIES,\n} from \"./WebhookLogsDialog\";\nexport type {\n WebhookLogsDialogProps,\n WebhookConnection,\n WebhookRepository,\n WebhookLog,\n} from \"./WebhookLogsDialog\";\nexport {\n SourceCodeSection,\n IssueRow,\n CodeRow,\n Spine,\n HistoryDialog,\n CompletedHeader,\n} from \"./SourceCodeSection\";\nexport type {\n IssueEntry,\n CodeEntry,\n Stage,\n HistoryEvent,\n StageState,\n CodeStatus,\n SectionVariant,\n} from \"./SourceCodeSection\";\nexport { SuggestSubtasksButton } from \"./SuggestSubtasksButton\";\nexport { TaskOptionsMenu, TaskListOptionsMenu } from \"./TaskOptionsMenu\";\nexport type {\n TaskOptionsMenuProps,\n TaskListOptionsMenuProps,\n} from \"./TaskOptionsMenu\";\nexport { UserMenu } from \"./UserMenu\";\nexport type { UserMenuProps, UserMenuVariant } from \"./UserMenu\";\nexport {\n UserDetailsDialog,\n USER_DETAILS_AVATAR_SIZE,\n} from \"./UserDetailsDialog\";\nexport type {\n UserDetailsDialogProps,\n UserDetailsAvatar,\n} from \"./UserDetailsDialog\";\nexport { TwoFactorShield } from \"./TwoFactorShield\";\nexport type { TwoFactorShieldProps } from \"./TwoFactorShield\";\nexport { BackupCodesDialogs, CreateLoginCodeDialogs } from \"./TwoFactorDialogs\";\nexport type {\n BackupCodesDialogsProps,\n CreateLoginCodeDialogsProps,\n} from \"./TwoFactorDialogs\";\nexport {\n SettingsHeader,\n SettingsContent,\n SettingGroup,\n StyledSettingRow,\n RowText,\n SettingRow,\n SettingCount,\n SettingValue,\n} from \"./settings\";\nexport type {\n SettingsHeaderProps,\n SettingGroupProps,\n SettingRowProps,\n} from \"./settings\";\nexport {\n SystemSettingsDialog,\n SYSTEM_SETTINGS_GROUPS,\n} from \"./systemSettingsDialog\";\nexport type {\n SystemSettingsDialogProps,\n SystemSettingsSectionId,\n} from \"./systemSettingsDialog\";\nexport {\n SelfHostedSettingsDialog,\n ExpandableSettingRow,\n StatusDot,\n SettingExpandCard,\n CommandCode,\n OtherSectionRows,\n CronJobsBody,\n} from \"./selfHostedSettings\";\nexport type {\n SelfHostedSettingsDialogProps,\n ExpandableSettingRowProps,\n SettingStatus,\n OtherSectionRowsProps,\n SectionRowState,\n CronJobsBodyProps,\n} from \"./selfHostedSettings\";\nexport {\n CommandBlock,\n ReleaseNotesHtml,\n LogPanel,\n TokenSetupDialog,\n TokenMissingPanel,\n TokenStrip,\n UpToDatePanel,\n UpdateAvailablePanel,\n SupportExpiredPanel,\n CheckFailedPanel,\n PreflightGate,\n UpgradeConsole,\n SendToSupportDialog,\n MaintenanceScreen,\n formatDate,\n} from \"./selfHostedUpgrade\";\nexport type {\n TokenSource,\n TokenInfo,\n CheckErrorCode,\n CheckError,\n ReleaseNote,\n UpgradeStatus,\n PreflightStatus,\n PreflightCheck,\n PreflightResult,\n UpgradeDriver,\n RunStepKey,\n RunStatus,\n ProgressUnit,\n RunError,\n LogLevel,\n LogEntry,\n UpgradeRun,\n TokenSetupDialogProps,\n PreflightGateProps,\n UpdateAvailablePanelProps,\n TokenVerifyError,\n TokenVerifyState,\n UpgradeConsoleProps,\n SendToSupportDialogProps,\n SendToSupportState,\n MaintenanceScreenProps,\n} from \"./selfHostedUpgrade\";\nexport {\n FeatureAvailability,\n DEFAULT_FEATURE_AVAILABILITY,\n} from \"./FeatureAvailability\";\nexport type {\n FeatureAvailabilityProps,\n AvailabilityRow,\n AvailabilityMark,\n AvailabilityStatus,\n} from \"./FeatureAvailability\";\nexport {\n PORTFOLIO_TYPES,\n VISIBILITY_OPTIONS,\n DEFAULT_PORTFOLIO_FORM_VALUES,\n LEADERS_LIST,\n CATEGORIES,\n CLIENTS,\n contextFieldLabel,\n leaderShortName,\n defaultPortfolioName,\n isPortfolioDetailsValid,\n sampleProjectOptionIds,\n PortfolioDetailsFields,\n EditPortfolioDialog,\n ProjectsPicker,\n PICKER_PROJECTS,\n} from \"./portfolioDetails\";\nexport type {\n PortfolioKind,\n PortfolioVisibility,\n GroupBy,\n PortfolioFormValues,\n PickerLeader,\n PortfolioDetailsFieldsProps,\n EditPortfolioDialogProps,\n PickerProject,\n ProjectsPickerProps,\n} from \"./portfolioDetails\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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