@hiver/connector-agent 4.20.0-darktheme2-beta.0 → 4.20.0-darktheme2-beta.2
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/index.es.js +100 -91
- package/index.umd.js +640 -643
- package/package.json +1 -1
- package/theme/connector-theme.d.ts.map +1 -1
package/index.es.js
CHANGED
|
@@ -7571,7 +7571,7 @@ const VF = w(j)`
|
|
|
7571
7571
|
}
|
|
7572
7572
|
`, JF = w(K)`
|
|
7573
7573
|
text-transform: uppercase;
|
|
7574
|
-
color: var(--connector-text
|
|
7574
|
+
color: var(--connector-caption-text);
|
|
7575
7575
|
`, m2 = w(K)`
|
|
7576
7576
|
color: var(--connector-text-muted);
|
|
7577
7577
|
overflow: hidden;
|
|
@@ -11095,50 +11095,54 @@ const fm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
11095
11095
|
margin-left: 12px;
|
|
11096
11096
|
}
|
|
11097
11097
|
`, $2 = "#5B5D60", Ba = "connector-rich-tooltip", Ms = {
|
|
11098
|
+
// Light values are the hiver-ui-kit palette the components were built on
|
|
11099
|
+
// (gray.black/gray1..gray4, purple, red) — the same mapping the admin theme
|
|
11100
|
+
// uses. Diverging from it re-themes light mode, which is a regression: light
|
|
11101
|
+
// must render exactly as it did before theming.
|
|
11098
11102
|
light: {
|
|
11099
11103
|
canvas: "#FFFFFF",
|
|
11100
11104
|
surface: "#FFFFFF",
|
|
11101
11105
|
surfaceSubtle: "#F6F8FC",
|
|
11102
11106
|
surfaceElevated: "#FFFFFF",
|
|
11103
|
-
surfaceHover: "#
|
|
11107
|
+
surfaceHover: "#F6F8FC",
|
|
11104
11108
|
surfaceActive: "#ECEFF6",
|
|
11105
11109
|
previewHeader: "#FFFFFF",
|
|
11106
11110
|
tooltipSurface: "#FFFFFF",
|
|
11107
|
-
tooltipText: "#
|
|
11111
|
+
tooltipText: "#343C45",
|
|
11108
11112
|
border: "#ECEFF6",
|
|
11109
|
-
borderStrong: "#
|
|
11110
|
-
textPrimary: "#
|
|
11111
|
-
textSecondary: "#
|
|
11112
|
-
textTertiary: "#
|
|
11113
|
-
textMuted: "#
|
|
11114
|
-
textDisabled: "#
|
|
11115
|
-
iconPrimary: "#
|
|
11116
|
-
iconSecondary: "#
|
|
11113
|
+
borderStrong: "#D6DDE8",
|
|
11114
|
+
textPrimary: "#343C45",
|
|
11115
|
+
textSecondary: "#4D596C",
|
|
11116
|
+
textTertiary: "#6F7C90",
|
|
11117
|
+
textMuted: "#97A3B7",
|
|
11118
|
+
textDisabled: "#97A3B7",
|
|
11119
|
+
iconPrimary: "#4D596C",
|
|
11120
|
+
iconSecondary: "#6F7C90",
|
|
11117
11121
|
iconTertiary: "#3E4C5A",
|
|
11118
|
-
iconDisabled: "#
|
|
11122
|
+
iconDisabled: "#97A3B7",
|
|
11119
11123
|
iconAccent: "#506DFF",
|
|
11120
11124
|
accent: "#506DFF",
|
|
11121
|
-
accentHover: "#
|
|
11125
|
+
accentHover: "#4763F0",
|
|
11122
11126
|
accentSubtle: "#E5EAFF",
|
|
11123
11127
|
primaryAction: "#506DFF",
|
|
11124
|
-
primaryActionHover: "#
|
|
11125
|
-
primaryActionActive: "#
|
|
11128
|
+
primaryActionHover: "#4763F0",
|
|
11129
|
+
primaryActionActive: "#4763F0",
|
|
11126
11130
|
inputBackground: "#FFFFFF",
|
|
11127
11131
|
inputFilledBackground: "#FFFFFF",
|
|
11128
11132
|
inputDisabledBackground: "#ECEFF6",
|
|
11129
|
-
inputBorder: "#
|
|
11130
|
-
inputBorderHover: "#
|
|
11133
|
+
inputBorder: "#D6DDE8",
|
|
11134
|
+
inputBorderHover: "#6F7C90",
|
|
11131
11135
|
inputBorderFocus: "#506DFF",
|
|
11132
|
-
inputBorderInvalid: "#
|
|
11133
|
-
inputText: "#
|
|
11134
|
-
inputDisabledText: "#
|
|
11135
|
-
inputPlaceholder: "#
|
|
11136
|
+
inputBorderInvalid: "#CD3746",
|
|
11137
|
+
inputText: "#343C45",
|
|
11138
|
+
inputDisabledText: "#97A3B7",
|
|
11139
|
+
inputPlaceholder: "#97A3B7",
|
|
11136
11140
|
inputShadow: "none",
|
|
11137
11141
|
shadowSubtle: "rgba(0, 0, 0, 0.12)",
|
|
11138
11142
|
shadowStrong: "rgba(0, 0, 0, 0.18)",
|
|
11139
|
-
dropdownShadow: "0
|
|
11143
|
+
dropdownShadow: "0px 3px 15px 0px rgba(0, 0, 0, 0.25)",
|
|
11140
11144
|
overlayBackdrop: "rgba(15, 23, 42, 0.45)",
|
|
11141
|
-
negative: "#
|
|
11145
|
+
negative: "#CD3746",
|
|
11142
11146
|
success: "#00BC7E",
|
|
11143
11147
|
onAccent: "#FFFFFF"
|
|
11144
11148
|
},
|
|
@@ -11195,13 +11199,20 @@ const fm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
11195
11199
|
}), ju = (e, t) => ({
|
|
11196
11200
|
"--connector-canvas": t.canvas,
|
|
11197
11201
|
"--connector-map-form-background": e === "light" ? t.canvas : t.surfaceElevated,
|
|
11198
|
-
|
|
11202
|
+
// Map-form presentation overrides are dark-only: in light mode the form
|
|
11203
|
+
// keeps its original fixed palette via the component-level fallbacks.
|
|
11199
11204
|
...e === "dark" ? {
|
|
11205
|
+
"--connector-map-form-field-background": t.inputFilledBackground,
|
|
11206
|
+
"--connector-map-form-field-border": t.borderStrong,
|
|
11207
|
+
"--connector-map-form-table-border": t.borderStrong,
|
|
11208
|
+
"--connector-map-form-row-border": t.border,
|
|
11209
|
+
"--connector-map-form-header-text-color": t.textSecondary,
|
|
11200
11210
|
"--connector-map-form-header-icon-background": t.surfaceActive,
|
|
11201
11211
|
"--connector-map-form-header-icon-color": t.iconSecondary,
|
|
11202
11212
|
"--connector-map-form-add-icon-color": t.textTertiary,
|
|
11203
11213
|
"--connector-map-form-label-color": t.textTertiary,
|
|
11204
|
-
"--connector-map-form-arrow-color": t.textDisabled
|
|
11214
|
+
"--connector-map-form-arrow-color": t.textDisabled,
|
|
11215
|
+
"--connector-map-form-dropdown-icon-color": t.iconSecondary
|
|
11205
11216
|
} : {},
|
|
11206
11217
|
"--connector-surface": t.surface,
|
|
11207
11218
|
"--connector-surface-subtle": t.surfaceSubtle,
|
|
@@ -11225,6 +11236,9 @@ const fm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
11225
11236
|
"--connector-text-secondary": t.textSecondary,
|
|
11226
11237
|
"--connector-slack-message-body-text": e === "light" ? t.textPrimary : t.textSecondary,
|
|
11227
11238
|
"--connector-text-tertiary": t.textTertiary,
|
|
11239
|
+
// gray3-derived captions/labels: tertiary in light (the original gray3),
|
|
11240
|
+
// but dark keeps the secondary shade it shipped with.
|
|
11241
|
+
"--connector-caption-text": e === "light" ? t.textTertiary : t.textSecondary,
|
|
11228
11242
|
"--connector-text-muted": t.textMuted,
|
|
11229
11243
|
"--connector-text-disabled": t.textDisabled,
|
|
11230
11244
|
"--connector-icon-primary": t.iconPrimary,
|
|
@@ -11272,6 +11286,9 @@ const fm = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
11272
11286
|
"--connector-shadow-subtle": t.shadowSubtle,
|
|
11273
11287
|
"--connector-shadow-strong": t.shadowStrong,
|
|
11274
11288
|
"--connector-dropdown-shadow": t.dropdownShadow,
|
|
11289
|
+
// Dropdown menus are borderless in light (original design); dark needs a
|
|
11290
|
+
// hairline to separate the surface from the backdrop.
|
|
11291
|
+
"--connector-dropdown-border": e === "light" ? "transparent" : t.border,
|
|
11275
11292
|
"--connector-overlay-backdrop": t.overlayBackdrop,
|
|
11276
11293
|
"--connector-negative": t.negative,
|
|
11277
11294
|
"--connector-success": t.success,
|
|
@@ -17533,7 +17550,7 @@ const Wy = () => `att-${Date.now()}-${++Uy}`, Vy = ({
|
|
|
17533
17550
|
border: 1px solid ${({ dragOver: e }) => e ? "var(--connector-icon-secondary, #6f7c90)" : _0};
|
|
17534
17551
|
border-radius: 4px;
|
|
17535
17552
|
background: ${({ dragOver: e }) => e ? "var(--connector-surface-hover, #f5f8fc)" : "transparent"};
|
|
17536
|
-
color: var(--connector-text
|
|
17553
|
+
color: var(--connector-caption-text, #6f7c90);
|
|
17537
17554
|
font-size: 13px;
|
|
17538
17555
|
line-height: 20px;
|
|
17539
17556
|
letter-spacing: 0.0325px;
|
|
@@ -17621,7 +17638,7 @@ const Wy = () => `att-${Date.now()}-${++Uy}`, Vy = ({
|
|
|
17621
17638
|
min-width: 0;
|
|
17622
17639
|
`, lB = w(j)`
|
|
17623
17640
|
font-size: 12px;
|
|
17624
|
-
color: var(--connector-text
|
|
17641
|
+
color: var(--connector-caption-text, ${k.palette.gray.gray3});
|
|
17625
17642
|
flex-shrink: 0;
|
|
17626
17643
|
`, AB = w("a")`
|
|
17627
17644
|
font-size: 12px;
|
|
@@ -17669,7 +17686,7 @@ const Wy = () => `att-${Date.now()}-${++Uy}`, Vy = ({
|
|
|
17669
17686
|
gap: 8px;
|
|
17670
17687
|
padding: 32px;
|
|
17671
17688
|
font-size: 13px;
|
|
17672
|
-
color: var(--connector-text
|
|
17689
|
+
color: var(--connector-caption-text, ${k.palette.gray.gray3});
|
|
17673
17690
|
text-align: center;
|
|
17674
17691
|
`, CB = w(st)`
|
|
17675
17692
|
position: absolute;
|
|
@@ -18687,7 +18704,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18687
18704
|
}, qB = {
|
|
18688
18705
|
borderRadius: "8px",
|
|
18689
18706
|
boxShadow: "var(--connector-dropdown-shadow, 0px 3px 15px 0px rgba(0, 0, 0, 0.25))",
|
|
18690
|
-
border: "1px solid var(--connector-border, transparent)",
|
|
18707
|
+
border: "1px solid var(--connector-dropdown-border, transparent)",
|
|
18691
18708
|
mt: 0.5,
|
|
18692
18709
|
backgroundColor: "var(--connector-surface-elevated, #FFFFFF)"
|
|
18693
18710
|
}, $B = {
|
|
@@ -18733,10 +18750,10 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18733
18750
|
borderRadius: "8px",
|
|
18734
18751
|
fontWeight: k.typography.fontWeightRegular,
|
|
18735
18752
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
18736
|
-
borderColor: "var(--connector-border
|
|
18753
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
18737
18754
|
},
|
|
18738
18755
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
18739
|
-
borderColor: "var(--connector-border
|
|
18756
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
18740
18757
|
},
|
|
18741
18758
|
"& .MuiSelect-select": {
|
|
18742
18759
|
display: "flex",
|
|
@@ -18745,10 +18762,10 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18745
18762
|
paddingRight: "8px"
|
|
18746
18763
|
},
|
|
18747
18764
|
"& .MuiSelect-icon": {
|
|
18748
|
-
color: "var(--connector-icon-
|
|
18765
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
18749
18766
|
},
|
|
18750
18767
|
"&&": {
|
|
18751
|
-
background: "var(--connector-map-form-field-background,
|
|
18768
|
+
background: "var(--connector-map-form-field-background, #F6F8FC) !important"
|
|
18752
18769
|
}
|
|
18753
18770
|
}, uw = {
|
|
18754
18771
|
...L8,
|
|
@@ -18762,7 +18779,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18762
18779
|
padding: "6px 12px"
|
|
18763
18780
|
},
|
|
18764
18781
|
"& .MuiSelect-icon": {
|
|
18765
|
-
color: "var(--connector-icon-
|
|
18782
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
18766
18783
|
}
|
|
18767
18784
|
}, rw = {
|
|
18768
18785
|
display: "flex",
|
|
@@ -18897,7 +18914,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
18897
18914
|
sx: nw
|
|
18898
18915
|
}
|
|
18899
18916
|
)
|
|
18900
|
-
] }) }), F = d ? /* @__PURE__ */ a.jsx($u, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ a.jsx(Ao, { size: 24 }) }) : i.length === 0 ? /* @__PURE__ */ a.jsx($u, { disabled: !0, value: R8, sx: { opacity: 1, color: "var(--connector-text
|
|
18917
|
+
] }) }), F = d ? /* @__PURE__ */ a.jsx($u, { disabled: !0, sx: { justifyContent: "center", opacity: 1, minHeight: 120, cursor: "default" }, children: /* @__PURE__ */ a.jsx(Ao, { size: 24 }) }) : i.length === 0 ? /* @__PURE__ */ a.jsx($u, { disabled: !0, value: R8, sx: { opacity: 1, color: "var(--connector-caption-text, #6F7C90)" }, children: /* @__PURE__ */ a.jsx(K, { variant: "body2", fontSize: 14, children: "No results found" }) }) : i.map((b) => {
|
|
18901
18918
|
const m = String(b.value), x = n ? p.has(m) : m === e;
|
|
18902
18919
|
return /* @__PURE__ */ a.jsxs($u, { value: m, sx: iw(x), children: [
|
|
18903
18920
|
/* @__PURE__ */ a.jsx("span", { children: b.label }),
|
|
@@ -19025,12 +19042,9 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
19025
19042
|
flex-flow: row nowrap;
|
|
19026
19043
|
align-items: stretch;
|
|
19027
19044
|
justify-content: flex-start;
|
|
19028
|
-
background: var(
|
|
19029
|
-
--connector-map-form-field-background,
|
|
19030
|
-
var(--connector-surface, ${k.palette.gray.gray6a})
|
|
19031
|
-
) !important;
|
|
19045
|
+
background: var(--connector-map-form-field-background, ${k.palette.gray.gray6a}) !important;
|
|
19032
19046
|
&:not(.Mui-focused) fieldset {
|
|
19033
|
-
border: ${({ hasError: e }) => e ? "1px solid var(--connector-negative, #D24B58) !important" : "1px solid var(--connector-border
|
|
19047
|
+
border: ${({ hasError: e }) => e ? "1px solid var(--connector-negative, #D24B58) !important" : "1px solid var(--connector-map-form-field-border, #ECEFF6)"};
|
|
19034
19048
|
}
|
|
19035
19049
|
}
|
|
19036
19050
|
& .MuiFormHelperText-root {
|
|
@@ -19039,7 +19053,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
19039
19053
|
& fieldset {
|
|
19040
19054
|
top: 0;
|
|
19041
19055
|
border-radius: 8px;
|
|
19042
|
-
border: 1px solid var(--connector-border
|
|
19056
|
+
border: 1px solid var(--connector-map-form-field-border, ${k.palette.gray.gray6});
|
|
19043
19057
|
}
|
|
19044
19058
|
|
|
19045
19059
|
& textarea {
|
|
@@ -19090,7 +19104,7 @@ const Gi = (e) => !!e && typeof e == "object" && "value" in e && "label" in e, S
|
|
|
19090
19104
|
}, Aw = {
|
|
19091
19105
|
borderRadius: "8px",
|
|
19092
19106
|
boxShadow: "var(--connector-dropdown-shadow, 0px 3px 15px 0px rgba(0, 0, 0, 0.25))",
|
|
19093
|
-
border: "1px solid var(--connector-border, transparent)",
|
|
19107
|
+
border: "1px solid var(--connector-dropdown-border, transparent)",
|
|
19094
19108
|
mt: 0.5,
|
|
19095
19109
|
backgroundColor: "var(--connector-surface-elevated, #FFFFFF)",
|
|
19096
19110
|
minWidth: 337
|
|
@@ -19118,10 +19132,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19118
19132
|
borderRadius: "8px",
|
|
19119
19133
|
fontWeight: k.typography.fontWeightMedium,
|
|
19120
19134
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
19121
|
-
borderColor: "var(--connector-border
|
|
19135
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
19122
19136
|
},
|
|
19123
19137
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
19124
|
-
borderColor: "var(--connector-border
|
|
19138
|
+
borderColor: "var(--connector-map-form-field-border, #ECEFF6)"
|
|
19125
19139
|
},
|
|
19126
19140
|
"& .MuiSelect-select": {
|
|
19127
19141
|
display: "flex",
|
|
@@ -19130,10 +19144,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19130
19144
|
paddingRight: "8px"
|
|
19131
19145
|
},
|
|
19132
19146
|
"& .MuiSelect-icon": {
|
|
19133
|
-
color: "var(--connector-icon-
|
|
19147
|
+
color: "var(--connector-map-form-dropdown-icon-color, #97A3B7)"
|
|
19134
19148
|
},
|
|
19135
19149
|
"&&": {
|
|
19136
|
-
background: "var(--connector-map-form-field-background,
|
|
19150
|
+
background: "var(--connector-map-form-field-background, #F6F8FC) !important"
|
|
19137
19151
|
}
|
|
19138
19152
|
}, hw = {
|
|
19139
19153
|
fontSize: k.typography.body1.fontSize,
|
|
@@ -19271,7 +19285,7 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19271
19285
|
box-shadow: var(--connector-dropdown-shadow, 0px 3px 15px 0px #00000040);
|
|
19272
19286
|
color: var(--connector-text-primary, ${k.palette.gray.black});
|
|
19273
19287
|
background: var(--connector-surface-elevated, ${k.palette.gray.white});
|
|
19274
|
-
border: 1px solid var(--connector-border, transparent);
|
|
19288
|
+
border: 1px solid var(--connector-dropdown-border, transparent);
|
|
19275
19289
|
border-radius: 8px;
|
|
19276
19290
|
max-height: 343.2px;
|
|
19277
19291
|
overflow-y: auto;
|
|
@@ -19437,7 +19451,7 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19437
19451
|
{
|
|
19438
19452
|
sx: {
|
|
19439
19453
|
fontSize: `${k.typography.caption.fontSize}px`,
|
|
19440
|
-
color: "var(--connector-map-form-add-icon-color,
|
|
19454
|
+
color: "var(--connector-map-form-add-icon-color, #4D596C)"
|
|
19441
19455
|
}
|
|
19442
19456
|
}
|
|
19443
19457
|
) });
|
|
@@ -19464,7 +19478,10 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19464
19478
|
}
|
|
19465
19479
|
},
|
|
19466
19480
|
PopperProps: {
|
|
19467
|
-
|
|
19481
|
+
// connector-rich-tooltip: the agent host's dark theme repaints any
|
|
19482
|
+
// plain tooltip popper onto its light bubble surface; this panel
|
|
19483
|
+
// owns its surface, so it must opt out at the popper level.
|
|
19484
|
+
className: "connectorAdmin-portal connector-rich-tooltip",
|
|
19468
19485
|
sx: {
|
|
19469
19486
|
"& .MuiTooltip-popper": {
|
|
19470
19487
|
zIndex: 2e3
|
|
@@ -19879,7 +19896,7 @@ const Cw = { m: 0, minWidth: 0, width: "100%" }, gw = {
|
|
|
19879
19896
|
padding-top: 30px;
|
|
19880
19897
|
`, Kw = w(P)`
|
|
19881
19898
|
background-color: var(--connector-surface, ${k.palette.gray.white});
|
|
19882
|
-
border: 1px solid var(--connector-border
|
|
19899
|
+
border: 1px solid var(--connector-map-form-table-border, ${k.palette.gray.gray6});
|
|
19883
19900
|
border-radius: 8px;
|
|
19884
19901
|
margin: 16px 32px;
|
|
19885
19902
|
`, Yw = w(P)`
|
|
@@ -20039,7 +20056,7 @@ const uI = ({
|
|
|
20039
20056
|
padding: "16px 24px",
|
|
20040
20057
|
sx: {
|
|
20041
20058
|
backgroundColor: "var(--connector-surface-subtle, #F6F8FC)",
|
|
20042
|
-
borderBottom: "1px solid var(--connector-border
|
|
20059
|
+
borderBottom: "1px solid var(--connector-map-form-table-border, #ECEFF6)",
|
|
20043
20060
|
borderRadius: "8px 8px 0 0"
|
|
20044
20061
|
},
|
|
20045
20062
|
children: [
|
|
@@ -20050,7 +20067,7 @@ const uI = ({
|
|
|
20050
20067
|
variant: "caption",
|
|
20051
20068
|
fontSize: 14,
|
|
20052
20069
|
fontWeight: k.typography.fontWeightSemiBold,
|
|
20053
|
-
color: "var(--connector-text-
|
|
20070
|
+
color: "var(--connector-map-form-header-text-color, #6F7C90)",
|
|
20054
20071
|
flex: 1,
|
|
20055
20072
|
children: "Field"
|
|
20056
20073
|
}
|
|
@@ -20061,7 +20078,7 @@ const uI = ({
|
|
|
20061
20078
|
variant: "caption",
|
|
20062
20079
|
fontSize: 14,
|
|
20063
20080
|
fontWeight: k.typography.fontWeightSemiBold,
|
|
20064
|
-
color: "var(--connector-text-
|
|
20081
|
+
color: "var(--connector-map-form-header-text-color, #6F7C90)",
|
|
20065
20082
|
width: 320,
|
|
20066
20083
|
children: "Value"
|
|
20067
20084
|
}
|
|
@@ -20080,29 +20097,21 @@ const uI = ({
|
|
|
20080
20097
|
padding: "24px",
|
|
20081
20098
|
gap: 2,
|
|
20082
20099
|
sx: {
|
|
20083
|
-
borderBottom: X < O.length - 1 ? "1px solid var(--connector-border, #F6F8FC)" : void 0,
|
|
20100
|
+
borderBottom: X < O.length - 1 ? "1px solid var(--connector-map-form-row-border, #F6F8FC)" : void 0,
|
|
20084
20101
|
"&:last-child": { borderBottom: "none" }
|
|
20085
20102
|
},
|
|
20086
20103
|
children: [
|
|
20087
|
-
/* @__PURE__ */ a.jsx($w, { children: /* @__PURE__ */ a.jsxs(
|
|
20088
|
-
|
|
20089
|
-
{
|
|
20090
|
-
|
|
20091
|
-
fontSize: 14,
|
|
20092
|
-
color: "var(--connector-map-form-label-color, var(--connector-text-secondary, #3C4043))",
|
|
20093
|
-
children: [
|
|
20094
|
-
V.label,
|
|
20095
|
-
l && ((te = V.validations) != null && te.isRequired) ? /* @__PURE__ */ a.jsx(eI, {}) : null
|
|
20096
|
-
]
|
|
20097
|
-
}
|
|
20098
|
-
) }),
|
|
20104
|
+
/* @__PURE__ */ a.jsx($w, { children: /* @__PURE__ */ a.jsxs(K, { variant: "body2", fontSize: 14, color: "var(--connector-map-form-label-color, #4D596C)", children: [
|
|
20105
|
+
V.label,
|
|
20106
|
+
l && ((te = V.validations) != null && te.isRequired) ? /* @__PURE__ */ a.jsx(eI, {}) : null
|
|
20107
|
+
] }) }),
|
|
20099
20108
|
/* @__PURE__ */ a.jsx(
|
|
20100
20109
|
Xw,
|
|
20101
20110
|
{
|
|
20102
20111
|
width: 20,
|
|
20103
20112
|
height: 20,
|
|
20104
20113
|
style: {
|
|
20105
|
-
color: "var(--connector-map-form-arrow-color,
|
|
20114
|
+
color: "var(--connector-map-form-arrow-color, #D6DDE8)"
|
|
20106
20115
|
}
|
|
20107
20116
|
}
|
|
20108
20117
|
),
|
|
@@ -21051,7 +21060,7 @@ const lS = ({ data: e, title: t, currentCard: n, setShowModal: u }) => {
|
|
|
21051
21060
|
/* @__PURE__ */ a.jsx(K, { variant: "h2", sx: { color: "var(--connector-text-primary)" }, marginBottom: "16px", children: t }),
|
|
21052
21061
|
/* @__PURE__ */ a.jsx(U4, { ref: c, children: /* @__PURE__ */ a.jsxs(W4, { stickyHeader: !0, children: [
|
|
21053
21062
|
/* @__PURE__ */ a.jsx(t9, { children: /* @__PURE__ */ a.jsxs(Rl, { children: [
|
|
21054
|
-
h.map((C) => /* @__PURE__ */ a.jsx(n9, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ a.jsx(K, { variant: "overline", sx: { color: "var(--connector-text
|
|
21063
|
+
h.map((C) => /* @__PURE__ */ a.jsx(n9, { sx: { whiteSpace: "nowrap" }, children: /* @__PURE__ */ a.jsx(K, { variant: "overline", sx: { color: "var(--connector-caption-text)" }, children: C }) }, C)),
|
|
21055
21064
|
/* @__PURE__ */ a.jsx(a9, {})
|
|
21056
21065
|
] }) }),
|
|
21057
21066
|
/* @__PURE__ */ a.jsx(V4, { children: p.map((C, F) => /* @__PURE__ */ a.jsxs(u9, { children: [
|
|
@@ -22241,7 +22250,7 @@ const mk = w(j)`
|
|
|
22241
22250
|
fontWeight: k.typography.fontWeightMedium,
|
|
22242
22251
|
fontSize: `${k.typography.body2.fontSize}px`,
|
|
22243
22252
|
lineHeight: "18px",
|
|
22244
|
-
color: "var(--connector-text
|
|
22253
|
+
color: "var(--connector-caption-text)",
|
|
22245
22254
|
maxWidth: "220px"
|
|
22246
22255
|
},
|
|
22247
22256
|
children: l.body
|
|
@@ -22528,7 +22537,7 @@ const Rk = "Bring your favourite tools into Hiver", Nk = "Plugin image", Mk = "I
|
|
|
22528
22537
|
width: 18px;
|
|
22529
22538
|
color: var(--connector-icon-secondary);
|
|
22530
22539
|
`, nT = w(K)`
|
|
22531
|
-
color: var(--connector-text
|
|
22540
|
+
color: var(--connector-caption-text);
|
|
22532
22541
|
`, uT = "https://cdn.hiverhq.com/connectors-module/assets/PlugIn.svg", rT = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_HIVER_CDN_URL: "https://cdn.hiverhq.com/", VITE_MY_ENV_VAR: "myVariable From Agent" }, { VITE_HIVER_CDN_URL: oT } = rT, k3 = ({ isAdmin: e = !0, hideHeading: t = !1 }) => {
|
|
22533
22542
|
const { sendTrackingEvent: n, availableFeatures: u, connectorFunctions: r, connectorId: o } = Xe(gt), i = It(u, Qh), f = It(u, cf), s = (h) => {
|
|
22534
22543
|
h.stopPropagation(), n(Pg), o ? r == null || r.redirectToAdmin(o, { isEdit: !0, tabIndex: 2 }) : r == null || r.redirectToAdmin();
|
|
@@ -23509,7 +23518,7 @@ const _T = w(P)`
|
|
|
23509
23518
|
K,
|
|
23510
23519
|
{
|
|
23511
23520
|
variant: "caption",
|
|
23512
|
-
color: "var(--connector-text
|
|
23521
|
+
color: "var(--connector-caption-text)",
|
|
23513
23522
|
sx: { letterSpacing: "0.2px", lineHeight: "16px" },
|
|
23514
23523
|
children: [
|
|
23515
23524
|
"Spend less time filling ",
|
|
@@ -24092,7 +24101,7 @@ const GT = w(P)`
|
|
|
24092
24101
|
height: 16px;
|
|
24093
24102
|
width: 16px;
|
|
24094
24103
|
`, zT = w(Oe)`
|
|
24095
|
-
color: var(--connector-text
|
|
24104
|
+
color: var(--connector-caption-text);
|
|
24096
24105
|
&:hover {
|
|
24097
24106
|
color: var(--connector-accent);
|
|
24098
24107
|
}
|
|
@@ -24280,7 +24289,7 @@ const GT = w(P)`
|
|
|
24280
24289
|
/* @__PURE__ */ a.jsx(cL, { src: c, alt: "option" }),
|
|
24281
24290
|
/* @__PURE__ */ a.jsxs(P, { children: [
|
|
24282
24291
|
/* @__PURE__ */ a.jsx(K, { color: "var(--connector-text-primary)", children: f }),
|
|
24283
|
-
/* @__PURE__ */ a.jsx(K, { color: "var(--connector-text
|
|
24292
|
+
/* @__PURE__ */ a.jsx(K, { color: "var(--connector-caption-text)", fontSize: `${k.typography.caption.fontSize}px`, children: s })
|
|
24284
24293
|
] })
|
|
24285
24294
|
] });
|
|
24286
24295
|
}, DL = w(P)`
|
|
@@ -24493,7 +24502,7 @@ const GT = w(P)`
|
|
|
24493
24502
|
font-size: ${k.typography.body2.fontSize}px;
|
|
24494
24503
|
`, bL = w(K)`
|
|
24495
24504
|
padding: 6px 16px;
|
|
24496
|
-
color: var(--connector-text
|
|
24505
|
+
color: var(--connector-caption-text);
|
|
24497
24506
|
font-size: ${k.typography.overline.fontSize}px;
|
|
24498
24507
|
text-transform: uppercase;
|
|
24499
24508
|
`, xL = ({ onSelect: e, selectedOption: t, options: n }) => n.length ? /* @__PURE__ */ a.jsxs(EL, { children: [
|
|
@@ -24708,7 +24717,7 @@ const GT = w(P)`
|
|
|
24708
24717
|
`};
|
|
24709
24718
|
`, ML = "data:image/svg+xml,%3csvg%20width='124'%20height='107'%20viewBox='0%200%20124%20107'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M28.6168%2054.7446C28.6931%2052.5589%2031.0146%2051.1102%2033.0842%2051.8174C35.9985%2052.8133%2040.0375%2053.9024%2044.0621%2054.043C48.0034%2054.1806%2051.968%2053.4097%2054.8762%2052.6339C57.0264%2052.0602%2059.2927%2053.6932%2059.215%2055.9172C59.1742%2057.0856%2058.4742%2058.1269%2057.3723%2058.5178C54.8051%2059.4284%2049.7633%2060.8927%2044.3075%2060.7022C38.7694%2060.5088%2033.1999%2058.6241%2030.4004%2057.5311C29.2637%2057.0873%2028.5742%2055.9641%2028.6168%2054.7446Z'%20fill='url(%23paint0_linear_8481_102191)'/%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='url(%23paint1_linear_8481_102191)'/%3e%3cmask%20id='mask0_8481_102191'%20style='mask-type:luminance'%20maskUnits='userSpaceOnUse'%20x='46'%20y='14'%20width='60'%20height='79'%3e%3cpath%20d='M47.223%2043.6373C44.4928%2030.7926%2052.6922%2018.1666%2065.5368%2015.4364C78.3815%2012.7062%2091.0075%2020.9055%2093.7377%2033.7502L105.079%2087.1053L84.1844%2091.5466C70.0346%2094.5542%2056.1258%2085.5217%2053.1182%2071.3719L47.223%2043.6373Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8481_102191)'%3e%3cellipse%20cx='63.7775'%20cy='46.8684'%20rx='1.48152'%20ry='1.39438'%20transform='rotate(-12%2063.7775%2046.8684)'%20fill='%23435C71'/%3e%3crect%20x='47.4368'%20y='59.3203'%20width='53.657'%20height='13.2235'%20transform='rotate(-12%2047.4368%2059.3203)'%20fill='url(%23paint2_linear_8481_102191)'/%3e%3crect%20x='51.1907'%20y='76.9824'%20width='53.657'%20height='10.4263'%20transform='rotate(-12%2051.1907%2076.9824)'%20fill='url(%23paint3_linear_8481_102191)'/%3e%3c/g%3e%3cpath%20opacity='0.883952'%20d='M113.939%2051.0679C114.775%2055%20112.265%2058.865%20108.333%2059.7008L107.842%2059.8052C103.639%2060.6986%2099.5073%2058.0155%2098.6139%2053.8123L97.205%2047.1837L105.307%2045.4616C109.239%2044.6259%20113.104%2047.1359%20113.939%2051.0679Z'%20fill='url(%23paint4_linear_8481_102191)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M68.7215%2066.4138C67.1801%2064.8725%2067.6745%2062.2062%2069.587%2061.1603C72.4457%2059.5969%2076.2861%2057.1773%2079.3785%2054.0849C82.4099%2051.0535%2084.752%2047.3461%2086.2775%2044.5465C87.3388%2042.5989%2090.0598%2042.0819%2091.6282%2043.6503C92.4782%2044.5003%2092.758%2045.7623%2092.2604%2046.8566C91.0829%2049.4466%2088.5191%2054.344%2084.4346%2058.4285C80.2853%2062.5778%2074.8639%2065.591%2072.0553%2066.9952C70.9363%2067.5548%2069.6062%2067.2985%2068.7215%2066.4138Z'%20fill='url(%23paint5_linear_8481_102191)'/%3e%3crect%20x='48.7264'%20y='33.7744'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2048.7264%2033.7744)'%20fill='url(%23paint6_linear_8481_102191)'/%3e%3crect%20x='50.0175'%20y='35.8193'%20width='4.0158'%20height='3.84848'%20rx='1.92424'%20transform='rotate(-12%2050.0175%2035.8193)'%20fill='%23435C71'/%3e%3crect%20x='59.2875'%20y='31.5723'%20width='11.2108'%20height='11.2108'%20rx='5.59457'%20transform='rotate(-12%2059.2875%2031.5723)'%20fill='%23FFFEFE'/%3e%3cpath%20opacity='0.883952'%20d='M111.25%2038.5376C110.415%2034.6055%20106.55%2032.0955%20102.618%2032.9313L102.127%2033.0356C97.9234%2033.9291%2095.2403%2038.0607%2096.1337%2042.2639L97.5426%2048.8925L105.644%2047.1705C109.576%2046.3347%20112.086%2042.4696%20111.25%2038.5376Z'%20fill='url(%23paint7_linear_8481_102191)'/%3e%3crect%20x='60.0181'%20y='33.8037'%20width='3.84848'%20height='3.84848'%20rx='1.90724'%20transform='rotate(-12%2060.0181%2033.8037)'%20fill='%23435C71'/%3e%3cpath%20d='M36.9246%2059.1604C36.4487%2060.717%2034.7371%2061.6271%2033.1805%2061.1512C32.3613%2060.9007%2031.7241%2060.3475%2031.3259%2059.5987L25.2059%2046.7983C24.9784%2046.3703%2025.1286%2045.8788%2025.5566%2045.6513L28.338%2044.1724C28.7659%2043.9449%2029.2574%2044.0951%2029.4849%2044.5231L36.6496%2056.8367C37.0728%2057.5036%2037.15%2058.423%2036.9246%2059.1604Z'%20fill='%23FFDF9F'/%3e%3crect%20x='27.9973'%20y='44.333'%20width='2.39869'%20height='3.59807'%20transform='rotate(152%2027.9973%2044.333)'%20fill='%23FF9090'/%3e%3cpath%20d='M26.6628%2044.3769L26.9472%2044.9118L28.0169%2044.343L26.3106%2041.1338L24.171%2042.2714L25.0243%2043.876C25.6661%2043.5347%2026.3215%2043.7351%2026.6628%2044.3769Z'%20fill='%23FFB19F'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.26386%2027.248C9.3428%2020.4481%2016.5101%2016.6372%2023.31%2018.7161C30.11%2020.7951%2033.9209%2027.9624%2031.8419%2034.7623C29.763%2041.5622%2022.5956%2045.3731%2015.7958%2043.2942C8.99587%2041.2152%205.18493%2034.0479%207.26386%2027.248ZM9.72157%2027.9983C8.06843%2033.4055%2011.1399%2039.1821%2016.5471%2040.8352C21.9543%2042.4884%2027.7309%2039.4168%2029.384%2034.0096C31.0372%2028.6024%2027.9657%2022.8258%2022.5585%2021.1727C17.1513%2019.5196%2011.3747%2022.5911%209.72157%2027.9983Z'%20fill='%23FFE69F'/%3e%3ccircle%20opacity='0.414016'%20cx='19.5529'%20cy='31.0039'%20r='10.2804'%20transform='rotate(17%2019.5529%2031.0039)'%20fill='%23BBDEFC'/%3e%3cpath%20d='M14.3685%2030.6746C15.7299%2027.6867%2018.9391%2025.9803%2022.1776%2026.5225L22.2595%2026.5475C23.7024%2026.8095%2024.3854%2024.8682%2023.1497%2024.2218C22.3806%2023.8074%2021.5613%2023.557%2020.717%2023.3884C17.3715%2022.9031%2014.0553%2024.6664%2012.6939%2027.6543C12.2796%2028.4235%2012.0859%2029.3497%2012.0244%2030.1372C11.8444%2031.6051%2013.8607%2032.0424%2014.4503%2030.6997C14.3434%2030.7566%2014.3685%2030.6746%2014.3685%2030.6746Z'%20fill='%23F6FBFF'/%3e%3cpath%20d='M10.2904%2029.0679C11.9436%2023.6607%2017.7202%2020.5893%2023.1274%2022.2424C25.6671%2023.0189%2027.5785%2024.6783%2028.9301%2026.704C27.7539%2024.1048%2025.508%2022.0744%2022.5586%2021.1727C17.1514%2019.5196%2011.3748%2022.591%209.72165%2027.9982C8.81993%2030.9476%209.32924%2033.97%2010.7444%2036.3735C9.82081%2034.1203%209.51395%2031.6077%2010.2904%2029.0679Z'%20fill='%23ADCBE7'/%3e%3cpath%20opacity='0.406087'%20d='M36.4864%2056.8021L36.1373%2056.2691C36.3845%2056.8563%2036.428%2057.5516%2036.2372%2058.1754C35.9273%2059.189%2034.5593%2059.1971%2034.0713%2058.2806L28.3787%2047.5877C28.0534%2046.9767%2027.3508%2046.7619%2026.7395%2047.0866L25.7206%2047.6277L31.4395%2059.3516C31.7648%2059.9627%2032.27%2060.5434%2032.8706%2060.8123C33.7054%2061.1528%2034.6593%2061.1034%2035.3726%2060.7247C36.0858%2060.3459%2036.6602%2059.5837%2036.8444%2058.7021C37.0351%2058.0783%2036.8117%2057.4132%2036.4864%2056.8021Z'%20fill='white'/%3e%3cpath%20d='M29.8826%2048.4977C29.8006%2048.4726%2029.6368%2048.4225%2029.5799%2048.3155L28.1579%2045.6411C28.0442%2045.4272%2028.1193%2045.1814%2028.3332%2045.0677C28.5472%2044.9539%2028.7929%2045.0291%2028.9067%2045.243L30.3287%2047.9174C30.4424%2048.1313%2030.3673%2048.3771%2030.1534%2048.4908C30.1284%2048.5728%2029.9645%2048.5227%2029.8826%2048.4977Z'%20fill='%23FFF5EB'/%3e%3cellipse%20cx='29.2637'%20cy='54.631'%20rx='1.50593'%20ry='3.17918'%20transform='rotate(-23%2029.2637%2054.631)'%20fill='%23FFC478'/%3e%3cellipse%20cx='34.0592'%20cy='52.4078'%20rx='0.920288'%20ry='1.67325'%20transform='rotate(106%2034.0592%2052.4078)'%20fill='%23FFC478'/%3e%3cpath%20d='M89.1282%2019.2055L68.2257%2026.8725L45.9197%2028.3898L44.4929%2016.4082C44.3371%2013.798%2047.5283%2011.4502%2050.9859%2011.6309L65.1429%2012.369L67.3969%2012.4869C68.5309%2012.5463%2069.7066%2012.3289%2070.7522%2011.8627L78.6899%208.34726C81.725%206.99992%2085.3012%207.87475%2086.2125%2010.1876L89.1282%2019.2055Z'%20fill='url(%23paint8_linear_8481_102191)'/%3e%3cpath%20opacity='0.479771'%20d='M88.6262%2019.0953L68.3101%2026.5288L65.3314%2012.5149L67.5211%2012.6263C68.6228%2012.6824%2069.7652%2012.471%2070.7816%2012.0192L78.4972%208.61266C81.4474%207.30707%2084.9208%208.14856%2085.8036%2010.3829L88.6262%2019.0953Z'%20fill='%23ADCBE7'/%3e%3cpath%20d='M91.6332%2026.6212L46.9517%2036.1186L46.0387%2028.4438L89.2535%2019.2582L91.6332%2026.6212Z'%20fill='%23717DAD'/%3e%3cpath%20d='M102.961%2024.2033C103.125%2024.9722%20102.371%2025.7829%20101.278%2026.015L37.9675%2039.4722C36.8754%2039.7043%2035.8568%2039.2704%2035.6933%2038.5015C35.5301%2037.7336%2036.284%2036.922%2037.3761%2036.6898L100.687%2023.2327C101.779%2023.0005%20102.798%2023.4354%20102.961%2024.2033Z'%20fill='%239ED1FF'/%3e%3cpath%20d='M102.703%2024.1718C102.838%2024.805%20102.067%2025.5045%20100.983%2025.7349L69.5583%2032.4144L69.0712%2030.123L100.496%2023.4436C101.58%2023.2131%20102.569%2023.5394%20102.703%2024.1718Z'%20fill='%2378AFE1'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8481_102191'%20x1='32.2665'%20y1='59.6553'%20x2='59.0518'%20y2='60.5906'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8481_102191'%20x1='67.3434'%20y1='85.966'%20x2='103.216'%20y2='78.3411'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFABC'/%3e%3cstop%20offset='1'%20stop-color='%23FFA650'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8481_102191'%20x1='51.4347'%20y1='74.8197'%20x2='91.1539'%20y2='74.8197'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_8481_102191'%20x1='55.1887'%20y1='89.2031'%20x2='94.9078'%20y2='89.2031'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23A3C1FF'/%3e%3cstop%20offset='1'%20stop-color='%234243FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_8481_102191'%20x1='94.5023'%20y1='53.1799'%20x2='106.762'%20y2='58.7056'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_8481_102191'%20x1='74.9906'%20y1='66.9871'%20x2='94.9778'%20y2='46.9999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FFFDE0'/%3e%3cstop%20offset='1'%20stop-color='%23FFB362'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_8481_102191'%20x1='50.5805'%20y1='44.0581'%20x2='59.9372'%20y2='44.0581'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23E3EEF3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_8481_102191'%20x1='88.4187'%20y1='43.3906'%20x2='99.3981'%20y2='25.1833'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF9498'/%3e%3cstop%20offset='1'%20stop-color='%23FFD671'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_8481_102191'%20x1='56.4985'%20y1='29.5482'%20x2='100.532'%20y2='20.1885'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23ECF7FF'/%3e%3cstop%20offset='1'%20stop-color='%23C2E0FF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", QL = () => /* @__PURE__ */ a.jsxs(j, { justifyItems: "center", marginTop: "40px", children: [
|
|
24710
24719
|
/* @__PURE__ */ a.jsx("img", { src: ML, width: 124, height: 107 }),
|
|
24711
|
-
/* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
24720
|
+
/* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)" }, children: fL })
|
|
24712
24721
|
] }), jL = ({ searchResults: e, selectedObject: t, onReset: n, fetchCards: u }) => {
|
|
24713
24722
|
const r = _t(), { sendTrackingEvent: o, currentSmIds: i } = Xe(gt), [f, s] = U(null), c = Bt(aL, {
|
|
24714
24723
|
count: e.length.toString(),
|
|
@@ -24733,11 +24742,11 @@ const GT = w(P)`
|
|
|
24733
24742
|
n(), u(), l();
|
|
24734
24743
|
};
|
|
24735
24744
|
return e.length ? f ? /* @__PURE__ */ a.jsx(NL, { meta: f, onBack: l, onLink: g }) : /* @__PURE__ */ a.jsxs(P, { gap: "14px", marginTop: "12px", children: [
|
|
24736
|
-
/* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
24745
|
+
/* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)" }, children: c }),
|
|
24737
24746
|
/* @__PURE__ */ a.jsx(P, { gap: "17px", children: e == null ? void 0 : e.map(({ externalResourceId: h, name: p, description: d }) => /* @__PURE__ */ a.jsxs(M5, { onClick: () => D(h, p), direction: "row", children: [
|
|
24738
24747
|
/* @__PURE__ */ a.jsxs(P, { flexGrow: 1, children: [
|
|
24739
24748
|
/* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text-primary)" }, children: p }),
|
|
24740
|
-
/* @__PURE__ */ a.jsx(K, { variant: "caption", sx: { color: "var(--connector-text
|
|
24749
|
+
/* @__PURE__ */ a.jsx(K, { variant: "caption", sx: { color: "var(--connector-caption-text)" }, children: d })
|
|
24741
24750
|
] }),
|
|
24742
24751
|
/* @__PURE__ */ a.jsx(j, { alignSelf: "center", className: "search-item__chevron", width: "20px", height: "20px", children: /* @__PURE__ */ a.jsx($s, { width: "20px", height: "20px", "aria-hidden": !0 }) })
|
|
24743
24752
|
] }, h)) })
|
|
@@ -24882,7 +24891,7 @@ const G0 = /* @__PURE__ */ new Set(), _L = (e, t) => {
|
|
|
24882
24891
|
/* @__PURE__ */ a.jsx(j, { sx: N3 }),
|
|
24883
24892
|
/* @__PURE__ */ a.jsxs(P, { direction: "row", alignItems: "center", gap: "4px", padding: "4px 12px", sx: YL, children: [
|
|
24884
24893
|
t.logo && /* @__PURE__ */ a.jsx("img", { src: t.logo, width: 16, height: 16, alt: t.connectorName }),
|
|
24885
|
-
/* @__PURE__ */ a.jsxs(K, { variant: "body2", color: "var(--connector-text
|
|
24894
|
+
/* @__PURE__ */ a.jsxs(K, { variant: "body2", color: "var(--connector-caption-text)", children: [
|
|
24886
24895
|
"Matches with ",
|
|
24887
24896
|
t.connectorName,
|
|
24888
24897
|
"'s"
|
|
@@ -26444,7 +26453,7 @@ const KO = (e) => {
|
|
|
26444
26453
|
font-weight: ${k.typography.fontWeightMedium};
|
|
26445
26454
|
color: var(--connector-text-primary);
|
|
26446
26455
|
`, rR = w(V5)`
|
|
26447
|
-
color: var(--connector-text
|
|
26456
|
+
color: var(--connector-caption-text);
|
|
26448
26457
|
`, m1 = (e) => /* @__PURE__ */ a.jsx(V5, { children: e }), b1 = (e) => /* @__PURE__ */ a.jsx(rR, { children: e }), oR = {
|
|
26449
26458
|
[Ne.NOT_LOGGED]: m1,
|
|
26450
26459
|
[Ne.PENDING]: b1,
|
|
@@ -26535,7 +26544,7 @@ const KO = (e) => {
|
|
|
26535
26544
|
width: "340px",
|
|
26536
26545
|
borderRadius: "8px",
|
|
26537
26546
|
boxShadow: "0px 2px 10px 0px #00000026",
|
|
26538
|
-
color: "var(--connector-text
|
|
26547
|
+
color: "var(--connector-caption-text)",
|
|
26539
26548
|
padding: "0px"
|
|
26540
26549
|
}, TR = {
|
|
26541
26550
|
color: "var(--connector-surface-elevated) !important"
|
|
@@ -26603,7 +26612,7 @@ const KO = (e) => {
|
|
|
26603
26612
|
width: "326px",
|
|
26604
26613
|
borderRadius: "8px",
|
|
26605
26614
|
boxShadow: "0px 2px 10px 0px #00000026",
|
|
26606
|
-
color: "var(--connector-text
|
|
26615
|
+
color: "var(--connector-caption-text)",
|
|
26607
26616
|
padding: "0px"
|
|
26608
26617
|
}, _R = {
|
|
26609
26618
|
color: "var(--connector-surface-elevated) !important"
|
|
@@ -26618,7 +26627,7 @@ const KO = (e) => {
|
|
|
26618
26627
|
font-weight: ${k.typography.fontWeightRegular};
|
|
26619
26628
|
font-size: ${k.typography.body2.fontSize}px;
|
|
26620
26629
|
line-height: 135%;
|
|
26621
|
-
color: var(--connector-text
|
|
26630
|
+
color: var(--connector-caption-text);
|
|
26622
26631
|
margin-top: 6px;
|
|
26623
26632
|
`, VR = w(j)`
|
|
26624
26633
|
display: flex;
|
|
@@ -26823,7 +26832,7 @@ const lN = w(P)`
|
|
|
26823
26832
|
font-size: ${k.typography.body2.fontSize}px;
|
|
26824
26833
|
line-height: 18px;
|
|
26825
26834
|
font-weight: ${k.typography.fontWeightRegular};
|
|
26826
|
-
color: var(--connector-text
|
|
26835
|
+
color: var(--connector-caption-text);
|
|
26827
26836
|
text-transform: capitalize;
|
|
26828
26837
|
`, pN = w(P)`
|
|
26829
26838
|
overflow: hidden;
|
|
@@ -26878,7 +26887,7 @@ const lN = w(P)`
|
|
|
26878
26887
|
/* @__PURE__ */ a.jsxs(
|
|
26879
26888
|
K,
|
|
26880
26889
|
{
|
|
26881
|
-
color: "var(--connector-text
|
|
26890
|
+
color: "var(--connector-caption-text)",
|
|
26882
26891
|
fontSize: `${k.typography.caption.fontSize}px`,
|
|
26883
26892
|
textTransform: "capitalize",
|
|
26884
26893
|
children: [
|
|
@@ -26991,7 +27000,7 @@ const lN = w(P)`
|
|
|
26991
27000
|
{
|
|
26992
27001
|
variant: "body2",
|
|
26993
27002
|
fontSize: `${k.typography.caption.fontSize}px`,
|
|
26994
|
-
color: "var(--connector-text
|
|
27003
|
+
color: "var(--connector-caption-text)",
|
|
26995
27004
|
children: e
|
|
26996
27005
|
}
|
|
26997
27006
|
)
|
|
@@ -27235,7 +27244,7 @@ const HN = w(P)`
|
|
|
27235
27244
|
opacity: 0.4;
|
|
27236
27245
|
}
|
|
27237
27246
|
`, UN = w(K)`
|
|
27238
|
-
color: var(--connector-text
|
|
27247
|
+
color: var(--connector-caption-text);
|
|
27239
27248
|
font-size: ${k.typography.overline.fontSize}px;
|
|
27240
27249
|
font-weight: ${k.typography.fontWeightRegular};
|
|
27241
27250
|
line-height: 12px;
|
|
@@ -33665,7 +33674,7 @@ const K0 = (e) => oc.replace_colons(e), nl = /<@([A-Z0-9]+)>/g, VQ = (e) => /* @
|
|
|
33665
33674
|
var u, r;
|
|
33666
33675
|
return e ? /* @__PURE__ */ a.jsxs(rl, { children: [
|
|
33667
33676
|
/* @__PURE__ */ a.jsx(Ao, { size: 14, sx: { color: "var(--connector-icon-secondary)", marginRight: `${v.space.sm}px` } }),
|
|
33668
|
-
/* @__PURE__ */ a.jsx(K, { variant: "caption", sx: { color: "var(--connector-text
|
|
33677
|
+
/* @__PURE__ */ a.jsx(K, { variant: "caption", sx: { color: "var(--connector-caption-text)" }, children: "Loading older messages…" })
|
|
33669
33678
|
] }) : /* @__PURE__ */ a.jsx(rl, { children: /* @__PURE__ */ a.jsx(
|
|
33670
33679
|
K,
|
|
33671
33680
|
{
|
|
@@ -33940,7 +33949,7 @@ const K0 = (e) => oc.replace_colons(e), nl = /<@([A-Z0-9]+)>/g, VQ = (e) => /* @
|
|
|
33940
33949
|
)
|
|
33941
33950
|
)
|
|
33942
33951
|
) })
|
|
33943
|
-
] }) : /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
33952
|
+
] }) : /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)" }, children: "Couldn’t load this thread." }) }),
|
|
33944
33953
|
u ? (
|
|
33945
33954
|
// Public-left: disabled composer; hovering shows the "not a member"
|
|
33946
33955
|
// tooltip (matches the list view's composer slot).
|
|
@@ -34128,7 +34137,7 @@ const K0 = (e) => oc.replace_colons(e), nl = /<@([A-Z0-9]+)>/g, VQ = (e) => /* @
|
|
|
34128
34137
|
threadTs: (Cn = s.data) == null ? void 0 : Cn.externalThreadTs,
|
|
34129
34138
|
targetKind: (_n = s.data) == null ? void 0 : _n.targetKind
|
|
34130
34139
|
}), un = i && ((Hn = s.data) != null && Hn.channelName) ? /* @__PURE__ */ a.jsx(bj, { channelName: s.data.channelName, channelUrl: Ut }) : null;
|
|
34131
|
-
return s.isLoading ? /* @__PURE__ */ a.jsx(Ht, { children: /* @__PURE__ */ a.jsx(gi, { children: /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
34140
|
+
return s.isLoading ? /* @__PURE__ */ a.jsx(Ht, { children: /* @__PURE__ */ a.jsx(gi, { children: /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)", padding: "12px 20px" }, children: "Loading messages…" }) }) }) : s.data && S ? /* @__PURE__ */ a.jsxs(Ht, { children: [
|
|
34132
34141
|
/* @__PURE__ */ a.jsx(wQ, { variant: S }),
|
|
34133
34142
|
M()
|
|
34134
34143
|
] }) : s.data && C ? F ? /* @__PURE__ */ a.jsx(
|
|
@@ -34145,7 +34154,7 @@ const K0 = (e) => oc.replace_colons(e), nl = /<@([A-Z0-9]+)>/g, VQ = (e) => /* @
|
|
|
34145
34154
|
un,
|
|
34146
34155
|
/* @__PURE__ */ a.jsxs($Q, { ref: ee, onScroll: uu, boxed: f, children: [
|
|
34147
34156
|
(ct || Pe || dt) && /* @__PURE__ */ a.jsx(ts, { isLoading: Pe, error: dt, onLoad: re }),
|
|
34148
|
-
dn.length === 0 ? /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
34157
|
+
dn.length === 0 ? /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)", padding: "12px 20px" }, children: "No messages in this channel yet." }) : dn.map((Ee) => /* @__PURE__ */ a.jsx(
|
|
34149
34158
|
dj,
|
|
34150
34159
|
{
|
|
34151
34160
|
thread: Ee,
|
|
@@ -34160,7 +34169,7 @@ const K0 = (e) => oc.replace_colons(e), nl = /<@([A-Z0-9]+)>/g, VQ = (e) => /* @
|
|
|
34160
34169
|
] }),
|
|
34161
34170
|
M()
|
|
34162
34171
|
] }) : !s.data || !T ? /* @__PURE__ */ a.jsxs(Ht, { children: [
|
|
34163
|
-
/* @__PURE__ */ a.jsx(gi, { children: /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-text
|
|
34172
|
+
/* @__PURE__ */ a.jsx(gi, { children: /* @__PURE__ */ a.jsx(K, { variant: "body2", sx: { color: "var(--connector-caption-text)", padding: "12px 20px" }, children: "No messages in this thread yet." }) }),
|
|
34164
34173
|
M()
|
|
34165
34174
|
] }) : /* @__PURE__ */ a.jsxs(Ht, { ref: W, children: [
|
|
34166
34175
|
un,
|