@hiver/connector-admin 4.18.0-multiStore-beta.3 → 4.18.0-themeMode-beta.0
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/automation-map-fields/index.d.ts +5 -1
- package/app/automation-map-fields/index.d.ts.map +1 -1
- package/app/automation-map-fields/provider.d.ts +3 -1
- package/app/automation-map-fields/provider.d.ts.map +1 -1
- package/app/connectors/pages/settings/components/upgrade-guide/styles.d.ts.map +1 -1
- package/app/connectors/pages/upgrade-page/index.d.ts.map +1 -1
- package/dev/theme-mode-widget.d.ts +12 -0
- package/dev/theme-mode-widget.d.ts.map +1 -0
- package/features/connector-library/components/visibility-modal/card-visibility/index.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/field-visibility/style.d.ts.map +1 -1
- package/features/connector-library/components/visibility-modal/style.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.es.js +17139 -15760
- package/index.umd.js +1015 -801
- package/main.d.ts.map +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/v2/app/connectors/index.d.ts +1 -1
- package/v2/app/connectors/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/Configuration.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/schema.d.ts +3 -0
- package/v2/app/connectors/pages/app-detail/schema.d.ts.map +1 -1
- package/v2/app/connectors/pages/app-detail/style.d.ts.map +1 -1
- package/v2/app/connectors/pages/auth-success/styles.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/auth/components/upgrade-guide/styles.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/auth/styles.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/settings/styles.d.ts.map +1 -1
- package/v2/app/connectors/pages/upgrade-page/index.d.ts.map +1 -1
- package/v2/app/connectors/pages/upgrade-page/style.d.ts.map +1 -1
- package/v2/app/connectors/provider.d.ts.map +1 -1
- package/v2/app/style.d.ts.map +1 -1
- package/v2/components/ui/auto-complete/dropdownOmni.d.ts +11 -8
- package/v2/components/ui/auto-complete/dropdownOmni.d.ts.map +1 -1
- package/v2/components/ui/connector-alert/index.d.ts.map +1 -1
- package/v2/components/ui/connector-item/index.d.ts +1 -5
- package/v2/components/ui/connector-item/index.d.ts.map +1 -1
- package/v2/components/ui/connector-item/styles.d.ts.map +1 -1
- package/v2/components/ui/custom-tooltip/index.d.ts.map +1 -1
- package/v2/components/ui/loader-button/index.d.ts.map +1 -1
- package/v2/components/ui/status-chip/styles.d.ts.map +1 -1
- package/v2/components/ui/styled-ui-components.d.ts.map +1 -1
- package/v2/features/advanced-features/components/confirm-modal/index.d.ts.map +1 -1
- package/v2/features/advanced-features/components/feature-item/index.d.ts +2 -1
- package/v2/features/advanced-features/components/feature-item/index.d.ts.map +1 -1
- package/v2/features/advanced-features/types/index.d.ts +2 -1
- package/v2/features/advanced-features/types/index.d.ts.map +1 -1
- package/v2/features/api-library/components/api-library/styles.d.ts.map +1 -1
- package/v2/features/auth/api/index.d.ts +0 -15
- package/v2/features/auth/api/index.d.ts.map +1 -1
- package/v2/features/auth/components/api-executor/index.d.ts.map +1 -1
- package/v2/features/auth/components/api-executor/styles.d.ts.map +1 -1
- package/v2/features/auth/components/auth-form/index.d.ts.map +1 -1
- package/v2/features/auth/constants/api.d.ts +0 -2
- package/v2/features/auth/constants/api.d.ts.map +1 -1
- package/v2/features/auth/types/request.d.ts +0 -27
- package/v2/features/auth/types/request.d.ts.map +1 -1
- package/v2/features/connector-library/components/connector-info-card/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/connector-info-card-list/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/connector-info-card-list/styles.d.ts +1 -1
- package/v2/features/connector-library/components/connector-info-card-list/styles.d.ts.map +1 -1
- package/v2/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/custom-connector-upgrades-tooltip/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/customer-identity-mapping/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/map-form-defaults/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/card-visibility/form.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/__tests__/configure-fields.test.d.ts +2 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/__tests__/configure-fields.test.d.ts.map +1 -0
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/index.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/sortable-field.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/configure-fields/styles.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/form.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/field-visibility/style.d.ts.map +1 -1
- package/v2/features/connector-library/components/visibility-modal/style.d.ts.map +1 -1
- package/v2/features/connector-library/store/slice.d.ts.map +1 -1
- package/v2/features/connector-setup-guide/components/guide-links/styles.d.ts.map +1 -1
- package/v2/features/connector-setup-guide/components/schedule-call/index.d.ts.map +1 -1
- package/v2/features/connector-setup-guide/components/schedule-call/styles.d.ts.map +1 -1
- package/v2/features/request-new-connector/components/request-new-modal/styles.d.ts.map +1 -1
- package/v2/features/slack/api/configs.d.ts +3 -0
- package/v2/features/slack/api/configs.d.ts.map +1 -1
- package/v2/features/slack/components/ConfigBlockIcons.d.ts +2 -2
- package/v2/features/slack/components/DefaultMessageEditor/constants.d.ts +27 -0
- package/v2/features/slack/components/DefaultMessageEditor/constants.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/index.d.ts +20 -0
- package/v2/features/slack/components/DefaultMessageEditor/index.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.d.ts +12 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts +2 -0
- package/v2/features/slack/components/DefaultMessageEditor/serialize.test.d.ts.map +1 -0
- package/v2/features/slack/components/DefaultMessageEditor/styles.d.ts +10 -0
- package/v2/features/slack/components/DefaultMessageEditor/styles.d.ts.map +1 -0
- package/v2/features/slack/controller.d.ts.map +1 -1
- package/v2/features/slack/types/wire.d.ts +11 -0
- package/v2/features/slack/types/wire.d.ts.map +1 -1
- package/v2/testing/mocks/handlers/auth.d.ts.map +1 -1
- package/v2/testing/mocks/handlers/connector-template.d.ts +0 -1
- package/v2/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/v2/testing/mocks/handlers/slack.d.ts.map +1 -1
- package/v2/theme/connector-admin-theme-provider.d.ts +7 -0
- package/v2/theme/connector-admin-theme-provider.d.ts.map +1 -0
- package/v2/theme/connector-admin-theme.d.ts +67 -0
- package/v2/theme/connector-admin-theme.d.ts.map +1 -0
- package/v2/theme/connector-admin-theme.test.d.ts +2 -0
- package/v2/theme/connector-admin-theme.test.d.ts.map +1 -0
- package/v2/types/app.d.ts +3 -0
- package/v2/types/app.d.ts.map +1 -1
- package/v2/types/connector.d.ts +2 -24
- package/v2/types/connector.d.ts.map +1 -1
- package/v2/utils/index.d.ts.map +1 -1
- package/v2/features/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts +0 -2
- package/v2/features/add-new-store/components/add-new-store-button/__tests__/add-new-store-button.test.d.ts.map +0 -1
- package/v2/features/add-new-store/components/add-new-store-button/index.d.ts +0 -7
- package/v2/features/add-new-store/components/add-new-store-button/index.d.ts.map +0 -1
- package/v2/features/add-new-store/components/add-new-store-modal/index.d.ts +0 -15
- package/v2/features/add-new-store/components/add-new-store-modal/index.d.ts.map +0 -1
- package/v2/features/add-new-store/constants/index.d.ts +0 -29
- package/v2/features/add-new-store/constants/index.d.ts.map +0 -1
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts +0 -2
- package/v2/features/add-new-store/utils/__tests__/store-error-message.test.d.ts.map +0 -1
- package/v2/features/add-new-store/utils/index.d.ts +0 -14
- package/v2/features/add-new-store/utils/index.d.ts.map +0 -1
- package/v2/features/auth/api/__tests__/create-store.test.d.ts +0 -2
- package/v2/features/auth/api/__tests__/create-store.test.d.ts.map +0 -1
- package/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.d.ts +0 -2
- package/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.d.ts.map +0 -1
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts +0 -2
- package/v2/features/auth/utils/__tests__/auth-request-body.test.d.ts.map +0 -1
- package/v2/features/connector-library/store/__tests__/slice.test.d.ts +0 -2
- package/v2/features/connector-library/store/__tests__/slice.test.d.ts.map +0 -1
- package/v2/utils/__tests__/get-app-state.test.d.ts +0 -2
- package/v2/utils/__tests__/get-app-state.test.d.ts.map +0 -1
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface IAddNewStoreModalProps {
|
|
3
|
-
shown: boolean;
|
|
4
|
-
setShown: (value: boolean) => void;
|
|
5
|
-
/** Called with the trimmed store name when Submit is clicked. The parent owns
|
|
6
|
-
* the validate → create → navigate flow. */
|
|
7
|
-
onSubmit: (name: string) => void;
|
|
8
|
-
/** Drives the Submit button's loading spinner + disabled state. */
|
|
9
|
-
isSubmitting?: boolean;
|
|
10
|
-
/** Inline error surfaced under the input (e.g. duplicate name / cap reached),
|
|
11
|
-
* raised by either the validate pre-check or the create call. */
|
|
12
|
-
errorMessage?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const AddNewStoreModal: React.FC<IAddNewStoreModalProps>;
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/add-new-store/components/add-new-store-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAcnD,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;iDAC6C;IAC7C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,mEAAmE;IACnE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;sEACkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAkF7D,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ValidateStoreReason } from '../../auth/types/request';
|
|
2
|
-
export declare const ADD_NEW_STORE_BUTTON_TEXT = "Add New Store";
|
|
3
|
-
export declare const ADD_NEW_STORE_MODAL_TITLE = "Add New Store";
|
|
4
|
-
export declare const ADD_NEW_STORE_MODAL_HELPER_TEXT = "Each store has its own configuration. Choose a descriptive name to help distinguish it from other stores.";
|
|
5
|
-
export declare const ADD_NEW_STORE_INPUT_PLACEHOLDER = "Enter Store name";
|
|
6
|
-
export declare const ADD_NEW_STORE_INPUT_LABEL = "Enter Store name";
|
|
7
|
-
export declare const ADD_NEW_STORE_SUBMIT_TEXT = "Submit";
|
|
8
|
-
export declare const ADD_NEW_STORE_CANCEL_TEXT = "Cancel";
|
|
9
|
-
/** Tooltip shown when the cap is reached, e.g. "3/3 stores used". */
|
|
10
|
-
export declare const storesUsedTooltip: (storesUsed: number, maxStores: number) => string;
|
|
11
|
-
/** Toast shown once the store row is created, i.e. at modal Submit. The store is
|
|
12
|
-
* created credential-less, so this no longer waits on auth completing. */
|
|
13
|
-
export declare const ADD_NEW_STORE_SUCCESS_TOAST = "Added successfully";
|
|
14
|
-
/** Inline messages for each `validateNewStore` failure reason (M6 contract). */
|
|
15
|
-
export declare const VALIDATE_STORE_ERROR_MESSAGES: {
|
|
16
|
-
readonly NAME_TAKEN: "A connector with this name already exists.";
|
|
17
|
-
readonly LIMIT_REACHED: "You've reached the maximum number of stores.";
|
|
18
|
-
readonly MULTI_STORE_DISABLED: "Adding stores isn't available for this app.";
|
|
19
|
-
readonly PARENT_INVALID: "Something went wrong. Please try again.";
|
|
20
|
-
};
|
|
21
|
-
/** Backend `error` messages returned by the create call (`POST /connector/store`)
|
|
22
|
-
* keyed to the equivalent pre-check reason, so a duplicate name or a hit cap
|
|
23
|
-
* reads identically whichever call surfaced it. These are the exact strings the
|
|
24
|
-
* backend sends (400 / 409); anything else — 403, 500, an unrecognised 400 —
|
|
25
|
-
* falls through to the generic error. */
|
|
26
|
-
export declare const CREATE_STORE_ERROR_REASONS: Record<string, ValidateStoreReason>;
|
|
27
|
-
/** Fallback inline error for unknown/absent reasons and thrown errors. */
|
|
28
|
-
export declare const ADD_NEW_STORE_GENERIC_ERROR = "Something went wrong. Please try again.";
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/add-new-store/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,yBAAyB,kBAAkB,CAAC;AACzD,eAAO,MAAM,+BAA+B,8GACiE,CAAC;AAC9G,eAAO,MAAM,+BAA+B,qBAAqB,CAAC;AAClE,eAAO,MAAM,yBAAyB,qBAAqB,CAAC;AAC5D,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAClD,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAElD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,eAAgB,MAAM,aAAa,MAAM,KAAG,MAChC,CAAC;AAE3C;2EAC2E;AAC3E,eAAO,MAAM,2BAA2B,uBAAuB,CAAC;AAEhE,gFAAgF;AAChF,eAAO,MAAM,6BAA6B;;;;;CAKhC,CAAC;AAEX;;;;0CAI0C;AAC1C,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAK1E,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,2BAA2B,4CAA4C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store-error-message.test.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/add-new-store/utils/__tests__/store-error-message.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ValidateStoreReason } from '../../auth/types/request';
|
|
2
|
-
/**
|
|
3
|
-
* Maps a `validateNewStore` failure reason to the inline message surfaced under
|
|
4
|
-
* the modal input. Unknown/absent reasons fall back to a generic error.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getValidateErrorMessage: (reason?: ValidateStoreReason) => string;
|
|
7
|
-
/**
|
|
8
|
-
* Maps a `createStore` rejection to the inline message surfaced under the modal
|
|
9
|
-
* input, reusing the pre-check's copy so duplicate-name / cap-reached read
|
|
10
|
-
* identically whether they were raised by the advisory check or by the
|
|
11
|
-
* authoritative create.
|
|
12
|
-
*/
|
|
13
|
-
export declare const getCreateErrorMessage: (err: unknown) => string;
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2/features/add-new-store/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAI5E;;;GAGG;AACH,eAAO,MAAM,uBAAuB,YAAa,mBAAmB,KAAG,MAKtE,CAAC;AAuBF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,QAAS,OAAO,KAAG,MAGpD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-store.test.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/api/__tests__/create-store.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-form-alert.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/features/auth/components/auth-form/__tests__/auth-form-alert.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-request-body.test.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/auth/utils/__tests__/auth-request-body.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slice.test.d.ts","sourceRoot":"","sources":["../../../../../../src/v2/features/connector-library/store/__tests__/slice.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-state.test.d.ts","sourceRoot":"","sources":["../../../../src/v2/utils/__tests__/get-app-state.test.ts"],"names":[],"mappings":""}
|