@globalpayments/vega 2.48.0 → 2.49.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/cjs/{app-globals-22798708.js → app-globals-e17dedba.js} +2 -2
- package/dist/cjs/{content-state-54d94562.js → content-state-6a48bcb5.js} +20 -1
- package/dist/cjs/{design-token-1abb655a.js → design-token-6e2c52f1.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-2d4c8c18.js → element-appender-slimmer-9fb99abd.js} +1 -1
- package/dist/cjs/{image-annotation-action-b78404b8.js → image-annotation-action-9c2b9c8e.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{public-rules-c4d2df9d.js → public-rules-10ec636d.js} +2 -2
- package/dist/cjs/{responsive-format-facade-38f3763e.js → responsive-format-facade-9be0a851.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-e73f2c4f.js → rich-text-editor-required-rule-5faded94.js} +1 -1
- package/dist/cjs/{style-formatter-ecb4d49c.js → style-formatter-5b95a2a6.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +3 -3
- package/dist/cjs/vega-app-header-button.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +3 -3
- package/dist/cjs/vega-button.cjs.entry.js +2 -2
- package/dist/cjs/vega-card.cjs.entry.js +3 -3
- package/dist/cjs/vega-carousel.cjs.entry.js +2 -2
- package/dist/cjs/vega-chip.cjs.entry.js +3 -3
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-dialog_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-divider.cjs.entry.js +3 -3
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +3 -3
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-flag-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-flex.cjs.entry.js +4 -4
- package/dist/cjs/vega-font.cjs.entry.js +3 -3
- package/dist/cjs/vega-grid.cjs.entry.js +3 -3
- package/dist/cjs/vega-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-image-uploader.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-select.cjs.entry.js +2 -2
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +3 -3
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +2 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -3
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +35 -7
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +2 -2
- package/dist/cjs/vega-signature-capture.cjs.entry.js +3 -3
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +55 -19
- package/dist/cjs/vega-table_8.cjs.entry.js +2 -2
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +7 -1
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/vega.cjs.js +3 -3
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +3 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +9 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/text-block-renderer.js +6 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.js +13 -3
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/continue-inline-to-rte-text-block-strategy.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/inline-block-to-rte-text-block-strategy.js +16 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +22 -12
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +6 -2
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +20 -4
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +16 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +32 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +8 -2
- package/dist/esm/{app-globals-1bb57f5e.js → app-globals-b7b43a4e.js} +2 -2
- package/dist/esm/{content-state-6dba6625.js → content-state-dbc9f635.js} +20 -1
- package/dist/esm/{design-token-070b7326.js → design-token-e263e6a2.js} +1 -1
- package/dist/esm/{element-appender-slimmer-d196dd21.js → element-appender-slimmer-55d63b1f.js} +1 -1
- package/dist/esm/{image-annotation-action-0b661259.js → image-annotation-action-1aa938ab.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{public-rules-f9aaa527.js → public-rules-5cf6aa95.js} +2 -2
- package/dist/esm/{responsive-format-facade-dfed6d94.js → responsive-format-facade-bc2f8ad3.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-42b796eb.js → rich-text-editor-required-rule-6a7cd3ee.js} +1 -1
- package/dist/esm/{style-formatter-788dbacf.js → style-formatter-0f221459.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +3 -3
- package/dist/esm/vega-app-header-button.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +3 -3
- package/dist/esm/vega-button.entry.js +2 -2
- package/dist/esm/vega-card.entry.js +3 -3
- package/dist/esm/vega-carousel.entry.js +2 -2
- package/dist/esm/vega-chip.entry.js +3 -3
- package/dist/esm/vega-date-picker_2.entry.js +3 -3
- package/dist/esm/vega-dialog_2.entry.js +3 -3
- package/dist/esm/vega-divider.entry.js +3 -3
- package/dist/esm/vega-dropdown_5.entry.js +3 -3
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-flag-icon.entry.js +3 -3
- package/dist/esm/vega-flex.entry.js +4 -4
- package/dist/esm/vega-font.entry.js +3 -3
- package/dist/esm/vega-grid.entry.js +3 -3
- package/dist/esm/vega-icon.entry.js +3 -3
- package/dist/esm/vega-image-uploader.entry.js +2 -2
- package/dist/esm/vega-input-select.entry.js +2 -2
- package/dist/esm/vega-left-nav_5.entry.js +3 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +3 -3
- package/dist/esm/vega-rich-text-content.entry.js +9 -3
- package/dist/esm/vega-rich-text-editor_4.entry.js +35 -7
- package/dist/esm/vega-selection-chip_2.entry.js +2 -2
- package/dist/esm/vega-sidenav_3.entry.js +2 -2
- package/dist/esm/vega-signature-capture.entry.js +3 -3
- package/dist/esm/vega-tab-group_2.entry.js +55 -19
- package/dist/esm/vega-table_8.entry.js +2 -2
- package/dist/esm/vega-time-picker_2.entry.js +3 -3
- package/dist/esm/vega-toggle-switch.entry.js +7 -1
- package/dist/esm/vega-tooltip_2.entry.js +3 -3
- package/dist/esm/vega.js +3 -3
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +7 -1
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/block-to-rte-block-strategy.abstract.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +1 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +3 -0
- package/dist/types/components/vega-tab-group/types.d.ts +2 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +7 -1
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +1 -0
- package/dist/types/components.d.ts +13 -3
- package/dist/types/types/components.type.d.ts +1 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-84298e28.entry.js → p-01fd343e.entry.js} +1 -1
- package/dist/vega/{p-db4112af.js → p-1abe125f.js} +1 -1
- package/dist/vega/{p-e8f16f1d.entry.js → p-2565cb0c.entry.js} +1 -1
- package/dist/vega/{p-b1f9fca8.entry.js → p-26e4221c.entry.js} +1 -1
- package/dist/vega/{p-371cc8e8.entry.js → p-2bd64faf.entry.js} +1 -1
- package/dist/vega/p-2da83c2a.js +1 -0
- package/dist/vega/{p-ed6cc75b.entry.js → p-33ffaa71.entry.js} +1 -1
- package/dist/vega/{p-09f7f841.entry.js → p-34a70d18.entry.js} +1 -1
- package/dist/vega/{p-32c68611.entry.js → p-3aa244d4.entry.js} +1 -1
- package/dist/vega/{p-1b3f492f.entry.js → p-429616af.entry.js} +1 -1
- package/dist/vega/p-44b0a005.js +1 -0
- package/dist/vega/p-4e167a8c.js +1 -0
- package/dist/vega/p-4e76904e.entry.js +1 -0
- package/dist/vega/{p-10f1429e.entry.js → p-52e17867.entry.js} +1 -1
- package/dist/vega/{p-9dba10f7.entry.js → p-57cdacb1.entry.js} +1 -1
- package/dist/vega/{p-2491d18f.entry.js → p-58b8c06b.entry.js} +1 -1
- package/dist/vega/{p-f5b19d4f.entry.js → p-59ccf915.entry.js} +1 -1
- package/dist/vega/p-5cbadf95.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-07d1c3e1.entry.js → p-63414091.entry.js} +1 -1
- package/dist/vega/{p-7581d242.entry.js → p-6aa569e5.entry.js} +1 -1
- package/dist/vega/{p-0d355793.js → p-6b75fe39.js} +1 -1
- package/dist/vega/{p-32ca74b1.js → p-6d7d923b.js} +1 -1
- package/dist/vega/{p-292b421a.entry.js → p-6ec8a9d8.entry.js} +1 -1
- package/dist/vega/{p-dd33bc71.entry.js → p-84aac4b1.entry.js} +1 -1
- package/dist/vega/{p-75c68f51.js → p-88c9efbb.js} +1 -1
- package/dist/vega/{p-5c3da7ed.entry.js → p-8aec8dac.entry.js} +1 -1
- package/dist/vega/{p-50e80afa.js → p-8afa2115.js} +1 -1
- package/dist/vega/p-96b4c0cc.entry.js +1 -0
- package/dist/vega/{p-c6a3fe8a.entry.js → p-a8b681ed.entry.js} +1 -1
- package/dist/vega/{p-1d0cf3ae.entry.js → p-ac82ca73.entry.js} +1 -1
- package/dist/vega/{p-38fa38dc.entry.js → p-ba6c7f00.entry.js} +1 -1
- package/dist/vega/{p-024cccab.entry.js → p-be40684b.entry.js} +1 -1
- package/dist/vega/{p-6cc32ffa.entry.js → p-c1e1adf9.entry.js} +1 -1
- package/dist/vega/{p-d033ed44.entry.js → p-c96effa5.entry.js} +1 -1
- package/dist/vega/{p-baca6dfc.entry.js → p-ca34443a.entry.js} +1 -1
- package/dist/vega/{p-09c13382.entry.js → p-cb637815.entry.js} +1 -1
- package/dist/vega/{p-575ca599.entry.js → p-ce70a54a.entry.js} +1 -1
- package/dist/vega/{p-48b7f20d.js → p-dbc82247.js} +1 -1
- package/dist/vega/{p-31ec679b.entry.js → p-e29da13d.entry.js} +1 -1
- package/dist/vega/p-e719b1a9.entry.js +1 -0
- package/dist/vega/{p-65a76f19.entry.js → p-fb853d5f.entry.js} +1 -1
- package/dist/vega/{p-2ecae9fe.entry.js → p-fd018044.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-5c1eedc5.js +0 -1
- package/dist/vega/p-971f7d3c.entry.js +0 -1
- package/dist/vega/p-b3e1dc86.entry.js +0 -1
- package/dist/vega/p-cc43a4ca.js +0 -1
- package/dist/vega/p-db7a6878.entry.js +0 -1
- package/dist/vega/p-f4d3387c.entry.js +0 -1
- package/dist/vega/p-fba4bae5.js +0 -1
|
@@ -6,9 +6,9 @@ import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0f
|
|
|
6
6
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
7
7
|
import { d as domNodeSubjectFactory, b as VegaDropdownClick, f as VegaChange, P as VegaImageInserted, a as VegaClick, M as VegaPopoverShow, N as VegaPopoverHide } from './dom-node-subject-factory-f77cf9cc.js';
|
|
8
8
|
import { V as VegaInternalComponentDidRender, b as VegaInternalRichTextEditorSelectionRangeChange, a as VegaInternalRichTextEditorFlushChanges, u as VegaInternalRichTextEditDeleteSelectedNodes, v as VegaInternalRichTextImageClick, w as VegaInternalRichTextImageDeleteButtonClicked, q as VegaInternalPopoverUpdateTarget } from './vega-internal-event-id-85ad403f.js';
|
|
9
|
-
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-
|
|
9
|
+
import { b as ToolbarButtonSlimmer, I as ImageAnnotationAction, T as TextNodeRenderingRegistry, a as TextColorToolbarButtonSlimmer } from './image-annotation-action-1aa938ab.js';
|
|
10
10
|
import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.js';
|
|
11
|
-
import { f as RTETextNode, l as BoldAnnotationAction, h as NodeAnnotationTypeEnum, T as TextSplittableAction, m as ItalicAnnotation, U as UnderlineAnnotation, R as RTETextBlock, n as TextStyleAnnotationAction, o as TextStyleAnnotation, p as BoldAnnotation, q as BlockAnnotationTypeEnum, C as ClearFormattingAnnotationAction, r as CodeAnnotationAction, S as StrikethroughAnnotation, A as AnnotationAction, t as SelectionRangeAnnotation, L as LinkAnnotationAction, u as IndentAnnotation, e as RTEImageNode, M as ModifyContentAction, v as ModifyContentActionType, b as RTEListItemBlock, H as HorizontalAlignmentAnnotation, g as RTENode, s as stateEntityRenderingRegistry, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, V as VegaRTEContent, w as AppendChildNodesAction, x as UpdateTextAction, y as MergeTwoBlocksNodesAction, z as SplitBlockWithNodeAction, D as BreakSingleBlockAction, E as RemoveChildAction, F as ReplaceChildNodesAction, G as InsertBlocksBeforeAction, k as RTE_TEXT_COLORS, c as RTEListBlock, a as RTEImageBlock, J as InsertBlocksAfterAction } from './content-state-
|
|
11
|
+
import { f as RTETextNode, l as BoldAnnotationAction, h as NodeAnnotationTypeEnum, T as TextSplittableAction, m as ItalicAnnotation, U as UnderlineAnnotation, R as RTETextBlock, n as TextStyleAnnotationAction, o as TextStyleAnnotation, p as BoldAnnotation, q as BlockAnnotationTypeEnum, C as ClearFormattingAnnotationAction, r as CodeAnnotationAction, S as StrikethroughAnnotation, A as AnnotationAction, t as SelectionRangeAnnotation, L as LinkAnnotationAction, u as IndentAnnotation, e as RTEImageNode, M as ModifyContentAction, v as ModifyContentActionType, b as RTEListItemBlock, H as HorizontalAlignmentAnnotation, g as RTENode, s as stateEntityRenderingRegistry, Z as ZERO_WIDTH_SPACE, I as InternalAnnotationTypeEnum, V as VegaRTEContent, w as AppendChildNodesAction, x as UpdateTextAction, y as MergeTwoBlocksNodesAction, z as SplitBlockWithNodeAction, D as BreakSingleBlockAction, E as RemoveChildAction, F as ReplaceChildNodesAction, G as InsertBlocksBeforeAction, k as RTE_TEXT_COLORS, c as RTEListBlock, a as RTEImageBlock, J as InsertBlocksAfterAction } from './content-state-dbc9f635.js';
|
|
12
12
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
13
13
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
14
14
|
import { a as waitForComponentDidRender } from './index-4aa167d6.js';
|
|
@@ -22,7 +22,7 @@ import { f as findParent, r as rgbToHex } from './ui-ed1283bb.js';
|
|
|
22
22
|
import { b as FORM_ELEMENT_VALUE_CHANGE, D as DARK_MODE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
23
23
|
import { D as DarkModeStateControllerSlimmer } from './dark-mode-state-controller-slimmer-f1c2c299.js';
|
|
24
24
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
25
|
-
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
25
|
+
import { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-6a7cd3ee.js';
|
|
26
26
|
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-d3a94ef2.js';
|
|
27
27
|
import { T as TranslationSlimmer } from './translation-slimmer-88966d5c.js';
|
|
28
28
|
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-2ada8e22.js';
|
|
@@ -2978,7 +2978,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
2978
2978
|
});
|
|
2979
2979
|
}
|
|
2980
2980
|
else {
|
|
2981
|
-
childNodes.push(...this.generateChildNodes(Array.from(child.childNodes), Object.assign({}, annotations, this.generateTextNodeAnnotations(child))));
|
|
2981
|
+
childNodes.push(...this.generateChildNodes(Array.from(child.childNodes), Object.assign({}, annotations, this.generateTextNodeAnnotations(child, annotations))));
|
|
2982
2982
|
}
|
|
2983
2983
|
});
|
|
2984
2984
|
return childNodes;
|
|
@@ -3017,9 +3017,10 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3017
3017
|
* Generate annotations map for text node element.
|
|
3018
3018
|
*
|
|
3019
3019
|
* @param {HTMLElement} element - current element.
|
|
3020
|
+
* @param {VegaRTETextAnnotations} parentAnnotations - parent annotations
|
|
3020
3021
|
* @returns {VegaRTETextAnnotations | VegaRTECodeAnnotations} - Text node annotations.
|
|
3021
3022
|
*/
|
|
3022
|
-
generateTextNodeAnnotations(element) {
|
|
3023
|
+
generateTextNodeAnnotations(element, parentAnnotations) {
|
|
3023
3024
|
if (this.isCode(element))
|
|
3024
3025
|
return { code: true };
|
|
3025
3026
|
const annotations = {
|
|
@@ -3028,6 +3029,10 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3028
3029
|
underline: this.isUnderline(element),
|
|
3029
3030
|
strikethrough: this.isStrikethrough(element),
|
|
3030
3031
|
};
|
|
3032
|
+
parentAnnotations.bold && (annotations.bold = true);
|
|
3033
|
+
parentAnnotations.underline && (annotations.underline = true);
|
|
3034
|
+
parentAnnotations.italic && (annotations.italic = true);
|
|
3035
|
+
parentAnnotations.strikethrough && (annotations.strikethrough = true);
|
|
3031
3036
|
const color = this.getColor(element);
|
|
3032
3037
|
const link = this.getLink(element);
|
|
3033
3038
|
if (color)
|
|
@@ -3043,7 +3048,9 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3043
3048
|
* @returns {boolean} - boolean.
|
|
3044
3049
|
*/
|
|
3045
3050
|
isCode(element) {
|
|
3046
|
-
return element.classList.contains('v-rte--code') ||
|
|
3051
|
+
return (element.classList.contains('v-rte--code') ||
|
|
3052
|
+
element.nodeName === 'CODE' ||
|
|
3053
|
+
element.style.fontFamily === 'monospace');
|
|
3047
3054
|
}
|
|
3048
3055
|
/**
|
|
3049
3056
|
* Is bold element.
|
|
@@ -3053,6 +3060,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3053
3060
|
*/
|
|
3054
3061
|
isBold(element) {
|
|
3055
3062
|
return (element.nodeName === 'STRONG' ||
|
|
3063
|
+
element.nodeName === 'B' ||
|
|
3056
3064
|
element.style.fontWeight === 'bold' ||
|
|
3057
3065
|
element.style.fontWeight === '700');
|
|
3058
3066
|
}
|
|
@@ -3074,6 +3082,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3074
3082
|
isUnderline(element) {
|
|
3075
3083
|
return (element.style.textDecoration.includes('underline') ||
|
|
3076
3084
|
element.nodeName === 'U' ||
|
|
3085
|
+
element.nodeName === 'INS' ||
|
|
3077
3086
|
element.classList.contains('v-rte--underline'));
|
|
3078
3087
|
}
|
|
3079
3088
|
/**
|
|
@@ -3085,6 +3094,7 @@ class BlockToRTEBlockStrategyAbstract extends ElementToDTOStrategy {
|
|
|
3085
3094
|
isStrikethrough(element) {
|
|
3086
3095
|
return (element.style.textDecoration.includes('line-through') ||
|
|
3087
3096
|
element.nodeName === 'S' ||
|
|
3097
|
+
element.nodeName === 'DEL' ||
|
|
3088
3098
|
element.classList.contains('v-rte--strikethrough'));
|
|
3089
3099
|
}
|
|
3090
3100
|
/**
|
|
@@ -3263,6 +3273,9 @@ ContinueInlineToRTETextBlockStrategy.canHandleTags = [
|
|
|
3263
3273
|
'U',
|
|
3264
3274
|
'A',
|
|
3265
3275
|
'VEGA-RICH-TEXT-LINK-EDITOR',
|
|
3276
|
+
'B',
|
|
3277
|
+
'INS',
|
|
3278
|
+
'DEL',
|
|
3266
3279
|
];
|
|
3267
3280
|
|
|
3268
3281
|
/** Transform ul element to list block DTO */
|
|
@@ -3370,7 +3383,16 @@ class InlineBlockToRTETextBlockStrategy extends BlockToRTEBlockStrategyAbstract
|
|
|
3370
3383
|
* @returns {number} - can be handled element count.
|
|
3371
3384
|
*/
|
|
3372
3385
|
canHandle(elementsArray, currentIndex) {
|
|
3373
|
-
return [
|
|
3386
|
+
return [
|
|
3387
|
+
'heading-1',
|
|
3388
|
+
'heading-2',
|
|
3389
|
+
'heading-3',
|
|
3390
|
+
'heading-4',
|
|
3391
|
+
'heading-5',
|
|
3392
|
+
'heading-6',
|
|
3393
|
+
'title',
|
|
3394
|
+
'subtitle',
|
|
3395
|
+
].includes(this.getElementType(elementsArray[currentIndex]))
|
|
3374
3396
|
? 1
|
|
3375
3397
|
: 0;
|
|
3376
3398
|
}
|
|
@@ -3435,6 +3457,12 @@ class InlineBlockToRTETextBlockStrategy extends BlockToRTEBlockStrategyAbstract
|
|
|
3435
3457
|
return 'heading-2';
|
|
3436
3458
|
case 'H3':
|
|
3437
3459
|
return 'heading-3';
|
|
3460
|
+
case 'H4':
|
|
3461
|
+
return 'heading-4';
|
|
3462
|
+
case 'H5':
|
|
3463
|
+
return 'heading-5';
|
|
3464
|
+
case 'H6':
|
|
3465
|
+
return 'heading-6';
|
|
3438
3466
|
default:
|
|
3439
3467
|
return '';
|
|
3440
3468
|
}
|
|
@@ -2,7 +2,7 @@ import { h, H as Host, r as registerInstance, c as createEvent, g as getElement
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
3
3
|
import { c as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer, L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
4
4
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
5
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
5
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-bc2f8ad3.js';
|
|
6
6
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
7
7
|
import { S as SubStateObserverSlimmer } from './sub-state-observer-slimmer-be7a6ce3.js';
|
|
8
8
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
@@ -39,7 +39,7 @@ import './index-44c794b4.js';
|
|
|
39
39
|
import './icon-manager-638dd4d4.js';
|
|
40
40
|
import './wait-for-vega-handler-b18eb955.js';
|
|
41
41
|
import './translation-cf7f020a.js';
|
|
42
|
-
import './content-state-
|
|
42
|
+
import './content-state-dbc9f635.js';
|
|
43
43
|
import './dom-node-subject-observer-factory-715dccf9.js';
|
|
44
44
|
import './string-be824360.js';
|
|
45
45
|
import './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
@@ -11,7 +11,7 @@ import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.j
|
|
|
11
11
|
import { V as VegaIconManager } from './icon-manager-638dd4d4.js';
|
|
12
12
|
import { c as createSubStateNotifySlimmer } from './sub-state-notify-slimmer-4e3cf09d.js';
|
|
13
13
|
import { e as executeAfterTransition } from './effect-8efd2c3c.js';
|
|
14
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
14
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-bc2f8ad3.js';
|
|
15
15
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
16
16
|
import { t as VegaInternalSidenavLinkClick } from './vega-internal-event-id-85ad403f.js';
|
|
17
17
|
import { c as createEventEmitSlimmer } from './event-emit-slimmer-b7d511f6.js';
|
|
@@ -37,7 +37,7 @@ import './feature-flag-controller-690eac1d.js';
|
|
|
37
37
|
import './index-44c794b4.js';
|
|
38
38
|
import './wait-for-vega-handler-b18eb955.js';
|
|
39
39
|
import './translation-cf7f020a.js';
|
|
40
|
-
import './content-state-
|
|
40
|
+
import './content-state-dbc9f635.js';
|
|
41
41
|
|
|
42
42
|
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
43
43
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -5,7 +5,7 @@ import { V as VegaInternalIconManager } from './internal-icon-manager-58cf8aa6.j
|
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
6
6
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
7
7
|
import { a as VegaClick, f as VegaChange } from './dom-node-subject-factory-f77cf9cc.js';
|
|
8
|
-
import { f as formatAndValidResponsiveToken } from './design-token-
|
|
8
|
+
import { f as formatAndValidResponsiveToken } from './design-token-e263e6a2.js';
|
|
9
9
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
10
10
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
11
11
|
import { d as deepEqual } from './object-261e7344.js';
|
|
@@ -24,7 +24,7 @@ import './breakpoints-d9faf11c.js';
|
|
|
24
24
|
import './ui-8424715a.js';
|
|
25
25
|
import './regex-dfe11abf.js';
|
|
26
26
|
import './typography-396de03f.js';
|
|
27
|
-
import './responsive-format-facade-
|
|
27
|
+
import './responsive-format-facade-bc2f8ad3.js';
|
|
28
28
|
import './number-4398f2e1.js';
|
|
29
29
|
import './pixel-f32c07ce.js';
|
|
30
30
|
import './array-3113609f.js';
|
|
@@ -37,7 +37,7 @@ import './feature-flag-controller-690eac1d.js';
|
|
|
37
37
|
import './index-44c794b4.js';
|
|
38
38
|
import './wait-for-vega-handler-b18eb955.js';
|
|
39
39
|
import './translation-cf7f020a.js';
|
|
40
|
-
import './content-state-
|
|
40
|
+
import './content-state-dbc9f635.js';
|
|
41
41
|
import './vega-internal-event-id-85ad403f.js';
|
|
42
42
|
import './state-background-color-formatter-121ae7d3.js';
|
|
43
43
|
import './string-be824360.js';
|
|
@@ -46,10 +46,11 @@ class VegaTabGroupRenderer extends VegaSlimmer {
|
|
|
46
46
|
'more-tab': this.tabPages.length > 1,
|
|
47
47
|
'tab-style-secondary': this.variant === 'secondary',
|
|
48
48
|
'tab-style-primary': this.variant !== 'secondary',
|
|
49
|
+
'swipe-more-tabs': this.overflow === 'scroll',
|
|
49
50
|
}, ref: (node) => (this.tabMenuContainer = node) },
|
|
50
|
-
this.directionButtonRenderer.render('left'),
|
|
51
|
+
this.overflow === 'menu' && this.directionButtonRenderer.render('left'),
|
|
51
52
|
this.tabListRenderer.render(),
|
|
52
|
-
this.directionButtonRenderer.render('right')),
|
|
53
|
+
this.overflow === 'menu' && this.directionButtonRenderer.render('right')),
|
|
53
54
|
h("div", { class: "horizontal-divider" }),
|
|
54
55
|
this.contentRenderer.render()));
|
|
55
56
|
}
|
|
@@ -60,6 +61,9 @@ __decorate$b([
|
|
|
60
61
|
__decorate$b([
|
|
61
62
|
MapToComponentField()
|
|
62
63
|
], VegaTabGroupRenderer.prototype, "variant", void 0);
|
|
64
|
+
__decorate$b([
|
|
65
|
+
MapToComponentField()
|
|
66
|
+
], VegaTabGroupRenderer.prototype, "overflow", void 0);
|
|
63
67
|
__decorate$b([
|
|
64
68
|
MapToComponentField({ componentFieldName: 'vegaTabGroupTabListRenderer' })
|
|
65
69
|
], VegaTabGroupRenderer.prototype, "tabListRenderer", void 0);
|
|
@@ -242,15 +246,17 @@ class VegaTabGroupPagesController extends PageResizeObserverSlimmer {
|
|
|
242
246
|
const primaryMargin = 48;
|
|
243
247
|
const groupWidth = this.host.getBoundingClientRect().width;
|
|
244
248
|
let tabGroupContainerWidth = this.variant === 'secondary' ? groupWidth : groupWidth - primaryMargin;
|
|
245
|
-
if (
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
249
|
+
if (this.overflow === 'menu') {
|
|
250
|
+
if (startIndex > 0) {
|
|
251
|
+
tabGroupContainerWidth -= this.TAB_SIDE_BUTTON_WIDTH + this.TAB_SIDE_BUTTON_AND_CONTENT_SPACE;
|
|
252
|
+
}
|
|
253
|
+
const showRightButton = values.length > 0 &&
|
|
254
|
+
values.slice(startIndex).reduce((prev, current) => prev + current) >
|
|
255
|
+
tabGroupContainerWidth &&
|
|
256
|
+
tabGroupContainerWidth > 0;
|
|
257
|
+
if (showRightButton) {
|
|
258
|
+
tabGroupContainerWidth -= this.TAB_SIDE_BUTTON_WIDTH;
|
|
259
|
+
}
|
|
254
260
|
}
|
|
255
261
|
return tabGroupContainerWidth;
|
|
256
262
|
};
|
|
@@ -326,9 +332,14 @@ class VegaTabGroupPagesController extends PageResizeObserverSlimmer {
|
|
|
326
332
|
*/
|
|
327
333
|
initTabPages() {
|
|
328
334
|
if (this.tabItems) {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
335
|
+
if (this.overflow === 'scroll') {
|
|
336
|
+
this.tabPages = [[...this.tabItems]];
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
this.tabPages = this.valuePaginator.paginate(this.tabItems, (_input, index) => this.tabWidthArray[index] > 0
|
|
340
|
+
? this.tabWidthArray[index] + Number(this.formatAndValidGap(this.gap))
|
|
341
|
+
: this.tabWidthArray[index], this.getTabContainerSpace);
|
|
342
|
+
}
|
|
332
343
|
}
|
|
333
344
|
}
|
|
334
345
|
/*
|
|
@@ -389,6 +400,9 @@ __decorate$9([
|
|
|
389
400
|
__decorate$9([
|
|
390
401
|
MapToComponentField()
|
|
391
402
|
], VegaTabGroupPagesController.prototype, "variant", void 0);
|
|
403
|
+
__decorate$9([
|
|
404
|
+
MapToComponentField()
|
|
405
|
+
], VegaTabGroupPagesController.prototype, "overflow", void 0);
|
|
392
406
|
__decorate$9([
|
|
393
407
|
MapToComponentField({ componentFieldName: 'vegaTabGroupSliderStateController' })
|
|
394
408
|
], VegaTabGroupPagesController.prototype, "sliderStateController", void 0);
|
|
@@ -803,10 +817,23 @@ class VegaTabGroupTabListRenderer extends VegaSlimmer {
|
|
|
803
817
|
};
|
|
804
818
|
}
|
|
805
819
|
render() {
|
|
806
|
-
return (h("div", { class:
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
820
|
+
return (h("div", { class: {
|
|
821
|
+
'tab-list': true,
|
|
822
|
+
'menu': this.overflow === 'menu',
|
|
823
|
+
'scroll': this.overflow === 'scroll',
|
|
824
|
+
} },
|
|
825
|
+
this.overflow === 'menu' && this.renderTabListInMenuOverflow(),
|
|
826
|
+
this.overflow === 'scroll' && this.renderTabListInScrollOverflow()));
|
|
827
|
+
}
|
|
828
|
+
renderTabListInMenuOverflow() {
|
|
829
|
+
return (h("vega-carousel", { showSlider: false, ref: (el) => (this.carouselDom = el) }, this.tabPages.length > 0 ? (this.tabPages.map((tabPage, index) => {
|
|
830
|
+
return h("div", { key: index }, this.renderTabList(tabPage));
|
|
831
|
+
})) : (h("div", null, this.renderTabList(this.tabItems)))));
|
|
832
|
+
}
|
|
833
|
+
renderTabListInScrollOverflow() {
|
|
834
|
+
return (h("div", { class: "overflow-scroll" }, this.tabPages.map((tabPage, index) => {
|
|
835
|
+
return h("div", { key: index }, this.renderTabList(tabPage));
|
|
836
|
+
})));
|
|
810
837
|
}
|
|
811
838
|
renderTabList(showTabItems) {
|
|
812
839
|
return (h("vega-flex", { gap: this.gap }, showTabItems.map((item) => {
|
|
@@ -888,6 +915,9 @@ __decorate$4([
|
|
|
888
915
|
__decorate$4([
|
|
889
916
|
MapToComponentField()
|
|
890
917
|
], VegaTabGroupTabListRenderer.prototype, "tabItems", void 0);
|
|
918
|
+
__decorate$4([
|
|
919
|
+
MapToComponentField()
|
|
920
|
+
], VegaTabGroupTabListRenderer.prototype, "overflow", void 0);
|
|
891
921
|
__decorate$4([
|
|
892
922
|
MapToComponentField()
|
|
893
923
|
], VegaTabGroupTabListRenderer.prototype, "positionRelativeTo", void 0);
|
|
@@ -1042,7 +1072,7 @@ const VegaTabGroupRuntimeMetricsPayloadDefinition = [
|
|
|
1042
1072
|
},
|
|
1043
1073
|
];
|
|
1044
1074
|
|
|
1045
|
-
const vegaTabGroupCss = ".tab-content-container.tab-style-primary{margin-left:24px;margin-right:24px}.vega-tab{cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.tab-content-container.more-tab .vega-tab{flex-grow:1}.tab-content-container.more-tab .vega-tab.last-page{flex-grow:0}.vega-tab>div.vega-tab-container{display:flex;align-items:center}.vega-tab>div.vega-tab-container>div{flex-grow:1}.tab-style-primary .vega-tab:hover{background-color:rgba(var(--v-bg-tab-hover, 245, 247, 247, 1))}.tab-style-primary .vega-tab.selected,.tab-style-primary .vega-tab.selected:hover{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-tab>div>.label{display:inline-flex;align-items:center;font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;padding-top:8px;padding-bottom:8px;padding-left:16px;padding-right:16px;cursor:pointer;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.vega-tab>div>.label vega-icon{padding-right:8px}.vega-tab>div>.label .vega-counter-badge{position:relative;height:20px;padding-left:8px}.vega-tab>div>.label .vega-counter-badge vega-counter-badge{position:absolute;padding-left:8px;top:10px}.vega-tab>div>.label .vega-counter-badge.one-digit{width:20px}.vega-tab>div>.label .vega-counter-badge.one-digit vega-counter-badge{left:10px}.vega-tab>div>.label .vega-counter-badge.two-digits{width:28px}.vega-tab>div>.label .vega-counter-badge.two-digits vega-counter-badge{left:14px}.vega-tab>div>.label .vega-counter-badge.multi-digits{width:32px}.vega-tab>div>.label .vega-counter-badge.multi-digits vega-counter-badge{left:16px}.vega-tab>div>.label.vega-close-icon-space{padding-right:12px}.vega-tab>div>div.vega-close-icon{padding-left:0px;flex-grow:0;padding-right:13px}.vega-tab>div>div.vega-hidden{display:none}.vega-tab>div vega-icon{color:rgba(var(--v-text-primary, 32, 54, 69, 1));box-sizing:content-box}.vega-tab>div>div.vega-close-icon vega-icon{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}.vega-tab.disabled{pointer-events:none;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.vega-tab.disabled .label,.vega-tab.disabled vega-icon{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host{display:block;width:100%;text-align:left;line-height:normal;min-width:270px}.horizontal-divider{height:1px;background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));width:100%;display:none;margin-top:-1px}.tab-content-container{display:flex;gap:8px;justify-content:space-between}.tab-content-container.more-tab .tab-list{width:100%}div.tab-left-button,div.tab-right-button{display:inline-block;cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1))}div.tab-left-button.vega-hidden,div.tab-right-button.vega-hidden{display:none}div.tab-left-button vega-icon,div.tab-right-button vega-icon{box-sizing:content-box;padding:13px 13px 13px 12px}.vega-tab-group-content vega-tab-group-panel{display:none}.vega-tab-group-content vega-tab-group-panel.active{display:block}.tab-style-secondary .vega-tab>div.vega-tab-container{align-items:baseline}.tab-style-secondary+.horizontal-divider{display:block}.tab-style-secondary .vega-tab{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary .vega-tab>div>.label{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:12px}.tab-style-secondary .vega-tab.selected>div>.label,.tab-style-secondary .vega-tab.selected>div>.label vega-icon,.tab-style-secondary .vega-tab:hover>div>.label,.tab-style-secondary .vega-tab:hover>div>.label vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.tab-style-secondary .vega-tab{border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:2px;border-style:solid;border-color:transparent}.tab-style-secondary .vega-tab.selected{border-color:rgba(var(--v-border-color-action, 19, 98, 226, 1))}.tab-style-secondary div.tab-left-button,.tab-style-secondary div.tab-right-button{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary div.tab-left-button vega-icon,.tab-style-secondary div.tab-right-button vega-icon{padding:6px 13px 13px 6px}.tab-style-secondary div.tab-left-button:hover vega-icon,.tab-style-secondary div.tab-right-button:hover vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}";
|
|
1075
|
+
const vegaTabGroupCss = ".tab-content-container.tab-style-primary{margin-left:24px;margin-right:24px}.vega-tab{cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.tab-content-container .tab-list.scroll{width:100%;overflow:hidden}.tab-content-container .tab-list.scroll .overflow-scroll>div{display:flex;overflow-x:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.tab-content-container .tab-list.scroll .overflow-scroll>div::-webkit-scrollbar{display:none}.tab-content-container.more-tab .vega-tab{flex-grow:1}.tab-content-container.more-tab .vega-tab.last-page{flex-grow:0}.vega-tab>div.vega-tab-container{display:flex;align-items:center}.vega-tab>div.vega-tab-container>div{flex-grow:1}.tab-style-primary .vega-tab:hover{background-color:rgba(var(--v-bg-tab-hover, 245, 247, 247, 1))}.tab-style-primary .vega-tab.selected,.tab-style-primary .vega-tab.selected:hover{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-tab>div>.label{display:inline-flex;align-items:center;font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;padding-top:8px;padding-bottom:8px;padding-left:16px;padding-right:16px;cursor:pointer;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-tab>div>.label{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.vega-tab>div>.label vega-icon{padding-right:8px}.vega-tab>div>.label .vega-counter-badge{position:relative;height:20px;padding-left:8px}.vega-tab>div>.label .vega-counter-badge vega-counter-badge{position:absolute;padding-left:8px;top:10px}.vega-tab>div>.label .vega-counter-badge.one-digit{width:20px}.vega-tab>div>.label .vega-counter-badge.one-digit vega-counter-badge{left:10px}.vega-tab>div>.label .vega-counter-badge.two-digits{width:28px}.vega-tab>div>.label .vega-counter-badge.two-digits vega-counter-badge{left:14px}.vega-tab>div>.label .vega-counter-badge.multi-digits{width:32px}.vega-tab>div>.label .vega-counter-badge.multi-digits vega-counter-badge{left:16px}.vega-tab>div>.label.vega-close-icon-space{padding-right:12px}.vega-tab>div>div.vega-close-icon{padding-left:0px;flex-grow:0;padding-right:13px}.vega-tab>div>div.vega-hidden{display:none}.vega-tab>div vega-icon{color:rgba(var(--v-text-primary, 32, 54, 69, 1));box-sizing:content-box}.vega-tab>div>div.vega-close-icon vega-icon{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}.vega-tab.disabled{pointer-events:none;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))}.vega-tab.disabled .label,.vega-tab.disabled vega-icon{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host{display:block;width:100%;text-align:left;line-height:normal;min-width:270px}.horizontal-divider{height:1px;background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1));width:100%;display:none;margin-top:-1px}.tab-content-container{display:flex;gap:8px;justify-content:space-between}.tab-content-container.more-tab .tab-list{width:100%}div.tab-left-button,div.tab-right-button{display:inline-block;cursor:pointer;border-top-left-radius:8px;border-top-right-radius:8px;background-color:rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1))}div.tab-left-button.vega-hidden,div.tab-right-button.vega-hidden{display:none}div.tab-left-button vega-icon,div.tab-right-button vega-icon{box-sizing:content-box;padding:13px 13px 13px 12px}.vega-tab-group-content vega-tab-group-panel{display:none}.vega-tab-group-content vega-tab-group-panel.active{display:block}.tab-style-secondary .vega-tab>div.vega-tab-container{align-items:baseline}.tab-style-secondary+.horizontal-divider{display:block}.tab-style-secondary .vega-tab{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary .vega-tab>div>.label{padding-left:16px;padding-right:16px;padding-top:0px;padding-bottom:12px}.tab-style-secondary .vega-tab.selected>div>.label,.tab-style-secondary .vega-tab.selected>div>.label vega-icon,.tab-style-secondary .vega-tab:hover>div>.label,.tab-style-secondary .vega-tab:hover>div>.label vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.tab-style-secondary .vega-tab{border-top-width:0px;border-left-width:0px;border-right-width:0px;border-bottom-width:2px;border-style:solid;border-color:transparent}.tab-style-secondary .vega-tab.selected{border-color:rgba(var(--v-border-color-action, 19, 98, 226, 1))}.tab-style-secondary div.tab-left-button,.tab-style-secondary div.tab-right-button{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0))}.tab-style-secondary div.tab-left-button vega-icon,.tab-style-secondary div.tab-right-button vega-icon{padding:6px 13px 13px 6px}.tab-style-secondary div.tab-left-button:hover vega-icon,.tab-style-secondary div.tab-right-button:hover vega-icon{color:rgba(var(--v-text-link, 19, 98, 226, 1))}";
|
|
1046
1076
|
|
|
1047
1077
|
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1048
1078
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1116,6 +1146,12 @@ const VegaTabGroup = class {
|
|
|
1116
1146
|
* @vegaVersion 1.39.0
|
|
1117
1147
|
*/
|
|
1118
1148
|
this.variant = 'primary';
|
|
1149
|
+
/**
|
|
1150
|
+
* Specifies the overflow navigation for many tab items within the tab group.
|
|
1151
|
+
*
|
|
1152
|
+
* @vegaVersion __VERSION__
|
|
1153
|
+
*/
|
|
1154
|
+
this.overflow = 'menu';
|
|
1119
1155
|
}
|
|
1120
1156
|
/**
|
|
1121
1157
|
* The below method is e2e-test covered in
|
|
@@ -11,7 +11,7 @@ import { d as domNodeSubjectFactory, a as VegaClick, f as VegaChange, L as VegaP
|
|
|
11
11
|
import { r as remoteInvocationRegistry } from './remote-invocation-registry-d69245c2.js';
|
|
12
12
|
import { B as VegaInternalTableRowExpand, C as VegaInternalTableRowSelect, D as VegaInternalTableRowSelectAll } from './vega-internal-event-id-85ad403f.js';
|
|
13
13
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-715dccf9.js';
|
|
14
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
14
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-bc2f8ad3.js';
|
|
15
15
|
import { i as isNonNullable, s as isBreakpointsTokenType } from './type-guard-158f6d7a.js';
|
|
16
16
|
import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
17
17
|
import { g as generateUUID } from './create-public-api-runtime-metrics-slimmer-8ada793f.js';
|
|
@@ -39,7 +39,7 @@ import './vega-env-manager-8f8dc473.js';
|
|
|
39
39
|
import './icon-manager-638dd4d4.js';
|
|
40
40
|
import './wait-for-vega-handler-b18eb955.js';
|
|
41
41
|
import './translation-cf7f020a.js';
|
|
42
|
-
import './content-state-
|
|
42
|
+
import './content-state-dbc9f635.js';
|
|
43
43
|
import './dark-mode-style-controller-2ada8e22.js';
|
|
44
44
|
import './_commonjsHelpers-9943807e.js';
|
|
45
45
|
import './regex-dfe11abf.js';
|
|
@@ -13,7 +13,7 @@ import { a as isTimeStr, p as pad, e as convert12HourTo24HourFormat } from './da
|
|
|
13
13
|
import { i as isArrayEqual } from './array-3113609f.js';
|
|
14
14
|
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-ca83d6b6.js';
|
|
15
15
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
16
|
-
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-
|
|
16
|
+
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-55d63b1f.js';
|
|
17
17
|
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-42bf9773.js';
|
|
18
18
|
import { i as isNonNullable } from './type-guard-158f6d7a.js';
|
|
19
19
|
import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
@@ -37,14 +37,14 @@ import './vega-skeleton-loader-controller-c2a8bd27.js';
|
|
|
37
37
|
import './dark-mode-style-controller-2ada8e22.js';
|
|
38
38
|
import './_commonjsHelpers-9943807e.js';
|
|
39
39
|
import './internal-vega-event-manager-87dc436c.js';
|
|
40
|
-
import './responsive-format-facade-
|
|
40
|
+
import './responsive-format-facade-bc2f8ad3.js';
|
|
41
41
|
import './pixel-f32c07ce.js';
|
|
42
42
|
import './vega-env-manager-8f8dc473.js';
|
|
43
43
|
import './feature-flag-controller-690eac1d.js';
|
|
44
44
|
import './index-44c794b4.js';
|
|
45
45
|
import './icon-manager-638dd4d4.js';
|
|
46
46
|
import './wait-for-vega-handler-b18eb955.js';
|
|
47
|
-
import './content-state-
|
|
47
|
+
import './content-state-dbc9f635.js';
|
|
48
48
|
import './keyboard-manager-262be5ce.js';
|
|
49
49
|
import './regex-dfe11abf.js';
|
|
50
50
|
import './typography-396de03f.js';
|
|
@@ -70,6 +70,7 @@ const VegaToggleSwitch = class {
|
|
|
70
70
|
this.checked = false;
|
|
71
71
|
/**
|
|
72
72
|
* The `value` property returns `true` when the toggle switch is checked, and `false` when it is unchecked.
|
|
73
|
+
* This property is included for form control compatibility and can be used interchangeably with the checked property.
|
|
73
74
|
*
|
|
74
75
|
* @vegaVersion 2.25.0
|
|
75
76
|
*/
|
|
@@ -149,7 +150,12 @@ const VegaToggleSwitch = class {
|
|
|
149
150
|
watchValidationRules() {
|
|
150
151
|
}
|
|
151
152
|
componentWillLoad() {
|
|
152
|
-
this.
|
|
153
|
+
if (!this.checked && this.value === true) {
|
|
154
|
+
this.checked = true;
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
this.value = this.checked;
|
|
158
|
+
}
|
|
153
159
|
}
|
|
154
160
|
render() {
|
|
155
161
|
let divContainerCss = this.checked
|
|
@@ -3,7 +3,7 @@ import { s as sanitizeVegaComponent } from './component-cae24190.js';
|
|
|
3
3
|
import { I as InjectKeyboardManager } from './inject-keyboard-manager-f513be4a.js';
|
|
4
4
|
import { c as MapToComponentField, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-385c7124.js';
|
|
6
|
-
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-
|
|
6
|
+
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-55d63b1f.js';
|
|
7
7
|
import { c as createDeprecatedPropertySlimmer } from './deprecated-property-slimmer-32575f02.js';
|
|
8
8
|
import './keyboard-manager-262be5ce.js';
|
|
9
9
|
import './ui-ed1283bb.js';
|
|
@@ -24,7 +24,7 @@ import './_commonjsHelpers-9943807e.js';
|
|
|
24
24
|
import './internal-vega-event-manager-87dc436c.js';
|
|
25
25
|
import './dom-node-subject-factory-f77cf9cc.js';
|
|
26
26
|
import './number-4398f2e1.js';
|
|
27
|
-
import './responsive-format-facade-
|
|
27
|
+
import './responsive-format-facade-bc2f8ad3.js';
|
|
28
28
|
import './pixel-f32c07ce.js';
|
|
29
29
|
import './array-3113609f.js';
|
|
30
30
|
import './vega-env-manager-8f8dc473.js';
|
|
@@ -33,7 +33,7 @@ import './index-44c794b4.js';
|
|
|
33
33
|
import './icon-manager-638dd4d4.js';
|
|
34
34
|
import './wait-for-vega-handler-b18eb955.js';
|
|
35
35
|
import './translation-cf7f020a.js';
|
|
36
|
-
import './content-state-
|
|
36
|
+
import './content-state-dbc9f635.js';
|
|
37
37
|
import './vega-internal-event-id-85ad403f.js';
|
|
38
38
|
import './dom-node-subject-observer-factory-715dccf9.js';
|
|
39
39
|
import './object-261e7344.js';
|