@globalpayments/vega 2.32.0 → 2.34.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/_commonjsHelpers-537d719a.js +20 -0
- package/dist/cjs/{app-globals-19032674.js → app-globals-4e819773.js} +31 -22
- package/dist/cjs/block-annotation.abstract-4d88b939.js +875 -0
- package/dist/cjs/{breakpoints-7e2dff90.js → breakpoints-17d6c4c7.js} +2 -13
- package/dist/cjs/breakpoints-ebde4837.js +14 -0
- package/dist/cjs/{change-manager-a297e4d2.js → change-manager-bda1d107.js} +1 -1
- package/dist/cjs/{chevron-down-ca2fa88e.js → chevron-down-9847bf78.js} +0 -5
- package/dist/cjs/chevron-up-21465cf7.js +7 -0
- package/dist/cjs/{child-nodes-event-prevent-slimmer-88ed23c2.js → child-nodes-event-prevent-slimmer-e1a6e5ad.js} +3 -3
- package/dist/cjs/{child-nodes-notify-observer-slimmer-79f2f5a7.js → child-nodes-notify-observer-slimmer-03a3f79e.js} +5 -5
- package/dist/cjs/{component-73a88c4e.js → component-63af66ea.js} +1 -1
- package/dist/cjs/{component-global-style-slimmer-6749808c.js → component-global-style-slimmer-6b64a26c.js} +1 -1
- package/dist/cjs/{component-usage-runtime-metrics-1ee24991.js → component-usage-runtime-metrics-019d3c00.js} +2 -2
- package/dist/cjs/content-state-3a2724f6.js +2184 -0
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-5cc88124.js → create-public-api-runtime-metrics-slimmer-8c6a8fb7.js} +3 -3
- package/dist/cjs/{date-0a6bb035.js → date-ffe382a4.js} +1 -1
- package/dist/cjs/{deprecated-property-slimmer-fc729fd9.js → deprecated-property-slimmer-f36e3779.js} +2 -2
- package/dist/cjs/{design-token-92906579.js → design-token-908e3f69.js} +5 -5
- package/dist/cjs/{vega-event-id-81270f6a.js → dom-node-subject-observer-factory-093462f1.js} +170 -0
- package/dist/cjs/{dynamic-slimmer-f31fdfd7.js → dynamic-slimmer-dc30600a.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-415d261a.js → element-appender-slimmer-0dd70e61.js} +17 -10
- package/dist/cjs/{event-emit-slimmer-83278943.js → event-emit-slimmer-a46bb411.js} +5 -5
- package/dist/cjs/{feature-flag-controller-f9d3ce38.js → feature-flag-controller-e97b5f29.js} +3 -3
- package/dist/cjs/{form-field-controller-slimmer-2a982ead.js → form-field-controller-slimmer-9aeabcdc.js} +16 -17
- package/dist/cjs/{index-09acd3c9.js → global-slimmer-registry-dd2691b8.js} +296 -274
- package/dist/cjs/{icon-manager-3787af39.js → icon-manager-36dcfb65.js} +2 -2
- package/dist/cjs/index-8b247c17.js +325 -0
- package/dist/cjs/index.cjs.js +37 -30
- package/dist/cjs/{inject-keyboard-manager-e79a1ade.js → inject-keyboard-manager-af37c861.js} +1 -1
- package/dist/cjs/{internal-icon-manager-2ff58050.js → internal-icon-manager-2282a62f.js} +1 -1
- package/dist/cjs/{internal-vega-event-manager-5fe83465.js → internal-vega-event-manager-d7643ec6.js} +72 -68
- package/dist/cjs/{internal-vega-z-index-manager-f03ddb37.js → internal-vega-z-index-manager-e24e4309.js} +1 -1
- package/dist/cjs/{keyboard-manager-34b78600.js → keyboard-manager-5afbc8f1.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-8e2d4b5d.js → keyboard-manager-slimmer-9be2a880.js} +2 -2
- package/dist/cjs/loader.cjs.js +28 -23
- package/dist/cjs/{mutation-observer-slimmer-895b3d3e.js → mutation-observer-slimmer-98bbbdf0.js} +1 -1
- package/dist/cjs/{vega-skeleton-loader-controller-4a1eedcd.js → node.abstract-f8075f84.js} +234 -840
- package/dist/cjs/{page-resize-observer-slimmer-a8cf1874.js → page-resize-observer-slimmer-e54fa9d4.js} +2 -2
- package/dist/cjs/{remote-invocation-registry-32aaf6c2.js → remote-invocation-registry-71a45468.js} +4 -4
- package/dist/cjs/{required-field-rule-9a57b1a0.js → required-field-rule-7f9945fa.js} +2 -1
- package/dist/cjs/{responsive-format-facade-ad2f67bf.js → responsive-format-facade-74079f1b.js} +3 -3
- package/dist/cjs/{state-background-color-formatter-418b84e6.js → state-background-color-formatter-d32a1098.js} +2 -2
- package/dist/cjs/{static-subject-title-471e1793.js → static-subject-title-d66b88fb.js} +2 -0
- package/dist/cjs/{string-input-formatter-slimmer-79272527.js → string-input-formatter-slimmer-297765c0.js} +2 -2
- package/dist/cjs/{style-formatter-68f3a5f8.js → style-formatter-5deb065f.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-13f1892b.js → sub-state-notify-slimmer-73201c53.js} +6 -7
- package/dist/cjs/{sub-state-observer-slimmer-6c0b635d.js → sub-state-observer-slimmer-10c0d402.js} +6 -7
- package/dist/cjs/{synchronize-task-queue-8977cf10.js → synchronize-task-queue-1ee80e94.js} +10 -1
- package/dist/cjs/text-color-toolbar-button-slimmer-b1c9f40e.js +210 -0
- package/dist/cjs/text-node-0d12da5a.js +1077 -0
- package/dist/cjs/{translation-42c1b2c8.js → translation-f6b7ee84.js} +4 -4
- package/dist/cjs/{translation-slimmer-32aa13e7.js → translation-slimmer-90f9f71f.js} +2 -2
- package/dist/cjs/trash-can-46a5e19a.js +7 -0
- package/dist/cjs/{type-guard-a07b353b.js → type-guard-4ba85fdc.js} +18 -18
- package/dist/cjs/{ui-08f33116.js → ui-b5906704.js} +20 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +46 -47
- package/dist/cjs/vega-app-footer.cjs.entry.js +12 -13
- package/dist/cjs/vega-app-header-button.cjs.entry.js +48 -48
- package/dist/cjs/vega-backdrop.cjs.entry.js +8 -9
- package/dist/cjs/vega-banner.cjs.entry.js +36 -38
- package/dist/cjs/vega-bar-chart.cjs.entry.js +5 -6
- package/dist/cjs/vega-box.cjs.entry.js +15 -15
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +34 -36
- package/dist/cjs/vega-button-circle.cjs.entry.js +29 -30
- package/dist/cjs/vega-button-group_2.cjs.entry.js +32 -34
- package/dist/cjs/vega-button-link.cjs.entry.js +33 -28
- package/dist/cjs/vega-button.cjs.entry.js +30 -31
- package/dist/cjs/vega-calendar_3.cjs.entry.js +139 -140
- package/dist/cjs/vega-card.cjs.entry.js +13 -13
- package/dist/cjs/vega-carousel.cjs.entry.js +27 -29
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +49 -50
- package/dist/cjs/vega-chip.cjs.entry.js +39 -40
- package/dist/cjs/vega-color-picker.cjs.entry.js +29 -31
- package/dist/cjs/vega-combo-box.cjs.entry.js +52 -53
- package/dist/cjs/vega-counter-badge.cjs.entry.js +9 -10
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +149 -96
- package/dist/cjs/{vega-dialog-controller-dce8cdaf.js → vega-dialog-controller-aaf1f43e.js} +2 -2
- package/dist/cjs/vega-dialog_2.cjs.entry.js +50 -51
- package/dist/cjs/vega-divider.cjs.entry.js +13 -13
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +133 -134
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-error.cjs.entry.js +8 -9
- package/dist/cjs/vega-field-label.cjs.entry.js +20 -23
- package/dist/cjs/vega-file-uploader.cjs.entry.js +76 -81
- package/dist/cjs/vega-flex.cjs.entry.js +18 -17
- package/dist/cjs/vega-font.cjs.entry.js +16 -16
- package/dist/cjs/vega-form.cjs.entry.js +41 -42
- package/dist/cjs/vega-grid.cjs.entry.js +13 -13
- package/dist/cjs/vega-hint.cjs.entry.js +6 -7
- package/dist/cjs/vega-icon.cjs.entry.js +18 -18
- package/dist/cjs/vega-image-uploader.cjs.entry.js +57 -58
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +42 -43
- package/dist/cjs/vega-input-numeric.cjs.entry.js +35 -36
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +51 -52
- package/dist/cjs/vega-input-range.cjs.entry.js +44 -45
- package/dist/cjs/vega-input-select.cjs.entry.js +71 -71
- package/dist/cjs/vega-input.cjs.entry.js +50 -52
- package/dist/cjs/{vega-internal-event-id-79be9bc5.js → vega-internal-event-id-85b68849.js} +12 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +19 -22
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +107 -107
- package/dist/cjs/vega-line-chart.cjs.entry.js +6 -7
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +18 -18
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +18 -21
- package/dist/cjs/vega-pagination.cjs.entry.js +53 -55
- package/dist/cjs/vega-pie-chart.cjs.entry.js +6 -7
- package/dist/cjs/vega-popover_2.cjs.entry.js +72 -37
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +27 -30
- package/dist/cjs/vega-radio_2.cjs.entry.js +53 -54
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +179 -0
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +4894 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +14 -15
- package/dist/cjs/vega-segment-control.cjs.entry.js +24 -26
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +53 -54
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +64 -65
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +48 -50
- package/dist/cjs/vega-signature-capture.cjs.entry.js +44 -46
- package/dist/cjs/vega-skeleton.cjs.entry.js +25 -26
- package/dist/cjs/vega-slot-container.cjs.entry.js +5 -6
- package/dist/cjs/vega-stepper.cjs.entry.js +38 -39
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +58 -59
- package/dist/cjs/vega-table_8.cjs.entry.js +183 -183
- package/dist/cjs/vega-text.cjs.entry.js +10 -10
- package/dist/cjs/vega-textarea.cjs.entry.js +39 -40
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +88 -89
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +25 -27
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +22 -22
- package/dist/cjs/vega.cjs.js +28 -23
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/components/vega-button-link/vega-button-link.js +34 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +6 -4
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.js +55 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +5 -9
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +3 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +5 -9
- package/dist/collection/components/vega-date-picker/vega-date-picker.css +14 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +27 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +2 -2
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +42 -4
- package/dist/collection/components/vega-rich-text-content/slimmers/controllers/vega-rich-text-content-state-controller.js +38 -0
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +59 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +132 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +124 -0
- package/dist/collection/components/vega-rich-text-editor/assets/align-center.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/align-justify.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/align-left.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/align-right.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/bold.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/code-simple.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/image.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/indent.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/italic.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/link.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/list-ol.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/list-ul.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/outdent.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/strikethrough.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/text-size.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/text-slash.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/text.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/assets/underline.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/constants/constant.js +33 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.js +5 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/append-child-nodes-action.js +9 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/bold-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/break-single-block-action.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-child-nodes-action.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/code-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-block-content-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/image-annotation-action.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/indent-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-blocks-after-block.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-blocks-before-block.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-image-to-block-action.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-nodes-after-node-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/insert-nodes-before-node-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/italic-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/line-break-multiple-block-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/line-break-single-block-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/link-annotation-action.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/merge-two-blocks-nodes-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.js +32 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/remove-child-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/remove-nest-list-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-child-nodes-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-nest-list-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/replace-selected-text-action.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/selection-change-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/split-block-with-node-action.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/transform-list-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/transform-paragraph-action.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/underline-annotation-action.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/dto/actions/update-text-action.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/annotation.abstract.js +11 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +48 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/clear-formatting-annotation.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +90 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +66 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/indent-annotation.js +78 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-annotation.js +62 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +102 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/node-annotation.abstract.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.js +11 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +57 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-color-annotation.js +85 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +105 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +57 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +354 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/image-block.js +260 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-block.js +189 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/list-item-block.js +236 -0
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/text-block.js +424 -0
- package/dist/collection/components/vega-rich-text-editor/dto/content-state.js +135 -0
- package/dist/collection/components/vega-rich-text-editor/dto/helper/block-base-operator.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/image-node.js +103 -0
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/node.abstract.js +103 -0
- package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +297 -0
- package/dist/collection/components/vega-rich-text-editor/dto/range.js +178 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/focus-controller.js +73 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.js +135 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.js +74 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.js +39 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.js +41 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.js +57 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.js +56 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.js +77 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.js +44 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.js +191 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.js +108 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.js +100 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +90 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.js +91 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.js +93 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.js +117 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/rich-text-content-controller.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +294 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.js +38 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.js +51 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +201 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/value-controller.js +91 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.js +97 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.js +51 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-numbers-toolbar-button-slimmer.js +70 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-toolbar-button-slimmer.js +70 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/numbers-toolbar-button-slimmer.js +68 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.js +46 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/center-align-toolbar-button-slimmer.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.js +77 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/justify-align-toolbar-button-slimmer.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/left-align-toolbar-button-slimmer.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/right-align-toolbar-button-slimmer.js +47 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.js +72 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.js +46 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.js +97 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.js +45 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.js +52 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.js +129 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.js +128 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/toolbar-button-slimmer.abstract.js +62 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.js +52 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +126 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +38 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +134 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +90 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +224 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +228 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +173 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +172 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +93 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +433 -0
- package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +53 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/slimmers/renderers/vega-rich-text-editor-toolbar-button-renderer.js +57 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.css +50 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.js +246 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +264 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +676 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.js +133 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.css +13 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.js +165 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +144 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.css +11 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.js +247 -0
- package/dist/collection/constants/ui.js +1 -0
- package/dist/collection/global/scripts/before-vega-load.js +9 -1
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +1 -0
- package/dist/collection/helpers/common/index.js +27 -0
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +1 -1
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +1 -1
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +5 -1
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +6 -0
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +1 -1
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +1 -1
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +1 -1
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +1 -1
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +1 -1
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +1 -1
- package/dist/collection/helpers/public-api.js +1 -0
- package/dist/collection/helpers/queue/synchronize-task-queue.js +10 -1
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +28 -0
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +1 -1
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +1 -1
- package/dist/collection/helpers/slimmers/dark-mode-state-controller-slimmer.js +46 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +10 -3
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +1 -1
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +1 -1
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +1 -1
- package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +65 -0
- package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +45 -3
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +2 -2
- package/dist/collection/helpers/theme/theme-manager.js +3 -0
- package/dist/collection/helpers/validator/rules/{file-uploader-required-rule.js → object-array-required-rule.js} +3 -3
- package/dist/collection/helpers/validator/rules/required-field-rule.js +2 -1
- package/dist/collection/helpers/validator/rules/rich-text-editor-required-rule.js +57 -0
- package/dist/collection/helpers/validator/test/rules/object-array-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +11 -0
- package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +317 -0
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +1 -1
- package/dist/collection/polyfill/shadow-selection/shadow-selection-polyfill.js +164 -0
- package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +233 -0
- package/dist/collection/polyfill/test-polyfill/unit/index.js +1 -0
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +9 -0
- package/dist/collection/polyfill/test-polyfill/unit/range.js +15 -0
- package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +17 -0
- package/dist/collection/utils/spec-utils.js +2 -1
- package/dist/collection/utils/test/ui.test.js +6 -1
- package/dist/collection/utils/ui.js +18 -0
- package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +1 -0
- package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +1 -0
- package/dist/esm/_commonjsHelpers-9943807e.js +17 -0
- package/dist/esm/{app-globals-5084ae11.js → app-globals-9971ccfd.js} +22 -13
- package/dist/esm/block-annotation.abstract-b0554e2b.js +868 -0
- package/dist/esm/{breakpoints-36a3ed69.js → breakpoints-91116111.js} +2 -12
- package/dist/esm/breakpoints-d9faf11c.js +12 -0
- package/dist/esm/{change-manager-6a7eb88c.js → change-manager-8f5b72c2.js} +1 -1
- package/dist/esm/chevron-down-4a75d28e.js +5 -0
- package/dist/esm/chevron-up-b1989751.js +5 -0
- package/dist/esm/{child-nodes-event-prevent-slimmer-01953033.js → child-nodes-event-prevent-slimmer-8ceabe63.js} +3 -3
- package/dist/esm/{child-nodes-notify-observer-slimmer-3d52b843.js → child-nodes-notify-observer-slimmer-afc15e00.js} +4 -4
- package/dist/esm/{component-cae24190.js → component-051a594c.js} +1 -1
- package/dist/esm/{component-global-style-slimmer-000e0c11.js → component-global-style-slimmer-631f956f.js} +1 -1
- package/dist/esm/{component-usage-runtime-metrics-b3f6ac79.js → component-usage-runtime-metrics-21813c36.js} +2 -2
- package/dist/esm/content-state-acf55eb0.js +2164 -0
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-cc1164bb.js → create-public-api-runtime-metrics-slimmer-14cb4599.js} +3 -3
- package/dist/esm/{date-732bc749.js → date-655c0af8.js} +1 -1
- package/dist/esm/{deprecated-property-slimmer-43d184b3.js → deprecated-property-slimmer-9ea5019c.js} +2 -2
- package/dist/esm/{design-token-2a527af3.js → design-token-20fdba82.js} +6 -6
- package/dist/esm/dom-node-subject-observer-factory-80358591.js +269 -0
- package/dist/esm/{dynamic-slimmer-90b8af32.js → dynamic-slimmer-85746483.js} +1 -1
- package/dist/esm/{element-appender-slimmer-48d826b2.js → element-appender-slimmer-4dfa326d.js} +17 -10
- package/dist/esm/{event-emit-slimmer-493e6b9d.js → event-emit-slimmer-c03cf145.js} +5 -5
- package/dist/esm/{feature-flag-controller-f72c004e.js → feature-flag-controller-dfde0cfa.js} +3 -3
- package/dist/esm/{form-field-controller-slimmer-88492678.js → form-field-controller-slimmer-de5fe574.js} +11 -12
- package/dist/esm/{index-187f71d1.js → global-slimmer-registry-6887a59f.js} +284 -275
- package/dist/esm/{icon-manager-1ee2c968.js → icon-manager-3cef32e7.js} +2 -2
- package/dist/esm/index-44c794b4.js +323 -0
- package/dist/esm/index.js +29 -23
- package/dist/esm/{inject-keyboard-manager-8a82e8c9.js → inject-keyboard-manager-45309420.js} +1 -1
- package/dist/esm/{internal-icon-manager-7004584d.js → internal-icon-manager-7fc7535a.js} +1 -1
- package/dist/esm/{internal-vega-event-manager-48ac30f1.js → internal-vega-event-manager-3a3815d3.js} +6 -2
- package/dist/esm/{internal-vega-z-index-manager-7d2b54c3.js → internal-vega-z-index-manager-89e8b6f5.js} +1 -1
- package/dist/esm/{keyboard-manager-d1f9ddc1.js → keyboard-manager-2c06eafe.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-8723f20f.js → keyboard-manager-slimmer-fd177285.js} +2 -2
- package/dist/esm/{legend-input-processor-0cef3ebe.js → legend-input-processor-15939912.js} +1 -1
- package/dist/esm/loader.js +28 -23
- package/dist/esm/{mutation-observer-slimmer-6cef9549.js → mutation-observer-slimmer-ca2cb2e8.js} +1 -1
- package/dist/esm/{vega-skeleton-loader-controller-1911558d.js → node.abstract-93746055.js} +226 -833
- package/dist/esm/{page-resize-observer-slimmer-994c1e1b.js → page-resize-observer-slimmer-8589ebc8.js} +2 -2
- package/dist/esm/{remote-invocation-registry-1682b34e.js → remote-invocation-registry-2ec6936d.js} +2 -2
- package/dist/esm/{required-field-rule-5da360cc.js → required-field-rule-368b31fa.js} +2 -1
- package/dist/esm/{responsive-format-facade-3dc84e41.js → responsive-format-facade-559ec469.js} +3 -3
- package/dist/esm/{state-background-color-formatter-0540d006.js → state-background-color-formatter-16031a43.js} +2 -2
- package/dist/esm/{static-subject-title-500cf2a3.js → static-subject-title-e06a3840.js} +2 -1
- package/dist/esm/{string-input-formatter-slimmer-fc23bc9f.js → string-input-formatter-slimmer-c9fb1fa1.js} +2 -2
- package/dist/esm/{style-formatter-ccb2da0d.js → style-formatter-51845b6d.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-21b1c646.js → sub-state-notify-slimmer-6e97a58a.js} +5 -6
- package/dist/esm/{sub-state-observer-slimmer-8c80d874.js → sub-state-observer-slimmer-0968ce04.js} +5 -6
- package/dist/esm/{synchronize-task-queue-8f5fbbd9.js → synchronize-task-queue-ac8acc3b.js} +10 -1
- package/dist/esm/text-color-toolbar-button-slimmer-d0255b98.js +207 -0
- package/dist/esm/text-node-6f7d736c.js +1055 -0
- package/dist/esm/{translation-4eb3cf85.js → translation-b3fe8e74.js} +4 -4
- package/dist/esm/{translation-slimmer-9d07a0ff.js → translation-slimmer-860cd766.js} +2 -2
- package/dist/esm/trash-can-8819a939.js +5 -0
- package/dist/esm/{type-guard-63caf78b.js → type-guard-158f6d7a.js} +20 -20
- package/dist/esm/{typography-a8fc4764.js → typography-396de03f.js} +1 -1
- package/dist/esm/{ui-0132dbb5.js → ui-5600b48f.js} +20 -2
- package/dist/esm/vega-accordion.entry.js +22 -23
- package/dist/esm/vega-app-footer.entry.js +3 -4
- package/dist/esm/vega-app-header-button.entry.js +26 -26
- package/dist/esm/vega-backdrop.entry.js +4 -5
- package/dist/esm/vega-banner.entry.js +15 -17
- package/dist/esm/vega-bar-chart.entry.js +5 -6
- package/dist/esm/vega-box.entry.js +13 -13
- package/dist/esm/vega-breadcrumb.entry.js +13 -15
- package/dist/esm/vega-button-circle.entry.js +21 -22
- package/dist/esm/vega-button-group_2.entry.js +16 -18
- package/dist/esm/vega-button-link.entry.js +21 -16
- package/dist/esm/vega-button.entry.js +20 -21
- package/dist/esm/vega-calendar_3.entry.js +29 -30
- package/dist/esm/vega-card.entry.js +11 -11
- package/dist/esm/vega-carousel.entry.js +17 -19
- package/dist/esm/vega-checkbox_2.entry.js +24 -25
- package/dist/esm/vega-chip.entry.js +21 -22
- package/dist/esm/vega-color-picker.entry.js +19 -21
- package/dist/esm/vega-combo-box.entry.js +27 -28
- package/dist/esm/vega-counter-badge.entry.js +3 -4
- package/dist/esm/vega-date-picker_2.entry.js +128 -75
- package/dist/esm/{vega-dialog-controller-8b343a17.js → vega-dialog-controller-5b23f68c.js} +2 -2
- package/dist/esm/vega-dialog_2.entry.js +24 -25
- package/dist/esm/vega-divider.entry.js +11 -11
- package/dist/esm/vega-dropdown_5.entry.js +33 -34
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-error.entry.js +5 -6
- package/dist/esm/vega-field-label.entry.js +9 -12
- package/dist/esm/vega-file-uploader.entry.js +27 -32
- package/dist/esm/vega-flex.entry.js +16 -15
- package/dist/esm/vega-font.entry.js +12 -12
- package/dist/esm/vega-form.entry.js +23 -24
- package/dist/esm/vega-grid.entry.js +11 -11
- package/dist/esm/vega-hint.entry.js +3 -4
- package/dist/esm/vega-icon.entry.js +14 -14
- package/dist/esm/vega-image-uploader.entry.js +28 -29
- package/dist/esm/vega-input-credit-card.entry.js +25 -26
- package/dist/esm/vega-input-numeric.entry.js +26 -27
- package/dist/esm/vega-input-phone-number.entry.js +25 -26
- package/dist/esm/vega-input-range.entry.js +23 -24
- package/dist/esm/vega-input-select.entry.js +31 -31
- package/dist/esm/vega-input.entry.js +23 -25
- package/dist/esm/{vega-internal-event-id-770faa12.js → vega-internal-event-id-4af5c6e9.js} +7 -1
- package/dist/esm/vega-item-toggle.entry.js +10 -13
- package/dist/esm/vega-left-nav_5.entry.js +32 -32
- package/dist/esm/vega-line-chart.entry.js +6 -7
- package/dist/esm/vega-loader-wrapper_2.entry.js +10 -10
- package/dist/esm/vega-page-notification_2.entry.js +6 -9
- package/dist/esm/vega-pagination.entry.js +17 -19
- package/dist/esm/vega-pie-chart.entry.js +5 -6
- package/dist/esm/vega-popover_2.entry.js +59 -24
- package/dist/esm/vega-progress-tracker.entry.js +10 -13
- package/dist/esm/vega-radio_2.entry.js +26 -27
- package/dist/esm/vega-rich-text-content.entry.js +175 -0
- package/dist/esm/vega-rich-text-editor_4.entry.js +4887 -0
- package/dist/esm/vega-section-title.entry.js +3 -4
- package/dist/esm/vega-segment-control.entry.js +12 -14
- package/dist/esm/vega-selection-chip_2.entry.js +28 -29
- package/dist/esm/vega-selection-tile_2.entry.js +26 -27
- package/dist/esm/vega-sidenav_3.entry.js +23 -25
- package/dist/esm/vega-signature-capture.entry.js +27 -29
- package/dist/esm/vega-skeleton.entry.js +3 -4
- package/dist/esm/vega-slot-container.entry.js +2 -3
- package/dist/esm/vega-stepper.entry.js +22 -23
- package/dist/esm/vega-tab-group_2.entry.js +18 -19
- package/dist/esm/vega-table_8.entry.js +33 -33
- package/dist/esm/vega-text.entry.js +6 -6
- package/dist/esm/vega-textarea.entry.js +23 -24
- package/dist/esm/vega-time-picker_2.entry.js +31 -32
- package/dist/esm/vega-toggle-switch.entry.js +18 -20
- package/dist/esm/vega-tooltip_2.entry.js +16 -16
- package/dist/esm/vega.js +28 -23
- package/dist/esm/{y-axis-input-processor-a4d6aa50.js → y-axis-input-processor-a26a57e5.js} +1 -1
- package/dist/types/components/vega-button-link/types.d.ts +1 -0
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +8 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +1 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.d.ts +17 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +2 -4
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +2 -4
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +6 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +19 -0
- package/dist/types/components/vega-rich-text-content/slimmers/controllers/vega-rich-text-content-state-controller.d.ts +11 -0
- package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +20 -0
- package/dist/types/components/vega-rich-text-content/vega-rich-text-content.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/assets/align-center.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/align-justify.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/align-left.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/align-right.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/bold.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/code-simple.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/image.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/indent.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/italic.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/link.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/list-ol.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/list-ul.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/outdent.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/strikethrough.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/text-size.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/text-slash.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/text.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/assets/underline.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/annotation-action.abstract.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/append-child-nodes-action.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/bold-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/break-single-block-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/clear-child-nodes-action.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/clear-formatting-annotation-action.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/code-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/delete-block-content-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/delete-node-annotation-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/horizontal-alignment-annotation-action.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/image-annotation-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/indent-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/insert-blocks-after-block.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/insert-blocks-before-block.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/insert-image-to-block-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/insert-nodes-after-node-action.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/insert-nodes-before-node-action.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/italic-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/line-break-multiple-block-action.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/line-break-single-block-action.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/link-annotation-action.d.ts +24 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/link-group-annotation-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/merge-two-blocks-nodes-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/modify-content-action.abstract.d.ts +30 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/remove-child-action.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/remove-nest-list-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/replace-child-nodes-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/replace-nest-list-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/replace-selected-text-action.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/selection-change-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/split-block-with-node-action.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/splittable-action.abstract.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/strikethrough-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/sync-up-selection-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/text-color-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/text-style-annotation-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/transform-list-action.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/transform-paragraph-action.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/underline-annotation-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/actions/update-text-action.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/bold-annotation.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/clear-formatting-annotation.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.d.ts +50 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +41 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/indent-annotation.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/italic-annotation.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-annotation.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/node-annotation.abstract.d.ts +28 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/selection-range-annotation.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-color-annotation.d.ts +50 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/underline-annotation.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +175 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/image-block.d.ts +49 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-block.d.ts +30 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/list-item-block.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/text-block.d.ts +63 -0
- package/dist/types/components/vega-rich-text-editor/dto/content-state.d.ts +58 -0
- package/dist/types/components/vega-rich-text-editor/dto/helper/block-base-operator.d.ts +24 -0
- package/dist/types/components/vega-rich-text-editor/dto/nodes/image-node.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/dto/nodes/node.abstract.d.ts +65 -0
- package/dist/types/components/vega-rich-text-editor/dto/nodes/text-node.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/dto/range.d.ts +102 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +175 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/focus-controller.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-handler.abstract.d.ts +67 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/element-to-dto-processor.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/image-to-dto-handler.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/inline-block-to-dto-handler.d.ts +35 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/link-to-dto-handler.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-item-to-dto-handler.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/list-to-dto-handler.d.ts +39 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/paragraph-to-dto-handler.d.ts +39 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-block-to-dto-handler.d.ts +46 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-handler/text-to-dto-handler.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.d.ts +78 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/delete-content-handler.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-line-break-handler.d.ts +53 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paste-handler.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-text-handler.d.ts +25 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/insert-image-controller.d.ts +39 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/rich-text-content-controller.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +123 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/state-entity-rendering-registry.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +70 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/value-controller.d.ts +38 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/toolbar-renderer.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bold-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-numbers-toolbar-button-slimmer.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/bullets-toolbar-button-slimmer.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/bullets-numbers/numbers-toolbar-button-slimmer.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/clear-style-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/code-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/center-align-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/horizontal-alignment-toolbar-button-slimmer.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/justify-align-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/left-align-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/horizontal-alignment/right-align-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/image-toolbar-button-slimmer.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/italic-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/less-indent-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/more-indent-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/strikethrough-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/text-color-toolbar-button-slimmer.d.ts +28 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/text-styles-toolbar-button-slimmer.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/toolbar-button-slimmer.abstract.d.ts +49 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/tools/underline-toolbar-button-slimmer.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.d.ts +53 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/slimmers/renderers/vega-rich-text-editor-toolbar-button-renderer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor-toolbar-button/vega-rich-text-editor-toolbar-button.d.ts +62 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +186 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/slimmers/renderers/vega-rich-text-image-editor-renderer.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/types.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-image-editor/vega-rich-text-image-editor.d.ts +46 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.d.ts +29 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/types.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.d.ts +64 -0
- package/dist/types/components.d.ts +399 -0
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +2 -1
- package/dist/types/helpers/common/index.d.ts +8 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +6 -0
- package/dist/types/helpers/public-api.d.ts +1 -0
- package/dist/types/helpers/queue/synchronize-task-queue.d.ts +7 -0
- package/dist/types/helpers/slimmers/dark-mode-state-controller-slimmer.d.ts +21 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +2 -0
- package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +1 -0
- package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +20 -0
- package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +7 -1
- package/dist/types/helpers/validator/rules/{file-uploader-required-rule.d.ts → object-array-required-rule.d.ts} +3 -3
- package/dist/types/helpers/validator/rules/rich-text-editor-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/test/rules/object-array-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +1 -0
- package/dist/types/polyfill/shadow-selection/shadow-selection-polyfill.d.ts +64 -0
- package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +1 -0
- package/dist/types/polyfill/test-polyfill/unit/range.d.ts +7 -0
- package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
- package/dist/types/types/components.type.d.ts +16 -0
- package/dist/types/utils/ui.d.ts +7 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-034e6348.entry.js +1 -0
- package/dist/vega/p-0cd2b50f.entry.js +1 -0
- package/dist/vega/{p-5453f591.js → p-0e0c47ad.js} +1 -1
- package/dist/vega/p-109a00cf.entry.js +1 -0
- package/dist/vega/p-112455b1.js +1 -0
- package/dist/vega/{p-bdb94242.js → p-11a19ca0.js} +1 -1
- package/dist/vega/{p-a04632d0.js → p-11cb477b.js} +1 -1
- package/dist/vega/p-1564cc4d.entry.js +1 -0
- package/dist/vega/p-18886765.entry.js +1 -0
- package/dist/vega/p-1995e98e.js +1 -0
- package/dist/vega/p-19b26168.entry.js +1 -0
- package/dist/vega/{p-b62f0454.js → p-1ec4b319.js} +1 -1
- package/dist/vega/p-1ec763ab.js +1 -0
- package/dist/vega/p-1fb56e14.js +1 -0
- package/dist/vega/p-21992602.entry.js +1 -0
- package/dist/vega/p-22563151.entry.js +1 -0
- package/dist/vega/p-23795da1.entry.js +1 -0
- package/dist/vega/p-29277e41.entry.js +1 -0
- package/dist/vega/{p-9b797118.js → p-296cc56b.js} +1 -1
- package/dist/vega/p-2a7e9422.entry.js +1 -0
- package/dist/vega/p-2ca6d977.entry.js +1 -0
- package/dist/vega/p-2e419309.entry.js +1 -0
- package/dist/vega/p-2fc3af2f.js +1 -0
- package/dist/vega/p-3039bef8.js +1 -0
- package/dist/vega/{p-e2acbc60.js → p-3152031c.js} +1 -1
- package/dist/vega/p-315667f1.js +1 -0
- package/dist/vega/p-34939c97.entry.js +1 -0
- package/dist/vega/{p-a46329bb.js → p-368d0060.js} +1 -1
- package/dist/vega/p-3897bb2d.entry.js +1 -0
- package/dist/vega/{p-69e63d21.entry.js → p-390c5236.entry.js} +1 -1
- package/dist/vega/{p-af7a3154.js → p-3953c705.js} +1 -1
- package/dist/vega/{p-30860766.js → p-39836361.js} +1 -1
- package/dist/vega/{p-a190c86a.js → p-3b4bde3e.js} +1 -1
- package/dist/vega/p-3ce31dc3.js +1 -0
- package/dist/vega/{p-04215e74.js → p-3f1b542a.js} +1 -1
- package/dist/vega/{p-2d0d575f.js → p-443ad3b3.js} +1 -1
- package/dist/vega/p-452e284a.js +1 -0
- package/dist/vega/p-49f4a666.js +1 -0
- package/dist/vega/p-4bcd6612.js +1 -0
- package/dist/vega/p-4c41dd64.js +1 -0
- package/dist/vega/p-55beac7f.entry.js +1 -0
- package/dist/vega/p-57405834.entry.js +1 -0
- package/dist/vega/p-589e6041.entry.js +1 -0
- package/dist/vega/{p-6a334573.js → p-59bdf9b8.js} +1 -1
- package/dist/vega/p-5e95402a.entry.js +1 -0
- package/dist/vega/p-5eee21b4.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-613ddaab.js +1 -0
- package/dist/vega/{p-2d5a9f66.js → p-62774231.js} +1 -1
- package/dist/vega/p-62cea2e7.entry.js +1 -0
- package/dist/vega/p-65b79fd7.js +1 -0
- package/dist/vega/p-6741e2b9.entry.js +1 -0
- package/dist/vega/p-6a084fe1.entry.js +1 -0
- package/dist/vega/{p-760283d1.entry.js → p-6b286226.entry.js} +1 -1
- package/dist/vega/p-6b722905.entry.js +1 -0
- package/dist/vega/p-6e4b2752.entry.js +1 -0
- package/dist/vega/{p-47c87634.js → p-70151c27.js} +1 -1
- package/dist/vega/p-7209d03b.js +1 -0
- package/dist/vega/p-728b029a.entry.js +1 -0
- package/dist/vega/p-76fc408e.entry.js +1 -0
- package/dist/vega/p-7a40e033.js +1 -0
- package/dist/vega/p-7a9f453e.entry.js +1 -0
- package/dist/vega/p-80ccd894.entry.js +1 -0
- package/dist/vega/{p-ed237efc.js → p-81ead59a.js} +1 -1
- package/dist/vega/{p-987fbbd0.js → p-843a0c1c.js} +1 -1
- package/dist/vega/p-84c597c8.entry.js +1 -0
- package/dist/vega/p-8b78c6a3.entry.js +1 -0
- package/dist/vega/p-8be45a45.entry.js +1 -0
- package/dist/vega/p-8c26227e.js +1 -0
- package/dist/vega/p-8d7b45f7.entry.js +1 -0
- package/dist/vega/p-8e17b9dd.entry.js +1 -0
- package/dist/vega/p-8f93242a.js +1 -0
- package/dist/vega/p-925a2137.js +1 -0
- package/dist/vega/p-92f88033.entry.js +1 -0
- package/dist/vega/p-94de7a02.entry.js +1 -0
- package/dist/vega/p-9968e71d.entry.js +1 -0
- package/dist/vega/p-9c1eeff2.js +2 -0
- package/dist/vega/p-9d1b9e70.entry.js +1 -0
- package/dist/vega/p-a5ffe912.js +1 -0
- package/dist/vega/p-a6104aa7.js +1 -0
- package/dist/vega/p-a6169ad6.entry.js +1 -0
- package/dist/vega/{p-6a8f1251.js → p-a6a7d0c9.js} +1 -1
- package/dist/vega/p-a8bf559a.js +1 -0
- package/dist/vega/p-aacf6920.js +1 -0
- package/dist/vega/p-acf7f903.js +1 -0
- package/dist/vega/p-afec17ad.entry.js +1 -0
- package/dist/vega/p-b1f65b13.js +1 -0
- package/dist/vega/p-b3f9cc3a.entry.js +13 -0
- package/dist/vega/p-b693c1ac.entry.js +1 -0
- package/dist/vega/p-b6af0fc1.entry.js +1 -0
- package/dist/vega/p-b9e2add4.entry.js +1 -0
- package/dist/vega/p-bd894860.entry.js +1 -0
- package/dist/vega/p-c0d6a587.entry.js +1 -0
- package/dist/vega/p-c1d97d12.entry.js +1 -0
- package/dist/vega/p-c26e6820.entry.js +1 -0
- package/dist/vega/p-c34487e1.entry.js +1 -0
- package/dist/vega/p-c532b132.entry.js +1 -0
- package/dist/vega/p-ca2fb711.js +1 -0
- package/dist/vega/p-cebf93f1.entry.js +1 -0
- package/dist/vega/p-cfdc148a.entry.js +1 -0
- package/dist/vega/p-d0351d71.entry.js +1 -0
- package/dist/vega/p-d057999f.js +1 -0
- package/dist/vega/{p-c7d70786.js → p-d171cf44.js} +1 -1
- package/dist/vega/p-d2ab6096.entry.js +1 -0
- package/dist/vega/p-d302f052.entry.js +1 -0
- package/dist/vega/p-d35643c5.entry.js +1 -0
- package/dist/vega/p-d400a1d9.entry.js +1 -0
- package/dist/vega/p-d6732a72.entry.js +1 -0
- package/dist/vega/p-d720b06a.entry.js +1 -0
- package/dist/vega/{p-c59042c0.js → p-d884c644.js} +1 -1
- package/dist/vega/p-d987e404.entry.js +1 -0
- package/dist/vega/p-d9b86108.entry.js +1 -0
- package/dist/vega/p-e0b25eaf.js +1 -0
- package/dist/vega/{p-9f3b1d77.js → p-e1e1fcf0.js} +1 -1
- package/dist/vega/p-e27e115d.entry.js +1 -0
- package/dist/vega/p-e43c2a27.js +1 -0
- package/dist/vega/p-e65c8ac7.entry.js +1 -0
- package/dist/vega/p-e79057cc.js +1 -0
- package/dist/vega/p-e89e9769.entry.js +1 -0
- package/dist/vega/{p-781fd6e0.js → p-eac38d87.js} +1 -1
- package/dist/vega/p-ecd64c7f.entry.js +1 -0
- package/dist/vega/p-ed45b3b6.js +1 -0
- package/dist/vega/p-f357cf46.js +1 -0
- package/dist/vega/p-f5b2e72a.entry.js +1 -0
- package/dist/vega/p-f6af3749.js +1 -0
- package/dist/vega/p-f763e2eb.js +1 -0
- package/dist/vega/p-fc622a75.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -4
- package/dist/cjs/dom-node-subject-observer-factory-2e41340d.js +0 -141
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +0 -297
- package/dist/cjs/index-40a1cd3a.js +0 -15
- package/dist/cjs/index-5792390b.js +0 -1024
- package/dist/cjs/observer-f49483e8.js +0 -32
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
- package/dist/esm/chevron-down-4303bddb.js +0 -9
- package/dist/esm/dom-node-subject-observer-factory-9461cd67.js +0 -138
- package/dist/esm/global-slimmer-registry-17c4efd4.js +0 -283
- package/dist/esm/index-0830dd1d.js +0 -13
- package/dist/esm/index-0863eec6.js +0 -1019
- package/dist/esm/observer-3959f9dd.js +0 -30
- package/dist/esm/vega-event-id-0f8fc134.js +0 -103
- package/dist/vega/p-00d1904d.entry.js +0 -1
- package/dist/vega/p-039abd28.entry.js +0 -1
- package/dist/vega/p-051fd45b.entry.js +0 -1
- package/dist/vega/p-07a8cf89.entry.js +0 -1
- package/dist/vega/p-0916da7a.entry.js +0 -1
- package/dist/vega/p-0e59c3b7.entry.js +0 -1
- package/dist/vega/p-0fe89d42.js +0 -1
- package/dist/vega/p-0fecf145.js +0 -1
- package/dist/vega/p-105d0265.entry.js +0 -1
- package/dist/vega/p-11786565.entry.js +0 -1
- package/dist/vega/p-12aa4bd2.entry.js +0 -1
- package/dist/vega/p-13d34a23.entry.js +0 -1
- package/dist/vega/p-14fc5aed.entry.js +0 -1
- package/dist/vega/p-1545a693.entry.js +0 -1
- package/dist/vega/p-16bb355d.js +0 -1
- package/dist/vega/p-16bfb3cb.entry.js +0 -1
- package/dist/vega/p-1c298d5a.js +0 -2
- package/dist/vega/p-24d76337.entry.js +0 -1
- package/dist/vega/p-2b5ab7f9.entry.js +0 -1
- package/dist/vega/p-3154fb6b.entry.js +0 -1
- package/dist/vega/p-32f651f7.js +0 -1
- package/dist/vega/p-331a62d5.js +0 -1
- package/dist/vega/p-3e591b2f.entry.js +0 -1
- package/dist/vega/p-4022f395.entry.js +0 -1
- package/dist/vega/p-4163c2c2.js +0 -1
- package/dist/vega/p-47e665ba.entry.js +0 -1
- package/dist/vega/p-4963e445.entry.js +0 -1
- package/dist/vega/p-4d25df7d.js +0 -1
- package/dist/vega/p-51200fe0.entry.js +0 -1
- package/dist/vega/p-535f0758.js +0 -1
- package/dist/vega/p-5440344e.js +0 -1
- package/dist/vega/p-590870e4.js +0 -1
- package/dist/vega/p-5915634b.js +0 -1
- package/dist/vega/p-5dd6ff09.entry.js +0 -1
- package/dist/vega/p-5fbac513.js +0 -1
- package/dist/vega/p-5fe479a1.js +0 -1
- package/dist/vega/p-61f6167c.js +0 -1
- package/dist/vega/p-6556932e.entry.js +0 -1
- package/dist/vega/p-66ffdfdf.entry.js +0 -1
- package/dist/vega/p-68ad953c.js +0 -1
- package/dist/vega/p-6c6d86da.js +0 -1
- package/dist/vega/p-6ca02241.entry.js +0 -13
- package/dist/vega/p-6e1ab235.js +0 -1
- package/dist/vega/p-7002cde3.entry.js +0 -1
- package/dist/vega/p-71939bf8.entry.js +0 -1
- package/dist/vega/p-7372cd79.entry.js +0 -1
- package/dist/vega/p-7df3aa44.entry.js +0 -1
- package/dist/vega/p-810ba5c3.entry.js +0 -1
- package/dist/vega/p-83569225.entry.js +0 -1
- package/dist/vega/p-84118b6d.entry.js +0 -1
- package/dist/vega/p-848825ff.entry.js +0 -1
- package/dist/vega/p-84fa8466.js +0 -1
- package/dist/vega/p-87640a4d.entry.js +0 -1
- package/dist/vega/p-8a091eb7.js +0 -1
- package/dist/vega/p-8b084bf9.entry.js +0 -1
- package/dist/vega/p-8bd327a8.js +0 -1
- package/dist/vega/p-8d23c56b.entry.js +0 -1
- package/dist/vega/p-943e89b4.js +0 -1
- package/dist/vega/p-94861e39.entry.js +0 -1
- package/dist/vega/p-9ba085c1.entry.js +0 -1
- package/dist/vega/p-9e9ec748.js +0 -1
- package/dist/vega/p-9fbdeada.js +0 -1
- package/dist/vega/p-a00122bb.entry.js +0 -1
- package/dist/vega/p-a2b4b6c3.entry.js +0 -1
- package/dist/vega/p-a7fdb16a.js +0 -1
- package/dist/vega/p-acc14aa2.js +0 -1
- package/dist/vega/p-ae5751fb.entry.js +0 -1
- package/dist/vega/p-af086582.entry.js +0 -1
- package/dist/vega/p-b3e754da.entry.js +0 -1
- package/dist/vega/p-b4e92130.entry.js +0 -1
- package/dist/vega/p-b5990090.js +0 -1
- package/dist/vega/p-b5a6f6b9.entry.js +0 -1
- package/dist/vega/p-b8e42c11.entry.js +0 -1
- package/dist/vega/p-bb6f8b70.entry.js +0 -1
- package/dist/vega/p-c1dfdc13.js +0 -1
- package/dist/vega/p-c94ddc57.entry.js +0 -1
- package/dist/vega/p-d642c011.entry.js +0 -1
- package/dist/vega/p-da106a4d.entry.js +0 -1
- package/dist/vega/p-db94558e.entry.js +0 -1
- package/dist/vega/p-dba59bd7.entry.js +0 -1
- package/dist/vega/p-e5cd92f0.entry.js +0 -1
- package/dist/vega/p-e5e0394a.entry.js +0 -1
- package/dist/vega/p-e74a6d22.entry.js +0 -1
- package/dist/vega/p-e828ee94.entry.js +0 -1
- package/dist/vega/p-ea285b12.entry.js +0 -1
- package/dist/vega/p-ead482e6.entry.js +0 -1
- package/dist/vega/p-ec157238.js +0 -1
- package/dist/vega/p-eddcb385.entry.js +0 -1
- package/dist/vega/p-f2685ec5.entry.js +0 -1
- package/dist/vega/p-f404aa83.js +0 -1
- package/dist/vega/p-f46c930f.js +0 -1
- package/dist/vega/p-f556c3cd.entry.js +0 -1
- package/dist/vega/p-f64fb740.entry.js +0 -1
- package/dist/vega/p-f7728ead.entry.js +0 -1
- package/dist/vega/p-faea1620.js +0 -1
- package/dist/vega/p-ffb832b8.entry.js +0 -1
- /package/dist/types/{helpers/validator/test/rules/file-uploader-required-rule.test.d.ts → components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts} +0 -0
|
@@ -1,1024 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class LogUtility {
|
|
4
|
-
static setVegaTelemetryLogLevel(level) {
|
|
5
|
-
this.logLevel = level;
|
|
6
|
-
}
|
|
7
|
-
static log(...message) {
|
|
8
|
-
if (this.shouldLog('log')) {
|
|
9
|
-
console.log(`%c${this.LOG_PREFIX_STR}`, this.LOG_PREFIX_STYLE, ...message);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
static debug(...message) {
|
|
13
|
-
if (this.shouldLog('debug')) {
|
|
14
|
-
console.debug(`%c${this.LOG_PREFIX_STR}`, this.LOG_PREFIX_STYLE, ...message);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
static warn(...message) {
|
|
18
|
-
if (this.shouldLog('warn')) {
|
|
19
|
-
console.warn(`%c${this.LOG_PREFIX_STR}`, this.LOG_PREFIX_STYLE, ...message);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
static error(...message) {
|
|
23
|
-
if (this.shouldLog('error')) {
|
|
24
|
-
console.error(`%c${this.LOG_PREFIX_STR}`, this.LOG_PREFIX_STYLE, ...message);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
static shouldLog(level) {
|
|
28
|
-
const current = this.LOG_LEVELS.indexOf(level);
|
|
29
|
-
const expect = this.LOG_LEVELS.indexOf(this.logLevel);
|
|
30
|
-
return current <= expect;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
LogUtility.logLevel = 'off';
|
|
34
|
-
LogUtility.LOG_PREFIX_STR = '[VegaTelemetry]';
|
|
35
|
-
LogUtility.LOG_PREFIX_STYLE = 'font-weight: bold';
|
|
36
|
-
LogUtility.LOG_LEVELS = [
|
|
37
|
-
'off',
|
|
38
|
-
'error',
|
|
39
|
-
'warn',
|
|
40
|
-
'debug',
|
|
41
|
-
'log',
|
|
42
|
-
];
|
|
43
|
-
Object.assign(globalThis, {
|
|
44
|
-
LogUtility: LogUtility,
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
48
|
-
|
|
49
|
-
function createCommonjsModule(fn, basedir, module) {
|
|
50
|
-
return module = {
|
|
51
|
-
path: basedir,
|
|
52
|
-
exports: {},
|
|
53
|
-
require: function (path, base) {
|
|
54
|
-
return commonjsRequire();
|
|
55
|
-
}
|
|
56
|
-
}, fn(module, module.exports), module.exports;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function commonjsRequire () {
|
|
60
|
-
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
var crypt = createCommonjsModule(function (module) {
|
|
64
|
-
(function() {
|
|
65
|
-
var base64map
|
|
66
|
-
= 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',
|
|
67
|
-
|
|
68
|
-
crypt = {
|
|
69
|
-
// Bit-wise rotation left
|
|
70
|
-
rotl: function(n, b) {
|
|
71
|
-
return (n << b) | (n >>> (32 - b));
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
// Bit-wise rotation right
|
|
75
|
-
rotr: function(n, b) {
|
|
76
|
-
return (n << (32 - b)) | (n >>> b);
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
// Swap big-endian to little-endian and vice versa
|
|
80
|
-
endian: function(n) {
|
|
81
|
-
// If number given, swap endian
|
|
82
|
-
if (n.constructor == Number) {
|
|
83
|
-
return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Else, assume array and swap all items
|
|
87
|
-
for (var i = 0; i < n.length; i++)
|
|
88
|
-
n[i] = crypt.endian(n[i]);
|
|
89
|
-
return n;
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
// Generate an array of any length of random bytes
|
|
93
|
-
randomBytes: function(n) {
|
|
94
|
-
for (var bytes = []; n > 0; n--)
|
|
95
|
-
bytes.push(Math.floor(Math.random() * 256));
|
|
96
|
-
return bytes;
|
|
97
|
-
},
|
|
98
|
-
|
|
99
|
-
// Convert a byte array to big-endian 32-bit words
|
|
100
|
-
bytesToWords: function(bytes) {
|
|
101
|
-
for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)
|
|
102
|
-
words[b >>> 5] |= bytes[i] << (24 - b % 32);
|
|
103
|
-
return words;
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
// Convert big-endian 32-bit words to a byte array
|
|
107
|
-
wordsToBytes: function(words) {
|
|
108
|
-
for (var bytes = [], b = 0; b < words.length * 32; b += 8)
|
|
109
|
-
bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);
|
|
110
|
-
return bytes;
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
// Convert a byte array to a hex string
|
|
114
|
-
bytesToHex: function(bytes) {
|
|
115
|
-
for (var hex = [], i = 0; i < bytes.length; i++) {
|
|
116
|
-
hex.push((bytes[i] >>> 4).toString(16));
|
|
117
|
-
hex.push((bytes[i] & 0xF).toString(16));
|
|
118
|
-
}
|
|
119
|
-
return hex.join('');
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
// Convert a hex string to a byte array
|
|
123
|
-
hexToBytes: function(hex) {
|
|
124
|
-
for (var bytes = [], c = 0; c < hex.length; c += 2)
|
|
125
|
-
bytes.push(parseInt(hex.substr(c, 2), 16));
|
|
126
|
-
return bytes;
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
// Convert a byte array to a base-64 string
|
|
130
|
-
bytesToBase64: function(bytes) {
|
|
131
|
-
for (var base64 = [], i = 0; i < bytes.length; i += 3) {
|
|
132
|
-
var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];
|
|
133
|
-
for (var j = 0; j < 4; j++)
|
|
134
|
-
if (i * 8 + j * 6 <= bytes.length * 8)
|
|
135
|
-
base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));
|
|
136
|
-
else
|
|
137
|
-
base64.push('=');
|
|
138
|
-
}
|
|
139
|
-
return base64.join('');
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
// Convert a base-64 string to a byte array
|
|
143
|
-
base64ToBytes: function(base64) {
|
|
144
|
-
// Remove non-base-64 characters
|
|
145
|
-
base64 = base64.replace(/[^A-Z0-9+\/]/ig, '');
|
|
146
|
-
|
|
147
|
-
for (var bytes = [], i = 0, imod4 = 0; i < base64.length;
|
|
148
|
-
imod4 = ++i % 4) {
|
|
149
|
-
if (imod4 == 0) continue;
|
|
150
|
-
bytes.push(((base64map.indexOf(base64.charAt(i - 1))
|
|
151
|
-
& (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))
|
|
152
|
-
| (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));
|
|
153
|
-
}
|
|
154
|
-
return bytes;
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
module.exports = crypt;
|
|
159
|
-
})();
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
var charenc = {
|
|
163
|
-
// UTF-8 encoding
|
|
164
|
-
utf8: {
|
|
165
|
-
// Convert a string to a byte array
|
|
166
|
-
stringToBytes: function(str) {
|
|
167
|
-
return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
// Convert a byte array to a string
|
|
171
|
-
bytesToString: function(bytes) {
|
|
172
|
-
return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
// Binary encoding
|
|
177
|
-
bin: {
|
|
178
|
-
// Convert a string to a byte array
|
|
179
|
-
stringToBytes: function(str) {
|
|
180
|
-
for (var bytes = [], i = 0; i < str.length; i++)
|
|
181
|
-
bytes.push(str.charCodeAt(i) & 0xFF);
|
|
182
|
-
return bytes;
|
|
183
|
-
},
|
|
184
|
-
|
|
185
|
-
// Convert a byte array to a string
|
|
186
|
-
bytesToString: function(bytes) {
|
|
187
|
-
for (var str = [], i = 0; i < bytes.length; i++)
|
|
188
|
-
str.push(String.fromCharCode(bytes[i]));
|
|
189
|
-
return str.join('');
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
var charenc_1 = charenc;
|
|
195
|
-
|
|
196
|
-
/*!
|
|
197
|
-
* Determine if an object is a Buffer
|
|
198
|
-
*
|
|
199
|
-
* @author Feross Aboukhadijeh <https://feross.org>
|
|
200
|
-
* @license MIT
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
|
204
|
-
// Object.prototype.constructor. Remove this eventually
|
|
205
|
-
var isBuffer_1 = function (obj) {
|
|
206
|
-
return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
function isBuffer (obj) {
|
|
210
|
-
return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// For Node v0.10 support. Remove this eventually.
|
|
214
|
-
function isSlowBuffer (obj) {
|
|
215
|
-
return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
var md5 = createCommonjsModule(function (module) {
|
|
219
|
-
(function(){
|
|
220
|
-
var crypt$1 = crypt,
|
|
221
|
-
utf8 = charenc_1.utf8,
|
|
222
|
-
isBuffer = isBuffer_1,
|
|
223
|
-
bin = charenc_1.bin,
|
|
224
|
-
|
|
225
|
-
// The core
|
|
226
|
-
md5 = function (message, options) {
|
|
227
|
-
// Convert to byte array
|
|
228
|
-
if (message.constructor == String)
|
|
229
|
-
if (options && options.encoding === 'binary')
|
|
230
|
-
message = bin.stringToBytes(message);
|
|
231
|
-
else
|
|
232
|
-
message = utf8.stringToBytes(message);
|
|
233
|
-
else if (isBuffer(message))
|
|
234
|
-
message = Array.prototype.slice.call(message, 0);
|
|
235
|
-
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
|
|
236
|
-
message = message.toString();
|
|
237
|
-
// else, assume byte array already
|
|
238
|
-
|
|
239
|
-
var m = crypt$1.bytesToWords(message),
|
|
240
|
-
l = message.length * 8,
|
|
241
|
-
a = 1732584193,
|
|
242
|
-
b = -271733879,
|
|
243
|
-
c = -1732584194,
|
|
244
|
-
d = 271733878;
|
|
245
|
-
|
|
246
|
-
// Swap endian
|
|
247
|
-
for (var i = 0; i < m.length; i++) {
|
|
248
|
-
m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
|
|
249
|
-
((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
// Padding
|
|
253
|
-
m[l >>> 5] |= 0x80 << (l % 32);
|
|
254
|
-
m[(((l + 64) >>> 9) << 4) + 14] = l;
|
|
255
|
-
|
|
256
|
-
// Method shortcuts
|
|
257
|
-
var FF = md5._ff,
|
|
258
|
-
GG = md5._gg,
|
|
259
|
-
HH = md5._hh,
|
|
260
|
-
II = md5._ii;
|
|
261
|
-
|
|
262
|
-
for (var i = 0; i < m.length; i += 16) {
|
|
263
|
-
|
|
264
|
-
var aa = a,
|
|
265
|
-
bb = b,
|
|
266
|
-
cc = c,
|
|
267
|
-
dd = d;
|
|
268
|
-
|
|
269
|
-
a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
|
|
270
|
-
d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
|
|
271
|
-
c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
|
|
272
|
-
b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
|
|
273
|
-
a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
|
|
274
|
-
d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
|
|
275
|
-
c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
|
|
276
|
-
b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
|
|
277
|
-
a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
|
|
278
|
-
d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
|
|
279
|
-
c = FF(c, d, a, b, m[i+10], 17, -42063);
|
|
280
|
-
b = FF(b, c, d, a, m[i+11], 22, -1990404162);
|
|
281
|
-
a = FF(a, b, c, d, m[i+12], 7, 1804603682);
|
|
282
|
-
d = FF(d, a, b, c, m[i+13], 12, -40341101);
|
|
283
|
-
c = FF(c, d, a, b, m[i+14], 17, -1502002290);
|
|
284
|
-
b = FF(b, c, d, a, m[i+15], 22, 1236535329);
|
|
285
|
-
|
|
286
|
-
a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
|
|
287
|
-
d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
|
|
288
|
-
c = GG(c, d, a, b, m[i+11], 14, 643717713);
|
|
289
|
-
b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
|
|
290
|
-
a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
|
|
291
|
-
d = GG(d, a, b, c, m[i+10], 9, 38016083);
|
|
292
|
-
c = GG(c, d, a, b, m[i+15], 14, -660478335);
|
|
293
|
-
b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
|
|
294
|
-
a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
|
|
295
|
-
d = GG(d, a, b, c, m[i+14], 9, -1019803690);
|
|
296
|
-
c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
|
|
297
|
-
b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
|
|
298
|
-
a = GG(a, b, c, d, m[i+13], 5, -1444681467);
|
|
299
|
-
d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
|
|
300
|
-
c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
|
|
301
|
-
b = GG(b, c, d, a, m[i+12], 20, -1926607734);
|
|
302
|
-
|
|
303
|
-
a = HH(a, b, c, d, m[i+ 5], 4, -378558);
|
|
304
|
-
d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
|
|
305
|
-
c = HH(c, d, a, b, m[i+11], 16, 1839030562);
|
|
306
|
-
b = HH(b, c, d, a, m[i+14], 23, -35309556);
|
|
307
|
-
a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
|
|
308
|
-
d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
|
|
309
|
-
c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
|
|
310
|
-
b = HH(b, c, d, a, m[i+10], 23, -1094730640);
|
|
311
|
-
a = HH(a, b, c, d, m[i+13], 4, 681279174);
|
|
312
|
-
d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
|
|
313
|
-
c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
|
|
314
|
-
b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
|
|
315
|
-
a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
|
|
316
|
-
d = HH(d, a, b, c, m[i+12], 11, -421815835);
|
|
317
|
-
c = HH(c, d, a, b, m[i+15], 16, 530742520);
|
|
318
|
-
b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
|
|
319
|
-
|
|
320
|
-
a = II(a, b, c, d, m[i+ 0], 6, -198630844);
|
|
321
|
-
d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
|
|
322
|
-
c = II(c, d, a, b, m[i+14], 15, -1416354905);
|
|
323
|
-
b = II(b, c, d, a, m[i+ 5], 21, -57434055);
|
|
324
|
-
a = II(a, b, c, d, m[i+12], 6, 1700485571);
|
|
325
|
-
d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
|
|
326
|
-
c = II(c, d, a, b, m[i+10], 15, -1051523);
|
|
327
|
-
b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
|
|
328
|
-
a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
|
|
329
|
-
d = II(d, a, b, c, m[i+15], 10, -30611744);
|
|
330
|
-
c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
|
|
331
|
-
b = II(b, c, d, a, m[i+13], 21, 1309151649);
|
|
332
|
-
a = II(a, b, c, d, m[i+ 4], 6, -145523070);
|
|
333
|
-
d = II(d, a, b, c, m[i+11], 10, -1120210379);
|
|
334
|
-
c = II(c, d, a, b, m[i+ 2], 15, 718787259);
|
|
335
|
-
b = II(b, c, d, a, m[i+ 9], 21, -343485551);
|
|
336
|
-
|
|
337
|
-
a = (a + aa) >>> 0;
|
|
338
|
-
b = (b + bb) >>> 0;
|
|
339
|
-
c = (c + cc) >>> 0;
|
|
340
|
-
d = (d + dd) >>> 0;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
return crypt$1.endian([a, b, c, d]);
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
// Auxiliary functions
|
|
347
|
-
md5._ff = function (a, b, c, d, x, s, t) {
|
|
348
|
-
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
|
349
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
350
|
-
};
|
|
351
|
-
md5._gg = function (a, b, c, d, x, s, t) {
|
|
352
|
-
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
|
353
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
354
|
-
};
|
|
355
|
-
md5._hh = function (a, b, c, d, x, s, t) {
|
|
356
|
-
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
|
357
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
358
|
-
};
|
|
359
|
-
md5._ii = function (a, b, c, d, x, s, t) {
|
|
360
|
-
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
|
361
|
-
return ((n << s) | (n >>> (32 - s))) + b;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
// Package private blocksize
|
|
365
|
-
md5._blocksize = 16;
|
|
366
|
-
md5._digestsize = 16;
|
|
367
|
-
|
|
368
|
-
module.exports = function (message, options) {
|
|
369
|
-
if (message === undefined || message === null)
|
|
370
|
-
throw new Error('Illegal argument ' + message);
|
|
371
|
-
|
|
372
|
-
var digestbytes = crypt$1.wordsToBytes(md5(message, options));
|
|
373
|
-
return options && options.asBytes ? digestbytes :
|
|
374
|
-
options && options.asString ? bin.bytesToString(digestbytes) :
|
|
375
|
-
crypt$1.bytesToHex(digestbytes);
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
})();
|
|
379
|
-
});
|
|
380
|
-
|
|
381
|
-
class RuntimeMetricsOutputDto {
|
|
382
|
-
constructor(environment, payload) {
|
|
383
|
-
this.environment = environment;
|
|
384
|
-
this.payload = payload;
|
|
385
|
-
this.id = md5(JSON.stringify({
|
|
386
|
-
environment: environment,
|
|
387
|
-
payload: payload,
|
|
388
|
-
}));
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
class MetricsCollector {
|
|
393
|
-
constructor() {
|
|
394
|
-
this.runtimeMetrics = [];
|
|
395
|
-
this.runtimeMetricsIds = new Set([]);
|
|
396
|
-
}
|
|
397
|
-
collect(runtimeMetricsOutputDto) {
|
|
398
|
-
LogUtility.debug(`Collecting the runtime metrics payload`);
|
|
399
|
-
if (!this.runtimeMetricsIds.has(runtimeMetricsOutputDto.id)) {
|
|
400
|
-
this.runtimeMetrics.push(runtimeMetricsOutputDto);
|
|
401
|
-
this.runtimeMetricsIds.add(runtimeMetricsOutputDto.id);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
getRuntimeMetrics() {
|
|
405
|
-
return this.runtimeMetrics;
|
|
406
|
-
}
|
|
407
|
-
deleteRuntimeMetrics(deleteItems) {
|
|
408
|
-
this.runtimeMetrics = this.runtimeMetrics.filter((runtimeMetrics) => {
|
|
409
|
-
this.runtimeMetricsIds.delete(runtimeMetrics.id);
|
|
410
|
-
return !deleteItems.includes(runtimeMetrics);
|
|
411
|
-
});
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
const MetricsCollector$1 = new MetricsCollector();
|
|
415
|
-
|
|
416
|
-
class LocalStorage {
|
|
417
|
-
constructor() {
|
|
418
|
-
this.localStorage = null;
|
|
419
|
-
try {
|
|
420
|
-
this.localStorage = globalThis.localStorage;
|
|
421
|
-
}
|
|
422
|
-
catch (error) {
|
|
423
|
-
LogUtility.error('Failed to access browser localStorage:', error);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
setItem(key, value) {
|
|
427
|
-
if (this.localStorage) {
|
|
428
|
-
this.localStorage.setItem(key, JSON.stringify(value));
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
getItem(key) {
|
|
432
|
-
if (this.localStorage) {
|
|
433
|
-
const storageValue = this.localStorage.getItem(key);
|
|
434
|
-
if (storageValue) {
|
|
435
|
-
return JSON.parse(storageValue);
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
return null;
|
|
439
|
-
}
|
|
440
|
-
removeItem(key) {
|
|
441
|
-
if (this.localStorage) {
|
|
442
|
-
this.localStorage.removeItem(key);
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
clear() {
|
|
446
|
-
if (this.localStorage) {
|
|
447
|
-
this.localStorage.clear();
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
findKeys(searchTerm) {
|
|
451
|
-
const keysFound = [];
|
|
452
|
-
if (this.localStorage) {
|
|
453
|
-
for (let i = 0; i < this.localStorage.length; i++) {
|
|
454
|
-
const key = this.localStorage.key(i);
|
|
455
|
-
if (key && key.includes(searchTerm)) {
|
|
456
|
-
keysFound.push(key);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
return keysFound;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
const LocalStorage$1 = new LocalStorage();
|
|
464
|
-
|
|
465
|
-
class MetricsIdDedupeStrategy {
|
|
466
|
-
isDuplicate(runtimeMetricsOutputDto) {
|
|
467
|
-
return this.getRuntimeMetricsIds().includes(runtimeMetricsOutputDto.id);
|
|
468
|
-
}
|
|
469
|
-
cleanup() {
|
|
470
|
-
LogUtility.debug(`Vega telemetry start clear the old vega version runtime metrics ids in localStorage`);
|
|
471
|
-
const localStorageKeys = LocalStorage$1.findKeys(MetricsIdDedupeStrategy.RUNTIME_METRICS_IDS_KEY_PREFIX);
|
|
472
|
-
localStorageKeys.map((localStorageKey) => {
|
|
473
|
-
if (localStorageKey !==
|
|
474
|
-
MetricsIdDedupeStrategy.RUNTIME_METRICS_IDS_KEY_PREFIX +
|
|
475
|
-
globalThis.VegaEnvInfo.version) {
|
|
476
|
-
LocalStorage$1.removeItem(localStorageKey);
|
|
477
|
-
}
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
getRuntimeMetricsIds() {
|
|
481
|
-
return (LocalStorage$1.getItem(MetricsIdDedupeStrategy.RUNTIME_METRICS_IDS_KEY_PREFIX +
|
|
482
|
-
globalThis.VegaEnvInfo.version) || []);
|
|
483
|
-
}
|
|
484
|
-
onDispatched(runtimeMetricsOutputDtos) {
|
|
485
|
-
LogUtility.debug(`Vega telemetry records runtime metrics ids in localStorage`);
|
|
486
|
-
const dispatchedRuntimeMetricsIds = runtimeMetricsOutputDtos.map((runtimeMetricsOutputDto) => runtimeMetricsOutputDto.id);
|
|
487
|
-
LocalStorage$1.setItem(MetricsIdDedupeStrategy.RUNTIME_METRICS_IDS_KEY_PREFIX +
|
|
488
|
-
globalThis.VegaEnvInfo.version, [
|
|
489
|
-
...new Set([
|
|
490
|
-
...this.getRuntimeMetricsIds(),
|
|
491
|
-
...dispatchedRuntimeMetricsIds,
|
|
492
|
-
]),
|
|
493
|
-
]);
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
MetricsIdDedupeStrategy.RUNTIME_METRICS_IDS_KEY_PREFIX = 'vega-telemetry-runtime-metrics-ids-';
|
|
497
|
-
|
|
498
|
-
class MetricsDeDuplicator {
|
|
499
|
-
constructor(strategies) {
|
|
500
|
-
this.strategies = strategies;
|
|
501
|
-
}
|
|
502
|
-
checkByStrategies(runtimeMetricsOutputDto) {
|
|
503
|
-
LogUtility.debug(`Start check duplicate payload by strategies`);
|
|
504
|
-
for (const strategy of this.strategies) {
|
|
505
|
-
return strategy.isDuplicate(runtimeMetricsOutputDto);
|
|
506
|
-
}
|
|
507
|
-
return false;
|
|
508
|
-
}
|
|
509
|
-
updateDispatchedRuntimeMetrics(dispatchedRuntimeMetrics) {
|
|
510
|
-
for (const strategy of this.strategies) {
|
|
511
|
-
strategy.onDispatched(dispatchedRuntimeMetrics);
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
clearRuntimeMetrics() {
|
|
515
|
-
try {
|
|
516
|
-
for (const strategy of this.strategies) {
|
|
517
|
-
strategy.cleanup();
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
catch (error) {
|
|
521
|
-
LogUtility.error('Vega telemetry failed to clear runtime metrics in localStorage:', error);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
const MetricsDeDuplicator$1 = new MetricsDeDuplicator([new MetricsIdDedupeStrategy()]);
|
|
526
|
-
|
|
527
|
-
class RuntimeMetricsEnvironmentOutputDto {
|
|
528
|
-
constructor(vegaVersion, framework, browser, os, origin) {
|
|
529
|
-
this.vegaVersion = vegaVersion;
|
|
530
|
-
this.framework = framework;
|
|
531
|
-
this.browser = browser;
|
|
532
|
-
this.os = os;
|
|
533
|
-
this.origin = origin;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
class BrowserDto {
|
|
538
|
-
constructor(name, version) {
|
|
539
|
-
this.name = name;
|
|
540
|
-
this.version = version;
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
class OperatingSystemDto {
|
|
545
|
-
constructor(name, version) {
|
|
546
|
-
this.name = name;
|
|
547
|
-
this.version = version;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
class BrowserPredictor {
|
|
552
|
-
constructor() {
|
|
553
|
-
this.commonVersionRegExp = /version\/(\d+(\.?_?\d+)+)/i;
|
|
554
|
-
}
|
|
555
|
-
getVersion(userAgent) {
|
|
556
|
-
return this.getPCTerminalMatch(this.versionRegExp[0], userAgent);
|
|
557
|
-
}
|
|
558
|
-
isNameMatch(userAgent) {
|
|
559
|
-
return this.nameRegExp.some((condition) => condition.test(userAgent));
|
|
560
|
-
}
|
|
561
|
-
predict(userAgent) {
|
|
562
|
-
const name = this.name;
|
|
563
|
-
const version = this.getVersion(userAgent);
|
|
564
|
-
return new BrowserDto(name, version);
|
|
565
|
-
}
|
|
566
|
-
getPCTerminalMatch(regexp, userAgent) {
|
|
567
|
-
const match = userAgent.match(regexp);
|
|
568
|
-
return (match && match.length > 0 && match[1]) || '';
|
|
569
|
-
}
|
|
570
|
-
getMobileTerminalMatch(regexp, userAgent) {
|
|
571
|
-
const match = userAgent.match(regexp);
|
|
572
|
-
return (match && match.length > 1 && match[2]) || '';
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
class IEPredictor extends BrowserPredictor {
|
|
577
|
-
constructor() {
|
|
578
|
-
super(...arguments);
|
|
579
|
-
this.name = 'IE';
|
|
580
|
-
this.nameRegExp = [/msie|trident/i];
|
|
581
|
-
this.versionRegExp = [/(?:msie |rv:)(\d+(\.?_?\d+)+)/i];
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
class EdgePredictor extends BrowserPredictor {
|
|
586
|
-
constructor() {
|
|
587
|
-
super(...arguments);
|
|
588
|
-
this.name = 'Edge';
|
|
589
|
-
this.nameRegExp = [/\sedg\//i, /edg([ae]|ios)/i];
|
|
590
|
-
this.versionRegExp = [
|
|
591
|
-
/\sedg\/(\d+(\.?_?\d+)+)/i,
|
|
592
|
-
/edg([ae]|ios)\/(\d+(\.?_?\d+)+)/i,
|
|
593
|
-
];
|
|
594
|
-
}
|
|
595
|
-
getVersion(userAgent) {
|
|
596
|
-
return this.nameRegExp[0].test(userAgent)
|
|
597
|
-
? this.getPCTerminalMatch(this.versionRegExp[0], userAgent)
|
|
598
|
-
: this.getMobileTerminalMatch(this.versionRegExp[1], userAgent);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
class FirefoxPredictor extends BrowserPredictor {
|
|
603
|
-
constructor() {
|
|
604
|
-
super(...arguments);
|
|
605
|
-
this.name = 'FireFox';
|
|
606
|
-
this.nameRegExp = [/firefox|iceweasel|fxios/i];
|
|
607
|
-
this.versionRegExp = [
|
|
608
|
-
/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,
|
|
609
|
-
];
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
class ChromePredictor extends BrowserPredictor {
|
|
614
|
-
constructor() {
|
|
615
|
-
super(...arguments);
|
|
616
|
-
this.name = 'Chrome';
|
|
617
|
-
this.nameRegExp = [
|
|
618
|
-
/chromium/i,
|
|
619
|
-
/^(?!.*\s(edg|edga)\/).*chrome|crios|crmo/i,
|
|
620
|
-
];
|
|
621
|
-
this.versionRegExp = [
|
|
622
|
-
/chromium[\s/](\d+(\.?_?\d+)+)/i,
|
|
623
|
-
/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,
|
|
624
|
-
];
|
|
625
|
-
}
|
|
626
|
-
getVersion(userAgent) {
|
|
627
|
-
let version = '';
|
|
628
|
-
version = this.nameRegExp[0].test(userAgent)
|
|
629
|
-
? this.getPCTerminalMatch(this.versionRegExp[0], userAgent) ||
|
|
630
|
-
this.getPCTerminalMatch(this.commonVersionRegExp, userAgent)
|
|
631
|
-
: this.getPCTerminalMatch(this.versionRegExp[1], userAgent);
|
|
632
|
-
return version;
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
class SafariPredictor extends BrowserPredictor {
|
|
637
|
-
constructor() {
|
|
638
|
-
super(...arguments);
|
|
639
|
-
this.name = 'Safari';
|
|
640
|
-
this.nameRegExp = [
|
|
641
|
-
/^(?!.*\s(firefox|iceweasel|fxios)\/).*(safari|applewebkit)/i,
|
|
642
|
-
];
|
|
643
|
-
this.versionRegExp = [/version\/(\d+(\.?_?\d+)+)/i];
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
class Detector {
|
|
648
|
-
detect(userAgent) {
|
|
649
|
-
const result = {
|
|
650
|
-
name: 'Other',
|
|
651
|
-
version: '',
|
|
652
|
-
};
|
|
653
|
-
if (userAgent) {
|
|
654
|
-
for (const predictor of this.predictors) {
|
|
655
|
-
if (predictor.isNameMatch(userAgent)) {
|
|
656
|
-
return predictor.predict(userAgent);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
return result;
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
class BrowserDetector extends Detector {
|
|
665
|
-
constructor() {
|
|
666
|
-
super(...arguments);
|
|
667
|
-
this.predictors = [
|
|
668
|
-
new ChromePredictor(),
|
|
669
|
-
new EdgePredictor(),
|
|
670
|
-
new SafariPredictor(),
|
|
671
|
-
new FirefoxPredictor(),
|
|
672
|
-
new IEPredictor(),
|
|
673
|
-
];
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
class OSPredictor {
|
|
678
|
-
constructor() {
|
|
679
|
-
this.commonVersionRegExp = /version\/(\d+(\.?_?\d+)+)/i;
|
|
680
|
-
this.versionDelimiterRegExp = /[\s_]/g;
|
|
681
|
-
}
|
|
682
|
-
isNameMatch(userAgent) {
|
|
683
|
-
return this.nameRegExp.some((condition) => condition.test(userAgent));
|
|
684
|
-
}
|
|
685
|
-
predict(userAgent) {
|
|
686
|
-
const name = this.getName(userAgent);
|
|
687
|
-
const version = this.getVersion(userAgent);
|
|
688
|
-
return new OperatingSystemDto(name, version);
|
|
689
|
-
}
|
|
690
|
-
getName(userAgent) {
|
|
691
|
-
const match = userAgent.match(/\((.*?)\)/);
|
|
692
|
-
return (match && match[1]) || 'Other';
|
|
693
|
-
}
|
|
694
|
-
getVersion(userAgent) {
|
|
695
|
-
return this.getCommonVersion(userAgent);
|
|
696
|
-
}
|
|
697
|
-
getCommonVersion(userAgent, needReplaceDelimiter = false) {
|
|
698
|
-
let version = this.getMainstreamOSMatch(this.versionRegExp[0] || this.commonVersionRegExp, userAgent);
|
|
699
|
-
if (version && needReplaceDelimiter) {
|
|
700
|
-
version = version.replace(this.versionDelimiterRegExp, '.');
|
|
701
|
-
}
|
|
702
|
-
return version;
|
|
703
|
-
}
|
|
704
|
-
getMainstreamOSMatch(regexp, userAgent) {
|
|
705
|
-
const match = userAgent.match(regexp);
|
|
706
|
-
return (match && match.length > 0 && match[1]) || '';
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
class WindowsPredictor extends OSPredictor {
|
|
711
|
-
constructor() {
|
|
712
|
-
super(...arguments);
|
|
713
|
-
this.nameRegExp = [/windows /i];
|
|
714
|
-
this.versionRegExp = [/windows ((nt|xp)( \d\d?.\d)?)/i];
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
class MacOSPredictor extends OSPredictor {
|
|
719
|
-
constructor() {
|
|
720
|
-
super(...arguments);
|
|
721
|
-
this.nameRegExp = [/macintosh/i];
|
|
722
|
-
this.versionRegExp = [/mac os x (\d+(\.?_?\d+)+)/i];
|
|
723
|
-
}
|
|
724
|
-
getVersion(userAgent) {
|
|
725
|
-
return this.getCommonVersion(userAgent, true);
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
class IOSPredictor extends OSPredictor {
|
|
730
|
-
constructor() {
|
|
731
|
-
super(...arguments);
|
|
732
|
-
this.nameRegExp = [/(ipod|iphone|ipad)/i];
|
|
733
|
-
this.versionRegExp = [/os (\d+([\s_]\d+)*) like mac os x/i];
|
|
734
|
-
}
|
|
735
|
-
getVersion(userAgent) {
|
|
736
|
-
return this.getCommonVersion(userAgent, true);
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
class AndroidPredictor extends OSPredictor {
|
|
741
|
-
constructor() {
|
|
742
|
-
super(...arguments);
|
|
743
|
-
this.nameRegExp = [/android/i];
|
|
744
|
-
this.versionRegExp = [/android[\s/-](\d+(\.\d+)*)/i];
|
|
745
|
-
}
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
class LinuxPredictor extends OSPredictor {
|
|
749
|
-
constructor() {
|
|
750
|
-
super(...arguments);
|
|
751
|
-
this.nameRegExp = [/linux/i];
|
|
752
|
-
this.versionRegExp = [];
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
class OSDetector extends Detector {
|
|
757
|
-
constructor() {
|
|
758
|
-
super(...arguments);
|
|
759
|
-
this.predictors = [
|
|
760
|
-
new MacOSPredictor(),
|
|
761
|
-
new WindowsPredictor(),
|
|
762
|
-
new IOSPredictor(),
|
|
763
|
-
new AndroidPredictor(),
|
|
764
|
-
new LinuxPredictor(),
|
|
765
|
-
];
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
function onPageHide(callback) {
|
|
770
|
-
globalThis.addEventListener('pagehide', callback);
|
|
771
|
-
}
|
|
772
|
-
function onPageVisibilityChange(callback) {
|
|
773
|
-
if ('visibilityState' in document) {
|
|
774
|
-
document.addEventListener('visibilitychange', function () {
|
|
775
|
-
if (document.visibilityState === 'hidden') {
|
|
776
|
-
callback();
|
|
777
|
-
}
|
|
778
|
-
});
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
function requestIdleCallback(callback) {
|
|
782
|
-
LogUtility.debug(`Vega telemetry start clear runtime metrics in localStorage`);
|
|
783
|
-
if ('requestIdleCallback' in globalThis) {
|
|
784
|
-
globalThis.requestIdleCallback(() => {
|
|
785
|
-
callback();
|
|
786
|
-
});
|
|
787
|
-
}
|
|
788
|
-
else {
|
|
789
|
-
setTimeout(() => {
|
|
790
|
-
callback();
|
|
791
|
-
}, 100);
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
function getOrigin() {
|
|
795
|
-
return globalThis.location.origin;
|
|
796
|
-
}
|
|
797
|
-
function getUserAgent() {
|
|
798
|
-
return globalThis.navigator.userAgent;
|
|
799
|
-
}
|
|
800
|
-
function isLocalHost() {
|
|
801
|
-
return getOrigin().includes('localhost');
|
|
802
|
-
}
|
|
803
|
-
function canAccessBrowserApi() {
|
|
804
|
-
try {
|
|
805
|
-
return (globalThis &&
|
|
806
|
-
!!globalThis.localStorage &&
|
|
807
|
-
!!globalThis.navigator &&
|
|
808
|
-
!!globalThis.location);
|
|
809
|
-
}
|
|
810
|
-
catch (error) {
|
|
811
|
-
LogUtility.debug('Failed to access browser localStorage, navigator or location:', error);
|
|
812
|
-
return false;
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
class MetricsEnvironmentGenerator {
|
|
817
|
-
constructor() {
|
|
818
|
-
this.browserDetector = new BrowserDetector();
|
|
819
|
-
this.osDetector = new OSDetector();
|
|
820
|
-
}
|
|
821
|
-
generate() {
|
|
822
|
-
if (!this.environment) {
|
|
823
|
-
this.environment = new RuntimeMetricsEnvironmentOutputDto(globalThis.VegaEnvInfo.version, globalThis.VegaEnvInfo.framework, this.browserDetector.detect(getUserAgent()), this.osDetector.detect(getUserAgent()), getOrigin());
|
|
824
|
-
}
|
|
825
|
-
return this.environment;
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
const MetricsEnvironmentGenerator$1 = new MetricsEnvironmentGenerator();
|
|
829
|
-
|
|
830
|
-
class MetricsEmittor {
|
|
831
|
-
emit(runtimeMetricsEmitDto) {
|
|
832
|
-
const runtimeMetricsOutputDto = new RuntimeMetricsOutputDto(MetricsEnvironmentGenerator$1.generate(), runtimeMetricsEmitDto);
|
|
833
|
-
LogUtility.debug(`Vega telemetry start emit runtime metrics`);
|
|
834
|
-
if (!MetricsDeDuplicator$1.checkByStrategies(runtimeMetricsOutputDto)) {
|
|
835
|
-
LogUtility.debug(`The payload has not been collected by strategies check`);
|
|
836
|
-
MetricsCollector$1.collect(runtimeMetricsOutputDto);
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
const Emittor = new MetricsEmittor();
|
|
841
|
-
|
|
842
|
-
class ApiUtil {
|
|
843
|
-
static post(url, data) {
|
|
844
|
-
const blob = new globalThis.Blob([JSON.stringify(data)]);
|
|
845
|
-
return globalThis.navigator.sendBeacon(ApiUtil.getVegaTelemetryApimHost() +
|
|
846
|
-
url +
|
|
847
|
-
`?subscription-key=${ApiUtil.getVegaTelemetryApimSubKey()}`, blob);
|
|
848
|
-
}
|
|
849
|
-
static getVegaTelemetryApimHost() {
|
|
850
|
-
return isLocalHost()
|
|
851
|
-
? 'http://localhost:3334'
|
|
852
|
-
: 'https://vega-telemetry-apim-dev.azure-api.net';
|
|
853
|
-
}
|
|
854
|
-
static getVegaTelemetryApimSubKey() {
|
|
855
|
-
return '8bc15c7c8b514d1bb92825b0b17a1731';
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
class RuntimeMetricsSubmitDto {
|
|
860
|
-
constructor(environment, payloads, triggerEvent) {
|
|
861
|
-
this.environment = environment;
|
|
862
|
-
this.payloads = payloads;
|
|
863
|
-
this.triggerEvent = triggerEvent;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
var RuntimeMetricsPayloadTypeEnum;
|
|
868
|
-
(function (RuntimeMetricsPayloadTypeEnum) {
|
|
869
|
-
RuntimeMetricsPayloadTypeEnum["ComponentUsagePayload"] = "componentUsage";
|
|
870
|
-
RuntimeMetricsPayloadTypeEnum["FeatureFlagOverriddenPayload"] = "featureFlagOverridden";
|
|
871
|
-
RuntimeMetricsPayloadTypeEnum["PublicAPIMetricsPayload"] = "publicAPIMetrics";
|
|
872
|
-
})(RuntimeMetricsPayloadTypeEnum || (RuntimeMetricsPayloadTypeEnum = {}));
|
|
873
|
-
var RuntimeMetricsTriggerEventEnum;
|
|
874
|
-
(function (RuntimeMetricsTriggerEventEnum) {
|
|
875
|
-
RuntimeMetricsTriggerEventEnum["VisibilityChange"] = "visibilitychange";
|
|
876
|
-
RuntimeMetricsTriggerEventEnum["PageHide"] = "pagehide";
|
|
877
|
-
})(RuntimeMetricsTriggerEventEnum || (RuntimeMetricsTriggerEventEnum = {}));
|
|
878
|
-
|
|
879
|
-
var FeatureFlagKeyEnum;
|
|
880
|
-
(function (FeatureFlagKeyEnum) {
|
|
881
|
-
FeatureFlagKeyEnum["ENABLE_COLLECT_COMPONENTS_USAGE"] = "VEGA_TELEMETRY.ENABLE_COLLECT_COMPONENTS_USAGE";
|
|
882
|
-
FeatureFlagKeyEnum["ENABLE_COLLECT_PUBLIC_API"] = "VEGA_TELEMETRY.ENABLE_COLLECT_PUBLIC_API";
|
|
883
|
-
FeatureFlagKeyEnum["ENABLE_COLLECT_FEATURE_FLAG_OVERRIDDEN"] = "VEGA_TELEMETRY.ENABLE_COLLECT_FEATURE_FLAG_OVERRIDDEN";
|
|
884
|
-
})(FeatureFlagKeyEnum || (FeatureFlagKeyEnum = {}));
|
|
885
|
-
|
|
886
|
-
class MetricsDispatcher {
|
|
887
|
-
constructor() {
|
|
888
|
-
this.dispatchedRuntimeMetrics = [];
|
|
889
|
-
}
|
|
890
|
-
dispatch(triggerEvent) {
|
|
891
|
-
try {
|
|
892
|
-
const runtimeMetricsSubmitDto = this.generateRuntimeMetricsSubmitDto(triggerEvent);
|
|
893
|
-
if (runtimeMetricsSubmitDto) {
|
|
894
|
-
LogUtility.debug(`Vega telemetry start dispatch runtime metrics`);
|
|
895
|
-
ApiUtil.post(`/runtime-metrics`, runtimeMetricsSubmitDto);
|
|
896
|
-
MetricsDeDuplicator$1.updateDispatchedRuntimeMetrics(this.dispatchedRuntimeMetrics);
|
|
897
|
-
MetricsCollector$1.deleteRuntimeMetrics(this.dispatchedRuntimeMetrics);
|
|
898
|
-
LogUtility.debug(`The runtime metrics have been dispatched successfully!`);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
catch (error) {
|
|
902
|
-
LogUtility.error('Vega telemetry failed to dispatch:', error);
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
generateRuntimeMetricsSubmitDto(triggerEvent) {
|
|
906
|
-
const collectedRuntimeMetrics = this.filterRuntimeMetrics();
|
|
907
|
-
if (collectedRuntimeMetrics.length > 0) {
|
|
908
|
-
this.dispatchedRuntimeMetrics = collectedRuntimeMetrics;
|
|
909
|
-
return new RuntimeMetricsSubmitDto(MetricsEnvironmentGenerator$1.generate(), collectedRuntimeMetrics.map((runtimeMetricsOutputDto) => runtimeMetricsOutputDto.payload), triggerEvent);
|
|
910
|
-
}
|
|
911
|
-
return null;
|
|
912
|
-
}
|
|
913
|
-
filterRuntimeMetrics() {
|
|
914
|
-
return MetricsCollector$1.getRuntimeMetrics().filter((runtimeMetrics) => this.canDispatch(runtimeMetrics) &&
|
|
915
|
-
!MetricsDeDuplicator$1.checkByStrategies(runtimeMetrics));
|
|
916
|
-
}
|
|
917
|
-
canDispatch(runtimeMetrics) {
|
|
918
|
-
const featureFlagController = MetricsDispatcherRegister$1.getFeatureFlagController();
|
|
919
|
-
if (!featureFlagController)
|
|
920
|
-
return false;
|
|
921
|
-
switch (runtimeMetrics.payload.type) {
|
|
922
|
-
case RuntimeMetricsPayloadTypeEnum.ComponentUsagePayload: {
|
|
923
|
-
return featureFlagController.isEnabled(FeatureFlagKeyEnum.ENABLE_COLLECT_COMPONENTS_USAGE);
|
|
924
|
-
}
|
|
925
|
-
case RuntimeMetricsPayloadTypeEnum.FeatureFlagOverriddenPayload: {
|
|
926
|
-
return featureFlagController.isEnabled(FeatureFlagKeyEnum.ENABLE_COLLECT_FEATURE_FLAG_OVERRIDDEN);
|
|
927
|
-
}
|
|
928
|
-
case RuntimeMetricsPayloadTypeEnum.PublicAPIMetricsPayload: {
|
|
929
|
-
return featureFlagController.isEnabled(FeatureFlagKeyEnum.ENABLE_COLLECT_PUBLIC_API);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
const MetricsDispatcher$1 = new MetricsDispatcher();
|
|
935
|
-
|
|
936
|
-
class MetricsDispatcherRegister {
|
|
937
|
-
register(featureFlagController) {
|
|
938
|
-
LogUtility.debug(`Vega telemetry start register 'pagehide' and 'visibilitychange' event`);
|
|
939
|
-
onPageVisibilityChange(() => MetricsDispatcher$1.dispatch(RuntimeMetricsTriggerEventEnum.VisibilityChange));
|
|
940
|
-
onPageHide(() => MetricsDispatcher$1.dispatch(RuntimeMetricsTriggerEventEnum.PageHide));
|
|
941
|
-
requestIdleCallback(() => MetricsDeDuplicator$1.clearRuntimeMetrics());
|
|
942
|
-
this.featureFlagController = featureFlagController;
|
|
943
|
-
}
|
|
944
|
-
getFeatureFlagController() {
|
|
945
|
-
return this.featureFlagController;
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
const MetricsDispatcherRegister$1 = new MetricsDispatcherRegister();
|
|
949
|
-
|
|
950
|
-
class ComponentUsageMetricsPayloadEmitDto {
|
|
951
|
-
constructor(type, componentName, data) {
|
|
952
|
-
this.type = type;
|
|
953
|
-
this.componentName = componentName;
|
|
954
|
-
this.data = data;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
class FeatureFlagOverriddenMetricsPayloadEmitDto {
|
|
959
|
-
constructor(type, featureFlagName, featureFlagOverriddenValue) {
|
|
960
|
-
this.type = type;
|
|
961
|
-
this.featureFlagName = featureFlagName;
|
|
962
|
-
this.featureFlagOverriddenValue = featureFlagOverriddenValue;
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
class PublicAPIMetricsPayloadEmitDto {
|
|
967
|
-
constructor(type, publicAPIName, data) {
|
|
968
|
-
this.type = type;
|
|
969
|
-
this.publicAPIName = publicAPIName;
|
|
970
|
-
this.data = data;
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
class VegaTelemetryRuntimeMetricsManager {
|
|
975
|
-
emit(runtimeMetricsPayloadType, runtimeMetricsPayload) {
|
|
976
|
-
requestIdleCallback(() => {
|
|
977
|
-
try {
|
|
978
|
-
if (canAccessBrowserApi()) {
|
|
979
|
-
switch (runtimeMetricsPayloadType) {
|
|
980
|
-
case RuntimeMetricsPayloadTypeEnum.ComponentUsagePayload: {
|
|
981
|
-
Emittor.emit(new ComponentUsageMetricsPayloadEmitDto(runtimeMetricsPayloadType, runtimeMetricsPayload['componentName'], runtimeMetricsPayload['data']));
|
|
982
|
-
break;
|
|
983
|
-
}
|
|
984
|
-
case RuntimeMetricsPayloadTypeEnum.FeatureFlagOverriddenPayload: {
|
|
985
|
-
Emittor.emit(new FeatureFlagOverriddenMetricsPayloadEmitDto(runtimeMetricsPayloadType, runtimeMetricsPayload['featureFlagName'], runtimeMetricsPayload['featureFlagOverriddenValue']));
|
|
986
|
-
break;
|
|
987
|
-
}
|
|
988
|
-
case RuntimeMetricsPayloadTypeEnum.PublicAPIMetricsPayload: {
|
|
989
|
-
Emittor.emit(new PublicAPIMetricsPayloadEmitDto(runtimeMetricsPayloadType, runtimeMetricsPayload['publicAPIName'], runtimeMetricsPayload['data']));
|
|
990
|
-
break;
|
|
991
|
-
}
|
|
992
|
-
default: {
|
|
993
|
-
throw new Error(`Unknown runtime metrics payload type: ${runtimeMetricsPayloadType}`);
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
catch (error) {
|
|
999
|
-
LogUtility.error('Vega telemetry failed to emit runtime metrics:', error);
|
|
1000
|
-
}
|
|
1001
|
-
});
|
|
1002
|
-
}
|
|
1003
|
-
init(featureFlagController) {
|
|
1004
|
-
try {
|
|
1005
|
-
if (canAccessBrowserApi()) {
|
|
1006
|
-
MetricsDispatcherRegister$1.register(featureFlagController);
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
catch (error) {
|
|
1010
|
-
LogUtility.error('Vega telemetry failed to register event:', error);
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
const VegaTelemetryRuntimeMetricsManager$1 = new VegaTelemetryRuntimeMetricsManager();
|
|
1015
|
-
|
|
1016
|
-
const index = /*#__PURE__*/Object.freeze({
|
|
1017
|
-
__proto__: null,
|
|
1018
|
-
'default': VegaTelemetryRuntimeMetricsManager$1
|
|
1019
|
-
});
|
|
1020
|
-
|
|
1021
|
-
exports.VegaTelemetryRuntimeMetricsManager = VegaTelemetryRuntimeMetricsManager$1;
|
|
1022
|
-
exports.commonjsGlobal = commonjsGlobal;
|
|
1023
|
-
exports.createCommonjsModule = createCommonjsModule;
|
|
1024
|
-
exports.index = index;
|