@globalpayments/vega 2.96.0 → 2.97.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-38afea36.js → app-globals-3f57f7b9.js} +10 -10
- package/dist/cjs/{code-block-4126dc3b.js → code-block-28a7732e.js} +7 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-38ba956e.js → component-value-history-controller-slimmer.abstract-50cdba6e.js} +3 -3
- package/dist/cjs/{content-state-50e8a03c.js → content-state-e2ab0f06.js} +2 -2
- package/dist/cjs/{date-required-rule-4ab06a82.js → date-required-rule-5250f26d.js} +1 -1
- package/dist/cjs/{design-token-d3d12fa0.js → design-token-74674ee7.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-7773fdab.js → element-appender-slimmer-ccb2e3c2.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-d638ba12.js → form-field-controller-slimmer-58621b5e.js} +5 -14
- package/dist/cjs/form-field-key-8d5edf75.js +25 -0
- package/dist/cjs/{image-annotation-action-89363de8.js → image-annotation-action-b54dc669.js} +2 -2
- package/dist/cjs/{image-extension-c881c454.js → image-extension-1e3eeaa3.js} +2 -2
- package/dist/cjs/index.cjs.js +17 -17
- package/dist/cjs/{inject-keyboard-manager-5a105612.js → inject-keyboard-manager-6a6f5c9f.js} +1 -1
- package/dist/cjs/{internal-calendar-period-factory-b76006f7.js → internal-calendar-period-factory-dfcdd3f6.js} +1 -1
- package/dist/cjs/{internal-translation-controller-eb02c3b1.js → internal-translation-controller-1dac2df8.js} +7 -0
- package/dist/cjs/{keyboard-manager-ca76d4dc.js → keyboard-manager-c56033b1.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-a1223714.js → keyboard-manager-slimmer-7043a106.js} +1 -1
- package/dist/cjs/{link-extension-b7f99a52.js → link-extension-71c27ff3.js} +3 -3
- package/dist/cjs/loader.cjs.js +12 -12
- package/dist/cjs/{month-view-generator-876c50d4.js → month-view-generator-7b704a80.js} +1 -1
- package/dist/cjs/{public-rules-72894208.js → public-rules-55e34d2e.js} +7 -7
- package/dist/cjs/{range-95d41dea.js → range-eebe0e3c.js} +1 -1
- package/dist/cjs/{responsive-format-facade-25e9f30d.js → responsive-format-facade-493d1763.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-4d6d2493.js → rich-text-editor-required-rule-4fdee376.js} +1 -1
- package/dist/cjs/{split-cell-operation-70be116d.js → split-cell-operation-51097409.js} +3 -3
- package/dist/cjs/{state-border-formatter-f1ce0f3b.js → state-border-formatter-711c7aaa.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-b22f7754.js → string-format-strategy.abstract-b61bdcbd.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-d2c248f7.js → string-input-formatter-slimmer-18d45942.js} +1 -1
- package/dist/cjs/{string-mask-strategy-fc01a500.js → string-mask-strategy-ad3fa0ac.js} +2 -2
- package/dist/cjs/{style-formatter-73205450.js → style-formatter-8f711cb0.js} +2 -2
- package/dist/cjs/{time-required-rule-12d2f394.js → time-required-rule-87417359.js} +1 -1
- package/dist/cjs/{token-extension-eb828948.js → token-extension-608bbf7b.js} +8 -8
- package/dist/cjs/{translation-slimmer-9099f56c.js → translation-slimmer-77c7f37d.js} +1 -1
- package/dist/cjs/{type-guard-f354af8b.js → type-guard-a57ef3ac.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-8d370163.js → valid-credit-card-number-rule-4c0a3040.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +6 -6
- package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-backdrop.cjs.entry.js +63 -8
- 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 +20 -3
- 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 +11 -2
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +12 -3
- package/dist/cjs/vega-color-swatch.cjs.entry.js +2 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +17 -8
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +22 -13
- package/dist/cjs/vega-dialog_2.cjs.entry.js +3 -3
- 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 +12 -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 +28 -25
- 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 +14 -5
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +16 -7
- package/dist/cjs/vega-input-numeric.cjs.entry.js +14 -5
- package/dist/cjs/vega-input-passcode.cjs.entry.js +14 -5
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +13 -4
- package/dist/cjs/vega-input-range.cjs.entry.js +12 -3
- package/dist/cjs/vega-input-select.cjs.entry.js +14 -5
- package/dist/cjs/vega-input.cjs.entry.js +9 -7
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +71 -11
- 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-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 +17 -5
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +32 -9
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +1581 -428
- 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 +13 -4
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +11 -2
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +3 -3
- package/dist/cjs/vega-signature-capture.cjs.entry.js +16 -7
- package/dist/cjs/vega-stepper.cjs.entry.js +12 -3
- package/dist/cjs/vega-table_11.cjs.entry.js +4 -4
- package/dist/cjs/vega-textarea.cjs.entry.js +12 -3
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +18 -9
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +12 -3
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/vega.cjs.js +12 -12
- package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +63 -8
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +33 -1
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +34 -2
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +33 -1
- package/dist/collection/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.js +33 -1
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +33 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +33 -1
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +33 -1
- package/dist/collection/components/vega-form/slimmers/controllers/vega-form-field-controller.js +9 -9
- package/dist/collection/components/vega-form/slimmers/controllers/vega-form-field-validation-state-controller.js +5 -5
- package/dist/collection/components/vega-form/slimmers/renderers/native-form-renderer.js +4 -1
- package/dist/collection/components/vega-form/vega-form.js +32 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +33 -1
- package/dist/collection/components/vega-input/vega-input.js +5 -4
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +34 -2
- package/dist/collection/components/vega-input-numeric/vega-input-numeric.js +33 -1
- package/dist/collection/components/vega-input-passcode/vega-input-passcode.js +33 -1
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +33 -1
- package/dist/collection/components/vega-input-range/vega-input-range.js +33 -1
- package/dist/collection/components/vega-input-select/vega-input-select.js +33 -1
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-manager.js +17 -1
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +48 -5
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +18 -3
- package/dist/collection/components/vega-rich-text-editor/constants/constant.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/blocks/link-wrapper-renderer.js +26 -3
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/keyboard-link-handler.js +297 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/tools/link-toolbar-button-slimmer.js +8 -2
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +33 -1
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.js +398 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-state-manager.js +111 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.js +173 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/link-type-handler.js +49 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.js +114 -106
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/utils/link-url-normalizer.js +80 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.js +44 -1
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +33 -1
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +33 -1
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +33 -1
- package/dist/collection/components/vega-stepper/vega-stepper.js +34 -2
- package/dist/collection/components/vega-textarea/vega-textarea.js +34 -2
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +33 -1
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +34 -2
- package/dist/collection/helpers/slimmers/{field-error-controller-silmmer.js → form/field-error-controller-silmmer.js} +3 -3
- package/dist/collection/helpers/slimmers/{field-error-ui-controller-slimmer.js → form/field-error-ui-controller-slimmer.js} +9 -9
- package/dist/collection/helpers/slimmers/{form-field-controller-slimmer.js → form/form-field-controller-slimmer.js} +9 -18
- package/dist/collection/helpers/slimmers/{form-field-message-translator.js → form/form-field-message-translator.js} +1 -1
- package/dist/collection/helpers/slimmers/{form-field-state-controller-slimmer.js → form/form-field-state-controller-slimmer.js} +1 -1
- package/dist/collection/helpers/slimmers/{form-field-valid-invoke-slimmer.js → form/form-field-valid-invoke-slimmer.js} +2 -2
- package/dist/collection/helpers/slimmers/form/utils/form-field-key.js +20 -0
- package/dist/collection/helpers/translation/locales/en.js +7 -0
- package/dist/collection/helpers/validator/form-field-controller.js +5 -4
- package/dist/esm/{app-globals-d7b651c1.js → app-globals-d3991e53.js} +10 -10
- package/dist/esm/{code-block-0a88b481.js → code-block-8df86434.js} +5 -2
- package/dist/esm/{component-value-history-controller-slimmer.abstract-6846edfa.js → component-value-history-controller-slimmer.abstract-e4b95997.js} +3 -3
- package/dist/esm/{content-state-79ca99e5.js → content-state-c63fbeda.js} +2 -2
- package/dist/esm/{date-required-rule-b88e1650.js → date-required-rule-85334d0c.js} +1 -1
- package/dist/esm/{design-token-76bd217c.js → design-token-10ff79b5.js} +3 -3
- package/dist/esm/{element-appender-slimmer-73ad10ae.js → element-appender-slimmer-24be8e94.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-395c23e3.js → form-field-controller-slimmer-d8628837.js} +5 -14
- package/dist/esm/form-field-key-44ab39d0.js +22 -0
- package/dist/esm/{image-annotation-action-bb299ef1.js → image-annotation-action-fcceff95.js} +2 -2
- package/dist/esm/{image-extension-48a96f98.js → image-extension-3280bdb0.js} +2 -2
- package/dist/esm/index.js +17 -17
- package/dist/esm/{inject-keyboard-manager-86126b5b.js → inject-keyboard-manager-ea1aad5b.js} +1 -1
- package/dist/esm/{internal-calendar-period-factory-3a07dba0.js → internal-calendar-period-factory-7b294fb6.js} +1 -1
- package/dist/esm/{internal-translation-controller-16709132.js → internal-translation-controller-fac22598.js} +7 -0
- package/dist/esm/{keyboard-manager-a0c3e1cf.js → keyboard-manager-50da85d7.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-f3f66c15.js → keyboard-manager-slimmer-1f7c8bfb.js} +1 -1
- package/dist/esm/{link-extension-09534514.js → link-extension-f92c06ef.js} +3 -3
- package/dist/esm/loader.js +12 -12
- package/dist/esm/{month-view-generator-fd0e1856.js → month-view-generator-a1a9a4ec.js} +1 -1
- package/dist/esm/{public-rules-5eb03ef0.js → public-rules-3695aaf7.js} +7 -7
- package/dist/esm/{range-d4deb7df.js → range-717d552d.js} +1 -1
- package/dist/esm/{responsive-format-facade-ced96b0b.js → responsive-format-facade-f19b601c.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-5bbbce23.js → rich-text-editor-required-rule-2e39264a.js} +1 -1
- package/dist/esm/{split-cell-operation-7f3058ad.js → split-cell-operation-6c26af91.js} +3 -3
- package/dist/esm/{state-border-formatter-b680e922.js → state-border-formatter-bfda33aa.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-23faab71.js → string-format-strategy.abstract-1f4ff1b3.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-4b4866a6.js → string-input-formatter-slimmer-68b2af39.js} +1 -1
- package/dist/esm/{string-mask-strategy-66586cd8.js → string-mask-strategy-bbbcdbef.js} +2 -2
- package/dist/esm/{style-formatter-f4e16af5.js → style-formatter-e9adc8f4.js} +2 -2
- package/dist/esm/{time-required-rule-6e80a9ab.js → time-required-rule-1ce2d0a0.js} +1 -1
- package/dist/esm/{token-extension-40c32bcc.js → token-extension-5082a4d2.js} +8 -8
- package/dist/esm/{translation-slimmer-21748a0e.js → translation-slimmer-ee0f0e76.js} +1 -1
- package/dist/esm/{type-guard-ec5e8628.js → type-guard-f2624334.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-ca5a47d6.js → valid-credit-card-number-rule-60212b1d.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +6 -6
- package/dist/esm/vega-app-header-button.entry.js +5 -5
- package/dist/esm/vega-backdrop.entry.js +63 -8
- 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 +20 -3
- 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 +11 -2
- package/dist/esm/vega-color-swatch-picker.entry.js +12 -3
- package/dist/esm/vega-color-swatch.entry.js +2 -2
- package/dist/esm/vega-combo-box.entry.js +17 -8
- package/dist/esm/vega-date-picker_2.entry.js +22 -13
- package/dist/esm/vega-dialog_2.entry.js +3 -3
- 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 +12 -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 +28 -25
- 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 +14 -5
- package/dist/esm/vega-input-credit-card.entry.js +16 -7
- package/dist/esm/vega-input-numeric.entry.js +14 -5
- package/dist/esm/vega-input-passcode.entry.js +14 -5
- package/dist/esm/vega-input-phone-number.entry.js +13 -4
- package/dist/esm/vega-input-range.entry.js +12 -3
- package/dist/esm/vega-input-select.entry.js +14 -5
- package/dist/esm/vega-input.entry.js +9 -7
- package/dist/esm/vega-left-nav_5.entry.js +71 -11
- 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-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 +17 -5
- package/dist/esm/vega-rich-text-content.entry.js +32 -9
- package/dist/esm/vega-rich-text-editor_4.entry.js +1581 -428
- 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 +13 -4
- package/dist/esm/vega-selection-tile_2.entry.js +11 -2
- package/dist/esm/vega-sidenav_3.entry.js +3 -3
- package/dist/esm/vega-signature-capture.entry.js +16 -7
- package/dist/esm/vega-stepper.entry.js +12 -3
- package/dist/esm/vega-table_11.entry.js +4 -4
- package/dist/esm/vega-textarea.entry.js +12 -3
- package/dist/esm/vega-time-picker_2.entry.js +18 -9
- package/dist/esm/vega-toggle-switch.entry.js +12 -3
- package/dist/esm/vega-tooltip_2.entry.js +6 -6
- package/dist/esm/vega.js +12 -12
- package/dist/sri/vega-sri-manifest.json +314 -310
- package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +21 -0
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +9 -1
- package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +9 -1
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +9 -1
- package/dist/types/components/vega-color-swatch/vega-color-swatch-picker/vega-color-swatch-picker.d.ts +9 -1
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +9 -1
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +9 -1
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +9 -1
- package/dist/types/components/vega-form/slimmers/controllers/vega-form-field-controller.d.ts +3 -2
- package/dist/types/components/vega-form/slimmers/renderers/native-form-renderer.d.ts +1 -0
- package/dist/types/components/vega-form/vega-form.d.ts +8 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +9 -1
- package/dist/types/components/vega-input/vega-input.d.ts +3 -2
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +9 -1
- package/dist/types/components/vega-input-numeric/vega-input-numeric.d.ts +9 -1
- package/dist/types/components/vega-input-passcode/vega-input-passcode.d.ts +9 -1
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +9 -1
- package/dist/types/components/vega-input-range/vega-input-range.d.ts +9 -1
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +9 -1
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-manager.d.ts +7 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +17 -0
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +5 -1
- package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/link/type.d.ts +34 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/base-handler.d.ts +4 -4
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/keyboard-link-handler.d.ts +111 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/user-input-controller.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +9 -1
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-controller.d.ts +149 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-editor-state-manager.d.ts +84 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/controllers/link-type-config-controller.d.ts +82 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/link-type-handler.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/renderers/vega-rich-text-link-editor-renderer.d.ts +24 -17
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/slimmers/utils/link-url-normalizer.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/types.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-link-editor/vega-rich-text-link-editor.d.ts +12 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +9 -1
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +9 -1
- package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +9 -1
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +9 -1
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +9 -1
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +9 -1
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +9 -1
- package/dist/types/components.d.ts +287 -4
- package/dist/types/helpers/slimmers/{field-error-controller-silmmer.d.ts → form/field-error-controller-silmmer.d.ts} +1 -1
- package/dist/types/helpers/slimmers/{field-error-ui-controller-slimmer.d.ts → form/field-error-ui-controller-slimmer.d.ts} +2 -2
- package/dist/types/helpers/slimmers/{form-field-controller-slimmer.d.ts → form/form-field-controller-slimmer.d.ts} +6 -14
- package/dist/types/helpers/slimmers/{form-field-message-translator.d.ts → form/form-field-message-translator.d.ts} +2 -2
- package/dist/types/helpers/slimmers/{form-field-state-controller-slimmer.d.ts → form/form-field-state-controller-slimmer.d.ts} +2 -2
- package/dist/types/helpers/slimmers/{form-field-valid-invoke-slimmer.d.ts → form/form-field-valid-invoke-slimmer.d.ts} +3 -3
- package/dist/types/helpers/slimmers/form/utils/form-field-key.d.ts +17 -0
- package/dist/types/helpers/translation/interface.d.ts +7 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +3 -3
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-040ea356.entry.js +1 -0
- package/dist/vega/p-046203cb.entry.js +1 -0
- package/dist/vega/p-0499e65a.entry.js +1 -0
- package/dist/vega/p-0809c651.js +1 -0
- package/dist/vega/{p-3c23ec90.js → p-09524fec.js} +1 -1
- package/dist/vega/{p-74f86ff9.entry.js → p-0cf3b5c1.entry.js} +1 -1
- package/dist/vega/p-10d43a80.entry.js +1 -0
- package/dist/vega/{p-3d6f761a.entry.js → p-1132a74e.entry.js} +1 -1
- package/dist/vega/{p-ba662fe5.js → p-12e8a1b2.js} +1 -1
- package/dist/vega/{p-55e0014a.js → p-1d5e05d9.js} +1 -1
- package/dist/vega/{p-3dee1e55.js → p-1e0a8fd3.js} +1 -1
- package/dist/vega/{p-919cddc3.js → p-1ea9ad9a.js} +1 -1
- package/dist/vega/p-21626b93.entry.js +1 -0
- package/dist/vega/p-21f608e8.entry.js +1 -0
- package/dist/vega/p-2540fd1c.entry.js +1 -0
- package/dist/vega/{p-9f201152.entry.js → p-26760c66.entry.js} +1 -1
- package/dist/vega/{p-892edf88.entry.js → p-2acf9b42.entry.js} +1 -1
- package/dist/vega/p-2bb60f89.js +1 -0
- package/dist/vega/{p-b1eb9ff0.js → p-2c2e8615.js} +1 -1
- package/dist/vega/p-2d158cbd.js +1 -0
- package/dist/vega/p-2d7388c9.entry.js +1 -0
- package/dist/vega/{p-b3a2ce06.entry.js → p-2eb8e167.entry.js} +1 -1
- package/dist/vega/{p-6a51d720.js → p-2ff4ae1c.js} +1 -1
- package/dist/vega/p-3488a3f1.entry.js +1 -0
- package/dist/vega/p-363ee8a5.entry.js +1 -0
- package/dist/vega/p-36c89520.entry.js +1 -0
- package/dist/vega/{p-e1737c8e.entry.js → p-3980dfa8.entry.js} +1 -1
- package/dist/vega/{p-14baa886.js → p-39c5054b.js} +1 -1
- package/dist/vega/p-3af5e87b.entry.js +1 -0
- package/dist/vega/{p-8db904dc.js → p-456f678b.js} +1 -1
- package/dist/vega/{p-6c9c2f8c.entry.js → p-461100b8.entry.js} +1 -1
- package/dist/vega/p-4c3a08be.entry.js +1 -0
- package/dist/vega/p-53fd3c41.entry.js +1 -0
- package/dist/vega/{p-6fcec7c7.entry.js → p-56417ec5.entry.js} +1 -1
- package/dist/vega/{p-9f11b579.js → p-5e37b041.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-a0a58295.entry.js → p-5f96e741.entry.js} +1 -1
- package/dist/vega/p-6b76b572.entry.js +1 -0
- package/dist/vega/{p-75e33859.js → p-6c95a6a3.js} +1 -1
- package/dist/vega/p-703ac992.entry.js +1 -0
- package/dist/vega/p-71909102.js +1 -0
- package/dist/vega/{p-e1b57e8f.entry.js → p-72ab5cd5.entry.js} +1 -1
- package/dist/vega/{p-8720816e.js → p-781b7a54.js} +1 -1
- package/dist/vega/{p-7950f3e2.entry.js → p-81d4dfcb.entry.js} +1 -1
- package/dist/vega/p-8611465f.entry.js +1 -0
- package/dist/vega/{p-0d18368b.js → p-874e5624.js} +1 -1
- package/dist/vega/{p-c4564904.js → p-8e7932bc.js} +1 -1
- package/dist/vega/p-8ed3b2b6.entry.js +1 -0
- package/dist/vega/{p-1dfbc542.entry.js → p-8ff92914.entry.js} +1 -1
- package/dist/vega/{p-9bdc6e11.entry.js → p-92528dc9.entry.js} +1 -1
- package/dist/vega/p-9664e914.entry.js +1 -0
- package/dist/vega/p-98fc5821.entry.js +1 -0
- package/dist/vega/{p-6c7b6d45.js → p-9be02fa5.js} +1 -1
- package/dist/vega/p-9c4c474e.entry.js +1 -0
- package/dist/vega/{p-8354cff0.entry.js → p-a034dfc0.entry.js} +1 -1
- package/dist/vega/{p-e48a870f.entry.js → p-a484e32d.entry.js} +1 -1
- package/dist/vega/{p-b9e72de2.entry.js → p-a8174ad8.entry.js} +1 -1
- package/dist/vega/{p-49e1cf4d.entry.js → p-a91927eb.entry.js} +1 -1
- package/dist/vega/{p-2df5d59b.entry.js → p-abbceebf.entry.js} +1 -1
- package/dist/vega/{p-e4266b45.entry.js → p-ac94ba1b.entry.js} +1 -1
- package/dist/vega/{p-b775e51f.js → p-ae2abdfa.js} +1 -1
- package/dist/vega/{p-bb60e381.entry.js → p-aeb50cad.entry.js} +1 -1
- package/dist/vega/{p-a890d60b.entry.js → p-b00ec194.entry.js} +1 -1
- package/dist/vega/{p-f78944d7.entry.js → p-b3733762.entry.js} +1 -1
- package/dist/vega/p-b594a11c.entry.js +1 -0
- package/dist/vega/{p-b4e7c967.js → p-b622c455.js} +1 -1
- package/dist/vega/{p-1232b553.entry.js → p-b98ead05.entry.js} +1 -1
- package/dist/vega/{p-e5ff77f7.entry.js → p-c2277448.entry.js} +1 -1
- package/dist/vega/{p-ec5dee32.js → p-c29934ef.js} +1 -1
- package/dist/vega/p-c3646101.entry.js +1 -0
- package/dist/vega/p-ca270da3.entry.js +1 -0
- package/dist/vega/{p-b4c26035.entry.js → p-ccbe3f1b.entry.js} +1 -1
- package/dist/vega/{p-6cde45fc.js → p-cd69aeae.js} +1 -1
- package/dist/vega/{p-84b7a775.js → p-d25c1a48.js} +1 -1
- package/dist/vega/{p-5924adae.entry.js → p-d2cbcf5e.entry.js} +1 -1
- package/dist/vega/{p-96da7d30.entry.js → p-d3413a78.entry.js} +1 -1
- package/dist/vega/{p-f1974321.js → p-d609c3fd.js} +1 -1
- package/dist/vega/{p-3345d903.js → p-dad7d2ac.js} +1 -1
- package/dist/vega/{p-61ce8029.js → p-dbb4b1d1.js} +1 -1
- package/dist/vega/p-dcd3e3a7.js +1 -0
- package/dist/vega/p-de8f0d98.js +1 -0
- package/dist/vega/{p-22cc174e.entry.js → p-deaf037a.entry.js} +1 -1
- package/dist/vega/p-e1029acc.js +1 -0
- package/dist/vega/p-e18c0656.entry.js +1 -0
- package/dist/vega/p-e3fdb65c.entry.js +1 -0
- package/dist/vega/p-e7e963ba.entry.js +1 -0
- package/dist/vega/{p-312d8205.js → p-e9b005df.js} +1 -1
- package/dist/vega/{p-9d3f69cb.js → p-e9d09211.js} +1 -1
- package/dist/vega/{p-3c309a38.js → p-f1078e63.js} +1 -1
- package/dist/vega/{p-595998d9.entry.js → p-f29ea345.entry.js} +1 -1
- package/dist/vega/p-f5095035.entry.js +1 -0
- package/dist/vega/{p-f29d9707.entry.js → p-f95d8d10.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-0512308f.entry.js +0 -1
- package/dist/vega/p-1d8312d3.entry.js +0 -1
- package/dist/vega/p-2d77ae73.entry.js +0 -1
- package/dist/vega/p-2d8d4d5b.entry.js +0 -1
- package/dist/vega/p-320091b7.js +0 -1
- package/dist/vega/p-36949349.js +0 -1
- package/dist/vega/p-4151f53a.entry.js +0 -1
- package/dist/vega/p-4ff48b84.js +0 -1
- package/dist/vega/p-5e4517eb.entry.js +0 -1
- package/dist/vega/p-6680ba17.entry.js +0 -1
- package/dist/vega/p-80b7945a.entry.js +0 -1
- package/dist/vega/p-841b3281.entry.js +0 -1
- package/dist/vega/p-87e5cb56.entry.js +0 -1
- package/dist/vega/p-91303402.entry.js +0 -1
- package/dist/vega/p-97215133.js +0 -1
- package/dist/vega/p-9d96d83f.entry.js +0 -1
- package/dist/vega/p-a05a2f1e.entry.js +0 -1
- package/dist/vega/p-a775825e.entry.js +0 -1
- package/dist/vega/p-acaff62d.entry.js +0 -1
- package/dist/vega/p-ae146458.entry.js +0 -1
- package/dist/vega/p-b63319e9.entry.js +0 -1
- package/dist/vega/p-b660f38c.entry.js +0 -1
- package/dist/vega/p-b8c13ac9.entry.js +0 -1
- package/dist/vega/p-b8ffa42f.entry.js +0 -1
- package/dist/vega/p-bbad318e.entry.js +0 -1
- package/dist/vega/p-c0e42c03.entry.js +0 -1
- package/dist/vega/p-c41f5684.entry.js +0 -1
- package/dist/vega/p-c54b5a8f.entry.js +0 -1
- package/dist/vega/p-cd1e976c.entry.js +0 -1
- package/dist/vega/p-d9158512.js +0 -1
- package/dist/vega/p-e62d41ee.js +0 -1
- package/dist/vega/p-ebe32b25.entry.js +0 -1
- package/dist/vega/p-ec162599.entry.js +0 -1
- package/dist/vega/p-fc7e4c8a.entry.js +0 -1
|
@@ -10,7 +10,7 @@ import { MinNumberRule } from '../../helpers/validator/rules/min-number-rule';
|
|
|
10
10
|
import { sanitizeVegaComponent } from '../../utils/component';
|
|
11
11
|
import { convertToNumber, normalizeNumberByRanger } from '../../utils/number';
|
|
12
12
|
import { InjectVegaGlobalSlimmer, InjectVegaSlimmer } from 'vega-slimmer/core';
|
|
13
|
-
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form-field-controller-slimmer';
|
|
13
|
+
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form/form-field-controller-slimmer';
|
|
14
14
|
import { ChildNodesEventPreventSlimmer } from '../../helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer';
|
|
15
15
|
import { DomNodeSubjectObserverFactory } from '../../helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory';
|
|
16
16
|
import { VegaBlur, VegaChange, VegaClick } from '../../helpers/event-manager/event-id/vega-event-id';
|
|
@@ -101,6 +101,14 @@ export class VegaStepper {
|
|
|
101
101
|
* @vegaVersion 1.18.0
|
|
102
102
|
*/
|
|
103
103
|
this.autoValidation = true;
|
|
104
|
+
/**
|
|
105
|
+
* Specifies the name attribute used to identify the form field during data submission.
|
|
106
|
+
* It functions identically to the `data-vega-form` attribute but operates at a lower priority.
|
|
107
|
+
*
|
|
108
|
+
* @default ''
|
|
109
|
+
* @vegaVersion 2.97.0
|
|
110
|
+
*/
|
|
111
|
+
this.name = '';
|
|
104
112
|
/**
|
|
105
113
|
* Specifies the style variant for the stepper buttons.
|
|
106
114
|
*
|
|
@@ -184,7 +192,7 @@ export class VegaStepper {
|
|
|
184
192
|
h("vega-button-circle", { label: "Decrease", showTooltip: false, icon: "minus-sign", ref: (ref) => {
|
|
185
193
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, VegaClick, () => this.onDecrease());
|
|
186
194
|
}, disabled: this.value <= this.min || this.disabled, size: "small", variant: this.buttonVariant == 'secondary' ? 'secondary' : 'primary' }),
|
|
187
|
-
h("vega-input", { size: "small", type: "number", max: this.max, min: this.min, value: `${this.value}`, disabled: this.inputDisabled || this.disabled, showClearIcon: false, ref: (el) => {
|
|
195
|
+
h("vega-input", { size: "small", type: "number", max: this.max, min: this.min, value: `${this.value}`, disabled: this.inputDisabled || this.disabled, name: this.name, showClearIcon: false, ref: (el) => {
|
|
188
196
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, VegaBlur, (input) => this.handleInputBlur(input));
|
|
189
197
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(el, VegaChange, (input) => this.onChildInputChange(input));
|
|
190
198
|
return (this.inputRef = el);
|
|
@@ -394,6 +402,30 @@ export class VegaStepper {
|
|
|
394
402
|
"reflect": true,
|
|
395
403
|
"defaultValue": "true"
|
|
396
404
|
},
|
|
405
|
+
"name": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"mutable": false,
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "string",
|
|
410
|
+
"resolved": "string",
|
|
411
|
+
"references": {}
|
|
412
|
+
},
|
|
413
|
+
"required": false,
|
|
414
|
+
"optional": false,
|
|
415
|
+
"docs": {
|
|
416
|
+
"tags": [{
|
|
417
|
+
"name": "default",
|
|
418
|
+
"text": "''"
|
|
419
|
+
}, {
|
|
420
|
+
"name": "vegaVersion",
|
|
421
|
+
"text": "2.97.0"
|
|
422
|
+
}],
|
|
423
|
+
"text": "Specifies the name attribute used to identify the form field during data submission.\n It functions identically to the `data-vega-form` attribute but operates at a lower priority."
|
|
424
|
+
},
|
|
425
|
+
"attribute": "name",
|
|
426
|
+
"reflect": true,
|
|
427
|
+
"defaultValue": "''"
|
|
428
|
+
},
|
|
397
429
|
"buttonVariant": {
|
|
398
430
|
"type": "string",
|
|
399
431
|
"mutable": false,
|
|
@@ -10,7 +10,7 @@ import { MinStringLengthRule } from '../../helpers/validator/rules/min-string-le
|
|
|
10
10
|
import { RequiredFieldRule } from '../../helpers/validator/rules/required-field-rule';
|
|
11
11
|
import { sanitizeVegaComponent } from '../../utils/component';
|
|
12
12
|
import { InjectVegaGlobalSlimmer, InjectVegaSlimmer, methodPlaceholder, } from 'vega-slimmer/core';
|
|
13
|
-
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form-field-controller-slimmer';
|
|
13
|
+
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form/form-field-controller-slimmer';
|
|
14
14
|
import { FORM_ELEMENT_VALUE_CHANGE } from '../../helpers/change-manager/subject/static-subject/static-subject-title';
|
|
15
15
|
import ChangeManager from '../../helpers/change-manager/change-manager';
|
|
16
16
|
import { createEventEmitSlimmer, } from '../../helpers/event-manager/slimmers/event-emit-slimmer';
|
|
@@ -210,6 +210,14 @@ export class VegaTextarea {
|
|
|
210
210
|
* @vegaVersion 2.88.0
|
|
211
211
|
*/
|
|
212
212
|
this.optional = false;
|
|
213
|
+
/**
|
|
214
|
+
* Specifies the name attribute used to identify the form field during data submission.
|
|
215
|
+
* It functions identically to the `data-vega-form` attribute but operates at a lower priority.
|
|
216
|
+
*
|
|
217
|
+
* @default ''
|
|
218
|
+
* @vegaVersion 2.97.0
|
|
219
|
+
*/
|
|
220
|
+
this.name = '';
|
|
213
221
|
/**
|
|
214
222
|
* Determines whether the user can vertically resize the text area by
|
|
215
223
|
* dragging its bottom-right corner. When `false`, the resize handle is
|
|
@@ -243,7 +251,7 @@ export class VegaTextarea {
|
|
|
243
251
|
this.validationRules = [];
|
|
244
252
|
this.renderTextareaContainer = () => {
|
|
245
253
|
return (h("div", { class: { 'vega-textarea-container': true, 'vega-textarea-not-resizable': !this.resizable }, ref: (e) => (this.inputContainerRef = e) },
|
|
246
|
-
h("textarea", { rows: this.rows >= 2 ? this.rows - 1 : 4, placeholder: this.placeholder, disabled: this.disabled, required: this.required, ref: this.setTextareaRef, maxLength: this.maxLength, minLength: this.minLength, value: this.value, onBlur: this.handleTextareaBlur, "aria-label": this.label || 'No label defined' }),
|
|
254
|
+
h("textarea", { rows: this.rows >= 2 ? this.rows - 1 : 4, placeholder: this.placeholder, disabled: this.disabled, required: this.required, name: this.name, ref: this.setTextareaRef, maxLength: this.maxLength, minLength: this.minLength, value: this.value, onBlur: this.handleTextareaBlur, "aria-label": this.label || 'No label defined' }),
|
|
247
255
|
this.showCounter && this.renderCharacterCounter()));
|
|
248
256
|
};
|
|
249
257
|
this.renderHintMessage = () => {
|
|
@@ -652,6 +660,30 @@ export class VegaTextarea {
|
|
|
652
660
|
"reflect": true,
|
|
653
661
|
"defaultValue": "false"
|
|
654
662
|
},
|
|
663
|
+
"name": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"mutable": false,
|
|
666
|
+
"complexType": {
|
|
667
|
+
"original": "string",
|
|
668
|
+
"resolved": "string",
|
|
669
|
+
"references": {}
|
|
670
|
+
},
|
|
671
|
+
"required": false,
|
|
672
|
+
"optional": false,
|
|
673
|
+
"docs": {
|
|
674
|
+
"tags": [{
|
|
675
|
+
"name": "default",
|
|
676
|
+
"text": "''"
|
|
677
|
+
}, {
|
|
678
|
+
"name": "vegaVersion",
|
|
679
|
+
"text": "2.97.0"
|
|
680
|
+
}],
|
|
681
|
+
"text": "Specifies the name attribute used to identify the form field during data submission.\n It functions identically to the `data-vega-form` attribute but operates at a lower priority."
|
|
682
|
+
},
|
|
683
|
+
"attribute": "name",
|
|
684
|
+
"reflect": true,
|
|
685
|
+
"defaultValue": "''"
|
|
686
|
+
},
|
|
655
687
|
"resizable": {
|
|
656
688
|
"type": "boolean",
|
|
657
689
|
"mutable": false,
|
|
@@ -9,7 +9,7 @@ import { ComponentLoadRequired } from '../../decorators/method-decorators/compon
|
|
|
9
9
|
import { TimeRequiredRule } from '../../helpers/validator/rules/time-required-rule';
|
|
10
10
|
import { sanitizeVegaComponent } from '../../utils/component';
|
|
11
11
|
import { InjectVegaGlobalSlimmer, InjectVegaSlimmer, methodPlaceholder, } from 'vega-slimmer/core';
|
|
12
|
-
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form-field-controller-slimmer';
|
|
12
|
+
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form/form-field-controller-slimmer';
|
|
13
13
|
import { VegaTimePickerLabelRenderer } from './slimmers/renderers/vega-time-picker-label-renderer';
|
|
14
14
|
import { VegaTimePickerSingleInputRenderer } from './slimmers/renderers/vega-time-picker-single-input-renderer';
|
|
15
15
|
import { VegaTimePickerSingleDropdownRenderer } from './slimmers/renderers/vega-time-picker-single-dropdown-renderer';
|
|
@@ -125,6 +125,14 @@ export class VegaTimePicker {
|
|
|
125
125
|
* @vegaVersion 2.89.0
|
|
126
126
|
*/
|
|
127
127
|
this.optional = false;
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the name attribute used to identify the form field during data submission.
|
|
130
|
+
* It functions identically to the `data-vega-form` attribute but operates at a lower priority.
|
|
131
|
+
*
|
|
132
|
+
* @default ''
|
|
133
|
+
* @vegaVersion 2.97.0
|
|
134
|
+
*/
|
|
135
|
+
this.name = '';
|
|
128
136
|
/**
|
|
129
137
|
* Determines the interval between each selectable minute value
|
|
130
138
|
* in the time picker.
|
|
@@ -388,6 +396,30 @@ export class VegaTimePicker {
|
|
|
388
396
|
"reflect": true,
|
|
389
397
|
"defaultValue": "false"
|
|
390
398
|
},
|
|
399
|
+
"name": {
|
|
400
|
+
"type": "string",
|
|
401
|
+
"mutable": false,
|
|
402
|
+
"complexType": {
|
|
403
|
+
"original": "string",
|
|
404
|
+
"resolved": "string",
|
|
405
|
+
"references": {}
|
|
406
|
+
},
|
|
407
|
+
"required": false,
|
|
408
|
+
"optional": false,
|
|
409
|
+
"docs": {
|
|
410
|
+
"tags": [{
|
|
411
|
+
"name": "default",
|
|
412
|
+
"text": "''"
|
|
413
|
+
}, {
|
|
414
|
+
"name": "vegaVersion",
|
|
415
|
+
"text": "2.97.0"
|
|
416
|
+
}],
|
|
417
|
+
"text": "Specifies the name attribute used to identify the form field during data submission.\n It functions identically to the `data-vega-form` attribute but operates at a lower priority."
|
|
418
|
+
},
|
|
419
|
+
"attribute": "name",
|
|
420
|
+
"reflect": true,
|
|
421
|
+
"defaultValue": "''"
|
|
422
|
+
},
|
|
391
423
|
"placeholder": {
|
|
392
424
|
"type": "string",
|
|
393
425
|
"mutable": false,
|
|
@@ -11,7 +11,7 @@ import { createEnterKeyHandlerToTriggerClick } from '../../utils/accessibility';
|
|
|
11
11
|
import { sanitizeVegaComponent } from '../../utils/component';
|
|
12
12
|
import { InjectVegaGlobalSlimmer, InjectVegaSlimmer, methodPlaceholder, } from 'vega-slimmer/core';
|
|
13
13
|
import { VegaComponentUsageRuntimeMetricsSlimmer } from '../../helpers/slimmers/component-usage-runtime-metrics';
|
|
14
|
-
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form-field-controller-slimmer';
|
|
14
|
+
import { FormFieldControllerSlimmer } from '../../helpers/slimmers/form/form-field-controller-slimmer';
|
|
15
15
|
import { ToggleSwitchRequiredRule } from '../../helpers/validator/rules/toggle-switch-required-rule';
|
|
16
16
|
import { FORM_ELEMENT_VALUE_CHANGE } from '../../helpers/change-manager/subject/static-subject/static-subject-title';
|
|
17
17
|
import ChangeManager from '../../helpers/change-manager/change-manager';
|
|
@@ -73,6 +73,14 @@ export class VegaToggleSwitch {
|
|
|
73
73
|
* @vegaVersion 2.89.0
|
|
74
74
|
*/
|
|
75
75
|
this.optional = false;
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the name attribute used to identify the form field during data submission.
|
|
78
|
+
* It functions identically to the `data-vega-form` attribute but operates at a lower priority.
|
|
79
|
+
*
|
|
80
|
+
* @default ''
|
|
81
|
+
* @vegaVersion 2.97.0
|
|
82
|
+
*/
|
|
83
|
+
this.name = '';
|
|
76
84
|
/**
|
|
77
85
|
* Specifies whether the toggle switch is disabled.
|
|
78
86
|
*
|
|
@@ -152,7 +160,7 @@ export class VegaToggleSwitch {
|
|
|
152
160
|
return sanitizeVegaComponent(h(Host, null,
|
|
153
161
|
h("vega-flex", { gap: "size-8", ref: (node) => (this.toggleSwitchContainer = node) },
|
|
154
162
|
h("div", { class: `${divContainerCss} vega-flex-shrink-0 v-min-w-min` },
|
|
155
|
-
h("input", { type: "checkbox", name:
|
|
163
|
+
h("input", { type: "checkbox", name: this.name, disabled: this.disabled, checked: this.checked, onChange: this.updateValue, "aria-label": this.label || 'No label defined', role: 'button', tabIndex: 0, onKeyDown: createEnterKeyHandlerToTriggerClick() }),
|
|
156
164
|
h("span", { class: this.disabled ? 'v-bg-tertiary' : 'v-bg-primary' })),
|
|
157
165
|
this.renderLabelDom())), this.host);
|
|
158
166
|
}
|
|
@@ -297,6 +305,30 @@ export class VegaToggleSwitch {
|
|
|
297
305
|
"reflect": true,
|
|
298
306
|
"defaultValue": "false"
|
|
299
307
|
},
|
|
308
|
+
"name": {
|
|
309
|
+
"type": "string",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "string",
|
|
313
|
+
"resolved": "string",
|
|
314
|
+
"references": {}
|
|
315
|
+
},
|
|
316
|
+
"required": false,
|
|
317
|
+
"optional": false,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [{
|
|
320
|
+
"name": "default",
|
|
321
|
+
"text": "''"
|
|
322
|
+
}, {
|
|
323
|
+
"name": "vegaVersion",
|
|
324
|
+
"text": "2.97.0"
|
|
325
|
+
}],
|
|
326
|
+
"text": "Specifies the name attribute used to identify the form field during data submission.\n It functions identically to the `data-vega-form` attribute but operates at a lower priority."
|
|
327
|
+
},
|
|
328
|
+
"attribute": "name",
|
|
329
|
+
"reflect": true,
|
|
330
|
+
"defaultValue": "''"
|
|
331
|
+
},
|
|
300
332
|
"disabled": {
|
|
301
333
|
"type": "boolean",
|
|
302
334
|
"mutable": false,
|
|
@@ -5,9 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { MapToComponentField as MapToSlimmerField, MapToComponentMethod as MapToSlimmerMethod, VegaSlimmer, InjectVegaSlimmer, } from 'vega-slimmer/core';
|
|
8
|
-
import { Observer } from '
|
|
9
|
-
import changeManager from '
|
|
10
|
-
import { FIELD_ERROR_MESSAGE_CHANGE } from '
|
|
8
|
+
import { Observer } from '../../change-manager/observer/observer';
|
|
9
|
+
import changeManager from '../../change-manager/change-manager';
|
|
10
|
+
import { FIELD_ERROR_MESSAGE_CHANGE } from '../../change-manager/subject/static-subject/static-subject-title';
|
|
11
11
|
import { FieldErrorUIControllerSlimmer } from './field-error-ui-controller-slimmer';
|
|
12
12
|
/**
|
|
13
13
|
* The current class is used to manually control the form element error message.
|
|
@@ -5,16 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { InjectVegaSlimmer, MapToComponentField as MapToClassField, VegaSlimmer } from 'vega-slimmer/core';
|
|
8
|
-
import ChangeManager from '
|
|
9
|
-
import DomNodeSubjectFactory from '
|
|
10
|
-
import { VegaInternalFieldErrorStateChange } from '
|
|
11
|
-
import { SiblingContainerNestedErrorContainerRetrievalStrategy } from '
|
|
12
|
-
import { SiblingContainerSelfRetrievalStrategy } from '
|
|
13
|
-
import { SiblingContainerErrorLabelContainerRetrievalStrategy } from '
|
|
14
|
-
import { Observer } from '
|
|
15
|
-
import { UPDATE_TRANSLATION } from '
|
|
8
|
+
import ChangeManager from '../../change-manager/change-manager';
|
|
9
|
+
import DomNodeSubjectFactory from '../../change-manager/subject/dom-node-subject/dom-node-subject-factory';
|
|
10
|
+
import { VegaInternalFieldErrorStateChange } from '../../event-manager/event-id/vega-internal-event-id';
|
|
11
|
+
import { SiblingContainerNestedErrorContainerRetrievalStrategy } from '../field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy';
|
|
12
|
+
import { SiblingContainerSelfRetrievalStrategy } from '../field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy';
|
|
13
|
+
import { SiblingContainerErrorLabelContainerRetrievalStrategy } from '../field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy';
|
|
14
|
+
import { Observer } from '../../change-manager/observer/observer';
|
|
15
|
+
import { UPDATE_TRANSLATION } from '../../change-manager/subject/static-subject/static-subject-title';
|
|
16
16
|
import { FormFieldMessageTranslatorSlimmer } from './form-field-message-translator';
|
|
17
|
-
import { htmlSanitizer, labelSanitizeStrategy } from '
|
|
17
|
+
import { htmlSanitizer, labelSanitizeStrategy } from '../../../utils/sanitize';
|
|
18
18
|
/** The `FieldErrorUIControllerSlimmer` class is responsible for displaying error messages and managing the invalid UI state of a form field. */
|
|
19
19
|
export class FieldErrorUIControllerSlimmer extends VegaSlimmer {
|
|
20
20
|
constructor() {
|
|
@@ -5,16 +5,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { MapToComponentField, MapToComponentMethod, InjectVegaSlimmer, VegaSlimmer, methodPlaceholder, } from 'vega-slimmer/core';
|
|
8
|
-
import { camelToDashCase } from '
|
|
9
|
-
import { FormFieldController, } from '
|
|
8
|
+
import { camelToDashCase } from '../../../utils/string';
|
|
9
|
+
import { FormFieldController, } from '../../validator/form-field-controller';
|
|
10
10
|
import { FieldErrorControllerSlimmer } from './field-error-controller-silmmer';
|
|
11
|
-
import changeManager from '
|
|
12
|
-
import { FORM_ELEMENT_VALIDATE } from '
|
|
11
|
+
import changeManager from '../../change-manager/change-manager';
|
|
12
|
+
import { FORM_ELEMENT_VALIDATE } from '../../change-manager/subject/static-subject/static-subject-title';
|
|
13
13
|
import { FormFieldValidInvokeSlimmer } from './form-field-valid-invoke-slimmer';
|
|
14
|
-
import { MutationObserverSlimmer } from '
|
|
15
|
-
import { AttributeOldValueMutationFilter } from '
|
|
16
|
-
import { isArrayEqual } from '
|
|
14
|
+
import { MutationObserverSlimmer } from './../mutation-observer/mutation-observer-slimmer';
|
|
15
|
+
import { AttributeOldValueMutationFilter } from './../mutation-observer/mutation-observer-filters';
|
|
16
|
+
import { isArrayEqual } from '../../../utils/array';
|
|
17
17
|
import { FormFieldStateControllerSlimmer } from './form-field-state-controller-slimmer';
|
|
18
|
+
import { isValidFormField } from './utils/form-field-key';
|
|
18
19
|
/**
|
|
19
20
|
* The `FormFieldControllerSlimmer` class is a TypeScript class that extends `VegaSlimmer` and provides functionality for managing form field components.
|
|
20
21
|
* TODO:
|
|
@@ -66,16 +67,6 @@ export class FormFieldControllerSlimmer extends VegaSlimmer {
|
|
|
66
67
|
componentDidLoad() {
|
|
67
68
|
methodPlaceholder();
|
|
68
69
|
}
|
|
69
|
-
/**
|
|
70
|
-
* "If the element exists and has a data-vega-form attribute, return true, otherwise return false."
|
|
71
|
-
* The function isValidFormField() is used to determine if an element is a form field
|
|
72
|
-
*
|
|
73
|
-
* @param {HTMLElement} element - The element to check.
|
|
74
|
-
* @returns {boolean} A function that takes an element and returns a boolean.
|
|
75
|
-
*/
|
|
76
|
-
static isValidFormField(element) {
|
|
77
|
-
return element && Boolean(element.getAttribute('data-vega-form'));
|
|
78
|
-
}
|
|
79
70
|
/**
|
|
80
71
|
* watch the prop validationRules and call the valid method
|
|
81
72
|
* some components has not a prop validationRules
|
|
@@ -95,7 +86,7 @@ export class FormFieldControllerSlimmer extends VegaSlimmer {
|
|
|
95
86
|
* inject form file help when componentWillLoad method call
|
|
96
87
|
*/
|
|
97
88
|
setInjectFormFieldHelper() {
|
|
98
|
-
if (
|
|
89
|
+
if (isValidFormField(this.host)) {
|
|
99
90
|
const { defaultValue } = this.options;
|
|
100
91
|
const validator = new FormFieldController(this.getPropertyRules(), this.host, defaultValue, this.options);
|
|
101
92
|
validator.addListener({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VegaSlimmer } from 'vega-slimmer/core';
|
|
2
|
-
import { VegaInternalTranslation } from '
|
|
2
|
+
import { VegaInternalTranslation } from '../../translation/internal-translation-controller';
|
|
3
3
|
/** The `FormFieldMessageTranslatorSlimmer` class is to get translated message */
|
|
4
4
|
export class FormFieldMessageTranslatorSlimmer extends VegaSlimmer {
|
|
5
5
|
/**
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { MapToComponentField, MapToComponentMethod } from 'vega-slimmer/core';
|
|
8
|
-
import { SubStateObserverSlimmer } from '../
|
|
8
|
+
import { SubStateObserverSlimmer } from '../sub-state/sub-state-observer-slimmer';
|
|
9
9
|
/**
|
|
10
10
|
* Controller for the form field states
|
|
11
11
|
*/
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { MapToComponentField as MapToSlimmerField, MapToComponentMethod as MapToSlimmerMethod, VegaSlimmer, } from 'vega-slimmer/core';
|
|
8
|
-
import { VegaInternalValid } from '
|
|
9
|
-
import { DomNodeSubjectObserverFactory } from '
|
|
8
|
+
import { VegaInternalValid } from '../../event-manager/event-id/vega-internal-event-id';
|
|
9
|
+
import { DomNodeSubjectObserverFactory } from '../../change-manager/subject/dom-node-subject/dom-node-subject-observer-factory';
|
|
10
10
|
/** The FormFieldValidInvokeSlimmer class extends VegaSlimmer and handles validation calls for form elements. */
|
|
11
11
|
export class FormFieldValidInvokeSlimmer extends VegaSlimmer {
|
|
12
12
|
constructor() {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Get the form field key from an element.
|
|
3
|
+
* Returns the value of data-vega-form if present, otherwise returns the value of the name attribute.
|
|
4
|
+
*
|
|
5
|
+
* @param {HTMLElement} element - The form field element.
|
|
6
|
+
* @returns {Nullable<string>} The form field key, or null if neither attribute is present.
|
|
7
|
+
*/
|
|
8
|
+
export function getFormFieldKey(element) {
|
|
9
|
+
return element.dataset['vegaForm'] || element.getAttribute('name') || element['name'] || null;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Check if an element has a valid form field key.
|
|
13
|
+
* Returns true if the element has either data-vega-form or name attribute.
|
|
14
|
+
*
|
|
15
|
+
* @param {HTMLElement} element - The form field element.
|
|
16
|
+
* @returns {boolean} True if the element has a form field key, false otherwise.
|
|
17
|
+
*/
|
|
18
|
+
export function isValidFormField(element) {
|
|
19
|
+
return element && Boolean(getFormFieldKey(element));
|
|
20
|
+
}
|
|
@@ -131,8 +131,15 @@ export const staticTranslations = {
|
|
|
131
131
|
'Whole words': 'Whole words',
|
|
132
132
|
'Match case': 'Match case',
|
|
133
133
|
'Advanced options': 'Advanced options',
|
|
134
|
+
'Link Type': 'Link Type',
|
|
134
135
|
'URL': 'URL',
|
|
136
|
+
'Email': 'Email',
|
|
137
|
+
'E-Mail Address': 'E-Mail Address',
|
|
138
|
+
'Message Subject': 'Message Subject',
|
|
139
|
+
'Message Body': 'Message Body',
|
|
135
140
|
'Text': 'Text',
|
|
141
|
+
'Cancel': 'Cancel',
|
|
142
|
+
'Submit': 'Submit',
|
|
136
143
|
'Edit': 'Edit',
|
|
137
144
|
'Unlink': 'Unlink',
|
|
138
145
|
'Size': 'Size',
|
|
@@ -10,12 +10,13 @@ import { FORM_ELEMENT_VALUE_CHANGE, FORM_FIELD_ELEMENT_DISCONNECTED, FORM_FIELD_
|
|
|
10
10
|
import { findParent, isElementVisible } from '../../utils/ui';
|
|
11
11
|
import { FormFieldValidationRuleHandlerChain, } from './validation-rule-handler/form-field-validation-rule-handler-chain';
|
|
12
12
|
import { InjectVegaSlimmer, createDynamicSlimmer, methodPlaceholder } from 'vega-slimmer/core';
|
|
13
|
-
import { FieldErrorUIControllerSlimmer } from '../slimmers/field-error-ui-controller-slimmer';
|
|
13
|
+
import { FieldErrorUIControllerSlimmer } from '../slimmers/form/field-error-ui-controller-slimmer';
|
|
14
14
|
import { PageResizeObserverSlimmer } from '../slimmers/page-resize-observer-slimmer';
|
|
15
|
-
import { FormFieldMessageTranslatorSlimmer } from '../slimmers/form-field-message-translator';
|
|
15
|
+
import { FormFieldMessageTranslatorSlimmer } from '../slimmers/form/form-field-message-translator';
|
|
16
16
|
import { InternalFormFieldValidationRule } from './rules/internal-form-field-validation-rule.abstract';
|
|
17
17
|
import domNodeSubjectFactory from '../change-manager/subject/dom-node-subject/dom-node-subject-factory';
|
|
18
18
|
import { VegaInternalFormSubmit } from '../event-manager/event-id/vega-internal-event-id';
|
|
19
|
+
import { getFormFieldKey } from '../slimmers/form/utils/form-field-key';
|
|
19
20
|
/**
|
|
20
21
|
* The FormFieldController class is a class that validates the value of an input elements
|
|
21
22
|
*
|
|
@@ -362,7 +363,7 @@ export class FormFieldController {
|
|
|
362
363
|
var _a, _b;
|
|
363
364
|
if (this.shouldVisitElement(this.host, (_a = payload.option) === null || _a === void 0 ? void 0 : _a.skipDisabled, (_b = payload.option) === null || _b === void 0 ? void 0 : _b.skipInvisible)) {
|
|
364
365
|
const defaultValueMap = payload.defaultValueMap;
|
|
365
|
-
const fieldName = this.host
|
|
366
|
+
const fieldName = getFormFieldKey(this.host);
|
|
366
367
|
const defaultValue = defaultValueMap[fieldName] === undefined || defaultValueMap[fieldName] === null
|
|
367
368
|
? this.getDefaultValue()
|
|
368
369
|
: defaultValueMap[fieldName];
|
|
@@ -414,7 +415,7 @@ export class FormFieldController {
|
|
|
414
415
|
* @returns {boolean} a boolean value.
|
|
415
416
|
*/
|
|
416
417
|
shouldVisitElement(element, skipDisabled, skipInvisible) {
|
|
417
|
-
return !!(element
|
|
418
|
+
return !!(getFormFieldKey(element) &&
|
|
418
419
|
(!skipDisabled || !element['disabled']) &&
|
|
419
420
|
(!skipInvisible || isElementVisible(element)));
|
|
420
421
|
}
|
|
@@ -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 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 VegaCalendarPeriodFactory } from './token-extension-5082a4d2.js';
|
|
3
|
+
import { V as VegaThemeManager } from './split-cell-operation-6c26af91.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-726b74f9.js';
|
|
6
6
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
7
7
|
import { V as VegaIconManager } from './icon-manager-4ef3f6dd.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-fac22598.js';
|
|
9
|
+
import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-60212b1d.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-c63fbeda.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 VegaRTELinkExtension } from './link-extension-
|
|
19
|
-
import './type-guard-
|
|
20
|
-
import { V as VegaRTEImageExtension } from './image-extension-
|
|
17
|
+
import { V as VegaRTEPresetToolbarItems } from './code-block-8df86434.js';
|
|
18
|
+
import { V as VegaRTELinkExtension } from './link-extension-f92c06ef.js';
|
|
19
|
+
import './type-guard-f2624334.js';
|
|
20
|
+
import { V as VegaRTEImageExtension } from './image-extension-3280bdb0.js';
|
|
21
21
|
|
|
22
22
|
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23
23
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -424,7 +424,7 @@ function injectVegaCalendarPeriodFactoryIntoGlobal() {
|
|
|
424
424
|
* Inject VegaPublicValidationRules to global as a public api
|
|
425
425
|
*/
|
|
426
426
|
function injectVegaPublicValidationRules() {
|
|
427
|
-
void import('./public-rules-
|
|
427
|
+
void import('./public-rules-3695aaf7.js').then((module) => {
|
|
428
428
|
Object.entries(module).forEach(([name, value]) => {
|
|
429
429
|
globalThis[name] = value;
|
|
430
430
|
});
|
|
@@ -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-827eb1ce.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-f2624334.js';
|
|
7
7
|
import { T as TypographyUrls } from './typography-19c3b9be.js';
|
|
8
8
|
import { g as generateUUID } from './misc-9fdbcfbb.js';
|
|
9
9
|
import { V as VegaInternalThemeManager } from './dark-mode-style-controller-ca5afd2d.js';
|
|
@@ -2406,6 +2406,9 @@ const HTML_VOID_TAGS = new Set([
|
|
|
2406
2406
|
* This value is based on the paragraph line-height and padding of text content.
|
|
2407
2407
|
*/
|
|
2408
2408
|
const VegaRTEOneRowHeightPx = 22;
|
|
2409
|
+
const RTE_DEFAULT_LINK_TYPE_KEY = 'url';
|
|
2410
|
+
const RTE_EMAIL_LINK_TYPE_KEY = 'email';
|
|
2411
|
+
const RTE_SUPPORTED_LINK_TYPE_KEYS = [RTE_DEFAULT_LINK_TYPE_KEY, RTE_EMAIL_LINK_TYPE_KEY];
|
|
2409
2412
|
|
|
2410
2413
|
/**
|
|
2411
2414
|
* Annotation to make text with text color
|
|
@@ -6759,4 +6762,4 @@ class RTECodeBlock extends RTEBlock {
|
|
|
6759
6762
|
RTECodeBlock.CODE_BLOCK_PLACEHOLDER_CLASS_NAME = 'code-block-placeholder-element';
|
|
6760
6763
|
RTECodeBlock.dtoName = 'RTECodeBlock';
|
|
6761
6764
|
|
|
6762
|
-
export { RTEHtmlBlock as $, ActionHandleStrategyRegistry as A, BlockAnnotation as B, CommonAnnotationTypeEnum as C, BlockReplaceNodesStrategy as D, BlockUpdateHorizontalAlignmentStrategy as E, BlockDeleteNodeContentStrategy as F, RemoveChildrenStrategy as G, HorizontalAlignmentAnnotationAction as H, InsertChildrenAfterAction as I, RemoveNestListAction as J, ReplaceNestListAction as K, RTEListBlock as L, ModifyContentAction as M, NodeAnnotationTypeEnum as N, BOLD_FONT_WEIGHT_KEYWORD as O, BOLD_FONT_WEIGHT as P, createStyleMapFromElement as Q, RTETextNode as R, SplitBlockWithNodeAction as S, RTE_TEXT_COLORS as T, UpdateTextAction as U, VegaRTEPresetToolbarItems as V, RTE_DEFAULT_TEXT_COLOR as W, ITALIC_FONT_STYLE as X, STRIKETHROUGH_TEXT_DECORATION as Y, UNDERLINE_TEXT_DECORATION as Z, TextStyleAnnotation as _, RTEBlock as a, Predicate as a0, ListAnnotation as a1, HorizontalAlignmentAnnotation as a2, CodeAnnotation as a3, LinkFilterStylesStrategy as a4, CodeBlockFilterStylesStrategy as a5, CodeBlockNodeFilterStylesStrategy as a6, SyncUpSelectionAction as a7, ActionHandlerInterceptorRegistry as a8, CodeLanguage as a9, CustomClassAnnotation as aa, VegaRTEDefaultTextStyleItems as ab, ZERO_WIDTH_SPACE as ac, LinkAnnotationAction as ad, UpdateCodeBlockAction as ae, SelectionChangeAction as af, TextColorAnnotationAction as ag, VegaRTEOneRowHeightPx as ah, BoldAnnotationAction as ai, ItalicAnnotationAction as aj, UnderlineAnnotationAction as ak, TextStyleAnnotationAction as al, BoldAnnotation as am, BlockAnnotationTypeEnum as an, ClearFormattingAnnotationAction as ao, CodeAnnotationAction as ap, StrikethroughAnnotationAction as aq, IndentAnnotationAction as ar, TransformParagraphAction as as, escapeHtml as at, RTETextBlock as b, RTEAnnotationStyle as c, ActionHandleStrategy as d, AppendChildrenAction as e, RTENode as f, InsertChildrenBeforeAction as g, InternalAnnotationTypeEnum as h, ModifyContentActionType as i, AnnotationAction as j, RemoveChildrenAction as k, CustomAttributeAnnotation as l, RTEDTOClassManager$1 as m, RTEFilterStylesStrategy as n, RTEDecoratorNode as o, RTECodeBlock as p, RTEListItemBlock as q, RTECodeBlockNode as r, stateEntityRenderingRegistry as s, CustomStyleAnnotation as t, RTEFilterStylesStrategyRegistry as u, NodeAnnotation as v, NodeTypeEnum as w, CommonAnnotation as x, ReplaceChildNodesAction as y, BlockMergeNodesStrategy as z };
|
|
6765
|
+
export { RTEHtmlBlock as $, ActionHandleStrategyRegistry as A, BlockAnnotation as B, CommonAnnotationTypeEnum as C, BlockReplaceNodesStrategy as D, BlockUpdateHorizontalAlignmentStrategy as E, BlockDeleteNodeContentStrategy as F, RemoveChildrenStrategy as G, HorizontalAlignmentAnnotationAction as H, InsertChildrenAfterAction as I, RemoveNestListAction as J, ReplaceNestListAction as K, RTEListBlock as L, ModifyContentAction as M, NodeAnnotationTypeEnum as N, BOLD_FONT_WEIGHT_KEYWORD as O, BOLD_FONT_WEIGHT as P, createStyleMapFromElement as Q, RTETextNode as R, SplitBlockWithNodeAction as S, RTE_TEXT_COLORS as T, UpdateTextAction as U, VegaRTEPresetToolbarItems as V, RTE_DEFAULT_TEXT_COLOR as W, ITALIC_FONT_STYLE as X, STRIKETHROUGH_TEXT_DECORATION as Y, UNDERLINE_TEXT_DECORATION as Z, TextStyleAnnotation as _, RTEBlock as a, Predicate as a0, ListAnnotation as a1, HorizontalAlignmentAnnotation as a2, CodeAnnotation as a3, LinkFilterStylesStrategy as a4, CodeBlockFilterStylesStrategy as a5, CodeBlockNodeFilterStylesStrategy as a6, SyncUpSelectionAction as a7, ActionHandlerInterceptorRegistry as a8, CodeLanguage as a9, CustomClassAnnotation as aa, VegaRTEDefaultTextStyleItems as ab, ZERO_WIDTH_SPACE as ac, LinkAnnotationAction as ad, UpdateCodeBlockAction as ae, SelectionChangeAction as af, TextColorAnnotationAction as ag, VegaRTEOneRowHeightPx as ah, BoldAnnotationAction as ai, ItalicAnnotationAction as aj, UnderlineAnnotationAction as ak, TextStyleAnnotationAction as al, BoldAnnotation as am, BlockAnnotationTypeEnum as an, ClearFormattingAnnotationAction as ao, CodeAnnotationAction as ap, StrikethroughAnnotationAction as aq, IndentAnnotationAction as ar, TransformParagraphAction as as, escapeHtml as at, RTE_EMAIL_LINK_TYPE_KEY as au, RTE_DEFAULT_LINK_TYPE_KEY as av, RTE_SUPPORTED_LINK_TYPE_KEYS as aw, RTETextBlock as b, RTEAnnotationStyle as c, ActionHandleStrategy as d, AppendChildrenAction as e, RTENode as f, InsertChildrenBeforeAction as g, InternalAnnotationTypeEnum as h, ModifyContentActionType as i, AnnotationAction as j, RemoveChildrenAction as k, CustomAttributeAnnotation as l, RTEDTOClassManager$1 as m, RTEFilterStylesStrategy as n, RTEDecoratorNode as o, RTECodeBlock as p, RTEListItemBlock as q, RTECodeBlockNode as r, stateEntityRenderingRegistry as s, CustomStyleAnnotation as t, RTEFilterStylesStrategyRegistry as u, NodeAnnotation as v, NodeTypeEnum as w, CommonAnnotation as x, ReplaceChildNodesAction as y, BlockMergeNodesStrategy as z };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as MapToComponentField, M as MapToComponentMethod } from './global-slimmer-registry-17c4efd4.js';
|
|
2
|
-
import { r as RTECodeBlockNode, R as RTETextNode, ac as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, o as RTEDecoratorNode, f as RTENode, a as RTEBlock, af as SelectionChangeAction, h as InternalAnnotationTypeEnum, p as RTECodeBlock } from './code-block-
|
|
2
|
+
import { r as RTECodeBlockNode, R as RTETextNode, ac as ZERO_WIDTH_SPACE, s as stateEntityRenderingRegistry, o as RTEDecoratorNode, f as RTENode, a as RTEBlock, af as SelectionChangeAction, h as InternalAnnotationTypeEnum, p as RTECodeBlock } from './code-block-8df86434.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-ddff8662.js';
|
|
7
7
|
import { f as VegaInternalRichTextEditorSelectionRangeChange, c as VegaInternalUpdateRTECursorPosition } from './vega-internal-event-id-827eb1ce.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-717d552d.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-d73f756a.js';
|
|
12
|
-
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-
|
|
12
|
+
import { K as KeyboardManagerSlimmer } from './keyboard-manager-slimmer-1f7c8bfb.js';
|
|
13
13
|
|
|
14
14
|
let processing = false;
|
|
15
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as ActionHandleStrategy, p as RTECodeBlock, g as InsertChildrenBeforeAction, k as RemoveChildrenAction, s as stateEntityRenderingRegistry, v as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, w as NodeTypeEnum, x as CommonAnnotation, A as ActionHandleStrategyRegistry, j as AnnotationAction, i as ModifyContentActionType, y as ReplaceChildNodesAction, I as InsertChildrenAfterAction, e as AppendChildrenAction, M as ModifyContentAction, b as RTETextBlock, R as RTETextNode, S as SplitBlockWithNodeAction, a as RTEBlock, z as BlockMergeNodesStrategy, D as BlockReplaceNodesStrategy, H as HorizontalAlignmentAnnotationAction, E as BlockUpdateHorizontalAlignmentStrategy, F as BlockDeleteNodeContentStrategy, U as UpdateTextAction, G as RemoveChildrenStrategy, J as RemoveNestListAction, q as RTEListItemBlock, K as ReplaceNestListAction, L as RTEListBlock, O as BOLD_FONT_WEIGHT_KEYWORD, P as BOLD_FONT_WEIGHT, Q as createStyleMapFromElement, T as RTE_TEXT_COLORS, W as RTE_DEFAULT_TEXT_COLOR, X as ITALIC_FONT_STYLE, Y as STRIKETHROUGH_TEXT_DECORATION, Z as UNDERLINE_TEXT_DECORATION, u as RTEFilterStylesStrategyRegistry, _ as TextStyleAnnotation, $ as RTEHtmlBlock, n as RTEFilterStylesStrategy, a0 as Predicate$1, a1 as ListAnnotation, a2 as HorizontalAlignmentAnnotation, a3 as CodeAnnotation, m as RTEDTOClassManager, a4 as LinkFilterStylesStrategy, a5 as CodeBlockFilterStylesStrategy, r as RTECodeBlockNode, a6 as CodeBlockNodeFilterStylesStrategy, a7 as SyncUpSelectionAction } from './code-block-
|
|
1
|
+
import { d as ActionHandleStrategy, p as RTECodeBlock, g as InsertChildrenBeforeAction, k as RemoveChildrenAction, s as stateEntityRenderingRegistry, v as NodeAnnotation, N as NodeAnnotationTypeEnum, o as RTEDecoratorNode, w as NodeTypeEnum, x as CommonAnnotation, A as ActionHandleStrategyRegistry, j as AnnotationAction, i as ModifyContentActionType, y as ReplaceChildNodesAction, I as InsertChildrenAfterAction, e as AppendChildrenAction, M as ModifyContentAction, b as RTETextBlock, R as RTETextNode, S as SplitBlockWithNodeAction, a as RTEBlock, z as BlockMergeNodesStrategy, D as BlockReplaceNodesStrategy, H as HorizontalAlignmentAnnotationAction, E as BlockUpdateHorizontalAlignmentStrategy, F as BlockDeleteNodeContentStrategy, U as UpdateTextAction, G as RemoveChildrenStrategy, J as RemoveNestListAction, q as RTEListItemBlock, K as ReplaceNestListAction, L as RTEListBlock, O as BOLD_FONT_WEIGHT_KEYWORD, P as BOLD_FONT_WEIGHT, Q as createStyleMapFromElement, T as RTE_TEXT_COLORS, W as RTE_DEFAULT_TEXT_COLOR, X as ITALIC_FONT_STYLE, Y as STRIKETHROUGH_TEXT_DECORATION, Z as UNDERLINE_TEXT_DECORATION, u as RTEFilterStylesStrategyRegistry, _ as TextStyleAnnotation, $ as RTEHtmlBlock, n as RTEFilterStylesStrategy, a0 as Predicate$1, a1 as ListAnnotation, a2 as HorizontalAlignmentAnnotation, a3 as CodeAnnotation, m as RTEDTOClassManager, a4 as LinkFilterStylesStrategy, a5 as CodeBlockFilterStylesStrategy, r as RTECodeBlockNode, a6 as CodeBlockNodeFilterStylesStrategy, a7 as SyncUpSelectionAction } from './code-block-8df86434.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-f2624334.js';
|
|
4
4
|
import { C as ChangeManager } from './change-manager-6a7eb88c.js';
|
|
5
5
|
import { d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-ddff8662.js';
|
|
6
6
|
import { c as VegaInternalUpdateRTECursorPosition, d as VegaInternalRichTextEditDeleteSelectedNodes, e as VegaInternalRichTextEditorFlushChanges } from './vega-internal-event-id-827eb1ce.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-f2624334.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-f19b601c.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-bfda33aa.js';
|
|
7
7
|
import { B as BorderStyle } from './ui-93922c59.js';
|
|
8
8
|
|
|
9
9
|
/**
|
package/dist/esm/{element-appender-slimmer-73ad10ae.js → element-appender-slimmer-24be8e94.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-f2624334.js';
|
|
8
|
+
import { R as ResponsiveFormatFacade } from './responsive-format-facade-f19b601c.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';
|