@vizzly/dashboard 0.12.3-dev-5fa5e663076a76ac1343d30711a4d5600a4b0968 → 0.12.3
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/index.js +1 -1
- package/dist/shared-logic/src/Component/sharedSchemas.d.ts +1 -1
- package/dist/shared-logic/src/Component/types.d.ts +2 -1
- package/dist/shared-ui/src/base/Dropdown/Dropdown.types.d.ts +0 -4
- package/dist/shared-ui/src/base/Icons/SVGs.d.ts +0 -1
- package/dist/shared-ui/src/base/Icons.d.ts +0 -1
- package/dist/shared-ui/src/base/MultiSelect.d.ts +0 -3
- package/dist/shared-ui/src/types.d.ts +0 -2
- package/package.json +1 -1
- package/dist/shared-logic/src/Tags/index.d.ts +0 -14
- package/dist/shared-ui/src/components/Tags/TagsModal.d.ts +0 -14
- package/dist/shared-ui/src/components/Tags/tag.funcs.d.ts +0 -3
- /package/dist/shared-logic/src/{Tags → Component}/tags.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import { SupportedAggregates } from '../Aggregate';
|
|
|
3
3
|
import { QueryEngineConfig } from '../QueryEngineConfig/types';
|
|
4
4
|
import { SupportedTimeTruncFunctions } from '../TimeDimension/types';
|
|
5
5
|
import { ComponentInterfaceConfig } from '../ComponentInterface/types';
|
|
6
|
-
export * from '
|
|
6
|
+
export * from './tags';
|
|
7
7
|
export declare const measureSchema: (supportedAggregates: SupportedAggregates, attributeSchemaOptions: ComponentInterfaceConfig['attributesSchemaOptions']) => Joi.AlternativesSchema<any> | Joi.ObjectSchema<any>;
|
|
8
8
|
export declare const orderSchema: (queryEngineConfig: QueryEngineConfig) => Joi.ObjectSchema<any>;
|
|
9
9
|
export declare const timeDimensionSchema: (supportedTimeTruncFunctions: SupportedTimeTruncFunctions) => Joi.ObjectSchema<any>;
|
|
@@ -9,10 +9,6 @@ export declare type DropdownContainerProps = {
|
|
|
9
9
|
minWidth?: number;
|
|
10
10
|
onFreeTextSelected?: () => void;
|
|
11
11
|
textOverride?: TextOverride;
|
|
12
|
-
freeTextOptions?: FreeTextOptions;
|
|
13
|
-
};
|
|
14
|
-
export declare type FreeTextOptions = {
|
|
15
|
-
label?: string;
|
|
16
12
|
};
|
|
17
13
|
export declare type DropdownOptionProps = {
|
|
18
14
|
onChange: (evt?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
@@ -17,7 +17,6 @@ export declare const Edit: renderSvg<{}>;
|
|
|
17
17
|
export declare const Locked: renderSvg<{}>;
|
|
18
18
|
export declare const Download: renderSvg<{}>;
|
|
19
19
|
export declare const ComponentOptionsMenu: renderSvg<{}>;
|
|
20
|
-
export declare const Tag: renderSvg<{}>;
|
|
21
20
|
export declare const Merge: renderSvg<{}>;
|
|
22
21
|
export declare const Split: renderSvg<{}>;
|
|
23
22
|
export declare const InsertRowAbove: renderSvg<{}>;
|
|
@@ -52,4 +52,3 @@ export declare const ThumbsDownUnselected: VizzlyComponents.ComponentOverrides.r
|
|
|
52
52
|
export declare const ThumbsDownSelected: VizzlyComponents.ComponentOverrides.renderThumbsDownSelectedIcon;
|
|
53
53
|
export declare const Select: VizzlyComponents.ComponentOverrides.renderSelectIcon;
|
|
54
54
|
export declare const BackButtonArrow: VizzlyComponents.ComponentOverrides.renderBackButtonArrowIcon;
|
|
55
|
-
export declare const Tag: VizzlyComponents.ComponentOverrides.renderTagIcon;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
2
|
import { TextOverride } from '../../../shared-logic/src/Translations/types';
|
|
3
|
-
import { FreeTextOptions } from './Dropdown/Dropdown.types';
|
|
4
3
|
export declare type MultiSelectOptions = {
|
|
5
4
|
hide?: boolean;
|
|
6
5
|
value: any;
|
|
@@ -22,8 +21,6 @@ export declare const MultiSelect: FunctionComponent<{
|
|
|
22
21
|
textOverride?: TextOverride;
|
|
23
22
|
labelWidth?: number;
|
|
24
23
|
dropdownForFilter?: boolean;
|
|
25
|
-
onFreeTextSelected?: (() => void) | undefined;
|
|
26
|
-
freeTextOptions?: FreeTextOptions;
|
|
27
24
|
}>;
|
|
28
25
|
export declare function getSelectedIndices<T extends {
|
|
29
26
|
value: string;
|
|
@@ -171,7 +171,6 @@ export declare namespace VizzlyComponents {
|
|
|
171
171
|
fill?: CSSProperties['fill'];
|
|
172
172
|
}) => JSX.Element;
|
|
173
173
|
type renderCloseIcon = (props: {}) => JSX.Element;
|
|
174
|
-
type renderTagIcon = (props: {}) => JSX.Element;
|
|
175
174
|
type renderEditIcon = (props: {}) => JSX.Element;
|
|
176
175
|
type renderDownloadIcon = (props: {}) => JSX.Element;
|
|
177
176
|
type renderComponentOptionsMenuIcon = (props: {}) => JSX.Element;
|
|
@@ -269,7 +268,6 @@ export declare namespace VizzlyComponents {
|
|
|
269
268
|
* @deprecated This property is being deprecated.
|
|
270
269
|
*/
|
|
271
270
|
renderPlusIcon?: ComponentOverrides.renderPlusIcon | null;
|
|
272
|
-
renderTagIcon: ComponentOverrides.renderTagIcon | null;
|
|
273
271
|
renderCloseIcon: ComponentOverrides.renderCloseIcon | null;
|
|
274
272
|
renderFilterIcon: ComponentOverrides.renderFilterIcon | null;
|
|
275
273
|
renderReportIcon: ComponentOverrides.renderReportIcon | null;
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Component } from '../Component/types';
|
|
2
|
-
import { Dashboard } from '../Dashboard';
|
|
3
|
-
/**
|
|
4
|
-
* Extracts and returns a unique list of all tags used by components in the given dashboard.
|
|
5
|
-
*
|
|
6
|
-
* This function iterates over the components in the dashboard's component library,
|
|
7
|
-
* collects all the tags from each component, and returns a list of unique tags.
|
|
8
|
-
* This can be useful for generating a list of all available features or categories
|
|
9
|
-
* represented by the components in a dashboard.
|
|
10
|
-
*
|
|
11
|
-
* @param {Dashboard} dashboard - The dashboard instance containing the component library.
|
|
12
|
-
* @returns {Component.Tag[]} An array of unique tags used by the components in the dashboard.
|
|
13
|
-
*/
|
|
14
|
-
export declare function available(dashboard: Dashboard): Component.Tag[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import { Component } from '../../../../shared-logic/src/Component/types';
|
|
3
|
-
export declare const TagsModal: FunctionComponent<{
|
|
4
|
-
component: Component;
|
|
5
|
-
show: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
setTags: (tags: Component.Tag[]) => void;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const TagsForm: FunctionComponent<{
|
|
10
|
-
component: Component;
|
|
11
|
-
show: boolean;
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
setTags: (tags: Component.Tag[]) => void;
|
|
14
|
-
}>;
|
|
File without changes
|