react-semaphor 0.0.688 → 0.0.690
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/chunks/dashboard-plus-BS6U2aw8.js +315 -0
- package/dist/chunks/{dashboard-plus-szKmVTpB.js → dashboard-plus-CbCN1k1x.js} +13599 -14325
- package/dist/chunks/{index-BRk9PMc7.js → index--nYl92ic.js} +14723 -14758
- package/dist/chunks/{index-BtBIrWSP.js → index-W0Unjlcm.js} +135 -135
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.js +185 -80
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/main.d.ts +17 -21
- package/package.json +1 -1
- package/dist/chunks/dashboard-plus-BxKFGvfL.js +0 -340
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-BS6U2aw8.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
package/dist/types/main.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { MetricField as MetricField_2 } from '../types/explorer-types';
|
|
|
18
18
|
import { PaginationMetadata as PaginationMetadata_2 } from '../types/explorer-types';
|
|
19
19
|
import { PivotByField as PivotByField_2 } from '../types/explorer-types';
|
|
20
20
|
import { QueryObserverResult } from '@tanstack/query-core';
|
|
21
|
+
import * as React_2 from 'react';
|
|
21
22
|
import { RefetchOptions } from '@tanstack/query-core';
|
|
22
23
|
import { StoreApi } from 'zustand';
|
|
23
24
|
import { TBaseQuery as TBaseQuery_2 } from '..';
|
|
@@ -454,6 +455,22 @@ declare type ColumnSettingsMap = Record<string, ColumnSettings>;
|
|
|
454
455
|
|
|
455
456
|
export declare type ColumnType = 'string' | 'number' | 'date';
|
|
456
457
|
|
|
458
|
+
export declare function Combobox({ name, items, value, onChange, isLoading, isError, refetch, className, icon, showNone, }: {
|
|
459
|
+
icon?: React_2.ReactNode;
|
|
460
|
+
name?: string;
|
|
461
|
+
items: {
|
|
462
|
+
id: string;
|
|
463
|
+
name: string;
|
|
464
|
+
}[];
|
|
465
|
+
value: string;
|
|
466
|
+
onChange: (value: string) => void;
|
|
467
|
+
isLoading: boolean;
|
|
468
|
+
isError: boolean;
|
|
469
|
+
refetch: () => void;
|
|
470
|
+
className?: string;
|
|
471
|
+
showNone?: boolean;
|
|
472
|
+
}): JSX_2.Element;
|
|
473
|
+
|
|
457
474
|
declare type ComboBoxOption = {
|
|
458
475
|
id: number | string;
|
|
459
476
|
value: string;
|
|
@@ -1316,31 +1333,10 @@ export declare function ScheduleDashboard({ triggerButtonClassName, }: {
|
|
|
1316
1333
|
|
|
1317
1334
|
export declare type SchemaItem = DropdownItem;
|
|
1318
1335
|
|
|
1319
|
-
export declare function SelectComponent({ title, items, value, isLoading, isError, refetch, onChange, showNone, className, disabled, type, }: SelectProps): JSX_2.Element;
|
|
1320
|
-
|
|
1321
1336
|
export declare type SelectedEntities = DatabaseEntityReference[] | DataModelEntityReference[] | FileEntityReference[];
|
|
1322
1337
|
|
|
1323
1338
|
export declare type SelectionState = Record<Level, string | null>;
|
|
1324
1339
|
|
|
1325
|
-
declare type SelectProps = {
|
|
1326
|
-
title: string;
|
|
1327
|
-
items: {
|
|
1328
|
-
id: string;
|
|
1329
|
-
name: string;
|
|
1330
|
-
}[];
|
|
1331
|
-
value: string;
|
|
1332
|
-
isLoading: boolean;
|
|
1333
|
-
isError: boolean;
|
|
1334
|
-
refetch: () => void;
|
|
1335
|
-
onChange?: (value: string) => void;
|
|
1336
|
-
showNone?: boolean;
|
|
1337
|
-
className?: string;
|
|
1338
|
-
showIcon?: boolean;
|
|
1339
|
-
connectionTooltip?: string;
|
|
1340
|
-
disabled?: boolean;
|
|
1341
|
-
type?: 'select' | 'combobox';
|
|
1342
|
-
};
|
|
1343
|
-
|
|
1344
1340
|
export declare const SemaphorContextProvider: ({ children, dashboardProps, }: {
|
|
1345
1341
|
children: React.ReactNode;
|
|
1346
1342
|
dashboardProps: DashboardProps;
|