@perses-dev/explore 0.46.0-rc0 → 0.46.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.
@@ -74,11 +74,11 @@ function _interop_require_wildcard(obj, nodeInterop) {
74
74
  const ExplorerManagerContext = /*#__PURE__*/ (0, _react.createContext)(undefined);
75
75
  function initExplorerStates(initialState) {
76
76
  const result = [];
77
- if ((initialState === null || initialState === void 0 ? void 0 : initialState.explorer) !== undefined) {
78
- var _initialState_tab, _initialState_queries;
79
- result[initialState.explorer] = {
80
- tab: (_initialState_tab = initialState.tab) !== null && _initialState_tab !== void 0 ? _initialState_tab : 0,
81
- queries: (_initialState_queries = initialState.queries) !== null && _initialState_queries !== void 0 ? _initialState_queries : []
77
+ if ((initialState === null || initialState === void 0 ? void 0 : initialState.explorer) || (initialState === null || initialState === void 0 ? void 0 : initialState.tab) || (initialState === null || initialState === void 0 ? void 0 : initialState.queries)) {
78
+ var _initialState_explorer, _initialState_tab, _initialState_queries;
79
+ result[(_initialState_explorer = initialState === null || initialState === void 0 ? void 0 : initialState.explorer) !== null && _initialState_explorer !== void 0 ? _initialState_explorer : 0] = {
80
+ tab: (_initialState_tab = initialState === null || initialState === void 0 ? void 0 : initialState.tab) !== null && _initialState_tab !== void 0 ? _initialState_tab : 0,
81
+ queries: (_initialState_queries = initialState === null || initialState === void 0 ? void 0 : initialState.queries) !== null && _initialState_queries !== void 0 ? _initialState_queries : []
82
82
  };
83
83
  }
84
84
  return result;
@@ -28,5 +28,5 @@ _export(exports, {
28
28
  return PANEL_PREVIEW_HEIGHT;
29
29
  }
30
30
  });
31
- const PANEL_PREVIEW_HEIGHT = 300;
31
+ const PANEL_PREVIEW_HEIGHT = 700;
32
32
  const PANEL_PREVIEW_DEFAULT_WIDTH = 840;
@@ -15,11 +15,11 @@ import React, { createContext, useContext, useMemo, useState } from 'react';
15
15
  const ExplorerManagerContext = /*#__PURE__*/ createContext(undefined);
16
16
  function initExplorerStates(initialState) {
17
17
  const result = [];
18
- if ((initialState === null || initialState === void 0 ? void 0 : initialState.explorer) !== undefined) {
19
- var _initialState_tab, _initialState_queries;
20
- result[initialState.explorer] = {
21
- tab: (_initialState_tab = initialState.tab) !== null && _initialState_tab !== void 0 ? _initialState_tab : 0,
22
- queries: (_initialState_queries = initialState.queries) !== null && _initialState_queries !== void 0 ? _initialState_queries : []
18
+ if ((initialState === null || initialState === void 0 ? void 0 : initialState.explorer) || (initialState === null || initialState === void 0 ? void 0 : initialState.tab) || (initialState === null || initialState === void 0 ? void 0 : initialState.queries)) {
19
+ var _initialState_explorer, _initialState_tab, _initialState_queries;
20
+ result[(_initialState_explorer = initialState === null || initialState === void 0 ? void 0 : initialState.explorer) !== null && _initialState_explorer !== void 0 ? _initialState_explorer : 0] = {
21
+ tab: (_initialState_tab = initialState === null || initialState === void 0 ? void 0 : initialState.tab) !== null && _initialState_tab !== void 0 ? _initialState_tab : 0,
22
+ queries: (_initialState_queries = initialState === null || initialState === void 0 ? void 0 : initialState.queries) !== null && _initialState_queries !== void 0 ? _initialState_queries : []
23
23
  };
24
24
  }
25
25
  return result;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ExploreManager/ExplorerManagerProvider.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React, { createContext, ReactNode, useContext, useMemo, useState } from 'react';\nimport { QueryDefinition } from '@perses-dev/core';\n\ninterface ExplorerState {\n tab: number;\n queries: QueryDefinition[];\n}\n\ninterface ExplorerManagerContextType {\n explorer: number;\n tab: number;\n queries: QueryDefinition[];\n setExplorer: (explorer: number) => void;\n setTab: (tab: number) => void;\n setQueries: (queries: QueryDefinition[]) => void;\n}\n\ninterface ExplorerManagerInitialState {\n explorer?: number;\n tab?: number;\n queries?: QueryDefinition[];\n setExplorer: (explorer: number | undefined) => void;\n setTab: (tab: number | undefined) => void;\n setQueries: (queries: QueryDefinition[] | undefined) => void;\n}\n\nconst ExplorerManagerContext = createContext<ExplorerManagerContextType | undefined>(undefined);\n\ninterface ExplorerManagerProviderProps {\n children: ReactNode;\n initialState?: ExplorerManagerInitialState;\n}\n\nfunction initExplorerStates(initialState?: ExplorerManagerInitialState): ExplorerState[] {\n const result: ExplorerState[] = [];\n if (initialState?.explorer !== undefined) {\n result[initialState.explorer] = {\n tab: initialState.tab ?? 0,\n queries: initialState.queries ?? [],\n };\n }\n return result;\n}\n\nexport function ExplorerManagerProvider({ children, initialState }: ExplorerManagerProviderProps) {\n const [explorerStates, setExplorerStates] = useState<ExplorerState[]>(initExplorerStates(initialState));\n const [explorer, setInternalExplorer] = useState<number>(initialState?.explorer ?? 0);\n const tab: number = useMemo(() => explorerStates[explorer]?.tab ?? 0, [explorer, explorerStates]);\n const queries: QueryDefinition[] = useMemo(() => explorerStates[explorer]?.queries ?? [], [explorer, explorerStates]);\n\n function setExplorer(explorer: number) {\n setInternalExplorer(explorer);\n if (initialState?.setExplorer) {\n initialState.setExplorer(explorer);\n initialState.setTab(explorerStates[explorer]?.tab);\n initialState.setQueries(explorerStates[explorer]?.queries);\n }\n }\n\n function setTab(tab: number) {\n const state = [...explorerStates];\n state[explorer] = { tab, queries: state[explorer]?.queries ?? [] };\n setExplorerStates(state);\n if (initialState?.setTab) {\n initialState.setTab(tab);\n }\n }\n\n function setQueries(queries: QueryDefinition[]) {\n const state = [...explorerStates];\n state[explorer] = { tab: state[explorer]?.tab ?? 0, queries: queries };\n setExplorerStates(state);\n if (initialState?.setQueries) {\n initialState?.setQueries(queries);\n }\n }\n\n return (\n <ExplorerManagerContext.Provider value={{ explorer, tab, queries, setExplorer, setTab, setQueries }}>\n {children}\n </ExplorerManagerContext.Provider>\n );\n}\n\nexport function useExplorerManagerContext(): ExplorerManagerContextType {\n const ctx = useContext(ExplorerManagerContext);\n if (ctx === undefined) {\n throw new Error('No ExplorerManagerContext found. Did you forget a Provider?');\n }\n return ctx;\n}\n"],"names":["React","createContext","useContext","useMemo","useState","ExplorerManagerContext","undefined","initExplorerStates","initialState","result","explorer","tab","queries","ExplorerManagerProvider","children","explorerStates","setExplorerStates","setInternalExplorer","setExplorer","setTab","setQueries","state","Provider","value","useExplorerManagerContext","ctx","Error"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,OAAOA,SAASC,aAAa,EAAaC,UAAU,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,QAAQ;AA0BvF,MAAMC,uCAAyBJ,cAAsDK;AAOrF,SAASC,mBAAmBC,YAA0C;IACpE,MAAMC,SAA0B,EAAE;IAClC,IAAID,CAAAA,yBAAAA,mCAAAA,aAAcE,QAAQ,MAAKJ,WAAW;YAEjCE,mBACIA;QAFXC,MAAM,CAACD,aAAaE,QAAQ,CAAC,GAAG;YAC9BC,KAAKH,CAAAA,oBAAAA,aAAaG,GAAG,cAAhBH,+BAAAA,oBAAoB;YACzBI,SAASJ,CAAAA,wBAAAA,aAAaI,OAAO,cAApBJ,mCAAAA,wBAAwB,EAAE;QACrC;IACF;IACA,OAAOC;AACT;AAEA,OAAO,SAASI,wBAAwB,EAAEC,QAAQ,EAAEN,YAAY,EAAgC;IAC9F,MAAM,CAACO,gBAAgBC,kBAAkB,GAAGZ,SAA0BG,mBAAmBC;QAChCA;IAAzD,MAAM,CAACE,UAAUO,oBAAoB,GAAGb,SAAiBI,CAAAA,yBAAAA,yBAAAA,mCAAAA,aAAcE,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sCAAAA,gBAAiBV,GAAG,cAApBU,iCAAAA,sBAAwB;YAAGT,SAASA;QAAQ;QACrEI,kBAAkBK;QAClB,IAAIb,yBAAAA,mCAAAA,aAAcY,UAAU,EAAE;YAC5BZ,yBAAAA,mCAAAA,aAAcY,UAAU,CAACR;QAC3B;IACF;IAEA,qBACE,KAACP,uBAAuBiB,QAAQ;QAACC,OAAO;YAAEb;YAAUC;YAAKC;YAASM;YAAaC;YAAQC;QAAW;kBAC/FN;;AAGP;AAEA,OAAO,SAASU;IACd,MAAMC,MAAMvB,WAAWG;IACvB,IAAIoB,QAAQnB,WAAW;QACrB,MAAM,IAAIoB,MAAM;IAClB;IACA,OAAOD;AACT"}
1
+ {"version":3,"sources":["../../../src/components/ExploreManager/ExplorerManagerProvider.tsx"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport React, { createContext, ReactNode, useContext, useMemo, useState } from 'react';\nimport { QueryDefinition } from '@perses-dev/core';\n\ninterface ExplorerState {\n tab: number;\n queries: QueryDefinition[];\n}\n\ninterface ExplorerManagerContextType {\n explorer: number;\n tab: number;\n queries: QueryDefinition[];\n setExplorer: (explorer: number) => void;\n setTab: (tab: number) => void;\n setQueries: (queries: QueryDefinition[]) => void;\n}\n\ninterface ExplorerManagerInitialState {\n explorer?: number;\n tab?: number;\n queries?: QueryDefinition[];\n setExplorer: (explorer: number | undefined) => void;\n setTab: (tab: number | undefined) => void;\n setQueries: (queries: QueryDefinition[] | undefined) => void;\n}\n\nconst ExplorerManagerContext = createContext<ExplorerManagerContextType | undefined>(undefined);\n\ninterface ExplorerManagerProviderProps {\n children: ReactNode;\n initialState?: ExplorerManagerInitialState;\n}\n\nfunction initExplorerStates(initialState?: ExplorerManagerInitialState): ExplorerState[] {\n const result: ExplorerState[] = [];\n if (initialState?.explorer || initialState?.tab || initialState?.queries) {\n result[initialState?.explorer ?? 0] = {\n tab: initialState?.tab ?? 0,\n queries: initialState?.queries ?? [],\n };\n }\n return result;\n}\n\nexport function ExplorerManagerProvider({ children, initialState }: ExplorerManagerProviderProps) {\n const [explorerStates, setExplorerStates] = useState<ExplorerState[]>(initExplorerStates(initialState));\n const [explorer, setInternalExplorer] = useState<number>(initialState?.explorer ?? 0);\n const tab: number = useMemo(() => explorerStates[explorer]?.tab ?? 0, [explorer, explorerStates]);\n const queries: QueryDefinition[] = useMemo(() => explorerStates[explorer]?.queries ?? [], [explorer, explorerStates]);\n\n function setExplorer(explorer: number) {\n setInternalExplorer(explorer);\n if (initialState?.setExplorer) {\n initialState.setExplorer(explorer);\n initialState.setTab(explorerStates[explorer]?.tab);\n initialState.setQueries(explorerStates[explorer]?.queries);\n }\n }\n\n function setTab(tab: number) {\n const state = [...explorerStates];\n state[explorer] = { tab, queries: state[explorer]?.queries ?? [] };\n setExplorerStates(state);\n if (initialState?.setTab) {\n initialState.setTab(tab);\n }\n }\n\n function setQueries(queries: QueryDefinition[]) {\n const state = [...explorerStates];\n state[explorer] = { tab: state[explorer]?.tab ?? 0, queries: queries };\n setExplorerStates(state);\n if (initialState?.setQueries) {\n initialState?.setQueries(queries);\n }\n }\n\n return (\n <ExplorerManagerContext.Provider value={{ explorer, tab, queries, setExplorer, setTab, setQueries }}>\n {children}\n </ExplorerManagerContext.Provider>\n );\n}\n\nexport function useExplorerManagerContext(): ExplorerManagerContextType {\n const ctx = useContext(ExplorerManagerContext);\n if (ctx === undefined) {\n throw new Error('No ExplorerManagerContext found. Did you forget a Provider?');\n }\n return ctx;\n}\n"],"names":["React","createContext","useContext","useMemo","useState","ExplorerManagerContext","undefined","initExplorerStates","initialState","result","explorer","tab","queries","ExplorerManagerProvider","children","explorerStates","setExplorerStates","setInternalExplorer","setExplorer","setTab","setQueries","state","Provider","value","useExplorerManagerContext","ctx","Error"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,OAAOA,SAASC,aAAa,EAAaC,UAAU,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,QAAQ;AA0BvF,MAAMC,uCAAyBJ,cAAsDK;AAOrF,SAASC,mBAAmBC,YAA0C;IACpE,MAAMC,SAA0B,EAAE;IAClC,IAAID,CAAAA,yBAAAA,mCAAAA,aAAcE,QAAQ,MAAIF,yBAAAA,mCAAAA,aAAcG,GAAG,MAAIH,yBAAAA,mCAAAA,aAAcI,OAAO,GAAE;YACjEJ,wBACAA,mBACIA;QAFXC,MAAM,CAACD,CAAAA,yBAAAA,yBAAAA,mCAAAA,aAAcE,QAAQ,cAAtBF,oCAAAA,yBAA0B,EAAE,GAAG;YACpCG,KAAKH,CAAAA,oBAAAA,yBAAAA,mCAAAA,aAAcG,GAAG,cAAjBH,+BAAAA,oBAAqB;YAC1BI,SAASJ,CAAAA,wBAAAA,yBAAAA,mCAAAA,aAAcI,OAAO,cAArBJ,mCAAAA,wBAAyB,EAAE;QACtC;IACF;IACA,OAAOC;AACT;AAEA,OAAO,SAASI,wBAAwB,EAAEC,QAAQ,EAAEN,YAAY,EAAgC;IAC9F,MAAM,CAACO,gBAAgBC,kBAAkB,GAAGZ,SAA0BG,mBAAmBC;QAChCA;IAAzD,MAAM,CAACE,UAAUO,oBAAoB,GAAGb,SAAiBI,CAAAA,yBAAAA,yBAAAA,mCAAAA,aAAcE,QAAQ,cAAtBF,oCAAAA,yBAA0B;IACnF,MAAMG,MAAcR,QAAQ;YAAMY;YAAAA;eAAAA,CAAAA,gCAA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AIb,yBAAAA,mCAAAA,aAAcY,UAAU,EAAE;YAC5BZ,yBAAAA,mCAAAA,aAAcY,UAAU,CAACR;QAC3B;IACF;IAEA,qBACE,KAACP,uBAAuBiB,QAAQ;QAACC,OAAO;YAAEb;YAAUC;YAAKC;YAASM;YAAaC;YAAQC;QAAW;kBAC/FN;;AAGP;AAEA,OAAO,SAASU;IACd,MAAMC,MAAMvB,WAAWG;IACvB,IAAIoB,QAAQnB,WAAW;QACrB,MAAM,IAAIoB,MAAM;IAClB;IACA,OAAOD;AACT"}
@@ -1,3 +1,3 @@
1
- export declare const PANEL_PREVIEW_HEIGHT = 300;
1
+ export declare const PANEL_PREVIEW_HEIGHT = 700;
2
2
  export declare const PANEL_PREVIEW_DEFAULT_WIDTH = 840;
3
3
  //# sourceMappingURL=constants.d.ts.map
@@ -10,7 +10,7 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- export const PANEL_PREVIEW_HEIGHT = 300;
13
+ export const PANEL_PREVIEW_HEIGHT = 700;
14
14
  export const PANEL_PREVIEW_DEFAULT_WIDTH = 840;
15
15
 
16
16
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/ExploreManager/constants.ts"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport const PANEL_PREVIEW_HEIGHT = 300;\nexport const PANEL_PREVIEW_DEFAULT_WIDTH = 840;\n"],"names":["PANEL_PREVIEW_HEIGHT","PANEL_PREVIEW_DEFAULT_WIDTH"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,MAAMA,uBAAuB,IAAI;AACxC,OAAO,MAAMC,8BAA8B,IAAI"}
1
+ {"version":3,"sources":["../../../src/components/ExploreManager/constants.ts"],"sourcesContent":["// Copyright 2024 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport const PANEL_PREVIEW_HEIGHT = 700;\nexport const PANEL_PREVIEW_DEFAULT_WIDTH = 840;\n"],"names":["PANEL_PREVIEW_HEIGHT","PANEL_PREVIEW_DEFAULT_WIDTH"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,MAAMA,uBAAuB,IAAI;AACxC,OAAO,MAAMC,8BAA8B,IAAI"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perses-dev/explore",
3
- "version": "0.46.0-rc0",
3
+ "version": "0.46.0",
4
4
  "description": "The explore feature in Perses",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/perses/perses/blob/main/README.md",
@@ -27,11 +27,11 @@
27
27
  "lint:fix": "eslint --fix src --ext .ts,.tsx"
28
28
  },
29
29
  "dependencies": {
30
- "@perses-dev/components": "0.46.0-rc0",
31
- "@perses-dev/core": "0.46.0-rc0",
32
- "@perses-dev/panels-plugin": "0.46.0-rc0",
33
- "@perses-dev/plugin-system": "0.46.0-rc0",
34
- "@perses-dev/dashboards": "0.46.0-rc0",
30
+ "@perses-dev/components": "0.46.0",
31
+ "@perses-dev/core": "0.46.0",
32
+ "@perses-dev/panels-plugin": "0.46.0",
33
+ "@perses-dev/plugin-system": "0.46.0",
34
+ "@perses-dev/dashboards": "0.46.0",
35
35
  "@types/react-grid-layout": "^1.3.2",
36
36
  "date-fns": "^2.28.0",
37
37
  "immer": "^9.0.15",
@@ -45,8 +45,8 @@
45
45
  "zustand": "^4.3.3"
46
46
  },
47
47
  "devDependencies": {
48
- "@perses-dev/internal-utils": "0.46.0-rc0",
49
- "@perses-dev/storybook": "0.46.0-rc0",
48
+ "@perses-dev/internal-utils": "0.46.0",
49
+ "@perses-dev/storybook": "0.46.0",
50
50
  "history": "^5.3.0",
51
51
  "intersection-observer": "^0.12.2"
52
52
  },