@allurereport/web-components 3.0.0-beta.11 → 3.0.0-beta.13

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.
Files changed (65) hide show
  1. package/dist/components/Attachment/AttachmentCode.d.ts.map +1 -1
  2. package/dist/components/Attachment/AttachmentVideo.d.ts.map +1 -1
  3. package/dist/components/Counter/index.d.ts.map +1 -1
  4. package/dist/components/Grid/Grid.d.ts +11 -0
  5. package/dist/components/Grid/Grid.d.ts.map +1 -0
  6. package/dist/components/Grid/components/GridItem/GridItem.d.ts +8 -0
  7. package/dist/components/Grid/components/GridItem/GridItem.d.ts.map +1 -0
  8. package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts +6 -0
  9. package/dist/components/Grid/components/GridItem/components/DragHandle/DragHandle.d.ts.map +1 -0
  10. package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts +6 -0
  11. package/dist/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.d.ts.map +1 -0
  12. package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts +2 -0
  13. package/dist/components/Grid/components/GridItem/components/DragHandle/components/index.d.ts.map +1 -0
  14. package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts +2 -0
  15. package/dist/components/Grid/components/GridItem/components/DragHandle/index.d.ts.map +1 -0
  16. package/dist/components/Grid/components/GridItem/components/index.d.ts +2 -0
  17. package/dist/components/Grid/components/GridItem/components/index.d.ts.map +1 -0
  18. package/dist/components/Grid/components/GridItem/index.d.ts +3 -0
  19. package/dist/components/Grid/components/GridItem/index.d.ts.map +1 -0
  20. package/dist/components/Grid/components/index.d.ts +2 -0
  21. package/dist/components/Grid/components/index.d.ts.map +1 -0
  22. package/dist/components/Grid/constants.d.ts +4 -0
  23. package/dist/components/Grid/constants.d.ts.map +1 -0
  24. package/dist/components/Grid/hooks/index.d.ts +2 -0
  25. package/dist/components/Grid/hooks/index.d.ts.map +1 -0
  26. package/dist/components/Grid/hooks/useSortable.d.ts +4 -0
  27. package/dist/components/Grid/hooks/useSortable.d.ts.map +1 -0
  28. package/dist/components/Grid/index.d.ts +5 -0
  29. package/dist/components/Grid/index.d.ts.map +1 -0
  30. package/dist/components/LanguagePicker/index.d.ts +8 -0
  31. package/dist/components/LanguagePicker/index.d.ts.map +1 -0
  32. package/dist/components/Menu/index.d.ts.map +1 -1
  33. package/dist/components/SvgIcon/index.d.ts +7 -5
  34. package/dist/components/SvgIcon/index.d.ts.map +1 -1
  35. package/dist/components/ThemeButton/index.d.ts +8 -0
  36. package/dist/components/ThemeButton/index.d.ts.map +1 -0
  37. package/dist/components/Tree/Tree.d.ts.map +1 -1
  38. package/dist/components/Tree/TreeItem.d.ts +2 -0
  39. package/dist/components/Tree/TreeItem.d.ts.map +1 -1
  40. package/dist/components/Tree/TreeItemInfo/index.d.ts +8 -0
  41. package/dist/components/Tree/TreeItemInfo/index.d.ts.map +1 -0
  42. package/dist/components/Tree/TreeItemMetaIcon/index.d.ts +5 -0
  43. package/dist/components/Tree/TreeItemMetaIcon/index.d.ts.map +1 -0
  44. package/dist/components/Tree/TreeItemRetries/index.d.ts +5 -0
  45. package/dist/components/Tree/TreeItemRetries/index.d.ts.map +1 -0
  46. package/dist/components/TrendChart/TrendChart.d.ts +4 -0
  47. package/dist/components/TrendChart/TrendChart.d.ts.map +1 -0
  48. package/dist/components/TrendChart/config.d.ts +13 -0
  49. package/dist/components/TrendChart/config.d.ts.map +1 -0
  50. package/dist/components/TrendChart/constants.d.ts +2 -0
  51. package/dist/components/TrendChart/constants.d.ts.map +1 -0
  52. package/dist/components/TrendChart/index.d.ts +4 -24
  53. package/dist/components/TrendChart/index.d.ts.map +1 -1
  54. package/dist/components/TrendChart/theme.d.ts +32 -0
  55. package/dist/components/TrendChart/theme.d.ts.map +1 -0
  56. package/dist/components/TrendChart/types.d.ts +53 -0
  57. package/dist/components/TrendChart/types.d.ts.map +1 -0
  58. package/dist/components/TrendChart/utils.d.ts +7 -0
  59. package/dist/components/TrendChart/utils.d.ts.map +1 -0
  60. package/dist/index.css +1 -1
  61. package/dist/index.d.ts +97 -19
  62. package/dist/index.d.ts.map +1 -1
  63. package/dist/index.js +10 -4
  64. package/dist/index.js.map +1 -1
  65. package/package.json +8 -4
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentCode.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentCode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAGlD,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC;IAC/C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,UAAU,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B,CAUA,CAAC"}
1
+ {"version":3,"file":"AttachmentCode.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentCode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAGlD,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC;IAC/C,IAAI,EAAE,wBAAwB,CAAC;IAC/B,UAAU,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/B,CAcA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AttachmentVideo.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAGlD,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC;IAChD,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD,CASA,CAAC"}
1
+ {"version":3,"file":"AttachmentVideo.d.ts","sourceRoot":"","sources":["../../../src/components/Attachment/AttachmentVideo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAIlD,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC;IAChD,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD,CASA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,KAAK,iCAgBnC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,KAAK,KAAK,GAAG;IACX,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,KAAK,iCAiBnC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { FunctionComponent } from "preact";
2
+ import type { HTMLAttributes } from "preact/compat";
3
+ import type { Options } from "sortablejs";
4
+ export type GridKind = "default" | "swap";
5
+ export interface GridProps extends HTMLAttributes<HTMLDivElement> {
6
+ options?: Options;
7
+ kind?: GridKind;
8
+ className?: string;
9
+ }
10
+ export declare const Grid: FunctionComponent<GridProps>;
11
+ //# sourceMappingURL=Grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAI1C,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAI/D,OAAO,CAAC,EAAE,OAAO,CAAC;IAKlB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAKhB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD,eAAO,MAAM,IAAI,EAAE,iBAAiB,CAAC,SAAS,CA2B7C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { FunctionComponent } from "preact";
2
+ import type { HTMLAttributes } from "preact/compat";
3
+ export interface GridItemProps extends HTMLAttributes<HTMLDivElement> {
4
+ className?: string;
5
+ dndEnabled?: boolean;
6
+ }
7
+ export declare const GridItem: FunctionComponent<GridItemProps>;
8
+ //# sourceMappingURL=GridItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Grid/components/GridItem/GridItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAKpD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IAInE,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AASD,eAAO,MAAM,QAAQ,EAAE,iBAAiB,CAAC,aAAa,CAarD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { FunctionComponent } from "preact";
2
+ export interface DragHandleProps {
3
+ className?: string;
4
+ }
5
+ export declare const DragHandle: FunctionComponent<DragHandleProps>;
6
+ //# sourceMappingURL=DragHandle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragHandle.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Grid/components/GridItem/components/DragHandle/DragHandle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAKhD,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,iBAAiB,CAAC,eAAe,CAMzD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { FunctionComponent } from "preact";
2
+ export interface DragHandleIconProps {
3
+ className?: string;
4
+ }
5
+ export declare const DragHandleIcon: FunctionComponent<DragHandleIconProps>;
6
+ //# sourceMappingURL=DragHandleIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragHandleIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Grid/components/GridItem/components/DragHandle/components/DragHandleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAGhD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAEjE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./DragHandleIcon";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Grid/components/GridItem/components/DragHandle/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./DragHandle";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Grid/components/GridItem/components/DragHandle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./DragHandle";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Grid/components/GridItem/components/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { GridItem } from "./GridItem";
2
+ export type { GridItemProps } from "./GridItem";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Grid/components/GridItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./GridItem";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Grid/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const DEFAULT_ANIMATION_DURATION = 150;
2
+ export declare const DEFAULT_HANDLE_CLASSNAME = "dnd-drag-handle";
3
+ export declare const DEFAULT_DRAG_ENABLED_CLASSNAME = "dnd-drag-enabled";
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,wBAAwB,oBAAoB,CAAC;AAC1D,eAAO,MAAM,8BAA8B,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./useSortable";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Grid/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { RefObject } from "preact";
2
+ import type { Options } from "sortablejs";
3
+ export declare const useSortable: (ref: RefObject<HTMLElement>, options?: Options) => void;
4
+ //# sourceMappingURL=useSortable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortable.d.ts","sourceRoot":"","sources":["../../../../src/components/Grid/hooks/useSortable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAa1C,eAAO,MAAM,WAAW,QAAS,SAAS,CAAC,WAAW,CAAC,YAAY,OAAO,KAAG,IAe5E,CAAC"}
@@ -0,0 +1,5 @@
1
+ export { Grid } from "./Grid";
2
+ export type { GridProps } from "./Grid";
3
+ export { GridItem } from "./components/GridItem";
4
+ export type { GridItemProps } from "./components/GridItem";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type LangLocale } from "@allurereport/web-commons";
2
+ export interface LanguagePickerProps {
3
+ locale: LangLocale;
4
+ setLocale: (locale: LangLocale) => void;
5
+ availableLocales?: LangLocale[];
6
+ }
7
+ export declare const LanguagePicker: ({ locale, setLocale, availableLocales }: LanguagePickerProps) => import("preact").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LanguagePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIzE,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,UAAU,CAAC;IACnB,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,cAAc,4CAA6C,mBAAmB,iCAiC1F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAiB,MAAM,QAAQ,CAAC;AAO3E,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC;AAIF,eAAO,MAAM,cAAc,oBAQ1B,CAAC;AAEF,eAAO,MAAM,IAAI;YAAW;QAC1B,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;QAC9B,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;QAC1C,WAAW,EAAE,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,MAAM,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;SAAE,KAAK,KAAK,CAAC;QACpH,kBAAkB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;KACrC;mBA2GsB;QAAE,QAAQ,EAAE,iBAAiB,CAAA;KAAE;gBAclC,SAAS;6BAsCpB,SAAS,GAAG;QACjB,SAAS,EAAE,OAAO,CAAC;KACpB;CAxDF,CAAC;AAMF,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAiB,MAAM,QAAQ,CAAC;AAO3E,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC;AAIF,eAAO,MAAM,cAAc,oBAQ1B,CAAC;AAEF,eAAO,MAAM,IAAI;YAAW;QAC1B,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;QAC9B,SAAS,CAAC,EAAE,cAAc,GAAG,YAAY,CAAC;QAC1C,WAAW,EAAE,CAAC,KAAK,EAAE;YAAE,OAAO,EAAE,MAAM,IAAI,CAAC;YAAC,QAAQ,EAAE,OAAO,CAAC;YAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;SAAE,KAAK,KAAK,CAAC;QACpH,kBAAkB,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;KACrC;mBA2GsB;QAAE,QAAQ,EAAE,iBAAiB,CAAA;KAAE;gBAoBlC,SAAS;6BAsCpB,SAAS,GAAG;QACjB,SAAS,EAAE,OAAO,CAAC;KACpB;CA9DF,CAAC;AAYF,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC"}
@@ -3,6 +3,7 @@ export declare const allureIcons: {
3
3
  arrowsChevronDown: string;
4
4
  environment: string;
5
5
  github: string;
6
+ draggable: string;
6
7
  lineAlertsAlertCircle: string;
7
8
  lineAlertsNotificationBox: string;
8
9
  lineArrowsChevronDown: string;
@@ -62,10 +63,11 @@ export declare const allureIcons: {
62
63
  viewOff: string;
63
64
  };
64
65
  export type SvgIconProps = Omit<JSX.HTMLAttributes<SVGElement>, "className" | "id" | "size" | "inline"> & {
65
- size?: "xs" | "s" | "m";
66
- className?: string;
67
- id: string;
68
- inline?: boolean;
66
+ "size"?: "xs" | "s" | "m";
67
+ "className"?: string;
68
+ "id": string;
69
+ "inline"?: boolean;
70
+ "data-testid"?: string;
69
71
  };
70
- export declare const SvgIcon: ({ id, size, inline, className }: SvgIconProps) => JSX.Element;
72
+ export declare const SvgIcon: ({ id, size, inline, className, "data-testid": dataTestId, }: SvgIconProps) => JSX.Element;
71
73
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SvgIcon/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AA+DlC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC,GAAG;IAQxG,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IAIxB,SAAS,CAAC,EAAE,MAAM,CAAC;IASnB,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,eAAO,MAAM,OAAO,oCAAwD,YAAY,gBAMvF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SvgIcon/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAgElC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DvB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC,GAAG;IAQxG,MAAM,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IAI1B,WAAW,CAAC,EAAE,MAAM,CAAC;IASrB,IAAI,EAAE,MAAM,CAAC;IAIb,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAOF,eAAO,MAAM,OAAO,gEAMjB,YAAY,gBASd,CAAC"}
@@ -0,0 +1,8 @@
1
+ export type Theme = "light" | "dark";
2
+ export interface ThemeButtonProps {
3
+ theme: Theme;
4
+ getTheme: () => void;
5
+ toggleTheme: () => void;
6
+ }
7
+ export declare const ThemeButton: ({ theme, toggleTheme, getTheme }: ThemeButtonProps) => import("preact").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeButton/index.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAErC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,WAAW,qCAAsC,gBAAgB,iCAa7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAMlD,UAAU,SAAS;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,IAAI,EAAE,mBAAmB,CAAC,SAAS,CA8E/C,CAAC"}
1
+ {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAExD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAMlD,UAAU,SAAS;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,IAAI,EAAE,mBAAmB,CAAC,SAAS,CAgF/C,CAAC"}
@@ -4,6 +4,8 @@ interface TreeItemProps {
4
4
  name: string;
5
5
  status: TestStatus;
6
6
  duration?: number;
7
+ retriesCount?: number;
8
+ flaky?: boolean;
7
9
  id: string;
8
10
  groupOrder: number;
9
11
  marked?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TreeItem.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/TreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,wBAAwB,CAAC;AAEzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAKhD,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,iBAAiB,CAAC,aAAa,CA+BrD,CAAC"}
1
+ {"version":3,"file":"TreeItem.d.ts","sourceRoot":"","sources":["../../../src/components/Tree/TreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAMhD,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,iBAAiB,CAAC,aAAa,CA6BrD,CAAC"}
@@ -0,0 +1,8 @@
1
+ export interface TreeItemInfoProps {
2
+ duration?: number;
3
+ retriesCount?: number;
4
+ flaky?: boolean;
5
+ new?: boolean;
6
+ }
7
+ export declare const TreeItemInfo: ({ duration, retriesCount, flaky: flakyTest, new: newTest }: TreeItemInfoProps) => import("preact").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tree/TreeItemInfo/index.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,YAAY,+DAAgE,iBAAiB,iCAazG,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface TreeItemMetaIconProps {
2
+ type: "flaky" | "new";
3
+ }
4
+ export declare const TreeItemMetaIcon: ({ type }: TreeItemMetaIconProps) => import("preact").JSX.Element;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tree/TreeItemMetaIcon/index.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,GAAG,KAAK,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,aAAc,qBAAqB,iCAE/D,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface TreeItemRetriesProps {
2
+ retriesCount?: number;
3
+ }
4
+ export declare const TreeItemRetries: ({ retriesCount }: TreeItemRetriesProps) => import("preact").JSX.Element | null;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tree/TreeItemRetries/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,oBAAoB;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,qBAA0B,oBAAoB,wCAazE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { FunctionalComponent } from "preact";
2
+ import type { TrendChartProps } from "./types";
3
+ export declare const TrendChart: FunctionalComponent<TrendChartProps>;
4
+ //# sourceMappingURL=TrendChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrendChart.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/TrendChart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAMlD,OAAO,KAAK,EAAqD,eAAe,EAAE,MAAM,SAAS,CAAC;AAGlG,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAwG3D,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { AxisProps } from "@nivo/axes";
2
+ import type { Margin } from "@nivo/core";
3
+ import type { LegendProps } from "@nivo/legends";
4
+ import type { LineSvgProps } from "@nivo/line";
5
+ import type { ScaleSpec } from "@nivo/scales";
6
+ export declare const defaultTrendChartLegendConfig: LegendProps;
7
+ export declare const defaultTrendChartAxisBottomConfig: AxisProps;
8
+ export declare const defaultTrendChartAxisLeftConfig: AxisProps;
9
+ export declare const defaultTrendChartMarginConfig: Margin;
10
+ export declare const defaultTrendChartXScaleConfig: ScaleSpec;
11
+ export declare const defaultTrendChartYScaleConfig: ScaleSpec;
12
+ export declare const defaultTrendChartConfig: Partial<LineSvgProps>;
13
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,6BAA6B,EAAE,WAuB3C,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,SAK/C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,SAI7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,MAAsD,CAAC;AAEnG,eAAO,MAAM,6BAA6B,EAAE,SAA6B,CAAC;AAE1E,eAAO,MAAM,6BAA6B,EAAE,SAAwE,CAAC;AAErH,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,YAAY,CAUzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const SYMLOG_SCALE_CONSTANT = 64;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,KAAK,CAAC"}
@@ -1,25 +1,5 @@
1
- import type { AxisProps } from "@nivo/axes";
2
- import type { LegendProps } from "@nivo/legends";
3
- import type { LineSvgProps } from "@nivo/line";
4
- import type { FunctionalComponent } from "preact";
5
- import type { CSSProperties } from "preact/compat";
6
- export interface TrendChartDataItem {
7
- x: string | number | Date;
8
- y: number;
9
- }
10
- export interface TrendChartData {
11
- id: string;
12
- data: TrendChartDataItem[];
13
- }
14
- export interface TrendChartProps extends Partial<LineSvgProps> {
15
- data: TrendChartData[];
16
- rootArialLabel: string;
17
- width?: CSSProperties["width"];
18
- height?: CSSProperties["height"];
19
- }
20
- export declare const defaultTrendChartLegendConfig: LegendProps;
21
- export declare const defaultAxisBottomConfig: AxisProps;
22
- export declare const defaultAxisLeftConfig: AxisProps;
23
- export declare const defaultTrendChartConfig: Partial<LineSvgProps>;
24
- export declare const TrendChart: FunctionalComponent<TrendChartProps>;
1
+ export * from "./TrendChart";
2
+ export * from "./types";
3
+ export * from "./config";
4
+ export { makeSymlogScale, makeSymlogScaleBySeries } from "./utils";
25
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1B,CAAC,EAAE,MAAM,CAAC;CACX;AAGD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,kBAAkB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,eAAgB,SAAQ,OAAO,CAAC,YAAY,CAAC;IAC5D,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;CAClC;AAED,eAAO,MAAM,6BAA6B,EAAE,WAuB3C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,SAIrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,SAInC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,YAAY,CAUzD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,mBAAmB,CAAC,eAAe,CAa3D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,32 @@
1
+ export declare const nivoTheme: {
2
+ background: string;
3
+ axis: {
4
+ ticks: {
5
+ text: {
6
+ fill: string;
7
+ };
8
+ };
9
+ legend: {
10
+ text: {
11
+ fill: string;
12
+ };
13
+ };
14
+ grid: {
15
+ line: {
16
+ stroke: string;
17
+ };
18
+ };
19
+ };
20
+ legends: {
21
+ text: {
22
+ fill: string;
23
+ };
24
+ };
25
+ tooltip: {
26
+ container: {
27
+ background: string;
28
+ color: string;
29
+ };
30
+ };
31
+ };
32
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/theme.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCrB,CAAC"}
@@ -0,0 +1,53 @@
1
+ import type { AxisProps } from "@nivo/axes";
2
+ import type { LineSvgProps, Datum as OriginalDatum, Serie as OriginalSerie, Point } from "@nivo/line";
3
+ import type { ScaleSymlogSpec } from "@nivo/scales";
4
+ import type { CSSProperties } from "preact/compat";
5
+ export type Datum = Omit<OriginalDatum, "x" | "y"> & {
6
+ x: string | number | Date;
7
+ y: number;
8
+ };
9
+ export type Serie = Omit<OriginalSerie, "id" | "data"> & {
10
+ id: string | number;
11
+ data: readonly Datum[];
12
+ };
13
+ type BaseLineSvgProps = Omit<LineSvgProps, "useMesh" | "enableSlices">;
14
+ export declare enum TrendChartKind {
15
+ Mesh = "Mesh",
16
+ SlicesX = "SlicesX",
17
+ SlicesY = "SlicesY"
18
+ }
19
+ export type TrendChartKindConfig = Pick<LineSvgProps, "useMesh" | "enableSlices">;
20
+ export type SymlogScaleOptions = Pick<ScaleSymlogSpec, "constant" | "reverse">;
21
+ export interface Slice {
22
+ id: string;
23
+ height: number;
24
+ width: number;
25
+ x: number;
26
+ y: number;
27
+ x0: number;
28
+ y0: number;
29
+ points: Point[];
30
+ }
31
+ export type TrendChartSliceClickHandler = (slice: Slice, event: MouseEvent) => void;
32
+ export type TrendChartSliceTouchHandler = (slice: Slice, event: TouchEvent) => void;
33
+ interface BaseTrendChartProps extends Omit<BaseLineSvgProps, "onClick" | "onTouchEnd" | "axisBottom"> {
34
+ rootAriaLabel?: string;
35
+ emptyLabel?: string;
36
+ emptyAriaLabel?: string;
37
+ width?: CSSProperties["width"];
38
+ height?: CSSProperties["height"];
39
+ axisBottom?: Omit<AxisProps, "tickValues">;
40
+ }
41
+ export interface MeshTrendChartProps extends BaseTrendChartProps {
42
+ kind: TrendChartKind.Mesh;
43
+ onClick?: (point: Point, event: MouseEvent) => void;
44
+ onTouchEnd?: (point: Point, event: TouchEvent) => void;
45
+ }
46
+ export interface SlicesTrendChartProps extends BaseTrendChartProps {
47
+ kind: TrendChartKind.SlicesX | TrendChartKind.SlicesY;
48
+ onSliceClick?: TrendChartSliceClickHandler;
49
+ onSliceTouchEnd?: TrendChartSliceTouchHandler;
50
+ }
51
+ export type TrendChartProps = MeshTrendChartProps | SlicesTrendChartProps;
52
+ export {};
53
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,IAAI,aAAa,EAAE,KAAK,IAAI,aAAa,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACtG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,GAAG,GAAG,GAAG,CAAC,GAAG;IACnD,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1B,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG;IACvD,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,EAAE,SAAS,KAAK,EAAE,CAAC;CACxB,CAAC;AAEF,KAAK,gBAAgB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,cAAc,CAAC,CAAC;AAEvE,oBAAY,cAAc;IACxB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,YAAY,EAAE,SAAS,GAAG,cAAc,CAAC,CAAC;AAElF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAE/E,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB;AAED,MAAM,MAAM,2BAA2B,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;AACpF,MAAM,MAAM,2BAA2B,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;AAEpF,UAAU,mBAAoB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,YAAY,GAAG,YAAY,CAAC;IACnG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;CAC5C;AAED,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,IAAI,EAAE,cAAc,CAAC,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACxD;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,cAAc,CAAC,OAAO,GAAG,cAAc,CAAC,OAAO,CAAC;IACtD,YAAY,CAAC,EAAE,2BAA2B,CAAC;IAC3C,eAAe,CAAC,EAAE,2BAA2B,CAAC;CAC/C;AAED,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ScaleSymlogSpec } from "@nivo/scales";
2
+ import { TrendChartKind } from "./types";
3
+ import type { Serie, SymlogScaleOptions, TrendChartKindConfig } from "./types";
4
+ export declare const getKindConfig: (kind: TrendChartKind) => TrendChartKindConfig;
5
+ export declare const makeSymlogScale: (min: number, max: number, options?: SymlogScaleOptions) => ScaleSymlogSpec;
6
+ export declare const makeSymlogScaleBySeries: (series: Serie[], options?: SymlogScaleOptions) => ScaleSymlogSpec;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/TrendChart/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/E,eAAO,MAAM,aAAa,SAAU,cAAc,KAAG,oBAUpD,CAAC;AAEF,eAAO,MAAM,eAAe,QAAS,MAAM,OAAO,MAAM,YAAY,kBAAkB,KAAG,eAUxF,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAAY,KAAK,EAAE,YAAY,kBAAkB,KAAG,eAOvF,CAAC"}