impact-ui 5.0.1-chart.1 → 5.0.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/Check.js +4 -0
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +8 -4
- package/dist/components/Chart/index.d.ts +1 -4
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +3 -43
- package/dist/components/Panel/Panel.types.d.ts +7 -0
- package/dist/components/Panel/Panel.types.d.ts.map +1 -1
- package/dist/components/Panel/index.d.ts +1 -1
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/index.js +5 -2
- package/dist/components/TableChat/EmptyContainer.js +3 -3
- package/dist/components/TableChat/TableChatSidePanel.d.ts +2 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +214 -23
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +4 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +55 -24
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +3 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts +11 -0
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts.map +1 -0
- package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +57 -0
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +20 -43
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +37 -2
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +54 -18
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +4 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +90 -81
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +11 -4
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +67 -56
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +8 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +170 -4
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts +12 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts.map +1 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +132 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +5 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +138 -124
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +11 -9
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +102 -106
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +0 -17
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +4 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.js +29 -0
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +327 -215
- package/dist/components/TableChat/components/chatConfig.js +0 -1
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/TableV36/filterUtils.d.ts +21 -0
- package/dist/components/TableV36/filterUtils.d.ts.map +1 -1
- package/dist/components/TableV36/filterUtils.js +126 -16
- package/dist/components/TableV36/filterUtils.test.d.ts +2 -0
- package/dist/components/TableV36/filterUtils.test.d.ts.map +1 -0
- package/dist/components/TableV36/index.d.ts.map +1 -1
- package/dist/components/TableV36/index.js +140 -12
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
- package/dist/components/TableV36/tableFunctions.js +73 -17
- package/dist/components/TableV36/tableHeader.d.ts +5 -1
- package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
- package/dist/components/TableV36/tableHeader.js +36 -11
- package/dist/components/TableV36/withChatIndicator.d.ts +3 -0
- package/dist/components/TableV36/withChatIndicator.d.ts.map +1 -0
- package/dist/components/TableV36/withChatIndicator.js +89 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/de-DE.json.d.ts +17 -3
- package/dist/locales/de-DE.json.js +16 -3
- package/dist/locales/en-US.json.d.ts +17 -3
- package/dist/locales/en-US.json.js +16 -3
- package/dist/locales/es-ES.json.d.ts +17 -3
- package/dist/locales/es-ES.json.js +16 -3
- package/dist/mcp-component-registry.json +8 -7
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +6 -2
- package/dist/node_modules/@mui/icons-material/Check.js +17 -0
- package/dist/stories/tableV36ChatApiMock.d.ts +222 -74
- package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
- package/dist/utils/helper.d.ts +2 -0
- package/dist/utils/helper.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +0 -65
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}.MuiChip-root.impact_badges_icon_label_filled{background:#5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_filled .MuiChip-label{color:#fff;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_filled.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_filled.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_filled svg{color:#fff!important;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_filled.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_filled:hover{background:#5f6673}.MuiChip-root.impact_badges_only_icon_filled{background:#5f6673;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_filled.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_filled svg{color:#fff;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_filled span{display:none}.MuiChip-root.impact_badges_only_icon_filled.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_filled:hover{background:#5f6673}.MuiChip-root.impact_badges_only_label_filled{background:#5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_filled .MuiChip-label{color:#fff;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_filled.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_filled.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_filled svg{cursor:default!important;height:14px;width:14px}.MuiChip-root.impact_badges_only_label_filled.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_filled:hover{background:#5f6673}.MuiChip-root.info-badge-filled,.MuiChip-root.info-badge-filled.Mui-focusVisible,.MuiChip-root.info-badge-filled:hover{background:#5267f4}.MuiChip-root.success-badge-filled,.MuiChip-root.success-badge-filled.Mui-focusVisible,.MuiChip-root.success-badge-filled:hover{background:#108431}.MuiChip-root.warning-badge-filled,.MuiChip-root.warning-badge-filled.Mui-focusVisible,.MuiChip-root.warning-badge-filled:hover{background:#ffe174}.MuiChip-root.warning-badge-filled .MuiChip-label{color:#1f2b4d}.MuiChip-root.warning-badge-filled svg{color:#1f2b4d!important}.MuiChip-root.error-badge-filled,.MuiChip-root.error-badge-filled.Mui-focusVisible,.MuiChip-root.error-badge-filled:hover{background:#ec4c5c}.MuiChip-root.impact_badges_icon_label_stroke{background:#fff;border:1px solid #5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_stroke .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_stroke.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_stroke.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_stroke svg{color:#5f6673;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_stroke:hover{background:#fff}.MuiChip-root.impact_badges_only_icon_stroke{background:#fff;border:1px solid #c3c8d4;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_stroke.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_stroke svg{color:#5f6673;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_stroke span{display:none}.MuiChip-root.impact_badges_only_icon_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_stroke:hover{background:#f5f6fa}.MuiChip-root.impact_badges_only_label_stroke{background:#fff;border:1px solid #5f6673;height:24px!important;max-width:max-content;min-height:24px;padding:2px 8px}.MuiChip-root.impact_badges_only_label_stroke .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_stroke.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_stroke.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_stroke:hover{background:#fff}.MuiChip-root.info-badge-stroke{background:#fff;border:1px solid #5267f4}.MuiChip-root.info-badge-stroke .MuiChip-label,.MuiChip-root.info-badge-stroke svg{color:#4259ee}.MuiChip-root.info-badge-stroke.Mui-focusVisible,.MuiChip-root.info-badge-stroke:hover{background-color:#fff}.MuiChip-root.success-badge-stroke{background:#fff;border:1px solid #108431}.MuiChip-root.success-badge-stroke .MuiChip-label,.MuiChip-root.success-badge-stroke svg{color:#108431}.MuiChip-root.success-badge-stroke.Mui-focusVisible,.MuiChip-root.success-badge-stroke:hover{background:#fff}.MuiChip-root.warning-badge-stroke{background:#fff;border:1px solid #8c6f06}.MuiChip-root.warning-badge-stroke .MuiChip-label,.MuiChip-root.warning-badge-stroke svg{color:#8c6f06}.MuiChip-root.warning-badge-stroke.Mui-focusVisible,.MuiChip-root.warning-badge-stroke:hover{background:#fff}.MuiChip-root.error-badge-stroke{background:#fff;border:1px solid #d62f2d}.MuiChip-root.error-badge-stroke .MuiChip-label,.MuiChip-root.error-badge-stroke svg{color:#d62f2d}.MuiChip-root.error-badge-stroke.Mui-focusVisible,.MuiChip-root.error-badge-stroke:hover{background:#fff}.MuiChip-root.impact_badges_icon_label_subtle{background:#f2f3f4;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_subtle .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_subtle.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_subtle.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_subtle svg{color:#5f6673!important;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_subtle:hover{background:#f2f3f4}.MuiChip-root.info-badge-subtle svg{color:#5267f4!important}.MuiChip-root.success-badge-subtle svg{color:#0b832f!important}.MuiChip-root.warning-badge-subtle svg{color:#8c6f06!important}.MuiChip-root.error-badge-subtle svg{color:#d62f2d!important}.MuiChip-root.impact_badges_only_icon_subtle{background:#5f6673;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_subtle.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_subtle svg{color:#fff;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_subtle span{display:none}.MuiChip-root.impact_badges_only_icon_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_subtle:hover{background:#5f6673}.MuiChip-root.impact_badges_only_label_subtle{background:#f2f3f4;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_subtle .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_subtle.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_subtle.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_subtle svg{cursor:default!important;height:14px;width:14px}.MuiChip-root.impact_badges_only_label_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_subtle:hover{background:#f2f3f4}.MuiChip-root.info-badge-subtle{background:#f1f3fe}.MuiChip-root.info-badge-subtle .MuiChip-label{color:#5267f4}.MuiChip-root.info-badge-subtle.Mui-focusVisible,.MuiChip-root.info-badge-subtle:hover{background:#f1f3fe}.MuiChip-root.success-badge-subtle{background:#f4fff7}.MuiChip-root.success-badge-subtle .MuiChip-label{color:#0b832f}.MuiChip-root.success-badge-subtle.Mui-focusVisible,.MuiChip-root.success-badge-subtle:hover{background:#f4fff7}.MuiChip-root.warning-badge-subtle{background:#fdfae9}.MuiChip-root.warning-badge-subtle .MuiChip-label{color:#8c6f06}.MuiChip-root.warning-badge-subtle.Mui-focusVisible,.MuiChip-root.warning-badge-subtle:hover{background:#fdfae9}.MuiChip-root.error-badge-subtle{background:#fef4f5}.MuiChip-root.error-badge-subtle .MuiChip-label{color:#d62f2d}.MuiChip-root.error-badge-subtle.Mui-focusVisible,.MuiChip-root.error-badge-subtle:hover{background:#fef4f5}.MuiChip-root{font-family:Manrope,sans-serif!important}.MuiChip-root:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.MuiChip-root:focus:not(:focus-visible){box-shadow:none;outline:none}.MuiChip-root.Mui-disabled:focus-visible,.MuiChip-root.ia-btn-disabled:focus-visible,.MuiChip-root.ia-switch-disabled:focus-visible,.MuiChip-root.impact-select-disabled:focus-visible,.MuiChip-root.impact_input_disabled:focus-visible,.MuiChip-root.route-disabled:focus-visible,.MuiChip-root:disabled:focus-visible,.MuiChip-root[aria-disabled=true]:focus-visible{box-shadow:none;outline:none}.MuiChip-root.Mui-disabled{background-color:#f8f9fb!important;opacity:1!important}.MuiChip-root.Mui-disabled .MuiChip-label,.MuiChip-root.Mui-disabled svg{color:#b4bac7!important}.MuiChip-root.impact_badges_icon_label_filled .MuiChip-label,.MuiChip-root.impact_badges_icon_label_stroke .MuiChip-label,.MuiChip-root.impact_badges_icon_label_subtle .MuiChip-label,.MuiChip-root.impact_badges_only_label_filled.small-badge .MuiChip-label,.MuiChip-root.impact_badges_only_label_stroke.small-badge .MuiChip-label,.MuiChip-root.impact_badges_only_label_subtle.small-badge .MuiChip-label{font-size:12px}.MuiChip-root.impact_badges_icon_label_filled svg,.MuiChip-root.impact_badges_icon_label_stroke svg,.MuiChip-root.impact_badges_icon_label_subtle svg,.MuiChip-root.impact_badges_only_label_filled.small-badge svg,.MuiChip-root.impact_badges_only_label_stroke.small-badge svg,.MuiChip-root.impact_badges_only_label_subtle.small-badge svg{height:14px;width:14px}.MuiChip-root.impact_badges_icon_label_stroke.Mui-disabled,.MuiChip-root.impact_badges_only_label_stroke.Mui-disabled{border-color:#d9dde7!important}\n.impact_toast.MuiChip-root{background:#ebecf0;border-radius:4px;box-sizing:border-box;color:#758490;font-size:12px;height:26px;padding:4px 8px}.impact_toast.MuiChip-root.small_chip{height:22px;padding:2px 4px}.impact_toast.MuiChip-root span{padding:0}.impact_toast.MuiChip-root.MuiChip-deletable span{padding-right:8px}.impact_toast.MuiChip-root.MuiChip-deletable svg.MuiChip-deleteIcon{height:16px;margin:0;width:16px}.impact_toast.MuiChip-root.small_chip svg.MuiChip-deleteIcon{height:12px;margin:0;width:12px}.impact_toast.MuiChip-root.MuiChip-deletable:hover{background:#e2e4ed;cursor:pointer}.impact_toast.MuiChip-root.Mui-disabled{background:#efefef;color:#c7c7c7;opacity:1}.impact_chip_layout{border:1px solid #d4d4d4;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;margin:0 15px!important;padding:15px;width:100%}.impact_chip_layout h1{font-weight:600;margin-bottom:15px}')),document.head.appendChild(i)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}.MuiChip-root.impact_badges_icon_label_filled{background:#5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_filled .MuiChip-label{color:#fff;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_filled.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_filled.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_filled svg{color:#fff!important;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_filled.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_filled:hover{background:#5f6673}.MuiChip-root.impact_badges_only_icon_filled{background:#5f6673;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_filled.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_filled svg{color:#fff;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_filled span{display:none}.MuiChip-root.impact_badges_only_icon_filled.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_filled:hover{background:#5f6673}.MuiChip-root.impact_badges_only_label_filled{background:#5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_filled .MuiChip-label{color:#fff;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_filled.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_filled.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_filled svg{cursor:default!important;height:14px;width:14px}.MuiChip-root.impact_badges_only_label_filled.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_filled:hover{background:#5f6673}.MuiChip-root.info-badge-filled,.MuiChip-root.info-badge-filled.Mui-focusVisible,.MuiChip-root.info-badge-filled:hover{background:#5267f4}.MuiChip-root.success-badge-filled,.MuiChip-root.success-badge-filled.Mui-focusVisible,.MuiChip-root.success-badge-filled:hover{background:#108431}.MuiChip-root.warning-badge-filled,.MuiChip-root.warning-badge-filled.Mui-focusVisible,.MuiChip-root.warning-badge-filled:hover{background:#ffe174}.MuiChip-root.warning-badge-filled .MuiChip-label{color:#1f2b4d}.MuiChip-root.warning-badge-filled svg{color:#1f2b4d!important}.MuiChip-root.error-badge-filled,.MuiChip-root.error-badge-filled.Mui-focusVisible,.MuiChip-root.error-badge-filled:hover{background:#ec4c5c}.MuiChip-root.impact_badges_icon_label_stroke{background:#fff;border:1px solid #5f6673;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_stroke .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_stroke.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_stroke.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_stroke svg{color:#5f6673;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_stroke:hover{background:#fff}.MuiChip-root.impact_badges_only_icon_stroke{background:#fff;border:1px solid #c3c8d4;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_stroke.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_stroke svg{color:#5f6673;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_stroke span{display:none}.MuiChip-root.impact_badges_only_icon_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_stroke:hover{background:#f5f6fa}.MuiChip-root.impact_badges_only_label_stroke{background:#fff;border:1px solid #5f6673;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_stroke .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_stroke.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_stroke.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_stroke:hover{background:#fff}.MuiChip-root.info-badge-stroke{background:#fff;border:1px solid #5267f4}.MuiChip-root.info-badge-stroke .MuiChip-label,.MuiChip-root.info-badge-stroke svg{color:#4259ee}.MuiChip-root.info-badge-stroke.Mui-focusVisible,.MuiChip-root.info-badge-stroke:hover{background-color:#fff}.MuiChip-root.success-badge-stroke{background:#fff;border:1px solid #108431}.MuiChip-root.success-badge-stroke .MuiChip-label,.MuiChip-root.success-badge-stroke svg{color:#108431}.MuiChip-root.success-badge-stroke.Mui-focusVisible,.MuiChip-root.success-badge-stroke:hover{background:#fff}.MuiChip-root.warning-badge-stroke{background:#fff;border:1px solid #8c6f06}.MuiChip-root.warning-badge-stroke .MuiChip-label,.MuiChip-root.warning-badge-stroke svg{color:#8c6f06}.MuiChip-root.warning-badge-stroke.Mui-focusVisible,.MuiChip-root.warning-badge-stroke:hover{background:#fff}.MuiChip-root.error-badge-stroke{background:#fff;border:1px solid #d62f2d}.MuiChip-root.error-badge-stroke .MuiChip-label,.MuiChip-root.error-badge-stroke svg{color:#d62f2d}.MuiChip-root.error-badge-stroke.Mui-focusVisible,.MuiChip-root.error-badge-stroke:hover{background:#fff}.MuiChip-root.impact_badges_icon_label_subtle{background:#f2f3f4;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_icon_label_subtle .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_icon_label_subtle.small-badge{height:20px}.MuiChip-root.impact_badges_icon_label_subtle.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_icon_label_subtle svg{color:#5f6673!important;font-size:14px!important;height:14px;margin:0 6px 0 0!important;width:14px}.MuiChip-root.impact_badges_icon_label_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_icon_label_subtle:hover{background:#f2f3f4}.MuiChip-root.info-badge-subtle svg{color:#5267f4!important}.MuiChip-root.success-badge-subtle svg{color:#0b832f!important}.MuiChip-root.warning-badge-subtle svg{color:#8c6f06!important}.MuiChip-root.error-badge-subtle svg{color:#d62f2d!important}.MuiChip-root.impact_badges_only_icon_subtle{background:#5f6673;cursor:default!important;height:24px;max-width:24px;padding:4px;width:24px}.MuiChip-root.impact_badges_only_icon_subtle.small-badge{height:20px;width:20px}.MuiChip-root.impact_badges_only_icon_subtle svg{color:#fff;font-size:14px!important;height:14px;margin:0!important;width:14px}.MuiChip-root.impact_badges_only_icon_subtle span{display:none}.MuiChip-root.impact_badges_only_icon_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_only_icon_subtle:hover{background:#5f6673}.MuiChip-root.impact_badges_only_label_subtle{background:#f2f3f4;cursor:default;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_subtle .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_subtle.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_subtle.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_subtle svg{cursor:default!important;height:14px;width:14px}.MuiChip-root.impact_badges_only_label_subtle.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_subtle:hover{background:#f2f3f4}.MuiChip-root.info-badge-subtle{background:#f1f3fe}.MuiChip-root.info-badge-subtle .MuiChip-label{color:#5267f4}.MuiChip-root.info-badge-subtle.Mui-focusVisible,.MuiChip-root.info-badge-subtle:hover{background:#f1f3fe}.MuiChip-root.success-badge-subtle{background:#f4fff7}.MuiChip-root.success-badge-subtle .MuiChip-label{color:#0b832f}.MuiChip-root.success-badge-subtle.Mui-focusVisible,.MuiChip-root.success-badge-subtle:hover{background:#f4fff7}.MuiChip-root.warning-badge-subtle{background:#fdfae9}.MuiChip-root.warning-badge-subtle .MuiChip-label{color:#8c6f06}.MuiChip-root.warning-badge-subtle.Mui-focusVisible,.MuiChip-root.warning-badge-subtle:hover{background:#fdfae9}.MuiChip-root.error-badge-subtle{background:#fef4f5}.MuiChip-root.error-badge-subtle .MuiChip-label{color:#d62f2d}.MuiChip-root.error-badge-subtle.Mui-focusVisible,.MuiChip-root.error-badge-subtle:hover{background:#fef4f5}.MuiChip-root{font-family:Manrope,sans-serif!important}.MuiChip-root:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.MuiChip-root:focus:not(:focus-visible){box-shadow:none;outline:none}.MuiChip-root.Mui-disabled:focus-visible,.MuiChip-root.ia-btn-disabled:focus-visible,.MuiChip-root.ia-switch-disabled:focus-visible,.MuiChip-root.impact-select-disabled:focus-visible,.MuiChip-root.impact_input_disabled:focus-visible,.MuiChip-root.route-disabled:focus-visible,.MuiChip-root:disabled:focus-visible,.MuiChip-root[aria-disabled=true]:focus-visible{box-shadow:none;outline:none}.MuiChip-root.Mui-disabled{background-color:#f8f9fb!important;opacity:1!important}.MuiChip-root.Mui-disabled .MuiChip-label,.MuiChip-root.Mui-disabled svg{color:#b4bac7!important}.MuiChip-root.impact_badges_icon_label_filled .MuiChip-label,.MuiChip-root.impact_badges_icon_label_stroke .MuiChip-label,.MuiChip-root.impact_badges_icon_label_subtle .MuiChip-label,.MuiChip-root.impact_badges_only_label_filled.small-badge .MuiChip-label,.MuiChip-root.impact_badges_only_label_stroke.small-badge .MuiChip-label,.MuiChip-root.impact_badges_only_label_subtle.small-badge .MuiChip-label{font-size:12px}.MuiChip-root.impact_badges_icon_label_filled svg,.MuiChip-root.impact_badges_icon_label_stroke svg,.MuiChip-root.impact_badges_icon_label_subtle svg,.MuiChip-root.impact_badges_only_label_filled.small-badge svg,.MuiChip-root.impact_badges_only_label_stroke.small-badge svg,.MuiChip-root.impact_badges_only_label_subtle.small-badge svg{height:14px;width:14px}.MuiChip-root.impact_badges_icon_label_stroke.Mui-disabled,.MuiChip-root.impact_badges_only_label_stroke.Mui-disabled{border-color:#d9dde7!important}\n.impact_toast.MuiChip-root{background:#ebecf0;border-radius:4px;box-sizing:border-box;color:#758490;font-size:12px;height:26px;padding:4px 8px}.impact_toast.MuiChip-root.small_chip{height:22px;padding:2px 4px}.impact_toast.MuiChip-root span{padding:0}.impact_toast.MuiChip-root.MuiChip-deletable span{padding-right:8px}.impact_toast.MuiChip-root.MuiChip-deletable svg.MuiChip-deleteIcon{height:16px;margin:0;width:16px}.impact_toast.MuiChip-root.small_chip svg.MuiChip-deleteIcon{height:12px;margin:0;width:12px}.impact_toast.MuiChip-root.MuiChip-deletable:hover{background:#e2e4ed;cursor:pointer}.impact_toast.MuiChip-root.Mui-disabled{background:#efefef;color:#c7c7c7;opacity:1}.impact_chip_layout{border:1px solid #d4d4d4;display:flex;flex-direction:column;flex-wrap:wrap;gap:20px;margin:0 15px!important;padding:15px;width:100%}.impact_chip_layout h1{font-weight:600;margin-bottom:15px}')),document.head.appendChild(i)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import FilledBadges from "./filled/index.js";
|
|
4
4
|
import StrokeBadges from "./stroke/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode(".MuiChip-root.impact_badges_only_label_stroke{background:#fff;border:1px solid #5f6673;height:24px
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var o=document.createElement("style");o.appendChild(document.createTextNode(".MuiChip-root.impact_badges_only_label_stroke{background:#fff;border:1px solid #5f6673;height:24px;max-width:max-content;padding:2px 8px}.MuiChip-root.impact_badges_only_label_stroke .MuiChip-label{color:#5f6673;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:20px;padding:0}.MuiChip-root.impact_badges_only_label_stroke.small-badge{height:20px}.MuiChip-root.impact_badges_only_label_stroke.small-badge .MuiChip-label{line-height:16px}.MuiChip-root.impact_badges_only_label_stroke.Mui-focusVisible,.MuiChip-root.impact_badges_only_label_stroke:hover{background:#fff}.MuiChip-root.info-badge-stroke{background:#fff;border:1px solid #5267f4}.MuiChip-root.info-badge-stroke .MuiChip-label,.MuiChip-root.info-badge-stroke svg{color:#4259ee}.MuiChip-root.info-badge-stroke.Mui-focusVisible,.MuiChip-root.info-badge-stroke:hover{background-color:#fff}.MuiChip-root.success-badge-stroke{background:#fff;border:1px solid #108431}.MuiChip-root.success-badge-stroke .MuiChip-label,.MuiChip-root.success-badge-stroke svg{color:#108431}.MuiChip-root.success-badge-stroke.Mui-focusVisible,.MuiChip-root.success-badge-stroke:hover{background:#fff}.MuiChip-root.warning-badge-stroke{background:#fff;border:1px solid #8c6f06}.MuiChip-root.warning-badge-stroke .MuiChip-label,.MuiChip-root.warning-badge-stroke svg{color:#8c6f06}.MuiChip-root.warning-badge-stroke.Mui-focusVisible,.MuiChip-root.warning-badge-stroke:hover{background:#fff}.MuiChip-root.error-badge-stroke{background:#fff;border:1px solid #d62f2d}.MuiChip-root.error-badge-stroke .MuiChip-label,.MuiChip-root.error-badge-stroke svg{color:#d62f2d}.MuiChip-root.error-badge-stroke.Mui-focusVisible,.MuiChip-root.error-badge-stroke:hover{background:#fff}")),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import Chip from "../../../../node_modules/@mui/material/Chip/Chip.js";
|
|
@@ -17,5 +17,6 @@ export interface BreadcrumbItem {
|
|
|
17
17
|
export interface BreadcrumbsProps extends BaseComponentProps, Omit<MUIBreadcrumbsProps, 'children' | 'className' | 'id'> {
|
|
18
18
|
/** List of breadcrumb items (first and last are always shown; middle items can be collapsed into "…" menu) */
|
|
19
19
|
list: BreadcrumbItem[];
|
|
20
|
+
showAllItems?: boolean;
|
|
20
21
|
}
|
|
21
22
|
//# sourceMappingURL=Breadcrumbs.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBACf,SAAQ,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,WAAW,GAAG,IAAI,CAAC;IACtF,8GAA8G;IAC9G,IAAI,EAAE,cAAc,EAAE,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,gBACf,SAAQ,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,WAAW,GAAG,IAAI,CAAC;IACtF,8GAA8G;IAC9G,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -6,7 +6,7 @@ export type { BreadcrumbsProps, BreadcrumbItem } from './Breadcrumbs.types';
|
|
|
6
6
|
* Long paths are collapsed: first item, "…" menu (middle items), then last item.
|
|
7
7
|
* "Home" label renders the Home icon by default.
|
|
8
8
|
*/
|
|
9
|
-
export declare function Breadcrumbs({ list, className, id, 'data-testid': dataTestId, ...rest }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function Breadcrumbs({ list, showAllItems, className, id, 'data-testid': dataTestId, ...rest }: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export declare namespace Breadcrumbs {
|
|
11
11
|
var displayName: string;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,SAAc,EACd,EAAE,EACF,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,2BAA2B,CAAC;AAEnC,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE5E;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,YAAoB,EACpB,SAAc,EACd,EAAE,EACF,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,gBAAgB,2CA+FlB;yBAtGe,WAAW"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}.ia-styles.ia-breadcrumb{color:#4259ee;cursor:pointer;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;letter-spacing:-.01em;line-height:16.1px;text-align:left}.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home){border-radius:4px}.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home):focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home):focus:not(:focus-visible){box-shadow:none;outline:none}.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).Mui-disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).ia-btn-disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).ia-switch-disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).impact-select-disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).impact_input_disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home).route-disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home):disabled:focus-visible,.ia-styles.ia-breadcrumb:not(.ia-breadcrumb-home)[aria-disabled=true]:focus-visible{box-shadow:none;outline:none}.ia-styles.ia-breadcrumb.ia-breadcrumb-disabled{color:#60697d}.ia-styles.ia-breadcrumb.ia-breadcrumb-home svg{display:flex}.ia-styles.ia-breadcrumb.ia-breadcrumb-home svg path{height:11.67px;width:10.67px}.ia-styles.ia-breadcrumb.ia-breadcrumb-extras{margin-left:5px;margin-right:-1px}.ia-styles.ia-breadcrumb:hover:not(.ia-breadcrumb-noLink):not(.ia-breadcrumb-disabled){color:#4259ee}.ia-styles.ia-breadcrumb:hover:not(.ia-breadcrumb-noLink):not(.ia-breadcrumb-disabled) path{fill:#4259ee}.ia-styles.ia-breadcrumb.ia-breadcrumb-noLink{color:#1f2b4d;cursor:default;font-weight:800}.MuiBreadcrumbs-root .MuiBreadcrumbs-separator{font-size:20px;margin-left:0;margin-right:0;margin-top:3px}.MuiBreadcrumbs-root .MuiBreadcrumbs-li:has(>*>.ia-breadcrumb-extras){height:24px}.MuiBreadcrumbs-root .MuiBreadcrumbs-li:has(>*>.ia-breadcrumb-extras) div{align-items:center;display:flex}.ia-breadcrumb-extras svg{fill:#6b7280!important;margin-top:1px}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState, useMemo } from "react";
|
|
3
|
+
import { useState, useEffect, useMemo } from "react";
|
|
4
4
|
import default_1$1 from "../../node_modules/@mui/icons-material/KeyboardArrowRight.js";
|
|
5
5
|
import default_1 from "../../node_modules/@mui/icons-material/MoreHoriz.js";
|
|
6
6
|
import { Menu } from "../Menu/index.js";
|
|
@@ -11,6 +11,7 @@ import Link from "../../node_modules/@mui/material/Link/Link.js";
|
|
|
11
11
|
import Breadcrumbs$1 from "../../node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js";
|
|
12
12
|
function Breadcrumbs({
|
|
13
13
|
list,
|
|
14
|
+
showAllItems = false,
|
|
14
15
|
className = "",
|
|
15
16
|
id,
|
|
16
17
|
"data-testid": dataTestId,
|
|
@@ -25,8 +26,11 @@ function Breadcrumbs({
|
|
|
25
26
|
const onClose = () => {
|
|
26
27
|
setAnchorEl(null);
|
|
27
28
|
};
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
setAnchorEl(null);
|
|
31
|
+
}, [showAllItems]);
|
|
28
32
|
const breadCrumbList = useMemo(() => {
|
|
29
|
-
const filtered = list.filter((_, idx) => idx < 2 || idx > list.length - 3);
|
|
33
|
+
const filtered = showAllItems ? list : list.filter((_, idx) => idx < 2 || idx > list.length - 3);
|
|
30
34
|
const temp = filtered.map((item, index, arr) => {
|
|
31
35
|
const isLast = index === arr.length - 1;
|
|
32
36
|
if (!isLast) {
|
|
@@ -46,7 +50,7 @@ function Breadcrumbs({
|
|
|
46
50
|
return /* @__PURE__ */ jsx("span", { className: "ia-styles ia-breadcrumb ia-breadcrumb-noLink", children: item.label }, item.label);
|
|
47
51
|
});
|
|
48
52
|
const extras = list.filter((_, idx) => idx >= 2 && idx <= list.length - 3);
|
|
49
|
-
if (extras.length > 0 && temp.length > 1) {
|
|
53
|
+
if (!showAllItems && extras.length > 0 && temp.length > 1) {
|
|
50
54
|
const secondItem = temp[1];
|
|
51
55
|
temp[1] = /* @__PURE__ */ jsxs("div", { style: { display: "inline-flex" }, children: [
|
|
52
56
|
secondItem,
|
|
@@ -69,7 +73,7 @@ function Breadcrumbs({
|
|
|
69
73
|
] }, "extras-wrapper");
|
|
70
74
|
}
|
|
71
75
|
return temp;
|
|
72
|
-
}, [list, isOpen]);
|
|
76
|
+
}, [list, isOpen, showAllItems]);
|
|
73
77
|
return /* @__PURE__ */ jsx(
|
|
74
78
|
Breadcrumbs$1,
|
|
75
79
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
export declare const Chart: ({ graphType, xAxisCategories, xAxisTitle, yAxisTitle, seriesData, graphTitle, stackedColumn, is3D, showSubTitle, onChartDownload, fallbackContent, topRightOptions, showSwitchButton, showChartTypeDropdown, showDownloadButton, chartTypesOptions, selectedChart, chartMenuProps, showScrollX,
|
|
2
|
+
export declare const Chart: ({ graphType, xAxisCategories, xAxisTitle, yAxisTitle, seriesData, graphTitle, stackedColumn, is3D, showSubTitle, onChartDownload, fallbackContent, topRightOptions, showSwitchButton, showChartTypeDropdown, showDownloadButton, chartTypesOptions, selectedChart, chartMenuProps, showScrollX, topLeftOptions, cardContainer, subtitleText, legendXPosition, legendYPosition, xAxisTitlePositionY, customTooltipFormatter, sharedTooltip, showchart, setShowChart, plotOptionsEvents, customSystemButton, handleChartExpand, chartMarginBottom, showHeader, height, width, showExpandButton, showDownloadMenu, showBuiltInDownloadOptions, downloadMenuOptions, customLegend, customLegendStyle, yAxisTitleRight, chartOptions, titleOptions, xAxisOptions, yAxisOptions, yAxisLeftOptions, yAxisRightOptions, zAxisOptions, tooltipOptions, plotOptionsOptions, subtitleOptions, creditsOptions, legendOptions, colorAxisOptions, seriesOptions, additionalOptions, hoveredXAxisIndex, exportingOptions, aboveChartComponent, isEmpty, isLoading, shimmerDirection, topSubHeader, denseSkeleton, }: {
|
|
3
3
|
graphType?: string | undefined;
|
|
4
4
|
xAxisCategories: any;
|
|
5
5
|
xAxisTitle: any;
|
|
@@ -19,7 +19,6 @@ export declare const Chart: ({ graphType, xAxisCategories, xAxisTitle, yAxisTitl
|
|
|
19
19
|
selectedChart: any;
|
|
20
20
|
chartMenuProps: any;
|
|
21
21
|
showScrollX?: boolean | undefined;
|
|
22
|
-
hideScrollXScrollbar?: boolean | undefined;
|
|
23
22
|
topLeftOptions?: null | undefined;
|
|
24
23
|
cardContainer?: boolean | undefined;
|
|
25
24
|
subtitleText?: string | undefined;
|
|
@@ -62,9 +61,7 @@ export declare const Chart: ({ graphType, xAxisCategories, xAxisTitle, yAxisTitl
|
|
|
62
61
|
hoveredXAxisIndex?: null | undefined;
|
|
63
62
|
exportingOptions?: {} | undefined;
|
|
64
63
|
aboveChartComponent?: null | undefined;
|
|
65
|
-
belowChartComponent?: null | undefined;
|
|
66
64
|
isEmpty?: boolean | undefined;
|
|
67
|
-
onChartInfo?: null | undefined;
|
|
68
65
|
isLoading?: boolean | undefined;
|
|
69
66
|
shimmerDirection?: string | undefined;
|
|
70
67
|
topSubHeader?: null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/index.tsx"],"names":[],"mappings":"AAQA,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AACxC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,6CAA6C,CAAC;AAUrD,OAAO,qBAAqB,CAAC;AAoC7B,eAAO,MAAM,KAAK,GAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/index.tsx"],"names":[],"mappings":"AAQA,OAAO,iCAAiC,CAAC;AACzC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AACxC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,6CAA6C,CAAC;AAUrD,OAAO,qBAAqB,CAAC;AAoC7B,eAAO,MAAM,KAAK,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmErB,4CAypBA,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".chart-container{background:#fff;border-radius:8px;display:flex;flex-direction:column;gap:24px;height:100%;padding:12px 12px 0;position:relative;transform-origin:center center;transition:all .25s ease}.chart-container.chart-slot-component{gap:16px}.chart-container.hide-scroll-x-scrollbar .highcharts-scrolling{scrollbar-width:none}.chart-container.hide-scroll-x-scrollbar .highcharts-scrolling::-webkit-scrollbar{display:none}.chart-container.card-container{box-shadow:0 0 4px #0000001f}.chart-container.fullscreen-animating{animation:expandAnim .2s ease forwards}.chart-container.fullscreen-animating-out{animation:collapseAnim .2s ease forwards}.chart-container.expanded{padding:24px}.chart-container .chart-container-header{align-items:center;display:flex;justify-content:space-between}.chart-container .chart-container-header .chart-container-header-title{align-items:center;display:flex;gap:6px}.chart-container .chart-container-header .chart-container-header-title .chart-container-header-title-text{color:#0d152c;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.chart-container .chart-container-header .chart-container-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.chart-container .divider-line{background:#d9dde7;height:16px;width:1px}.chart-custom-actions{align-items:center;display:flex;gap:12px}.highcharts-xaxis-labels text,.highcharts-yaxis-labels text{color:#60697d!important;font-family:Manrope,sans-serif;font-size:12px!important;font-weight:500}.highcharts-xaxis .highcharts-axis-title,.highcharts-yaxis .highcharts-axis-title{color:#60697d!important;font-family:Manrope,sans-serif;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}.tooltip-key{font-size:12px;font-weight:500;line-height:16px}.tooltip-value{font-size:14px;font-weight:600;line-height:24px}.highcharts-text-outline{stroke-width:0px}.chart-empty-state{align-items:center;display:flex;flex-direction:column;gap:8px;height:100%;justify-content:center}.chart-empty-state span{color:#7a8294;font-size:16px;font-weight:600;line-height:24px;text-align:center}.chart-skeleton{box-sizing:border-box;display:flex;flex-direction:column;height:300px;min-height:160px;padding:8px 4px 16px;width:100%}.chart-skeleton .chart-skeleton-plot{display:flex;flex:1;height:100%;min-height:0;width:100%}.chart-skeleton .chart-skeleton-plot-inner{display:flex;flex:1;flex-direction:column;gap:0;min-height:0;min-width:0;padding:8px 8px 8px 12px;position:relative}.chart-skeleton .chart-skeleton-axis--x{bottom:0;left:-2px;position:absolute;right:8px}.chart-skeleton .chart-skeleton-axis{flex-shrink:0}.chart-skeleton .chart-skeleton-axis--y{align-self:stretch;height:100%;width:2px}.chart-skeleton .chart-skeleton-axis--x{height:2px;width:100%}.chart-skeleton .chart-skeleton-bars{display:flex;flex:1;min-height:0;min-width:0}.chart-skeleton .chart-skeleton-bar{border-radius:999px}.chart-skeleton .chart-skeleton-legend-item{border-radius:999px;height:10px}.chart-skeleton .chart-skeleton-plot--column{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-bars{align-items:flex-end;flex-direction:row;gap:8px;justify-content:space-around;padding:0 8px 4px;position:relative}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-bar--column{flex:1;max-width:36px;min-width:12px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-dual-line{height:100%;top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-dual-line-path{opacity:.85}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-axis--y-right{margin-left:-2px}.chart-skeleton .chart-skeleton-plot--column-dense{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-bars{align-items:flex-end;flex-direction:row;gap:3px;justify-content:space-between;padding:0 4px;position:relative}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-bar--column-dense{border-radius:2px;flex:1;max-width:14px;min-width:4px}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-dual-line{height:100%;top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-dual-line-path{opacity:.85}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-axis--y-right{margin-left:8px}.chart-skeleton .chart-skeleton-area-spline{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-wave{height:100%;top:0;right:0;bottom:0;left:0;position:absolute;width:100%}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill{fill:url(#area-shimmer-gradient)}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill--1{opacity:.85}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill--2{opacity:.65}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-shimmer-defs{height:0;position:absolute;width:0}.chart-skeleton .chart-skeleton-plot--heatmap{align-items:stretch;flex-direction:row}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap{display:flex;flex:1;gap:8px;min-height:0;min-width:0;padding:0 8px 4px}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap-col{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap-cell{flex:1;min-height:0}.chart-skeleton .chart-skeleton-plot--treemap{display:flex;flex-direction:row;gap:4px;padding:0}.chart-skeleton .chart-skeleton-treemap-left{display:flex;flex:0 0 35%}.chart-skeleton .chart-skeleton-treemap-right{display:flex;flex:1;flex-direction:column;gap:4px}.chart-skeleton .chart-skeleton-treemap-top{display:flex;flex:1;flex-direction:row;gap:4px}.chart-skeleton .chart-skeleton-treemap-bottom{display:flex;flex:0 0 22%}.chart-skeleton .chart-skeleton-candles{align-items:stretch;display:flex;flex:1;flex-direction:row;gap:8px;justify-content:space-around;min-height:0;padding:0 16px}.chart-skeleton .chart-skeleton-candle{flex:1;max-width:40px;min-width:20px;position:relative}.chart-skeleton .chart-skeleton-plot--scatter{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dots{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot{animation:shimmer 1.6s linear infinite;background:linear-gradient(90deg,#e8edf5,#d5dbe8 40%,#eceef4 60%,#e8edf5);background-size:200% 100%;height:8px;opacity:.85;position:absolute;transform:translate(-50%,-50%);width:8px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--circle{border-radius:50%}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--square{border-radius:0}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--triangle{animation:none;background:#0000;border-bottom:8px solid #e8edf5;border-left:4px solid #e8edf5;border-right:4px solid #e8edf5;height:0;width:0}.chart-skeleton .chart-skeleton-plot--scatter3d{align-items:center;display:flex;justify-content:center;padding:12px}.chart-skeleton .chart-skeleton-plot--scatter3d .chart-skeleton-scatter3d{height:100%;max-height:100%;width:100%}.chart-skeleton .chart-skeleton-bubble-area{flex:1;min-height:0;min-width:0;position:relative}.chart-skeleton .chart-skeleton-bubble-area .chart-skeleton-bubble{border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:flex-end;max-width:48px;min-width:16px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop .chart-skeleton-lollipop-head{border-radius:50%;flex-shrink:0;height:12px;width:12px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop .chart-skeleton-lollipop-stem{flex-shrink:1;min-height:4px;width:2px}.chart-skeleton .chart-skeleton-plot--bar{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--bar .chart-skeleton-bars{flex-direction:column;gap:10px;justify-content:space-around;padding:4px 0 0 4px}.chart-skeleton .chart-skeleton-plot--bar .chart-skeleton-bar--bar{border-radius:999px;height:14px;max-width:100%;min-width:40px}.chart-skeleton .chart-skeleton-plot--line{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-wave{height:100%;top:0;right:0;bottom:0;left:0;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-path--1{opacity:.85}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-path--2{opacity:.65}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-dots{top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-dot{background:#e8edf5;border-radius:50%;height:8px;opacity:.85;position:absolute;transform:translate(-50%,-50%);width:8px}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-shimmer-defs{height:0;position:absolute;width:0}.chart-skeleton .chart-skeleton-plot--circular{align-items:center;flex-direction:column;gap:20px;justify-content:center}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-circle{border-radius:50%;flex-shrink:0;height:180px;width:180px}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-donut{border-radius:50%;flex-shrink:0;height:180px;-webkit-mask-image:radial-gradient(farthest-side,#0000 calc(58% - .5px),#000 calc(58% + .5px));mask-image:radial-gradient(farthest-side,#0000 calc(58% - .5px),#000 calc(58% + .5px));width:180px}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-donut--semi{border-radius:180px 180px 0 0;height:90px;-webkit-mask-image:radial-gradient(farthest-side at 50% 100%,#0000 calc(58% - .5px),#000 calc(58% + .5px));mask-image:radial-gradient(farthest-side at 50% 100%,#0000 calc(58% - .5px),#000 calc(58% + .5px))}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-legend{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.chart-skeleton .chart-skeleton-plot--venn{align-items:center;flex-direction:column;gap:20px;justify-content:center}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circles{align-items:center;display:flex;height:160px;justify-content:center;position:relative;width:220px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle{border-radius:50%;opacity:.85;position:absolute}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle--left{left:30px;top:10px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle--right{right:-9px;top:9px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-legend{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}@keyframes expandAnim{0%{opacity:.6;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes collapseAnim{0%{opacity:1;transform:scale(1)}to{opacity:.6;transform:scale(.98)}}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".chart-container{background:#fff;border-radius:8px;display:flex;flex-direction:column;gap:24px;height:100%;padding:12px 12px 0;position:relative;transform-origin:center center;transition:all .25s ease}.chart-container.above-chart-component{gap:16px}.chart-container.card-container{box-shadow:0 0 4px #0000001f}.chart-container.fullscreen-animating{animation:expandAnim .2s ease forwards}.chart-container.fullscreen-animating-out{animation:collapseAnim .2s ease forwards}.chart-container.expanded{padding:24px}.chart-container .chart-container-header{align-items:center;display:flex;justify-content:space-between}.chart-container .chart-container-header .chart-container-header-title{align-items:center;display:flex;gap:6px}.chart-container .chart-container-header .chart-container-header-title .chart-container-header-title-text{color:#0d152c;font-size:16px;font-style:normal;font-weight:600;line-height:24px}.chart-container .chart-container-header .chart-container-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.chart-container .divider-line{background:#d9dde7;height:16px;width:1px}.chart-custom-actions{align-items:center;display:flex;gap:12px}.highcharts-xaxis-labels text,.highcharts-yaxis-labels text{color:#60697d!important;font-family:Manrope,sans-serif;font-size:12px!important;font-weight:500}.highcharts-xaxis .highcharts-axis-title,.highcharts-yaxis .highcharts-axis-title{color:#60697d!important;font-family:Manrope,sans-serif;font-size:14px!important;font-style:normal;font-weight:500;line-height:20px}.tooltip-key{font-size:12px;font-weight:500;line-height:16px}.tooltip-value{font-size:14px;font-weight:600;line-height:24px}.highcharts-text-outline{stroke-width:0px}.chart-empty-state{align-items:center;display:flex;flex-direction:column;gap:8px;height:100%;justify-content:center}.chart-empty-state span{color:#7a8294;font-size:16px;font-weight:600;line-height:24px;text-align:center}.chart-skeleton{box-sizing:border-box;display:flex;flex-direction:column;height:300px;min-height:160px;padding:8px 4px 16px;width:100%}.chart-skeleton .chart-skeleton-plot{display:flex;flex:1;height:100%;min-height:0;width:100%}.chart-skeleton .chart-skeleton-plot-inner{display:flex;flex:1;flex-direction:column;gap:0;min-height:0;min-width:0;padding:8px 8px 8px 12px;position:relative}.chart-skeleton .chart-skeleton-axis--x{bottom:0;left:-2px;position:absolute;right:8px}.chart-skeleton .chart-skeleton-axis{flex-shrink:0}.chart-skeleton .chart-skeleton-axis--y{align-self:stretch;height:100%;width:2px}.chart-skeleton .chart-skeleton-axis--x{height:2px;width:100%}.chart-skeleton .chart-skeleton-bars{display:flex;flex:1;min-height:0;min-width:0}.chart-skeleton .chart-skeleton-bar{border-radius:999px}.chart-skeleton .chart-skeleton-legend-item{border-radius:999px;height:10px}.chart-skeleton .chart-skeleton-plot--column{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-bars{align-items:flex-end;flex-direction:row;gap:8px;justify-content:space-around;padding:0 8px 4px;position:relative}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-bar--column{flex:1;max-width:36px;min-width:12px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-dual-line{height:100%;top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-dual-line-path{opacity:.85}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-axis--y-right{margin-left:-2px}.chart-skeleton .chart-skeleton-plot--column-dense{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-bars{align-items:flex-end;flex-direction:row;gap:3px;justify-content:space-between;padding:0 4px;position:relative}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-bar--column-dense{border-radius:2px;flex:1;max-width:14px;min-width:4px}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-dual-line{height:100%;top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-dual-line-path{opacity:.85}.chart-skeleton .chart-skeleton-plot--column-dense .chart-skeleton-axis--y-right{margin-left:8px}.chart-skeleton .chart-skeleton-area-spline{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-wave{height:100%;top:0;right:0;bottom:0;left:0;position:absolute;width:100%}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill{fill:url(#area-shimmer-gradient)}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill--1{opacity:.85}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-fill--2{opacity:.65}.chart-skeleton .chart-skeleton-area-spline .chart-skeleton-area-shimmer-defs{height:0;position:absolute;width:0}.chart-skeleton .chart-skeleton-plot--heatmap{align-items:stretch;flex-direction:row}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap{display:flex;flex:1;gap:8px;min-height:0;min-width:0;padding:0 8px 4px}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap-col{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}.chart-skeleton .chart-skeleton-plot--heatmap .chart-skeleton-heatmap-cell{flex:1;min-height:0}.chart-skeleton .chart-skeleton-plot--treemap{display:flex;flex-direction:row;gap:4px;padding:0}.chart-skeleton .chart-skeleton-treemap-left{display:flex;flex:0 0 35%}.chart-skeleton .chart-skeleton-treemap-right{display:flex;flex:1;flex-direction:column;gap:4px}.chart-skeleton .chart-skeleton-treemap-top{display:flex;flex:1;flex-direction:row;gap:4px}.chart-skeleton .chart-skeleton-treemap-bottom{display:flex;flex:0 0 22%}.chart-skeleton .chart-skeleton-candles{align-items:stretch;display:flex;flex:1;flex-direction:row;gap:8px;justify-content:space-around;min-height:0;padding:0 16px}.chart-skeleton .chart-skeleton-candle{flex:1;max-width:40px;min-width:20px;position:relative}.chart-skeleton .chart-skeleton-plot--scatter{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dots{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot{animation:shimmer 1.6s linear infinite;background:linear-gradient(90deg,#e8edf5,#d5dbe8 40%,#eceef4 60%,#e8edf5);background-size:200% 100%;height:8px;opacity:.85;position:absolute;transform:translate(-50%,-50%);width:8px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--circle{border-radius:50%}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--square{border-radius:0}.chart-skeleton .chart-skeleton-plot--scatter .chart-skeleton-dot--triangle{animation:none;background:#0000;border-bottom:8px solid #e8edf5;border-left:4px solid #e8edf5;border-right:4px solid #e8edf5;height:0;width:0}.chart-skeleton .chart-skeleton-plot--scatter3d{align-items:center;display:flex;justify-content:center;padding:12px}.chart-skeleton .chart-skeleton-plot--scatter3d .chart-skeleton-scatter3d{height:100%;max-height:100%;width:100%}.chart-skeleton .chart-skeleton-bubble-area{flex:1;min-height:0;min-width:0;position:relative}.chart-skeleton .chart-skeleton-bubble-area .chart-skeleton-bubble{border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop{align-items:center;display:flex;flex:1;flex-direction:column;justify-content:flex-end;max-width:48px;min-width:16px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop .chart-skeleton-lollipop-head{border-radius:50%;flex-shrink:0;height:12px;width:12px}.chart-skeleton .chart-skeleton-plot--column .chart-skeleton-lollipop .chart-skeleton-lollipop-stem{flex-shrink:1;min-height:4px;width:2px}.chart-skeleton .chart-skeleton-plot--bar{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--bar .chart-skeleton-bars{flex-direction:column;gap:10px;justify-content:space-around;padding:4px 0 0 4px}.chart-skeleton .chart-skeleton-plot--bar .chart-skeleton-bar--bar{border-radius:999px;height:14px;max-width:100%;min-width:40px}.chart-skeleton .chart-skeleton-plot--line{align-items:stretch;flex-direction:row;gap:0}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines{flex:1;min-height:0;min-width:0;overflow:hidden;position:relative}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-wave{height:100%;top:0;right:0;bottom:0;left:0;position:absolute;width:100%}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-path--1{opacity:.85}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-path--2{opacity:.65}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-dots{top:0;right:0;bottom:0;left:0;pointer-events:none;position:absolute}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-dot{background:#e8edf5;border-radius:50%;height:8px;opacity:.85;position:absolute;transform:translate(-50%,-50%);width:8px}.chart-skeleton .chart-skeleton-plot--line .chart-skeleton-lines .chart-skeleton-line-shimmer-defs{height:0;position:absolute;width:0}.chart-skeleton .chart-skeleton-plot--circular{align-items:center;flex-direction:column;gap:20px;justify-content:center}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-circle{border-radius:50%;flex-shrink:0;height:180px;width:180px}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-donut{border-radius:50%;flex-shrink:0;height:180px;-webkit-mask-image:radial-gradient(farthest-side,#0000 calc(58% - .5px),#000 calc(58% + .5px));mask-image:radial-gradient(farthest-side,#0000 calc(58% - .5px),#000 calc(58% + .5px));width:180px}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-donut--semi{border-radius:180px 180px 0 0;height:90px;-webkit-mask-image:radial-gradient(farthest-side at 50% 100%,#0000 calc(58% - .5px),#000 calc(58% + .5px));mask-image:radial-gradient(farthest-side at 50% 100%,#0000 calc(58% - .5px),#000 calc(58% + .5px))}.chart-skeleton .chart-skeleton-plot--circular .chart-skeleton-legend{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}.chart-skeleton .chart-skeleton-plot--venn{align-items:center;flex-direction:column;gap:20px;justify-content:center}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circles{align-items:center;display:flex;height:160px;justify-content:center;position:relative;width:220px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle{border-radius:50%;opacity:.85;position:absolute}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle--left{left:30px;top:10px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-venn-circle--right{right:-9px;top:9px}.chart-skeleton .chart-skeleton-plot--venn .chart-skeleton-legend{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}@keyframes expandAnim{0%{opacity:.6;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes collapseAnim{0%{opacity:1;transform:scale(1)}to{opacity:.6;transform:scale(.98)}}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
|
|
2
2
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React__default, { useState, useRef,
|
|
3
|
+
import React__default, { useState, useRef, useEffect, useMemo } from "react";
|
|
4
4
|
import Highcharts from "highcharts/esm/highcharts.js";
|
|
5
5
|
import "highcharts/esm/highcharts-3d.js";
|
|
6
6
|
import "highcharts/esm/highcharts-more.js";
|
|
@@ -57,7 +57,6 @@ const Chart = ({
|
|
|
57
57
|
selectedChart,
|
|
58
58
|
chartMenuProps,
|
|
59
59
|
showScrollX = false,
|
|
60
|
-
hideScrollXScrollbar = false,
|
|
61
60
|
topLeftOptions = null,
|
|
62
61
|
cardContainer = true,
|
|
63
62
|
subtitleText = "",
|
|
@@ -102,9 +101,7 @@ const Chart = ({
|
|
|
102
101
|
hoveredXAxisIndex = null,
|
|
103
102
|
exportingOptions = {},
|
|
104
103
|
aboveChartComponent = null,
|
|
105
|
-
belowChartComponent = null,
|
|
106
104
|
isEmpty = false,
|
|
107
|
-
onChartInfo = null,
|
|
108
105
|
isLoading = false,
|
|
109
106
|
shimmerDirection = "auto",
|
|
110
107
|
topSubHeader = null,
|
|
@@ -122,29 +119,6 @@ const Chart = ({
|
|
|
122
119
|
const [downloadMenuAnchor, setDownloadMenuAnchor] = useState(null);
|
|
123
120
|
const chartComponentRef = useRef(null);
|
|
124
121
|
const containerRef = useRef(null);
|
|
125
|
-
const emitChartInfo = useCallback(() => {
|
|
126
|
-
var _a2, _b, _c;
|
|
127
|
-
if (!onChartInfo) return;
|
|
128
|
-
const chart = (_a2 = chartComponentRef.current) == null ? void 0 : _a2.chart;
|
|
129
|
-
if (!chart || !((_b = chart.xAxis) == null ? void 0 : _b[0])) return;
|
|
130
|
-
const xAxis = chart.xAxis[0];
|
|
131
|
-
const categories = xAxis.categories || [];
|
|
132
|
-
const pointPositions = categories.map((cat, i) => ({
|
|
133
|
-
category: cat,
|
|
134
|
-
x: xAxis.toPixels(i, false)
|
|
135
|
-
}));
|
|
136
|
-
const scrollingContainer = ((_c = containerRef.current) == null ? void 0 : _c.querySelector(".highcharts-scrolling")) || null;
|
|
137
|
-
onChartInfo({
|
|
138
|
-
plotLeft: chart.plotLeft,
|
|
139
|
-
plotWidth: chart.plotWidth,
|
|
140
|
-
plotTop: chart.plotTop,
|
|
141
|
-
plotHeight: chart.plotHeight,
|
|
142
|
-
chartWidth: chart.chartWidth,
|
|
143
|
-
categories,
|
|
144
|
-
pointPositions,
|
|
145
|
-
scrollingContainer
|
|
146
|
-
});
|
|
147
|
-
}, [onChartInfo]);
|
|
148
122
|
const getBuiltInDownloadOptions = () => {
|
|
149
123
|
var _a2, _b;
|
|
150
124
|
const chart = (_a2 = chartComponentRef.current) == null ? void 0 : _a2.chart;
|
|
@@ -541,24 +515,11 @@ const Chart = ({
|
|
|
541
515
|
additionalOptions
|
|
542
516
|
]
|
|
543
517
|
);
|
|
544
|
-
useEffect(() => {
|
|
545
|
-
var _a2;
|
|
546
|
-
const chart = (_a2 = chartComponentRef.current) == null ? void 0 : _a2.chart;
|
|
547
|
-
if (!chart) return;
|
|
548
|
-
const onEvent = () => emitChartInfo();
|
|
549
|
-
Highcharts.addEvent(chart, "load", onEvent);
|
|
550
|
-
Highcharts.addEvent(chart, "redraw", onEvent);
|
|
551
|
-
emitChartInfo();
|
|
552
|
-
return () => {
|
|
553
|
-
Highcharts.removeEvent(chart, "load", onEvent);
|
|
554
|
-
Highcharts.removeEvent(chart, "redraw", onEvent);
|
|
555
|
-
};
|
|
556
|
-
}, [emitChartInfo, graphData]);
|
|
557
518
|
return /* @__PURE__ */ jsx(Fragment, { children: showchart ? /* @__PURE__ */ jsxs(
|
|
558
519
|
"div",
|
|
559
520
|
{
|
|
560
521
|
ref: containerRef,
|
|
561
|
-
className: `chart-container ${isExpanded ? "expanded" : ""} ${isAnimating ? "animating" : ""} ${cardContainer ? "card-container" : ""} ${aboveChartComponent
|
|
522
|
+
className: `chart-container ${isExpanded ? "expanded" : ""} ${isAnimating ? "animating" : ""} ${cardContainer ? "card-container" : ""} ${aboveChartComponent ? "above-chart-component" : ""}`,
|
|
562
523
|
style: width ? { width } : {},
|
|
563
524
|
children: [
|
|
564
525
|
showHeader && /* @__PURE__ */ jsxs("div", { className: "chart-container-header", children: [
|
|
@@ -680,7 +641,6 @@ const Chart = ({
|
|
|
680
641
|
},
|
|
681
642
|
safeStringify(graphData, "graph") + isExpanded
|
|
682
643
|
),
|
|
683
|
-
belowChartComponent && belowChartComponent,
|
|
684
644
|
!isLoading && customLegend && /* @__PURE__ */ jsx(
|
|
685
645
|
"div",
|
|
686
646
|
{
|
|
@@ -19,6 +19,13 @@ export interface PanelProps extends BaseComponentProps, Omit<DrawerProps, 'ancho
|
|
|
19
19
|
onClose?: () => void;
|
|
20
20
|
/** Panel title in the header */
|
|
21
21
|
title?: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Whether to show the built-in close icon in the header.
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
showCloseButton?: boolean;
|
|
27
|
+
/** Custom content rendered on the right side of the header (e.g. a Button) */
|
|
28
|
+
headerRightContent?: ReactNode;
|
|
22
29
|
/** Size of the panel (affects width) */
|
|
23
30
|
size?: PanelSize;
|
|
24
31
|
/** Custom width in pixels (overrides size when set) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.types.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAC9D,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,UACf,SACE,kBAAkB,EAClB,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IACzE,6BAA6B;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,6EAA6E;IAC7E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,oCAAoC;IACpC,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,4CAA4C;IAC5C,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,8CAA8C;IAC9C,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,2CAA2C;IAC3C,oBAAoB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5C,yBAAyB;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC"}
|
|
1
|
+
{"version":3,"file":"Panel.types.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/Panel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAC9D,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C;;GAEG;AACH,MAAM,WAAW,UACf,SACE,kBAAkB,EAClB,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;IACzE,6BAA6B;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,6EAA6E;IAC7E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,oCAAoC;IACpC,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,4CAA4C;IAC5C,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,8CAA8C;IAC9C,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,yCAAyC;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1C,2CAA2C;IAC3C,oBAAoB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC5C,yBAAyB;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanelProps } from './Panel.types';
|
|
2
2
|
|
|
3
3
|
export type { PanelProps, PanelAnchor, PanelSize } from './Panel.types';
|
|
4
|
-
export declare function Panel({ className, title, size, anchor, open, setIsOpen, children, onClose, primaryButtonLabel, onPrimaryButtonClick, secondaryButtonLabel, onSecondaryButtonClick, primaryButtonProps, secondaryButtonProps, width, zIndex, customFooterContent, resizable, minWidth, maxWidth, onResize, ...args }: PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function Panel({ className, title, size, anchor, open, setIsOpen, children, onClose, primaryButtonLabel, onPrimaryButtonClick, secondaryButtonLabel, onSecondaryButtonClick, primaryButtonProps, secondaryButtonProps, width, zIndex, customFooterContent, resizable, minWidth, maxWidth, onResize, showCloseButton, headerRightContent, ...args }: PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AAC3D,OAAO,qBAAqB,CAAC;AAE7B,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAWxE,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,KAAK,EACL,IAAI,EACJ,MAAgB,EAChB,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACL,MAAa,EACb,mBAAmB,EACnB,SAAS,EACT,QAAc,EACd,QAAQ,EACR,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Panel/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,eAAe,CAAC;AAC3D,OAAO,qBAAqB,CAAC;AAE7B,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAWxE,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,KAAK,EACL,IAAI,EACJ,MAAgB,EAChB,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,KAAK,EACL,MAAa,EACb,mBAAmB,EACnB,SAAS,EACT,QAAc,EACd,QAAQ,EACR,QAAQ,EACR,eAAsB,EACtB,kBAAkB,EAClB,GAAG,IAAI,EACR,EAAE,UAAU,2CAkIZ"}
|
|
@@ -35,6 +35,8 @@ function Panel({
|
|
|
35
35
|
minWidth = 375,
|
|
36
36
|
maxWidth,
|
|
37
37
|
onResize,
|
|
38
|
+
showCloseButton = true,
|
|
39
|
+
headerRightContent,
|
|
38
40
|
...args
|
|
39
41
|
}) {
|
|
40
42
|
const { t } = useTranslation();
|
|
@@ -111,7 +113,8 @@ function Panel({
|
|
|
111
113
|
resizerHandle,
|
|
112
114
|
/* @__PURE__ */ jsxs("div", { className: "impact_drawer_header", children: [
|
|
113
115
|
/* @__PURE__ */ jsx("div", { className: "impact_drawer_heading", children: title }),
|
|
114
|
-
|
|
116
|
+
headerRightContent,
|
|
117
|
+
showCloseButton ? /* @__PURE__ */ jsx(
|
|
115
118
|
"span",
|
|
116
119
|
{
|
|
117
120
|
"aria-label": t("common.close"),
|
|
@@ -127,7 +130,7 @@ function Panel({
|
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
|
-
)
|
|
133
|
+
) : null
|
|
131
134
|
] }),
|
|
132
135
|
/* @__PURE__ */ jsx(
|
|
133
136
|
"div",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.table-chat-panel .impact_drawer_container{background:#f8f9fb}.table-chat-panel .impact_drawer_header{background:#fff;border-bottom:1px solid #d9dde7;box-sizing:border-box;height:auto;padding:12px 16px}.table-chat-panel .impact_drawer_header .impact_drawer_heading{color:#1f2b4d;font-size:20px;font-weight:800;line-height:30px}.table-chat-panel .impact_drawer_header .table-chat-panel-close{height:26px;min-width:26px;padding:0;width:26px}.table-chat-panel .impact_drawer_body{height:calc(100% - 56px)!important;padding:6px}.table-chat-container{box-sizing:border-box;display:flex;flex-direction:row;gap:10px;height:100%;overflow:hidden;padding:4px;width:100%}.table-chat-container .table-left-panel-container{flex:0 0 350px;flex-shrink:0;max-width:350px;width:350px;z-index:2}.empty-container{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;justify-content:center;max-width:100%;padding:16px;text-align:center;width:100%}.empty-container img{height:197px;object-fit:contain;width:190px}.empty-container__title{color:#1f2b4d;font-size:20px;font-style:normal;font-weight:800;line-height:30px}.empty-container__subtitle{color:#7a8294;font-size:16px;font-style:normal;font-weight:500;line-height:1.25;text-align:center}.loader-padding{padding:16px;width:100%}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { EmptyStateImage } from "../EmptyState/EmptyStateImage.js";
|
|
5
5
|
const EmptyContainer = ({ title, subTitle }) => {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", { className: "table-chat-right-section-container-empty empty-container", children: [
|
|
7
7
|
/* @__PURE__ */ jsx(EmptyStateImage, {}),
|
|
8
|
-
/* @__PURE__ */ jsx("p", { children: title }),
|
|
9
|
-
/* @__PURE__ */ jsx("p", { children: subTitle })
|
|
8
|
+
title ? /* @__PURE__ */ jsx("p", { className: "empty-container__title", children: title }) : null,
|
|
9
|
+
subTitle ? /* @__PURE__ */ jsx("p", { className: "empty-container__subtitle", children: subTitle }) : null
|
|
10
10
|
] });
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
declare const TableChatSidePanel: ({ isOpen, handleClose, chatConfiguration }: {
|
|
2
|
+
declare const TableChatSidePanel: ({ isOpen, handleClose, chatConfiguration, entryContext }: {
|
|
3
3
|
isOpen: any;
|
|
4
4
|
handleClose: any;
|
|
5
5
|
chatConfiguration: any;
|
|
6
|
+
entryContext?: null | undefined;
|
|
6
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export default TableChatSidePanel;
|
|
8
9
|
//# sourceMappingURL=TableChatSidePanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableChatSidePanel.d.ts","sourceRoot":"","sources":["../../../src/components/TableChat/TableChatSidePanel.tsx"],"names":[],"mappings":"AAeA,OAAO,kCAAkC,CAAC;AAE1C,QAAA,MAAM,kBAAkB,GAAI;;;;;CAA+D,4CA+/B1F,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|