@e-llm-studio/instant-learning 1.3.34 → 1.3.37
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/ILMarketplaceWrapper.js +39 -1
- package/dist/ILMarketplaceWrapper.js.map +1 -1
- package/dist/cjs/ILMarketplaceWrapper.js +38 -0
- package/dist/cjs/ILMarketplaceWrapper.js.map +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +2 -2
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js +134 -15
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js.map +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +2 -2
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js +8 -0
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js.map +1 -1
- package/dist/cjs/features/IL-marketplace/components/RequestAccessDialog.js +157 -0
- package/dist/cjs/features/IL-marketplace/components/RequestAccessDialog.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/components/RequestAccessDialog.module.css.js +12 -0
- package/dist/cjs/features/IL-marketplace/components/RequestAccessDialog.module.css.js.map +1 -0
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js.map +1 -1
- package/dist/cjs/features/IL-marketplace/services/instant-learning.api.js +27 -0
- package/dist/cjs/features/IL-marketplace/services/instant-learning.api.js.map +1 -1
- package/dist/cjs/features/IL-marketplace/utils/shareModalPrefill.js +67 -0
- package/dist/cjs/features/IL-marketplace/utils/shareModalPrefill.js.map +1 -0
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.js +9 -9
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.js.map +1 -1
- package/dist/features/IL-marketplace/components/GuidelineConfirmDialog.module.css.js +2 -2
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js +134 -15
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js.map +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibraryCard.module.css.js +2 -2
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js +8 -0
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js.map +1 -1
- package/dist/features/IL-marketplace/components/RequestAccessDialog.js +153 -0
- package/dist/features/IL-marketplace/components/RequestAccessDialog.js.map +1 -0
- package/dist/features/IL-marketplace/components/RequestAccessDialog.module.css.js +8 -0
- package/dist/features/IL-marketplace/components/RequestAccessDialog.module.css.js.map +1 -0
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js.map +1 -1
- package/dist/features/IL-marketplace/services/instant-learning.api.js +27 -1
- package/dist/features/IL-marketplace/services/instant-learning.api.js.map +1 -1
- package/dist/features/IL-marketplace/utils/shareModalPrefill.js +63 -0
- package/dist/features/IL-marketplace/utils/shareModalPrefill.js.map +1 -0
- package/dist/types/src/ILMarketplaceWrapper.d.ts +7 -1
- package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts +8 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +8 -2
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/RequestAccessDialog.d.ts +35 -0
- package/dist/types/src/features/IL-marketplace/components/RequestAccessDialog.d.ts.map +1 -0
- package/dist/types/src/features/IL-marketplace/index.d.ts +2 -1
- package/dist/types/src/features/IL-marketplace/index.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts +2 -0
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/services/instant-learning.api.d.ts +12 -0
- package/dist/types/src/features/IL-marketplace/services/instant-learning.api.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/utils/shareModalPrefill.d.ts +13 -0
- package/dist/types/src/features/IL-marketplace/utils/shareModalPrefill.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -10,6 +10,7 @@ import { GuidelineIconButton } from './GuidelineIconButton.js';
|
|
|
10
10
|
import { GuidelineTooltip } from './GuidelineTooltip.js';
|
|
11
11
|
import { createGuidelineCardMenuItems, GuidelineCardMenu } from './GuidelineCardMenu.js';
|
|
12
12
|
import { GuidelineConfirmDialog } from './GuidelineConfirmDialog.js';
|
|
13
|
+
import { RequestAccessDialog } from './RequestAccessDialog.js';
|
|
13
14
|
import { isUnderReviewStatus, isKnownApprovalStatus, isKnownGuidelineStatus, GuidelineStatusChip, GuidelineApprovalChip } from './GuidelineStatusChip.js';
|
|
14
15
|
import { VersionSelectDropdown } from './VersionSelectDropdown.js';
|
|
15
16
|
import useAuthStore from '../../LearningManagement/store/useAuthStore.js';
|
|
@@ -20,6 +21,7 @@ import { Toast } from 'primereact/toast';
|
|
|
20
21
|
import { RbacQueryProvider, AppsecProvider, ShareAccessModal } from 'appsec-ui';
|
|
21
22
|
import { fetchRBACConfig } from '../services/instant-learning.api.js';
|
|
22
23
|
import { createRoleFilterAxiosConfig, clearAppsecRoleLists } from '../utils/appsecRoles.js';
|
|
24
|
+
import { prefillShareModalEmail } from '../utils/shareModalPrefill.js';
|
|
23
25
|
import ErrorToastContent from '../../LearningManagement/shared/ErrorToastContent.js';
|
|
24
26
|
import SuccessToastContent from '../../LearningManagement/shared/SuccessToastContent.js';
|
|
25
27
|
|
|
@@ -96,6 +98,10 @@ function GuidelineLibraryCard({
|
|
|
96
98
|
onApproveGuideline,
|
|
97
99
|
onRejectGuideline,
|
|
98
100
|
onRequestAccess,
|
|
101
|
+
requestAccessDialog,
|
|
102
|
+
autoOpenShare = false,
|
|
103
|
+
autoOpenShareEmail,
|
|
104
|
+
onAutoOpenShareHandled,
|
|
99
105
|
waitingReviewLabel = "Waiting on your review",
|
|
100
106
|
approveLabel = "Approve",
|
|
101
107
|
rejectLabel = "Reject",
|
|
@@ -103,7 +109,7 @@ function GuidelineLibraryCard({
|
|
|
103
109
|
exploreHighlightConfig,
|
|
104
110
|
guidelinePinnedMessages
|
|
105
111
|
}) {
|
|
106
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H;
|
|
112
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I;
|
|
107
113
|
const guidelineId = getGuidelineId(guideline);
|
|
108
114
|
const title = getGuidelineTitle(guideline);
|
|
109
115
|
const description = getGuidelineDisplayDescription(guideline);
|
|
@@ -167,6 +173,7 @@ function GuidelineLibraryCard({
|
|
|
167
173
|
enabled: Boolean(accessControl)
|
|
168
174
|
});
|
|
169
175
|
const isAccessDenied = isILMarketplace && guideline.has_access === false && !appAccess.permissions.has(viewPermission);
|
|
176
|
+
const showRequestAccessDialogButton = isAccessDenied && Boolean((requestAccessDialog == null ? void 0 : requestAccessDialog.approverGroupId) && onRequestAccess);
|
|
170
177
|
const { data: approvalCompletionStatus } = useMarketplaceApprovalStatus(
|
|
171
178
|
guideline == null ? void 0 : guideline.instant_learning_id,
|
|
172
179
|
guideline == null ? void 0 : guideline.scope_id,
|
|
@@ -231,6 +238,7 @@ function GuidelineLibraryCard({
|
|
|
231
238
|
const [wishlistLoading, setWishlistLoading] = useState(false);
|
|
232
239
|
const [decisionLoading, setDecisionLoading] = useState(null);
|
|
233
240
|
const [requestAccessState, setRequestAccessState] = useState("idle");
|
|
241
|
+
const [requestAccessDialogOpen, setRequestAccessDialogOpen] = useState(false);
|
|
234
242
|
const [whenToApplyOpen, setWhenToApplyOpen] = useState(false);
|
|
235
243
|
const [whenNotToApplyOpen, setWhenNotToApplyOpen] = useState(false);
|
|
236
244
|
const resolvedDuplicateDescription = duplicateConfirmDescription != null ? duplicateConfirmDescription : `Are you sure you want to duplicate "${title}"? A copy will be created with "(1)" appended to the title.`;
|
|
@@ -383,27 +391,26 @@ function GuidelineLibraryCard({
|
|
|
383
391
|
}
|
|
384
392
|
onPreview(guideline);
|
|
385
393
|
};
|
|
386
|
-
const
|
|
394
|
+
const openShare = async () => {
|
|
387
395
|
var _a2, _b2, _c2, _d2;
|
|
388
|
-
event.stopPropagation();
|
|
389
396
|
if (!canShareGuideline || isShareBusy) {
|
|
390
|
-
return;
|
|
397
|
+
return false;
|
|
391
398
|
}
|
|
392
399
|
if (sharePermissionState === "error") {
|
|
393
400
|
retryFailedPermissionChecks();
|
|
394
|
-
return;
|
|
401
|
+
return false;
|
|
395
402
|
}
|
|
396
403
|
if (sharePermissionState !== "allowed") {
|
|
397
|
-
return;
|
|
404
|
+
return false;
|
|
398
405
|
}
|
|
399
406
|
if (ilkbShareTarget) {
|
|
400
407
|
clearAppsecRoleLists();
|
|
401
408
|
setShareDialogOpen(true);
|
|
402
|
-
return;
|
|
409
|
+
return true;
|
|
403
410
|
}
|
|
404
411
|
if (shareRbacConfig) {
|
|
405
412
|
setShareDialogOpen(true);
|
|
406
|
-
return;
|
|
413
|
+
return true;
|
|
407
414
|
}
|
|
408
415
|
setShareConfigLoading(true);
|
|
409
416
|
try {
|
|
@@ -422,19 +429,89 @@ function GuidelineLibraryCard({
|
|
|
422
429
|
setShareErrorMessage(
|
|
423
430
|
"This template's access configuration is incomplete, so sharing is unavailable."
|
|
424
431
|
);
|
|
425
|
-
return;
|
|
432
|
+
return false;
|
|
426
433
|
}
|
|
427
434
|
setShareRbacConfig(rbacConfig);
|
|
428
435
|
setShareDialogOpen(true);
|
|
436
|
+
return true;
|
|
429
437
|
} catch (error) {
|
|
430
438
|
console.error("Failed to fetch share RBAC config:", error);
|
|
431
439
|
setShareErrorMessage(
|
|
432
440
|
((_d2 = (_c2 = error == null ? void 0 : error.response) == null ? void 0 : _c2.data) == null ? void 0 : _d2.message) || (error == null ? void 0 : error.message) || "Couldn't load share access for this template. Please try again."
|
|
433
441
|
);
|
|
442
|
+
return false;
|
|
434
443
|
} finally {
|
|
435
444
|
setShareConfigLoading(false);
|
|
436
445
|
}
|
|
437
446
|
};
|
|
447
|
+
const handleShareClick = async (event) => {
|
|
448
|
+
event.stopPropagation();
|
|
449
|
+
await openShare();
|
|
450
|
+
};
|
|
451
|
+
const onAutoOpenShareHandledRef = useRef(onAutoOpenShareHandled);
|
|
452
|
+
onAutoOpenShareHandledRef.current = onAutoOpenShareHandled;
|
|
453
|
+
const autoOpenShareDoneRef = useRef(false);
|
|
454
|
+
const articleRef = useRef(null);
|
|
455
|
+
const shareModalHostRef = useRef(null);
|
|
456
|
+
const [shareEmailToPrefill, setShareEmailToPrefill] = useState(null);
|
|
457
|
+
useEffect(() => {
|
|
458
|
+
var _a2;
|
|
459
|
+
if (!autoOpenShare) {
|
|
460
|
+
autoOpenShareDoneRef.current = false;
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
if (autoOpenShareDoneRef.current) return;
|
|
464
|
+
const finish = (outcome) => {
|
|
465
|
+
var _a3;
|
|
466
|
+
autoOpenShareDoneRef.current = true;
|
|
467
|
+
(_a3 = onAutoOpenShareHandledRef.current) == null ? void 0 : _a3.call(onAutoOpenShareHandledRef, outcome);
|
|
468
|
+
};
|
|
469
|
+
if (appAccess.isPending) return;
|
|
470
|
+
if (isAccessDenied) {
|
|
471
|
+
finish(appAccess.isError ? "failed" : "not-allowed");
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
if (!canShareGuideline) {
|
|
475
|
+
finish("not-allowed");
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
if (isShareBusy) return;
|
|
479
|
+
if (sharePermissionState === "denied") {
|
|
480
|
+
finish("not-allowed");
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
if (sharePermissionState === "error") {
|
|
484
|
+
finish("failed");
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
autoOpenShareDoneRef.current = true;
|
|
488
|
+
(_a2 = articleRef.current) == null ? void 0 : _a2.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
489
|
+
const emailToAdd = autoOpenShareEmail == null ? void 0 : autoOpenShareEmail.trim();
|
|
490
|
+
void openShare().then((opened) => {
|
|
491
|
+
var _a3;
|
|
492
|
+
if (opened && emailToAdd) setShareEmailToPrefill(emailToAdd);
|
|
493
|
+
(_a3 = onAutoOpenShareHandledRef.current) == null ? void 0 : _a3.call(onAutoOpenShareHandledRef, opened ? "opened" : "failed");
|
|
494
|
+
});
|
|
495
|
+
}, [
|
|
496
|
+
autoOpenShare,
|
|
497
|
+
appAccess.isPending,
|
|
498
|
+
appAccess.isError,
|
|
499
|
+
isAccessDenied,
|
|
500
|
+
canShareGuideline,
|
|
501
|
+
isShareBusy,
|
|
502
|
+
sharePermissionState
|
|
503
|
+
]);
|
|
504
|
+
useEffect(() => {
|
|
505
|
+
if (!shareDialogOpen || !shareEmailToPrefill) return;
|
|
506
|
+
return prefillShareModalEmail(
|
|
507
|
+
() => shareModalHostRef.current,
|
|
508
|
+
shareEmailToPrefill,
|
|
509
|
+
() => setShareEmailToPrefill(null)
|
|
510
|
+
);
|
|
511
|
+
}, [shareDialogOpen, shareEmailToPrefill]);
|
|
512
|
+
useEffect(() => {
|
|
513
|
+
if (!shareDialogOpen) setShareEmailToPrefill(null);
|
|
514
|
+
}, [shareDialogOpen]);
|
|
438
515
|
const handleCardClick = (event) => {
|
|
439
516
|
if (!handleCardClickCallback || isAccessDenied) return;
|
|
440
517
|
if (event.target.closest('button, a, input, select, [role="menuitem"]')) {
|
|
@@ -488,10 +565,9 @@ function GuidelineLibraryCard({
|
|
|
488
565
|
setDecisionLoading(null);
|
|
489
566
|
}
|
|
490
567
|
};
|
|
491
|
-
const
|
|
568
|
+
const sendAccessRequest = async () => {
|
|
492
569
|
var _a2, _b2;
|
|
493
|
-
|
|
494
|
-
if (!onRequestAccess || requestAccessState !== "idle") return;
|
|
570
|
+
if (!onRequestAccess || requestAccessState !== "idle") return false;
|
|
495
571
|
setRequestAccessState("sending");
|
|
496
572
|
try {
|
|
497
573
|
await Promise.resolve(onRequestAccess(guideline));
|
|
@@ -508,6 +584,7 @@ function GuidelineLibraryCard({
|
|
|
508
584
|
}
|
|
509
585
|
)
|
|
510
586
|
});
|
|
587
|
+
return true;
|
|
511
588
|
} catch (error) {
|
|
512
589
|
setRequestAccessState("idle");
|
|
513
590
|
(_b2 = shareToastRef.current) == null ? void 0 : _b2.show({
|
|
@@ -522,8 +599,21 @@ function GuidelineLibraryCard({
|
|
|
522
599
|
}
|
|
523
600
|
)
|
|
524
601
|
});
|
|
602
|
+
return false;
|
|
525
603
|
}
|
|
526
604
|
};
|
|
605
|
+
const handleRequestAccessClick = async (event) => {
|
|
606
|
+
event.stopPropagation();
|
|
607
|
+
await sendAccessRequest();
|
|
608
|
+
};
|
|
609
|
+
const handleRequestAccessDialogOpen = (event) => {
|
|
610
|
+
event.stopPropagation();
|
|
611
|
+
if (requestAccessState !== "idle") return;
|
|
612
|
+
setRequestAccessDialogOpen(true);
|
|
613
|
+
};
|
|
614
|
+
const handleRequestAccessDialogSend = async () => {
|
|
615
|
+
if (await sendAccessRequest()) setRequestAccessDialogOpen(false);
|
|
616
|
+
};
|
|
527
617
|
const handleRejectClick = async (event) => {
|
|
528
618
|
event.stopPropagation();
|
|
529
619
|
if (!onRejectGuideline) return;
|
|
@@ -697,6 +787,7 @@ function GuidelineLibraryCard({
|
|
|
697
787
|
/* @__PURE__ */ jsxs(
|
|
698
788
|
"article",
|
|
699
789
|
{
|
|
790
|
+
ref: articleRef,
|
|
700
791
|
"data-guideline-id": guidelineId,
|
|
701
792
|
onClick: handleCardClickCallback ? handleCardClick : void 0,
|
|
702
793
|
className: cx(
|
|
@@ -766,7 +857,7 @@ function GuidelineLibraryCard({
|
|
|
766
857
|
className: cx(cssStyles.libraryCardActions, classNames == null ? void 0 : classNames.libraryCardActions),
|
|
767
858
|
style: styles == null ? void 0 : styles.libraryCardActions,
|
|
768
859
|
children: [
|
|
769
|
-
isAccessDenied && /* @__PURE__ */ jsx(GuidelineTooltip, { content: REQUEST_ACCESS_TOOLTIPS[requestAccessState], children: /* @__PURE__ */ jsx(
|
|
860
|
+
isAccessDenied && !showRequestAccessDialogButton && /* @__PURE__ */ jsx(GuidelineTooltip, { content: REQUEST_ACCESS_TOOLTIPS[requestAccessState], children: /* @__PURE__ */ jsx(
|
|
770
861
|
"button",
|
|
771
862
|
{
|
|
772
863
|
type: "button",
|
|
@@ -1025,7 +1116,22 @@ function GuidelineLibraryCard({
|
|
|
1025
1116
|
}
|
|
1026
1117
|
)
|
|
1027
1118
|
] }),
|
|
1028
|
-
/* @__PURE__ */
|
|
1119
|
+
showRequestAccessDialogButton && /* @__PURE__ */ jsx("div", { className: cx(cssStyles.primaryActionGroup, cssStyles.requestAccessFooterGroup), children: /* @__PURE__ */ jsxs(
|
|
1120
|
+
"button",
|
|
1121
|
+
{
|
|
1122
|
+
type: "button",
|
|
1123
|
+
onClick: handleRequestAccessDialogOpen,
|
|
1124
|
+
"aria-disabled": requestAccessState !== "idle",
|
|
1125
|
+
"aria-haspopup": "dialog",
|
|
1126
|
+
className: cssStyles.requestAccessFooterButton,
|
|
1127
|
+
"aria-label": requestAccessState === "sent" ? `Access requested for ${title}` : `Request access to ${title}`,
|
|
1128
|
+
children: [
|
|
1129
|
+
requestAccessState === "sent" && /* @__PURE__ */ jsx(Check, { className: cssStyles.requestAccessIcon, strokeWidth: 2.4 }),
|
|
1130
|
+
/* @__PURE__ */ jsx("span", { children: requestAccessState === "sent" ? "Access requested" : (_I = requestAccessDialog == null ? void 0 : requestAccessDialog.buttonLabel) != null ? _I : "Request access" })
|
|
1131
|
+
]
|
|
1132
|
+
}
|
|
1133
|
+
) }),
|
|
1134
|
+
!showRequestAccessDialogButton && /* @__PURE__ */ jsxs("div", { className: cssStyles.primaryActionGroup, children: [
|
|
1029
1135
|
viewActionButton,
|
|
1030
1136
|
promoteActionButton,
|
|
1031
1137
|
shouldShowPrimaryAction && /* @__PURE__ */ jsx(
|
|
@@ -1144,6 +1250,19 @@ function GuidelineLibraryCard({
|
|
|
1144
1250
|
styles
|
|
1145
1251
|
}
|
|
1146
1252
|
),
|
|
1253
|
+
showRequestAccessDialogButton && requestAccessDialog && /* @__PURE__ */ jsx(
|
|
1254
|
+
RequestAccessDialog,
|
|
1255
|
+
{
|
|
1256
|
+
open: requestAccessDialogOpen,
|
|
1257
|
+
onClose: () => setRequestAccessDialogOpen(false),
|
|
1258
|
+
onSend: handleRequestAccessDialogSend,
|
|
1259
|
+
sending: requestAccessState === "sending",
|
|
1260
|
+
resourceName: title,
|
|
1261
|
+
config: requestAccessDialog,
|
|
1262
|
+
appsecRbacUrl,
|
|
1263
|
+
token: instantLearning == null ? void 0 : instantLearning.token
|
|
1264
|
+
}
|
|
1265
|
+
),
|
|
1147
1266
|
/* @__PURE__ */ jsx(
|
|
1148
1267
|
Toast,
|
|
1149
1268
|
{
|
|
@@ -1154,7 +1273,7 @@ function GuidelineLibraryCard({
|
|
|
1154
1273
|
}
|
|
1155
1274
|
),
|
|
1156
1275
|
shareDialogOpen && shareDialogTarget && (instantLearning == null ? void 0 : instantLearning.token) && createPortal(
|
|
1157
|
-
/* @__PURE__ */ jsx("div", { className: cx(appsecStyles.accessPanel, cssStyles.shareModalHost), children: /* @__PURE__ */ jsx(RbacQueryProvider, { children: /* @__PURE__ */ jsx(
|
|
1276
|
+
/* @__PURE__ */ jsx("div", { ref: shareModalHostRef, className: cx(appsecStyles.accessPanel, cssStyles.shareModalHost), children: /* @__PURE__ */ jsx(RbacQueryProvider, { children: /* @__PURE__ */ jsx(
|
|
1158
1277
|
AppsecProvider,
|
|
1159
1278
|
{
|
|
1160
1279
|
appId: shareDialogTarget.appName,
|