@brightspot/ui 6.1.1-rc.2 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/storybook/assets/{ActionBar.stories-Q_bdek_N.js → ActionBar.stories-DgLrwInB.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-Ccyot7vj.js → ActionItem.stories-C-SkWFxc.js} +1 -1
- package/dist/storybook/assets/{AiSparkle.stories-Ccapqzcw.js → AiSparkle.stories-BdwXJ4C1.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-CPcQWZtG.js → Avatar.stories-BQrt8GRW.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-Bws-izJt.js → AvatarGroup.stories-BdmsYcGc.js} +1 -1
- package/dist/storybook/assets/{Badge.stories-xck9Ke5e.js → Badge.stories-mu4nbODQ.js} +1 -1
- package/dist/storybook/assets/{Banner.stories-D3ieqG7F.js → Banner.stories-DMP2OXL9.js} +1 -1
- package/dist/storybook/assets/{Button-CQ2ZvHGM.js → Button-xZDsWWL_.js} +1 -1
- package/dist/storybook/assets/{Button.stories-BkGox6QF.js → Button.stories-C4jM9Bim.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-BxDNL7ej.js → ButtonGroup.stories-zscaMCvE.js} +1 -1
- package/dist/storybook/assets/{Card.stories-BrzAwQwE.js → Card.stories-CsV1xMbI.js} +1 -1
- package/dist/storybook/assets/{Celebrate.stories-BFqqbYhp.js → Celebrate.stories-D2mVlrqj.js} +1 -1
- package/dist/storybook/assets/{Checkbox.stories-yNb9DH9g.js → Checkbox.stories-CAOPfsPn.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories--KSA2X4d.js → CircularProgress.stories-Dj44Wy1Q.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-DT0symyW.js → ClipboardMixin.stories-sMr91AkY.js} +1 -1
- package/dist/storybook/assets/{Color-6BZIO3FS-CEpjJcuB.js → Color-6BZIO3FS-Di40DCa8.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-BEtjS3CS.js → Colors.stories-nUklULEf.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-DZsO6E1c.js → CombinedEffects.stories-DHteudNU.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-C-G6neuB.js → ComponentStatesMixin-DC5hoSCf.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-D4B2eXzV.js → ComponentStatesMixin.stories-DyZXrUfS.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-C1wxRcNr.js → CopyToClipboard.stories-DKfUIVB6.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-CEXdiU_4.js → Debounce.stories-C6iPHMJ-.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-iD6uwWm0.js → DocsRenderer-LL677BLK-BC-DluPS.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-DzgAKuev.js → Dropdown.stories-DY3LbbOm.js} +1 -1
- package/dist/storybook/assets/{EmptyState.stories-8IezRmLe.js → EmptyState.stories-Ec87tfLY.js} +1 -1
- package/dist/storybook/assets/{EscaAvatar.stories-CFRMImDC.js → EscaAvatar.stories-ZaaMKZqz.js} +1 -1
- package/dist/storybook/assets/{Events.stories-wc_WlNNX.js → Events.stories-DaTVivNG.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-CBopc-Ov.js → Heading.stories-B6jRenfp.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-B1BLaONM.js → HueRipple.stories-CnDz87pe.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-Bul1n2nN.js → Icon.stories-DH0mXw3h.js} +1 -1
- package/dist/storybook/assets/{IconButton.stories-DDCBKBqw.js → IconButton.stories-CNtEEf3-.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-DWroemrV.js → LinearProgress.stories-B7q0qeGc.js} +1 -1
- package/dist/storybook/assets/{Message.stories-CfWo8uqR.js → Message.stories--ArrB33R.js} +1 -1
- package/dist/storybook/assets/{OnFindMixin.stories-DRr67PU5.js → OnFindMixin.stories-Bu3Et43N.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-CJ0dmE6y.js → Pagination.stories-DL3nv05u.js} +1 -1
- package/dist/storybook/assets/{Popover.stories-CFFe2utX.js → Popover.stories-C1xiMRm0.js} +1 -1
- package/dist/storybook/assets/{ReadyMixin-euHV5BrF.js → ReadyMixin-CkFGSiXW.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-CcKn8eYu.js → RovingTabindexMixin.stories-DxABagoS.js} +1 -1
- package/dist/storybook/assets/{Rtc.stories-B_26leBQ.js → Rtc.stories-DICg80iT.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-COcTqDYx.js → ScrollShadow.stories-YSVPDcG9.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-fZAYVOXQ.js → Switch.stories-UQoRYdvu.js} +1 -1
- package/dist/storybook/assets/{Tab.stories-ChmYj35a.js → Tab.stories-aO-j5FR7.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-Bgb-44oF.js → Tabs.stories-Vh5fj_rb.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-BP21CM6q.js → Throttle.stories-DqQiG8mr.js} +1 -1
- package/dist/storybook/assets/{Tooltip.stories-Ck7XsJKW.js → Tooltip.stories-DykL06JB.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-DMedgAwp.js → Upload.stories-BunAEUlO.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-D1rV5quQ.js → UploadItem.stories-CNR2IKsl.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-DDEhWqOY.js → Welcome.stories-DuKEOEsw.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-iTycJQkv.js → Widget.stories-B5WKvF2m.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-BDmGdT_q.js → WithTooltip-65CFNBJE-KIfM6hV3.js} +1 -1
- package/dist/storybook/assets/{blocks-45GMe9mP.js → blocks-BJtylb2_.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-Dvxzfjid.js → formatter-EIJCOSYU-DyJPXrAY.js} +1 -1
- package/dist/storybook/assets/if-defined-DELMnuB4.js +1 -0
- package/dist/storybook/assets/{iframe-CemlMLl9.js → iframe-BoW1X7a_.js} +3 -3
- package/dist/storybook/assets/iframe-HDp5BmO_.css +1 -0
- package/dist/storybook/assets/{index-Ei3bFG4y.js → index-9YgpSjWr.js} +1 -1
- package/dist/storybook/assets/{onFind-96dPwZGj.js → onFind-BWxYoVUv.js} +1 -1
- package/dist/storybook/assets/{onFind.stories-DwMmvzD8.js → onFind.stories-30rdWtPx.js} +1 -1
- package/dist/storybook/assets/{onRemove.stories-Bw8nC3q8.js → onRemove.stories-B7qKCwA-.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-BZyJ5si2.js → onVisible.stories-_lsloFGV.js} +1 -1
- package/dist/storybook/assets/{style-map-BZ1BR1yx.js → style-map-D7rS_uYZ.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-B4dajqNJ.js → syntaxhighlighter-ED5Y7EFY-mLC5--p6.js} +1 -1
- package/dist/storybook/iframe.html +2 -2
- package/dist/storybook/project.json +1 -1
- package/dist/tailwind-plugin-button.js +2 -0
- package/dist/tailwind-plugin-button.js.map +1 -1
- package/dist/tailwind-plugin-button.ts +2 -0
- package/package.json +1 -1
- package/src/legacy/tool-ui/src/Admin.css +2 -2
- package/src/legacy/tool-ui/src/CIGCluster.css +9 -1
- package/src/legacy/tool-ui/src/ChartCompat.ts +1 -1
- package/src/legacy/tool-ui/src/Compat.css +6 -0
- package/src/legacy/tool-ui/src/ContentEdit.css +19 -12
- package/src/legacy/tool-ui/src/ContentEditPanel.ts +26 -12
- package/src/legacy/tool-ui/src/ContentInputGroup.css +8 -0
- package/src/legacy/tool-ui/src/Conversation.css +19 -7
- package/src/legacy/tool-ui/src/EmbeddedInputGroup/index.ts +20 -50
- package/src/legacy/tool-ui/src/Enhancement.css +3 -2
- package/src/legacy/tool-ui/src/Entry.ts +11 -0
- package/src/legacy/tool-ui/src/Global.d.ts +3 -0
- package/src/legacy/tool-ui/src/Guide.css +5 -5
- package/src/legacy/tool-ui/src/LiveBlog.css +2 -2
- package/src/legacy/tool-ui/src/MenuView.css +3 -2
- package/src/legacy/tool-ui/src/Message.css +4 -9
- package/src/legacy/tool-ui/src/Page.css +3 -3
- package/src/legacy/tool-ui/src/ProseMirror.css +1 -1
- package/src/legacy/tool-ui/src/RepeatableContentInputGroup.css +5 -5
- package/src/legacy/tool-ui/src/Revisions.css +2 -2
- package/src/legacy/tool-ui/src/SearchFields.css +2 -2
- package/src/legacy/tool-ui/src/TabBar.css +2 -2
- package/src/legacy/tool-ui/src/Widget.css +21 -2
- package/src/legacy/tool-ui/src/form/FormFilter/index.ts +2 -2
- package/src/legacy/tool-ui/src/logVersion.ts +9 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/2111.5d43fec84fea624d6371.css +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/7718.5d43fec84fea624d6371.css +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/ChartCompat.c7121ea8407d80ee5abe.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.fffd76fefb194ae6889b.js +500 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.0bee83483819ebe74fb5.js → v4.59ef78c7444a26d2fc6e.js} +8 -8
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.b1e9f6ac0449331711fc.css +3 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.81bcf80e29f5d0b03f40.js +92 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.b8a1f40b189e4537117d.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/v4/CIGCluster.less +9 -0
- package/src/legacy/tool-ui/src/main/webapp/v4/TabBar.less +4 -0
- package/src/legacy/tool-ui/src/v5.ts +49 -6
- package/dist/storybook/assets/if-defined-C-mi5lcR.js +0 -1
- package/dist/storybook/assets/iframe-abUCrGGI.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/2111.8f1e08a5cc223fd14542.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/7718.8f1e08a5cc223fd14542.css +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/ChartCompat.4dd096dd030942227ec6.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.55a2d6ccdce502c79815.js +0 -500
- package/src/legacy/tool-ui/src/main/webapp/dist/v4.477ad1936f8c04d7b232.css +0 -3
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.68bcb9af002dae392057.js +0 -92
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.76825523ffff1ad77cdf.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.55a2d6ccdce502c79815.js.LICENSE.txt → RTEProseMirror.fffd76fefb194ae6889b.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.0bee83483819ebe74fb5.js.LICENSE.txt → v4.59ef78c7444a26d2fc6e.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.68bcb9af002dae392057.js.LICENSE.txt → v5.81bcf80e29f5d0b03f40.js.LICENSE.txt} +0 -0
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.RCIG-item > & {
|
|
64
|
-
@apply after:btu-icon after:btu-icon-chevron-up after:absolute after:
|
|
64
|
+
@apply after:btu-icon after:btu-icon-chevron-up after:absolute after:end-2 after:top-2 after:ms-auto after:size-7 after:shrink-0 after:items-center after:justify-center after:rounded-lg after:bg-white;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.RCIG-item.is-collapsed > &,
|
|
@@ -316,11 +316,11 @@
|
|
|
316
316
|
|
|
317
317
|
> .ContentSelector-edit,
|
|
318
318
|
> .ContentSummary-info {
|
|
319
|
-
@apply overflow-visible after:absolute after:-
|
|
319
|
+
@apply overflow-visible after:absolute after:-start-1 after:-top-[5px] after:h-9 after:w-px after:bg-gray-200 touch-device:after:-bottom-0 touch-device:after:top-0 touch-device:after:h-[unset] more-contrast:bg-gray-400;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
> .ContentSelector-search {
|
|
323
|
-
@apply col-start-2 before:
|
|
323
|
+
@apply col-start-2 before:end-0 before:top-0 touch-device:before:end-auto touch-device:before:top-auto;
|
|
324
324
|
|
|
325
325
|
> span {
|
|
326
326
|
@apply hidden;
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
.ContentSelector-search {
|
|
365
|
-
@apply row-start-1 before:absolute before:
|
|
365
|
+
@apply row-start-1 before:absolute before:end-[calc(theme(size.9)*2_+_theme(spacing.1))] before:top-[calc(144px_+_theme(spacing.1))];
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.ContentSelector-search figure {
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
[data-preview='']
|
|
381
381
|
)
|
|
382
382
|
+ .ContentSelector-search {
|
|
383
|
-
@apply h-[calc(9rem+1px)] w-full max-w-none overflow-visible rounded-none border-b border-solid border-b-gray-300 bg-gray-50 no-underline before:btu-button before:btu-button-text-hidden before:btu-button-fill-none before:btu-button-gray before:btu-button-xs before:btu-icon touch-device:btu-button-sm before:absolute before:
|
|
383
|
+
@apply h-[calc(9rem+1px)] w-full max-w-none overflow-visible rounded-none border-b border-solid border-b-gray-300 bg-gray-50 no-underline before:btu-button before:btu-button-text-hidden before:btu-button-fill-none before:btu-button-gray before:btu-button-xs before:btu-icon touch-device:btu-button-sm before:absolute before:end-1 before:top-full before:mt-[5px];
|
|
384
384
|
|
|
385
385
|
+ .ContentSelector-edit {
|
|
386
386
|
@apply hidden;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.Revisions-compare {
|
|
105
|
-
@apply btu-button-text-hidden before:btu-icon before:btu-icon-arrow-right;
|
|
105
|
+
@apply btu-button-text-hidden before:btu-icon before:btu-icon-arrow-right rtl:before:btu-icon-arrow-left;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.Revisions-listItem.is-parentRevision {
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
.Revisions-workflowStateIcon {
|
|
258
|
-
@apply grid cursor-auto place-items-center before:btu-icon before:btu-icon-arrow-right before:font-semibold before:text-gray-500 before:btu-icon-xs;
|
|
258
|
+
@apply grid cursor-auto place-items-center before:btu-icon before:btu-icon-arrow-right rtl:before:btu-icon-arrow-left before:font-semibold before:text-gray-500 before:btu-icon-xs;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
/* Adjustments to Guide styles within a Popup (ie, Sites history) */
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
|
|
89
89
|
/* Override input styles so they appear as arrow buttons */
|
|
90
90
|
.SearchFields-sort-item-label input.SearchFields-input {
|
|
91
|
-
@apply btu-button btu-button-text-hidden !btu-button-fill-none btu-button-gray btu-button-xs shrink-0 border-none before:btu-icon before:btu-icon-circle-arrow-right touch-device:btu-button-sm after:hidden;
|
|
91
|
+
@apply btu-button btu-button-text-hidden !btu-button-fill-none btu-button-gray btu-button-xs shrink-0 border-none before:btu-icon before:btu-icon-circle-arrow-right rtl:before:btu-icon-circle-arrow-left touch-device:btu-button-sm after:hidden;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.SearchFields-displayContainer
|
|
95
95
|
.SearchFields-sort-item-label
|
|
96
96
|
input.SearchFields-input {
|
|
97
|
-
@apply before:btu-icon-circle-arrow-left;
|
|
97
|
+
@apply before:btu-icon-circle-arrow-left rtl:before:btu-icon-circle-arrow-right;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.SearchFields-sort-item-span {
|
|
@@ -152,10 +152,10 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.TabBar-item.is-error a {
|
|
155
|
-
--tabitem-padding-
|
|
155
|
+
--tabitem-padding-end: calc(
|
|
156
156
|
theme(gap.2) + theme(iconSize.md) + theme(padding[1.5])
|
|
157
157
|
);
|
|
158
|
-
@apply -
|
|
158
|
+
@apply -me-[--tabitem-padding-end] pe-[--tabitem-padding-end];
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
/* Account for different structure of dashboard tabs */
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
&:has(> .TC, > .CIG, > .SearchInput, > .ActionBar) {
|
|
169
169
|
@apply grid grid-cols-subgrid [grid-column:fullbleed-start_/_fullbleed-end];
|
|
170
170
|
|
|
171
|
-
& > :not(.ActionBar, .Widget-controls, .Message) {
|
|
171
|
+
& > :not(.ActionBar, .Widget-controls, .Message, .Button) {
|
|
172
172
|
@apply px-0 [grid-column:content-start_/_content-end];
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -178,6 +178,25 @@
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
+
/* Keeps loose buttons at intrinsic width in the content column; inert once the form is flex. */
|
|
182
|
+
.Widget > form > .Button,
|
|
183
|
+
.Widget > form > .fixedScrollable > .Button {
|
|
184
|
+
@apply justify-self-start [grid-column:content-start_/_content-end];
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Grid gives each child its own row; flex lets loose buttons flow. content-start keeps wrap lines
|
|
188
|
+
together when the widget is taller than its content. Class is stamped in Entry.ts — a :has()
|
|
189
|
+
would nest in the grid block above, which is re-emitted per `@apply Widget` consumer. The class
|
|
190
|
+
is doubled to outrank that block. */
|
|
191
|
+
.Widget > form.has-looseButtons.has-looseButtons,
|
|
192
|
+
.Widget > form > .fixedScrollable.has-looseButtons.has-looseButtons {
|
|
193
|
+
@apply flex flex-wrap content-start items-center gap-2 px-[--space] pb-[--space];
|
|
194
|
+
|
|
195
|
+
> :not(.Button) {
|
|
196
|
+
@apply basis-full;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
181
200
|
/* Provide a matching gap at the bottom of scrollable widgets with a CIG at the end */
|
|
182
201
|
.Widget > .StandardForm .CIG:not(+ .ActionBar),
|
|
183
202
|
.Widget > form > .fixedScrollable > .CIG:last-child {
|
|
@@ -433,7 +452,7 @@ btu-widget.SearchWidget-create {
|
|
|
433
452
|
}
|
|
434
453
|
|
|
435
454
|
.fixedScrollable .CIG-row {
|
|
436
|
-
@apply after:
|
|
455
|
+
@apply after:start-[calc(1px_-_var(--CIG-padding))];
|
|
437
456
|
}
|
|
438
457
|
|
|
439
458
|
/* ContentEditDrawer Widget (The Shelf) */
|
|
@@ -17,10 +17,10 @@ export default class FormFilter extends LitElement {
|
|
|
17
17
|
static noFilterTypes = new Set(['option', 'textarea'])
|
|
18
18
|
|
|
19
19
|
@property()
|
|
20
|
-
noMatches = 'No Results!'
|
|
20
|
+
noMatches = window.BRIGHTSPOT?.ui?.tooltips?.formFilterNoResults ?? 'No Results!'
|
|
21
21
|
|
|
22
22
|
@property()
|
|
23
|
-
placeholder = 'Find in form'
|
|
23
|
+
placeholder = window.BRIGHTSPOT?.ui?.tooltips?.formFilterPlaceholder ?? 'Find in form'
|
|
24
24
|
|
|
25
25
|
@property()
|
|
26
26
|
selector = 'form > .CIG'
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Injected by webpack's DefinePlugin (webpack.common.ts).
|
|
2
|
+
declare const BRIGHTSPOT_UI_VERSION: string
|
|
3
|
+
|
|
4
|
+
// Separate module so this runs before everything else v5.ts imports. Written inline there it
|
|
5
|
+
// would run after them instead, and not at all if one of them threw. `info` not `debug`:
|
|
6
|
+
// Chrome hides debug behind a filter.
|
|
7
|
+
console.info(`⭕ brightspot-ui ${BRIGHTSPOT_UI_VERSION}`)
|
|
8
|
+
|
|
9
|
+
export {}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ProseMirror{--ProseMirror-numLines:10;min-height:calc(var(--ProseMirror-numLines) * 1.25rem);white-space:pre-wrap;line-height:normal}[dir] .ProseMirror{padding-top:var(--lineHeight-m);padding-bottom:var(--lineHeight-m)}[dir=ltr] .ProseMirror,[dir=rtl] .ProseMirror{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem;padding-left:1rem;padding-right:1rem}[dir] .ProseMirror:focus{box-shadow:none}:where(.ProseMirror-fullscreen-container){height:.25rem;overflow:hidden}.ProseMirror .rte2-style-bold{font-weight:700}.ProseMirror .rte2-style-italic{font-style:italic}.ProseMirror .rte2-style-underline{text-decoration-line:underline}.ProseMirror .rte2-style-strikethrough{text-decoration-line:line-through}[dir=ltr] .ProseMirror .cms-textAlign-left{text-align:left}[dir=rtl] .ProseMirror .cms-textAlign-left{text-align:right}[dir] .ProseMirror :where(.cms-textAlign-center,[dir] .rte2-style-align-center){text-align:center}[dir=ltr] .ProseMirror :where(.cms-textAlign-right,[dir=ltr] .rte2-style-align-right){text-align:right}[dir=rtl] .ProseMirror :where(.cms-textAlign-right,[dir=rtl] .rte2-style-align-right){text-align:left}.ProseMirror .rte2-style-subscript{bottom:-.25rem}.ProseMirror .rte2-style-subscript,.ProseMirror .rte2-style-superscript{position:relative;vertical-align:baseline;font-size:75%;line-height:0}.ProseMirror .rte2-style-superscript{top:-.5rem}.ProseMirror .rte2-style-brightspot-core-rte-heading-HeadingThree{font-size:1.125rem;line-height:1.75rem;font-weight:600}.ProseMirror .rte2-style-brightspot-core-rte-heading-HeadingTwo{font-size:1.5rem;line-height:2rem;font-weight:600}.ProseMirror :is(bsp-line,bsp-break){display:block}.ProseMirror :is(bsp-line,bsp-break):has(>.ProseMirror-trailingBreak){line-height:var(--lineHeight-m)}[dir] .ProseMirror :where(ul,[dir] ol):not(.Dropdown,[dir] .ProseMirror-tableSubmenuList){margin-top:1.25rem;margin-bottom:1.25rem}[dir=ltr] .ProseMirror :where(ul,[dir=ltr] ol):not(.Dropdown,[dir=ltr] .ProseMirror-tableSubmenuList){margin-left:2rem}[dir=rtl] .ProseMirror :where(ul,[dir=rtl] ol):not(.Dropdown,[dir=rtl] .ProseMirror-tableSubmenuList){margin-right:2rem}.ProseMirror ul{list-style-type:disc}.ProseMirror ul ul{list-style-type:circle}.ProseMirror ul ul ul{list-style-type:square}.ProseMirror ol{list-style-type:decimal}.ProseMirror ol ol{list-style-type:lower-alpha}.ProseMirror li{position:relative}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay){caret-color:transparent;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}[dir] .ProseMirror:has(+.ProseMirror-moveEnhancementOverlay){border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay)>:not(.Enhancement.readOnly.ProseMirror-selectednode){opacity:.6}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode{--tw-border-opacity:1}[dir] .ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode{border-color:oklch(var(--btu-theme-primary-700)/var(--tw-border-opacity))}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode>*{opacity:.6}.ProseMirror .rte2-style-comment{gap:.5rem;--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-primary-800)/var(--tw-text-opacity))}[dir] .ProseMirror .rte2-style-comment{border-radius:.25rem;background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}[dir=ltr] .ProseMirror .rte2-style-comment,[dir=rtl] .ProseMirror .rte2-style-comment{margin-left:.25rem;margin-right:.25rem;padding-left:.25rem;padding-right:.25rem}.ProseMirror .rte2-style-comment:before{font-family:lucide;display:inline-flex;font-feature-settings:"liga" 0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:var(--icon-size);font-style:normal;font-weight:400;letter-spacing:normal;line-height:var(--icon-size);text-transform:none;white-space:nowrap;word-wrap:normal;vertical-align:top;--tw-content:"\e116";padding-inline-end:.25rem;content:var(--tw-content);--icon-size:1.25rem}[dir=ltr] .ProseMirror .rte2-style-comment:before{direction:ltr}[dir=rtl] .ProseMirror .rte2-style-comment:before{direction:rtl}.ProseMirror .rte2-style-comment[data-collapse=true]:before{content:var(--tw-content);padding-inline-end:0}.ProseMirror .rte2-style-comment .collapsed{display:none}.is-locked .ProseMirror .rte2-style-comment{opacity:.6}.ProseMirror-comments{display:none}.rte2-style-ins-insert{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-success-900)/var(--tw-text-opacity));text-decoration-line:none}[dir] .rte2-style-ins-insert{background-color:oklch(var(--btu-theme-success-200)/var(--tw-bg-opacity))}.rte2-style-ins-insert .Enhancement{--tw-bg-opacity:1}[dir] .rte2-style-ins-insert .Enhancement{background-color:oklch(var(--btu-theme-success-50)/var(--tw-bg-opacity))}.rte2-style-ins-delete{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-error-900)/var(--tw-text-opacity))}[dir] .rte2-style-ins-delete{background-color:oklch(var(--btu-theme-error-200)/var(--tw-bg-opacity))}.rte2-style-ins-delete .Enhancement{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-error-600)/var(--tw-text-opacity))}[dir] .rte2-style-ins-delete .Enhancement{background-color:oklch(var(--btu-theme-error-50)/var(--tw-bg-opacity))}.rte2-style-ins-delete .ProsemirrorEnhancementMenu{display:none}[dir] .ProseMirror-previewMode .rte2-style-ins-insert,[dir] .ProseMirror-previewMode .rte2-style-ins-insert .Enhancement{background-color:transparent}.ProseMirror-previewMode .rte2-style-ins-delete{display:none}.ProseMirror-aiPreviewMode .rte2-style-ins-ai{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-purple-900)/var(--tw-text-opacity))}[dir] .ProseMirror-aiPreviewMode .rte2-style-ins-ai{background-color:oklch(var(--btu-theme-purple-100)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-highlight{--tw-bg-opacity:1}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-highlight{background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-ins{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-primary-900)/var(--tw-text-opacity));text-decoration-line:none}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-ins{background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-del{--tw-bg-opacity:1;text-decoration-line:line-through}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-del{background-color:oklch(var(--btu-theme-gray-50)/var(--tw-bg-opacity))}.CIG-row:only-child.is-unlabeled[data-field=richText]{width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ProseMirror{--ProseMirror-numLines:10;min-height:calc(var(--ProseMirror-numLines) * 1.25rem);white-space:pre-wrap;line-height:normal}[dir] .ProseMirror{padding-top:var(--lineHeight-m);padding-bottom:var(--lineHeight-m)}[dir=ltr] .ProseMirror,[dir=rtl] .ProseMirror{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem;padding-left:1rem;padding-right:1rem}[dir] .ProseMirror:focus{box-shadow:none}:where(.ProseMirror-fullscreen-container){height:.25rem;overflow:hidden}.ProseMirror .rte2-style-bold{font-weight:700}.ProseMirror .rte2-style-italic{font-style:italic}.ProseMirror .rte2-style-underline{text-decoration-line:underline}.ProseMirror .rte2-style-strikethrough{text-decoration-line:line-through}[dir=ltr] .ProseMirror .cms-textAlign-left{text-align:left}[dir=rtl] .ProseMirror .cms-textAlign-left{text-align:right}[dir] .ProseMirror :where(.cms-textAlign-center,[dir] .rte2-style-align-center){text-align:center}[dir=ltr] .ProseMirror :where(.cms-textAlign-right,[dir=ltr] .rte2-style-align-right){text-align:right}[dir=rtl] .ProseMirror :where(.cms-textAlign-right,[dir=rtl] .rte2-style-align-right){text-align:left}.ProseMirror .rte2-style-subscript{bottom:-.25rem}.ProseMirror .rte2-style-subscript,.ProseMirror .rte2-style-superscript{position:relative;vertical-align:baseline;font-size:75%;line-height:0}.ProseMirror .rte2-style-superscript{top:-.5rem}.ProseMirror .rte2-style-brightspot-core-rte-heading-HeadingThree{font-size:1.125rem;line-height:1.75rem;font-weight:600}.ProseMirror .rte2-style-brightspot-core-rte-heading-HeadingTwo{font-size:1.5rem;line-height:2rem;font-weight:600}.ProseMirror :is(bsp-line,bsp-break){display:block}.ProseMirror :is(bsp-line,bsp-break):has(>.ProseMirror-trailingBreak){line-height:var(--lineHeight-m)}[dir] .ProseMirror :where(ul,[dir] ol):not(.Dropdown,[dir] .ProseMirror-tableSubmenuList){margin-top:1.25rem;margin-bottom:1.25rem}[dir=ltr] .ProseMirror :where(ul,[dir=ltr] ol):not(.Dropdown,[dir=ltr] .ProseMirror-tableSubmenuList){margin-left:2rem}[dir=rtl] .ProseMirror :where(ul,[dir=rtl] ol):not(.Dropdown,[dir=rtl] .ProseMirror-tableSubmenuList){margin-right:2rem}.ProseMirror ul{list-style-type:disc}.ProseMirror ul ul{list-style-type:circle}.ProseMirror ul ul ul{list-style-type:square}.ProseMirror ol{list-style-type:decimal}.ProseMirror ol ol{list-style-type:lower-alpha}.ProseMirror li{position:relative}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay){caret-color:transparent;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}[dir] .ProseMirror:has(+.ProseMirror-moveEnhancementOverlay){border-color:transparent;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay)>:not(.Enhancement.readOnly.ProseMirror-selectednode){opacity:.6}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode{--tw-border-opacity:1}[dir] .ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode{border-color:oklch(var(--btu-theme-primary-700)/var(--tw-border-opacity))}.ProseMirror:has(+.ProseMirror-moveEnhancementOverlay) .Enhancement.readOnly.ProseMirror-selectednode>*{opacity:.6}.ProseMirror .rte2-style-comment{gap:.5rem;--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-primary-800)/var(--tw-text-opacity))}[dir] .ProseMirror .rte2-style-comment{border-radius:.25rem;background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}[dir=ltr] .ProseMirror .rte2-style-comment,[dir=rtl] .ProseMirror .rte2-style-comment{margin-left:.25rem;margin-right:.25rem;padding-left:.25rem;padding-right:.25rem}.ProseMirror .rte2-style-comment:before{font-family:lucide;display:inline-flex;font-feature-settings:"liga" 0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:var(--icon-size);font-style:normal;font-weight:400;letter-spacing:normal;line-height:var(--icon-size);text-transform:none;white-space:nowrap;word-wrap:normal;vertical-align:top;--tw-content:"\e116";padding-inline-end:.25rem;content:var(--tw-content);--icon-size:1.25rem}[dir=ltr] .ProseMirror .rte2-style-comment:before{direction:ltr}[dir=rtl] .ProseMirror .rte2-style-comment:before{direction:rtl}.ProseMirror .rte2-style-comment[data-collapse=true]:before{content:var(--tw-content);padding-inline-end:0}.ProseMirror .rte2-style-comment .collapsed{display:none}.is-locked .ProseMirror .rte2-style-comment{opacity:.6}.ProseMirror-comments{display:none}.rte2-style-ins-insert{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-success-900)/var(--tw-text-opacity));text-decoration-line:none}[dir] .rte2-style-ins-insert{background-color:oklch(var(--btu-theme-success-200)/var(--tw-bg-opacity))}.rte2-style-ins-insert .Enhancement{--tw-bg-opacity:1}[dir] .rte2-style-ins-insert .Enhancement{background-color:oklch(var(--btu-theme-success-50)/var(--tw-bg-opacity))}.rte2-style-ins-delete{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-error-900)/var(--tw-text-opacity))}[dir] .rte2-style-ins-delete{background-color:oklch(var(--btu-theme-error-200)/var(--tw-bg-opacity))}.rte2-style-ins-delete .Enhancement{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-error-600)/var(--tw-text-opacity))}[dir] .rte2-style-ins-delete .Enhancement{background-color:oklch(var(--btu-theme-error-50)/var(--tw-bg-opacity))}.rte2-style-ins-delete .ProsemirrorEnhancementMenu{display:none}[dir] .ProseMirror-previewMode .rte2-style-ins-insert,[dir] .ProseMirror-previewMode .rte2-style-ins-insert .Enhancement{background-color:transparent}.ProseMirror-previewMode .rte2-style-ins-delete{display:none}.ProseMirror-aiPreviewMode .rte2-style-ins-ai{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-purple-900)/var(--tw-text-opacity))}[dir] .ProseMirror-aiPreviewMode .rte2-style-ins-ai{background-color:oklch(var(--btu-theme-purple-100)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-highlight{--tw-bg-opacity:1}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-highlight{background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-ins{--tw-bg-opacity:1;--tw-text-opacity:1;color:oklch(var(--btu-theme-primary-900)/var(--tw-text-opacity));text-decoration-line:none}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-ins{background-color:oklch(var(--btu-theme-primary-50)/var(--tw-bg-opacity))}.ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-del{--tw-bg-opacity:1;text-decoration-line:line-through}[dir] .ProseMirror-aiInlinePreviewMode .rte2-style-ai-inline-del{background-color:oklch(var(--btu-theme-gray-50)/var(--tw-bg-opacity))}.CIG-row:only-child.is-unlabeled[data-field=richText]{width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[8215],{55938(t,e,a){a.d(e,{default:()=>m}),a(44764),a(84978),a(25809);var r=a(80572),o=a.n(r),s=a(4981),i=a.n(s),n=a(57432),l=a.n(n),c=a(38745);if(7717==a.j)var p=a(40627);var b=a(25815);let d,h;i()(o()),l()(o());const f=o().getOptions().colors?.[0];d="string"==typeof f?f:"#7cb5ec";const y=o().color(d).setOpacity(0).get("rgba");h="string"==typeof y?y:"rgba(124,181,236,0)";const u={shared:!0,formatter:function(){const t=t=>'<br><span style="color:'+(0,b.htmlEncode)("string"==typeof t.series.color?t.series.color:"")+'">●</span> '+(0,b.htmlEncode)(t.series.name)+": <b>"+t.y+"</b>";let e=this.x;if(this.points)for(let a=0;a<this.points.length;a++)e+=t(this.points[a]);else this.point&&(e+=t(this.point));return e?.toString()}},A={Default:{credits:{enabled:!1},legend:{accessibility:{enabled:!1}},title:void 0,xAxis:{tickLength:0},yAxis:{opposite:!0,title:void 0}},AreaFilled:{chart:{type:"area"},tooltip:u},AreaStacked:{chart:{type:"area"},plotOptions:{area:{stacking:"normal",lineColor:"#666666",lineWidth:1,marker:{lineWidth:1,lineColor:"#666666"}}},tooltip:u},BarHorizontal:{chart:{type:"bar"},plotOptions:{bar:{dataLabels:{enabled:!0}}},tooltip:u},BarGrouped:{chart:{type:"bar"},plotOptions:{bar:{dataLabels:{enabled:!0,formatter:function(){return this.y?.toString()||""}}}},tooltip:u},BarStacked:{chart:{type:"bar"},plotOptions:{series:{stacking:"normal"}},tooltip:u},Line:{chart:{type:"line"},tooltip:u},LineZoomable:{chart:{zooming:{type:"x"},type:"area"},plotOptions:{area:{fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,d],[1,h]]},marker:{radius:2},lineWidth:1,states:{hover:{lineWidth:1}}}},tooltip:u},Pie:{chart:{type:"pie"},tooltip:{pointFormat:"Total: <b>{point.y}</b><br>Percentage: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,format:"<b>{point.name}</b>: {point.percentage:.1f} %"}}}},Scatter:{chart:{type:"scatter",zooming:{type:"xy"}},plotOptions:{scatter:{marker:{radius:3,states:{hover:{enabled:!0}}},states:{hover:{enabled:!1}}}},tooltip:u}};o().theme={chart:{height:300,style:{fontFamily:"inherit",fontSize:"100%"}},colors:["var(--color-blue6)","var(--color-gray6)","var(--color-red6)","var(--color-yellow6)","var(--color-green6)"]},o().setOptions(o().theme),o().setOptions({lang:{noData:window.BRIGHTSPOT?.ui?.tooltips?.chartNoData??"No Data to Display"}});const g=(t,e,a=!1)=>{const r=[],o=[];(0,p.A)(t,"thead > tr:first-child > th").forEach((t,a)=>{a>0&&r.push({name:t.textContent||void 0,data:[],type:e})});for(const e of(0,p.A)(t,"tbody > tr")){const t=(0,p.A)(e,"th, td");for(let e=1;e<t.length;++e)r[e-1].data?.push(parseFloat(t[e].textContent||"0"))}return a&&r.forEach(t=>{const e=t.data;let a=0;if(e){for(let t=e.length;t--;)a+=e[t];o.push({name:t.name,y:a})}}),a?[{type:"pie",data:o}]:r};class m{constructor(t){let e;const a=(0,c.A)("div",{className:"Chart"});t.parentNode?.insertBefore(a,t.nextSibling),t.style.display="none";const r=(t=>{const e=[];for(const a of(0,p.A)(t,"tbody > tr")){const t=(0,p.A)(a,"th, td");e.push(t[0].textContent||"")}return e})(t),s={formatter:function(){return r[parseInt(this.value.toString())]}},i={categories:r};switch(t.getAttribute("data-chart-type")){case"AREA_FILLED":e=Object.assign({},A.AreaFilled,A.Default,{labels:s,xAxis:i,series:g(t,A.AreaFilled.chart?.type||"")});break;case"AREA_STACKED":e=Object.assign({},A.AreaStacked,A.Default,{labels:s,xAxis:i,series:g(t,A.AreaStacked.chart?.type||"")});break;case"BAR_HORIZONTAL":e=Object.assign({},A.BarHorizontal,A.Default,{labels:s,xAxis:i,series:g(t,A.BarHorizontal.chart?.type||"")});break;case"BAR_GROUPED":e=Object.assign({},A.BarGrouped,A.Default,{labels:s,xAxis:i,series:g(t,A.BarGrouped.chart?.type||"")});break;case"BAR_STACKED":e=Object.assign({},A.BarStacked,A.Default,{labels:s,xAxis:i,series:g(t,A.BarStacked.chart?.type||"")});break;case"LINE":e=Object.assign({},A.Line,A.Default,{labels:s,xAxis:i,series:g(t,A.Line.chart?.type||"")});break;case"LINE_ZOOMABLE":e=Object.assign({},A.LineZoomable,A.Default,{labels:s,xAxis:i,series:g(t,A.LineZoomable.chart?.type||"")});break;case"PIE":e=Object.assign({},A.Pie,A.Default,{labels:s,xAxis:i,series:g(t,A.Pie.chart?.type||"",!0)});break;case"SCATTER":e=Object.assign({},A.Scatter,A.Default,{labels:s,xAxis:i,series:g(t,A.Scatter.chart?.type||"")});break;default:e={}}e&&new(o().Chart)(a,e,()=>{a.dispatchEvent(new CustomEvent("highchart-loaded",{bubbles:!0}))})}}},68747(t,e,a){a.d(e,{default:()=>m}),a(57573),a(49371),a(96648);var r=a(93381),o=a.n(r),s=a(92172),i=a.n(s),n=a(21825),l=a.n(n),c=a(25936);if(3324==a.j)var p=a(76394);var b=a(96654);let d,h;i()(o()),l()(o());const f=o().getOptions().colors?.[0];d="string"==typeof f?f:"#7cb5ec";const y=o().color(d).setOpacity(0).get("rgba");h="string"==typeof y?y:"rgba(124,181,236,0)";const u={shared:!0,formatter:function(){const t=t=>'<br><span style="color:'+(0,b.htmlEncode)("string"==typeof t.series.color?t.series.color:"")+'">●</span> '+(0,b.htmlEncode)(t.series.name)+": <b>"+t.y+"</b>";let e=this.x;if(this.points)for(let a=0;a<this.points.length;a++)e+=t(this.points[a]);else this.point&&(e+=t(this.point));return e?.toString()}},A={Default:{credits:{enabled:!1},legend:{accessibility:{enabled:!1}},title:void 0,xAxis:{tickLength:0},yAxis:{opposite:!0,title:void 0}},AreaFilled:{chart:{type:"area"},tooltip:u},AreaStacked:{chart:{type:"area"},plotOptions:{area:{stacking:"normal",lineColor:"#666666",lineWidth:1,marker:{lineWidth:1,lineColor:"#666666"}}},tooltip:u},BarHorizontal:{chart:{type:"bar"},plotOptions:{bar:{dataLabels:{enabled:!0}}},tooltip:u},BarGrouped:{chart:{type:"bar"},plotOptions:{bar:{dataLabels:{enabled:!0,formatter:function(){return this.y?.toString()||""}}}},tooltip:u},BarStacked:{chart:{type:"bar"},plotOptions:{series:{stacking:"normal"}},tooltip:u},Line:{chart:{type:"line"},tooltip:u},LineZoomable:{chart:{zooming:{type:"x"},type:"area"},plotOptions:{area:{fillColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,d],[1,h]]},marker:{radius:2},lineWidth:1,states:{hover:{lineWidth:1}}}},tooltip:u},Pie:{chart:{type:"pie"},tooltip:{pointFormat:"Total: <b>{point.y}</b><br>Percentage: <b>{point.percentage:.1f}%</b>"},accessibility:{point:{valueSuffix:"%"}},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,format:"<b>{point.name}</b>: {point.percentage:.1f} %"}}}},Scatter:{chart:{type:"scatter",zooming:{type:"xy"}},plotOptions:{scatter:{marker:{radius:3,states:{hover:{enabled:!0}}},states:{hover:{enabled:!1}}}},tooltip:u}};o().theme={chart:{height:300,style:{fontFamily:"inherit",fontSize:"100%"}},colors:["var(--color-blue6)","var(--color-gray6)","var(--color-red6)","var(--color-yellow6)","var(--color-green6)"]},o().setOptions(o().theme),o().setOptions({lang:{noData:window.BRIGHTSPOT?.ui?.tooltips?.chartNoData??"No Data to Display"}});const g=(t,e,a=!1)=>{const r=[],o=[];(0,p.A)(t,"thead > tr:first-child > th").forEach((t,a)=>{a>0&&r.push({name:t.textContent||void 0,data:[],type:e})});for(const e of(0,p.A)(t,"tbody > tr")){const t=(0,p.A)(e,"th, td");for(let e=1;e<t.length;++e)r[e-1].data?.push(parseFloat(t[e].textContent||"0"))}return a&&r.forEach(t=>{const e=t.data;let a=0;if(e){for(let t=e.length;t--;)a+=e[t];o.push({name:t.name,y:a})}}),a?[{type:"pie",data:o}]:r};class m{constructor(t){let e;const a=(0,c.A)("div",{className:"Chart"});t.parentNode?.insertBefore(a,t.nextSibling),t.style.display="none";const r=(t=>{const e=[];for(const a of(0,p.A)(t,"tbody > tr")){const t=(0,p.A)(a,"th, td");e.push(t[0].textContent||"")}return e})(t),s={formatter:function(){return r[parseInt(this.value.toString())]}},i={categories:r};switch(t.getAttribute("data-chart-type")){case"AREA_FILLED":e=Object.assign({},A.AreaFilled,A.Default,{labels:s,xAxis:i,series:g(t,A.AreaFilled.chart?.type||"")});break;case"AREA_STACKED":e=Object.assign({},A.AreaStacked,A.Default,{labels:s,xAxis:i,series:g(t,A.AreaStacked.chart?.type||"")});break;case"BAR_HORIZONTAL":e=Object.assign({},A.BarHorizontal,A.Default,{labels:s,xAxis:i,series:g(t,A.BarHorizontal.chart?.type||"")});break;case"BAR_GROUPED":e=Object.assign({},A.BarGrouped,A.Default,{labels:s,xAxis:i,series:g(t,A.BarGrouped.chart?.type||"")});break;case"BAR_STACKED":e=Object.assign({},A.BarStacked,A.Default,{labels:s,xAxis:i,series:g(t,A.BarStacked.chart?.type||"")});break;case"LINE":e=Object.assign({},A.Line,A.Default,{labels:s,xAxis:i,series:g(t,A.Line.chart?.type||"")});break;case"LINE_ZOOMABLE":e=Object.assign({},A.LineZoomable,A.Default,{labels:s,xAxis:i,series:g(t,A.LineZoomable.chart?.type||"")});break;case"PIE":e=Object.assign({},A.Pie,A.Default,{labels:s,xAxis:i,series:g(t,A.Pie.chart?.type||"",!0)});break;case"SCATTER":e=Object.assign({},A.Scatter,A.Default,{labels:s,xAxis:i,series:g(t,A.Scatter.chart?.type||"")});break;default:e={}}e&&new(o().Chart)(a,e,()=>{a.dispatchEvent(new CustomEvent("highchart-loaded",{bubbles:!0}))})}}},38745(t,e,a){function r(t,...e){const a=document.createElement(t),r=e[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){e.shift();for(const[t,e]of Object.entries(r))"dataset"===t?Object.keys(e).forEach(t=>a.dataset[t]=e[t]):void 0===e?a.removeAttribute(t):t in a?Object.assign(a,{[t]:e}):a.setAttribute(t,e)}return o(a,e),a}function o(t,e){if(e)if(Array.isArray(e)||e instanceof NodeList)for(const a of e)o(t,a);else e instanceof Node?t.appendChild(e):t.appendChild(document.createTextNode(e.toString()))}a.d(e,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),a(84978),a(25809)},25936(t,e,a){function r(t,...e){const a=document.createElement(t),r=e[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){e.shift();for(const[t,e]of Object.entries(r))"dataset"===t?Object.keys(e).forEach(t=>a.dataset[t]=e[t]):void 0===e?a.removeAttribute(t):t in a?Object.assign(a,{[t]:e}):a.setAttribute(t,e)}return o(a,e),a}function o(t,e){if(e)if(Array.isArray(e)||e instanceof NodeList)for(const a of e)o(t,a);else e instanceof Node?t.appendChild(e):t.appendChild(document.createTextNode(e.toString()))}a.d(e,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),a(49371),a(96648)},40627(t,e,a){function r(t,e){return t?(Array.isArray(e)&&(e=e.join(",")),t.querySelectorAll(e)):[]}a.d(e,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},76394(t,e,a){function r(t,e){return t?(Array.isArray(e)&&(e=e.join(",")),t.querySelectorAll(e)):[]}a.d(e,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})}}]);
|