@burdenoff/fe-libs 2026.803.6 → 2026.804.1
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/shared/components/SSORedirectGuard.d.ts +1 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -1
- package/dist/shared/components/SSORedirectGuard.js +1 -1
- package/dist/shared/motion/MotionList.d.ts.map +1 -1
- package/dist/shared/pages/LegalPage.d.ts +2 -2
- package/dist/shared/pages/LegalPage.js +5 -5
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts.map +1 -1
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.js +12 -12
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -1
- package/dist/shared/tours/routeCatalog.js +124 -0
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts +12 -2
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts.map +1 -1
- package/dist/tag/tagsWidget/AddTagTrigger.js +13 -11
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* @module @burdenoff/fe-libs/shared/components/SSORedirectGuard
|
|
13
13
|
*/
|
|
14
|
+
export declare function clearSSORelayAttempt(): void;
|
|
14
15
|
export declare function shouldSkipSSORedirect(returnPath?: string): boolean;
|
|
15
16
|
export declare function hasRecentSSORedirectAttempt(relayOrigin: string, returnTo: string): boolean;
|
|
16
17
|
export declare function markSSORedirectAttempt(relayOrigin: string, returnTo: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SSORedirectGuard.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SSORedirectGuard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;
|
|
1
|
+
{"version":3,"file":"SSORedirectGuard.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SSORedirectGuard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAsDH,wBAAgB,oBAAoB,IAAI,IAAI,CAM3C;AA2CD,wBAAgB,qBAAqB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAGlE;AAED,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAM1F;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAiBlF;AAmDD,wBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA4CpE;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,IAAI,OAAO,CA6BlC;AAED;;;;;;;;;GASG;AACH,wBAAsB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAyC9F;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CA6B1C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,4CAEjC"}
|
|
@@ -145,4 +145,4 @@ function D() {
|
|
|
145
145
|
return /* @__PURE__ */ c(s, { label: "Signing you in…" });
|
|
146
146
|
}
|
|
147
147
|
//#endregion
|
|
148
|
-
export { D as SSORedirectSpinner, T as checkRemoteSLO, w as checkSLO, E as clearLocalAuthState, C as getSSORedirectUrl, b as hasRecentSSORedirectAttempt, x as markSSORedirectAttempt, y as shouldSkipSSORedirect };
|
|
148
|
+
export { D as SSORedirectSpinner, T as checkRemoteSLO, w as checkSLO, E as clearLocalAuthState, g as clearSSORelayAttempt, C as getSSORedirectUrl, b as hasRecentSSORedirectAttempt, x as markSSORedirectAttempt, y as shouldSkipSSORedirect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MotionList.d.ts","sourceRoot":"","sources":["../../../src/shared/motion/MotionList.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"MotionList.d.ts","sourceRoot":"","sources":["../../../src/shared/motion/MotionList.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,wBAAwB,EAC9B,MAAM,OAAO,CAAC;AAIf,UAAU,sBAAsB;IAC9B,iEAAiE;IACjE,WAAW,EAAE,OAAO,CAAC;CACtB;AAMD;;;GAGG;AACH,wBAAgB,oBAAoB,2BAEnC;AAED,UAAU,eAAgB,SAAQ,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,WAAW,CAAC;IAC/F,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAOD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,OAAc,EACd,EAAE,EAAE,SAAiB,EACrB,WAAkB,EAClB,GAAG,IAAI,EACR,EAAE,eAAe,2CAqBjB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LegalPage Component
|
|
3
3
|
*
|
|
4
|
-
* Renders
|
|
5
|
-
* by fetching from the global gateway's
|
|
4
|
+
* Renders public content pages (privacy policy, terms of service, etc.)
|
|
5
|
+
* by fetching from the global gateway's publicContentPage query.
|
|
6
6
|
* Template variables are replaced server-side with product-specific values.
|
|
7
7
|
*/
|
|
8
8
|
export interface LegalPageProps {
|
|
@@ -8,8 +8,8 @@ import { gql as u } from "@apollo/client";
|
|
|
8
8
|
import { Link as d, useParams as f } from "react-router";
|
|
9
9
|
//#region src/shared/pages/LegalPage.tsx
|
|
10
10
|
var p = u`
|
|
11
|
-
query
|
|
12
|
-
|
|
11
|
+
query GetPublicContentPage($slug: String!, $productId: String!) {
|
|
12
|
+
publicResolvedContentPage(slug: $slug, productId: $productId) {
|
|
13
13
|
id
|
|
14
14
|
slug
|
|
15
15
|
title
|
|
@@ -44,9 +44,9 @@ function h({ productId: u, slugMap: h = m, homeRoute: g = "/", homeLabel: _ = "B
|
|
|
44
44
|
fetchPolicy: "network-only"
|
|
45
45
|
});
|
|
46
46
|
if (e) return;
|
|
47
|
-
if (t.data?.
|
|
48
|
-
x(t.data.
|
|
49
|
-
let e = t.data.
|
|
47
|
+
if (t.data?.publicResolvedContentPage) {
|
|
48
|
+
x(t.data.publicResolvedContentPage);
|
|
49
|
+
let e = t.data.publicResolvedContentPage;
|
|
50
50
|
document.title = e.seoTitle || e.title || "Legal";
|
|
51
51
|
} else T("Page not found");
|
|
52
52
|
} catch (t) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridgeStateSync.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/shell/authProvider/bridgeStateSync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAQjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAE3E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAChB,WAAW,EAAE,CAiCf;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"bridgeStateSync.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/shell/authProvider/bridgeStateSync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAQjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAE3E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAChB,WAAW,EAAE,CAiCf;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAwC/E"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PROFILE_STORAGE_CHANGE_EVENT as e, getProfiles as t, setActiveProfileId as n, setProfileTokens as r, setProfileUser as i, setProfileWorkspaceToken as a, setProfiles as o } from "../ProfileStorageManager.js";
|
|
2
|
-
import { clearLocalAuthState as s } from "../../../components/SSORedirectGuard.js";
|
|
2
|
+
import { clearLocalAuthState as s, clearSSORelayAttempt as c } from "../../../components/SSORedirectGuard.js";
|
|
3
3
|
//#region src/shared/providers/shell/authProvider/bridgeStateSync.ts
|
|
4
|
-
function
|
|
4
|
+
function l(e) {
|
|
5
5
|
return e.trigger;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function u(e, t, n) {
|
|
8
8
|
let r = (Array.isArray(e.profiles) ? e.profiles : []).map((e) => {
|
|
9
9
|
let t = typeof e.id == "string" ? e.id : null, n = typeof e.email == "string" ? e.email : null;
|
|
10
10
|
return !t || !n ? null : {
|
|
@@ -23,14 +23,14 @@ function l(e, t, n) {
|
|
|
23
23
|
lastLogin: (/* @__PURE__ */ new Date()).toISOString()
|
|
24
24
|
}];
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
let
|
|
28
|
-
if (
|
|
29
|
-
if (!
|
|
30
|
-
let
|
|
31
|
-
for (let e of t())
|
|
32
|
-
for (let e of
|
|
33
|
-
return o(Array.from(
|
|
26
|
+
function d(d) {
|
|
27
|
+
let f = l(d);
|
|
28
|
+
if (f === "logout" || f === "logout_all") return s(), !0;
|
|
29
|
+
if (!d.activeProfileId || !d.user || !d.tokens) return !1;
|
|
30
|
+
let p = d.activeProfileId, m = d.user, { workspaceToken: h, ...g } = d.tokens, _ = /* @__PURE__ */ new Map();
|
|
31
|
+
for (let e of t()) _.set(e.id, e);
|
|
32
|
+
for (let e of u(d, p, m)) _.set(e.id, e);
|
|
33
|
+
return o(Array.from(_.values())), i(p, m), r(p, g), a(p, h ?? null), n(p), c(), window.dispatchEvent(new Event(e)), !0;
|
|
34
34
|
}
|
|
35
35
|
//#endregion
|
|
36
|
-
export {
|
|
36
|
+
export { d as syncBridgeStateToProfileStorage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routeCatalog.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/routeCatalog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"routeCatalog.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/routeCatalog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC;AAq3BD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGtD;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,SAAS,qBAAqB,EAAE,GACxC,MAAM,IAAI,CAkCZ;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,qBAAqB,EAAE,CAQzB;AAED,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACnC,qBAAqB,EAAE,CAezB;AAED,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAClC,mBAAmB,EAAE,CAWvB;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,iBAAiB,GACtB,MAAM,GAAG,SAAS,CAyBpB;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,kBAAkB,GAC1B,OAAO,CAyBT;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,iBAAiB,EACvB,OAAO,EAAE,kBAAkB,GAC1B,MAAM,CAKR"}
|
|
@@ -378,6 +378,31 @@ var e = {
|
|
|
378
378
|
path: "/dashboard",
|
|
379
379
|
isModuleHome: !0
|
|
380
380
|
},
|
|
381
|
+
{
|
|
382
|
+
productId: "fluidgrids",
|
|
383
|
+
moduleId: "workflows",
|
|
384
|
+
moduleLabel: "Workflows",
|
|
385
|
+
pageId: "list",
|
|
386
|
+
pageLabel: "My Workflows",
|
|
387
|
+
path: "/workflows/list",
|
|
388
|
+
isModuleHome: !0
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
productId: "fluidgrids",
|
|
392
|
+
moduleId: "workflows",
|
|
393
|
+
moduleLabel: "Workflows",
|
|
394
|
+
pageId: "builder",
|
|
395
|
+
pageLabel: "Workflow Builder",
|
|
396
|
+
path: "/workflows/workflow"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
productId: "fluidgrids",
|
|
400
|
+
moduleId: "workflows",
|
|
401
|
+
moduleLabel: "Workflows",
|
|
402
|
+
pageId: "runs",
|
|
403
|
+
pageLabel: "Runs",
|
|
404
|
+
path: "/workflows/runs"
|
|
405
|
+
},
|
|
381
406
|
{
|
|
382
407
|
productId: "buildmyiq",
|
|
383
408
|
moduleId: "catalog",
|
|
@@ -720,6 +745,105 @@ var e = {
|
|
|
720
745
|
path: "/collabkin/timeline",
|
|
721
746
|
isModuleHome: !0
|
|
722
747
|
}
|
|
748
|
+
],
|
|
749
|
+
intelwatchtower: [
|
|
750
|
+
{
|
|
751
|
+
productId: "intelwatchtower",
|
|
752
|
+
moduleId: "intelwatchtower",
|
|
753
|
+
moduleLabel: "IntelWatchtower",
|
|
754
|
+
pageId: "home",
|
|
755
|
+
pageLabel: "Overview",
|
|
756
|
+
path: "/intelwatchtower",
|
|
757
|
+
isModuleHome: !0
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
productId: "intelwatchtower",
|
|
761
|
+
moduleId: "intelwatchtower",
|
|
762
|
+
moduleLabel: "IntelWatchtower",
|
|
763
|
+
pageId: "sources",
|
|
764
|
+
pageLabel: "Sources",
|
|
765
|
+
path: "/intelwatchtower/sources"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
productId: "intelwatchtower",
|
|
769
|
+
moduleId: "intelwatchtower",
|
|
770
|
+
moduleLabel: "IntelWatchtower",
|
|
771
|
+
pageId: "requirements",
|
|
772
|
+
pageLabel: "Requirements",
|
|
773
|
+
path: "/intelwatchtower/requirements"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
productId: "intelwatchtower",
|
|
777
|
+
moduleId: "intelwatchtower",
|
|
778
|
+
moduleLabel: "IntelWatchtower",
|
|
779
|
+
pageId: "entities",
|
|
780
|
+
pageLabel: "Entities",
|
|
781
|
+
path: "/intelwatchtower/entities"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
productId: "intelwatchtower",
|
|
785
|
+
moduleId: "intelwatchtower",
|
|
786
|
+
moduleLabel: "IntelWatchtower",
|
|
787
|
+
pageId: "alerts",
|
|
788
|
+
pageLabel: "Alerts",
|
|
789
|
+
path: "/intelwatchtower/alerts"
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
productId: "intelwatchtower",
|
|
793
|
+
moduleId: "intelwatchtower",
|
|
794
|
+
moduleLabel: "IntelWatchtower",
|
|
795
|
+
pageId: "missions",
|
|
796
|
+
pageLabel: "Missions",
|
|
797
|
+
path: "/intelwatchtower/missions"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
productId: "intelwatchtower",
|
|
801
|
+
moduleId: "intelwatchtower",
|
|
802
|
+
moduleLabel: "IntelWatchtower",
|
|
803
|
+
pageId: "tasks",
|
|
804
|
+
pageLabel: "Tasks",
|
|
805
|
+
path: "/intelwatchtower/tasks"
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
productId: "intelwatchtower",
|
|
809
|
+
moduleId: "intelwatchtower",
|
|
810
|
+
moduleLabel: "IntelWatchtower",
|
|
811
|
+
pageId: "cases",
|
|
812
|
+
pageLabel: "Cases",
|
|
813
|
+
path: "/intelwatchtower/cases"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
productId: "intelwatchtower",
|
|
817
|
+
moduleId: "intelwatchtower",
|
|
818
|
+
moduleLabel: "IntelWatchtower",
|
|
819
|
+
pageId: "reports",
|
|
820
|
+
pageLabel: "Reports",
|
|
821
|
+
path: "/intelwatchtower/reports"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
productId: "intelwatchtower",
|
|
825
|
+
moduleId: "intelwatchtower",
|
|
826
|
+
moduleLabel: "IntelWatchtower",
|
|
827
|
+
pageId: "indicators",
|
|
828
|
+
pageLabel: "Indicators",
|
|
829
|
+
path: "/intelwatchtower/indicators"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
productId: "intelwatchtower",
|
|
833
|
+
moduleId: "intelwatchtower",
|
|
834
|
+
moduleLabel: "IntelWatchtower",
|
|
835
|
+
pageId: "observations",
|
|
836
|
+
pageLabel: "Observations",
|
|
837
|
+
path: "/intelwatchtower/observations"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
productId: "intelwatchtower",
|
|
841
|
+
moduleId: "intelwatchtower",
|
|
842
|
+
moduleLabel: "IntelWatchtower",
|
|
843
|
+
pageId: "cop",
|
|
844
|
+
pageLabel: "Common Operating Picture",
|
|
845
|
+
path: "/intelwatchtower/cop"
|
|
846
|
+
}
|
|
723
847
|
]
|
|
724
848
|
}, t = /* @__PURE__ */ new Map();
|
|
725
849
|
function n(e) {
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface AddTagTriggerProps extends ComponentPropsWithoutRef<'button'> {
|
|
2
3
|
hasTags: boolean;
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Trigger for the tag search popover.
|
|
7
|
+
*
|
|
8
|
+
* Must forward props AND ref: it is rendered inside `<PopoverTrigger asChild>`,
|
|
9
|
+
* and Radix clones its trigger props (onClick, aria-expanded, data-state, ref)
|
|
10
|
+
* onto the child. Dropping them leaves the button inert — no aria-expanded, no
|
|
11
|
+
* click handler, popover never opens. This regressed when the trigger was
|
|
12
|
+
* extracted from an inline <button> into its own component; keep the spread.
|
|
13
|
+
*/
|
|
14
|
+
export declare const AddTagTrigger: import('react').ForwardRefExoticComponent<AddTagTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
5
15
|
//# sourceMappingURL=AddTagTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddTagTrigger.d.ts","sourceRoot":"","sources":["../../../src/tag/tagsWidget/AddTagTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AddTagTrigger.d.ts","sourceRoot":"","sources":["../../../src/tag/tagsWidget/AddTagTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAIlE,MAAM,WAAW,kBAAmB,SAAQ,wBAAwB,CAAC,QAAQ,CAAC;IAC5E,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,kHAmBzB,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { cn as e } from "../../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { Tag as n } from "lucide-react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
5
|
//#region src/tag/tagsWidget/AddTagTrigger.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})
|
|
12
|
-
}
|
|
6
|
+
var a = t(({ hasTags: t, className: a, ...o }, s) => /* @__PURE__ */ i("button", {
|
|
7
|
+
ref: s,
|
|
8
|
+
type: "button",
|
|
9
|
+
"aria-label": "Add tag",
|
|
10
|
+
...o,
|
|
11
|
+
className: e("inline-flex items-center gap-1 px-2 py-0.5 rounded-full border border-dashed", "border-border text-muted-foreground text-xs", "hover:border-foreground hover:text-foreground transition-colors", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", a),
|
|
12
|
+
children: [/* @__PURE__ */ r(n, { className: "size-3" }), /* @__PURE__ */ r("span", { children: t ? "Add" : "Add tags" })]
|
|
13
|
+
}));
|
|
14
|
+
a.displayName = "AddTagTrigger";
|
|
13
15
|
//#endregion
|
|
14
|
-
export {
|
|
16
|
+
export { a as AddTagTrigger };
|