@mongodb-js/compass-indexes 5.13.0 → 5.15.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/dist/browser.js +1 -1
- package/dist/index.js +1 -1
- package/dist/src/components/create-index-actions/create-index-actions.d.ts +0 -1
- package/dist/src/components/create-index-actions/create-index-actions.d.ts.map +1 -1
- package/dist/src/components/create-index-form/create-index-form.d.ts +0 -1
- package/dist/src/components/create-index-form/create-index-form.d.ts.map +1 -1
- package/dist/src/components/create-index-modal/create-index-modal.d.ts.map +1 -1
- package/dist/src/components/indexes/indexes.d.ts +11 -25
- package/dist/src/components/indexes/indexes.d.ts.map +1 -1
- package/dist/src/components/indexes-table/indexes-table.d.ts +1 -1
- package/dist/src/components/indexes-table/indexes-table.d.ts.map +1 -1
- package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts +25 -10
- package/dist/src/components/indexes-toolbar/indexes-toolbar.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/index-actions.d.ts +3 -3
- package/dist/src/components/regular-indexes-table/index-actions.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/property-field.d.ts +5 -5
- package/dist/src/components/regular-indexes-table/property-field.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts +19 -6
- package/dist/src/components/regular-indexes-table/regular-indexes-table.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/type-field.d.ts +5 -5
- package/dist/src/components/regular-indexes-table/type-field.d.ts.map +1 -1
- package/dist/src/components/regular-indexes-table/usage-field.d.ts.map +1 -1
- package/dist/src/components/search-index-template-dropdown/index.d.ts +9 -0
- package/dist/src/components/search-index-template-dropdown/index.d.ts.map +1 -0
- package/dist/src/components/search-indexes-modals/base-search-index-modal.d.ts +17 -0
- package/dist/src/components/search-indexes-modals/base-search-index-modal.d.ts.map +1 -0
- package/dist/src/components/search-indexes-modals/create-search-index-modal.d.ts +19 -0
- package/dist/src/components/search-indexes-modals/create-search-index-modal.d.ts.map +1 -0
- package/dist/src/components/search-indexes-modals/index.d.ts +3 -0
- package/dist/src/components/search-indexes-modals/index.d.ts.map +1 -0
- package/dist/src/components/search-indexes-modals/update-search-index-modal.d.ts +20 -0
- package/dist/src/components/search-indexes-modals/update-search-index-modal.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/search-index-actions.d.ts +11 -0
- package/dist/src/components/search-indexes-table/search-index-actions.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/search-indexes-table.d.ts +30 -0
- package/dist/src/components/search-indexes-table/search-indexes-table.d.ts.map +1 -0
- package/dist/src/components/search-indexes-table/zero-graphic.d.ts +4 -0
- package/dist/src/components/search-indexes-table/zero-graphic.d.ts.map +1 -0
- package/dist/src/modules/create-index/index.d.ts.map +1 -1
- package/dist/src/modules/create-index/options.d.ts +0 -1
- package/dist/src/modules/create-index/options.d.ts.map +1 -1
- package/dist/src/modules/drop-index/index.d.ts.map +1 -1
- package/dist/src/modules/fields.d.ts +18 -0
- package/dist/src/modules/fields.d.ts.map +1 -0
- package/dist/src/modules/index-view.d.ts +16 -0
- package/dist/src/modules/index-view.d.ts.map +1 -0
- package/dist/src/modules/index.d.ts +17 -4
- package/dist/src/modules/index.d.ts.map +1 -1
- package/dist/src/modules/regular-indexes.d.ts +13 -14
- package/dist/src/modules/regular-indexes.d.ts.map +1 -1
- package/dist/src/modules/search-indexes.d.ts +82 -8
- package/dist/src/modules/search-indexes.d.ts.map +1 -1
- package/dist/src/stores/create-index.d.ts.map +1 -1
- package/dist/src/stores/store.d.ts +14 -4
- package/dist/src/stores/store.d.ts.map +1 -1
- package/dist/src/utils/modal-descriptions.d.ts +0 -1
- package/dist/src/utils/modal-descriptions.d.ts.map +1 -1
- package/package.json +19 -16
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-actions/create-index-actions.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"create-index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-actions/create-index-actions.tsx"],"names":[],"mappings":"AAwBA,iBAAS,kBAAkB,CAAC,EAC1B,KAAK,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,GACtB,EAAE;IACD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,eAkEA;AAED,eAAe,kBAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"create-index-form.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-form/create-index-form.tsx"],"names":[],"mappings":"AAoBA,KAAK,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEjD,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,UAAU,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB,aAAa,EAAE,MAAM,CAAC;IAEtB,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,MAAM,EACN,YAAY,EAEZ,aAAa,EAEb,eAAe,EACf,eAAe,EACf,QAAQ,EACR,WAAW,GACZ,EAAE,oBAAoB,eA0CtB;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-modal/create-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAmB3C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAIzE,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,SAAS,EACT,KAAK,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IAChD,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,
|
1
|
+
{"version":3,"file":"create-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/create-index-modal/create-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAmB3C,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAIzE,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,SAAS,EACT,KAAK,EACL,UAAU,EACV,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IAChD,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,eAgDA;;;;;AA8BD,wBAAgE"}
|
@@ -1,31 +1,17 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type
|
3
|
-
import type {
|
2
|
+
import type { State as RegularIndexesState } from '../../modules/regular-indexes';
|
3
|
+
import type { State as SearchIndexesState } from '../../modules/search-indexes';
|
4
|
+
import type { IndexView } from '../../modules/index-view';
|
4
5
|
type IndexesProps = {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
isRefreshing: boolean;
|
12
|
-
serverVersion: string;
|
13
|
-
sortIndexes: (name: SortColumn, direction: SortDirection) => void;
|
14
|
-
refreshIndexes: () => void;
|
15
|
-
dropFailedIndex: (id: string) => void;
|
16
|
-
onHideIndex: (name: string) => void;
|
17
|
-
onUnhideIndex: (name: string) => void;
|
18
|
-
readOnly?: boolean;
|
19
|
-
isAtlasSearchSupported: boolean;
|
6
|
+
isReadonlyView?: boolean;
|
7
|
+
regularIndexes: Pick<RegularIndexesState, 'indexes' | 'error' | 'isRefreshing'>;
|
8
|
+
searchIndexes: Pick<SearchIndexesState, 'indexes' | 'error' | 'status'>;
|
9
|
+
currentIndexesView: IndexView;
|
10
|
+
refreshRegularIndexes: () => void;
|
11
|
+
refreshSearchIndexes: () => void;
|
20
12
|
};
|
21
|
-
export declare
|
22
|
-
declare const _default: import("react-redux").ConnectedComponent<
|
23
|
-
children?: React.ReactNode;
|
24
|
-
}, "readOnly"> & Partial<Pick<IndexesProps & {
|
25
|
-
children?: React.ReactNode;
|
26
|
-
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
27
|
-
children?: React.ReactNode;
|
28
|
-
readOnly?: boolean | undefined;
|
13
|
+
export declare function Indexes({ isReadonlyView, regularIndexes, searchIndexes, currentIndexesView, refreshRegularIndexes, refreshSearchIndexes, }: IndexesProps): JSX.Element;
|
14
|
+
declare const _default: import("react-redux").ConnectedComponent<typeof Indexes, {
|
29
15
|
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
30
16
|
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
31
17
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes/indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes/indexes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAStD,OAAO,KAAK,EAAE,KAAK,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAQhF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAc1D,KAAK,YAAY,GAAG;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,IAAI,CAClB,mBAAmB,EACnB,SAAS,GAAG,OAAO,GAAG,cAAc,CACrC,CAAC;IACF,aAAa,EAAE,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC;IACxE,kBAAkB,EAAE,SAAS,CAAC;IAC9B,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC,oBAAoB,EAAE,MAAM,IAAI,CAAC;CAClC,CAAC;AASF,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,GACrB,EAAE,YAAY,eAkDd;;;;;AAmBD,wBAAuD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAc1D,KAAK,aAAa,
|
1
|
+
{"version":3,"file":"indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-table/indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAc1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA2DnD,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE;QACN,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC;QACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B,EAAE,CAAC;IACJ,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,MAAM,IAAI;IACrD,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IACxB,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;CACjE,CAAC;AAEF,wBAAgB,YAAY,CAAC,MAAM,SAAS,MAAM,EAAE,EAClD,CAAC,aAAa,CAAC,EAAE,UAAU,EAC3B,CAAC,YAAY,CAAC,EAAE,SAAS,EACzB,OAAO,EAAE,WAAW,EACpB,cAAc,EACd,IAAI,EACJ,WAAW,GACZ,EAAE,iBAAiB,CAAC,MAAM,CAAC,eAmI3B"}
|
@@ -1,17 +1,18 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type
|
3
|
-
export type IndexView = 'regular-indexes' | 'search-indexes';
|
2
|
+
import type { IndexView } from '../../modules/index-view';
|
4
3
|
type IndexesToolbarProps = {
|
4
|
+
indexView: IndexView;
|
5
5
|
errorMessage: string | null;
|
6
|
-
isReadonlyView: boolean;
|
7
|
-
isWritable: boolean;
|
8
6
|
hasTooManyIndexes: boolean;
|
9
|
-
localAppRegistry: AppRegistry;
|
10
7
|
isRefreshing: boolean;
|
11
|
-
writeStateDescription?: string;
|
12
|
-
isAtlasSearchSupported: boolean;
|
13
8
|
onRefreshIndexes: () => void;
|
14
9
|
onChangeIndexView: (newView: IndexView) => void;
|
10
|
+
isReadonlyView: boolean;
|
11
|
+
isWritable: boolean;
|
12
|
+
onCreateRegularIndex: () => void;
|
13
|
+
onCreateSearchIndex: () => void;
|
14
|
+
writeStateDescription?: string;
|
15
|
+
isAtlasSearchSupported: boolean;
|
15
16
|
readOnly?: boolean;
|
16
17
|
};
|
17
18
|
export declare const IndexesToolbar: React.FunctionComponent<IndexesToolbarProps>;
|
@@ -19,9 +20,23 @@ type CreateIndexButtonProps = {
|
|
19
20
|
isSearchManagementActive: boolean;
|
20
21
|
isAtlasSearchSupported: boolean;
|
21
22
|
isWritable: boolean;
|
22
|
-
|
23
|
-
|
23
|
+
onCreateRegularIndex: () => void;
|
24
|
+
onCreateSearchIndex: () => void;
|
24
25
|
};
|
25
26
|
export declare const CreateIndexButton: React.FunctionComponent<CreateIndexButtonProps>;
|
26
|
-
|
27
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<IndexesToolbarProps & {
|
28
|
+
children?: React.ReactNode;
|
29
|
+
}, "readOnly"> & Partial<Pick<IndexesToolbarProps & {
|
30
|
+
children?: React.ReactNode;
|
31
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
32
|
+
children?: React.ReactNode;
|
33
|
+
errorMessage: string | null;
|
34
|
+
readOnly?: boolean | undefined;
|
35
|
+
isRefreshing: boolean;
|
36
|
+
hasTooManyIndexes: boolean;
|
37
|
+
onRefreshIndexes: () => void;
|
38
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
39
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
40
|
+
}>;
|
41
|
+
export default _default;
|
27
42
|
//# sourceMappingURL=indexes-toolbar.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"indexes-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-toolbar/indexes-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"indexes-toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/indexes-toolbar/indexes-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AA2B3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AA2B1D,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,OAAO,CAAC;IACtB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAEhD,cAAc,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,mBAAmB,CA0IvE,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,wBAAwB,EAAE,OAAO,CAAC;IAClC,sBAAsB,EAAE,OAAO,CAAC;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,mBAAmB,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAIF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CACrD,sBAAsB,CAkDvB,CAAC;;;;;;;;;;;;;;;AAyBF,wBAGwD"}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type {
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
3
|
type IndexActionsProps = {
|
4
|
-
index:
|
4
|
+
index: RegularIndex;
|
5
5
|
serverVersion: string;
|
6
|
-
onDeleteIndex: (
|
6
|
+
onDeleteIndex: (name: string) => void;
|
7
7
|
onHideIndex: (name: string) => void;
|
8
8
|
onUnhideIndex: (name: string) => void;
|
9
9
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/index-actions.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/index-actions.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,YAAY,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAcF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAyD5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type {
|
3
|
-
export declare const getPropertyTooltip: (property: string | undefined, extra:
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
|
+
export declare const getPropertyTooltip: (property: string | undefined, extra: RegularIndex['extra']) => string | null;
|
4
4
|
type PropertyFieldProps = {
|
5
|
-
extra:
|
6
|
-
properties:
|
7
|
-
cardinality:
|
5
|
+
extra: RegularIndex['extra'];
|
6
|
+
properties: RegularIndex['properties'];
|
7
|
+
cardinality: RegularIndex['cardinality'];
|
8
8
|
};
|
9
9
|
declare const PropertyField: React.FunctionComponent<PropertyFieldProps>;
|
10
10
|
export default PropertyField;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"property-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/property-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAkBlE,eAAO,MAAM,kBAAkB,aACnB,MAAM,GAAG,SAAS,SACrB,YAAY,CAAC,OAAO,CAAC,KAC3B,MAAM,GAAG,IAMX,CAAC;AA2CF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IAC7B,UAAU,EAAE,YAAY,CAAC,YAAY,CAAC,CAAC;IACvC,WAAW,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CAC1C,CAAC;AAIF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CA0C9D,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -1,14 +1,27 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import
|
2
|
+
import { type RegularIndex, type RegularSortColumn } from '../../modules/regular-indexes';
|
3
|
+
import type { SortDirection } from '../../modules';
|
3
4
|
type RegularIndexesTableProps = {
|
4
|
-
indexes:
|
5
|
-
canModifyIndex: boolean;
|
5
|
+
indexes: RegularIndex[];
|
6
6
|
serverVersion: string;
|
7
|
-
|
7
|
+
isWritable?: boolean;
|
8
8
|
onHideIndex: (name: string) => void;
|
9
9
|
onUnhideIndex: (name: string) => void;
|
10
|
-
onSortTable: (column:
|
10
|
+
onSortTable: (column: RegularSortColumn, direction: SortDirection) => void;
|
11
|
+
onDeleteIndex: (name: string) => void;
|
12
|
+
readOnly?: boolean;
|
13
|
+
error?: string | null;
|
11
14
|
};
|
12
15
|
export declare const RegularIndexesTable: React.FunctionComponent<RegularIndexesTableProps>;
|
13
|
-
|
16
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<RegularIndexesTableProps & {
|
17
|
+
children?: React.ReactNode;
|
18
|
+
}, "readOnly"> & Partial<Pick<RegularIndexesTableProps & {
|
19
|
+
children?: React.ReactNode;
|
20
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
21
|
+
children?: React.ReactNode;
|
22
|
+
readOnly?: boolean | undefined;
|
23
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
24
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
25
|
+
}>;
|
26
|
+
export default _default;
|
14
27
|
//# sourceMappingURL=regular-indexes-table.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"regular-indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/regular-indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"regular-indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/regular-indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3E,aAAa,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CACvD,wBAAwB,CA4FzB,CAAC;;;;;;;;;;;AAoBF,wBAG6D"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type {
|
3
|
-
export declare const canRenderTooltip: (type:
|
2
|
+
import type { RegularIndex } from '../../modules/regular-indexes';
|
3
|
+
export declare const canRenderTooltip: (type: RegularIndex['type']) => boolean;
|
4
4
|
type TypeFieldProps = {
|
5
|
-
type:
|
6
|
-
extra:
|
5
|
+
type: RegularIndex['type'];
|
6
|
+
extra: RegularIndex['extra'];
|
7
7
|
};
|
8
8
|
export declare const IndexTypeTooltip: React.FunctionComponent<{
|
9
|
-
extra:
|
9
|
+
extra: RegularIndex['extra'];
|
10
10
|
}>;
|
11
11
|
declare const TypeField: React.FunctionComponent<TypeFieldProps>;
|
12
12
|
export default TypeField;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"type-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/type-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,eAAO,MAAM,gBAAgB,SAAU,YAAY,CAAC,MAAM,CAAC,YAE1D,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC3B,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACrD,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;CAC9B,CAeA,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAkBtD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/usage-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAIhD,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAGF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,
|
1
|
+
{"version":3,"file":"usage-field.d.ts","sourceRoot":"","sources":["../../../../src/components/regular-indexes-table/usage-field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,MAIhD,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,IAAI,CAAC;CACd,CAAC;AAGF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,eAAe,CA0BxD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { SearchTemplate } from '@mongodb-js/mongodb-constants';
|
2
|
+
import React from 'react';
|
3
|
+
type SearchIndexTemplateDropdownProps = {
|
4
|
+
tooltip: string;
|
5
|
+
onTemplate: (template: SearchTemplate) => void;
|
6
|
+
};
|
7
|
+
export declare const SearchIndexTemplateDropdown: React.FunctionComponent<SearchIndexTemplateDropdownProps>;
|
8
|
+
export {};
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/search-index-template-dropdown/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,KAAgC,MAAM,OAAO,CAAC;AA8CrD,KAAK,gCAAgC,GAAG;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,iBAAiB,CAC/D,gCAAgC,CA6BjC,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { Document } from 'mongodb';
|
3
|
+
import type { Field } from '../../modules/fields';
|
4
|
+
type BaseSearchIndexModalProps = {
|
5
|
+
mode: 'create' | 'update';
|
6
|
+
initialIndexName: string;
|
7
|
+
initialIndexDefinition: string;
|
8
|
+
isModalOpen: boolean;
|
9
|
+
isBusy: boolean;
|
10
|
+
error: string | undefined;
|
11
|
+
fields: Field[];
|
12
|
+
onSubmit: (indexName: string, indexDefinition: Document) => void;
|
13
|
+
onClose: () => void;
|
14
|
+
};
|
15
|
+
export declare const BaseSearchIndexModal: React.FunctionComponent<BaseSearchIndexModalProps>;
|
16
|
+
export {};
|
17
|
+
//# sourceMappingURL=base-search-index-modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"base-search-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/base-search-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AA2Bf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAwDlD,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,KAAK,IAAI,CAAC;IACjE,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAAiB,CACxD,yBAAyB,CAoN1B,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { Document } from 'mongodb';
|
3
|
+
import type { Field } from '../../modules/fields';
|
4
|
+
export declare const DEFAULT_INDEX_DEFINITION = "{\n mappings: {\n dynamic: true,\n },\n}";
|
5
|
+
type CreateSearchIndexModalProps = {
|
6
|
+
isModalOpen: boolean;
|
7
|
+
isBusy: boolean;
|
8
|
+
error: string | undefined;
|
9
|
+
fields: Field[];
|
10
|
+
onCreateIndex: (indexName: string, indexDefinition: Document) => void;
|
11
|
+
onCloseModal: () => void;
|
12
|
+
};
|
13
|
+
export declare const CreateSearchIndexModal: React.FunctionComponent<CreateSearchIndexModalProps>;
|
14
|
+
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<CreateSearchIndexModalProps>, {
|
15
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
16
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
17
|
+
}>;
|
18
|
+
export default _default;
|
19
|
+
//# sourceMappingURL=create-search-index-modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create-search-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/create-search-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,wBAAwB,kDAInC,CAAC;AAEH,KAAK,2BAA2B,GAAG;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAC1D,2BAA2B,CAe5B,CAAC;;;;;AAmBF,wBAAsE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { Document } from 'mongodb';
|
3
|
+
import type { Field } from '../../modules/fields';
|
4
|
+
type UpdateSearchIndexModalProps = {
|
5
|
+
indexName: string;
|
6
|
+
indexDefinition: string;
|
7
|
+
isModalOpen: boolean;
|
8
|
+
isBusy: boolean;
|
9
|
+
error: string | undefined;
|
10
|
+
fields: Field[];
|
11
|
+
onUpdateIndex: (indexName: string, indexDefinition: Document) => void;
|
12
|
+
onCloseModal: () => void;
|
13
|
+
};
|
14
|
+
export declare const UpdateSearchIndexModal: React.FunctionComponent<UpdateSearchIndexModalProps>;
|
15
|
+
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<UpdateSearchIndexModalProps>, {
|
16
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
17
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
18
|
+
}>;
|
19
|
+
export default _default;
|
20
|
+
//# sourceMappingURL=update-search-index-modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"update-search-index-modal.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-modals/update-search-index-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,KAAK,2BAA2B,GAAG;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtE,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAC1D,2BAA2B,CAwB5B,CAAC;;;;;AA0BF,wBAAsE"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
3
|
+
type IndexActionsProps = {
|
4
|
+
index: SearchIndex;
|
5
|
+
onRunAggregateIndex: (name: string) => void;
|
6
|
+
onDropIndex: (name: string) => void;
|
7
|
+
onEditIndex: (name: string) => void;
|
8
|
+
};
|
9
|
+
declare const IndexActions: React.FunctionComponent<IndexActionsProps>;
|
10
|
+
export default IndexActions;
|
11
|
+
//# sourceMappingURL=search-index-actions.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search-index-actions.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/search-index-actions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AASpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,WAAW,CAAC;IACnB,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAmBF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAsD5D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { SearchIndex } from 'mongodb-data-service';
|
3
|
+
import type { SearchSortColumn } from '../../modules/search-indexes';
|
4
|
+
import type { SearchIndexesStatus } from '../../modules/search-indexes';
|
5
|
+
import type { SortDirection } from '../../modules';
|
6
|
+
type SearchIndexesTableProps = {
|
7
|
+
indexes: SearchIndex[];
|
8
|
+
isWritable?: boolean;
|
9
|
+
readOnly?: boolean;
|
10
|
+
onSortTable: (column: SearchSortColumn, direction: SortDirection) => void;
|
11
|
+
onDropIndex: (name: string) => void;
|
12
|
+
onEditIndex: (name: string) => void;
|
13
|
+
onRunAggregateIndex: (name: string) => void;
|
14
|
+
openCreateModal: () => void;
|
15
|
+
onPollIndexes: () => void;
|
16
|
+
status: SearchIndexesStatus;
|
17
|
+
};
|
18
|
+
export declare const SearchIndexesTable: React.FunctionComponent<SearchIndexesTableProps>;
|
19
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: Omit<SearchIndexesTableProps & {
|
20
|
+
children?: React.ReactNode;
|
21
|
+
}, "readOnly"> & Partial<Pick<SearchIndexesTableProps & {
|
22
|
+
children?: React.ReactNode;
|
23
|
+
}, "readOnly">>) => React.ReactElement<{}, string | React.JSXElementConstructor<any>>, {
|
24
|
+
children?: React.ReactNode;
|
25
|
+
readOnly?: boolean | undefined;
|
26
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
27
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
28
|
+
}>;
|
29
|
+
export default _default;
|
30
|
+
//# sourceMappingURL=search-indexes-table.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search-indexes-table.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/search-indexes-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,WAAW,EAAqB,MAAM,sBAAsB,CAAC;AAa3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AASrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,eAAe,CAAC;AAQ9D,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,MAAM,EAAE,gBAAgB,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1E,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,mBAAmB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAmHF,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CACtD,uBAAuB,CAkFxB,CAAC;;;;;;;;;;;AAiBF,wBAG4D"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zero-graphic.d.ts","sourceRoot":"","sources":["../../../../src/components/search-indexes-table/zero-graphic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,iBA8BxB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAgBzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAoBX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAI3B,CAAC;AA2CF,eAAO,MAAM,WAAW,mBACE,QAAQ,YAAY,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAatC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAgBzD,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAoBX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC;AAEF,eAAe,OAAO,CAAC;AAEvB,eAAO,MAAM,qBAAqB,mBACd,QAAQ,SAI3B,CAAC;AA2CF,eAAO,MAAM,WAAW,mBACE,QAAQ,YAAY,MAAM,SAAS,kBAiK5D,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/options.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/modules/create-index/options.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAIrC,eAAO,MAAM,qCAAqC,EAAE,WAAW,EAG9D,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEV,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,OAAO,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG;KAC3B,CAAC,IAAI,WAAW,GAAG,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAAG,CAAC,GAAG,KAAK;CAC7E,CAAC,WAAW,CAAC,CAAC;AAEf,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;AAEjE,KAAK,KAAK,GAAG;KACV,CAAC,IAAI,WAAW,GAAG;QAClB,OAAO,EAAE,OAAO,CAAC;KAClB,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAC7C;QAAE,KAAK,EAAE,OAAO,CAAA;KAAE,GAClB;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CACvB,CAAC;AAEF,KAAK,cAAc,CAAC,CAAC,SAAS,WAAW,IACvC,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAElE,aAAK,OAAO;IACV,YAAY,+CAA+C;IAC3D,mBAAmB,uDAAuD;CAC3E;AAED,KAAK,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IAC7D,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC;IACR,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEF,wBAAgB,YAAY,CAAC,CAAC,SAAS,WAAW,EAChD,UAAU,EAAE,CAAC,EACb,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,GAC1B,kBAAkB,CAAC,CAAC,CAAC,CAEvB;AAED,KAAK,yBAAyB,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACpE,IAAI,EAAE,OAAO,CAAC,mBAAmB,CAAC;IAClC,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,WAAW,EACvD,UAAU,EAAE,CAAC,EACb,OAAO,EAAE,OAAO,GACf,yBAAyB,CAAC,CAAC,CAAC,CAE9B;AAED,eAAO,MAAM,aAAa,OAOhB,CAAC;AAEX,QAAA,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,CA+B3B,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgCjD,QAAA,MAAM,OAAO;;;;;;;;;gCASX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAUnD,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS;;;;;;;;;EAYvD,CAAC;AAEF,eAAe,WAAW,CAAC;AAQ3B,eAAO,MAAM,SAAS,cAAe,MAAM,gBACjB,QAAQ,YAAY,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/drop-index/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAgCjD,QAAA,MAAM,OAAO;;;;;;;;;gCASX,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAUnD,QAAA,MAAM,WAAW,UAAW,SAAS,UAAU,SAAS;;;;;;;;;EAYvD,CAAC;AAEF,eAAe,WAAW,CAAC;AAQ3B,eAAO,MAAM,SAAS,cAAe,MAAM,gBACjB,QAAQ,YAAY,MAAM,SAAS,kBAoB5D,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export declare enum ActionTypes {
|
3
|
+
SetFields = "indexes/SetFields"
|
4
|
+
}
|
5
|
+
export type Field = {
|
6
|
+
name: string;
|
7
|
+
description: string;
|
8
|
+
};
|
9
|
+
type SetFieldsAction = {
|
10
|
+
type: ActionTypes.SetFields;
|
11
|
+
fields: Field[];
|
12
|
+
};
|
13
|
+
type State = Field[];
|
14
|
+
export declare const INITIAL_STATE: State;
|
15
|
+
export default function reducer(state: State | undefined, action: AnyAction): State;
|
16
|
+
export declare const setFields: (fields: Field[]) => SetFieldsAction;
|
17
|
+
export {};
|
18
|
+
//# sourceMappingURL=fields.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/modules/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,oBAAY,WAAW;IACrB,SAAS,sBAAsB;CAChC;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC;IAC5B,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG,KAAK,EAAE,CAAC;AAErB,eAAO,MAAM,aAAa,EAAE,KAAU,CAAC;AAEvC,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,mBAAgB,EAAE,MAAM,EAAE,SAAS,SAKvE;AAED,eAAO,MAAM,SAAS,WAAY,KAAK,EAAE,KAAG,eAG1C,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { AnyAction } from 'redux';
|
2
|
+
export type IndexView = 'regular-indexes' | 'search-indexes';
|
3
|
+
export declare enum ActionTypes {
|
4
|
+
ChangeIndexView = "index-list/ChangeIndexView"
|
5
|
+
}
|
6
|
+
type ChangeIndexViewAction = {
|
7
|
+
type: ActionTypes.ChangeIndexView;
|
8
|
+
view: IndexView;
|
9
|
+
};
|
10
|
+
export declare const INITIAL_STATE: IndexView;
|
11
|
+
export default function reducer(state: IndexView | undefined, action: AnyAction): IndexView;
|
12
|
+
export declare const changeIndexView: (view: IndexView) => ChangeIndexViewAction;
|
13
|
+
export declare const switchToRegularIndexes: () => ChangeIndexViewAction;
|
14
|
+
export declare const switchToSearchIndexes: () => ChangeIndexViewAction;
|
15
|
+
export {};
|
16
|
+
//# sourceMappingURL=index-view.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-view.d.ts","sourceRoot":"","sources":["../../../src/modules/index-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,SAAS,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE7D,oBAAY,WAAW;IACrB,eAAe,+BAA+B;CAC/C;AAED,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC,eAAe,CAAC;IAClC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAA6B,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,KAAK,uBAAgB,EAAE,MAAM,EAAE,SAAS,aAMvE;AAED,eAAO,MAAM,eAAe,SAAU,SAAS,KAAG,qBAGhD,CAAC;AAEH,eAAO,MAAM,sBAAsB,6BAA2C,CAAC;AAC/E,eAAO,MAAM,qBAAqB,6BAA0C,CAAC"}
|
@@ -1,18 +1,31 @@
|
|
1
1
|
import type { Action, AnyAction } from 'redux';
|
2
|
+
import type AppRegistry from 'hadron-app-registry';
|
2
3
|
import type { ThunkAction, ThunkDispatch } from 'redux-thunk';
|
3
4
|
declare const reducer: import("redux").Reducer<import("redux").CombinedState<{
|
4
5
|
isWritable: boolean;
|
5
6
|
isReadonlyView: boolean;
|
7
|
+
indexView: import("./index-view").IndexView;
|
6
8
|
description: any;
|
7
|
-
appRegistry: unknown;
|
8
9
|
dataService: import("../stores/store").IndexesDataService | null;
|
9
10
|
serverVersion: string;
|
10
11
|
namespace: string;
|
11
12
|
regularIndexes: import("./regular-indexes").State;
|
12
13
|
searchIndexes: import("./search-indexes").State;
|
13
|
-
|
14
|
+
fields: import("./fields").Field[];
|
15
|
+
}>, AnyAction | {
|
16
|
+
type: import("./data-service").ActionTypes;
|
17
|
+
dataService: import("../stores/store").IndexesDataService;
|
18
|
+
} | {
|
19
|
+
type: string;
|
20
|
+
version: string;
|
21
|
+
}>;
|
22
|
+
export type SortDirection = 'asc' | 'desc';
|
14
23
|
export type RootState = ReturnType<typeof reducer>;
|
15
|
-
export type
|
16
|
-
|
24
|
+
export type IndexesExtraArgs = {
|
25
|
+
globalAppRegistry?: AppRegistry;
|
26
|
+
localAppRegistry?: AppRegistry;
|
27
|
+
};
|
28
|
+
export type IndexesThunkDispatch<A extends AnyAction> = ThunkDispatch<RootState, IndexesExtraArgs, A>;
|
29
|
+
export type IndexesThunkAction<R, A extends Action = AnyAction> = ThunkAction<R, RootState, IndexesExtraArgs, A>;
|
17
30
|
export default reducer;
|
18
31
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AAWnD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE9D,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;EAWX,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AACnD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAChC,gBAAgB,CAAC,EAAE,WAAW,CAAC;CAChC,CAAC;AACF,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,SAAS,IAAI,aAAa,CACnE,SAAS,EACT,gBAAgB,EAChB,CAAC,CACF,CAAC;AACF,MAAM,MAAM,kBAAkB,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,GAAG,SAAS,IAAI,WAAW,CAC3E,CAAC,EACD,SAAS,EACT,gBAAgB,EAChB,CAAC,CACF,CAAC;AAEF,eAAe,OAAO,CAAC"}
|