q2-tecton-elements 1.67.2 → 1.68.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/bundle-report.json +22598 -10670
- package/dist/cjs/click-elsewhere.q2-option-list.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/click-elsewhere_3.cjs.entry.js +46 -32
- package/dist/cjs/click-elsewhere_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{component-DRAntnCA.js → component-iASoq6gx.js} +9 -3
- package/dist/cjs/component-iASoq6gx.js.map +1 -0
- package/dist/cjs/{index-YvKoRT-t.js → index-DmGkqdX2.js} +3 -3
- package/dist/cjs/index-DmGkqdX2.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/q2-action-group.q2-resize-observer.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-group_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-action-sheet.cjs.entry.js +109 -4
- package/dist/cjs/q2-action-sheet.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-action-sheet.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-badge.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-badge.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-btn.q2-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js +1 -1
- package/dist/cjs/q2-btn_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.cjs.entry.js +6 -3
- package/dist/cjs/q2-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-card-image.cjs.entry.js +2 -2
- package/dist/cjs/q2-card-image.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-card-image.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-card.cjs.entry.js +1 -1
- package/dist/cjs/q2-card.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-card.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-carousel-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-carousel.cjs.entry.js +162 -29
- package/dist/cjs/q2-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-carousel.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +3 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-donut.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-checkbox-group.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox.q2-tag.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/q2-checkbox_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-context.cjs.entry.js +2 -2
- package/dist/cjs/q2-context.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-context.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-currency.cjs.entry.js +2 -3
- package/dist/cjs/q2-currency.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-currency.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +2 -2
- package/dist/cjs/q2-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-data-table.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-detail.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-detail.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-dropdown-item.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-dropdown.cjs.entry.js +3 -5
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-editable-field.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-file-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-form.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-form.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-formatted-text.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +32 -8
- package/dist/cjs/q2-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js +1 -1
- package/dist/cjs/q2-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-input.cjs.entry.js +8 -5
- package/dist/cjs/q2-input.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-input.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-item.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-item.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-legend.cjs.entry.js +2 -3
- package/dist/cjs/q2-legend.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-legend.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-link.q2-list.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-link_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-loc.cjs.entry.js +1 -1
- package/dist/cjs/q2-message.cjs.entry.js +3 -3
- package/dist/cjs/q2-message.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-message.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-meter.cjs.entry.js +2 -2
- package/dist/cjs/q2-meter.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-meter.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-modal.cjs.entry.js +3 -3
- package/dist/cjs/q2-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
- package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
- package/dist/cjs/q2-optgroup.cjs.entry.js +3 -3
- package/dist/cjs/q2-optgroup.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-optgroup.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +3 -3
- package/dist/cjs/q2-option.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-otp.cjs.entry.js +373 -0
- package/dist/cjs/q2-otp.cjs.entry.js.map +1 -0
- package/dist/cjs/q2-otp.entry.cjs.js.map +1 -0
- package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
- package/dist/cjs/q2-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-pill.cjs.entry.js +24 -15
- package/dist/cjs/q2-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-pill.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/q2-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-radio.cjs.entry.js +3 -3
- package/dist/cjs/q2-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-section-container.cjs.entry.js +1 -1
- package/dist/cjs/q2-section.cjs.entry.js +3 -3
- package/dist/cjs/q2-section.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-section.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-select.cjs.entry.js +1 -1
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-select.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +3 -3
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper-vertical.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tab-container.cjs.entry.js +3 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-tab-container.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-toast.cjs.entry.js +1 -1
- package/dist/cjs/q2-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-tooltip.cjs.entry.js +124 -5
- package/dist/cjs/q2-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/{sanitize-html-string-CW6y5624.js → sanitize-html-string-D17Pr7-c.js} +21 -4
- package/dist/cjs/{sanitize-html-string-CW6y5624.js.map → sanitize-html-string-D17Pr7-c.js.map} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/click-elsewhere/click-elsewhere.js +2 -0
- package/dist/collection/components/click-elsewhere/click-elsewhere.js.map +1 -1
- package/dist/collection/components/q2-action-group/q2-action-group.css +14 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +16 -0
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +107 -2
- package/dist/collection/components/q2-action-sheet/q2-action-sheet.js.map +1 -1
- package/dist/collection/components/q2-avatar/q2-avatar.css +24 -0
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +61 -0
- package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js.map +1 -0
- package/dist/collection/components/q2-badge/q2-badge.css +30 -0
- package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js +34 -0
- package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js.map +1 -0
- package/dist/collection/components/q2-btn/q2-btn.css +279 -0
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +80 -0
- package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js.map +1 -0
- package/dist/collection/components/q2-calendar/q2-calendar.css +36 -0
- package/dist/collection/components/q2-calendar/q2-calendar.js +5 -2
- package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +170 -0
- package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js.map +1 -0
- package/dist/collection/components/q2-card/q2-card.css +62 -0
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js +72 -0
- package/dist/collection/components/q2-card/test/q2-card-test.vr.js.map +1 -0
- package/dist/collection/components/q2-card-image/q2-card-image.css +74 -13
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +152 -0
- package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js.map +1 -0
- package/dist/collection/components/q2-carousel/q2-carousel.css +78 -13
- package/dist/collection/components/q2-carousel/q2-carousel.js +241 -27
- package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +104 -0
- package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js.map +1 -0
- package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +26 -1
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +126 -0
- package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js.map +1 -0
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +105 -0
- package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js.map +1 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +29 -0
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +21 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +151 -0
- package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js.map +1 -0
- package/dist/collection/components/q2-checkbox/q2-checkbox.css +128 -0
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js +69 -0
- package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js.map +1 -0
- package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +21 -0
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js +61 -0
- package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js.map +1 -0
- package/dist/collection/components/q2-context/q2-context.css +16 -0
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js +95 -0
- package/dist/collection/components/q2-context/test/q2-context-test.vr.js.map +1 -0
- package/dist/collection/components/q2-currency/q2-currency.css +31 -0
- package/dist/collection/components/q2-currency/q2-currency.js +3 -4
- package/dist/collection/components/q2-currency/q2-currency.js.map +1 -1
- package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js +79 -0
- package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js.map +1 -0
- package/dist/collection/components/q2-data-table/q2-data-table.css +51 -0
- package/dist/collection/components/q2-data-table/q2-data-table.js +1 -1
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +79 -0
- package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js.map +1 -0
- package/dist/collection/components/q2-detail/q2-detail.css +42 -0
- package/dist/collection/components/q2-detail/q2-detail.js +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.css +8 -0
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +2 -4
- package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
- package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.css +11 -0
- package/dist/collection/components/q2-editable-field/q2-editable-field.css +5 -0
- package/dist/collection/components/q2-editable-field/test/q2-editable-field-test.vr.js +89 -0
- package/dist/collection/components/q2-editable-field/test/q2-editable-field-test.vr.js.map +1 -0
- package/dist/collection/components/q2-example/q2-example.js +1 -1
- package/dist/collection/components/q2-file-picker/q2-file-picker.css +64 -0
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +92 -0
- package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js.map +1 -0
- package/dist/collection/components/q2-form/q2-form.css +34 -20
- package/dist/collection/components/q2-form/q2-form.js +1 -1
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.css +14 -0
- package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js +55 -0
- package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js.map +1 -0
- package/dist/collection/components/q2-grid/q2-grid.css +13 -0
- package/dist/collection/components/q2-grid/q2-grid.js +31 -7
- package/dist/collection/components/q2-grid/q2-grid.js.map +1 -1
- package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
- package/dist/collection/components/q2-icon/q2-icon.css +15 -0
- package/dist/collection/components/q2-icon/test/q2-icon-test.vr.js +55 -0
- package/dist/collection/components/q2-icon/test/q2-icon-test.vr.js.map +1 -0
- package/dist/collection/components/q2-input/q2-input.css +104 -0
- package/dist/collection/components/q2-input/q2-input.js +6 -3
- package/dist/collection/components/q2-input/q2-input.js.map +1 -1
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js +97 -0
- package/dist/collection/components/q2-input/test/q2-input-test.vr.js.map +1 -0
- package/dist/collection/components/q2-item/q2-item.css +28 -0
- package/dist/collection/components/q2-item/q2-item.js +1 -1
- package/dist/collection/components/q2-legend/q2-legend.css +16 -0
- package/dist/collection/components/q2-legend/q2-legend.js +21 -3
- package/dist/collection/components/q2-legend/q2-legend.js.map +1 -1
- package/dist/collection/components/q2-link/q2-link.css +20 -0
- package/dist/collection/components/q2-link/test/q2-link-test.vr.js +70 -0
- package/dist/collection/components/q2-link/test/q2-link-test.vr.js.map +1 -0
- package/dist/collection/components/q2-list/q2-list.css +14 -0
- package/dist/collection/components/q2-list/q2-list.js +1 -1
- package/dist/collection/components/q2-list/test/q2-list-test.vr.js +58 -0
- package/dist/collection/components/q2-list/test/q2-list-test.vr.js.map +1 -0
- package/dist/collection/components/q2-loading/q2-loading.css +9 -0
- package/dist/collection/components/q2-message/q2-message.css +29 -1
- package/dist/collection/components/q2-message/q2-message.js +1 -1
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js +57 -0
- package/dist/collection/components/q2-message/test/q2-message-test.vr.js.map +1 -0
- package/dist/collection/components/q2-meter/q2-meter.css +40 -0
- package/dist/collection/components/q2-meter/q2-meter.js +1 -1
- package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js +78 -0
- package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js.map +1 -0
- package/dist/collection/components/q2-modal/q2-modal.css +21 -0
- package/dist/collection/components/q2-modal/q2-modal.js +1 -1
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +107 -0
- package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js.map +1 -0
- package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
- package/dist/collection/components/q2-optgroup/q2-optgroup.css +11 -0
- package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
- package/dist/collection/components/q2-option/q2-option.css +9 -0
- package/dist/collection/components/q2-option/q2-option.js +1 -1
- package/dist/collection/components/q2-option/q2-option.js.map +1 -1
- package/dist/collection/components/q2-option-list/q2-option-list.css +3 -0
- package/dist/collection/components/q2-option-list/q2-option-list.js +37 -28
- package/dist/collection/components/q2-option-list/q2-option-list.js.map +1 -1
- package/dist/collection/components/q2-otp/q2-otp.css +312 -0
- package/dist/collection/components/q2-otp/q2-otp.js +873 -0
- package/dist/collection/components/q2-otp/q2-otp.js.map +1 -0
- package/dist/collection/components/q2-pagination/q2-pagination.css +22 -0
- package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +145 -0
- package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js.map +1 -0
- package/dist/collection/components/q2-pill/q2-pill.css +53 -0
- package/dist/collection/components/q2-pill/q2-pill.js +23 -14
- package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +110 -0
- package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js.map +1 -0
- package/dist/collection/components/q2-popover/q2-popover.css +20 -0
- package/dist/collection/components/q2-popover/q2-popover.js +5 -2
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-radio/q2-radio.css +52 -1
- package/dist/collection/components/q2-radio/q2-radio.js +2 -2
- package/dist/collection/components/q2-radio/q2-radio.js.map +1 -1
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +73 -0
- package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js.map +1 -0
- package/dist/collection/components/q2-radio-group/q2-radio-group.css +22 -0
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +99 -0
- package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js.map +1 -0
- package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
- package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
- package/dist/collection/components/q2-section/q2-section.css +26 -0
- package/dist/collection/components/q2-section/q2-section.js +2 -2
- package/dist/collection/components/q2-section/test/q2-section-test.vr.js +68 -0
- package/dist/collection/components/q2-section/test/q2-section-test.vr.js.map +1 -0
- package/dist/collection/components/q2-select/q2-select.css +17 -0
- package/dist/collection/components/q2-select/test/q2-select-test.vr.js +107 -0
- package/dist/collection/components/q2-select/test/q2-select-test.vr.js.map +1 -0
- package/dist/collection/components/q2-stepper/q2-stepper.css +36 -0
- package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js +86 -0
- package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js.map +1 -0
- package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +31 -0
- package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js +97 -0
- package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js.map +1 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.css +38 -0
- package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js +78 -0
- package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js.map +1 -0
- package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
- package/dist/collection/components/q2-tag/q2-tag.css +30 -1
- package/dist/collection/components/q2-tag/q2-tag.js +1 -1
- package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js +83 -0
- package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js.map +1 -0
- package/dist/collection/components/q2-textarea/q2-textarea.css +80 -0
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js +102 -0
- package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js.map +1 -0
- package/dist/collection/components/q2-toast/q2-toast.css +15 -0
- package/dist/collection/components/q2-tooltip/q2-tooltip.css +31 -0
- package/dist/collection/components/q2-tooltip/q2-tooltip.js +135 -4
- package/dist/collection/components/q2-tooltip/q2-tooltip.js.map +1 -1
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +76 -0
- package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js.map +1 -0
- package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
- package/dist/collection/utils/component.js +7 -1
- package/dist/collection/utils/component.js.map +1 -1
- package/dist/collection/utils/index.js +1 -1
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/sanitize-html-string.js +19 -2
- package/dist/collection/utils/sanitize-html-string.js.map +1 -1
- package/dist/collection/utils/test/vr-helpers.js +98 -0
- package/dist/collection/utils/test/vr-helpers.js.map +1 -0
- package/dist/components/click-elsewhere2.js +2 -0
- package/dist/components/click-elsewhere2.js.map +1 -1
- package/dist/components/component.js +7 -1
- package/dist/components/component.js.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-action-group2.js.map +1 -1
- package/dist/components/q2-action-sheet.js +107 -2
- package/dist/components/q2-action-sheet.js.map +1 -1
- package/dist/components/q2-avatar2.js.map +1 -1
- package/dist/components/q2-badge2.js.map +1 -1
- package/dist/components/q2-btn2.js.map +1 -1
- package/dist/components/q2-calendar.js +5 -2
- package/dist/components/q2-calendar.js.map +1 -1
- package/dist/components/q2-card-image.js +1 -1
- package/dist/components/q2-card-image.js.map +1 -1
- package/dist/components/q2-card.js.map +1 -1
- package/dist/components/q2-carousel-pane.js +1 -135
- package/dist/components/q2-carousel-pane.js.map +1 -1
- package/dist/components/q2-carousel-pane2.js +140 -0
- package/dist/components/q2-carousel-pane2.js.map +1 -0
- package/dist/components/q2-carousel.js +173 -29
- package/dist/components/q2-carousel.js.map +1 -1
- package/dist/components/q2-chart-donut.js +3 -1
- package/dist/components/q2-chart-donut.js.map +1 -1
- package/dist/components/q2-checkbox-group.js.map +1 -1
- package/dist/components/q2-checkbox2.js.map +1 -1
- package/dist/components/q2-context.js +1 -1
- package/dist/components/q2-context.js.map +1 -1
- package/dist/components/q2-currency.js +3 -4
- package/dist/components/q2-currency.js.map +1 -1
- package/dist/components/q2-data-table.js +1 -1
- package/dist/components/q2-data-table.js.map +1 -1
- package/dist/components/q2-detail.js +1 -1
- package/dist/components/q2-detail.js.map +1 -1
- package/dist/components/q2-dropdown-item2.js.map +1 -1
- package/dist/components/q2-dropdown.js +2 -4
- package/dist/components/q2-dropdown.js.map +1 -1
- package/dist/components/q2-editable-field.js.map +1 -1
- package/dist/components/q2-example.js +1 -1
- package/dist/components/q2-file-picker.js.map +1 -1
- package/dist/components/q2-form.js +2 -2
- package/dist/components/q2-form.js.map +1 -1
- package/dist/components/q2-formatted-text.js +1 -1
- package/dist/components/q2-formatted-text.js.map +1 -1
- package/dist/components/q2-grid.js +32 -8
- package/dist/components/q2-grid.js.map +1 -1
- package/dist/components/q2-icon2.js.map +1 -1
- package/dist/components/q2-input2.js +7 -4
- package/dist/components/q2-input2.js.map +1 -1
- package/dist/components/q2-item2.js +1 -1
- package/dist/components/q2-item2.js.map +1 -1
- package/dist/components/q2-legend2.js +3 -3
- package/dist/components/q2-legend2.js.map +1 -1
- package/dist/components/q2-link2.js.map +1 -1
- package/dist/components/q2-list2.js +1 -1
- package/dist/components/q2-list2.js.map +1 -1
- package/dist/components/q2-loading2.js.map +1 -1
- package/dist/components/q2-message2.js +2 -2
- package/dist/components/q2-message2.js.map +1 -1
- package/dist/components/q2-meter.js +1 -1
- package/dist/components/q2-meter.js.map +1 -1
- package/dist/components/q2-modal.js +1 -1
- package/dist/components/q2-modal.js.map +1 -1
- package/dist/components/q2-mutation-observer.js +1 -1
- package/dist/components/q2-optgroup2.js +1 -1
- package/dist/components/q2-optgroup2.js.map +1 -1
- package/dist/components/q2-option-list2.js +37 -28
- package/dist/components/q2-option-list2.js.map +1 -1
- package/dist/components/q2-option2.js +1 -1
- package/dist/components/q2-option2.js.map +1 -1
- package/dist/components/q2-otp.d.ts +11 -0
- package/dist/components/q2-otp.js +439 -0
- package/dist/components/q2-otp.js.map +1 -0
- package/dist/components/q2-pagination.js +3 -3
- package/dist/components/q2-pagination.js.map +1 -1
- package/dist/components/q2-pill.js +23 -14
- package/dist/components/q2-pill.js.map +1 -1
- package/dist/components/q2-popover2.js +5 -2
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-radio-group.js.map +1 -1
- package/dist/components/q2-radio.js +2 -2
- package/dist/components/q2-radio.js.map +1 -1
- package/dist/components/q2-relative-time.js +1 -1
- package/dist/components/q2-resize-observer2.js +1 -1
- package/dist/components/q2-section.js +2 -2
- package/dist/components/q2-section.js.map +1 -1
- package/dist/components/q2-select2.js.map +1 -1
- package/dist/components/q2-stepper-pane.js +1 -1
- package/dist/components/q2-stepper-vertical.js +1 -1
- package/dist/components/q2-stepper-vertical.js.map +1 -1
- package/dist/components/q2-stepper.js +1 -1
- package/dist/components/q2-stepper.js.map +1 -1
- package/dist/components/q2-tab-container.js +1 -1
- package/dist/components/q2-tab-container.js.map +1 -1
- package/dist/components/q2-tab-pane.js +1 -1
- package/dist/components/q2-tag2.js +2 -2
- package/dist/components/q2-tag2.js.map +1 -1
- package/dist/components/q2-textarea.js.map +1 -1
- package/dist/components/q2-toast.js.map +1 -1
- package/dist/components/q2-tooltip2.js +124 -5
- package/dist/components/q2-tooltip2.js.map +1 -1
- package/dist/components/sanitize-html-string.js +19 -2
- package/dist/components/sanitize-html-string.js.map +1 -1
- package/dist/components/tecton-tab-pane.js +2 -2
- package/dist/esm/click-elsewhere.q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/click-elsewhere_3.entry.js +46 -32
- package/dist/esm/click-elsewhere_3.entry.js.map +1 -1
- package/dist/esm/{component-DVxzK3WH.js → component-DaQM9u3s.js} +9 -3
- package/dist/esm/component-DaQM9u3s.js.map +1 -0
- package/dist/esm/{index-C4PILj1_.js → index-C5gj0T_3.js} +4 -4
- package/dist/esm/index-C5gj0T_3.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-action-group.q2-resize-observer.entry.js.map +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-group_2.entry.js.map +1 -1
- package/dist/esm/q2-action-sheet.entry.js +109 -4
- package/dist/esm/q2-action-sheet.entry.js.map +1 -1
- package/dist/esm/q2-avatar.entry.js.map +1 -1
- package/dist/esm/q2-badge.entry.js +1 -1
- package/dist/esm/q2-badge.entry.js.map +1 -1
- package/dist/esm/q2-btn.q2-loading.entry.js.map +1 -1
- package/dist/esm/q2-btn_2.entry.js +1 -1
- package/dist/esm/q2-btn_2.entry.js.map +1 -1
- package/dist/esm/q2-calendar.entry.js +6 -3
- package/dist/esm/q2-calendar.entry.js.map +1 -1
- package/dist/esm/q2-card-image.entry.js +2 -2
- package/dist/esm/q2-card-image.entry.js.map +1 -1
- package/dist/esm/q2-card.entry.js +1 -1
- package/dist/esm/q2-card.entry.js.map +1 -1
- package/dist/esm/q2-carousel-pane.entry.js +3 -3
- package/dist/esm/q2-carousel-pane.entry.js.map +1 -1
- package/dist/esm/q2-carousel.entry.js +162 -29
- package/dist/esm/q2-carousel.entry.js.map +1 -1
- package/dist/esm/q2-chart-area.entry.js +1 -1
- package/dist/esm/q2-chart-bar.entry.js +1 -1
- package/dist/esm/q2-chart-donut.entry.js +3 -2
- package/dist/esm/q2-chart-donut.entry.js.map +1 -1
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js.map +1 -1
- package/dist/esm/q2-checkbox.q2-tag.entry.js.map +1 -1
- package/dist/esm/q2-checkbox_2.entry.js +3 -3
- package/dist/esm/q2-checkbox_2.entry.js.map +1 -1
- package/dist/esm/q2-context.entry.js +2 -2
- package/dist/esm/q2-context.entry.js.map +1 -1
- package/dist/esm/q2-currency.entry.js +3 -4
- package/dist/esm/q2-currency.entry.js.map +1 -1
- package/dist/esm/q2-data-table.entry.js +2 -2
- package/dist/esm/q2-data-table.entry.js.map +1 -1
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-detail.entry.js.map +1 -1
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js.map +1 -1
- package/dist/esm/q2-dropdown.entry.js +3 -5
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +1 -1
- package/dist/esm/q2-editable-field.entry.js.map +1 -1
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js.map +1 -1
- package/dist/esm/q2-form.entry.js +2 -2
- package/dist/esm/q2-form.entry.js.map +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js.map +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +33 -9
- package/dist/esm/q2-grid.entry.js.map +1 -1
- package/dist/esm/q2-icon.entry.js +1 -1
- package/dist/esm/q2-icon.entry.js.map +1 -1
- package/dist/esm/q2-input.entry.js +8 -5
- package/dist/esm/q2-input.entry.js.map +1 -1
- package/dist/esm/q2-item.entry.js +2 -2
- package/dist/esm/q2-item.entry.js.map +1 -1
- package/dist/esm/q2-legend.entry.js +2 -3
- package/dist/esm/q2-legend.entry.js.map +1 -1
- package/dist/esm/q2-link.q2-list.entry.js.map +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-link_2.entry.js.map +1 -1
- package/dist/esm/q2-loc.entry.js +1 -1
- package/dist/esm/q2-message.entry.js +3 -3
- package/dist/esm/q2-message.entry.js.map +1 -1
- package/dist/esm/q2-meter.entry.js +2 -2
- package/dist/esm/q2-meter.entry.js.map +1 -1
- package/dist/esm/q2-modal.entry.js +3 -3
- package/dist/esm/q2-modal.entry.js.map +1 -1
- package/dist/esm/q2-month-picker.entry.js +1 -1
- package/dist/esm/q2-mutation-observer.entry.js +1 -1
- package/dist/esm/q2-optgroup.entry.js +3 -3
- package/dist/esm/q2-optgroup.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +3 -3
- package/dist/esm/q2-option.entry.js.map +1 -1
- package/dist/esm/q2-otp.entry.js +371 -0
- package/dist/esm/q2-otp.entry.js.map +1 -0
- package/dist/esm/q2-pagination.entry.js +4 -4
- package/dist/esm/q2-pagination.entry.js.map +1 -1
- package/dist/esm/q2-pill.entry.js +24 -15
- package/dist/esm/q2-pill.entry.js.map +1 -1
- package/dist/esm/q2-radio-group.entry.js +1 -1
- package/dist/esm/q2-radio-group.entry.js.map +1 -1
- package/dist/esm/q2-radio.entry.js +3 -3
- package/dist/esm/q2-radio.entry.js.map +1 -1
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-section-container.entry.js +1 -1
- package/dist/esm/q2-section.entry.js +3 -3
- package/dist/esm/q2-section.entry.js.map +1 -1
- package/dist/esm/q2-select.entry.js +1 -1
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +3 -3
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js.map +1 -1
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js.map +1 -1
- package/dist/esm/q2-tab-container.entry.js +3 -3
- package/dist/esm/q2-tab-container.entry.js.map +1 -1
- package/dist/esm/q2-tab-pane.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/q2-textarea.entry.js +1 -1
- package/dist/esm/q2-textarea.entry.js.map +1 -1
- package/dist/esm/q2-toast.entry.js +1 -1
- package/dist/esm/q2-toast.entry.js.map +1 -1
- package/dist/esm/q2-tooltip.entry.js +124 -5
- package/dist/esm/q2-tooltip.entry.js.map +1 -1
- package/dist/esm/{sanitize-html-string-B35VmRc9.js → sanitize-html-string-DPHNpMWE.js} +21 -4
- package/dist/{q2-tecton-elements/sanitize-html-string-B35VmRc9.js.map → esm/sanitize-html-string-DPHNpMWE.js.map} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +2 -2
- package/dist/playwright.config.js +12 -0
- package/dist/playwright.config.js.map +1 -0
- package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
- package/dist/q2-tecton-elements/click-elsewhere.q2-option-list.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +44 -35
- package/dist/q2-tecton-elements/click-elsewhere_3.entry.js.map +1 -1
- package/dist/q2-tecton-elements/component-DaQM9u3s.js +46 -0
- package/dist/q2-tecton-elements/component-DaQM9u3s.js.map +1 -0
- package/dist/q2-tecton-elements/{index-C4PILj1_.js → index-C5gj0T_3.js} +4 -4
- package/dist/q2-tecton-elements/index-C5gj0T_3.js.map +1 -0
- package/dist/q2-tecton-elements/q2-action-group.q2-resize-observer.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +166 -70
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-avatar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-avatar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-badge.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-badge.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-btn.q2-loading.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-btn_2.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-btn_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-calendar.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-calendar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-card-image.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-card-image.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-card-image.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-card.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-carousel.entry.js +402 -271
- package/dist/q2-tecton-elements/q2-carousel.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-chart-donut.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +18 -16
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox.q2-tag.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-checkbox_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-context.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-context.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-currency.entry.js +34 -33
- package/dist/q2-tecton-elements/q2-currency.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-data-table.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-detail.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +18 -19
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-form.entry.js +9 -9
- package/dist/q2-tecton-elements/q2-form.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-grid.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-grid.entry.js +39 -14
- package/dist/q2-tecton-elements/q2-grid.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-icon.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-icon.entry.js +52 -52
- package/dist/q2-tecton-elements/q2-icon.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-input.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-input.entry.js +10 -6
- package/dist/q2-tecton-elements/q2-input.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-item.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-legend.entry.js +4 -5
- package/dist/q2-tecton-elements/q2-legend.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-link.q2-list.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
- package/dist/q2-tecton-elements/q2-link_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
- package/dist/q2-tecton-elements/q2-message.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-meter.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
- package/dist/q2-tecton-elements/q2-meter.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-modal.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-modal.entry.js +53 -53
- package/dist/q2-tecton-elements/q2-modal.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-optgroup.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +3 -3
- package/dist/q2-tecton-elements/q2-option.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-otp.entry.esm.js.map +1 -0
- package/dist/q2-tecton-elements/q2-otp.entry.js +453 -0
- package/dist/q2-tecton-elements/q2-otp.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-pagination.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pagination.entry.js +29 -29
- package/dist/q2-tecton-elements/q2-pagination.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pill.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-pill.entry.js +43 -28
- package/dist/q2-tecton-elements/q2-pill.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-radio-group.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-radio.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-radio.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-section-container.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-section.entry.js +21 -21
- package/dist/q2-tecton-elements/q2-section.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper.entry.js +33 -33
- package/dist/q2-tecton-elements/q2-stepper.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-container.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-container.entry.js +14 -14
- package/dist/q2-tecton-elements/q2-tab-container.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tab-pane.entry.js +6 -6
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-toast.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-toast.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +136 -20
- package/dist/q2-tecton-elements/q2-tooltip.entry.js.map +1 -1
- package/dist/q2-tecton-elements/{sanitize-html-string-B35VmRc9.js → sanitize-html-string-DPHNpMWE.js} +147 -142
- package/dist/{esm/sanitize-html-string-B35VmRc9.js.map → q2-tecton-elements/sanitize-html-string-DPHNpMWE.js.map} +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
- package/dist/types/builds/q2e/development/tecton/tecton/packages/q2-tecton-elements/.stencil/playwright.config.d.ts +2 -0
- package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +22 -0
- package/dist/types/components/q2-avatar/test/q2-avatar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-badge/test/q2-badge-test.vr.d.ts +1 -0
- package/dist/types/components/q2-btn/test/q2-btn-test.vr.d.ts +1 -0
- package/dist/types/components/q2-calendar/test/q2-calendar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-card/test/q2-card-test.vr.d.ts +1 -0
- package/dist/types/components/q2-card-image/test/q2-card-image-test.vr.d.ts +1 -0
- package/dist/types/components/q2-carousel/q2-carousel.d.ts +29 -0
- package/dist/types/components/q2-carousel/test/q2-carousel-test.vr.d.ts +1 -0
- package/dist/types/components/q2-chart-area/test/q2-chart-area-test.vr.d.ts +1 -0
- package/dist/types/components/q2-chart-bar/test/q2-chart-bar-test.vr.d.ts +1 -0
- package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +2 -0
- package/dist/types/components/q2-chart-donut/test/q2-chart-donut-test.vr.d.ts +1 -0
- package/dist/types/components/q2-checkbox/test/q2-checkbox-test.vr.d.ts +1 -0
- package/dist/types/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.d.ts +1 -0
- package/dist/types/components/q2-context/test/q2-context-test.vr.d.ts +1 -0
- package/dist/types/components/q2-currency/test/q2-currency-test.vr.d.ts +1 -0
- package/dist/types/components/q2-data-table/test/q2-data-table-test.vr.d.ts +1 -0
- package/dist/types/components/q2-editable-field/test/q2-editable-field-test.vr.d.ts +1 -0
- package/dist/types/components/q2-file-picker/test/q2-file-picker-test.vr.d.ts +1 -0
- package/dist/types/components/q2-formatted-text/test/q2-formatted-text-test.vr.d.ts +1 -0
- package/dist/types/components/q2-grid/q2-grid.d.ts +10 -0
- package/dist/types/components/q2-icon/test/q2-icon-test.vr.d.ts +1 -0
- package/dist/types/components/q2-input/test/q2-input-test.vr.d.ts +1 -0
- package/dist/types/components/q2-legend/q2-legend.d.ts +2 -0
- package/dist/types/components/q2-link/test/q2-link-test.vr.d.ts +1 -0
- package/dist/types/components/q2-list/test/q2-list-test.vr.d.ts +1 -0
- package/dist/types/components/q2-message/test/q2-message-test.vr.d.ts +1 -0
- package/dist/types/components/q2-meter/test/q2-meter-test.vr.d.ts +1 -0
- package/dist/types/components/q2-modal/test/q2-modal-test.vr.d.ts +1 -0
- package/dist/types/components/q2-otp/q2-otp.d.ts +159 -0
- package/dist/types/components/q2-pagination/test/q2-pagination-test.vr.d.ts +1 -0
- package/dist/types/components/q2-pill/q2-pill.d.ts +5 -2
- package/dist/types/components/q2-pill/test/q2-pill-test.vr.d.ts +1 -0
- package/dist/types/components/q2-radio/q2-radio.d.ts +1 -1
- package/dist/types/components/q2-radio/test/q2-radio-test.vr.d.ts +1 -0
- package/dist/types/components/q2-radio-group/test/q2-radio-group-test.vr.d.ts +1 -0
- package/dist/types/components/q2-section/test/q2-section-test.vr.d.ts +1 -0
- package/dist/types/components/q2-select/test/q2-select-test.vr.d.ts +1 -0
- package/dist/types/components/q2-stepper/test/q2-stepper-test.vr.d.ts +1 -0
- package/dist/types/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.d.ts +1 -0
- package/dist/types/components/q2-tab-container/test/q2-tab-container-test.vr.d.ts +1 -0
- package/dist/types/components/q2-tag/test/q2-tag-test.vr.d.ts +1 -0
- package/dist/types/components/q2-textarea/test/q2-textarea-test.vr.d.ts +1 -0
- package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +4 -0
- package/dist/types/components/q2-tooltip/test/q2-tooltip-test.vr.d.ts +1 -0
- package/dist/types/components.d.ts +306 -2
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/test/vr-helpers.d.ts +14 -0
- package/package.json +12 -3
- package/dist/cjs/component-DRAntnCA.js.map +0 -1
- package/dist/cjs/index-YvKoRT-t.js.map +0 -1
- package/dist/esm/component-DVxzK3WH.js.map +0 -1
- package/dist/esm/index-C4PILj1_.js.map +0 -1
- package/dist/q2-tecton-elements/component-DVxzK3WH.js +0 -40
- package/dist/q2-tecton-elements/component-DVxzK3WH.js.map +0 -1
- package/dist/q2-tecton-elements/index-C4PILj1_.js.map +0 -1
|
@@ -36,13 +36,13 @@ if (!c) {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
const
|
|
39
|
+
const u = unapply(Array.prototype.forEach);
|
|
40
40
|
|
|
41
|
-
const
|
|
41
|
+
const f = unapply(Array.prototype.lastIndexOf);
|
|
42
42
|
|
|
43
|
-
const
|
|
43
|
+
const d = unapply(Array.prototype.pop);
|
|
44
44
|
|
|
45
|
-
const
|
|
45
|
+
const p = unapply(Array.prototype.push);
|
|
46
46
|
|
|
47
47
|
const m = unapply(Array.prototype.splice);
|
|
48
48
|
|
|
@@ -216,18 +216,18 @@ const z = r([ "accent-height", "accumulate", "additive", "alignment-baseline", "
|
|
|
216
216
|
|
|
217
217
|
const M = r([ "accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns" ]);
|
|
218
218
|
|
|
219
|
-
const
|
|
219
|
+
const N = r([ "xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink" ]);
|
|
220
220
|
|
|
221
221
|
// eslint-disable-next-line unicorn/better-regex
|
|
222
|
-
const
|
|
222
|
+
const I = a(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
223
223
|
|
|
224
224
|
// Specify template detection regex for SAFE_FOR_TEMPLATES mode
|
|
225
|
-
const
|
|
225
|
+
const C = a(/<%[\w\W]*|[\w\W]*%>/gm);
|
|
226
226
|
|
|
227
|
-
const
|
|
227
|
+
const F = a(/\$\{[\w\W]*/gm);
|
|
228
228
|
|
|
229
229
|
// eslint-disable-line unicorn/better-regex
|
|
230
|
-
const
|
|
230
|
+
const P = a(/^data-[\-\w.\u00B7-\uFFFF]+$/);
|
|
231
231
|
|
|
232
232
|
// eslint-disable-line no-useless-escape
|
|
233
233
|
const H = a(/^aria-[\-\w]+$/);
|
|
@@ -235,31 +235,31 @@ const H = a(/^aria-[\-\w]+$/);
|
|
|
235
235
|
// eslint-disable-line no-useless-escape
|
|
236
236
|
const U = a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);
|
|
237
237
|
|
|
238
|
-
const
|
|
238
|
+
const B = a(/^(?:\w+script|data):/i);
|
|
239
239
|
|
|
240
|
-
const
|
|
240
|
+
const j = a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);
|
|
241
241
|
|
|
242
242
|
const G = a(/^html$/i);
|
|
243
243
|
|
|
244
|
-
const
|
|
244
|
+
const q = a(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
245
245
|
|
|
246
|
-
var
|
|
246
|
+
var W = Object.freeze({
|
|
247
247
|
__proto__: null,
|
|
248
248
|
ARIA_ATTR: H,
|
|
249
|
-
ATTR_WHITESPACE:
|
|
250
|
-
CUSTOM_ELEMENT:
|
|
251
|
-
DATA_ATTR:
|
|
249
|
+
ATTR_WHITESPACE: j,
|
|
250
|
+
CUSTOM_ELEMENT: q,
|
|
251
|
+
DATA_ATTR: P,
|
|
252
252
|
DOCTYPE_NAME: G,
|
|
253
|
-
ERB_EXPR:
|
|
253
|
+
ERB_EXPR: C,
|
|
254
254
|
IS_ALLOWED_URI: U,
|
|
255
|
-
IS_SCRIPT_OR_DATA:
|
|
256
|
-
MUSTACHE_EXPR:
|
|
257
|
-
TMPLIT_EXPR:
|
|
255
|
+
IS_SCRIPT_OR_DATA: B,
|
|
256
|
+
MUSTACHE_EXPR: I,
|
|
257
|
+
TMPLIT_EXPR: F
|
|
258
258
|
});
|
|
259
259
|
|
|
260
260
|
/* eslint-disable @typescript-eslint/indent */
|
|
261
261
|
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
262
|
-
const
|
|
262
|
+
const $ = {
|
|
263
263
|
element: 1,
|
|
264
264
|
text: 3,
|
|
265
265
|
// Deprecated
|
|
@@ -268,7 +268,7 @@ const Y = {
|
|
|
268
268
|
document: 9
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
const
|
|
271
|
+
const Y = function getGlobal() {
|
|
272
272
|
return typeof window === "undefined" ? null : window;
|
|
273
273
|
};
|
|
274
274
|
|
|
@@ -279,7 +279,7 @@ const X = function getGlobal() {
|
|
|
279
279
|
* @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
|
|
280
280
|
* @return The policy created (or null, if Trusted Types
|
|
281
281
|
* are not supported or creating the policy failed).
|
|
282
|
-
*/ const
|
|
282
|
+
*/ const X = function _createTrustedTypesPolicy(e, t) {
|
|
283
283
|
if (typeof e !== "object" || typeof e.createPolicy !== "function") {
|
|
284
284
|
return null;
|
|
285
285
|
}
|
|
@@ -325,11 +325,11 @@ const V = function _createHooksMap() {
|
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
function createDOMPurify() {
|
|
328
|
-
let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] :
|
|
328
|
+
let t = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Y();
|
|
329
329
|
const DOMPurify = e => createDOMPurify(e);
|
|
330
330
|
DOMPurify.version = "3.4.0";
|
|
331
331
|
DOMPurify.removed = [];
|
|
332
|
-
if (!t || !t.document || t.document.nodeType !==
|
|
332
|
+
if (!t || !t.document || t.document.nodeType !== $.document || !t.Element) {
|
|
333
333
|
// Not running in a browser, provide a factory function
|
|
334
334
|
// so that you can pass your own Window
|
|
335
335
|
DOMPurify.isSupported = false;
|
|
@@ -338,13 +338,13 @@ function createDOMPurify() {
|
|
|
338
338
|
let {document: n} = t;
|
|
339
339
|
const o = n;
|
|
340
340
|
const i = o.currentScript;
|
|
341
|
-
const {DocumentFragment: a, HTMLTemplateElement: s, Node: c, Element:
|
|
342
|
-
const
|
|
343
|
-
const
|
|
344
|
-
const K = lookupGetter(
|
|
345
|
-
const J = lookupGetter(
|
|
346
|
-
const Q = lookupGetter(
|
|
347
|
-
const Z = lookupGetter(
|
|
341
|
+
const {DocumentFragment: a, HTMLTemplateElement: s, Node: c, Element: I, NodeFilter: C, NamedNodeMap: F = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: P, DOMParser: H, trustedTypes: B} = t;
|
|
342
|
+
const j = I.prototype;
|
|
343
|
+
const q = lookupGetter(j, "cloneNode");
|
|
344
|
+
const K = lookupGetter(j, "remove");
|
|
345
|
+
const J = lookupGetter(j, "nextSibling");
|
|
346
|
+
const Q = lookupGetter(j, "childNodes");
|
|
347
|
+
const Z = lookupGetter(j, "parentNode");
|
|
348
348
|
// As per issue #47, the web-components registry is inherited by a
|
|
349
349
|
// new document created via createHTMLDocument. As per the spec
|
|
350
350
|
// (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
|
|
@@ -365,8 +365,8 @@ function createDOMPurify() {
|
|
|
365
365
|
/**
|
|
366
366
|
* Expose whether this browser supports running the full DOMPurify.
|
|
367
367
|
*/ DOMPurify.isSupported = typeof e === "function" && typeof Z === "function" && ne && ne.createHTMLDocument !== undefined;
|
|
368
|
-
const {MUSTACHE_EXPR: se, ERB_EXPR: ce, TMPLIT_EXPR:
|
|
369
|
-
let {IS_ALLOWED_URI: he} =
|
|
368
|
+
const {MUSTACHE_EXPR: se, ERB_EXPR: ce, TMPLIT_EXPR: ue, DATA_ATTR: fe, ARIA_ATTR: de, IS_SCRIPT_OR_DATA: pe, ATTR_WHITESPACE: me, CUSTOM_ELEMENT: ge} = W;
|
|
369
|
+
let {IS_ALLOWED_URI: he} = W;
|
|
370
370
|
/**
|
|
371
371
|
* We consider the elements and attributes below to be safe. Ideally
|
|
372
372
|
* don't add any new ones but feel free to remove unwanted ones.
|
|
@@ -374,7 +374,7 @@ function createDOMPurify() {
|
|
|
374
374
|
/* allowed element names */ let ye = null;
|
|
375
375
|
const be = addToSet({}, [ ..._, ...v, ...A, ...R, ...D ]);
|
|
376
376
|
/* Allowed attribute names */ let Te = null;
|
|
377
|
-
const Se = addToSet({}, [ ...L, ...z, ...M, ...
|
|
377
|
+
const Se = addToSet({}, [ ...L, ...z, ...M, ...N ]);
|
|
378
378
|
/*
|
|
379
379
|
* Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.
|
|
380
380
|
* @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
|
|
@@ -434,14 +434,14 @@ function createDOMPurify() {
|
|
|
434
434
|
/* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
|
|
435
435
|
* string (or a TrustedHTML object if Trusted Types are supported).
|
|
436
436
|
* If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
|
|
437
|
-
*/ let
|
|
437
|
+
*/ let Ne = false;
|
|
438
438
|
/* Decide if a DOM `DocumentFragment` should be returned, instead of a html
|
|
439
|
-
* string (or a TrustedHTML object if Trusted Types are supported) */ let
|
|
439
|
+
* string (or a TrustedHTML object if Trusted Types are supported) */ let Ie = false;
|
|
440
440
|
/* Try to return a Trusted Type object instead of a string, return a string in
|
|
441
|
-
* case Trusted Types are not supported */ let
|
|
441
|
+
* case Trusted Types are not supported */ let Ce = false;
|
|
442
442
|
/* Output should be free from DOM clobbering attacks?
|
|
443
443
|
* This sanitizes markups named with colliding, clobberable built-in DOM APIs.
|
|
444
|
-
*/ let
|
|
444
|
+
*/ let Fe = true;
|
|
445
445
|
/* Achieve full DOM Clobbering protection by isolating the namespace of named
|
|
446
446
|
* properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
|
|
447
447
|
*
|
|
@@ -454,18 +454,18 @@ function createDOMPurify() {
|
|
|
454
454
|
*
|
|
455
455
|
* Namespace isolation is implemented by prefixing `id` and `name` attributes
|
|
456
456
|
* with a constant string, i.e., `user-content-`
|
|
457
|
-
*/ let
|
|
457
|
+
*/ let Pe = false;
|
|
458
458
|
const He = "user-content-";
|
|
459
459
|
/* Keep element content when removing element? */ let Ue = true;
|
|
460
460
|
/* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
|
|
461
|
-
* of importing it into a new Document and returning a sanitized copy */ let
|
|
462
|
-
/* Allow usage of profiles like html, svg and mathMl */ let
|
|
461
|
+
* of importing it into a new Document and returning a sanitized copy */ let Be = false;
|
|
462
|
+
/* Allow usage of profiles like html, svg and mathMl */ let je = {};
|
|
463
463
|
/* Tags to ignore content of when KEEP_CONTENT is true */ let Ge = null;
|
|
464
|
-
const
|
|
465
|
-
/* Tags that are safe for data: URIs */ let
|
|
466
|
-
const
|
|
467
|
-
/* Attributes safe for values like "javascript:" */ let
|
|
468
|
-
const
|
|
464
|
+
const qe = addToSet({}, [ "annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp" ]);
|
|
465
|
+
/* Tags that are safe for data: URIs */ let We = null;
|
|
466
|
+
const $e = addToSet({}, [ "audio", "video", "img", "source", "image", "track" ]);
|
|
467
|
+
/* Attributes safe for values like "javascript:" */ let Ye = null;
|
|
468
|
+
const Xe = addToSet({}, [ "alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns" ]);
|
|
469
469
|
const Ve = "http://www.w3.org/1998/Math/MathML";
|
|
470
470
|
const Ke = "http://www.w3.org/2000/svg";
|
|
471
471
|
const Je = "http://www.w3.org/1999/xhtml";
|
|
@@ -486,8 +486,8 @@ function createDOMPurify() {
|
|
|
486
486
|
let st = null;
|
|
487
487
|
/* Keep a reference to config to pass to hooks */ let ct = null;
|
|
488
488
|
/* Ideally, do not touch anything below this line */
|
|
489
|
-
/* ______________________________________________ */ const
|
|
490
|
-
const
|
|
489
|
+
/* ______________________________________________ */ const ut = n.createElement("form");
|
|
490
|
+
const ft = function isRegexOrFunction(e) {
|
|
491
491
|
return e instanceof RegExp || e instanceof Function;
|
|
492
492
|
};
|
|
493
493
|
/**
|
|
@@ -496,7 +496,7 @@ function createDOMPurify() {
|
|
|
496
496
|
* @param cfg optional config literal
|
|
497
497
|
*/
|
|
498
498
|
// eslint-disable-next-line complexity
|
|
499
|
-
const
|
|
499
|
+
const dt = function _parseConfig() {
|
|
500
500
|
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
501
501
|
if (ct && ct === e) {
|
|
502
502
|
return;
|
|
@@ -513,12 +513,12 @@ function createDOMPurify() {
|
|
|
513
513
|
/* Set configuration parameters */ ye = w(e, "ALLOWED_TAGS") ? addToSet({}, e.ALLOWED_TAGS, st) : be;
|
|
514
514
|
Te = w(e, "ALLOWED_ATTR") ? addToSet({}, e.ALLOWED_ATTR, st) : Se;
|
|
515
515
|
et = w(e, "ALLOWED_NAMESPACES") ? addToSet({}, e.ALLOWED_NAMESPACES, h) : tt;
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
Ge = w(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, st) :
|
|
516
|
+
Ye = w(e, "ADD_URI_SAFE_ATTR") ? addToSet(clone(Xe), e.ADD_URI_SAFE_ATTR, st) : Xe;
|
|
517
|
+
We = w(e, "ADD_DATA_URI_TAGS") ? addToSet(clone($e), e.ADD_DATA_URI_TAGS, st) : $e;
|
|
518
|
+
Ge = w(e, "FORBID_CONTENTS") ? addToSet({}, e.FORBID_CONTENTS, st) : qe;
|
|
519
519
|
xe = w(e, "FORBID_TAGS") ? addToSet({}, e.FORBID_TAGS, st) : clone({});
|
|
520
520
|
ke = w(e, "FORBID_ATTR") ? addToSet({}, e.FORBID_ATTR, st) : clone({});
|
|
521
|
-
|
|
521
|
+
je = w(e, "USE_PROFILES") ? e.USE_PROFILES : false;
|
|
522
522
|
ve = e.ALLOW_ARIA_ATTR !== false;
|
|
523
523
|
// Default true
|
|
524
524
|
Ae = e.ALLOW_DATA_ATTR !== false;
|
|
@@ -533,31 +533,31 @@ function createDOMPurify() {
|
|
|
533
533
|
// Default true
|
|
534
534
|
Le = e.WHOLE_DOCUMENT || false;
|
|
535
535
|
// Default false
|
|
536
|
-
|
|
536
|
+
Ne = e.RETURN_DOM || false;
|
|
537
537
|
// Default false
|
|
538
|
-
|
|
538
|
+
Ie = e.RETURN_DOM_FRAGMENT || false;
|
|
539
539
|
// Default false
|
|
540
|
-
|
|
540
|
+
Ce = e.RETURN_TRUSTED_TYPE || false;
|
|
541
541
|
// Default false
|
|
542
542
|
Me = e.FORCE_BODY || false;
|
|
543
543
|
// Default false
|
|
544
|
-
|
|
544
|
+
Fe = e.SANITIZE_DOM !== false;
|
|
545
545
|
// Default true
|
|
546
|
-
|
|
546
|
+
Pe = e.SANITIZE_NAMED_PROPS || false;
|
|
547
547
|
// Default false
|
|
548
548
|
Ue = e.KEEP_CONTENT !== false;
|
|
549
549
|
// Default true
|
|
550
|
-
|
|
550
|
+
Be = e.IN_PLACE || false;
|
|
551
551
|
// Default false
|
|
552
552
|
he = e.ALLOWED_URI_REGEXP || U;
|
|
553
553
|
Qe = e.NAMESPACE || Je;
|
|
554
554
|
nt = e.MATHML_TEXT_INTEGRATION_POINTS || nt;
|
|
555
555
|
ot = e.HTML_INTEGRATION_POINTS || ot;
|
|
556
556
|
we = e.CUSTOM_ELEMENT_HANDLING || l(null);
|
|
557
|
-
if (e.CUSTOM_ELEMENT_HANDLING &&
|
|
557
|
+
if (e.CUSTOM_ELEMENT_HANDLING && ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
558
558
|
we.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
559
559
|
}
|
|
560
|
-
if (e.CUSTOM_ELEMENT_HANDLING &&
|
|
560
|
+
if (e.CUSTOM_ELEMENT_HANDLING && ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
|
|
561
561
|
we.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
|
|
562
562
|
}
|
|
563
563
|
if (e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === "boolean") {
|
|
@@ -566,30 +566,30 @@ function createDOMPurify() {
|
|
|
566
566
|
if (Oe) {
|
|
567
567
|
Ae = false;
|
|
568
568
|
}
|
|
569
|
-
if (
|
|
570
|
-
|
|
569
|
+
if (Ie) {
|
|
570
|
+
Ne = true;
|
|
571
571
|
}
|
|
572
|
-
/* Parse profile info */ if (
|
|
572
|
+
/* Parse profile info */ if (je) {
|
|
573
573
|
ye = addToSet({}, D);
|
|
574
574
|
Te = l(null);
|
|
575
|
-
if (
|
|
575
|
+
if (je.html === true) {
|
|
576
576
|
addToSet(ye, _);
|
|
577
577
|
addToSet(Te, L);
|
|
578
578
|
}
|
|
579
|
-
if (
|
|
579
|
+
if (je.svg === true) {
|
|
580
580
|
addToSet(ye, v);
|
|
581
581
|
addToSet(Te, z);
|
|
582
|
-
addToSet(Te,
|
|
582
|
+
addToSet(Te, N);
|
|
583
583
|
}
|
|
584
|
-
if (
|
|
584
|
+
if (je.svgFilters === true) {
|
|
585
585
|
addToSet(ye, A);
|
|
586
586
|
addToSet(Te, z);
|
|
587
|
-
addToSet(Te,
|
|
587
|
+
addToSet(Te, N);
|
|
588
588
|
}
|
|
589
|
-
if (
|
|
589
|
+
if (je.mathMl === true) {
|
|
590
590
|
addToSet(ye, R);
|
|
591
591
|
addToSet(Te, M);
|
|
592
|
-
addToSet(Te,
|
|
592
|
+
addToSet(Te, N);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
/* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent
|
|
@@ -616,16 +616,16 @@ function createDOMPurify() {
|
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
if (e.ADD_URI_SAFE_ATTR) {
|
|
619
|
-
addToSet(
|
|
619
|
+
addToSet(Ye, e.ADD_URI_SAFE_ATTR, st);
|
|
620
620
|
}
|
|
621
621
|
if (e.FORBID_CONTENTS) {
|
|
622
|
-
if (Ge ===
|
|
622
|
+
if (Ge === qe) {
|
|
623
623
|
Ge = clone(Ge);
|
|
624
624
|
}
|
|
625
625
|
addToSet(Ge, e.FORBID_CONTENTS, st);
|
|
626
626
|
}
|
|
627
627
|
if (e.ADD_FORBID_CONTENTS) {
|
|
628
|
-
if (Ge ===
|
|
628
|
+
if (Ge === qe) {
|
|
629
629
|
Ge = clone(Ge);
|
|
630
630
|
}
|
|
631
631
|
addToSet(Ge, e.ADD_FORBID_CONTENTS, st);
|
|
@@ -654,7 +654,7 @@ function createDOMPurify() {
|
|
|
654
654
|
} else {
|
|
655
655
|
// Uninitialized policy, attempt to initialize the internal dompurify policy.
|
|
656
656
|
if (ee === undefined) {
|
|
657
|
-
ee =
|
|
657
|
+
ee = X(B, i);
|
|
658
658
|
}
|
|
659
659
|
// If creating the internal policy succeeded sign internal variables.
|
|
660
660
|
if (ee !== null && typeof te === "string") {
|
|
@@ -670,7 +670,7 @@ function createDOMPurify() {
|
|
|
670
670
|
};
|
|
671
671
|
/* Keep track of all possible SVG and MathML tags
|
|
672
672
|
* so that we can perform the namespace checks
|
|
673
|
-
* correctly. */ const
|
|
673
|
+
* correctly. */ const pt = addToSet({}, [ ...v, ...A, ...E ]);
|
|
674
674
|
const mt = addToSet({}, [ ...R, ...O ]);
|
|
675
675
|
/**
|
|
676
676
|
* @param element a DOM element whose namespace is being checked
|
|
@@ -707,7 +707,7 @@ function createDOMPurify() {
|
|
|
707
707
|
}
|
|
708
708
|
// We only allow elements that are defined in SVG
|
|
709
709
|
// spec. All others are disallowed in SVG namespace.
|
|
710
|
-
return Boolean(
|
|
710
|
+
return Boolean(pt[n]);
|
|
711
711
|
}
|
|
712
712
|
if (e.namespaceURI === Ve) {
|
|
713
713
|
// The only way to switch from HTML namespace to MathML
|
|
@@ -737,7 +737,7 @@ function createDOMPurify() {
|
|
|
737
737
|
}
|
|
738
738
|
// We disallow tags that are specific for MathML
|
|
739
739
|
// or SVG and should never appear in HTML namespace
|
|
740
|
-
return !mt[n] && (it[n] || !
|
|
740
|
+
return !mt[n] && (it[n] || !pt[n]);
|
|
741
741
|
}
|
|
742
742
|
// For XHTML and XML documents that support custom namespaces
|
|
743
743
|
if (rt === "application/xhtml+xml" && et[e.namespaceURI]) {
|
|
@@ -754,7 +754,7 @@ function createDOMPurify() {
|
|
|
754
754
|
*
|
|
755
755
|
* @param node a DOM node
|
|
756
756
|
*/ const ht = function _forceRemove(e) {
|
|
757
|
-
|
|
757
|
+
p(DOMPurify.removed, {
|
|
758
758
|
element: e
|
|
759
759
|
});
|
|
760
760
|
try {
|
|
@@ -771,12 +771,12 @@ function createDOMPurify() {
|
|
|
771
771
|
* @param element a DOM node
|
|
772
772
|
*/ const yt = function _removeAttribute(e, t) {
|
|
773
773
|
try {
|
|
774
|
-
|
|
774
|
+
p(DOMPurify.removed, {
|
|
775
775
|
attribute: t.getAttributeNode(e),
|
|
776
776
|
from: t
|
|
777
777
|
});
|
|
778
778
|
} catch (e) {
|
|
779
|
-
|
|
779
|
+
p(DOMPurify.removed, {
|
|
780
780
|
attribute: null,
|
|
781
781
|
from: t
|
|
782
782
|
});
|
|
@@ -784,7 +784,7 @@ function createDOMPurify() {
|
|
|
784
784
|
t.removeAttribute(e);
|
|
785
785
|
// We void attribute values for unremovable "is" attributes
|
|
786
786
|
if (e === "is") {
|
|
787
|
-
if (
|
|
787
|
+
if (Ne || Ie) {
|
|
788
788
|
try {
|
|
789
789
|
ht(t);
|
|
790
790
|
} catch (e) {}
|
|
@@ -849,7 +849,7 @@ function createDOMPurify() {
|
|
|
849
849
|
*/ const Tt = function _createNodeIterator(e) {
|
|
850
850
|
return oe.call(e.ownerDocument || e, e,
|
|
851
851
|
// eslint-disable-next-line no-bitwise
|
|
852
|
-
|
|
852
|
+
C.SHOW_ELEMENT | C.SHOW_COMMENT | C.SHOW_TEXT | C.SHOW_PROCESSING_INSTRUCTION | C.SHOW_CDATA_SECTION, null);
|
|
853
853
|
};
|
|
854
854
|
/**
|
|
855
855
|
* _isClobbered
|
|
@@ -857,7 +857,7 @@ function createDOMPurify() {
|
|
|
857
857
|
* @param element element to check for clobbering attacks
|
|
858
858
|
* @return true if clobbered, false if safe
|
|
859
859
|
*/ const St = function _isClobbered(e) {
|
|
860
|
-
return e instanceof
|
|
860
|
+
return e instanceof P && (typeof e.nodeName !== "string" || typeof e.textContent !== "string" || typeof e.removeChild !== "function" || !(e.attributes instanceof F) || typeof e.removeAttribute !== "function" || typeof e.setAttribute !== "function" || typeof e.namespaceURI !== "string" || typeof e.insertBefore !== "function" || typeof e.hasChildNodes !== "function");
|
|
861
861
|
};
|
|
862
862
|
/**
|
|
863
863
|
* Checks whether the given object is a DOM node.
|
|
@@ -868,7 +868,7 @@ function createDOMPurify() {
|
|
|
868
868
|
return typeof c === "function" && e instanceof c;
|
|
869
869
|
};
|
|
870
870
|
function _executeHooks(e, t, n) {
|
|
871
|
-
|
|
871
|
+
u(e, (e => {
|
|
872
872
|
e.call(DOMPurify, t, n, ct);
|
|
873
873
|
}));
|
|
874
874
|
}
|
|
@@ -900,11 +900,11 @@ function createDOMPurify() {
|
|
|
900
900
|
ht(e);
|
|
901
901
|
return true;
|
|
902
902
|
}
|
|
903
|
-
/* Remove any occurrence of processing instructions */ if (e.nodeType ===
|
|
903
|
+
/* Remove any occurrence of processing instructions */ if (e.nodeType === $.progressingInstruction) {
|
|
904
904
|
ht(e);
|
|
905
905
|
return true;
|
|
906
906
|
}
|
|
907
|
-
/* Remove any kind of possibly harmful comments */ if (De && e.nodeType ===
|
|
907
|
+
/* Remove any kind of possibly harmful comments */ if (De && e.nodeType === $.comment && x(/<[/\w]/g, e.data)) {
|
|
908
908
|
ht(e);
|
|
909
909
|
return true;
|
|
910
910
|
}
|
|
@@ -924,7 +924,7 @@ function createDOMPurify() {
|
|
|
924
924
|
if (n && t) {
|
|
925
925
|
const o = n.length;
|
|
926
926
|
for (let i = o - 1; i >= 0; --i) {
|
|
927
|
-
const o =
|
|
927
|
+
const o = q(n[i], true);
|
|
928
928
|
o.__removalCount = (e.__removalCount || 0) + 1;
|
|
929
929
|
t.insertBefore(o, J(e));
|
|
930
930
|
}
|
|
@@ -933,7 +933,7 @@ function createDOMPurify() {
|
|
|
933
933
|
ht(e);
|
|
934
934
|
return true;
|
|
935
935
|
}
|
|
936
|
-
/* Check whether element has a valid namespace */ if (e instanceof
|
|
936
|
+
/* Check whether element has a valid namespace */ if (e instanceof I && !gt(e)) {
|
|
937
937
|
ht(e);
|
|
938
938
|
return true;
|
|
939
939
|
}
|
|
@@ -941,14 +941,14 @@ function createDOMPurify() {
|
|
|
941
941
|
ht(e);
|
|
942
942
|
return true;
|
|
943
943
|
}
|
|
944
|
-
/* Sanitize element content to be template-safe */ if (Oe && e.nodeType ===
|
|
944
|
+
/* Sanitize element content to be template-safe */ if (Oe && e.nodeType === $.text) {
|
|
945
945
|
/* Get the element's text content */
|
|
946
946
|
t = e.textContent;
|
|
947
|
-
|
|
947
|
+
u([ se, ce, ue ], (e => {
|
|
948
948
|
t = b(t, e, " ");
|
|
949
949
|
}));
|
|
950
950
|
if (e.textContent !== t) {
|
|
951
|
-
|
|
951
|
+
p(DOMPurify.removed, {
|
|
952
952
|
element: e.cloneNode()
|
|
953
953
|
});
|
|
954
954
|
e.textContent = t;
|
|
@@ -971,13 +971,13 @@ function createDOMPurify() {
|
|
|
971
971
|
if (ke[t]) {
|
|
972
972
|
return false;
|
|
973
973
|
}
|
|
974
|
-
/* Make sure attribute cannot clobber */ if (
|
|
974
|
+
/* Make sure attribute cannot clobber */ if (Fe && (t === "id" || t === "name") && (o in n || o in ut)) {
|
|
975
975
|
return false;
|
|
976
976
|
}
|
|
977
977
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
978
978
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
979
979
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
980
|
-
We don't need to check the value; it's always URI safe. */ if (Ae && !ke[t] && x(
|
|
980
|
+
We don't need to check the value; it's always URI safe. */ if (Ae && !ke[t] && x(fe, t)) ; else if (ve && x(de, t)) ; else if (_e.attributeCheck instanceof Function && _e.attributeCheck(t, e)) ; else if (!Te[t] || ke[t]) {
|
|
981
981
|
if (
|
|
982
982
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
983
983
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -988,7 +988,7 @@ function createDOMPurify() {
|
|
|
988
988
|
t === "is" && we.allowCustomizedBuiltInElements && (we.tagNameCheck instanceof RegExp && x(we.tagNameCheck, o) || we.tagNameCheck instanceof Function && we.tagNameCheck(o))) ; else {
|
|
989
989
|
return false;
|
|
990
990
|
}
|
|
991
|
-
/* Check value is safe. First, is attr inert? If so, is safe */ } else if (
|
|
991
|
+
/* Check value is safe. First, is attr inert? If so, is safe */ } else if (Ye[t]) ; else if (x(he, b(o, me, ""))) ; else if ((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && T(o, "data:") === 0 && We[e]) ; else if (Ee && !x(pe, b(o, me, ""))) ; else if (o) {
|
|
992
992
|
return false;
|
|
993
993
|
} else ;
|
|
994
994
|
return true;
|
|
@@ -1032,27 +1032,27 @@ function createDOMPurify() {
|
|
|
1032
1032
|
const {name: r, namespaceURI: a, value: l} = i;
|
|
1033
1033
|
const s = st(r);
|
|
1034
1034
|
const c = l;
|
|
1035
|
-
let
|
|
1035
|
+
let f = r === "value" ? c : S(c);
|
|
1036
1036
|
/* Execute a hook if present */ n.attrName = s;
|
|
1037
|
-
n.attrValue =
|
|
1037
|
+
n.attrValue = f;
|
|
1038
1038
|
n.keepAttr = true;
|
|
1039
1039
|
n.forceKeepAttr = undefined;
|
|
1040
1040
|
// Allows developers to see this is a property they can set
|
|
1041
1041
|
_executeHooks(le.uponSanitizeAttribute, e, n);
|
|
1042
|
-
|
|
1042
|
+
f = n.attrValue;
|
|
1043
1043
|
/* Full DOM Clobbering protection via namespace isolation,
|
|
1044
1044
|
* Prefix id and name attributes with `user-content-`
|
|
1045
|
-
*/ if (
|
|
1045
|
+
*/ if (Pe && (s === "id" || s === "name")) {
|
|
1046
1046
|
// Remove the attribute with this value
|
|
1047
1047
|
yt(r, e);
|
|
1048
1048
|
// Prefix the value and later re-create the attribute with the sanitized value
|
|
1049
|
-
|
|
1049
|
+
f = He + f;
|
|
1050
1050
|
}
|
|
1051
|
-
/* Work around a security issue with comments inside attributes */ if (De && x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,
|
|
1051
|
+
/* Work around a security issue with comments inside attributes */ if (De && x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
1052
1052
|
yt(r, e);
|
|
1053
1053
|
continue;
|
|
1054
1054
|
}
|
|
1055
|
-
/* Make sure we cannot easily use animated hrefs, even if animations are allowed */ if (s === "attributename" && y(
|
|
1055
|
+
/* Make sure we cannot easily use animated hrefs, even if animations are allowed */ if (s === "attributename" && y(f, "href")) {
|
|
1056
1056
|
yt(r, e);
|
|
1057
1057
|
continue;
|
|
1058
1058
|
}
|
|
@@ -1063,49 +1063,49 @@ function createDOMPurify() {
|
|
|
1063
1063
|
yt(r, e);
|
|
1064
1064
|
continue;
|
|
1065
1065
|
}
|
|
1066
|
-
/* Work around a security issue in jQuery 3.0 */ if (!Re && x(/\/>/i,
|
|
1066
|
+
/* Work around a security issue in jQuery 3.0 */ if (!Re && x(/\/>/i, f)) {
|
|
1067
1067
|
yt(r, e);
|
|
1068
1068
|
continue;
|
|
1069
1069
|
}
|
|
1070
1070
|
/* Sanitize attribute content to be template-safe */ if (Oe) {
|
|
1071
|
-
|
|
1072
|
-
|
|
1071
|
+
u([ se, ce, ue ], (e => {
|
|
1072
|
+
f = b(f, e, " ");
|
|
1073
1073
|
}));
|
|
1074
1074
|
}
|
|
1075
|
-
/* Is `value` valid for this attribute? */ const
|
|
1076
|
-
if (!kt(
|
|
1075
|
+
/* Is `value` valid for this attribute? */ const p = st(e.nodeName);
|
|
1076
|
+
if (!kt(p, s, f)) {
|
|
1077
1077
|
yt(r, e);
|
|
1078
1078
|
continue;
|
|
1079
1079
|
}
|
|
1080
|
-
/* Handle attributes that require Trusted Types */ if (ee && typeof
|
|
1080
|
+
/* Handle attributes that require Trusted Types */ if (ee && typeof B === "object" && typeof B.getAttributeType === "function") {
|
|
1081
1081
|
if (a) ; else {
|
|
1082
|
-
switch (
|
|
1082
|
+
switch (B.getAttributeType(p, s)) {
|
|
1083
1083
|
case "TrustedHTML":
|
|
1084
1084
|
{
|
|
1085
|
-
|
|
1085
|
+
f = ee.createHTML(f);
|
|
1086
1086
|
break;
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
1089
|
case "TrustedScriptURL":
|
|
1090
1090
|
{
|
|
1091
|
-
|
|
1091
|
+
f = ee.createScriptURL(f);
|
|
1092
1092
|
break;
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
/* Handle invalid data-* attribute set by try-catching it */ if (
|
|
1097
|
+
/* Handle invalid data-* attribute set by try-catching it */ if (f !== c) {
|
|
1098
1098
|
try {
|
|
1099
1099
|
if (a) {
|
|
1100
|
-
e.setAttributeNS(a, r,
|
|
1100
|
+
e.setAttributeNS(a, r, f);
|
|
1101
1101
|
} else {
|
|
1102
1102
|
/* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
|
|
1103
|
-
e.setAttribute(r,
|
|
1103
|
+
e.setAttribute(r, f);
|
|
1104
1104
|
}
|
|
1105
1105
|
if (St(e)) {
|
|
1106
1106
|
ht(e);
|
|
1107
1107
|
} else {
|
|
1108
|
-
|
|
1108
|
+
d(DOMPurify.removed);
|
|
1109
1109
|
}
|
|
1110
1110
|
} catch (t) {
|
|
1111
1111
|
yt(r, e);
|
|
@@ -1160,13 +1160,13 @@ function createDOMPurify() {
|
|
|
1160
1160
|
return e;
|
|
1161
1161
|
}
|
|
1162
1162
|
/* Assign config vars */ if (!ze) {
|
|
1163
|
-
|
|
1163
|
+
dt(t);
|
|
1164
1164
|
}
|
|
1165
1165
|
/* Clean up removed elements */ DOMPurify.removed = [];
|
|
1166
1166
|
/* Check if dirty is correctly typed for IN_PLACE */ if (typeof e === "string") {
|
|
1167
|
-
|
|
1167
|
+
Be = false;
|
|
1168
1168
|
}
|
|
1169
|
-
if (
|
|
1169
|
+
if (Be) {
|
|
1170
1170
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
|
1171
1171
|
if (e.nodeName) {
|
|
1172
1172
|
const t = st(e.nodeName);
|
|
@@ -1179,7 +1179,7 @@ function createDOMPurify() {
|
|
|
1179
1179
|
elements being stripped by the parser */
|
|
1180
1180
|
n = bt("\x3c!----\x3e");
|
|
1181
1181
|
i = n.ownerDocument.importNode(e, true);
|
|
1182
|
-
if (i.nodeType ===
|
|
1182
|
+
if (i.nodeType === $.element && i.nodeName === "BODY") {
|
|
1183
1183
|
/* Node is already a body, use as is */
|
|
1184
1184
|
n = i;
|
|
1185
1185
|
} else if (i.nodeName === "HTML") {
|
|
@@ -1190,20 +1190,20 @@ function createDOMPurify() {
|
|
|
1190
1190
|
}
|
|
1191
1191
|
} else {
|
|
1192
1192
|
/* Exit directly if we have nothing to do */
|
|
1193
|
-
if (!
|
|
1193
|
+
if (!Ne && !Oe && !Le &&
|
|
1194
1194
|
// eslint-disable-next-line unicorn/prefer-includes
|
|
1195
1195
|
e.indexOf("<") === -1) {
|
|
1196
|
-
return ee &&
|
|
1196
|
+
return ee && Ce ? ee.createHTML(e) : e;
|
|
1197
1197
|
}
|
|
1198
1198
|
/* Initialize the document to work on */ n = bt(e);
|
|
1199
1199
|
/* Check we have a DOM node from the data */ if (!n) {
|
|
1200
|
-
return
|
|
1200
|
+
return Ne ? null : Ce ? te : "";
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
/* Remove first element node (ours) if FORCE_BODY is set */ if (n && Me) {
|
|
1204
1204
|
ht(n.firstChild);
|
|
1205
1205
|
}
|
|
1206
|
-
/* Get node iterator */ const s = Tt(
|
|
1206
|
+
/* Get node iterator */ const s = Tt(Be ? e : n);
|
|
1207
1207
|
/* Now start iterating over the created document */ while (r = s.nextNode()) {
|
|
1208
1208
|
/* Sanitize tags and elements */
|
|
1209
1209
|
xt(r);
|
|
@@ -1212,19 +1212,19 @@ function createDOMPurify() {
|
|
|
1212
1212
|
At(r.content);
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
|
-
/* If we sanitized `dirty` in-place, return it. */ if (
|
|
1215
|
+
/* If we sanitized `dirty` in-place, return it. */ if (Be) {
|
|
1216
1216
|
return e;
|
|
1217
1217
|
}
|
|
1218
|
-
/* Return sanitized string or DOM */ if (
|
|
1218
|
+
/* Return sanitized string or DOM */ if (Ne) {
|
|
1219
1219
|
if (Oe) {
|
|
1220
1220
|
n.normalize();
|
|
1221
1221
|
let e = n.innerHTML;
|
|
1222
|
-
|
|
1222
|
+
u([ se, ce, ue ], (t => {
|
|
1223
1223
|
e = b(e, t, " ");
|
|
1224
1224
|
}));
|
|
1225
1225
|
n.innerHTML = e;
|
|
1226
1226
|
}
|
|
1227
|
-
if (
|
|
1227
|
+
if (Ie) {
|
|
1228
1228
|
l = ie.call(n.ownerDocument);
|
|
1229
1229
|
while (n.firstChild) {
|
|
1230
1230
|
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
|
@@ -1245,20 +1245,20 @@ function createDOMPurify() {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
return l;
|
|
1247
1247
|
}
|
|
1248
|
-
let
|
|
1248
|
+
let f = Le ? n.outerHTML : n.innerHTML;
|
|
1249
1249
|
/* Serialize doctype if allowed */ if (Le && ye["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && x(G, n.ownerDocument.doctype.name)) {
|
|
1250
|
-
|
|
1250
|
+
f = "<!DOCTYPE " + n.ownerDocument.doctype.name + ">\n" + f;
|
|
1251
1251
|
}
|
|
1252
1252
|
/* Sanitize final string template-safe */ if (Oe) {
|
|
1253
|
-
|
|
1254
|
-
|
|
1253
|
+
u([ se, ce, ue ], (e => {
|
|
1254
|
+
f = b(f, e, " ");
|
|
1255
1255
|
}));
|
|
1256
1256
|
}
|
|
1257
|
-
return ee &&
|
|
1257
|
+
return ee && Ce ? ee.createHTML(f) : f;
|
|
1258
1258
|
};
|
|
1259
1259
|
DOMPurify.setConfig = function() {
|
|
1260
1260
|
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1261
|
-
|
|
1261
|
+
dt(e);
|
|
1262
1262
|
ze = true;
|
|
1263
1263
|
};
|
|
1264
1264
|
DOMPurify.clearConfig = function() {
|
|
@@ -1268,7 +1268,7 @@ function createDOMPurify() {
|
|
|
1268
1268
|
DOMPurify.isValidAttribute = function(e, t, n) {
|
|
1269
1269
|
/* Initialize shared config vars if necessary. */
|
|
1270
1270
|
if (!ct) {
|
|
1271
|
-
|
|
1271
|
+
dt({});
|
|
1272
1272
|
}
|
|
1273
1273
|
const o = st(e);
|
|
1274
1274
|
const i = st(t);
|
|
@@ -1278,14 +1278,14 @@ function createDOMPurify() {
|
|
|
1278
1278
|
if (typeof t !== "function") {
|
|
1279
1279
|
return;
|
|
1280
1280
|
}
|
|
1281
|
-
|
|
1281
|
+
p(le[e], t);
|
|
1282
1282
|
};
|
|
1283
1283
|
DOMPurify.removeHook = function(e, t) {
|
|
1284
1284
|
if (t !== undefined) {
|
|
1285
|
-
const n =
|
|
1285
|
+
const n = f(le[e], t);
|
|
1286
1286
|
return n === -1 ? undefined : m(le[e], n, 1)[0];
|
|
1287
1287
|
}
|
|
1288
|
-
return
|
|
1288
|
+
return d(le[e]);
|
|
1289
1289
|
};
|
|
1290
1290
|
DOMPurify.removeHooks = function(e) {
|
|
1291
1291
|
le[e] = [];
|
|
@@ -1309,11 +1309,16 @@ function sanitizeHTMLString(e) {
|
|
|
1309
1309
|
|
|
1310
1310
|
function sanitizeActionSheetSlotHtml(e) {
|
|
1311
1311
|
return K(window).sanitize(e, {
|
|
1312
|
-
ALLOWED_TAGS: [ "q2-detail", "span", "q2-item", "q2-list", "q2-
|
|
1313
|
-
ALLOWED_ATTR: [ "description", "alignment", "slot", "size", "stacked", "style" ]
|
|
1312
|
+
ALLOWED_TAGS: [ "q2-detail", "span", "q2-item", "q2-list", "q2-icon", "div" ],
|
|
1313
|
+
ALLOWED_ATTR: [ "description", "alignment", "slot", "size", "stacked", "style", "type", "label", "clickable", "bordered", "inline" ],
|
|
1314
|
+
CUSTOM_ELEMENT_HANDLING: {
|
|
1315
|
+
tagNameCheck: /^q2-(detail|item|list|icon)$/,
|
|
1316
|
+
attributeNameCheck: /^(description|alignment|slot|size|stacked|style|class|type|label|clickable|bordered|inline)$/,
|
|
1317
|
+
allowCustomizedBuiltInElements: false
|
|
1318
|
+
}
|
|
1314
1319
|
});
|
|
1315
1320
|
}
|
|
1316
1321
|
|
|
1317
1322
|
export { sanitizeActionSheetSlotHtml as a, sanitizeHTMLString as s };
|
|
1318
|
-
//# sourceMappingURL=sanitize-html-string-
|
|
1319
|
-
//# sourceMappingURL=sanitize-html-string-
|
|
1323
|
+
//# sourceMappingURL=sanitize-html-string-DPHNpMWE.js.map
|
|
1324
|
+
//# sourceMappingURL=sanitize-html-string-DPHNpMWE.js.map
|