@splunk/dashboard-toolbar 29.0.0 → 29.2.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/CollapsibleToolbar.js +2 -7
- package/CollapsibleToolbar.js.map +3 -3
- package/IconButton.js.map +1 -1
- package/Item.js.map +1 -1
- package/ItemGroup.js.map +1 -1
- package/PopoverItemButton.js.map +1 -1
- package/README.md +1 -1
- package/Toolbar.js.map +1 -1
- package/buttons/Charts.js +4 -1
- package/buttons/Charts.js.map +3 -3
- package/buttons/Config.js.map +1 -1
- package/buttons/ContentExport.js.map +1 -1
- package/buttons/Data.js.map +1 -1
- package/buttons/EmptyVisualization.js +1 -1
- package/buttons/EmptyVisualization.js.map +1 -1
- package/buttons/ExportDashboardButton.js.map +1 -1
- package/buttons/Fullscreen.js.map +1 -1
- package/buttons/GridLineSwitch.js.map +1 -1
- package/buttons/HelpButton.js.map +1 -1
- package/buttons/IconGallery.js +5 -2
- package/buttons/IconGallery.js.map +3 -3
- package/buttons/Image.js +1 -1
- package/buttons/Image.js.map +1 -1
- package/buttons/ImageGallery.js +1 -1
- package/buttons/ImageGallery.js.map +1 -1
- package/buttons/Inputs.js +4 -1
- package/buttons/Inputs.js.map +3 -3
- package/buttons/Markdown.js.map +1 -1
- package/buttons/ModeSwitch.js.map +1 -1
- package/buttons/Redo.js.map +1 -1
- package/buttons/Shapes.js +4 -1
- package/buttons/Shapes.js.map +3 -3
- package/buttons/Source.js.map +1 -1
- package/buttons/Undo.js.map +1 -1
- package/buttons/index.js +188 -139
- package/buttons/index.js.map +4 -4
- package/groups/ActionsGroup.js.map +1 -1
- package/groups/ControlGroup.js +88 -97
- package/groups/ControlGroup.js.map +4 -4
- package/groups/EditingGroup.js +97 -109
- package/groups/EditingGroup.js.map +4 -4
- package/groups/EditorGroup.js +88 -97
- package/groups/EditorGroup.js.map +4 -4
- package/groups/EditorsControlGroup.js +135 -109
- package/groups/EditorsControlGroup.js.map +4 -4
- package/groups/HistoryGroup.js +88 -97
- package/groups/HistoryGroup.js.map +4 -4
- package/groups/SidebarControlGroup.js +124 -98
- package/groups/SidebarControlGroup.js.map +4 -4
- package/groups/VisualizationGroup.js +107 -104
- package/groups/VisualizationGroup.js.map +4 -4
- package/groups/index.js +138 -103
- package/groups/index.js.map +4 -4
- package/index.js +150 -106
- package/index.js.map +4 -4
- package/module/CollapsibleToolbar.js +10 -10
- package/module/IconButton.js +5 -5
- package/module/Item.js +2 -2
- package/module/ItemGroup.js +6 -6
- package/module/PopoverItemButton.js +3 -3
- package/module/Toolbar.js +5 -5
- package/module/buttons/Charts.js +14 -14
- package/module/buttons/Config.js +8 -8
- package/module/buttons/ContentExport.js +8 -8
- package/module/buttons/Data.js +9 -9
- package/module/buttons/EmptyVisualization.js +8 -8
- package/module/buttons/ExportDashboardButton.js +7 -7
- package/module/buttons/Fullscreen.js +8 -8
- package/module/buttons/GridLineSwitch.js +7 -7
- package/module/buttons/HelpButton.js +10 -10
- package/module/buttons/IconGallery.js +10 -10
- package/module/buttons/Image.js +8 -8
- package/module/buttons/ImageGallery.js +11 -11
- package/module/buttons/Inputs.js +10 -10
- package/module/buttons/Markdown.js +7 -7
- package/module/buttons/ModeSwitch.js +8 -8
- package/module/buttons/Redo.js +7 -7
- package/module/buttons/Shapes.js +12 -12
- package/module/buttons/Source.js +7 -7
- package/module/buttons/Undo.js +7 -7
- package/module/buttons/index.js +41 -39
- package/module/chunks/{chunk-FVGABOJM.js → chunk-2KANDQBI.js} +11 -8
- package/module/chunks/chunk-2KANDQBI.js.map +7 -0
- package/module/chunks/{chunk-52TYQW2Y.js → chunk-2KBENXG3.js} +1 -1
- package/module/chunks/{chunk-52TYQW2Y.js.map → chunk-2KBENXG3.js.map} +1 -1
- package/module/chunks/{chunk-FSOMEJXM.js → chunk-2OAGCVHC.js} +4 -4
- package/module/chunks/{chunk-FSOMEJXM.js.map → chunk-2OAGCVHC.js.map} +1 -1
- package/module/chunks/{chunk-NWVLNDCF.js → chunk-2QBSLWJJ.js} +1 -1
- package/module/chunks/{chunk-NWVLNDCF.js.map → chunk-2QBSLWJJ.js.map} +1 -1
- package/module/chunks/{chunk-GWAXQYWY.js → chunk-47MSCQAS.js} +5 -5
- package/module/chunks/{chunk-GWAXQYWY.js.map → chunk-47MSCQAS.js.map} +1 -1
- package/module/chunks/{chunk-ECEBJH6K.js → chunk-4CPQH3IK.js} +8 -8
- package/module/chunks/{chunk-ECEBJH6K.js.map → chunk-4CPQH3IK.js.map} +1 -1
- package/module/chunks/{chunk-KJLRQLFH.js → chunk-4NRVBOUP.js} +5 -5
- package/module/chunks/{chunk-OTGQ73VF.js → chunk-4Y6PRJOC.js} +4 -4
- package/module/chunks/{chunk-OTGQ73VF.js.map → chunk-4Y6PRJOC.js.map} +1 -1
- package/module/chunks/{chunk-JILFF3WY.js → chunk-56627Y63.js} +14 -11
- package/module/chunks/chunk-56627Y63.js.map +7 -0
- package/module/chunks/{chunk-YKT3CRI6.js → chunk-5D7CUYUH.js} +1 -1
- package/module/chunks/{chunk-YKT3CRI6.js.map → chunk-5D7CUYUH.js.map} +1 -1
- package/module/chunks/{chunk-J5CY2G3T.js → chunk-6MLJBCIJ.js} +7 -7
- package/module/chunks/{chunk-734QWOYU.js → chunk-6SUOFSGJ.js} +6 -6
- package/module/chunks/{chunk-IQG5GSSX.js → chunk-ACSHFRXI.js} +4 -4
- package/module/chunks/{chunk-IQG5GSSX.js.map → chunk-ACSHFRXI.js.map} +1 -1
- package/module/chunks/{chunk-B2LPQWLD.js → chunk-BSXRAEA2.js} +6 -6
- package/module/chunks/{chunk-B2LPQWLD.js.map → chunk-BSXRAEA2.js.map} +1 -1
- package/module/chunks/{chunk-QU7RW3YZ.js → chunk-C3NA7YCT.js} +5 -5
- package/module/chunks/{chunk-OIQNUT2X.js → chunk-D27CPPHI.js} +3 -3
- package/module/chunks/{chunk-JLYV2H24.js → chunk-FREEN2T3.js} +3 -3
- package/module/chunks/{chunk-BSMCGXVQ.js → chunk-GAXH7J77.js} +1 -1
- package/module/chunks/{chunk-BSMCGXVQ.js.map → chunk-GAXH7J77.js.map} +1 -1
- package/module/chunks/{chunk-X7ATHE2S.js → chunk-GFSNM45K.js} +1 -1
- package/module/chunks/{chunk-X7ATHE2S.js.map → chunk-GFSNM45K.js.map} +1 -1
- package/module/chunks/{chunk-JXPIKVRZ.js → chunk-H7C24E7Q.js} +7 -7
- package/module/chunks/{chunk-G6N5OMKL.js → chunk-HOKI2CUB.js} +1 -1
- package/module/chunks/{chunk-G6N5OMKL.js.map → chunk-HOKI2CUB.js.map} +1 -1
- package/module/chunks/{chunk-IGGLU44N.js → chunk-IIPBKMJD.js} +1 -1
- package/module/chunks/{chunk-IGGLU44N.js.map → chunk-IIPBKMJD.js.map} +1 -1
- package/module/chunks/{chunk-AWNWXBE4.js → chunk-IITJ2NKO.js} +5 -5
- package/module/chunks/{chunk-AWNWXBE4.js.map → chunk-IITJ2NKO.js.map} +1 -1
- package/module/chunks/{chunk-SIFZZCPT.js → chunk-ILJYO5B3.js} +94 -55
- package/module/chunks/chunk-ILJYO5B3.js.map +7 -0
- package/module/chunks/{chunk-XUK4ZKWN.js → chunk-JGTSF7O4.js} +5 -5
- package/module/chunks/{chunk-NCPTJ5RB.js → chunk-JOFJS4UX.js} +12 -9
- package/module/chunks/chunk-JOFJS4UX.js.map +7 -0
- package/module/chunks/{chunk-OSDOIGWB.js → chunk-KUPEYUWA.js} +1 -1
- package/module/chunks/{chunk-OSDOIGWB.js.map → chunk-KUPEYUWA.js.map} +1 -1
- package/module/chunks/{chunk-X2HLBQUA.js → chunk-LGNNSZ2O.js} +10 -10
- package/module/chunks/{chunk-WFAY6ABE.js → chunk-LLLZNICJ.js} +9 -6
- package/module/chunks/chunk-LLLZNICJ.js.map +7 -0
- package/module/chunks/{chunk-NIACHGAA.js → chunk-MRXRYL4Y.js} +3 -3
- package/module/chunks/{chunk-YPVMTO2L.js → chunk-MTPPRK4H.js} +11 -11
- package/module/chunks/{chunk-GRIJP4FT.js → chunk-MWYPBMHI.js} +14 -11
- package/module/chunks/chunk-MWYPBMHI.js.map +7 -0
- package/module/chunks/{chunk-A3BAVEME.js → chunk-NKC5QFQ5.js} +4 -4
- package/module/chunks/{chunk-A3BAVEME.js.map → chunk-NKC5QFQ5.js.map} +1 -1
- package/module/chunks/{chunk-BRGYD3MR.js → chunk-O74T4JNL.js} +1 -1
- package/module/chunks/{chunk-BRGYD3MR.js.map → chunk-O74T4JNL.js.map} +1 -1
- package/module/chunks/{chunk-BLXVTG4B.js → chunk-OQXE7KAJ.js} +7 -7
- package/module/chunks/{chunk-HXY4TSUO.js → chunk-OSX3RDKV.js} +1 -1
- package/module/chunks/{chunk-HXY4TSUO.js.map → chunk-OSX3RDKV.js.map} +1 -1
- package/module/chunks/{chunk-L4ZPYLUY.js → chunk-PVT2JFAW.js} +4 -4
- package/module/chunks/{chunk-IAEE4XLH.js → chunk-Q67T3UVN.js} +5 -5
- package/module/chunks/{chunk-IAEE4XLH.js.map → chunk-Q67T3UVN.js.map} +1 -1
- package/module/chunks/{chunk-ETJ5YPF3.js → chunk-QPL25LDX.js} +5 -5
- package/module/chunks/{chunk-2QMHWIV5.js → chunk-RIR6YMJC.js} +11 -16
- package/module/chunks/chunk-RIR6YMJC.js.map +7 -0
- package/module/chunks/{chunk-HIICL66H.js → chunk-RQY6BB7F.js} +1 -1
- package/module/chunks/{chunk-HIICL66H.js.map → chunk-RQY6BB7F.js.map} +1 -1
- package/module/chunks/{chunk-NJF2IOVV.js → chunk-RZJ2PCV4.js} +1 -1
- package/module/chunks/{chunk-NJF2IOVV.js.map → chunk-RZJ2PCV4.js.map} +1 -1
- package/module/chunks/{chunk-UPZBDSS7.js → chunk-UOT4CE2C.js} +6 -6
- package/module/chunks/{chunk-RODBPKID.js → chunk-VCWH2JHM.js} +2 -2
- package/module/chunks/{chunk-RODBPKID.js.map → chunk-VCWH2JHM.js.map} +1 -1
- package/module/chunks/{chunk-J2TRUM5N.js → chunk-VE4HUG27.js} +1 -1
- package/module/chunks/{chunk-J2TRUM5N.js.map → chunk-VE4HUG27.js.map} +1 -1
- package/module/chunks/{chunk-KEARZQAT.js → chunk-WADWICSE.js} +6 -6
- package/module/chunks/{chunk-4OLWQA6K.js → chunk-X4VCE6GS.js} +7 -7
- package/module/chunks/{chunk-4OLWQA6K.js.map → chunk-X4VCE6GS.js.map} +1 -1
- package/module/chunks/{chunk-E2DI77AU.js → chunk-XIZP3DYZ.js} +2 -2
- package/module/chunks/{chunk-CFGNNO2V.js → chunk-YMZGQ7CB.js} +5 -5
- package/module/chunks/{chunk-CFGNNO2V.js.map → chunk-YMZGQ7CB.js.map} +1 -1
- package/module/chunks/{chunk-72YLBMXL.js → chunk-ZSBWP6MR.js} +17 -14
- package/module/chunks/chunk-ZSBWP6MR.js.map +7 -0
- package/module/groups/ActionsGroup.js +6 -6
- package/module/groups/ControlGroup.js +41 -41
- package/module/groups/EditingGroup.js +41 -41
- package/module/groups/EditorGroup.js +41 -41
- package/module/groups/EditorsControlGroup.js +41 -41
- package/module/groups/HistoryGroup.js +41 -41
- package/module/groups/SidebarControlGroup.js +41 -41
- package/module/groups/VisualizationGroup.js +41 -41
- package/module/groups/index.js +48 -48
- package/module/index.js +52 -50
- package/package.json +23 -25
- package/types/CollapsibleToolbar.d.ts.map +1 -1
- package/types/buttons/AIAssistant/AIAssistant.d.ts +3 -0
- package/types/buttons/AIAssistant/AIAssistant.d.ts.map +1 -0
- package/types/buttons/AIAssistant/index.d.ts +2 -0
- package/types/buttons/AIAssistant/index.d.ts.map +1 -0
- package/types/buttons/Charts.d.ts.map +1 -1
- package/types/buttons/IconGallery.d.ts.map +1 -1
- package/types/buttons/Inputs.d.ts.map +1 -1
- package/types/buttons/Shapes.d.ts.map +1 -1
- package/types/buttons/Zoom/Zoom.d.ts.map +1 -1
- package/types/buttons/index.d.ts +1 -0
- package/types/buttons/index.d.ts.map +1 -1
- package/types/buttons/tokenManager/TokenManager.d.ts +1 -1
- package/types/buttons/tokenManager/TokenManager.d.ts.map +1 -1
- package/types/groups/EditorsControlGroup.d.ts.map +1 -1
- package/types/groups/SidebarControlGroup.d.ts.map +1 -1
- package/module/chunks/chunk-2QMHWIV5.js.map +0 -7
- package/module/chunks/chunk-72YLBMXL.js.map +0 -7
- package/module/chunks/chunk-FVGABOJM.js.map +0 -7
- package/module/chunks/chunk-GRIJP4FT.js.map +0 -7
- package/module/chunks/chunk-JILFF3WY.js.map +0 -7
- package/module/chunks/chunk-NCPTJ5RB.js.map +0 -7
- package/module/chunks/chunk-SIFZZCPT.js.map +0 -7
- package/module/chunks/chunk-WFAY6ABE.js.map +0 -7
- package/tsconfig.json +0 -9
- /package/module/chunks/{chunk-KJLRQLFH.js.map → chunk-4NRVBOUP.js.map} +0 -0
- /package/module/chunks/{chunk-J5CY2G3T.js.map → chunk-6MLJBCIJ.js.map} +0 -0
- /package/module/chunks/{chunk-734QWOYU.js.map → chunk-6SUOFSGJ.js.map} +0 -0
- /package/module/chunks/{chunk-QU7RW3YZ.js.map → chunk-C3NA7YCT.js.map} +0 -0
- /package/module/chunks/{chunk-OIQNUT2X.js.map → chunk-D27CPPHI.js.map} +0 -0
- /package/module/chunks/{chunk-JLYV2H24.js.map → chunk-FREEN2T3.js.map} +0 -0
- /package/module/chunks/{chunk-JXPIKVRZ.js.map → chunk-H7C24E7Q.js.map} +0 -0
- /package/module/chunks/{chunk-XUK4ZKWN.js.map → chunk-JGTSF7O4.js.map} +0 -0
- /package/module/chunks/{chunk-X2HLBQUA.js.map → chunk-LGNNSZ2O.js.map} +0 -0
- /package/module/chunks/{chunk-NIACHGAA.js.map → chunk-MRXRYL4Y.js.map} +0 -0
- /package/module/chunks/{chunk-YPVMTO2L.js.map → chunk-MTPPRK4H.js.map} +0 -0
- /package/module/chunks/{chunk-BLXVTG4B.js.map → chunk-OQXE7KAJ.js.map} +0 -0
- /package/module/chunks/{chunk-L4ZPYLUY.js.map → chunk-PVT2JFAW.js.map} +0 -0
- /package/module/chunks/{chunk-ETJ5YPF3.js.map → chunk-QPL25LDX.js.map} +0 -0
- /package/module/chunks/{chunk-UPZBDSS7.js.map → chunk-UOT4CE2C.js.map} +0 -0
- /package/module/chunks/{chunk-KEARZQAT.js.map → chunk-WADWICSE.js.map} +0 -0
- /package/module/chunks/{chunk-E2DI77AU.js.map → chunk-XIZP3DYZ.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["esm-externals:@splunk/react-ui/TransitionOpen", "esm-externals:@splunk/react-icons/ChevronRight", "esm-externals:@splunk/react-icons/ChevronLeft", "../../src/CollapsibleToolbar.tsx"],
|
|
4
|
+
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/react-ui/TransitionOpen\";\nexport * from \"@splunk/react-ui/TransitionOpen\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/react-icons/ChevronRight\";\nexport * from \"@splunk/react-icons/ChevronRight\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "\nimport * as defaultImport from \"@splunk/react-icons/ChevronLeft\";\nexport * from \"@splunk/react-icons/ChevronLeft\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import React, {\n useState,\n useCallback,\n cloneElement,\n useMemo,\n useEffect,\n} from 'react';\nimport { useApiRegistry } from '@splunk/dashboard-context';\nimport styled, { css } from 'styled-components';\nimport Button from '@splunk/react-ui/Button';\nimport TransitionOpen from '@splunk/react-ui/TransitionOpen';\nimport { variables } from '@splunk/themes';\nimport ChevronRight from '@splunk/react-icons/ChevronRight';\nimport ChevronLeft from '@splunk/react-icons/ChevronLeft';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport { selectLayoutType, useSelector } from '@splunk/dashboard-state';\nimport type { PresetMap } from '@splunk/dashboard-types';\nimport ScreenReaderContent from '@splunk/react-ui/ScreenReaderContent';\nimport type { CommonToolbarBaseProps } from './types/common';\nimport { iconSize } from './IconButton';\n\nconst TOOLBAR_HEIGHT = 48;\n\nconst ToolbarWrapper = styled.div`\n display: flex;\n align-items: center;\n position: absolute;\n right: 0;\n z-index: 6;\n height: ${TOOLBAR_HEIGHT}px;\n background-color: ${variables.backgroundColorNavigation};\n color: ${variables.contentColorDefault};\n box-shadow: ${variables.overlayShadow};\n border-radius: 0 0 0 20px;\n`;\n\nconst StyledTransitionOpen = styled(TransitionOpen)`\n border-right: ${({ open }) => (open ? 'solid' : 'none')};\n border-width: 0 1px 0 0;\n border-color: ${variables.interactiveColorBorder};\n`;\n\nconst ToolbarItemsWrapper = styled.div`\n display: flex;\n padding: 2px 4px 2px 8px;\n gap: ${variables.spacingSmall};\n margin-inline-end: ${variables.spacingSmall};\n`;\n\n// Keep the button and toolbar container animating at the same speed\nconst transition = css`\n transition-duration: 0.2s;\n transition-timing-function: ease-in-out;\n`;\nconst ExpandButton = styled(Button)<{\n expanded: boolean;\n}>`\n // To get specific enough to override the default Button styling\n && {\n height: ${({ expanded }) =>\n expanded ? `${TOOLBAR_HEIGHT - 4}px` : `${TOOLBAR_HEIGHT}px`};\n width: ${({ expanded }) =>\n expanded ? `${TOOLBAR_HEIGHT - 4}px` : `${TOOLBAR_HEIGHT}px`};\n margin: ${({ expanded }) => (expanded ? '0 4px 0 4px' : '0')};\n border-radius: ${(props) => (props.expanded ? '' : '0 0 0 20px')};\n transition-property: border-radius, height, width, margin-right;\n ${transition}\n }\n`;\n\nconst expandedIcon = (\n <>\n <ChevronRight width={iconSize} height={iconSize} />\n <ScreenReaderContent>{_('Expanded')}</ScreenReaderContent>\n </>\n);\n\nconst collapsedIcon = (\n <>\n <ChevronLeft width={iconSize} height={iconSize} />\n <ScreenReaderContent>{_('Collapsed')}</ScreenReaderContent>\n </>\n);\n\nexport type CollapsibleToolbarProps = CommonToolbarBaseProps & {\n initialExpanded?: boolean;\n toolbarItems?: React.ReactElement[];\n};\n\nconst DEFAULT_PRESET_MAP = Object.freeze({} as PresetMap);\n\nconst CollapsibleToolbar = ({\n preset = DEFAULT_PRESET_MAP,\n dashboardApi,\n initialExpanded = true,\n mode = 'view',\n toolbarItems = [],\n}: CollapsibleToolbarProps): React.ReactElement | null => {\n const apiRegistry = useApiRegistry();\n const [expanded, setExpanded] = useState(initialExpanded);\n const handleExpandToggle = useCallback(\n () => setExpanded((prevExpanded) => !prevExpanded),\n []\n );\n\n const layoutType = useSelector(selectLayoutType);\n\n const injectedToolbarItems = useMemo(\n () =>\n toolbarItems.map((item) =>\n cloneElement(item, {\n mode,\n preset,\n layoutType,\n dashboardApi,\n borders: false,\n })\n ),\n [toolbarItems, mode, preset, dashboardApi, layoutType]\n );\n\n const ExpandButtonIcon = useMemo(\n () => (expanded ? expandedIcon : collapsedIcon),\n [expanded]\n );\n\n useEffect(() => {\n const toolbarApiRef = {\n toggle: () => handleExpandToggle(),\n expand: () => setExpanded(true),\n collapse: () => setExpanded(false),\n };\n\n apiRegistry.registerToolbarApi(toolbarApiRef);\n\n return () => {\n apiRegistry.removeToolbarApi();\n };\n }, [apiRegistry, handleExpandToggle]);\n\n return (\n <ToolbarWrapper data-test=\"dashboard-toolbar\">\n <StyledTransitionOpen animation=\"slideFromRight\" open={expanded}>\n <ToolbarItemsWrapper data-test=\"toolbar-items\">\n {injectedToolbarItems}\n </ToolbarItemsWrapper>\n </StyledTransitionOpen>\n <ExpandButton\n appearance=\"subtle\"\n data-test=\"expand-button\"\n expanded={expanded}\n onClick={handleExpandToggle}\n icon={ExpandButtonIcon}\n data-clickable\n />\n </ToolbarWrapper>\n );\n};\n\nCollapsibleToolbar.displayName = 'CollapsibleToolbar';\n\nexport default CollapsibleToolbar;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,qCAAc;AACd,IAAO,yBAAS,aAAa,gBAA8B,wBAAU;;;ACHrE;AAAA;AAAA;AAAA;AAEA;AADA,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BAAc;AAAA;AAAA,EAClB,CACJ;AAER;AAEA,mBAAmB,cAAc;AAEjC,IAAO,6BAAQ;",
|
|
6
|
+
"names": ["defaultImport", "defaultImport"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/dashboard-ui"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/dashboard-ui\";\nexport * from \"@splunk/dashboard-ui\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,mCAAc;AACd,IAAO,uBAAS,aAAa,gBAA8B,wBAAU;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/dashboard-state"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/dashboard-state\";\nexport * from \"@splunk/dashboard-state\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,sCAAc;AACd,IAAO,0BAAS,aAAa,gBAA8B,wBAAU;",
|
|
6
6
|
"names": []
|
|
@@ -4,23 +4,23 @@ in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
|
4
4
|
import {
|
|
5
5
|
Menu_default,
|
|
6
6
|
Menu_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GFSNM45K.js";
|
|
8
8
|
import {
|
|
9
9
|
Dropdown_default,
|
|
10
10
|
Dropdown_exports,
|
|
11
11
|
useDropdown_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VCWH2JHM.js";
|
|
13
13
|
import {
|
|
14
14
|
i18n_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GAXH7J77.js";
|
|
16
16
|
import {
|
|
17
17
|
Button_default,
|
|
18
18
|
Button_exports
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5D7CUYUH.js";
|
|
20
20
|
import {
|
|
21
21
|
react_default,
|
|
22
22
|
react_exports
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
24
24
|
|
|
25
25
|
// src/groups/ActionsGroup.tsx
|
|
26
26
|
var menuStyle = {
|
|
@@ -56,4 +56,4 @@ var ActionsGroup_default = ActionsGroup;
|
|
|
56
56
|
export {
|
|
57
57
|
ActionsGroup_default
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-UOT4CE2C.js.map
|
|
@@ -3,7 +3,7 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
react_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
7
7
|
import {
|
|
8
8
|
__export,
|
|
9
9
|
__reExport
|
|
@@ -61,4 +61,4 @@ export {
|
|
|
61
61
|
Dropdown_exports,
|
|
62
62
|
useDropdown_default
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-VCWH2JHM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/react-ui/Dropdown", "../../src/hooks/useDropdown.ts"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/react-ui/Dropdown\";\nexport * from \"@splunk/react-ui/Dropdown\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import type { DropdownRequestCloseHandler } from '@splunk/react-ui/Dropdown';\nimport { useCallback, useRef, useState } from 'react';\n\ninterface UseDropdownArgs {\n isContentClickClose?: boolean;\n}\n\ninterface UseDropdownReturn {\n isOpen: boolean;\n handleRequestClose: DropdownRequestCloseHandler;\n handleRequestOpen: () => void;\n handleForceClose: () => void;\n setHasChildModal: (value: boolean) => void;\n}\n\n/**\n * Custom React Hook for the controlled SUI Dropdown component.\n *\n * @param {Object} config\n * @param {Boolean} config.isContentClickClose Control if dropdown children onClick's will close the dropdown automatically\n * @returns {Object} value\n * @returns {Boolean} value.isOpen The only state of this hook\n * @returns {Function} value.handleRequestOpen Event handler to open the dropdown\n * @returns {Function} value.handleRequestClose Event handler that SUI Dropdown calls when requested to close\n * @returns {Function} value.handleForceClose Event handler to forcefully close the dropdown\n */\nconst useDropdown = ({\n isContentClickClose = true,\n}: UseDropdownArgs): UseDropdownReturn => {\n const [isOpen, setIsOpen] = useState(false);\n const hasChildModal = useRef(false);\n\n const handleRequestClose = useCallback<DropdownRequestCloseHandler>(\n ({ reason }) => {\n if (reason === 'contentClick' && !isContentClickClose) {\n // This return results in the dropdown not closing.\n return;\n }\n\n // If there is a child modal then don't close the root on ESC press\n if (reason === 'escapeKey' && hasChildModal.current) {\n return;\n }\n\n setIsOpen(false);\n },\n [isContentClickClose]\n );\n\n const handleRequestOpen = useCallback(() => {\n setIsOpen(true);\n }, []);\n\n const handleForceClose = useCallback(() => {\n setIsOpen(false);\n }, []);\n\n const setHasChildModal = useCallback((value: boolean) => {\n hasChildModal.current = value;\n }, []);\n\n return {\n isOpen,\n handleRequestOpen,\n handleRequestClose,\n handleForceClose,\n setHasChildModal,\n };\n};\n\nexport default useDropdown;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,+BAAc;AACd,IAAO,mBAAS,aAAa,gBAA8B,wBAAU;;;ACuBrE,IAAM,cAAc,CAAC;AAAA,EACjB,sBAAsB;AAC1B,MAA0C;AACtC,QAAM,CAAC,QAAQ,SAAS,QAAI,wBAAS,KAAK;AAC1C,QAAM,oBAAgB,sBAAO,KAAK;AAElC,QAAM,yBAAqB;AAAA,IACvB,CAAC,EAAE,OAAO,MAAM;AACZ,UAAI,WAAW,kBAAkB,CAAC,qBAAqB;AAEnD;AAAA,MACJ;AAGA,UAAI,WAAW,eAAe,cAAc,SAAS;AACjD;AAAA,MACJ;AAEA,gBAAU,KAAK;AAAA,IACnB;AAAA,IACA,CAAC,mBAAmB;AAAA,EACxB;AAEA,QAAM,wBAAoB,2BAAY,MAAM;AACxC,cAAU,IAAI;AAAA,EAClB,GAAG,CAAC,CAAC;AAEL,QAAM,uBAAmB,2BAAY,MAAM;AACvC,cAAU,KAAK;AAAA,EACnB,GAAG,CAAC,CAAC;AAEL,QAAM,uBAAmB,2BAAY,CAAC,UAAmB;AACrD,kBAAc,UAAU;AAAA,EAC5B,GAAG,CAAC,CAAC;AAEL,SAAO;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AACJ;AAEA,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/react-icons/ArrowBroadUnderbarDown"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/react-icons/ArrowBroadUnderbarDown\";\nexport * from \"@splunk/react-icons/ArrowBroadUnderbarDown\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,6CAAc;AACd,IAAO,iCAAS,aAAa,gBAA8B,wBAAU;",
|
|
6
6
|
"names": []
|
|
@@ -4,18 +4,18 @@ in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
|
4
4
|
import {
|
|
5
5
|
Square_default,
|
|
6
6
|
Square_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2KBENXG3.js";
|
|
8
8
|
import {
|
|
9
9
|
i18n_exports
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GAXH7J77.js";
|
|
11
11
|
import {
|
|
12
12
|
IconButton_default,
|
|
13
13
|
prepareIcon
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-47MSCQAS.js";
|
|
15
15
|
import {
|
|
16
16
|
react_default,
|
|
17
17
|
react_exports
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
19
19
|
import {
|
|
20
20
|
__async
|
|
21
21
|
} from "./chunk-VQIRZ53C.js";
|
|
@@ -26,7 +26,7 @@ var icon = prepareIcon({
|
|
|
26
26
|
screenReaderContent: (0, i18n_exports._)("Add rectangle")
|
|
27
27
|
});
|
|
28
28
|
var EmptyVisualization = ({ dashboardApi }) => {
|
|
29
|
-
const handleClick = (0, react_exports.useCallback)(() => __async(
|
|
29
|
+
const handleClick = (0, react_exports.useCallback)(() => __async(null, null, function* () {
|
|
30
30
|
dashboardApi == null ? void 0 : dashboardApi.createVisualization({
|
|
31
31
|
visualizationDefinition: {
|
|
32
32
|
type: "splunk.rectangle",
|
|
@@ -54,4 +54,4 @@ var EmptyVisualization_default = EmptyVisualization;
|
|
|
54
54
|
export {
|
|
55
55
|
EmptyVisualization_default
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-WADWICSE.js.map
|
|
@@ -3,24 +3,24 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
ItemSeparator_default
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MRXRYL4Y.js";
|
|
7
7
|
import {
|
|
8
8
|
i18n_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GAXH7J77.js";
|
|
10
10
|
import {
|
|
11
11
|
dashboard_state_exports
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RZJ2PCV4.js";
|
|
13
13
|
import {
|
|
14
14
|
themes_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IIPBKMJD.js";
|
|
16
16
|
import {
|
|
17
17
|
react_default,
|
|
18
18
|
react_exports
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
20
20
|
import {
|
|
21
21
|
styled_components_default,
|
|
22
22
|
styled_components_exports
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O74T4JNL.js";
|
|
24
24
|
import {
|
|
25
25
|
__export,
|
|
26
26
|
__reExport
|
|
@@ -80,4 +80,4 @@ var GridLineSwitch_default = GridLineSwitch;
|
|
|
80
80
|
export {
|
|
81
81
|
GridLineSwitch_default
|
|
82
82
|
};
|
|
83
|
-
//# sourceMappingURL=chunk-
|
|
83
|
+
//# sourceMappingURL=chunk-X4VCE6GS.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/react-ui/Switch", "../../src/buttons/GridLineSwitch.tsx"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/react-ui/Switch\";\nexport * from \"@splunk/react-ui/Switch\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import React, { useCallback, useMemo } from 'react';\nimport styled from 'styled-components';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport Switch from '@splunk/react-ui/Switch';\nimport {\n selectAreGridLinesEnabled,\n useSelector,\n} from '@splunk/dashboard-state';\nimport { variables } from '@splunk/themes';\nimport ItemSeparator from '../components/ItemSeparator';\nimport type { ToolbarButtonProps } from '../types/common';\n\nconst SwitchContainer = styled.div`\n display: flex;\n align-items: center;\n flex-direction: row;\n gap: ${variables.spacingSmall};\n`;\n\nexport interface GridLineSwitchProps extends ToolbarButtonProps {\n showSeparator?: boolean;\n}\n\nconst GridLineSwitch = ({\n dashboardApi,\n mode,\n showSeparator,\n layoutType,\n}: GridLineSwitchProps) => {\n const showGrid = useSelector(selectAreGridLinesEnabled) ?? false;\n\n const handleClick = useCallback(() => {\n dashboardApi?.toggleGridLines(!showGrid);\n }, [dashboardApi, showGrid]);\n\n const separator = useMemo(\n () => (showSeparator ? <ItemSeparator key=\"item-separator\" /> : null),\n [showSeparator]\n );\n\n if (!dashboardApi || mode !== 'edit' || layoutType === 'grid') {\n return null;\n }\n\n return (\n <SwitchContainer key=\"grid-line-switch\">\n <Switch\n onClick={handleClick}\n selected={showGrid}\n selectedLabel={_('Gridlines displayed')}\n unselectedLabel={_('Gridlines not displayed')}\n appearance=\"toggle\"\n data-test=\"gridline-toggle\"\n data-clickable\n >\n {_('Gridlines')}\n </Switch>\n {separator}\n </SwitchContainer>\n );\n};\n\nexport default GridLineSwitch;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,6BAAc;AACd,IAAO,iBAAS,aAAa,gBAA8B,wBAAU;;;ACSrE,IAAM,kBAAkB,0BAAO;AAAA;AAAA;AAAA;AAAA,WAIpB,yBAAU,YAAY;AAAA;AAOjC,IAAM,iBAAiB,CAAC;AAAA,EACpB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,MAA2B;AA5B3B;AA6BI,QAAM,YAAW,8CAAY,iDAAyB,MAArC,YAA0C;AAE3D,QAAM,kBAAc,2BAAY,MAAM;AAClC,iDAAc,gBAAgB,CAAC;AAAA,EACnC,GAAG,CAAC,cAAc,QAAQ,CAAC;AAE3B,QAAM,gBAAY;AAAA,IACd,MAAO,gBAAgB,4CAAC,yBAAc,KAAI,kBAAiB,IAAK;AAAA,IAChE,CAAC,aAAa;AAAA,EAClB;AAEA,MAAI,CAAC,gBAAgB,SAAS,UAAU,eAAe,QAAQ;AAC3D,WAAO;AAAA,EACX;AAEA,SACI,4CAAC,mBAAgB,KAAI,sBACjB;AAAA,IAAC;AAAA;AAAA,MACG,SAAS;AAAA,MACT,UAAU;AAAA,MACV,mBAAe,gBAAE,qBAAqB;AAAA,MACtC,qBAAiB,gBAAE,yBAAyB;AAAA,MAC5C,YAAW;AAAA,MACX,aAAU;AAAA,MACV,kBAAc;AAAA;AAAA,QAEb,gBAAE,WAAW;AAAA,EAClB,GACC,SACL;AAER;AAEA,IAAO,yBAAQ;",
|
|
6
6
|
"names": []
|
|
@@ -4,7 +4,7 @@ in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
|
4
4
|
import {
|
|
5
5
|
styled_components_default,
|
|
6
6
|
styled_components_exports
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O74T4JNL.js";
|
|
8
8
|
|
|
9
9
|
// src/Item.tsx
|
|
10
10
|
var Item_default = styled_components_default.div``;
|
|
@@ -12,4 +12,4 @@ var Item_default = styled_components_default.div``;
|
|
|
12
12
|
export {
|
|
13
13
|
Item_default
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=chunk-
|
|
15
|
+
//# sourceMappingURL=chunk-XIZP3DYZ.js.map
|
|
@@ -3,18 +3,18 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
dashboard_state_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZJ2PCV4.js";
|
|
7
7
|
import {
|
|
8
8
|
themes_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IIPBKMJD.js";
|
|
10
10
|
import {
|
|
11
11
|
react_default,
|
|
12
12
|
react_exports
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
14
14
|
import {
|
|
15
15
|
styled_components_default,
|
|
16
16
|
styled_components_exports
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O74T4JNL.js";
|
|
18
18
|
import {
|
|
19
19
|
__export,
|
|
20
20
|
__reExport
|
|
@@ -140,4 +140,4 @@ var Toolbar_default = Toolbar;
|
|
|
140
140
|
export {
|
|
141
141
|
Toolbar_default
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=chunk-
|
|
143
|
+
//# sourceMappingURL=chunk-YMZGQ7CB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["esm-externals:@splunk/themes/mixins", "../../src/Toolbar.tsx"],
|
|
4
4
|
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/themes/mixins\";\nexport * from \"@splunk/themes/mixins\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import React, { useCallback, useEffect, useMemo, useRef } from 'react';\nimport styled from 'styled-components';\nimport { variables } from '@splunk/themes';\nimport { reset } from '@splunk/themes/mixins';\nimport { selectLayoutType, useSelector } from '@splunk/dashboard-state';\nimport type { ToolbarButtonProps } from './types/common';\n\nconst ToolbarWrapper = styled.div`\n ${reset('flex')};\n justify-content: space-between;\n color: ${variables.contentColorDefault};\n padding: 5px 5px 5px 8px;\n border-bottom-width: 1px;\n border-bottom-style: solid;\n border-bottom-color: ${variables.borderColor};\n flex-wrap: wrap;\n flex-shrink: 0;\n background-color: ${variables.backgroundColorNavigation};\n`;\n\nconst LeftAlignItems = styled.div`\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n gap: ${variables.spacingSmall};\n`;\n\nconst RightAlignItems = styled.div`\n flex-basis: auto;\n display: flex;\n flex-direction: row;\n gap: ${variables.spacingSmall};\n margin-inline-end: ${variables.spacingSmall};\n`;\n\nexport type ToolbarProps = ToolbarButtonProps & {\n toolbarItems: React.ReactElement[];\n};\n\n/**\n * Dashboard Toolbar\n */\nconst Toolbar = ({\n activePanel,\n dashboardApi,\n mode,\n preset,\n toolbarItems,\n}: ToolbarProps) => {\n const layoutType = useSelector(selectLayoutType);\n const toolbarRef = useRef<HTMLDivElement | null>(null);\n\n /**\n * merge dashboard props with current item props\n * so that item have access to dashboard api and other stuff\n */\n const injectDashboardProps = useCallback(\n (items: React.ReactElement[]): React.ReactElement[] => {\n const buttonProps: ToolbarButtonProps = {\n activePanel,\n dashboardApi,\n layoutType,\n mode,\n preset,\n };\n\n return items.map((item) => React.cloneElement(item, buttonProps));\n },\n [activePanel, dashboardApi, layoutType, mode, preset]\n );\n\n const leftAlignItems = useMemo(() => {\n const items = toolbarItems.filter(\n (item) => item.props?.align !== 'right'\n );\n return injectDashboardProps(items);\n }, [toolbarItems, injectDashboardProps]);\n\n const rightAlignItems = useMemo(() => {\n const items = toolbarItems.filter(\n (item) => item.props?.align === 'right'\n );\n return injectDashboardProps(items);\n }, [toolbarItems, injectDashboardProps]);\n\n const observerRef = useRef<MutationObserver | null>(null);\n const isFirstRender = useRef(true);\n\n useEffect(() => {\n if (isFirstRender.current) {\n isFirstRender.current = false;\n return undefined;\n }\n\n observerRef.current = new MutationObserver(() => {\n const firstFocusableButton = toolbarRef.current?.querySelector(\n 'button:not([disabled]):not([aria-disabled=\"true\"]):not([tabindex=\"-1\"])'\n ) as HTMLButtonElement;\n\n firstFocusableButton?.focus();\n observerRef.current?.disconnect();\n });\n\n if (toolbarRef.current) {\n observerRef.current.observe(toolbarRef.current, {\n childList: true,\n subtree: true,\n });\n }\n\n return () => {\n observerRef.current?.disconnect();\n };\n }, [mode]);\n\n if (!toolbarItems.length) {\n return null;\n }\n\n return (\n <ToolbarWrapper data-test=\"dashboard-toolbar\" ref={toolbarRef}>\n <LeftAlignItems key=\"left-align-items\" data-test=\"left-align-items\">\n {leftAlignItems}\n </LeftAlignItems>\n <RightAlignItems\n key=\"right-align-items\"\n data-test=\"right-align-items\"\n >\n {rightAlignItems}\n </RightAlignItems>\n </ToolbarWrapper>\n );\n};\n\nToolbar.displayName = 'Toolbar';\nexport default Toolbar;\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAEA;AADA,YAAY,mBAAmB;AAC/B,6BAAc;AACd,IAAO,iBAAS,aAAa,gBAA8B,wBAAU;;;ACIrE,IAAM,iBAAiB,0BAAO;AAAA,UACxB,sBAAM,MAAM,CAAC;AAAA;AAAA,aAEN,yBAAU,mBAAmB;AAAA;AAAA;AAAA;AAAA,2BAIf,yBAAU,WAAW;AAAA;AAAA;AAAA,wBAGxB,yBAAU,yBAAyB;AAAA;AAG3D,IAAM,iBAAiB,0BAAO;AAAA;AAAA;AAAA;AAAA,WAInB,yBAAU,YAAY;AAAA;AAGjC,IAAM,kBAAkB,0BAAO;AAAA;AAAA;AAAA;AAAA,WAIpB,yBAAU,YAAY;AAAA,yBACR,yBAAU,YAAY;AAAA;AAU/C,IAAM,UAAU,CAAC;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,MAAoB;AAChB,QAAM,iBAAa,qCAAY,wCAAgB;AAC/C,QAAM,iBAAa,sBAA8B,IAAI;AAMrD,QAAM,2BAAuB;AAAA,IACzB,CAAC,UAAsD;AACnD,YAAM,cAAkC;AAAA,QACpC;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACJ;AAEA,aAAO,MAAM,IAAI,CAAC,SAAS,cAAM,aAAa,MAAM,WAAW,CAAC;AAAA,IACpE;AAAA,IACA,CAAC,aAAa,cAAc,YAAY,MAAM,MAAM;AAAA,EACxD;AAEA,QAA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AAEA,QAAQ,cAAc;AACtB,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
@@ -3,45 +3,45 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
dashboard_ui_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RQY6BB7F.js";
|
|
7
7
|
import {
|
|
8
8
|
Menu_default,
|
|
9
9
|
Menu_exports
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GFSNM45K.js";
|
|
11
11
|
import {
|
|
12
12
|
StyledDropdownButton
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FREEN2T3.js";
|
|
14
14
|
import {
|
|
15
15
|
Dropdown_default,
|
|
16
16
|
Dropdown_exports,
|
|
17
17
|
useDropdown_default
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VCWH2JHM.js";
|
|
19
19
|
import {
|
|
20
20
|
dashboard_context_exports
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HOKI2CUB.js";
|
|
22
22
|
import {
|
|
23
23
|
i18n_exports
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GAXH7J77.js";
|
|
25
25
|
import {
|
|
26
26
|
prepareIcon
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-47MSCQAS.js";
|
|
28
28
|
import {
|
|
29
29
|
Item_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XIZP3DYZ.js";
|
|
31
31
|
import {
|
|
32
32
|
dashboard_state_exports
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RZJ2PCV4.js";
|
|
34
34
|
import {
|
|
35
35
|
themes_exports
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-IIPBKMJD.js";
|
|
37
37
|
import {
|
|
38
38
|
react_default,
|
|
39
39
|
react_exports
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2QBSLWJJ.js";
|
|
41
41
|
import {
|
|
42
42
|
styled_components_default,
|
|
43
43
|
styled_components_exports
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-O74T4JNL.js";
|
|
45
45
|
import {
|
|
46
46
|
__export,
|
|
47
47
|
__reExport
|
|
@@ -81,7 +81,10 @@ var ButtonToggle = /* @__PURE__ */ react_default.createElement(
|
|
|
81
81
|
icon: chartsDropdown
|
|
82
82
|
}
|
|
83
83
|
);
|
|
84
|
-
var focusToggleReasons = [
|
|
84
|
+
var focusToggleReasons = [
|
|
85
|
+
"escapeKey",
|
|
86
|
+
"tabKey"
|
|
87
|
+
];
|
|
85
88
|
var getVisualizationListFromTaxonomy = ({
|
|
86
89
|
taxonomy,
|
|
87
90
|
handleCreateVisualization
|
|
@@ -196,4 +199,4 @@ export {
|
|
|
196
199
|
getVisualizationListFromTaxonomy,
|
|
197
200
|
Charts_default
|
|
198
201
|
};
|
|
199
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-ZSBWP6MR.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["esm-externals:@splunk/react-icons/ChartColumn", "../../src/buttons/Charts.tsx"],
|
|
4
|
+
"sourcesContent": ["\nimport * as defaultImport from \"@splunk/react-icons/ChartColumn\";\nexport * from \"@splunk/react-icons/ChartColumn\";\nexport default ('default' in defaultImport ? defaultImport.default : defaultImport);\n", "import React, { useCallback, useMemo } from 'react';\nimport { _ } from '@splunk/ui-utils/i18n';\nimport styled from 'styled-components';\nimport Dropdown, {\n type DropdownChildrenRenderer,\n type DropdownPossibleCloseReason,\n} from '@splunk/react-ui/Dropdown';\nimport Menu from '@splunk/react-ui/Menu';\nimport { SplunkThemeProvider, useSplunkTheme } from '@splunk/themes';\n\nimport AddChartDropdown from '@splunk/react-icons/ChartColumn';\n\nimport { VisualizationFilter, type Taxonomy } from '@splunk/dashboard-ui';\nimport { useFeatureFlags } from '@splunk/dashboard-context';\nimport { batch } from '@splunk/dashboard-state';\nimport ToolbarItem from '../Item';\nimport useDropdown from '../hooks/useDropdown';\nimport type { ToolbarButtonProps } from '../types/common';\nimport { prepareIcon } from '../IconButton';\nimport { StyledDropdownButton } from '../components/StyledButton';\n\ninterface ScrollableMenuProps {\n maxHeight?: number | null;\n}\n\nconst ScrollableMenu = styled(Menu).attrs<ScrollableMenuProps>(\n ({ maxHeight }) => ({\n style: {\n maxHeight: maxHeight ?? undefined,\n },\n })\n)<ScrollableMenuProps>`\n overflow-y: auto;\n`;\n\nconst chartsDropdown = prepareIcon({\n Icon: AddChartDropdown,\n isMenu: true,\n screenReaderContent: _('Add chart'),\n});\n\nconst ButtonToggle = (\n <StyledDropdownButton\n data-test=\"charts-button\"\n data-clickable\n appearance=\"subtle\"\n icon={chartsDropdown}\n />\n);\n\nconst focusToggleReasons: DropdownPossibleCloseReason[] = [\n 'escapeKey',\n 'tabKey',\n];\n\ntype Visualizations = Taxonomy[number]['visualizations'];\n\n/**\n * export for unit testing\n * @private\n */\nexport const getVisualizationListFromTaxonomy = ({\n taxonomy,\n handleCreateVisualization,\n}: {\n taxonomy: Taxonomy;\n handleCreateVisualization: (opt: {\n type: string;\n options: Record<string, unknown>;\n }) => () => void;\n}): JSX.Element[] =>\n taxonomy.reduce(\n (list: React.ReactElement[], { visualizations, category }) => {\n const availableVisualizations: Visualizations =\n visualizations.filter((props) => props.includeInToolbar);\n\n if (availableVisualizations.length === 0) {\n return list;\n }\n\n list.push(<Menu.Divider key={`menu-divider-${category}`} />);\n\n return list.concat(\n availableVisualizations.map((vizProps) => {\n const { label, type, initialOptions } = vizProps;\n const Icon = vizProps.icon as React.JSXElementConstructor<\n Record<string, unknown>\n > | null;\n\n if (!type) {\n return null;\n }\n\n const onClick = handleCreateVisualization({\n type,\n options: initialOptions as Record<string, unknown>,\n });\n\n return (\n <Menu.Item\n data-test={`add-${type}-button`}\n data-test-clickable\n onClick={onClick}\n startAdornment={!!Icon && <Icon size=\"18px\" />}\n key={`add-${type}-button`}\n >\n {label}\n </Menu.Item>\n );\n }) as JSX.Element[]\n );\n },\n []\n );\n\n/**\n * Charts button that has a dropdown menu.\n */\nconst Charts = ({ dashboardApi, preset }: ToolbarButtonProps): JSX.Element => {\n const { showNewDataForViz = true } = useFeatureFlags();\n\n const { family } = useSplunkTheme();\n const { handleForceClose, handleRequestClose, handleRequestOpen, isOpen } =\n useDropdown({\n isContentClickClose: false,\n });\n\n const taxonomy: Taxonomy = useMemo(\n () => new VisualizationFilter(preset).taxonomy,\n [preset]\n );\n\n const handleCreateVisualization = useCallback(\n ({\n type,\n options,\n }: {\n type: string;\n options: Record<string, unknown>;\n }) =>\n () => {\n batch(() => {\n dashboardApi?.createVisualization({\n visualizationDefinition: { type, options },\n });\n\n if (showNewDataForViz) {\n dashboardApi?.openPanel({\n activePanel: 'connectData',\n panelProps: {\n bindingType: 'primary',\n from: {\n activePanel: 'config',\n },\n },\n });\n }\n });\n\n handleForceClose();\n },\n [dashboardApi, showNewDataForViz, handleForceClose]\n );\n\n const visualizationList = useMemo(\n () =>\n getVisualizationListFromTaxonomy({\n taxonomy,\n handleCreateVisualization,\n }),\n [taxonomy, handleCreateVisualization]\n );\n\n const renderScrollableMenu = useCallback<DropdownChildrenRenderer>(\n ({ maxHeight }) => (\n <SplunkThemeProvider\n density={family === 'enterprise' ? 'comfortable' : 'compact'}\n >\n <ScrollableMenu\n maxHeight={maxHeight}\n data-test=\"add-chart-menu\"\n >\n {visualizationList}\n </ScrollableMenu>\n </SplunkThemeProvider>\n ),\n [family, visualizationList]\n );\n\n return (\n <ToolbarItem>\n <Dropdown\n focusToggleReasons={focusToggleReasons}\n onRequestClose={handleRequestClose}\n onRequestOpen={handleRequestOpen}\n open={isOpen}\n toggle={ButtonToggle}\n >\n {renderScrollableMenu}\n </Dropdown>\n </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AAAA,MAAC;AAAA;AAAA,QACG,SAAS,WAAW,eAAe,gBAAgB;AAAA;AAAA,MAEnD;AAAA,QAAC;AAAA;AAAA,UACG;AAAA,UACA,aAAU;AAAA;AAAA,QAET;AAAA,MACL;AAAA,IACJ;AAAA,IAEJ,CAAC,QAAQ,iBAAiB;AAAA,EAC9B;AAEA,SACI,4CAAC,oBACG;AAAA,IAAC;AAAA;AAAA,MACG;AAAA,MACA,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,MAAM;AAAA,MACN,QAAQ;AAAA;AAAA,IAEP;AAAA,EACL,CACJ;AAER;AAEA,IAAO,iBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,12 +3,12 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
ActionsGroup_default
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-UOT4CE2C.js";
|
|
7
|
+
import "../chunks/chunk-GFSNM45K.js";
|
|
8
|
+
import "../chunks/chunk-VCWH2JHM.js";
|
|
9
|
+
import "../chunks/chunk-GAXH7J77.js";
|
|
10
|
+
import "../chunks/chunk-5D7CUYUH.js";
|
|
11
|
+
import "../chunks/chunk-2QBSLWJJ.js";
|
|
12
12
|
import "../chunks/chunk-VQIRZ53C.js";
|
|
13
13
|
export {
|
|
14
14
|
ActionsGroup_default as default
|
|
@@ -3,47 +3,47 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
ControlGroup_default
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
16
|
-
import "../chunks/chunk-
|
|
17
|
-
import "../chunks/chunk-
|
|
18
|
-
import "../chunks/chunk-
|
|
19
|
-
import "../chunks/chunk-
|
|
20
|
-
import "../chunks/chunk-
|
|
21
|
-
import "../chunks/chunk-
|
|
22
|
-
import "../chunks/chunk-
|
|
23
|
-
import "../chunks/chunk-
|
|
24
|
-
import "../chunks/chunk-
|
|
25
|
-
import "../chunks/chunk-
|
|
26
|
-
import "../chunks/chunk-
|
|
27
|
-
import "../chunks/chunk-
|
|
28
|
-
import "../chunks/chunk-
|
|
29
|
-
import "../chunks/chunk-
|
|
30
|
-
import "../chunks/chunk-
|
|
31
|
-
import "../chunks/chunk-
|
|
32
|
-
import "../chunks/chunk-
|
|
33
|
-
import "../chunks/chunk-
|
|
34
|
-
import "../chunks/chunk-
|
|
35
|
-
import "../chunks/chunk-
|
|
36
|
-
import "../chunks/chunk-
|
|
37
|
-
import "../chunks/chunk-
|
|
38
|
-
import "../chunks/chunk-
|
|
39
|
-
import "../chunks/chunk-
|
|
40
|
-
import "../chunks/chunk-
|
|
41
|
-
import "../chunks/chunk-
|
|
42
|
-
import "../chunks/chunk-
|
|
43
|
-
import "../chunks/chunk-
|
|
44
|
-
import "../chunks/chunk-
|
|
45
|
-
import "../chunks/chunk-
|
|
46
|
-
import "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-PVT2JFAW.js";
|
|
7
|
+
import "../chunks/chunk-ILJYO5B3.js";
|
|
8
|
+
import "../chunks/chunk-2OAGCVHC.js";
|
|
9
|
+
import "../chunks/chunk-NKC5QFQ5.js";
|
|
10
|
+
import "../chunks/chunk-56627Y63.js";
|
|
11
|
+
import "../chunks/chunk-6SUOFSGJ.js";
|
|
12
|
+
import "../chunks/chunk-MTPPRK4H.js";
|
|
13
|
+
import "../chunks/chunk-KUPEYUWA.js";
|
|
14
|
+
import "../chunks/chunk-JOFJS4UX.js";
|
|
15
|
+
import "../chunks/chunk-4Y6PRJOC.js";
|
|
16
|
+
import "../chunks/chunk-6MLJBCIJ.js";
|
|
17
|
+
import "../chunks/chunk-ACSHFRXI.js";
|
|
18
|
+
import "../chunks/chunk-MWYPBMHI.js";
|
|
19
|
+
import "../chunks/chunk-IITJ2NKO.js";
|
|
20
|
+
import "../chunks/chunk-C3NA7YCT.js";
|
|
21
|
+
import "../chunks/chunk-BSXRAEA2.js";
|
|
22
|
+
import "../chunks/chunk-WADWICSE.js";
|
|
23
|
+
import "../chunks/chunk-2KBENXG3.js";
|
|
24
|
+
import "../chunks/chunk-OQXE7KAJ.js";
|
|
25
|
+
import "../chunks/chunk-VE4HUG27.js";
|
|
26
|
+
import "../chunks/chunk-Q67T3UVN.js";
|
|
27
|
+
import "../chunks/chunk-X4VCE6GS.js";
|
|
28
|
+
import "../chunks/chunk-4CPQH3IK.js";
|
|
29
|
+
import "../chunks/chunk-JGTSF7O4.js";
|
|
30
|
+
import "../chunks/chunk-OSX3RDKV.js";
|
|
31
|
+
import "../chunks/chunk-MRXRYL4Y.js";
|
|
32
|
+
import "../chunks/chunk-D27CPPHI.js";
|
|
33
|
+
import "../chunks/chunk-ZSBWP6MR.js";
|
|
34
|
+
import "../chunks/chunk-RQY6BB7F.js";
|
|
35
|
+
import "../chunks/chunk-GFSNM45K.js";
|
|
36
|
+
import "../chunks/chunk-FREEN2T3.js";
|
|
37
|
+
import "../chunks/chunk-VCWH2JHM.js";
|
|
38
|
+
import "../chunks/chunk-HOKI2CUB.js";
|
|
39
|
+
import "../chunks/chunk-GAXH7J77.js";
|
|
40
|
+
import "../chunks/chunk-47MSCQAS.js";
|
|
41
|
+
import "../chunks/chunk-5D7CUYUH.js";
|
|
42
|
+
import "../chunks/chunk-XIZP3DYZ.js";
|
|
43
|
+
import "../chunks/chunk-RZJ2PCV4.js";
|
|
44
|
+
import "../chunks/chunk-IIPBKMJD.js";
|
|
45
|
+
import "../chunks/chunk-2QBSLWJJ.js";
|
|
46
|
+
import "../chunks/chunk-O74T4JNL.js";
|
|
47
47
|
import "../chunks/chunk-VQIRZ53C.js";
|
|
48
48
|
export {
|
|
49
49
|
ControlGroup_default as default
|
|
@@ -3,47 +3,47 @@ SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
|
|
|
3
3
|
in part without a valid written license from Splunk Inc. is PROHIBITED. */
|
|
4
4
|
import {
|
|
5
5
|
EditingGroup_default
|
|
6
|
-
} from "../chunks/chunk-
|
|
7
|
-
import "../chunks/chunk-
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
14
|
-
import "../chunks/chunk-
|
|
15
|
-
import "../chunks/chunk-
|
|
16
|
-
import "../chunks/chunk-
|
|
17
|
-
import "../chunks/chunk-
|
|
18
|
-
import "../chunks/chunk-
|
|
19
|
-
import "../chunks/chunk-
|
|
20
|
-
import "../chunks/chunk-
|
|
21
|
-
import "../chunks/chunk-
|
|
22
|
-
import "../chunks/chunk-
|
|
23
|
-
import "../chunks/chunk-
|
|
24
|
-
import "../chunks/chunk-
|
|
25
|
-
import "../chunks/chunk-
|
|
26
|
-
import "../chunks/chunk-
|
|
27
|
-
import "../chunks/chunk-
|
|
28
|
-
import "../chunks/chunk-
|
|
29
|
-
import "../chunks/chunk-
|
|
30
|
-
import "../chunks/chunk-
|
|
31
|
-
import "../chunks/chunk-
|
|
32
|
-
import "../chunks/chunk-
|
|
33
|
-
import "../chunks/chunk-
|
|
34
|
-
import "../chunks/chunk-
|
|
35
|
-
import "../chunks/chunk-
|
|
36
|
-
import "../chunks/chunk-
|
|
37
|
-
import "../chunks/chunk-
|
|
38
|
-
import "../chunks/chunk-
|
|
39
|
-
import "../chunks/chunk-
|
|
40
|
-
import "../chunks/chunk-
|
|
41
|
-
import "../chunks/chunk-
|
|
42
|
-
import "../chunks/chunk-
|
|
43
|
-
import "../chunks/chunk-
|
|
44
|
-
import "../chunks/chunk-
|
|
45
|
-
import "../chunks/chunk-
|
|
46
|
-
import "../chunks/chunk-
|
|
6
|
+
} from "../chunks/chunk-H7C24E7Q.js";
|
|
7
|
+
import "../chunks/chunk-ILJYO5B3.js";
|
|
8
|
+
import "../chunks/chunk-2OAGCVHC.js";
|
|
9
|
+
import "../chunks/chunk-NKC5QFQ5.js";
|
|
10
|
+
import "../chunks/chunk-56627Y63.js";
|
|
11
|
+
import "../chunks/chunk-6SUOFSGJ.js";
|
|
12
|
+
import "../chunks/chunk-MTPPRK4H.js";
|
|
13
|
+
import "../chunks/chunk-KUPEYUWA.js";
|
|
14
|
+
import "../chunks/chunk-JOFJS4UX.js";
|
|
15
|
+
import "../chunks/chunk-4Y6PRJOC.js";
|
|
16
|
+
import "../chunks/chunk-6MLJBCIJ.js";
|
|
17
|
+
import "../chunks/chunk-ACSHFRXI.js";
|
|
18
|
+
import "../chunks/chunk-MWYPBMHI.js";
|
|
19
|
+
import "../chunks/chunk-IITJ2NKO.js";
|
|
20
|
+
import "../chunks/chunk-C3NA7YCT.js";
|
|
21
|
+
import "../chunks/chunk-BSXRAEA2.js";
|
|
22
|
+
import "../chunks/chunk-WADWICSE.js";
|
|
23
|
+
import "../chunks/chunk-2KBENXG3.js";
|
|
24
|
+
import "../chunks/chunk-OQXE7KAJ.js";
|
|
25
|
+
import "../chunks/chunk-VE4HUG27.js";
|
|
26
|
+
import "../chunks/chunk-Q67T3UVN.js";
|
|
27
|
+
import "../chunks/chunk-X4VCE6GS.js";
|
|
28
|
+
import "../chunks/chunk-4CPQH3IK.js";
|
|
29
|
+
import "../chunks/chunk-JGTSF7O4.js";
|
|
30
|
+
import "../chunks/chunk-OSX3RDKV.js";
|
|
31
|
+
import "../chunks/chunk-MRXRYL4Y.js";
|
|
32
|
+
import "../chunks/chunk-D27CPPHI.js";
|
|
33
|
+
import "../chunks/chunk-ZSBWP6MR.js";
|
|
34
|
+
import "../chunks/chunk-RQY6BB7F.js";
|
|
35
|
+
import "../chunks/chunk-GFSNM45K.js";
|
|
36
|
+
import "../chunks/chunk-FREEN2T3.js";
|
|
37
|
+
import "../chunks/chunk-VCWH2JHM.js";
|
|
38
|
+
import "../chunks/chunk-HOKI2CUB.js";
|
|
39
|
+
import "../chunks/chunk-GAXH7J77.js";
|
|
40
|
+
import "../chunks/chunk-47MSCQAS.js";
|
|
41
|
+
import "../chunks/chunk-5D7CUYUH.js";
|
|
42
|
+
import "../chunks/chunk-XIZP3DYZ.js";
|
|
43
|
+
import "../chunks/chunk-RZJ2PCV4.js";
|
|
44
|
+
import "../chunks/chunk-IIPBKMJD.js";
|
|
45
|
+
import "../chunks/chunk-2QBSLWJJ.js";
|
|
46
|
+
import "../chunks/chunk-O74T4JNL.js";
|
|
47
47
|
import "../chunks/chunk-VQIRZ53C.js";
|
|
48
48
|
export {
|
|
49
49
|
EditingGroup_default as default
|