@hiver/connector-admin 4.22.3-authCta-beta.0 → 4.22.3-authCta-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/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/Overview.d.ts +4 -1
- package/app/connectors/pages/app-detail/Overview.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/StatusMenu.d.ts +23 -0
- package/app/connectors/pages/app-detail/StatusMenu.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/index.d.ts +2 -2
- package/app/connectors/pages/app-detail/index.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/legacy/EnabledToggle.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/legacy/Overview.d.ts +27 -0
- package/app/connectors/pages/app-detail/legacy/Overview.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/legacy/index.d.ts +36 -0
- package/app/connectors/pages/app-detail/legacy/index.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/legacy/style.d.ts +7 -0
- package/app/connectors/pages/app-detail/legacy/style.d.ts.map +1 -0
- package/app/connectors/pages/app-detail/registry.d.ts +33 -0
- package/app/connectors/pages/app-detail/registry.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/style.d.ts +19 -0
- package/app/connectors/pages/app-detail/style.d.ts.map +1 -1
- package/app/connectors/pages/settings/auth/index.d.ts +5 -1
- package/app/connectors/pages/settings/auth/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/visibility/index.d.ts.map +1 -1
- package/app/connectors/router.d.ts +3 -0
- package/app/connectors/router.d.ts.map +1 -1
- package/components/ui/connector-alert/index.d.ts.map +1 -1
- package/components/ui/connector-item/index.d.ts.map +1 -1
- package/constants/global-constants.d.ts +2 -0
- package/constants/global-constants.d.ts.map +1 -1
- package/features/advanced-features/components/feature-item/index.d.ts.map +1 -1
- package/features/advanced-features/components/feature-list/index.d.ts +3 -2
- package/features/advanced-features/components/feature-list/index.d.ts.map +1 -1
- package/features/advanced-features/constants/index.d.ts +3 -0
- package/features/advanced-features/constants/index.d.ts.map +1 -1
- package/features/advanced-features/types/index.d.ts +0 -2
- package/features/advanced-features/types/index.d.ts.map +1 -1
- package/features/auth/api/authDetailsMutation.d.ts +18 -0
- package/features/auth/api/authDetailsMutation.d.ts.map +1 -1
- package/features/auth/api/index.d.ts +10 -0
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/components/auth-form/index.d.ts +9 -1
- package/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/features/auth/components/connector-auth-card/index.d.ts +3 -0
- package/features/auth/components/connector-auth-card/index.d.ts.map +1 -0
- package/features/auth/components/connector-auth-card/styles.d.ts +53 -0
- package/features/auth/components/connector-auth-card/styles.d.ts.map +1 -0
- package/features/auth/components/connector-auth-card/types.d.ts +141 -0
- package/features/auth/components/connector-auth-card/types.d.ts.map +1 -0
- package/features/auth/constants/index.d.ts +1 -0
- package/features/auth/constants/index.d.ts.map +1 -1
- package/features/auth/utils/credentialSetup.d.ts +29 -0
- package/features/auth/utils/credentialSetup.d.ts.map +1 -0
- package/features/auth/utils/oauthPopup.d.ts +9 -1
- package/features/auth/utils/oauthPopup.d.ts.map +1 -1
- package/features/clickup/controller.d.ts +28 -0
- package/features/clickup/controller.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -1
- package/features/template-library/components/library-card-list/index.d.ts.map +1 -1
- package/index.d.ts +18 -1
- package/index.d.ts.map +1 -1
- package/index.es.js +15116 -14107
- package/index.umd.js +586 -313
- package/package.json +1 -1
- package/style.css +1 -1
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/test-utils.d.ts +11 -1
- package/testing/test-utils.d.ts.map +1 -1
- package/types/connector.d.ts +10 -0
- package/types/connector.d.ts.map +1 -1
- package/types/exposedTypes.d.ts +12 -0
- package/types/exposedTypes.d.ts.map +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.d.ts.map +1 -1
- package/app/connectors/pages/app-detail/EnabledToggle.d.ts.map +0 -1
- /package/app/connectors/pages/app-detail/{EnabledToggle.d.ts → legacy/EnabledToggle.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,OAAO,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AA+BA,eAAO,MAAM,OAAO,+CA2GnB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { CarouselData, SupportLinks } from '../../../../types/connector';
|
|
2
|
+
import { CarouselData, IAPI, SupportLinks } from '../../../../types/connector';
|
|
3
3
|
interface OverviewProps {
|
|
4
4
|
carouselImages?: CarouselData[];
|
|
5
5
|
illustrationUrl?: string;
|
|
@@ -9,6 +9,9 @@ interface OverviewProps {
|
|
|
9
9
|
showScheduleCall?: boolean;
|
|
10
10
|
templateDescription?: string;
|
|
11
11
|
features?: string[];
|
|
12
|
+
/** The template's APIs, listed as its features when it authors none (the legacy page's list). */
|
|
13
|
+
apiList?: IAPI[];
|
|
14
|
+
appType?: string;
|
|
12
15
|
supportLinks?: SupportLinks;
|
|
13
16
|
appName?: string;
|
|
14
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/Overview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/Overview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3B,OAAO,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1E,UAAU,aAAa;IACrB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,iGAAiG;IACjG,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2EtC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface StatusMenuProps {
|
|
3
|
+
connectorId: string;
|
|
4
|
+
isEnabled: boolean;
|
|
5
|
+
/** false when the connector hasn't completed workspace auth — disables the menu, as the legacy Settings switch. */
|
|
6
|
+
isAuthenticated: boolean;
|
|
7
|
+
/** Connector type (e.g. `slack`) — gates connector-specific tracking. */
|
|
8
|
+
connectorType?: string;
|
|
9
|
+
/** Connector display name, for the tracking payload. */
|
|
10
|
+
connectorName?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Figma 322:11526 — the `Active ▾` / `Inactive ▾` status menu on an installed
|
|
14
|
+
* app's header. Replaces the chip + switch; same wire and UX as the legacy
|
|
15
|
+
* Settings toggle: the `updateConnectorDetailsApi` thunk, the same toasts and
|
|
16
|
+
* tracking, disabled while the APIs load or the connector is not authenticated.
|
|
17
|
+
*
|
|
18
|
+
* Kit 4.7.0 has no v2 entry, so this is the closest v1 control: an outlined
|
|
19
|
+
* button with a chevron opening the kit (MUI) Menu, which portals out.
|
|
20
|
+
*/
|
|
21
|
+
export declare const StatusMenu: FC<StatusMenuProps>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=StatusMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusMenu.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/StatusMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoC,MAAM,OAAO,CAAC;AAmB7D,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,mHAAmH;IACnH,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmE1C,CAAC"}
|
|
@@ -7,8 +7,8 @@ interface AppDetailPageProps {
|
|
|
7
7
|
* pre-install). "Start Setup" CTA visible; configs not fetched;
|
|
8
8
|
* opens on Overview.
|
|
9
9
|
* - `connector`: URL `:id` is an install id (post-install flow).
|
|
10
|
-
* Configs fetched + prefilled; no "Start Setup" CTA,
|
|
11
|
-
*
|
|
10
|
+
* Configs fetched + prefilled; no "Start Setup" CTA, Active/Inactive
|
|
11
|
+
* status menu instead; opens on Visibility (Authentication if sign-in failed).
|
|
12
12
|
*/
|
|
13
13
|
mode: AppDetailMode;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAiE,MAAM,OAAO,CAAC;AA4B/F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAgD9C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAQhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnabledToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/EnabledToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,EAAE,EAAc,MAAM,OAAO,CAAC;AAkBpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB;;0CAEsC;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsDhD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CarouselData, SupportLinks } from '../../../../../types/connector';
|
|
3
|
+
interface OverviewProps {
|
|
4
|
+
carouselImages?: CarouselData[];
|
|
5
|
+
illustrationUrl?: string;
|
|
6
|
+
/** Overrides the setup-help heading; defaults to the shared NEED_HELP copy. */
|
|
7
|
+
overviewHelpHeading?: string;
|
|
8
|
+
/** Hide the Schedule-call promo card (default: shown). */
|
|
9
|
+
showScheduleCall?: boolean;
|
|
10
|
+
templateDescription?: string;
|
|
11
|
+
features?: string[];
|
|
12
|
+
supportLinks?: SupportLinks;
|
|
13
|
+
appName?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Composes existing connector-page components:
|
|
17
|
+
* ImagePreviewList carousel of feature thumbnails
|
|
18
|
+
* ScheduleCall Calendly tile
|
|
19
|
+
* GuideLinkWrapperComponent Setup-resources sidebar links
|
|
20
|
+
*
|
|
21
|
+
* All inputs come straight from the connector template (carousel,
|
|
22
|
+
* templateDescription, supportLinks) plus the registry entry
|
|
23
|
+
* (features). No per-app fork inside this file.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Overview: FC<OverviewProps>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=Overview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Overview.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/Overview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ3B,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIpE,UAAU,aAAa;IACrB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+EAA+E;IAC/E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkEtC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AppDetailMode } from '../schema';
|
|
3
|
+
interface AppDetailPageProps {
|
|
4
|
+
/**
|
|
5
|
+
* Which route mounted this page.
|
|
6
|
+
* - `template`: URL `:id` is a template id (marketplace flow,
|
|
7
|
+
* pre-install). "Start Setup" CTA visible; configs not fetched;
|
|
8
|
+
* opens on Overview.
|
|
9
|
+
* - `connector`: URL `:id` is an install id (post-install flow).
|
|
10
|
+
* Configs fetched + prefilled; no "Start Setup" CTA, enable/disable
|
|
11
|
+
* toggle instead; opens on Visibility.
|
|
12
|
+
*/
|
|
13
|
+
mode: AppDetailMode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Generic per-app detail page. Backed by ONE component but mounted
|
|
17
|
+
* from TWO routes (see router-paths.ts). The mode prop is the only
|
|
18
|
+
* difference between the routes' behaviour.
|
|
19
|
+
*
|
|
20
|
+
* Decision tree (template mode):
|
|
21
|
+
* 1. Template not in store yet → dispatch fetch, render Loading.
|
|
22
|
+
* 2. Fetch failed → render error state.
|
|
23
|
+
* 3. Template loaded but its `type` isn't registered → fall back
|
|
24
|
+
* to legacy ApiView (so the new UI is opt-in per type).
|
|
25
|
+
* 4. Template loaded and `type` supported → render the new UI
|
|
26
|
+
* via <ResolvedAppDetail> which mounts only when we know
|
|
27
|
+
* which controller hook to call (hook order stays stable).
|
|
28
|
+
*
|
|
29
|
+
* Decision tree (connector mode): same as above, but reading from
|
|
30
|
+
* the connectors store (selectConnectors) instead of the templates
|
|
31
|
+
* store. Connector rows carry their connector_type on the wire so
|
|
32
|
+
* the registry lookup works the same way.
|
|
33
|
+
*/
|
|
34
|
+
export declare const LegacyAppDetailPage: FC<AppDetailPageProps>;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AAsBzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AA8C/C,UAAU,kBAAkB;IAC1B;;;;;;;;OAQG;IACH,IAAI,EAAE,aAAa,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,kBAAkB,CAgGtD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BoxProps, ButtonProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
export { BackLink, FeaturesBlock, HeaderLeft, HeaderRow, IllustrationShell, LogoCard, LogoInner, PageLayout } from '../style';
|
|
4
|
+
export declare const HeaderTextColumn: StyledComponent<BoxProps>;
|
|
5
|
+
export declare const PrimaryHeaderButton: StyledComponent<ButtonProps>;
|
|
6
|
+
export declare const OverviewGrid: StyledComponent<BoxProps>;
|
|
7
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/app-detail/legacy/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAOvD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,UAAU,EACX,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAMtD,CAAC;AAGF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAiB5D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAMlD,CAAC"}
|
|
@@ -18,6 +18,39 @@ import { AppControllerHook } from './schema';
|
|
|
18
18
|
* connector's flow.
|
|
19
19
|
*/
|
|
20
20
|
export declare const APP_DETAIL_CONTROLLERS: Record<string, AppControllerHook>;
|
|
21
|
+
/**
|
|
22
|
+
* The apps `Setup with AI` is offered for. hiver-ai-service enforces the same list
|
|
23
|
+
* (`SUPPORTED_APPS`), so an app added here but not there shows a button the
|
|
24
|
+
* assistant refuses.
|
|
25
|
+
*/
|
|
26
|
+
export declare const SETUP_WITH_AI_APPS: readonly ["clickup", "asana", "monday", "trello", "jira"];
|
|
27
|
+
export declare const isSetupWithAiApp: (connectorType: string) => boolean;
|
|
21
28
|
export declare const resolveAppController: (connectorType: string) => AppControllerHook | null;
|
|
22
29
|
export declare const isAppDetailSupported: (connectorType: string) => boolean;
|
|
30
|
+
export declare const setsUpOnLegacyScreen: (connectorType: string) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Whether a type opens the new app page rather than the legacy UI.
|
|
33
|
+
*
|
|
34
|
+
* PRD §4.5.1: Setup with AI is a sibling of manual setup, and "the existing admin
|
|
35
|
+
* UI stays". So an app set up on the legacy screen opens the new page (Setup with
|
|
36
|
+
* AI beside Setup manually) only with ftr-connectors-setup-with-ai on; with it off
|
|
37
|
+
* it keeps the legacy UI throughout. Slack opened this page before the flag and
|
|
38
|
+
* still does; flag off, it renders the pre-flag page (./legacy).
|
|
39
|
+
*/
|
|
40
|
+
export declare const opensAppDetail: (connectorType: string, setupWithAiOn: boolean) => boolean;
|
|
41
|
+
/** `opensAppDetail` with the flag read from the host. */
|
|
42
|
+
export declare const useOpensAppDetail: () => ((connectorType: string) => boolean);
|
|
43
|
+
/**
|
|
44
|
+
* Where an entry into an app's auth / visibility settings lands. Apps on the new
|
|
45
|
+
* page open its tab (`tabIndex` 0 or none = Authentication, 1 = Visibility); the
|
|
46
|
+
* rest keep the legacy settings URL exactly as before. `autoAuth` asks the screen to
|
|
47
|
+
* start sign-in itself: a one-click app then has nothing to wait for a click on.
|
|
48
|
+
*/
|
|
49
|
+
export declare const useAppSettingsPath: () => ({ id, type, isEdit, tabIndex, autoAuth }: {
|
|
50
|
+
id: string;
|
|
51
|
+
type?: string;
|
|
52
|
+
isEdit?: boolean;
|
|
53
|
+
tabIndex?: number;
|
|
54
|
+
autoAuth?: boolean;
|
|
55
|
+
}) => string;
|
|
23
56
|
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/registry.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAQpE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2DAA4D,CAAC;AAE5F,eAAO,MAAM,gBAAgB,kBAAmB,MAAM,KAAG,OACU,CAAC;AAEpE,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,iBAAiB,GAAG,IAClC,CAAC;AAEhD,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OAAkD,CAAC;AAUhH,eAAO,MAAM,oBAAoB,kBAAmB,MAAM,KAAG,OACyB,CAAC;AAEvF;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,kBAAmB,MAAM,iBAAiB,OAAO,KAAG,OACiB,CAAC;AAEjG,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,QAAO,CAAC,CAAC,aAAa,EAAE,MAAM,KAAK,OAAO,CAIvE,CAAC;AAKF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,mDAU1B;IACD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,WAYF,CAAC"}
|
|
@@ -7,8 +7,27 @@ export declare const HeaderLeft: StyledComponent<BoxProps>;
|
|
|
7
7
|
export declare const LogoCard: StyledComponent<BoxProps>;
|
|
8
8
|
export declare const LogoInner: StyledComponent<BoxProps>;
|
|
9
9
|
export declare const HeaderTextColumn: StyledComponent<BoxProps>;
|
|
10
|
+
export declare const HeaderTitleRow: StyledComponent<BoxProps>;
|
|
10
11
|
export declare const PrimaryHeaderButton: StyledComponent<ButtonProps>;
|
|
12
|
+
export declare const StatusBadge: StyledComponent<BoxProps>;
|
|
13
|
+
export declare const StatusMenuButton: StyledComponent<ButtonProps>;
|
|
14
|
+
export declare const STATUS_MENU_SX: {
|
|
15
|
+
'& .MuiMenuItem-root': {
|
|
16
|
+
fontFamily: string;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
lineHeight: string;
|
|
19
|
+
color: string;
|
|
20
|
+
'&.Mui-selected, &.Mui-selected:hover': {
|
|
21
|
+
background: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const HeaderDivider: StyledComponent<BoxProps>;
|
|
26
|
+
export declare const SetupWithAiButton: StyledComponent<ButtonProps>;
|
|
27
|
+
export declare const HeaderActions: StyledComponent<BoxProps>;
|
|
11
28
|
export declare const OverviewGrid: StyledComponent<BoxProps>;
|
|
29
|
+
export declare const SetupResourcesColumn: StyledComponent<BoxProps>;
|
|
30
|
+
export declare const AuthTabShell: StyledComponent<BoxProps>;
|
|
12
31
|
export declare const IllustrationShell: StyledComponent<BoxProps>;
|
|
13
32
|
export declare const FeatureSnapshotRow: StyledComponent<BoxProps>;
|
|
14
33
|
export declare const FeatureSnapshotCard: StyledComponent<BoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAiB9C,CAAC;AAKF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAM/C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAKF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAS9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAW/C,CAAC;
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/app-detail/style.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAiB9C,CAAC;AAKF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAM/C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAMhD,CAAC;AAKF,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAS9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAW/C,CAAC;AAIF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAKtD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,QAAQ,CAKpD,CAAC;AAIF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,WAAW,CAiB5D,CAAC;AAuBF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAmBjD,CAAC;AAKF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,WAAW,CAkCzD,CAAC;AAKF,eAAO,MAAM,cAAc;;;;;;;;;;CAQ1B,CAAC;AAGF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,WAAW,CAkB1D,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAMlD,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,eAAe,CAAC,QAAQ,CAO1D,CAAC;AAIF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAUlD,CAAC;AAKF,eAAO,MAAM,iBAAiB,EAAE,eAAe,CAAC,QAAQ,CAYvD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAIxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAezD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,QAAQ,CAKnD,CAAC;AAKF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAMxD,CAAC;AAIF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAItD,CAAC;AAQF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CA4DtD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC,QAAQ,CAKtD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { IConnectorDetails } from '../../../../../types/connector';
|
|
2
2
|
interface AuthSettings {
|
|
3
3
|
connectorData: IConnectorDetails | null;
|
|
4
|
+
/** Overrides `?isEdit=`: the app page renders this inline, where the mode says whether it is installed. */
|
|
5
|
+
isEdit?: boolean;
|
|
6
|
+
/** The app page shows a failed sign-in as its title badge, so drops the red banner. */
|
|
7
|
+
hideAuthFailedAlert?: boolean;
|
|
4
8
|
}
|
|
5
|
-
export declare const AuthSettings: ({ connectorData }: AuthSettings) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const AuthSettings: ({ connectorData, isEdit: isEditProp, hideAuthFailedAlert }: AuthSettings) => import("react/jsx-runtime").JSX.Element;
|
|
6
10
|
export {};
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAuB3D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/auth/index.tsx"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAuB3D,UAAU,YAAY;IACpB,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACxC,2GAA2G;IAC3G,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY,+DAAgE,YAAY,4CAifpG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAiDA,eAAO,MAAM,QAAQ,+CAsMpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/visibility/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,UAAU,kBAAkB;IAC1B,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,kBAAkB,sBAAuB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/settings/visibility/index.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,UAAU,kBAAkB;IAC1B,aAAa,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,kBAAkB,sBAAuB,kBAAkB,4CAyCvE,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { RouteObject } from 'react-router-dom';
|
|
1
2
|
import { IMetaData } from '@connector/utils';
|
|
3
|
+
export declare const appRoutes: RouteObject[];
|
|
4
|
+
export declare const legacyRoutes: RouteObject[];
|
|
2
5
|
export declare const AppRouter: ({ basename, metaData, userId }: {
|
|
3
6
|
basename?: string;
|
|
4
7
|
metaData?: IMetaData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/router.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/router.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAapD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAkB7C,eAAO,MAAM,SAAS,EAAE,WAAW,EA2ClC,CAAC;AAIF,eAAO,MAAM,YAAY,EAAE,WAAW,EAAiE,CAAC;AAKxG,eAAO,MAAM,SAAS,mCAInB;IACD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,4CASA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/connector-alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/connector-alert/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAezD,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,oBAAoB,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AACD,eAAO,MAAM,cAAc,2CAAoD,cAAc,mDA8E5F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/connector-item/index.tsx"],"names":[],"mappings":"AAmBA,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;sCAEkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,aAAa,4LAevB,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/connector-item/index.tsx"],"names":[],"mappings":"AAmBA,UAAU,aAAa;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;sCAEkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B;AAED,eAAO,MAAM,aAAa,4LAevB,aAAa,4CAuGf,CAAC"}
|
|
@@ -12,7 +12,9 @@ export declare const FTR_INTEGRATION_SENSE = "ftr-integration-sense-ui";
|
|
|
12
12
|
export declare const FTR_QUICK_ACCESS = "ftr-connectors-quick-actions";
|
|
13
13
|
export declare const FTR_EMAIL_LOGGING = "ftr-ci-log-emails";
|
|
14
14
|
export declare const FTR_APP_CUSTOM_FIELDS = "ftr-app-custom-fields";
|
|
15
|
+
export declare const FTR_SETUP_WITH_AI = "ftr-connectors-setup-with-ai";
|
|
15
16
|
export declare const FTR_USER_AUTH = "ftr-ci-user-auth";
|
|
17
|
+
export declare const FTR_CONNECTORS_LOGO_V3 = "ftr-connectors-logo-v3";
|
|
16
18
|
export declare const CUSTOM_CONNECTORS = "Apps";
|
|
17
19
|
export declare const HIGHER_PLAN = "On a higher plan";
|
|
18
20
|
export declare const UPGRADE_DESCRIPTION_TEXT = "Create, authenticate and enable powerful integrations to enhance your team's productivity within Gmail.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAO1E,eAAO,MAAM,oBAAoB,oCAAoC,CAAC;AACtE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAC/D,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"global-constants.d.ts","sourceRoot":"","sources":["../../src/constants/global-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,uBAAuB,2BAA2B,CAAC;AAChE,eAAO,MAAM,wCAAwC,2CAA2C,CAAC;AACjG,eAAO,MAAM,0CAA0C,uCAAuC,CAAC;AAC/F,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAO1E,eAAO,MAAM,oBAAoB,oCAAoC,CAAC;AACtE,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAChE,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAC/D,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,iBAAiB,iCAAiC,CAAC;AAIhE,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAChD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAE/D,eAAO,MAAM,iBAAiB,SAAS,CAAC;AACxC,eAAO,MAAM,WAAW,qBAAqB,CAAC;AAC9C,eAAO,MAAM,wBAAwB,4GAA4G,CAAC;AAClJ,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,cAAc,wBAAwB,CAAC;AACpD,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,YAAY,yDAAyD,CAAC;AACnF,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,cAAc,SAAS,CAAC;AACrC,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAE1D,eAAO,MAAM,sBAAsB,yDAAyD,CAAC;AAC7F,eAAO,MAAM,qBAAqB,mDAAmD,CAAC;AACtF,eAAO,MAAM,iBAAiB,qDAAqD,CAAC;AACpF,eAAO,MAAM,oBAAoB,+DAA+D,CAAC;AACjG,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AACzE,eAAO,MAAM,2BAA2B,+FACsD,CAAC;AAC/F,eAAO,MAAM,4BAA4B,8CAA8C,CAAC;AACxF,eAAO,MAAM,wBAAwB,iCAAiC,CAAC;AACvE,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,uBAAuB,+BAA+B,CAAC;AACpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-item/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-item/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAmBrD,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,aAAa,CAAC;AAC/D,UAAU,gBAAgB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,cAAc,CAAC,EAAE,MAAM,CAAC;IAIxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,0JAarB,gBAAgB,4CAyLlB,CAAC"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { AdvancedFeatures, AdvancedFeaturesV2 } from '../../../../types/connector';
|
|
1
|
+
import { AdvancedFeatureCopy, AdvancedFeatures, AdvancedFeaturesV2 } from '../../../../types/connector';
|
|
2
2
|
interface FeatureListProps {
|
|
3
3
|
advancedFeatures: AdvancedFeatures | AdvancedFeaturesV2;
|
|
4
4
|
connectorId: string;
|
|
5
5
|
connectorName: string;
|
|
6
6
|
connectorType: string;
|
|
7
|
+
featureCopy?: Record<string, AdvancedFeatureCopy>;
|
|
7
8
|
featureIds?: string[];
|
|
8
9
|
excludeFeatureIds?: string[];
|
|
9
10
|
soloSpansFullWidth?: boolean;
|
|
10
11
|
}
|
|
11
|
-
export declare const FeatureList: ({ advancedFeatures: oldOrNewAdvancedFeatures, connectorId, connectorName, connectorType, featureIds, excludeFeatureIds, soloSpansFullWidth }: FeatureListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export declare const FeatureList: ({ advancedFeatures: oldOrNewAdvancedFeatures, connectorId, connectorName, connectorType, featureCopy, featureIds, excludeFeatureIds, soloSpansFullWidth }: FeatureListProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-list/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/advanced-features/components/feature-list/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAa9F,UAAU,gBAAgB;IACxB,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB,CAAC;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IAGtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAIlD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAGtB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAG7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,WAAW,8JASrB,gBAAgB,mDAuElB,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { AdvancedFeature } from '../types';
|
|
2
|
+
/** Icons a template may pick for a card by name (advancedFeaturesCopy.<id>.icon).
|
|
3
|
+
* Per-app wording and icon choice live in the template, not here. */
|
|
4
|
+
export declare const ADVANCED_FEATURE_ICONS: Record<string, AdvancedFeature['icon']>;
|
|
2
5
|
export declare const INTEGRATION_SENSE_ID = "integration_sense";
|
|
3
6
|
export declare const EMAIL_LOGGING_ID = "email_log_settings";
|
|
4
7
|
export declare const QUICK_ACCESS_ID = "quick_access";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/constants/index.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;sEACsE;AACtE,eAAO,MAAM,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,CAE1E,CAAC;AAEF,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;AACxD,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AACrD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAC9C,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;AACxD,eAAO,MAAM,iBAAiB,8FAC+D,CAAC;AAC9F,eAAO,MAAM,oCAAoC,qEAAqE,CAAC;AACvH,eAAO,MAAM,iBAAiB,EAAE,eAAe,EA+C9C,CAAC;AAEF,eAAO,MAAM,KAAK,sBAAsB,CAAC;AACzC,eAAO,MAAM,SAAS,0EAA0E,CAAC;AAMjG,eAAO,MAAM,wBAAwB;;;;;CAMpC,CAAC"}
|
|
@@ -14,8 +14,6 @@ export interface AdvancedFeature {
|
|
|
14
14
|
id: string;
|
|
15
15
|
heading: string;
|
|
16
16
|
subHeading: string;
|
|
17
|
-
/** Copy for connectors where the feature means something different, keyed by lower-case connector type. */
|
|
18
|
-
subHeadingByConnectorType?: Record<string, string>;
|
|
19
17
|
icon: ComponentType<SVGProps<SVGSVGElement>>;
|
|
20
18
|
featureKey: string;
|
|
21
19
|
modalSettings?: ModalSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/advanced-features/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -10,6 +10,24 @@ export type AuthMutationResponse = {
|
|
|
10
10
|
authStatus: IAUTH_STATUS;
|
|
11
11
|
id?: string;
|
|
12
12
|
};
|
|
13
|
+
export declare const postAuthDetailsApi: (data: AuthRequest) => Promise<{
|
|
14
|
+
authUrl: string;
|
|
15
|
+
authStatus: IAUTH_STATUS;
|
|
16
|
+
id?: undefined;
|
|
17
|
+
} | {
|
|
18
|
+
authUrl: string;
|
|
19
|
+
id: string;
|
|
20
|
+
authStatus: IAUTH_STATUS;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const patchAuthDetailsApi: (data: EditAuthRequest, connectorId: string) => Promise<{
|
|
23
|
+
authUrl: string;
|
|
24
|
+
authStatus: IAUTH_STATUS;
|
|
25
|
+
id?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
authUrl: string;
|
|
28
|
+
id: string;
|
|
29
|
+
authStatus: IAUTH_STATUS;
|
|
30
|
+
}>;
|
|
13
31
|
export declare const useAuthDetailsMutation: ({ connectorId, onSuccess }: {
|
|
14
32
|
connectorId: string;
|
|
15
33
|
onSuccess?: (data: AuthMutationResponse) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authDetailsMutation.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/authDetailsMutation.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAmB,eAAe,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEpG,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AACzG,MAAM,MAAM,oBAAoB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,YAAY,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"authDetailsMutation.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/authDetailsMutation.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAmB,eAAe,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEpG,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;AACzG,MAAM,MAAM,oBAAoB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,YAAY,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAkE9F,eAAO,MAAM,kBAAkB,SAAgB,WAAW;;;;;;;;EAWzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,SAAgB,eAAe,eAAe,MAAM;;;;;;;;EAYnF,CAAC;AAEF,eAAO,MAAM,sBAAsB,+BAGhC;IACD,WAAW,EAAE,MAAM,CAAC;IAKpB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CAClD;;;;;;;;;2BAoCY,YAAY;CAwBxB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSONValue } from '../../../types/json';
|
|
2
|
+
import { IConnectorDetails } from '../../../types/connector';
|
|
2
3
|
import { CreateStoreRequest, CreateStoreResponse, ValidateNewStoreRequest, ValidateNewStoreResponse } from '../types/request';
|
|
3
4
|
export declare const testAuthApi: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
4
5
|
export declare const postVerifyToken: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
@@ -16,4 +17,13 @@ export declare const validateNewStore: ({ templateId, parentConnectorId, name }:
|
|
|
16
17
|
* Settings page via `PATCH /connector/{id}/auth`.
|
|
17
18
|
*/
|
|
18
19
|
export declare const createStore: ({ templateId, parentConnectorId, name }: CreateStoreRequest) => Promise<CreateStoreResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Fetches what the in-card credential setup needs (authDetails,
|
|
22
|
+
* variablesConfig, redirectUrl, hiddenFields, oneClickAuthEnabled, stored
|
|
23
|
+
* variables): the installed connector when there is one, else its template.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getAuthSetup: ({ connectorId, templateId }: {
|
|
26
|
+
connectorId?: string | null;
|
|
27
|
+
templateId?: string | null;
|
|
28
|
+
}) => Promise<IConnectorDetails>;
|
|
19
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,kBAAkB,CAAC;AAE1B,eAAO,MAAM,WAAW,SAAU,SAAS,eAAe,MAAM,iEAO/D,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,SAAS,eAAe,MAAM,iEAOnE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,4CAI1B,uBAAuB,KAAG,OAAO,CAAC,wBAAwB,CAc5D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,4CAIrB,kBAAkB,KAAG,OAAO,CAAC,mBAAmB,CAgBlD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,gCAGtB;IACD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,KAAG,OAAO,CAAC,iBAAiB,CAU5B,CAAC"}
|
|
@@ -10,7 +10,15 @@ interface IAuthForm {
|
|
|
10
10
|
isAuthPending: boolean;
|
|
11
11
|
authStatus: IAUTH_STATUS;
|
|
12
12
|
authMutate: UseMutateFunction<AuthMutationResponse, Error, AuthMutationPayload>;
|
|
13
|
+
/**
|
|
14
|
+
* Start sign-in without a click, for a one-click app. The setup assistant's
|
|
15
|
+
* connect card opens this screen with `autoAuth=1`: there is nothing for the
|
|
16
|
+
* admin to fill in, so the screen does what its Authenticate button would.
|
|
17
|
+
*/
|
|
18
|
+
autoStart?: boolean;
|
|
19
|
+
/** Drop the red failed-auth alert where the page shows that state itself (the app page's title badge). */
|
|
20
|
+
hideAuthFailedAlert?: boolean;
|
|
13
21
|
}
|
|
14
|
-
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, isAuthPending, authStatus, authMutate }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const AuthForm: ({ isEdit, connectorId, isLoading, connectorData, isAuthPending, authStatus, authMutate, autoStart, hideAuthFailedAlert }: IAuthForm) => import("react/jsx-runtime").JSX.Element;
|
|
15
23
|
export {};
|
|
16
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG/F,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/auth-form/index.tsx"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAG/F,UAAU,SAAS;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACzC,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC,oBAAoB,EAAE,KAAK,EAAE,mBAAmB,CAAC,CAAC;IAChF;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,0GAA0G;IAC1G,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,QAAQ,6HAUlB,SAAS,4CA0WX,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IConnectorAuthCardProps } from './types';
|
|
2
|
+
export declare const ConnectorAuthCard: ({ title, provider, description, connectionStatus, authorizeUrl, ctaLabel, manualAuth, state, error, onOutcome, onManualSubmit, credentialsSetup, onStart }: IConnectorAuthCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/connector-auth-card/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAiC,uBAAuB,EAAuB,MAAM,SAAS,CAAC;AAuF3G,eAAO,MAAM,iBAAiB,+JAc3B,uBAAuB,4CA4XzB,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { BoxProps, ButtonProps, StackProps, TypographyProps } from '@hiver/hiver-ui-kit';
|
|
2
|
+
import { StyledComponent } from '@emotion/styled';
|
|
3
|
+
import { HTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* The card surface, read off `30534` rather than approximated.
|
|
6
|
+
*
|
|
7
|
+
* Three corrections from the first pass: the radius is **14px** (was 8), it
|
|
8
|
+
* carries the sheet's `elevation/xs` drop shadow (had none), and it holds **no
|
|
9
|
+
* padding or gap of its own** — the three rows below own their insets, which is
|
|
10
|
+
* what makes their 51/73/64px heights land exactly.
|
|
11
|
+
*
|
|
12
|
+
* The typeface is **Inter**. It was `'Hanken Grotesk', system-ui, sans-serif`,
|
|
13
|
+
* a font no host loads, so the card fell through to a serif while every widget
|
|
14
|
+
* beside it in the assistant's turn stream was Inter. `font-family/sans` on the
|
|
15
|
+
* component sheet is Inter, and `AppDetailPage` already forces it for the same
|
|
16
|
+
* reason on its own agent-facing screen.
|
|
17
|
+
*/
|
|
18
|
+
export declare const CardShell: StyledComponent<BoxProps>;
|
|
19
|
+
/** `30534` — header 51px, app row 73px, footer 64px, each inset 16px. */
|
|
20
|
+
export declare const HeaderRow: StyledComponent<StackProps>;
|
|
21
|
+
export declare const CardTitle: StyledComponent<TypographyProps>;
|
|
22
|
+
export declare const AppRow: StyledComponent<StackProps>;
|
|
23
|
+
export declare const FooterRow: StyledComponent<StackProps>;
|
|
24
|
+
export declare const ProviderLogo: StyledComponent<BoxProps>;
|
|
25
|
+
export declare const ProviderName: StyledComponent<TypographyProps>;
|
|
26
|
+
export declare const Description: StyledComponent<TypographyProps>;
|
|
27
|
+
/**
|
|
28
|
+
* Status: a dot and a label, nothing more.
|
|
29
|
+
*
|
|
30
|
+
* `30534` draws a 75x18 frame holding a 6px ellipse and text at a 6px gap. The
|
|
31
|
+
* pill treatment this had — subtle background, 10px inset, 12px radius — is not
|
|
32
|
+
* in the design and made the status read as a chip rather than an annotation.
|
|
33
|
+
*/
|
|
34
|
+
export declare const StatusPill: StyledComponent<BoxProps>;
|
|
35
|
+
/**
|
|
36
|
+
* The status dot — **6px**, as `30534` draws it, not 8.
|
|
37
|
+
*
|
|
38
|
+
* Three colours for four states, deliberately: the colour says "is this
|
|
39
|
+
* finished", and the label says which unfinished state it is. Grey before any
|
|
40
|
+
* credentials, amber while connected but not live, green once enabled.
|
|
41
|
+
*/
|
|
42
|
+
export declare const StatusDot: StyledComponent<BoxProps & {
|
|
43
|
+
tone?: 'idle' | 'pending' | 'live';
|
|
44
|
+
}>;
|
|
45
|
+
export declare const ConnectButton: StyledComponent<ButtonProps>;
|
|
46
|
+
export declare const ManualSection: StyledComponent<StackProps>;
|
|
47
|
+
export declare const Instructions: StyledComponent<TypographyProps>;
|
|
48
|
+
export declare const FieldColumn: StyledComponent<StackProps>;
|
|
49
|
+
export declare const FieldLabel: StyledComponent<LabelHTMLAttributes<HTMLLabelElement>>;
|
|
50
|
+
export declare const RequiredMark: StyledComponent<HTMLAttributes<HTMLSpanElement>>;
|
|
51
|
+
export declare const RevealButton: StyledComponent<ButtonProps>;
|
|
52
|
+
export declare const ActionsRow: StyledComponent<StackProps>;
|
|
53
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/auth/components/connector-auth-card/styles.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC9F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMjE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,CAY/C,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,UAAU,CAQjD,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,eAAe,CAKtD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,UAAU,CAO9C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,UAAU,CAOjD,CAAC;AAIF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,QAAQ,CAclD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,eAAe,CAMzD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAIxD,CAAC;AAIF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAShD,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,QAAQ,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAAA;CAAE,CAaxF,CAAC;AAKF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,WAAW,CAqBtD,CAAC;AAMF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAMrD,CAAC;AAIF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,eAAe,CAKzD,CAAC;AAKF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,UAAU,CAYnD,CAAC;AAIF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAO7E,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,CAEzE,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAOrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,UAAU,CAIlD,CAAC"}
|