@heartlandone/vega 2.103.0 → 2.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-85986306.js → app-globals-bc84b09b.js} +10 -10
- package/dist/cjs/{code-block-72de6c4d.js → code-block-7340d2b7.js} +1 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-23d2b3d8.js → component-value-history-controller-slimmer.abstract-dd834f8d.js} +3 -3
- package/dist/cjs/{content-state-ff40bdc6.js → content-state-dde1253f.js} +2 -2
- package/dist/cjs/{date-required-rule-608e704b.js → date-required-rule-5e6777cf.js} +1 -1
- package/dist/cjs/{design-token-a101a8d0.js → design-token-b28d222d.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-b93cc564.js → element-appender-slimmer-a87bc0ce.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-124d54ea.js → form-field-controller-slimmer-fde2b355.js} +16 -2
- package/dist/cjs/{image-annotation-action-1ee41bc7.js → image-annotation-action-715bece3.js} +2 -2
- package/dist/cjs/{image-extension-6a92c524.js → image-extension-cc8f36a1.js} +5 -5
- package/dist/cjs/index.cjs.js +17 -17
- package/dist/cjs/{inject-keyboard-manager-32d7dd0e.js → inject-keyboard-manager-1a113d04.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-c3198ea7.js → internal-calendar-period-factory-bf5e8294.js} +1 -1
- package/dist/cjs/{internal-translation-controller-0d67ca4d.js → internal-translation-controller-b5bbefc9.js} +4 -0
- package/dist/cjs/{keyboard-manager-332eec89.js → keyboard-manager-d0271450.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-a2872981.js → keyboard-manager-slimmer-5a4c0e4c.js} +1 -1
- package/dist/cjs/{legend-input-processor-ce9b38f8.js → legend-input-processor-bd36a794.js} +28 -0
- package/dist/cjs/{link-extension-1b4ed437.js → link-extension-953fb2a0.js} +3 -3
- package/dist/cjs/loader.cjs.js +12 -12
- package/dist/cjs/{month-view-generator-b6a2b8be.js → month-view-generator-b68bcf4b.js} +1 -1
- package/dist/cjs/{public-rules-2066613c.js → public-rules-8bfc6de7.js} +7 -7
- package/dist/cjs/{range-712fe703.js → range-4060b238.js} +1 -1
- package/dist/cjs/{responsive-format-facade-44d33457.js → responsive-format-facade-fed434ed.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-1aa75d22.js → rich-text-editor-required-rule-16e74e91.js} +1 -1
- package/dist/cjs/{split-cell-operation-afc82323.js → split-cell-operation-430e9f27.js} +3 -3
- package/dist/cjs/{state-border-formatter-49984fd6.js → state-border-formatter-b469de2f.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-bd563c01.js → string-format-strategy.abstract-b3174863.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-4faebac9.js → string-input-formatter-slimmer-ceb678e9.js} +1 -1
- package/dist/cjs/{string-mask-strategy-624c4398.js → string-mask-strategy-5f84e2f6.js} +2 -2
- package/dist/cjs/{style-formatter-151d89a3.js → style-formatter-e98caf3c.js} +2 -2
- package/dist/cjs/{time-required-rule-8cd8f9b9.js → time-required-rule-249cb6b6.js} +1 -1
- package/dist/cjs/{token-extension-72d0cb08.js → token-extension-f074902b.js} +8 -8
- package/dist/cjs/{translation-slimmer-1771d01f.js → translation-slimmer-b60d598e.js} +1 -1
- package/dist/cjs/{type-guard-cce6fe1f.js → type-guard-8eb40609.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-b13c2fc4.js → valid-credit-card-number-rule-f5d2b2c6.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-footer.cjs.entry.js +20 -25
- package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-bar-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-box.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-circle.cjs.entry.js +5 -5
- package/dist/cjs/vega-button.cjs.entry.js +3 -3
- package/dist/cjs/vega-calendar_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-card.cjs.entry.js +5 -5
- package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-chip.cjs.entry.js +5 -5
- package/dist/cjs/vega-code-block.cjs.entry.js +8 -8
- package/dist/cjs/vega-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +3 -3
- package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +8 -8
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-dialog_2.cjs.entry.js +10 -5
- package/dist/cjs/vega-divider.cjs.entry.js +5 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +2 -2
- package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-flex.cjs.entry.js +6 -6
- package/dist/cjs/vega-font.cjs.entry.js +5 -5
- package/dist/cjs/vega-form.cjs.entry.js +2 -2
- package/dist/cjs/vega-grid.cjs.entry.js +5 -5
- package/dist/cjs/vega-icon.cjs.entry.js +5 -5
- package/dist/cjs/vega-image-uploader.cjs.entry.js +21 -12
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-numeric.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-passcode.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +4 -4
- package/dist/cjs/vega-input-range.cjs.entry.js +3 -3
- package/dist/cjs/vega-input-select.cjs.entry.js +5 -5
- package/dist/cjs/vega-input.cjs.entry.js +6 -6
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +7 -7
- package/dist/cjs/vega-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +4 -4
- package/dist/cjs/vega-pie-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-popover_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-rich-text-bookmark-editor.cjs.entry.js +2 -2
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +6 -6
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +63 -19
- package/dist/cjs/vega-rich-text-find-replace-panel.cjs.entry.js +1 -1
- package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +5 -5
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +8 -8
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
- package/dist/cjs/vega-signature-capture.cjs.entry.js +7 -7
- package/dist/cjs/vega-stepper.cjs.entry.js +2 -2
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-table_11.cjs.entry.js +4 -4
- package/dist/cjs/vega-textarea.cjs.entry.js +2 -2
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/vega.cjs.js +12 -12
- package/dist/cjs/{y-axis-input-processor-d3a3839c.js → y-axis-input-processor-9ba96716.js} +1 -1
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +38 -35
- package/dist/collection/components/vega-dialog/vega-dialog.js +7 -2
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +6 -3
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +6 -3
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +4 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.js +45 -2
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +16 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +3 -0
- package/dist/collection/constants/misc.js +2 -4
- package/dist/collection/helpers/slimmers/form/form-field-controller-slimmer.js +12 -1
- package/dist/collection/helpers/translation/locales/en.js +4 -0
- package/dist/collection/helpers/validator/form-field-controller.js +4 -1
- package/dist/collection/polyfill/d3/d3-shape-polyfill.js +28 -0
- package/dist/esm/{app-globals-8cdfc5c9.js → app-globals-8541b3dc.js} +10 -10
- package/dist/esm/{code-block-9360c331.js → code-block-c16c69a5.js} +1 -1
- package/dist/esm/{component-value-history-controller-slimmer.abstract-9ea58806.js → component-value-history-controller-slimmer.abstract-1cea9add.js} +3 -3
- package/dist/esm/{content-state-67a12e74.js → content-state-73664d93.js} +2 -2
- package/dist/esm/{date-required-rule-66b5bf02.js → date-required-rule-14131e09.js} +1 -1
- package/dist/esm/{design-token-acd1efeb.js → design-token-4b81bae7.js} +3 -3
- package/dist/esm/{element-appender-slimmer-7e5bc1e9.js → element-appender-slimmer-9094aa07.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-d653c494.js → form-field-controller-slimmer-6f0f083f.js} +16 -2
- package/dist/esm/{image-annotation-action-9525be48.js → image-annotation-action-86052c2e.js} +2 -2
- package/dist/esm/{image-extension-aea75132.js → image-extension-04843995.js} +5 -5
- package/dist/esm/index.js +17 -17
- package/dist/esm/{inject-keyboard-manager-f6522d2f.js → inject-keyboard-manager-1a950408.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-261df2f2.js → internal-calendar-period-factory-14c000cf.js} +1 -1
- package/dist/esm/{internal-translation-controller-3637e47e.js → internal-translation-controller-6eb30c39.js} +4 -0
- package/dist/esm/{keyboard-manager-53e8d8d0.js → keyboard-manager-e7add1f3.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-b3de042d.js → keyboard-manager-slimmer-ffe6588a.js} +1 -1
- package/dist/esm/{legend-input-processor-3b2de4b7.js → legend-input-processor-bd91524a.js} +28 -0
- package/dist/esm/{link-extension-57ba9520.js → link-extension-caabb7d8.js} +3 -3
- package/dist/esm/loader.js +12 -12
- package/dist/esm/{month-view-generator-15215a09.js → month-view-generator-0dad54d9.js} +1 -1
- package/dist/esm/{public-rules-c77a1550.js → public-rules-76247d91.js} +7 -7
- package/dist/esm/{range-3c74e1c8.js → range-c0aec697.js} +1 -1
- package/dist/esm/{responsive-format-facade-1b325d06.js → responsive-format-facade-1a9177b9.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-cfd32ba2.js → rich-text-editor-required-rule-65e18ef0.js} +1 -1
- package/dist/esm/{split-cell-operation-85a036f9.js → split-cell-operation-814641f5.js} +3 -3
- package/dist/esm/{state-border-formatter-ce3495b0.js → state-border-formatter-31f3145a.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-8ce04558.js → string-format-strategy.abstract-a8612297.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-0d60ba7d.js → string-input-formatter-slimmer-8f2aa95a.js} +1 -1
- package/dist/esm/{string-mask-strategy-cabc1d50.js → string-mask-strategy-e8bad1c6.js} +2 -2
- package/dist/esm/{style-formatter-00fe4f1c.js → style-formatter-42e87858.js} +2 -2
- package/dist/esm/{time-required-rule-57ceeae9.js → time-required-rule-fcab062e.js} +1 -1
- package/dist/esm/{token-extension-645a9520.js → token-extension-f001f08e.js} +8 -8
- package/dist/esm/{translation-slimmer-b69057eb.js → translation-slimmer-5fa762dc.js} +1 -1
- package/dist/esm/{type-guard-204094c6.js → type-guard-87bdc930.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-0874e19f.js → valid-credit-card-number-rule-5dc557f1.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-footer.entry.js +20 -25
- package/dist/esm/vega-app-header-button.entry.js +5 -5
- package/dist/esm/vega-bar-chart.entry.js +2 -2
- package/dist/esm/vega-box.entry.js +6 -6
- package/dist/esm/vega-button-circle.entry.js +5 -5
- package/dist/esm/vega-button.entry.js +3 -3
- package/dist/esm/vega-calendar_5.entry.js +7 -7
- package/dist/esm/vega-card.entry.js +5 -5
- package/dist/esm/vega-carousel.entry.js +3 -3
- package/dist/esm/vega-checkbox_2.entry.js +2 -2
- package/dist/esm/vega-chip.entry.js +5 -5
- package/dist/esm/vega-code-block.entry.js +8 -8
- package/dist/esm/vega-color-picker.entry.js +2 -2
- package/dist/esm/vega-color-swatch-picker.entry.js +3 -3
- package/dist/esm/vega-color-swatch.entry.js +2 -2
- package/dist/esm/vega-combo-box.entry.js +8 -8
- package/dist/esm/vega-date-picker_2.entry.js +13 -13
- package/dist/esm/vega-dialog_2.entry.js +10 -5
- package/dist/esm/vega-divider.entry.js +5 -5
- package/dist/esm/vega-dropdown_5.entry.js +7 -7
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +2 -2
- package/dist/esm/vega-file-uploader.entry.js +3 -3
- package/dist/esm/vega-flag-icon.entry.js +5 -5
- package/dist/esm/vega-flex.entry.js +6 -6
- package/dist/esm/vega-font.entry.js +5 -5
- package/dist/esm/vega-form.entry.js +2 -2
- package/dist/esm/vega-grid.entry.js +5 -5
- package/dist/esm/vega-icon.entry.js +5 -5
- package/dist/esm/vega-image-uploader.entry.js +21 -12
- package/dist/esm/vega-input-credit-card.entry.js +6 -6
- package/dist/esm/vega-input-numeric.entry.js +5 -5
- package/dist/esm/vega-input-passcode.entry.js +5 -5
- package/dist/esm/vega-input-phone-number.entry.js +4 -4
- package/dist/esm/vega-input-range.entry.js +3 -3
- package/dist/esm/vega-input-select.entry.js +5 -5
- package/dist/esm/vega-input.entry.js +6 -6
- package/dist/esm/vega-left-nav_5.entry.js +7 -7
- package/dist/esm/vega-line-chart.entry.js +2 -2
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +4 -4
- package/dist/esm/vega-pie-chart.entry.js +1 -1
- package/dist/esm/vega-popover_2.entry.js +8 -8
- package/dist/esm/vega-progress-tracker_2.entry.js +3 -3
- package/dist/esm/vega-radio_2.entry.js +5 -5
- package/dist/esm/vega-rich-text-bookmark-editor.entry.js +2 -2
- package/dist/esm/vega-rich-text-content.entry.js +6 -6
- package/dist/esm/vega-rich-text-editor_4.entry.js +63 -19
- package/dist/esm/vega-rich-text-find-replace-panel.entry.js +1 -1
- package/dist/esm/vega-rich-text-special-characters-panel.entry.js +5 -5
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +8 -8
- package/dist/esm/vega-selection-chip_2.entry.js +4 -4
- package/dist/esm/vega-selection-tile_2.entry.js +2 -2
- package/dist/esm/vega-sidenav_3.entry.js +3 -3
- package/dist/esm/vega-signature-capture.entry.js +7 -7
- package/dist/esm/vega-stepper.entry.js +2 -2
- package/dist/esm/vega-tab-group_2.entry.js +6 -6
- package/dist/esm/vega-table_11.entry.js +4 -4
- package/dist/esm/vega-textarea.entry.js +2 -2
- package/dist/esm/vega-time-picker_2.entry.js +9 -9
- package/dist/esm/vega-toggle-switch.entry.js +2 -2
- package/dist/esm/vega-tooltip_2.entry.js +6 -6
- package/dist/esm/vega.js +12 -12
- package/dist/esm/{y-axis-input-processor-c6b2a914.js → y-axis-input-processor-dd574c2e.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +339 -339
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +14 -12
- package/dist/types/components/vega-dialog/vega-dialog.d.ts +2 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +1 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +1 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-source-view-renderer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +3 -2
- package/dist/types/components.d.ts +26 -22
- package/dist/types/constants/misc.d.ts +0 -2
- package/dist/types/helpers/slimmers/form/form-field-controller-slimmer.d.ts +7 -0
- package/dist/types/helpers/translation/interface.d.ts +4 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-64eb05d3.entry.js → p-017f0314.entry.js} +1 -1
- package/dist/vega/{p-8de29082.entry.js → p-09c5aae6.entry.js} +1 -1
- package/dist/vega/p-0a8e82f1.js +1 -0
- package/dist/vega/{p-76f4fdba.entry.js → p-0c8f8d88.entry.js} +1 -1
- package/dist/vega/{p-2ff659a1.entry.js → p-0cd81963.entry.js} +1 -1
- package/dist/vega/{p-0169f71c.entry.js → p-0cda0b10.entry.js} +1 -1
- package/dist/vega/{p-4043508a.js → p-146abbc7.js} +1 -1
- package/dist/vega/{p-9a96fb05.entry.js → p-185a24ed.entry.js} +1 -1
- package/dist/vega/{p-dcfce26e.entry.js → p-1acaccd6.entry.js} +1 -1
- package/dist/vega/{p-9fcfd738.js → p-1c7dc9c6.js} +1 -1
- package/dist/vega/{p-ebe1dd2b.entry.js → p-1ccf0a96.entry.js} +1 -1
- package/dist/vega/{p-0b33753f.entry.js → p-1f0b99ac.entry.js} +1 -1
- package/dist/vega/{p-d5a75228.js → p-24b6f3ee.js} +1 -1
- package/dist/vega/p-25d8b416.js +1 -0
- package/dist/vega/{p-8e59606f.entry.js → p-27c0c41f.entry.js} +1 -1
- package/dist/vega/{p-3283fa2f.js → p-2a501c55.js} +1 -1
- package/dist/vega/p-2dbdd1bf.entry.js +1 -0
- package/dist/vega/p-2e847194.js +1 -0
- package/dist/vega/{p-f9d09b0c.js → p-3040c091.js} +1 -1
- package/dist/vega/{p-e6b0a292.entry.js → p-313ccf96.entry.js} +1 -1
- package/dist/vega/{p-17f6dc94.entry.js → p-3437ff39.entry.js} +1 -1
- package/dist/vega/p-347d664e.js +1 -0
- package/dist/vega/{p-322da1eb.entry.js → p-377a5330.entry.js} +1 -1
- package/dist/vega/{p-08bf08d2.js → p-37eb020f.js} +1 -1
- package/dist/vega/p-3831f00d.entry.js +1 -0
- package/dist/vega/{p-1f1f93bf.entry.js → p-3a153581.entry.js} +1 -1
- package/dist/vega/p-46d34326.js +1 -0
- package/dist/vega/p-4a2e040f.entry.js +1 -0
- package/dist/vega/{p-6e16bb3a.js → p-4ad6da8f.js} +1 -1
- package/dist/vega/{p-8ac0b1b2.entry.js → p-4b5591fb.entry.js} +1 -1
- package/dist/vega/{p-b3a1cd22.js → p-4cd198b9.js} +1 -1
- package/dist/vega/{p-ba67eb96.js → p-4f24f262.js} +1 -1
- package/dist/vega/{p-1b2e5898.js → p-53c1b195.js} +1 -1
- package/dist/vega/{p-cb68a43a.entry.js → p-54c21aa8.entry.js} +1 -1
- package/dist/vega/{p-cc9fc36a.entry.js → p-568d4da6.entry.js} +1 -1
- package/dist/vega/{p-7874055b.entry.js → p-593a4af3.entry.js} +1 -1
- package/dist/vega/{p-eb945d34.entry.js → p-5a60c1ed.entry.js} +1 -1
- package/dist/vega/{p-28acbe42.entry.js → p-5bdc1ff3.entry.js} +1 -1
- package/dist/vega/{p-92411f56.entry.js → p-5ccdfd46.entry.js} +1 -1
- package/dist/vega/{p-2171b571.entry.js → p-5cd6b840.entry.js} +1 -1
- package/dist/vega/{p-f981cf2c.js → p-5cfe82e7.js} +1 -1
- package/dist/vega/{p-e5fc6583.entry.js → p-5f04fb23.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-5f589bdb.entry.js +1 -0
- package/dist/vega/{p-df9585f6.js → p-68e70f75.js} +1 -1
- package/dist/vega/{p-608d3559.entry.js → p-6902bcaf.entry.js} +1 -1
- package/dist/vega/{p-3b911043.entry.js → p-6b2da3bc.entry.js} +1 -1
- package/dist/vega/{p-69eadbd8.entry.js → p-6c0d4f69.entry.js} +1 -1
- package/dist/vega/{p-7f9ad7bc.js → p-6c46ea86.js} +1 -1
- package/dist/vega/{p-6096ffc3.js → p-6d0947e2.js} +1 -1
- package/dist/vega/{p-36b795c6.entry.js → p-6ec65f72.entry.js} +1 -1
- package/dist/vega/{p-94d65dcf.entry.js → p-701ac71a.entry.js} +1 -1
- package/dist/vega/p-70a08fe5.js +1 -0
- package/dist/vega/{p-ba050d63.entry.js → p-776123f8.entry.js} +1 -1
- package/dist/vega/{p-261cf764.js → p-78a2802f.js} +1 -1
- package/dist/vega/{p-c7ec97d1.entry.js → p-7e262cb3.entry.js} +1 -1
- package/dist/vega/{p-fee080b9.entry.js → p-8a303571.entry.js} +1 -1
- package/dist/vega/{p-fdbdf12f.js → p-8e3c1c81.js} +1 -1
- package/dist/vega/{p-7d3d24f6.entry.js → p-8e59892d.entry.js} +1 -1
- package/dist/vega/{p-564110ba.entry.js → p-9960ffde.entry.js} +1 -1
- package/dist/vega/{p-e84c2589.js → p-9b571551.js} +1 -1
- package/dist/vega/{p-c08ac33f.entry.js → p-9e51b1a8.entry.js} +1 -1
- package/dist/vega/{p-1a4d1991.entry.js → p-a222639f.entry.js} +1 -1
- package/dist/vega/{p-6c4edee8.entry.js → p-a50b8c9f.entry.js} +1 -1
- package/dist/vega/{p-8c61db9d.entry.js → p-a54a2def.entry.js} +1 -1
- package/dist/vega/{p-e33a954f.js → p-a6346186.js} +1 -1
- package/dist/vega/{p-b63a90b3.entry.js → p-a6467be2.entry.js} +1 -1
- package/dist/vega/p-a7ed55d8.js +1 -0
- package/dist/vega/{p-3567dc55.entry.js → p-afa8a9af.entry.js} +1 -1
- package/dist/vega/{p-9153c2f5.entry.js → p-b015a970.entry.js} +1 -1
- package/dist/vega/p-b4e4b938.entry.js +1 -0
- package/dist/vega/{p-e2c8a470.entry.js → p-b63af0ae.entry.js} +1 -1
- package/dist/vega/{p-ade903b3.entry.js → p-ba971f6a.entry.js} +1 -1
- package/dist/vega/{p-dc83fa6b.entry.js → p-bc8bc41e.entry.js} +1 -1
- package/dist/vega/{p-ac98c189.entry.js → p-c07039d8.entry.js} +1 -1
- package/dist/vega/{p-3b4e2ba0.js → p-c0eddde0.js} +1 -1
- package/dist/vega/{p-abe5f7f0.entry.js → p-c26c979f.entry.js} +1 -1
- package/dist/vega/{p-1fb953f8.js → p-c576f76b.js} +1 -1
- package/dist/vega/{p-8193f4ef.entry.js → p-c6cfaa2f.entry.js} +1 -1
- package/dist/vega/{p-a60d75d9.js → p-c73cce9b.js} +1 -1
- package/dist/vega/{p-ca1fe571.entry.js → p-c75c14e4.entry.js} +1 -1
- package/dist/vega/{p-8197d172.entry.js → p-c8c2e940.entry.js} +1 -1
- package/dist/vega/{p-f818bb20.entry.js → p-c968f8cf.entry.js} +1 -1
- package/dist/vega/{p-2fc2299f.js → p-cef58d27.js} +1 -1
- package/dist/vega/{p-27e77ea1.entry.js → p-d1b8fb1d.entry.js} +1 -1
- package/dist/vega/p-d5ab92a5.entry.js +1 -0
- package/dist/vega/{p-d044d54f.entry.js → p-d9c2aa77.entry.js} +1 -1
- package/dist/vega/{p-1537b1e4.js → p-da94bcda.js} +1 -1
- package/dist/vega/{p-66bf209b.entry.js → p-dcf4f31f.entry.js} +1 -1
- package/dist/vega/{p-4503f5b9.entry.js → p-e11987d3.entry.js} +1 -1
- package/dist/vega/{p-a2dcde12.js → p-e1aa78db.js} +1 -1
- package/dist/vega/{p-8ea41806.js → p-e2168481.js} +1 -1
- package/dist/vega/{p-018bb83b.entry.js → p-e22a00ec.entry.js} +1 -1
- package/dist/vega/{p-4e4b50f3.entry.js → p-e67ef7a1.entry.js} +1 -1
- package/dist/vega/{p-4cdc064d.entry.js → p-ee2bd1e8.entry.js} +1 -1
- package/dist/vega/{p-45af801f.js → p-f2193656.js} +1 -1
- package/dist/vega/{p-a2c7a3bc.js → p-fc07ed1e.js} +1 -1
- package/dist/vega/{p-3e270b65.entry.js → p-fdb6f4f0.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-255fe20b.js +0 -1
- package/dist/vega/p-2acc600a.entry.js +0 -1
- package/dist/vega/p-37714a3a.js +0 -1
- package/dist/vega/p-38c551a9.entry.js +0 -1
- package/dist/vega/p-4151d4a8.js +0 -1
- package/dist/vega/p-48c2150b.entry.js +0 -1
- package/dist/vega/p-4b253f74.entry.js +0 -1
- package/dist/vega/p-7b9ed949.js +0 -1
- package/dist/vega/p-9a0e17b2.entry.js +0 -1
- package/dist/vega/p-a9fc4043.js +0 -1
- package/dist/vega/p-affb40e8.js +0 -1
- package/dist/vega/p-d3a9355c.entry.js +0 -1
- package/dist/vega/p-e668cf11.js +0 -1
|
@@ -69,19 +69,19 @@ export class VegaImageUploaderActionsRenderer extends VegaSlimmer {
|
|
|
69
69
|
case 'Preview':
|
|
70
70
|
options = {
|
|
71
71
|
icon: 'zoom-in',
|
|
72
|
-
label: actionType,
|
|
72
|
+
label: this.translationSlimmer.t(actionType),
|
|
73
73
|
};
|
|
74
74
|
break;
|
|
75
75
|
case 'Delete':
|
|
76
76
|
options = {
|
|
77
77
|
icon: 'delete-bin',
|
|
78
|
-
label: actionType,
|
|
78
|
+
label: this.translationSlimmer.t(actionType),
|
|
79
79
|
};
|
|
80
80
|
break;
|
|
81
81
|
case 'Replace':
|
|
82
82
|
options = {
|
|
83
83
|
icon: 'photo',
|
|
84
|
-
label: actionType,
|
|
84
|
+
label: this.translationSlimmer.t(actionType),
|
|
85
85
|
};
|
|
86
86
|
break;
|
|
87
87
|
/* istanbul ignore next */
|
|
@@ -121,3 +121,6 @@ __decorate([
|
|
|
121
121
|
__decorate([
|
|
122
122
|
MapToComponentField()
|
|
123
123
|
], VegaImageUploaderActionsRenderer.prototype, "isInDarkMode", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
MapToComponentField()
|
|
126
|
+
], VegaImageUploaderActionsRenderer.prototype, "translationSlimmer", void 0);
|
|
@@ -26,7 +26,7 @@ export class VegaImageUploaderUploadingContentRenderer extends VegaSlimmer {
|
|
|
26
26
|
render() {
|
|
27
27
|
return (h("div", { class: "action-wrapper", role: "button", tabIndex: 0, onClick: this.handleCancelUploading, onKeyDown: createEnterKeyHandlerToTriggerClick() },
|
|
28
28
|
h("span", { class: "action-loading" }),
|
|
29
|
-
h("div", { class: "vega-image-uploader-text cancel-action" },
|
|
29
|
+
h("div", { class: "vega-image-uploader-text cancel-action" }, this.translationSlimmer.t('Cancel'))));
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
__decorate([
|
|
@@ -38,3 +38,6 @@ __decorate([
|
|
|
38
38
|
__decorate([
|
|
39
39
|
MapToComponentField()
|
|
40
40
|
], VegaImageUploaderUploadingContentRenderer.prototype, "cancelEventEmitter", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
MapToComponentField()
|
|
43
|
+
], VegaImageUploaderUploadingContentRenderer.prototype, "translationSlimmer", void 0);
|
|
@@ -163,8 +163,8 @@ export class VegaRichTextEditorRenderer extends VegaSlimmer {
|
|
|
163
163
|
}
|
|
164
164
|
renderContent() {
|
|
165
165
|
return (h(Fragment, null,
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
166
|
+
this.richTextEditorSourceViewRenderer.render(),
|
|
167
|
+
this.renderTextContent()));
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
__decorate([
|
|
@@ -9,6 +9,7 @@ import { h } from '@stencil/core';
|
|
|
9
9
|
import CodeFormatter from '../../../../helpers/code-format/code-formatter';
|
|
10
10
|
import { DomNodeSubjectObserverFactory } from '../../../../helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory';
|
|
11
11
|
import { VegaInternalCodeBlockBlur } from '../../../../helpers/event-manager/event-id/vega-internal-event-id';
|
|
12
|
+
import { VegaChange } from '../../../../helpers/event-manager/event-id/vega-event-id';
|
|
12
13
|
import { VegaRTEContent } from '../../dto/content-state';
|
|
13
14
|
import extensionContextManager from '../../helpers/extension-context-manager';
|
|
14
15
|
/**
|
|
@@ -18,6 +19,7 @@ export class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
|
|
|
18
19
|
constructor() {
|
|
19
20
|
super(...arguments);
|
|
20
21
|
this.prevRecord = '';
|
|
22
|
+
this.sourceViewCode = null;
|
|
21
23
|
/**
|
|
22
24
|
* Handle the blur event of the code block. When the code block loses focus, emit the source code change event with the current source code.
|
|
23
25
|
*/
|
|
@@ -40,6 +42,24 @@ export class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
|
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Updates source-mode validation without committing the raw source text to the editor value.
|
|
47
|
+
* This preserves the active source edit while immediately updating error UI.
|
|
48
|
+
*/
|
|
49
|
+
this.handleSourceCodeChange = async (payload) => {
|
|
50
|
+
var _a, _b;
|
|
51
|
+
if (!this.sourceView)
|
|
52
|
+
return;
|
|
53
|
+
const filterInlineStyles = Boolean(this.sourceEditConfig.filterInlineStyles);
|
|
54
|
+
const blockBoundaryRegistry = (_a = extensionContextManager.getExtensionContext(this.host)) === null || _a === void 0 ? void 0 : _a.blockBoundaryRegistry;
|
|
55
|
+
this.sourceViewCode = payload.detail.code;
|
|
56
|
+
this.sourceValidationValue = VegaRTEContent.fromHtml(payload.detail.code, {
|
|
57
|
+
autoMatchFormat: (_b = this.sourceEditConfig.autoMatchFormat) !== null && _b !== void 0 ? _b : true,
|
|
58
|
+
filterInlineStyles,
|
|
59
|
+
blockBoundaryRegistry,
|
|
60
|
+
});
|
|
61
|
+
this.formFieldController.notifyValueChange(this.sourceValidationValue);
|
|
62
|
+
};
|
|
43
63
|
}
|
|
44
64
|
/**
|
|
45
65
|
* Clean up the code block blur observer when the component is disconnected to prevent memory leaks.
|
|
@@ -47,6 +67,7 @@ export class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
|
|
|
47
67
|
clearCodeBlockBlurObserver() {
|
|
48
68
|
if (this.sourceCodeBlockRef) {
|
|
49
69
|
DomNodeSubjectObserverFactory.removeUniqueObserverFromNode(this.sourceCodeBlockRef, VegaInternalCodeBlockBlur);
|
|
70
|
+
DomNodeSubjectObserverFactory.removeUniqueObserverFromNode(this.sourceCodeBlockRef, VegaChange);
|
|
50
71
|
}
|
|
51
72
|
}
|
|
52
73
|
/**
|
|
@@ -59,25 +80,38 @@ export class VegaRichTextEditorSourceViewRenderer extends VegaSlimmer {
|
|
|
59
80
|
return this.sourceCodeBlockRef.value.code;
|
|
60
81
|
}
|
|
61
82
|
}
|
|
83
|
+
getValidationValue() {
|
|
84
|
+
return this.sourceViewCode === null ? this.value : this.sourceValidationValue;
|
|
85
|
+
}
|
|
62
86
|
/**
|
|
63
87
|
* Render the source view, which is a code block for editing the source code of the rich text editor content.
|
|
64
88
|
*
|
|
65
89
|
* @returns {Nullable<HTMLElement>} The rendered source view element, or null if source editing is not allowed.
|
|
66
90
|
*/
|
|
67
91
|
render() {
|
|
92
|
+
var _a;
|
|
68
93
|
if (!this.allowSourceEdit)
|
|
69
94
|
return;
|
|
70
95
|
const sourceCode = this.normalizeSourceCodeForEditing(this.getSourceTemplate());
|
|
71
|
-
|
|
96
|
+
if (!this.sourceView) {
|
|
97
|
+
this.sourceViewCode = null;
|
|
98
|
+
}
|
|
99
|
+
const sourceViewValue = this.sourceView
|
|
100
|
+
? (_a = this.sourceViewCode) !== null && _a !== void 0 ? _a : CodeFormatter.format(sourceCode)
|
|
101
|
+
: '';
|
|
72
102
|
// Record the source view value when rendering, which will be used to compare with the current source view value when blurring the code block to determine whether to emit the source code change event.
|
|
73
|
-
this.
|
|
103
|
+
if (this.sourceViewCode === null) {
|
|
104
|
+
this.prevRecord = sourceCode;
|
|
105
|
+
}
|
|
74
106
|
return (h("div", { class: {
|
|
75
107
|
'source-view-container': true,
|
|
108
|
+
'error': this.isValid === false,
|
|
76
109
|
'vega-hidden': !this.sourceView,
|
|
77
110
|
} },
|
|
78
111
|
h("vega-code-block", { ref: (ref) => {
|
|
79
112
|
this.sourceCodeBlockRef = ref;
|
|
80
113
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaInternalCodeBlockBlur, this.handleCodeBlockBlur);
|
|
114
|
+
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaChange, this.handleSourceCodeChange);
|
|
81
115
|
}, disabled: this.disabled, value: { language: 'html', code: sourceViewValue } })));
|
|
82
116
|
}
|
|
83
117
|
/**
|
|
@@ -119,12 +153,21 @@ __decorate([
|
|
|
119
153
|
__decorate([
|
|
120
154
|
MapToComponentField()
|
|
121
155
|
], VegaRichTextEditorSourceViewRenderer.prototype, "value", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
MapToComponentField({ writable: true })
|
|
158
|
+
], VegaRichTextEditorSourceViewRenderer.prototype, "sourceValidationValue", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
MapToComponentField()
|
|
161
|
+
], VegaRichTextEditorSourceViewRenderer.prototype, "isValid", void 0);
|
|
122
162
|
__decorate([
|
|
123
163
|
MapToComponentField()
|
|
124
164
|
], VegaRichTextEditorSourceViewRenderer.prototype, "disabled", void 0);
|
|
125
165
|
__decorate([
|
|
126
166
|
MapToComponentField()
|
|
127
167
|
], VegaRichTextEditorSourceViewRenderer.prototype, "sourceEditConfig", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
MapToComponentField()
|
|
170
|
+
], VegaRichTextEditorSourceViewRenderer.prototype, "formFieldController", void 0);
|
|
128
171
|
__decorate([
|
|
129
172
|
MapToComponentField()
|
|
130
173
|
], VegaRichTextEditorSourceViewRenderer.prototype, "sourceCodeChangeEventEmitter", void 0);
|
|
@@ -245,6 +245,22 @@
|
|
|
245
245
|
.source-view-container {
|
|
246
246
|
margin-top: 12px;
|
|
247
247
|
}
|
|
248
|
+
.source-view-container.error {
|
|
249
|
+
border: 1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));
|
|
250
|
+
border-radius: 8px;
|
|
251
|
+
overflow: hidden;
|
|
252
|
+
}
|
|
253
|
+
.source-view-container.error:hover {
|
|
254
|
+
border: 1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1));
|
|
255
|
+
}
|
|
256
|
+
.source-view-container.error:focus-within {
|
|
257
|
+
outline: 2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));
|
|
258
|
+
outline-offset: 3px;
|
|
259
|
+
border: 1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1));
|
|
260
|
+
}
|
|
261
|
+
.source-view-container.error vega-code-block.focus {
|
|
262
|
+
outline: none;
|
|
263
|
+
}
|
|
248
264
|
.source-view-container vega-code-block::part(editor-toolbar) {
|
|
249
265
|
display: none;
|
|
250
266
|
}
|
|
@@ -80,6 +80,7 @@ export class VegaRichTextEditor {
|
|
|
80
80
|
validationRulesName: 'validationRules',
|
|
81
81
|
defaultValue: null,
|
|
82
82
|
attributeGetter: (propertyName) => this[propertyName],
|
|
83
|
+
validationValueGetter: () => this.sourceView ? this.richTextEditorSourceViewRenderer.getValidationValue() : this.value,
|
|
83
84
|
inputContainerGetter: () => this.vegaRichTextEditorRenderer.getRichTextContainerRef(),
|
|
84
85
|
touchableAreaGetter: () => [this.vegaRichTextEditorRenderer.getRichTextContentRef()],
|
|
85
86
|
});
|
|
@@ -127,6 +128,7 @@ export class VegaRichTextEditor {
|
|
|
127
128
|
this.selectionMap = new Map();
|
|
128
129
|
this.isInDarkMode = VegaInternalThemeManager.isDarkMode();
|
|
129
130
|
this.sourceView = false;
|
|
131
|
+
this.sourceValidationValue = VegaRTEContent.createEmptyContent();
|
|
130
132
|
/**
|
|
131
133
|
* Internal state that holds unique toolbar items.
|
|
132
134
|
* Computed from `toolbarItems` to ensure each button renders only once.
|
|
@@ -711,6 +713,7 @@ export class VegaRichTextEditor {
|
|
|
711
713
|
"selectionMap": {},
|
|
712
714
|
"isInDarkMode": {},
|
|
713
715
|
"sourceView": {},
|
|
716
|
+
"sourceValidationValue": {},
|
|
714
717
|
"uniqueToolbarItems": {}
|
|
715
718
|
}; }
|
|
716
719
|
static get events() { return [{
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export const UUID = 'uuid';
|
|
2
2
|
export const INPUT_TEXT_FOCUS_WIDTH = 2;
|
|
3
|
-
export const HEARTLAND_TOS_URL = 'https://www.heartland.us/terms';
|
|
4
|
-
export const HEARTLAND_PRIVACY_URL = 'https://www.heartland.us/privacy-policy';
|
|
5
3
|
export const HEARTLAND_GOOGLE_PRIVACY_POLICY_URL = 'https://policies.google.com/privacy';
|
|
6
4
|
export const HEARTLAND_GOOGLE_TREMS_SERVICE_URL = 'https://policies.google.com/terms';
|
|
7
5
|
export const HEARTLAND_CONTENT = `© ${new Date().getFullYear()} Heartland Payment Systems, LLC – a Global Payments company. All rights reserved.`;
|
|
8
|
-
export const GLOBALPAYMENTS_TOS_URL = 'https://
|
|
9
|
-
export const GLOBALPAYMENTS_PRIVACY_URL = 'https://
|
|
6
|
+
export const GLOBALPAYMENTS_TOS_URL = 'https://noticesandpolicies.globalpayments.com/software-terms/global-payments-software-terms-of-service';
|
|
7
|
+
export const GLOBALPAYMENTS_PRIVACY_URL = 'https://noticesandpolicies.globalpayments.com/genius-product-privacy-notice-for-merchant-users';
|
|
10
8
|
export const GLOBALPAYMENTS_CONTENT = `© ${new Date().getFullYear()} Global Payments Inc. All rights reserved.`;
|
|
@@ -9,7 +9,7 @@ import { camelToDashCase } from '../../../utils/string';
|
|
|
9
9
|
import { FormFieldController, } from '../../validator/form-field-controller';
|
|
10
10
|
import { FieldErrorControllerSlimmer } from './field-error-controller-silmmer';
|
|
11
11
|
import changeManager from '../../change-manager/change-manager';
|
|
12
|
-
import { FORM_ELEMENT_VALIDATE } from '../../change-manager/subject/static-subject/static-subject-title';
|
|
12
|
+
import { FORM_ELEMENT_VALIDATE, FORM_ELEMENT_VALUE_CHANGE, } from '../../change-manager/subject/static-subject/static-subject-title';
|
|
13
13
|
import { FormFieldValidInvokeSlimmer } from './form-field-valid-invoke-slimmer';
|
|
14
14
|
import { MutationObserverSlimmer } from './../mutation-observer/mutation-observer-slimmer';
|
|
15
15
|
import { AttributeOldValueMutationFilter } from './../mutation-observer/mutation-observer-filters';
|
|
@@ -67,6 +67,17 @@ export class FormFieldControllerSlimmer extends VegaSlimmer {
|
|
|
67
67
|
componentDidLoad() {
|
|
68
68
|
methodPlaceholder();
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Notifies the form validation lifecycle that this field's value changed.
|
|
72
|
+
*
|
|
73
|
+
* @param {T} detail - The current value used by the form field.
|
|
74
|
+
*/
|
|
75
|
+
notifyValueChange(detail) {
|
|
76
|
+
changeManager.notify(FORM_ELEMENT_VALUE_CHANGE, {
|
|
77
|
+
host: this.host,
|
|
78
|
+
detail,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
70
81
|
/**
|
|
71
82
|
* watch the prop validationRules and call the valid method
|
|
72
83
|
* some components has not a prop validationRules
|
|
@@ -114,6 +114,10 @@ export const staticTranslations = {
|
|
|
114
114
|
'Less Indent': 'Less Indent',
|
|
115
115
|
'Link': 'Link',
|
|
116
116
|
'Image': 'Image',
|
|
117
|
+
'Delete': 'Delete',
|
|
118
|
+
'Preview': 'Preview',
|
|
119
|
+
'Are you sure you want to delete this image?': 'Are you sure you want to delete this image?',
|
|
120
|
+
'OK': 'OK',
|
|
117
121
|
'Upload from computer': 'Upload from computer',
|
|
118
122
|
'Insert via URL': 'Insert via URL',
|
|
119
123
|
'Image via URL': 'Image via URL',
|
|
@@ -219,8 +219,11 @@ export class FormFieldController {
|
|
|
219
219
|
* valid function to validate the rules
|
|
220
220
|
*/
|
|
221
221
|
async valid(triggerStatus, showError = 'rule') {
|
|
222
|
+
var _a;
|
|
222
223
|
const status = this.getStatus();
|
|
223
|
-
const input = this.
|
|
224
|
+
const input = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.validationValueGetter)
|
|
225
|
+
? this.options.validationValueGetter()
|
|
226
|
+
: this.host.value;
|
|
224
227
|
const hasAsyncRules = this.formFieldValidationRuleHandlerChain.checkIncludesAsyncRuleHandler(input, status, triggerStatus);
|
|
225
228
|
if (hasAsyncRules) {
|
|
226
229
|
ChangeManager.notify(FORM_FIELD_PENDING_VALID_CHANGE, { host: this.host, detail: null });
|
|
@@ -133,6 +133,34 @@ class ArcGenerator {
|
|
|
133
133
|
const outerStartY = outerR * Math.sin(startAngle);
|
|
134
134
|
const outerEndX = outerR * Math.cos(endAngle);
|
|
135
135
|
const outerEndY = outerR * Math.sin(endAngle);
|
|
136
|
+
// A full circle (single 100% slice) has identical start/end points, which SVG can't arc between,
|
|
137
|
+
// so it must be split into two semicircle arcs to render at all.
|
|
138
|
+
if (Math.abs(angleDiff) >= 2 * Math.PI - 1e-6) {
|
|
139
|
+
const midAngle = startAngle + angleDiff / 2;
|
|
140
|
+
const outerMidX = outerR * Math.cos(midAngle);
|
|
141
|
+
const outerMidY = outerR * Math.sin(midAngle);
|
|
142
|
+
if (innerR > 0) {
|
|
143
|
+
const innerStartX = innerR * Math.cos(startAngle);
|
|
144
|
+
const innerStartY = innerR * Math.sin(startAngle);
|
|
145
|
+
const innerMidX = innerR * Math.cos(midAngle);
|
|
146
|
+
const innerMidY = innerR * Math.sin(midAngle);
|
|
147
|
+
return [
|
|
148
|
+
`M${outerStartX},${outerStartY}`,
|
|
149
|
+
`A${outerR},${outerR},0,1,1,${outerMidX},${outerMidY}`,
|
|
150
|
+
`A${outerR},${outerR},0,1,1,${outerStartX},${outerStartY}`,
|
|
151
|
+
`M${innerStartX},${innerStartY}`,
|
|
152
|
+
`A${innerR},${innerR},0,1,0,${innerMidX},${innerMidY}`,
|
|
153
|
+
`A${innerR},${innerR},0,1,0,${innerStartX},${innerStartY}`,
|
|
154
|
+
'Z',
|
|
155
|
+
].join('');
|
|
156
|
+
}
|
|
157
|
+
return [
|
|
158
|
+
`M${outerStartX},${outerStartY}`,
|
|
159
|
+
`A${outerR},${outerR},0,1,1,${outerMidX},${outerMidY}`,
|
|
160
|
+
`A${outerR},${outerR},0,1,1,${outerStartX},${outerStartY}`,
|
|
161
|
+
'Z',
|
|
162
|
+
].join('');
|
|
163
|
+
}
|
|
136
164
|
if (innerR > 0) {
|
|
137
165
|
// Donut arc: outer arc clockwise + inner arc counter-clockwise
|
|
138
166
|
const innerEndX = innerR * Math.cos(endAngle);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
2
|
-
import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTEBlockquoteExtension, m as VegaRTESpecialCharactersExtension, n as VegaRTEFindReplaceExtension, o as VegaRTESpecialCharactersEssentials, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, t as VegaRTESpecialCharactersText, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, x as VegaRTEFullscreenExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, A as VegaRTEWordCountExtension, B as VegaCalendarPeriodFactory } from './token-extension-
|
|
3
|
-
import { V as VegaThemeManager } from './split-cell-operation-
|
|
2
|
+
import { V as VegaLoader, a as VegaNotify, b as VegaEventManager, c as VegaZIndexManager, w as waitForVega, d as VegaSkeletonLoader, e as VegaTranslation, f as VegaRTETokenExtension, g as VegaRTELanguageExtension, h as VegaRTEDefaultLineHeightOptions, i as VegaRTEFunctionExtension, j as VegaRTETableExtension, k as VegaRTEHorizontalLineExtension, l as VegaRTEBlockquoteExtension, m as VegaRTESpecialCharactersExtension, n as VegaRTEFindReplaceExtension, o as VegaRTESpecialCharactersEssentials, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, t as VegaRTESpecialCharactersText, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, x as VegaRTEFullscreenExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, A as VegaRTEWordCountExtension, B as VegaCalendarPeriodFactory } from './token-extension-f001f08e.js';
|
|
3
|
+
import { V as VegaThemeManager } from './split-cell-operation-814641f5.js';
|
|
4
4
|
import { M as MapToComponentMethod, V as VegaSlimmer, s as setVegaLogLevel, G as GlobalSlimmersRegistry } from './global-slimmer-registry-17c4efd4.js';
|
|
5
5
|
import { V as VegaDialog } from './vega-dialog-controller-f2d3b6c9.js';
|
|
6
6
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
7
7
|
import { V as VegaIconManager } from './icon-manager-236d6c23.js';
|
|
8
|
-
import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-
|
|
9
|
-
import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
8
|
+
import { V as VegaInternalTranslation, s as staticTranslations } from './internal-translation-controller-6eb30c39.js';
|
|
9
|
+
import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-5dc557f1.js';
|
|
10
10
|
import { v as vegaEnvManager } from './vega-env-manager-8f8dc473.js';
|
|
11
11
|
import { U as UPDATE_TRANSLATION } from './static-subject-title-1c86e974.js';
|
|
12
12
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
13
13
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
14
14
|
import { f as forceUpdate } from './index-090d31ca.js';
|
|
15
|
-
import { V as VegaRTEContent } from './content-state-
|
|
15
|
+
import { V as VegaRTEContent } from './content-state-73664d93.js';
|
|
16
16
|
import { v as vegaNonceManager, s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
17
|
-
import { V as VegaRTEPresetToolbarItems } from './code-block-
|
|
18
|
-
import { V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension } from './image-extension-
|
|
19
|
-
import { V as VegaRTELinkExtension } from './link-extension-
|
|
20
|
-
import './type-guard-
|
|
17
|
+
import { V as VegaRTEPresetToolbarItems } from './code-block-c16c69a5.js';
|
|
18
|
+
import { V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension } from './image-extension-04843995.js';
|
|
19
|
+
import { V as VegaRTELinkExtension } from './link-extension-caabb7d8.js';
|
|
20
|
+
import './type-guard-87bdc930.js';
|
|
21
21
|
import { C as COUNTRIES } from './countries-50d3339b.js';
|
|
22
22
|
|
|
23
23
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
@@ -434,7 +434,7 @@ function injectVegaCountryNamesIntoGlobal() {
|
|
|
434
434
|
* Inject VegaPublicValidationRules to global as a public api
|
|
435
435
|
*/
|
|
436
436
|
function injectVegaPublicValidationRules() {
|
|
437
|
-
void import('./public-rules-
|
|
437
|
+
void import('./public-rules-76247d91.js').then((module) => {
|
|
438
438
|
Object.entries(module).forEach(([name, value]) => {
|
|
439
439
|
globalThis[name] = value;
|
|
440
440
|
});
|
|
@@ -3,7 +3,7 @@ import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-
|
|
|
3
3
|
import { e as VegaInternalRichTextEditorFlushChanges, f as VegaInternalRichTextEditorSelectionRangeChange } from './vega-internal-event-id-02093067.js';
|
|
4
4
|
import { d as dashCaseToCamel, c as camelToDashCase } from './string-a953eafc.js';
|
|
5
5
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
6
|
-
import { i as isNonNullable } from './type-guard-
|
|
6
|
+
import { i as isNonNullable } from './type-guard-87bdc930.js';
|
|
7
7
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
8
8
|
import { D as Discriminated } from './discriminated-fe5bf3c8.js';
|
|
9
9
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as MapToComponentField, M as MapToComponentMethod } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { t as RTECodeBlockNode, R as RTETextNode, ar as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, p as RTEDecoratorNode, a as RTENode, b as RTEBlock, au as SelectionChangeAction, i as InternalAnnotationTypeEnum, q as RTECodeBlock } from './code-block-
|
|
2
|
+
import { t as RTECodeBlockNode, R as RTETextNode, ar as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, p as RTEDecoratorNode, a as RTENode, b as RTEBlock, au as SelectionChangeAction, i as InternalAnnotationTypeEnum, q as RTECodeBlock } from './code-block-c16c69a5.js';
|
|
3
3
|
import { d as debounce } from './timer-9321173b.js';
|
|
4
4
|
import { g as getActiveElement } from './component-7d906393.js';
|
|
5
5
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
6
6
|
import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
7
7
|
import { f as VegaInternalRichTextEditorSelectionRangeChange, c as VegaInternalUpdateRTECursorPosition } from './vega-internal-event-id-02093067.js';
|
|
8
8
|
import { O as Observer } from './observer-3959f9dd.js';
|
|
9
|
-
import { R as RTERange } from './range-
|
|
9
|
+
import { R as RTERange } from './range-c0aec697.js';
|
|
10
10
|
import { A as AutoRunWhenReRenderTaskQueueSlimmer } from './auto-run-when-re-render-task-queue-slimmer.abstract-27820d4c.js';
|
|
11
11
|
import { i as isHTMLElement } from './ui-80e610f4.js';
|
|
12
|
-
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-
|
|
12
|
+
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-ffe6588a.js';
|
|
13
13
|
|
|
14
14
|
let processing = false;
|
|
15
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as ActionHandleStrategy, q as RTECodeBlock, h as InsertChildrenBeforeAction, l as RemoveChildrenAction, s as stateEntityRenderingRegistry, E as NodeAnnotation, N as NodeAnnotationTypeEnum, p as RTEDecoratorNode, F as NodeTypeEnum, G as CommonAnnotation, J as escapeHtml, A as ActionHandleStrategyRegistry, k as AnnotationAction, j as ModifyContentActionType, K as ReplaceChildNodesAction, I as InsertChildrenAfterAction, g as AppendChildrenAction, M as ModifyContentAction, c as RTETextBlock, R as RTETextNode, S as SplitBlockWithNodeAction, b as RTEBlock, L as BlockMergeNodesStrategy, O as BlockReplaceNodesStrategy, P as HorizontalAlignmentAnnotationAction, Q as BlockUpdateHorizontalAlignmentStrategy, T as BlockDeleteNodeContentStrategy, U as UpdateTextAction, W as RemoveChildrenStrategy, X as RemoveNestListAction, r as RTEListItemBlock, Y as ReplaceNestListAction, Z as RTEListBlock, _ as BOLD_FONT_WEIGHT_KEYWORD, $ as BOLD_FONT_WEIGHT, a0 as createStyleMapFromElement, a1 as RTE_TEXT_COLORS, a2 as RTE_DEFAULT_TEXT_COLOR, a3 as ITALIC_FONT_STYLE, a4 as STRIKETHROUGH_TEXT_DECORATION, a5 as UNDERLINE_TEXT_DECORATION, v as RTEFilterStylesStrategyRegistry, a6 as TextStyleAnnotation, a7 as RTEHtmlBlock, d as RTE_BLOCK_BOUNDARY_ATTRIBUTE, o as RTEFilterStylesStrategy, a8 as Predicate$1, a9 as ListAnnotation, aa as HorizontalAlignmentAnnotation, ab as CodeAnnotation, ac as TEXT_STYLE_DEFAULT_FONT_WEIGHT, n as RTEDTOClassManager, ad as LinkFilterStylesStrategy, ae as CodeBlockFilterStylesStrategy, t as RTECodeBlockNode, af as CodeBlockNodeFilterStylesStrategy, ag as SyncUpSelectionAction } from './code-block-
|
|
1
|
+
import { f as ActionHandleStrategy, q as RTECodeBlock, h as InsertChildrenBeforeAction, l as RemoveChildrenAction, s as stateEntityRenderingRegistry, E as NodeAnnotation, N as NodeAnnotationTypeEnum, p as RTEDecoratorNode, F as NodeTypeEnum, G as CommonAnnotation, J as escapeHtml, A as ActionHandleStrategyRegistry, k as AnnotationAction, j as ModifyContentActionType, K as ReplaceChildNodesAction, I as InsertChildrenAfterAction, g as AppendChildrenAction, M as ModifyContentAction, c as RTETextBlock, R as RTETextNode, S as SplitBlockWithNodeAction, b as RTEBlock, L as BlockMergeNodesStrategy, O as BlockReplaceNodesStrategy, P as HorizontalAlignmentAnnotationAction, Q as BlockUpdateHorizontalAlignmentStrategy, T as BlockDeleteNodeContentStrategy, U as UpdateTextAction, W as RemoveChildrenStrategy, X as RemoveNestListAction, r as RTEListItemBlock, Y as ReplaceNestListAction, Z as RTEListBlock, _ as BOLD_FONT_WEIGHT_KEYWORD, $ as BOLD_FONT_WEIGHT, a0 as createStyleMapFromElement, a1 as RTE_TEXT_COLORS, a2 as RTE_DEFAULT_TEXT_COLOR, a3 as ITALIC_FONT_STYLE, a4 as STRIKETHROUGH_TEXT_DECORATION, a5 as UNDERLINE_TEXT_DECORATION, v as RTEFilterStylesStrategyRegistry, a6 as TextStyleAnnotation, a7 as RTEHtmlBlock, d as RTE_BLOCK_BOUNDARY_ATTRIBUTE, o as RTEFilterStylesStrategy, a8 as Predicate$1, a9 as ListAnnotation, aa as HorizontalAlignmentAnnotation, ab as CodeAnnotation, ac as TEXT_STYLE_DEFAULT_FONT_WEIGHT, n as RTEDTOClassManager, ad as LinkFilterStylesStrategy, ae as CodeBlockFilterStylesStrategy, t as RTECodeBlockNode, af as CodeBlockNodeFilterStylesStrategy, ag as SyncUpSelectionAction } from './code-block-c16c69a5.js';
|
|
2
2
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
3
|
-
import { i as isNonNullable } from './type-guard-
|
|
3
|
+
import { i as isNonNullable } from './type-guard-87bdc930.js';
|
|
4
4
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
5
5
|
import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
6
6
|
import { c as VegaInternalUpdateRTECursorPosition, d as VegaInternalRichTextEditDeleteSelectedNodes, e as VegaInternalRichTextEditorFlushChanges } from './vega-internal-event-id-02093067.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-
|
|
1
|
+
import { m as StateBackgroundColorFormatter, n as isSpacingTokenType, o as isBorderRadiusTokenType, p as isBorderColorTokenType, q as isBackgroundColorTokenType, r as isTextColorTokenType, s as isBreakpointsTokenType, t as isShadowsTokenType, l as Spacing, u as isBorderStyleType, B as BorderRadius, c as Colors, j as Shadows, v as isTypographyTokenType } from './type-guard-87bdc930.js';
|
|
2
2
|
import { B as Breakpoints } from './breakpoints-d9faf11c.js';
|
|
3
3
|
import { L as LogUtility } from './global-slimmer-registry-17c4efd4.js';
|
|
4
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
4
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-1a9177b9.js';
|
|
5
5
|
import { a as TypographyKeys } from './typography-19c3b9be.js';
|
|
6
|
-
import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-
|
|
6
|
+
import { S as StateBorderFormatter, a as StateShadowFormatter, b as StateBorderColorFormatter } from './state-border-formatter-31f3145a.js';
|
|
7
7
|
import { B as BorderStyle } from './ui-93922c59.js';
|
|
8
8
|
|
|
9
9
|
/**
|
package/dist/esm/{element-appender-slimmer-7e5bc1e9.js → element-appender-slimmer-9094aa07.js}
RENAMED
|
@@ -4,8 +4,8 @@ import { I as InternalVegaZIndexManager } from './internal-vega-z-index-manager-
|
|
|
4
4
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
5
5
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
|
|
6
6
|
import { A as Alignments, P as Placements } from './ui-93922c59.js';
|
|
7
|
-
import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-
|
|
8
|
-
import { R as ResponsiveFormatFacade } from './responsive-format-facade-
|
|
7
|
+
import { J as isTranslocationType, i as isNonNullable, a9 as isEATriggerStrategy } from './type-guard-87bdc930.js';
|
|
8
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-1a9177b9.js';
|
|
9
9
|
import { t as tryGetDocument } from './try-get-document-bef0f526.js';
|
|
10
10
|
import { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
11
11
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
@@ -8,7 +8,7 @@ import { a as isAsyncFunction, g as generateUUID } from './misc-9fdbcfbb.js';
|
|
|
8
8
|
import { c as createDynamicSlimmer } from './dynamic-slimmer-90b8af32.js';
|
|
9
9
|
import { d as domNodeSubjectFactory, D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
10
10
|
import { i as VegaInternalFieldErrorStateChange, g as VegaInternalFormSubmit, j as VegaInternalValid } from './vega-internal-event-id-02093067.js';
|
|
11
|
-
import { V as VegaInternalTranslation } from './internal-translation-controller-
|
|
11
|
+
import { V as VegaInternalTranslation } from './internal-translation-controller-6eb30c39.js';
|
|
12
12
|
import { h as htmlSanitizer, l as labelSanitizeStrategy } from './index-35451d12.js';
|
|
13
13
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e24d36c5.js';
|
|
14
14
|
import { I as InternalFormFieldValidationRule } from './internal-form-field-validation-rule.abstract-f5b6bdbf.js';
|
|
@@ -601,8 +601,11 @@ class FormFieldController {
|
|
|
601
601
|
* valid function to validate the rules
|
|
602
602
|
*/
|
|
603
603
|
async valid(triggerStatus, showError = 'rule') {
|
|
604
|
+
var _a;
|
|
604
605
|
const status = this.getStatus();
|
|
605
|
-
const input = this.
|
|
606
|
+
const input = ((_a = this.options) === null || _a === void 0 ? void 0 : _a.validationValueGetter)
|
|
607
|
+
? this.options.validationValueGetter()
|
|
608
|
+
: this.host.value;
|
|
606
609
|
const hasAsyncRules = this.formFieldValidationRuleHandlerChain.checkIncludesAsyncRuleHandler(input, status, triggerStatus);
|
|
607
610
|
if (hasAsyncRules) {
|
|
608
611
|
ChangeManager.notify(FORM_FIELD_PENDING_VALID_CHANGE, { host: this.host, detail: null });
|
|
@@ -1112,6 +1115,17 @@ class FormFieldControllerSlimmer extends VegaSlimmer {
|
|
|
1112
1115
|
*/
|
|
1113
1116
|
componentDidLoad() {
|
|
1114
1117
|
}
|
|
1118
|
+
/**
|
|
1119
|
+
* Notifies the form validation lifecycle that this field's value changed.
|
|
1120
|
+
*
|
|
1121
|
+
* @param {T} detail - The current value used by the form field.
|
|
1122
|
+
*/
|
|
1123
|
+
notifyValueChange(detail) {
|
|
1124
|
+
ChangeManager.notify(FORM_ELEMENT_VALUE_CHANGE, {
|
|
1125
|
+
host: this.host,
|
|
1126
|
+
detail,
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1115
1129
|
/**
|
|
1116
1130
|
* watch the prop validationRules and call the valid method
|
|
1117
1131
|
* some components has not a prop validationRules
|
package/dist/esm/{image-annotation-action-9525be48.js → image-annotation-action-86052c2e.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h } from './index-090d31ca.js';
|
|
2
2
|
import { V as VegaInternalIconManager } from './internal-icon-manager-d4d534d2.js';
|
|
3
3
|
import { c as MapToComponentField, V as VegaSlimmer } from './global-slimmer-registry-17c4efd4.js';
|
|
4
|
-
import { A as ActionHandleStrategyRegistry, a1 as RTE_TEXT_COLORS, R as RTETextNode, av as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, k as AnnotationAction } from './code-block-
|
|
4
|
+
import { A as ActionHandleStrategyRegistry, a1 as RTE_TEXT_COLORS, R as RTETextNode, av as TextColorAnnotationAction, N as NodeAnnotationTypeEnum, k as AnnotationAction } from './code-block-c16c69a5.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
6
6
|
import { b as VegaClick, a as VegaPopoverShow, V as VegaPopoverHide, c as VegaChange } from './vega-event-id-6b4db259.js';
|
|
7
7
|
import { a as VegaDarkModeStyleController } from './dark-mode-style-controller-4e04a2d3.js';
|
|
8
|
-
import { e as ImageAnnotation } from './content-state-
|
|
8
|
+
import { e as ImageAnnotation } from './content-state-73664d93.js';
|
|
9
9
|
|
|
10
10
|
const text = {
|
|
11
11
|
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { R as RTETextNode, ah as escapeHtmlAttribute, ai as BoldAnnotationAction, aj as DeleteNodeAnnotationAction, N as NodeAnnotationTypeEnum, U as UpdateTextAction, l as RemoveChildrenAction, f as ActionHandleStrategy, M as ModifyContentAction, j as ModifyContentActionType, s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry, c as RTETextBlock, r as RTEListItemBlock, ak as normalizePlainTextLines, al as PRESERVED_SPACE, am as PRESERVED_TAB } from './code-block-
|
|
2
|
-
import { e as extensionContextManager, a as VegaRTEExtensionRenderer, b as VegaRTEExtension } from './link-extension-
|
|
1
|
+
import { R as RTETextNode, ah as escapeHtmlAttribute, ai as BoldAnnotationAction, aj as DeleteNodeAnnotationAction, N as NodeAnnotationTypeEnum, U as UpdateTextAction, l as RemoveChildrenAction, f as ActionHandleStrategy, M as ModifyContentAction, j as ModifyContentActionType, s as stateEntityRenderingRegistry, A as ActionHandleStrategyRegistry, c as RTETextBlock, r as RTEListItemBlock, ak as normalizePlainTextLines, al as PRESERVED_SPACE, am as PRESERVED_TAB } from './code-block-c16c69a5.js';
|
|
2
|
+
import { e as extensionContextManager, a as VegaRTEExtensionRenderer, b as VegaRTEExtension } from './link-extension-caabb7d8.js';
|
|
3
3
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
4
|
-
import { E as ElementToDTOStrategy, U as UpdateCursorPositionAction } from './content-state-
|
|
4
|
+
import { E as ElementToDTOStrategy, U as UpdateCursorPositionAction } from './content-state-73664d93.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-bb7e68a0.js';
|
|
6
6
|
import { d as VegaDropdownClick, b as VegaClick, c as VegaChange } from './vega-event-id-6b4db259.js';
|
|
7
|
-
import { V as VegaInternalTranslation } from './internal-translation-controller-
|
|
7
|
+
import { V as VegaInternalTranslation } from './internal-translation-controller-6eb30c39.js';
|
|
8
8
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-c899a968.js';
|
|
9
9
|
import { d as debounce } from './timer-9321173b.js';
|
|
10
10
|
import { t as tryGetDocument } from './try-get-document-bef0f526.js';
|
|
11
11
|
import { V as VegaInternalIconManager } from './internal-icon-manager-d4d534d2.js';
|
|
12
|
-
import { i as isNonNullable } from './type-guard-
|
|
12
|
+
import { i as isNonNullable } from './type-guard-87bdc930.js';
|
|
13
13
|
import { v as vegaNonceManager } from './vega-nonce-manager-497e5eb5.js';
|
|
14
14
|
|
|
15
15
|
/**
|
package/dist/esm/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
export { g as getCurrentBreakpoint } from './breakpoints-332702ed.js';
|
|
2
2
|
export { L as LogUtility, s as setVegaLogLevel } from './global-slimmer-registry-17c4efd4.js';
|
|
3
|
-
export { d as formatAndValidBackgroundColor, e as formatAndValidBorderColor, g as formatAndValidBorderRadius, c as formatAndValidBreakpointSize, a as formatAndValidGap, h as formatAndValidPadding, f as formatAndValidResponsiveToken, b as formatAndValidShadow, i as formatAndValidTextColor } from './design-token-
|
|
3
|
+
export { d as formatAndValidBackgroundColor, e as formatAndValidBorderColor, g as formatAndValidBorderRadius, c as formatAndValidBreakpointSize, a as formatAndValidGap, h as formatAndValidPadding, f as formatAndValidResponsiveToken, b as formatAndValidShadow, i as formatAndValidTextColor } from './design-token-4b81bae7.js';
|
|
4
4
|
export { c as camelToDashCase } from './string-a953eafc.js';
|
|
5
|
-
export { g as BackgroundColorMap, d as BackgroundColors, h as BorderColorMap, e as BorderColors, B as BorderRadius, c as Colors, F as FillBackgroundColors, k as ShadowMap, j as Shadows, l as Spacing, S as StrokeBackgroundColors, f as TextColorMap, T as TextColors } from './type-guard-
|
|
5
|
+
export { g as BackgroundColorMap, d as BackgroundColors, h as BorderColorMap, e as BorderColors, B as BorderRadius, c as Colors, F as FillBackgroundColors, k as ShadowMap, j as Shadows, l as Spacing, S as StrokeBackgroundColors, f as TextColorMap, T as TextColors } from './type-guard-87bdc930.js';
|
|
6
6
|
export { B as Breakpoints } from './breakpoints-d9faf11c.js';
|
|
7
7
|
export { I as Icons, g as getIconFromToken } from './icons-8627925e.js';
|
|
8
8
|
export { b as Typography, a as TypographyKeys, T as TypographyUrls } from './typography-19c3b9be.js';
|
|
9
9
|
export { d as BoxDisplay, e as BreakpointKeys, C as CssStates, F as FlexDirections } from './ui-93922c59.js';
|
|
10
10
|
export { F as FrameworkEnum, v as VegaEnvManager } from './vega-env-manager-8f8dc473.js';
|
|
11
|
-
export { G as DeleteSelectedContentAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, B as VegaCalendarPeriodFactory, b as VegaEventManager, V as VegaLoader, a as VegaNotify, l as VegaRTEBlockquoteExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, h as VegaRTEDefaultLineHeightOptions, n as VegaRTEFindReplaceExtension, x as VegaRTEFullscreenExtension, i as VegaRTEFunctionExtension, k as VegaRTEHorizontalLineExtension, g as VegaRTELanguageExtension, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, o as VegaRTESpecialCharactersEssentials, m as VegaRTESpecialCharactersExtension, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, t as VegaRTESpecialCharactersText, j as VegaRTETableExtension, f as VegaRTETokenExtension, A as VegaRTEWordCountExtension, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-
|
|
11
|
+
export { G as DeleteSelectedContentAction, F as RTEBlockquoteBlock, E as RTELanguageToolbarButtonRenderer, C as RTETokenNode, D as RTETokenNodeRenderer, R as RTETokenToolbarButtonRenderer, B as VegaCalendarPeriodFactory, b as VegaEventManager, V as VegaLoader, a as VegaNotify, l as VegaRTEBlockquoteExtension, y as VegaRTECopyExtension, z as VegaRTECutExtension, h as VegaRTEDefaultLineHeightOptions, n as VegaRTEFindReplaceExtension, x as VegaRTEFullscreenExtension, i as VegaRTEFunctionExtension, k as VegaRTEHorizontalLineExtension, g as VegaRTELanguageExtension, u as VegaRTELineHeightExtension, v as VegaRTEPasteExtension, r as VegaRTESpecialCharactersArrows, s as VegaRTESpecialCharactersCurrency, o as VegaRTESpecialCharactersEssentials, m as VegaRTESpecialCharactersExtension, p as VegaRTESpecialCharactersLatin, q as VegaRTESpecialCharactersMathematical, t as VegaRTESpecialCharactersText, j as VegaRTETableExtension, f as VegaRTETokenExtension, A as VegaRTEWordCountExtension, d as VegaSkeletonLoader, e as VegaTranslation, c as VegaZIndexManager, w as waitForVega } from './token-extension-f001f08e.js';
|
|
12
12
|
export { F as FeatureFlag } from './feature-flag-controller-3fd04ea9.js';
|
|
13
|
-
export { V as VegaThemeManager } from './split-cell-operation-
|
|
13
|
+
export { V as VegaThemeManager } from './split-cell-operation-814641f5.js';
|
|
14
14
|
export { V as VegaDialog } from './vega-dialog-controller-f2d3b6c9.js';
|
|
15
15
|
export { B as VegaJQueryDelegatedEventStrategy } from './internal-vega-event-manager-6eebe8f8.js';
|
|
16
16
|
export { V as VegaIconManager } from './icon-manager-236d6c23.js';
|
|
17
|
-
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
17
|
+
export { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-5dc557f1.js';
|
|
18
18
|
import './ui-80e610f4.js';
|
|
19
|
-
export { s as VegaTranslationResourceEN } from './internal-translation-controller-
|
|
19
|
+
export { s as VegaTranslationResourceEN } from './internal-translation-controller-6eb30c39.js';
|
|
20
20
|
export { s as setVegaNonce } from './vega-nonce-manager-497e5eb5.js';
|
|
21
21
|
export { C as VegaCountryNames } from './countries-50d3339b.js';
|
|
22
|
-
export { f as ActionHandleStrategy, g as AppendChildrenAction, ao as CodeLanguage, m as CustomAttributeAnnotation, ap as CustomClassAnnotation, u as CustomStyleAnnotation, I as InsertChildrenAfterAction, h as InsertChildrenBeforeAction, M as ModifyContentAction, j as ModifyContentActionType, e as RTEAnnotationStyle, b as RTEBlock, p as RTEDecoratorNode, o as RTEFilterStylesStrategy, Z as RTEListBlock, r as RTEListItemBlock, a as RTENode, c as RTETextBlock, R as RTETextNode, l as RemoveChildrenAction, aq as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-
|
|
23
|
-
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, b as RTEImageNode, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-
|
|
24
|
-
export { G as GridColumns, a as GridRows } from './responsive-format-facade-
|
|
22
|
+
export { f as ActionHandleStrategy, g as AppendChildrenAction, ao as CodeLanguage, m as CustomAttributeAnnotation, ap as CustomClassAnnotation, u as CustomStyleAnnotation, I as InsertChildrenAfterAction, h as InsertChildrenBeforeAction, M as ModifyContentAction, j as ModifyContentActionType, e as RTEAnnotationStyle, b as RTEBlock, p as RTEDecoratorNode, o as RTEFilterStylesStrategy, Z as RTEListBlock, r as RTEListItemBlock, a as RTENode, c as RTETextBlock, R as RTETextNode, l as RemoveChildrenAction, aq as VegaRTEDefaultTextStyleItems, V as VegaRTEPresetToolbarItems } from './code-block-c16c69a5.js';
|
|
23
|
+
export { B as BlockToRTEBlockStrategyAbstract, E as ElementToDTOStrategy, I as InsertNewParagraphAction, R as RTEImageBlock, b as RTEImageNode, U as UpdateCursorPositionAction, V as VegaRTEContent, h as htmlElementToAnnotationGenerator } from './content-state-73664d93.js';
|
|
24
|
+
export { G as GridColumns, a as GridRows } from './responsive-format-facade-1a9177b9.js';
|
|
25
25
|
export { C as CheckBoxRequiredRule } from './check-box-required-rule-cb0aa339.js';
|
|
26
|
-
export { D as DateRequiredRule } from './date-required-rule-
|
|
26
|
+
export { D as DateRequiredRule } from './date-required-rule-14131e09.js';
|
|
27
27
|
export { I as InputPhoneNumberRequiredRule } from './input-phone-number-required-rule-be6a5572.js';
|
|
28
28
|
export { I as InputRangeRequiredRule } from './input-range-required-rule-3ad74776.js';
|
|
29
29
|
export { R as RequiredFieldRule } from './required-field-rule-897fe8d1.js';
|
|
30
|
-
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-
|
|
31
|
-
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-
|
|
30
|
+
export { R as RichTextEditorRequiredRule } from './rich-text-editor-required-rule-65e18ef0.js';
|
|
31
|
+
export { T as TimeRangeRequiredRule, a as TimeRequiredRule } from './time-required-rule-fcab062e.js';
|
|
32
32
|
export { T as ToggleSwitchRequiredRule } from './toggle-switch-required-rule-b3cf4302.js';
|
|
33
33
|
export { F as FileUploaderRequiredRule } from './file-uploader-required-rule-96952e1a.js';
|
|
34
|
-
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-
|
|
35
|
-
export { A as ActionHandlerInterceptor, I as InsertNodeToNearestRootAction, V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension, b as VegaRTEToolbarButtonRenderer } from './image-extension-
|
|
36
|
-
export { R as RTERange } from './range-
|
|
37
|
-
import './state-border-formatter-
|
|
34
|
+
export { b as VegaRTEExtension, a as VegaRTEExtensionRenderer, V as VegaRTELinkExtension } from './link-extension-caabb7d8.js';
|
|
35
|
+
export { A as ActionHandlerInterceptor, I as InsertNodeToNearestRootAction, V as VegaRTEBookmarkExtension, a as VegaRTEImageExtension, b as VegaRTEToolbarButtonRenderer } from './image-extension-04843995.js';
|
|
36
|
+
export { R as RTERange } from './range-c0aec697.js';
|
|
37
|
+
import './state-border-formatter-31f3145a.js';
|
|
38
38
|
import './misc-9fdbcfbb.js';
|
|
39
39
|
import './discriminated-fe5bf3c8.js';
|
|
40
40
|
import './dynamic-slimmer-90b8af32.js';
|
|
@@ -42,7 +42,7 @@ import './internal-vega-z-index-manager-7d2b54c3.js';
|
|
|
42
42
|
import './number-4398f2e1.js';
|
|
43
43
|
import './page-resize-observer-slimmer-e24d36c5.js';
|
|
44
44
|
import './try-get-document-bef0f526.js';
|
|
45
|
-
import './internal-calendar-period-factory-
|
|
45
|
+
import './internal-calendar-period-factory-14c000cf.js';
|
|
46
46
|
import './internal-icon-manager-d4d534d2.js';
|
|
47
47
|
import './change-manager-6a7eb88c.js';
|
|
48
48
|
import './dom-node-subject-observer-factory-bb7e68a0.js';
|