@sankhyalabs/ezui 7.1.5 → 7.1.7
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/ApplicationUtils-5cc05979.js.gz +0 -0
- package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
- package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
- package/dist/cjs/DialogType-2114c337.js.gz +0 -0
- package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
- package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
- package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
- package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
- package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
- package/dist/cjs/constants-72b7e05e.js.gz +0 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box-list_4.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid.cjs.entry.js +2 -2
- package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js +7 -5
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/floating-ui.dom.esm-f4d87617.js.gz +0 -0
- package/dist/cjs/index-1be40f19.js.gz +0 -0
- package/dist/cjs/index-a7b0c73d.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/{purify-c3bd8e84.js → purify-62aeacfa.js} +288 -149
- package/dist/cjs/purify-62aeacfa.js.gz +0 -0
- package/dist/cjs/{search-column-00a916ae.js → search-column-316e2c59.js} +14 -2
- package/dist/cjs/search-column-316e2c59.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
- package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
- package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
- package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
- package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
- package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
- package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js +7 -5
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/global/app-init.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ag-grid-license.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
- package/dist/collection/utils/i18n/index.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
- package/dist/collection/utils/i18n/translations.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js +14 -2
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/search/types.js.gz +0 -0
- package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.js +309 -156
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
- package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
- package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
- package/dist/esm/DialogType-54a62731.js.gz +0 -0
- package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
- package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
- package/dist/esm/FormLayout-071d324c.js.gz +0 -0
- package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
- package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
- package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
- package/dist/esm/constants-3fabe81e.js.gz +0 -0
- package/dist/esm/ez-actions-button.entry.js.gz +0 -0
- package/dist/esm/ez-alert-list.entry.js.gz +0 -0
- package/dist/esm/ez-alert.entry.js.gz +0 -0
- package/dist/esm/ez-application.entry.js.gz +0 -0
- package/dist/esm/ez-avatar.entry.js.gz +0 -0
- package/dist/esm/ez-badge.entry.js.gz +0 -0
- package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
- package/dist/esm/ez-button.entry.js.gz +0 -0
- package/dist/esm/ez-calendar.entry.js.gz +0 -0
- package/dist/esm/ez-card-item.entry.js.gz +0 -0
- package/dist/esm/ez-chart.entry.js.gz +0 -0
- package/dist/esm/ez-check.entry.js.gz +0 -0
- package/dist/esm/ez-chip.entry.js.gz +0 -0
- package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-classic-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box-list_4.entry.js +1 -1
- package/dist/esm/ez-combo-box-list_4.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-dialog.entry.js.gz +0 -0
- package/dist/esm/ez-double-list.entry.js.gz +0 -0
- package/dist/esm/ez-dropdown.entry.js.gz +0 -0
- package/dist/esm/ez-empty-card.entry.js.gz +0 -0
- package/dist/esm/ez-file-item.entry.js.gz +0 -0
- package/dist/esm/ez-filter-input.entry.js.gz +0 -0
- package/dist/esm/ez-form-view.entry.js.gz +0 -0
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-form.entry.js.gz +0 -0
- package/dist/esm/ez-grid-view.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js +2 -2
- package/dist/esm/ez-grid.entry.js.gz +0 -0
- package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-icon.entry.js.gz +0 -0
- package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
- package/dist/esm/ez-list-item.entry.js.gz +0 -0
- package/dist/esm/ez-list.entry.js.gz +0 -0
- package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
- package/dist/esm/ez-modal-container.entry.js.gz +0 -0
- package/dist/esm/ez-modal.entry.js.gz +0 -0
- package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
- package/dist/esm/ez-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-pagination.entry.js.gz +0 -0
- package/dist/esm/ez-popover-core.entry.js.gz +0 -0
- package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
- package/dist/esm/ez-popover.entry.js.gz +0 -0
- package/dist/esm/ez-popup.entry.js.gz +0 -0
- package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
- package/dist/esm/ez-radio-button.entry.js.gz +0 -0
- package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search-plus.entry.js.gz +0 -0
- package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-skeleton.entry.js.gz +0 -0
- package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
- package/dist/esm/ez-spinner.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-tag-input.entry.js.gz +0 -0
- package/dist/esm/ez-tag.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js +7 -5
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
- package/dist/esm/ez-tile.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-underface.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/floating-ui.dom.esm-ad30f2f0.js.gz +0 -0
- package/dist/esm/index-41363fa6.js.gz +0 -0
- package/dist/esm/index-baa5e267.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/{purify-c5bc24b5.js → purify-bb84fa8e.js} +288 -149
- package/dist/esm/purify-bb84fa8e.js.gz +0 -0
- package/dist/esm/{search-column-3984faec.js → search-column-c20d2b01.js} +14 -2
- package/dist/esm/search-column-c20d2b01.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
- package/dist/ezui/p-04126429.js +1 -0
- package/dist/ezui/p-04126429.js.gz +0 -0
- package/dist/ezui/p-05c32903.entry.js.gz +0 -0
- package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
- package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
- package/dist/ezui/p-112455b1.js.gz +0 -0
- package/dist/ezui/p-18384b91.entry.js.gz +0 -0
- package/dist/ezui/{p-dae53d02.entry.js → p-19651cfd.entry.js} +1 -1
- package/dist/ezui/p-19651cfd.entry.js.gz +0 -0
- package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
- package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-2528e988.entry.js.gz +0 -0
- package/dist/ezui/p-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-2a806303.js.gz +0 -0
- package/dist/ezui/p-2b49aa22.entry.js.gz +0 -0
- package/dist/ezui/p-30ffb9ed.js.gz +0 -0
- package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
- package/dist/ezui/p-351fb12f.entry.js.gz +0 -0
- package/dist/ezui/p-35bfaa88.entry.js.gz +0 -0
- package/dist/ezui/p-39761eca.entry.js.gz +0 -0
- package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
- package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
- package/dist/ezui/{p-12fb485f.entry.js → p-3cfaae89.entry.js} +1 -1
- package/dist/ezui/p-3cfaae89.entry.js.gz +0 -0
- package/dist/ezui/p-3e767a74.js.gz +0 -0
- package/dist/ezui/p-40a60148.js.gz +0 -0
- package/dist/ezui/p-411c0222.entry.js.gz +0 -0
- package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
- package/dist/ezui/p-48effc69.entry.js.gz +0 -0
- package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
- package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
- package/dist/ezui/p-5554704c.js.gz +0 -0
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
- package/dist/ezui/p-6a9acf9f.js +3 -0
- package/dist/ezui/p-6a9acf9f.js.gz +0 -0
- package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
- package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
- package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
- package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
- package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
- package/dist/ezui/p-721fd999.entry.js.gz +0 -0
- package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
- package/dist/ezui/p-7f37ee99.entry.js.gz +0 -0
- package/dist/ezui/p-7f792043.entry.js.gz +0 -0
- package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-859e3134.entry.js.gz +0 -0
- package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
- package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
- package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
- package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
- package/dist/ezui/{p-43adc10c.entry.js → p-94deb71e.entry.js} +1 -1
- package/dist/ezui/p-94deb71e.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
- package/dist/ezui/p-9b215871.entry.js.gz +0 -0
- package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
- package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
- package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
- package/dist/ezui/p-a278f26e.entry.js +1 -0
- package/dist/ezui/p-a278f26e.entry.js.gz +0 -0
- package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
- package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
- package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
- package/dist/ezui/p-a61fdd20.js.gz +0 -0
- package/dist/ezui/p-a63b20a0.entry.js.gz +0 -0
- package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-b1e45320.js.gz +0 -0
- package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
- package/dist/ezui/p-baec56c9.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/p-cde41310.entry.js.gz +0 -0
- package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
- package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
- package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
- package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
- package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
- package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
- package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
- package/dist/ezui/p-dc628ed3.js.gz +0 -0
- package/dist/ezui/p-de862af4.entry.js.gz +0 -0
- package/dist/ezui/p-dee18824.entry.js.gz +0 -0
- package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
- package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
- package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
- package/dist/ezui/p-ec730d4e.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
- package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
- package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
- package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
- package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
- package/package.json +1 -1
- package/dist/cjs/purify-c3bd8e84.js.gz +0 -0
- package/dist/cjs/search-column-00a916ae.js.gz +0 -0
- package/dist/esm/purify-c5bc24b5.js.gz +0 -0
- package/dist/esm/search-column-3984faec.js.gz +0 -0
- package/dist/ezui/p-12fb485f.entry.js.gz +0 -0
- package/dist/ezui/p-3c5fd0fd.js +0 -3
- package/dist/ezui/p-3c5fd0fd.js.gz +0 -0
- package/dist/ezui/p-43adc10c.entry.js.gz +0 -0
- package/dist/ezui/p-4864fca2.entry.js +0 -1
- package/dist/ezui/p-4864fca2.entry.js.gz +0 -0
- package/dist/ezui/p-56fc1da0.js +0 -1
- package/dist/ezui/p-56fc1da0.js.gz +0 -0
- package/dist/ezui/p-dae53d02.entry.js.gz +0 -0
|
@@ -4053,6 +4053,14 @@ var CheckMode;
|
|
|
4053
4053
|
CheckMode["SWITCH"] = "SWITCH";
|
|
4054
4054
|
})(CheckMode || (CheckMode = {}));
|
|
4055
4055
|
|
|
4056
|
+
const isSystemRequired = (descriptor) => {
|
|
4057
|
+
var _a;
|
|
4058
|
+
return (descriptor === null || descriptor === void 0 ? void 0 : descriptor.required) === true || ((_a = descriptor === null || descriptor === void 0 ? void 0 : descriptor.properties) === null || _a === void 0 ? void 0 : _a.systemRequired) === 'S';
|
|
4059
|
+
};
|
|
4060
|
+
const isSystemReadOnly = (descriptor) => {
|
|
4061
|
+
var _a;
|
|
4062
|
+
return (descriptor === null || descriptor === void 0 ? void 0 : descriptor.readOnly) === true || ((_a = descriptor === null || descriptor === void 0 ? void 0 : descriptor.properties) === null || _a === void 0 ? void 0 : _a.systemReadOnly) === 'S';
|
|
4063
|
+
};
|
|
4056
4064
|
const buildFieldMetadata = (descriptor, config) => {
|
|
4057
4065
|
var _a, _b;
|
|
4058
4066
|
let { name, label, group } = Object.assign({}, config);
|
|
@@ -4062,8 +4070,12 @@ const buildFieldMetadata = (descriptor, config) => {
|
|
|
4062
4070
|
if (descriptor) {
|
|
4063
4071
|
label = label || descriptor.label;
|
|
4064
4072
|
name = name || descriptor.name;
|
|
4065
|
-
required = (
|
|
4066
|
-
|
|
4073
|
+
required = isSystemRequired(descriptor)
|
|
4074
|
+
? true
|
|
4075
|
+
: ((_a = config === null || config === void 0 ? void 0 : config.required) !== null && _a !== void 0 ? _a : descriptor.required);
|
|
4076
|
+
readOnly = isSystemReadOnly(descriptor)
|
|
4077
|
+
? true
|
|
4078
|
+
: ((_b = config === null || config === void 0 ? void 0 : config.readOnly) !== null && _b !== void 0 ? _b : descriptor.readOnly);
|
|
4067
4079
|
props = descriptor.properties;
|
|
4068
4080
|
userInterface = descriptor.userInterface;
|
|
4069
4081
|
}
|
|
@@ -75192,27 +75204,68 @@ var MenuModule = {
|
|
|
75192
75204
|
};
|
|
75193
75205
|
|
|
75194
75206
|
var purify = createCommonjsModule(function (module, exports) {
|
|
75195
|
-
/*! @license DOMPurify 3.
|
|
75207
|
+
/*! @license DOMPurify 3.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.3/LICENSE */
|
|
75196
75208
|
|
|
75197
75209
|
(function (global, factory) {
|
|
75198
75210
|
module.exports = factory() ;
|
|
75199
75211
|
})(commonjsGlobal, (function () {
|
|
75200
|
-
|
|
75201
|
-
|
|
75202
|
-
|
|
75203
|
-
|
|
75204
|
-
|
|
75205
|
-
|
|
75206
|
-
|
|
75207
|
-
|
|
75208
|
-
|
|
75209
|
-
|
|
75210
|
-
|
|
75211
|
-
|
|
75212
|
-
|
|
75213
|
-
|
|
75214
|
-
|
|
75215
|
-
|
|
75212
|
+
function _arrayLikeToArray(r, a) {
|
|
75213
|
+
(null == a || a > r.length) && (a = r.length);
|
|
75214
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
75215
|
+
return n;
|
|
75216
|
+
}
|
|
75217
|
+
function _arrayWithHoles(r) {
|
|
75218
|
+
if (Array.isArray(r)) return r;
|
|
75219
|
+
}
|
|
75220
|
+
function _iterableToArrayLimit(r, l) {
|
|
75221
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
75222
|
+
if (null != t) {
|
|
75223
|
+
var e,
|
|
75224
|
+
n,
|
|
75225
|
+
i,
|
|
75226
|
+
u,
|
|
75227
|
+
a = [],
|
|
75228
|
+
f = true,
|
|
75229
|
+
o = false;
|
|
75230
|
+
try {
|
|
75231
|
+
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
75232
|
+
} catch (r) {
|
|
75233
|
+
o = true, n = r;
|
|
75234
|
+
} finally {
|
|
75235
|
+
try {
|
|
75236
|
+
if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
|
|
75237
|
+
} finally {
|
|
75238
|
+
if (o) throw n;
|
|
75239
|
+
}
|
|
75240
|
+
}
|
|
75241
|
+
return a;
|
|
75242
|
+
}
|
|
75243
|
+
}
|
|
75244
|
+
function _nonIterableRest() {
|
|
75245
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
75246
|
+
}
|
|
75247
|
+
function _slicedToArray(r, e) {
|
|
75248
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
75249
|
+
}
|
|
75250
|
+
function _unsupportedIterableToArray(r, a) {
|
|
75251
|
+
if (r) {
|
|
75252
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
75253
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
75254
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
75255
|
+
}
|
|
75256
|
+
}
|
|
75257
|
+
|
|
75258
|
+
const entries = Object.entries,
|
|
75259
|
+
setPrototypeOf = Object.setPrototypeOf,
|
|
75260
|
+
isFrozen = Object.isFrozen,
|
|
75261
|
+
getPrototypeOf = Object.getPrototypeOf,
|
|
75262
|
+
getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
75263
|
+
let freeze = Object.freeze,
|
|
75264
|
+
seal = Object.seal,
|
|
75265
|
+
create = Object.create; // eslint-disable-line import/no-mutable-exports
|
|
75266
|
+
let _ref = typeof Reflect !== 'undefined' && Reflect,
|
|
75267
|
+
apply = _ref.apply,
|
|
75268
|
+
construct = _ref.construct;
|
|
75216
75269
|
if (!freeze) {
|
|
75217
75270
|
freeze = function freeze(x) {
|
|
75218
75271
|
return x;
|
|
@@ -75244,13 +75297,19 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75244
75297
|
const arrayPop = unapply(Array.prototype.pop);
|
|
75245
75298
|
const arrayPush = unapply(Array.prototype.push);
|
|
75246
75299
|
const arraySplice = unapply(Array.prototype.splice);
|
|
75300
|
+
const arrayIsArray = Array.isArray;
|
|
75247
75301
|
const stringToLowerCase = unapply(String.prototype.toLowerCase);
|
|
75248
75302
|
const stringToString = unapply(String.prototype.toString);
|
|
75249
75303
|
const stringMatch = unapply(String.prototype.match);
|
|
75250
75304
|
const stringReplace = unapply(String.prototype.replace);
|
|
75251
75305
|
const stringIndexOf = unapply(String.prototype.indexOf);
|
|
75252
75306
|
const stringTrim = unapply(String.prototype.trim);
|
|
75307
|
+
const numberToString = unapply(Number.prototype.toString);
|
|
75308
|
+
const booleanToString = unapply(Boolean.prototype.toString);
|
|
75309
|
+
const bigintToString = typeof BigInt === 'undefined' ? null : unapply(BigInt.prototype.toString);
|
|
75310
|
+
const symbolToString = typeof Symbol === 'undefined' ? null : unapply(Symbol.prototype.toString);
|
|
75253
75311
|
const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
|
|
75312
|
+
const objectToString = unapply(Object.prototype.toString);
|
|
75254
75313
|
const regExpTest = unapply(RegExp.prototype.test);
|
|
75255
75314
|
const typeErrorCreate = unconstruct(TypeError);
|
|
75256
75315
|
/**
|
|
@@ -75300,6 +75359,9 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75300
75359
|
// Prevent prototype setters from intercepting set as a this value.
|
|
75301
75360
|
setPrototypeOf(set, null);
|
|
75302
75361
|
}
|
|
75362
|
+
if (!arrayIsArray(array)) {
|
|
75363
|
+
return set;
|
|
75364
|
+
}
|
|
75303
75365
|
let l = array.length;
|
|
75304
75366
|
while (l--) {
|
|
75305
75367
|
let element = array[l];
|
|
@@ -75340,10 +75402,13 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75340
75402
|
*/
|
|
75341
75403
|
function clone(object) {
|
|
75342
75404
|
const newObject = create(null);
|
|
75343
|
-
for (const
|
|
75405
|
+
for (const _ref2 of entries(object)) {
|
|
75406
|
+
var _ref3 = _slicedToArray(_ref2, 2);
|
|
75407
|
+
const property = _ref3[0];
|
|
75408
|
+
const value = _ref3[1];
|
|
75344
75409
|
const isPropertyExist = objectHasOwnProperty(object, property);
|
|
75345
75410
|
if (isPropertyExist) {
|
|
75346
|
-
if (
|
|
75411
|
+
if (arrayIsArray(value)) {
|
|
75347
75412
|
newObject[property] = cleanArray(value);
|
|
75348
75413
|
} else if (value && typeof value === 'object' && value.constructor === Object) {
|
|
75349
75414
|
newObject[property] = clone(value);
|
|
@@ -75354,6 +75419,58 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75354
75419
|
}
|
|
75355
75420
|
return newObject;
|
|
75356
75421
|
}
|
|
75422
|
+
/**
|
|
75423
|
+
* Convert non-node values into strings without depending on direct property access.
|
|
75424
|
+
*
|
|
75425
|
+
* @param value - The value to stringify.
|
|
75426
|
+
* @returns A string representation of the provided value.
|
|
75427
|
+
*/
|
|
75428
|
+
function stringifyValue(value) {
|
|
75429
|
+
switch (typeof value) {
|
|
75430
|
+
case 'string':
|
|
75431
|
+
{
|
|
75432
|
+
return value;
|
|
75433
|
+
}
|
|
75434
|
+
case 'number':
|
|
75435
|
+
{
|
|
75436
|
+
return numberToString(value);
|
|
75437
|
+
}
|
|
75438
|
+
case 'boolean':
|
|
75439
|
+
{
|
|
75440
|
+
return booleanToString(value);
|
|
75441
|
+
}
|
|
75442
|
+
case 'bigint':
|
|
75443
|
+
{
|
|
75444
|
+
return bigintToString ? bigintToString(value) : '0';
|
|
75445
|
+
}
|
|
75446
|
+
case 'symbol':
|
|
75447
|
+
{
|
|
75448
|
+
return symbolToString ? symbolToString(value) : 'Symbol()';
|
|
75449
|
+
}
|
|
75450
|
+
case 'undefined':
|
|
75451
|
+
{
|
|
75452
|
+
return objectToString(value);
|
|
75453
|
+
}
|
|
75454
|
+
case 'function':
|
|
75455
|
+
case 'object':
|
|
75456
|
+
{
|
|
75457
|
+
if (value === null) {
|
|
75458
|
+
return objectToString(value);
|
|
75459
|
+
}
|
|
75460
|
+
const valueAsRecord = value;
|
|
75461
|
+
const valueToString = lookupGetter(valueAsRecord, 'toString');
|
|
75462
|
+
if (typeof valueToString === 'function') {
|
|
75463
|
+
const stringified = valueToString(valueAsRecord);
|
|
75464
|
+
return typeof stringified === 'string' ? stringified : objectToString(stringified);
|
|
75465
|
+
}
|
|
75466
|
+
return objectToString(value);
|
|
75467
|
+
}
|
|
75468
|
+
default:
|
|
75469
|
+
{
|
|
75470
|
+
return objectToString(value);
|
|
75471
|
+
}
|
|
75472
|
+
}
|
|
75473
|
+
}
|
|
75357
75474
|
/**
|
|
75358
75475
|
* This method automatically checks if the prop is function or getter and behaves accordingly.
|
|
75359
75476
|
*
|
|
@@ -75379,6 +75496,14 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75379
75496
|
}
|
|
75380
75497
|
return fallbackValue;
|
|
75381
75498
|
}
|
|
75499
|
+
function isRegex(value) {
|
|
75500
|
+
try {
|
|
75501
|
+
regExpTest(value, '');
|
|
75502
|
+
return true;
|
|
75503
|
+
} catch (_unused) {
|
|
75504
|
+
return false;
|
|
75505
|
+
}
|
|
75506
|
+
}
|
|
75382
75507
|
|
|
75383
75508
|
const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'search', 'section', 'select', 'shadow', 'slot', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
|
|
75384
75509
|
const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'enterkeyhint', 'exportparts', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'inputmode', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'part', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
|
|
@@ -75394,15 +75519,14 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75394
75519
|
const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
|
|
75395
75520
|
const text = freeze(['#text']);
|
|
75396
75521
|
|
|
75397
|
-
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns'
|
|
75522
|
+
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns']);
|
|
75398
75523
|
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
75399
|
-
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', '
|
|
75524
|
+
const mathMl = freeze(['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']);
|
|
75400
75525
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
75401
75526
|
|
|
75402
|
-
|
|
75403
|
-
const
|
|
75404
|
-
const
|
|
75405
|
-
const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
|
|
75527
|
+
const MUSTACHE_EXPR = seal(/{{[\w\W]*|^[\w\W]*}}/g);
|
|
75528
|
+
const ERB_EXPR = seal(/<%[\w\W]*|^[\w\W]*%>/g);
|
|
75529
|
+
const TMPLIT_EXPR = seal(/\${[\w\W]*/g);
|
|
75406
75530
|
const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
|
|
75407
75531
|
const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
|
|
75408
75532
|
const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
|
|
@@ -75413,38 +75537,15 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75413
75537
|
const DOCTYPE_NAME = seal(/^html$/i);
|
|
75414
75538
|
const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
75415
75539
|
|
|
75416
|
-
var EXPRESSIONS = /*#__PURE__*/Object.freeze({
|
|
75417
|
-
__proto__: null,
|
|
75418
|
-
ARIA_ATTR: ARIA_ATTR,
|
|
75419
|
-
ATTR_WHITESPACE: ATTR_WHITESPACE,
|
|
75420
|
-
CUSTOM_ELEMENT: CUSTOM_ELEMENT,
|
|
75421
|
-
DATA_ATTR: DATA_ATTR,
|
|
75422
|
-
DOCTYPE_NAME: DOCTYPE_NAME,
|
|
75423
|
-
ERB_EXPR: ERB_EXPR,
|
|
75424
|
-
IS_ALLOWED_URI: IS_ALLOWED_URI,
|
|
75425
|
-
IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
|
|
75426
|
-
MUSTACHE_EXPR: MUSTACHE_EXPR,
|
|
75427
|
-
TMPLIT_EXPR: TMPLIT_EXPR
|
|
75428
|
-
});
|
|
75429
|
-
|
|
75430
75540
|
/* eslint-disable @typescript-eslint/indent */
|
|
75431
75541
|
// https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
|
|
75432
75542
|
const NODE_TYPE = {
|
|
75433
75543
|
element: 1,
|
|
75434
|
-
attribute: 2,
|
|
75435
75544
|
text: 3,
|
|
75436
|
-
cdataSection: 4,
|
|
75437
|
-
entityReference: 5,
|
|
75438
|
-
// Deprecated
|
|
75439
|
-
entityNode: 6,
|
|
75440
75545
|
// Deprecated
|
|
75441
75546
|
progressingInstruction: 7,
|
|
75442
75547
|
comment: 8,
|
|
75443
|
-
document: 9
|
|
75444
|
-
documentType: 10,
|
|
75445
|
-
documentFragment: 11,
|
|
75446
|
-
notation: 12 // Deprecated
|
|
75447
|
-
};
|
|
75548
|
+
document: 9};
|
|
75448
75549
|
const getGlobal = function getGlobal() {
|
|
75449
75550
|
return typeof window === 'undefined' ? null : window;
|
|
75450
75551
|
};
|
|
@@ -75501,7 +75602,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75501
75602
|
function createDOMPurify() {
|
|
75502
75603
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
75503
75604
|
const DOMPurify = root => createDOMPurify(root);
|
|
75504
|
-
DOMPurify.version = '3.
|
|
75605
|
+
DOMPurify.version = '3.4.3';
|
|
75505
75606
|
DOMPurify.removed = [];
|
|
75506
75607
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
75507
75608
|
// Not running in a browser, provide a factory function
|
|
@@ -75509,22 +75610,19 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75509
75610
|
DOMPurify.isSupported = false;
|
|
75510
75611
|
return DOMPurify;
|
|
75511
75612
|
}
|
|
75512
|
-
let
|
|
75513
|
-
document
|
|
75514
|
-
} = window;
|
|
75613
|
+
let document = window.document;
|
|
75515
75614
|
const originalDocument = document;
|
|
75516
75615
|
const currentScript = originalDocument.currentScript;
|
|
75517
|
-
const
|
|
75518
|
-
|
|
75519
|
-
|
|
75520
|
-
|
|
75521
|
-
|
|
75522
|
-
|
|
75523
|
-
NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
|
|
75524
|
-
HTMLFormElement,
|
|
75525
|
-
DOMParser,
|
|
75526
|
-
trustedTypes
|
|
75527
|
-
} = window;
|
|
75616
|
+
const DocumentFragment = window.DocumentFragment,
|
|
75617
|
+
HTMLTemplateElement = window.HTMLTemplateElement,
|
|
75618
|
+
Node = window.Node,
|
|
75619
|
+
Element = window.Element,
|
|
75620
|
+
NodeFilter = window.NodeFilter,
|
|
75621
|
+
_window$NamedNodeMap = window.NamedNodeMap,
|
|
75622
|
+
NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,
|
|
75623
|
+
HTMLFormElement = window.HTMLFormElement,
|
|
75624
|
+
DOMParser = window.DOMParser,
|
|
75625
|
+
trustedTypes = window.trustedTypes;
|
|
75528
75626
|
const ElementPrototype = Element.prototype;
|
|
75529
75627
|
const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
|
|
75530
75628
|
const remove = lookupGetter(ElementPrototype, 'remove');
|
|
@@ -75545,33 +75643,26 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75545
75643
|
}
|
|
75546
75644
|
let trustedTypesPolicy;
|
|
75547
75645
|
let emptyHTML = '';
|
|
75548
|
-
const
|
|
75549
|
-
implementation,
|
|
75550
|
-
createNodeIterator,
|
|
75551
|
-
createDocumentFragment,
|
|
75552
|
-
getElementsByTagName
|
|
75553
|
-
|
|
75554
|
-
const {
|
|
75555
|
-
importNode
|
|
75556
|
-
} = originalDocument;
|
|
75646
|
+
const _document = document,
|
|
75647
|
+
implementation = _document.implementation,
|
|
75648
|
+
createNodeIterator = _document.createNodeIterator,
|
|
75649
|
+
createDocumentFragment = _document.createDocumentFragment,
|
|
75650
|
+
getElementsByTagName = _document.getElementsByTagName;
|
|
75651
|
+
const importNode = originalDocument.importNode;
|
|
75557
75652
|
let hooks = _createHooksMap();
|
|
75558
75653
|
/**
|
|
75559
75654
|
* Expose whether this browser supports running the full DOMPurify.
|
|
75560
75655
|
*/
|
|
75561
75656
|
DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
|
|
75562
|
-
const
|
|
75563
|
-
|
|
75564
|
-
|
|
75565
|
-
|
|
75566
|
-
|
|
75567
|
-
|
|
75568
|
-
|
|
75569
|
-
|
|
75570
|
-
|
|
75571
|
-
} = EXPRESSIONS;
|
|
75572
|
-
let {
|
|
75573
|
-
IS_ALLOWED_URI: IS_ALLOWED_URI$1
|
|
75574
|
-
} = EXPRESSIONS;
|
|
75657
|
+
const MUSTACHE_EXPR$1 = MUSTACHE_EXPR,
|
|
75658
|
+
ERB_EXPR$1 = ERB_EXPR,
|
|
75659
|
+
TMPLIT_EXPR$1 = TMPLIT_EXPR,
|
|
75660
|
+
DATA_ATTR$1 = DATA_ATTR,
|
|
75661
|
+
ARIA_ATTR$1 = ARIA_ATTR,
|
|
75662
|
+
IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,
|
|
75663
|
+
ATTR_WHITESPACE$1 = ATTR_WHITESPACE,
|
|
75664
|
+
CUSTOM_ELEMENT$1 = CUSTOM_ELEMENT;
|
|
75665
|
+
let IS_ALLOWED_URI$1 = IS_ALLOWED_URI;
|
|
75575
75666
|
/**
|
|
75576
75667
|
* We consider the elements and attributes below to be safe. Ideally
|
|
75577
75668
|
* don't add any new ones but feel free to remove unwanted ones.
|
|
@@ -75749,15 +75840,15 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75749
75840
|
// HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
|
|
75750
75841
|
transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
|
|
75751
75842
|
/* Set configuration parameters */
|
|
75752
|
-
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
75753
|
-
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
75754
|
-
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
75755
|
-
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
75756
|
-
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
75757
|
-
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
75758
|
-
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
|
|
75759
|
-
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
|
|
75760
|
-
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
|
|
75843
|
+
ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') && arrayIsArray(cfg.ALLOWED_TAGS) ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
|
|
75844
|
+
ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') && arrayIsArray(cfg.ALLOWED_ATTR) ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
|
|
75845
|
+
ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') && arrayIsArray(cfg.ALLOWED_NAMESPACES) ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
|
|
75846
|
+
URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR) ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
|
|
75847
|
+
DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') && arrayIsArray(cfg.ADD_DATA_URI_TAGS) ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
|
|
75848
|
+
FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS) ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
|
|
75849
|
+
FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') && arrayIsArray(cfg.FORBID_TAGS) ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
|
|
75850
|
+
FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') && arrayIsArray(cfg.FORBID_ATTR) ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
|
|
75851
|
+
USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === 'object' ? clone(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;
|
|
75761
75852
|
ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
|
|
75762
75853
|
ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
|
|
75763
75854
|
ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
|
|
@@ -75773,19 +75864,20 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75773
75864
|
SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
|
|
75774
75865
|
KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
|
|
75775
75866
|
IN_PLACE = cfg.IN_PLACE || false; // Default false
|
|
75776
|
-
IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP
|
|
75777
|
-
NAMESPACE = cfg.NAMESPACE
|
|
75778
|
-
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS
|
|
75779
|
-
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS
|
|
75780
|
-
|
|
75781
|
-
|
|
75782
|
-
|
|
75867
|
+
IS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI; // Default regexp
|
|
75868
|
+
NAMESPACE = typeof cfg.NAMESPACE === 'string' ? cfg.NAMESPACE : HTML_NAMESPACE; // Default HTML namespace
|
|
75869
|
+
MATHML_TEXT_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'MATHML_TEXT_INTEGRATION_POINTS') && cfg.MATHML_TEXT_INTEGRATION_POINTS && typeof cfg.MATHML_TEXT_INTEGRATION_POINTS === 'object' ? clone(cfg.MATHML_TEXT_INTEGRATION_POINTS) : addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']); // Default built-in map
|
|
75870
|
+
HTML_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'HTML_INTEGRATION_POINTS') && cfg.HTML_INTEGRATION_POINTS && typeof cfg.HTML_INTEGRATION_POINTS === 'object' ? clone(cfg.HTML_INTEGRATION_POINTS) : addToSet({}, ['annotation-xml']); // Default built-in map
|
|
75871
|
+
const customElementHandling = objectHasOwnProperty(cfg, 'CUSTOM_ELEMENT_HANDLING') && cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING === 'object' ? clone(cfg.CUSTOM_ELEMENT_HANDLING) : create(null);
|
|
75872
|
+
CUSTOM_ELEMENT_HANDLING = create(null);
|
|
75873
|
+
if (objectHasOwnProperty(customElementHandling, 'tagNameCheck') && isRegexOrFunction(customElementHandling.tagNameCheck)) {
|
|
75874
|
+
CUSTOM_ELEMENT_HANDLING.tagNameCheck = customElementHandling.tagNameCheck; // Default undefined
|
|
75783
75875
|
}
|
|
75784
|
-
if (
|
|
75785
|
-
CUSTOM_ELEMENT_HANDLING.attributeNameCheck =
|
|
75876
|
+
if (objectHasOwnProperty(customElementHandling, 'attributeNameCheck') && isRegexOrFunction(customElementHandling.attributeNameCheck)) {
|
|
75877
|
+
CUSTOM_ELEMENT_HANDLING.attributeNameCheck = customElementHandling.attributeNameCheck; // Default undefined
|
|
75786
75878
|
}
|
|
75787
|
-
if (
|
|
75788
|
-
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements =
|
|
75879
|
+
if (objectHasOwnProperty(customElementHandling, 'allowCustomizedBuiltInElements') && typeof customElementHandling.allowCustomizedBuiltInElements === 'boolean') {
|
|
75880
|
+
CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements; // Default undefined
|
|
75789
75881
|
}
|
|
75790
75882
|
if (SAFE_FOR_TEMPLATES) {
|
|
75791
75883
|
ALLOW_DATA_ATTR = false;
|
|
@@ -75817,44 +75909,41 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
75817
75909
|
addToSet(ALLOWED_ATTR, xml);
|
|
75818
75910
|
}
|
|
75819
75911
|
}
|
|
75820
|
-
/*
|
|
75821
|
-
|
|
75822
|
-
|
|
75823
|
-
|
|
75824
|
-
if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
75825
|
-
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
75826
|
-
}
|
|
75912
|
+
/* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent
|
|
75913
|
+
* leaking across calls when switching from function to array config */
|
|
75914
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
75915
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
75827
75916
|
/* Merge configuration parameters */
|
|
75828
|
-
if (cfg
|
|
75917
|
+
if (objectHasOwnProperty(cfg, 'ADD_TAGS')) {
|
|
75829
75918
|
if (typeof cfg.ADD_TAGS === 'function') {
|
|
75830
75919
|
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
75831
|
-
} else {
|
|
75920
|
+
} else if (arrayIsArray(cfg.ADD_TAGS)) {
|
|
75832
75921
|
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
75833
75922
|
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
75834
75923
|
}
|
|
75835
75924
|
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
75836
75925
|
}
|
|
75837
75926
|
}
|
|
75838
|
-
if (cfg
|
|
75927
|
+
if (objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
75839
75928
|
if (typeof cfg.ADD_ATTR === 'function') {
|
|
75840
75929
|
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
75841
|
-
} else {
|
|
75930
|
+
} else if (arrayIsArray(cfg.ADD_ATTR)) {
|
|
75842
75931
|
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
75843
75932
|
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
75844
75933
|
}
|
|
75845
75934
|
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
75846
75935
|
}
|
|
75847
75936
|
}
|
|
75848
|
-
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
75937
|
+
if (objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') && arrayIsArray(cfg.ADD_URI_SAFE_ATTR)) {
|
|
75849
75938
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
75850
75939
|
}
|
|
75851
|
-
if (cfg.FORBID_CONTENTS) {
|
|
75940
|
+
if (objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS)) {
|
|
75852
75941
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
75853
75942
|
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
75854
75943
|
}
|
|
75855
75944
|
addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
|
|
75856
75945
|
}
|
|
75857
|
-
if (cfg.ADD_FORBID_CONTENTS) {
|
|
75946
|
+
if (objectHasOwnProperty(cfg, 'ADD_FORBID_CONTENTS') && arrayIsArray(cfg.ADD_FORBID_CONTENTS)) {
|
|
75858
75947
|
if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
|
|
75859
75948
|
FORBID_CONTENTS = clone(FORBID_CONTENTS);
|
|
75860
75949
|
}
|
|
@@ -76146,6 +76235,11 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76146
76235
|
_forceRemove(currentNode);
|
|
76147
76236
|
return true;
|
|
76148
76237
|
}
|
|
76238
|
+
/* Remove risky CSS construction leading to mXSS */
|
|
76239
|
+
if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
|
|
76240
|
+
_forceRemove(currentNode);
|
|
76241
|
+
return true;
|
|
76242
|
+
}
|
|
76149
76243
|
/* Remove any occurrence of processing instructions */
|
|
76150
76244
|
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
76151
76245
|
_forceRemove(currentNode);
|
|
@@ -76157,7 +76251,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76157
76251
|
return true;
|
|
76158
76252
|
}
|
|
76159
76253
|
/* Remove element if anything forbids its presence */
|
|
76160
|
-
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) &&
|
|
76254
|
+
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
76161
76255
|
/* Check if we have a custom element to handle */
|
|
76162
76256
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
76163
76257
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
@@ -76175,7 +76269,6 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76175
76269
|
const childCount = childNodes.length;
|
|
76176
76270
|
for (let i = childCount - 1; i >= 0; --i) {
|
|
76177
76271
|
const childClone = cloneNode(childNodes[i], true);
|
|
76178
|
-
childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
|
|
76179
76272
|
parentNode.insertBefore(childClone, getNextSibling(currentNode));
|
|
76180
76273
|
}
|
|
76181
76274
|
}
|
|
@@ -76197,7 +76290,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76197
76290
|
if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
|
|
76198
76291
|
/* Get the element's text content */
|
|
76199
76292
|
content = currentNode.textContent;
|
|
76200
|
-
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
76293
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
|
|
76201
76294
|
content = stringReplace(content, expr, ' ');
|
|
76202
76295
|
});
|
|
76203
76296
|
if (currentNode.textContent !== content) {
|
|
@@ -76229,11 +76322,12 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76229
76322
|
if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
|
|
76230
76323
|
return false;
|
|
76231
76324
|
}
|
|
76325
|
+
const nameIsPermitted = ALLOWED_ATTR[lcName] || EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag);
|
|
76232
76326
|
/* Allow valid data-* attributes: At least one character after "-"
|
|
76233
76327
|
(https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
|
|
76234
76328
|
XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
|
|
76235
76329
|
We don't need to check the value; it's always URI safe. */
|
|
76236
|
-
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (
|
|
76330
|
+
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!nameIsPermitted || FORBID_ATTR[lcName]) {
|
|
76237
76331
|
if (
|
|
76238
76332
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
76239
76333
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
@@ -76245,11 +76339,15 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76245
76339
|
return false;
|
|
76246
76340
|
}
|
|
76247
76341
|
/* Check value is safe. First, is attr inert? If so, is safe */
|
|
76248
|
-
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
|
|
76342
|
+
} else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if (value) {
|
|
76249
76343
|
return false;
|
|
76250
76344
|
} else ;
|
|
76251
76345
|
return true;
|
|
76252
76346
|
};
|
|
76347
|
+
/* Names the HTML spec reserves from valid-custom-element-name; these must
|
|
76348
|
+
* never be treated as basic custom elements even when a permissive
|
|
76349
|
+
* CUSTOM_ELEMENT_HANDLING.tagNameCheck is configured. */
|
|
76350
|
+
const RESERVED_CUSTOM_ELEMENT_NAMES = addToSet({}, ['annotation-xml', 'color-profile', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'missing-glyph']);
|
|
76253
76351
|
/**
|
|
76254
76352
|
* _isBasicCustomElement
|
|
76255
76353
|
* checks if at least one dash is included in tagName, and it's not the first char
|
|
@@ -76259,7 +76357,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76259
76357
|
* @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
|
|
76260
76358
|
*/
|
|
76261
76359
|
const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
|
|
76262
|
-
return tagName
|
|
76360
|
+
return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);
|
|
76263
76361
|
};
|
|
76264
76362
|
/**
|
|
76265
76363
|
* _sanitizeAttributes
|
|
@@ -76274,9 +76372,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76274
76372
|
const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
|
|
76275
76373
|
/* Execute a hook if present */
|
|
76276
76374
|
_executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
|
|
76277
|
-
const
|
|
76278
|
-
attributes
|
|
76279
|
-
} = currentNode;
|
|
76375
|
+
const attributes = currentNode.attributes;
|
|
76280
76376
|
/* Check if we have attributes; if not we might have a text node */
|
|
76281
76377
|
if (!attributes || _isClobbered(currentNode)) {
|
|
76282
76378
|
return;
|
|
@@ -76292,11 +76388,9 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76292
76388
|
/* Go backwards over all attributes; safely remove bad ones */
|
|
76293
76389
|
while (l--) {
|
|
76294
76390
|
const attr = attributes[l];
|
|
76295
|
-
const
|
|
76296
|
-
|
|
76297
|
-
|
|
76298
|
-
value: attrValue
|
|
76299
|
-
} = attr;
|
|
76391
|
+
const name = attr.name,
|
|
76392
|
+
namespaceURI = attr.namespaceURI,
|
|
76393
|
+
attrValue = attr.value;
|
|
76300
76394
|
const lcName = transformCaseFunc(name);
|
|
76301
76395
|
const initValue = attrValue;
|
|
76302
76396
|
let value = name === 'value' ? initValue : stringTrim(initValue);
|
|
@@ -76310,12 +76404,14 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76310
76404
|
/* Full DOM Clobbering protection via namespace isolation,
|
|
76311
76405
|
* Prefix id and name attributes with `user-content-`
|
|
76312
76406
|
*/
|
|
76313
|
-
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
|
|
76407
|
+
if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name') && stringIndexOf(value, SANITIZE_NAMED_PROPS_PREFIX) !== 0) {
|
|
76314
76408
|
// Remove the attribute with this value
|
|
76315
76409
|
_removeAttribute(name, currentNode);
|
|
76316
76410
|
// Prefix the value and later re-create the attribute with the sanitized value
|
|
76317
76411
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
76318
76412
|
}
|
|
76413
|
+
// Else: already prefixed, leave the attribute alone — the prefix is
|
|
76414
|
+
// itself the clobbering protection, and re-applying it is incorrect.
|
|
76319
76415
|
/* Work around a security issue with comments inside attributes */
|
|
76320
76416
|
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
|
|
76321
76417
|
_removeAttribute(name, currentNode);
|
|
@@ -76342,7 +76438,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76342
76438
|
}
|
|
76343
76439
|
/* Sanitize attribute content to be template-safe */
|
|
76344
76440
|
if (SAFE_FOR_TEMPLATES) {
|
|
76345
|
-
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
76441
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
|
|
76346
76442
|
value = stringReplace(value, expr, ' ');
|
|
76347
76443
|
});
|
|
76348
76444
|
}
|
|
@@ -76396,7 +76492,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76396
76492
|
*
|
|
76397
76493
|
* @param fragment to iterate over recursively
|
|
76398
76494
|
*/
|
|
76399
|
-
const
|
|
76495
|
+
const _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {
|
|
76400
76496
|
let shadowNode = null;
|
|
76401
76497
|
const shadowIterator = _createNodeIterator(fragment);
|
|
76402
76498
|
/* Execute a hook if present */
|
|
@@ -76410,12 +76506,55 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76410
76506
|
_sanitizeAttributes(shadowNode);
|
|
76411
76507
|
/* Deep shadow DOM detected */
|
|
76412
76508
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
76413
|
-
|
|
76509
|
+
_sanitizeShadowDOM2(shadowNode.content);
|
|
76414
76510
|
}
|
|
76415
76511
|
}
|
|
76416
76512
|
/* Execute a hook if present */
|
|
76417
76513
|
_executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
|
|
76418
76514
|
};
|
|
76515
|
+
/**
|
|
76516
|
+
* _sanitizeAttachedShadowRoots
|
|
76517
|
+
*
|
|
76518
|
+
* Walks `root` and feeds every attached shadow root we encounter into
|
|
76519
|
+
* the existing _sanitizeShadowDOM pipeline. The default node iterator
|
|
76520
|
+
* does not descend into shadow trees, so nodes inside an attached
|
|
76521
|
+
* shadow root would otherwise be skipped entirely.
|
|
76522
|
+
*
|
|
76523
|
+
* Two real input paths put attached shadow roots in front of us:
|
|
76524
|
+
* 1. IN_PLACE on a DOM node that already has shadow roots attached.
|
|
76525
|
+
* 2. DOM-node input where importNode(dirty, true) deep-clones the
|
|
76526
|
+
* shadow root because it was created with `clonable: true`.
|
|
76527
|
+
*
|
|
76528
|
+
* This pass runs once, up front, so the main iteration loop (and the
|
|
76529
|
+
* existing _sanitizeShadowDOM template-content recursion) stay
|
|
76530
|
+
* untouched — string-input paths are not affected.
|
|
76531
|
+
*
|
|
76532
|
+
* @param root the subtree root to walk for attached shadow roots
|
|
76533
|
+
*/
|
|
76534
|
+
const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
|
|
76535
|
+
if (root.nodeType === NODE_TYPE.element && root.shadowRoot instanceof DocumentFragment) {
|
|
76536
|
+
const sr = root.shadowRoot;
|
|
76537
|
+
// Recurse first so that nested shadow roots are reached even if
|
|
76538
|
+
// _sanitizeShadowDOM removes hosts at this level.
|
|
76539
|
+
_sanitizeAttachedShadowRoots2(sr);
|
|
76540
|
+
_sanitizeShadowDOM2(sr);
|
|
76541
|
+
}
|
|
76542
|
+
// Snapshot children before recursing. Sanitization of one subtree
|
|
76543
|
+
// (e.g. via an uponSanitizeShadowNode hook) may detach siblings,
|
|
76544
|
+
// and naive nextSibling traversal would silently skip the rest of
|
|
76545
|
+
// the list once a node is detached.
|
|
76546
|
+
const childNodes = root.childNodes;
|
|
76547
|
+
if (!childNodes) {
|
|
76548
|
+
return;
|
|
76549
|
+
}
|
|
76550
|
+
const snapshot = [];
|
|
76551
|
+
arrayForEach(childNodes, child => {
|
|
76552
|
+
arrayPush(snapshot, child);
|
|
76553
|
+
});
|
|
76554
|
+
for (const child of snapshot) {
|
|
76555
|
+
_sanitizeAttachedShadowRoots2(child);
|
|
76556
|
+
}
|
|
76557
|
+
};
|
|
76419
76558
|
// eslint-disable-next-line complexity
|
|
76420
76559
|
DOMPurify.sanitize = function (dirty) {
|
|
76421
76560
|
let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -76432,13 +76571,9 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76432
76571
|
}
|
|
76433
76572
|
/* Stringify, in case dirty is an object */
|
|
76434
76573
|
if (typeof dirty !== 'string' && !_isNode(dirty)) {
|
|
76435
|
-
|
|
76436
|
-
|
|
76437
|
-
|
|
76438
|
-
throw typeErrorCreate('dirty is not a string, aborting');
|
|
76439
|
-
}
|
|
76440
|
-
} else {
|
|
76441
|
-
throw typeErrorCreate('toString is not a function');
|
|
76574
|
+
dirty = stringifyValue(dirty);
|
|
76575
|
+
if (typeof dirty !== 'string') {
|
|
76576
|
+
throw typeErrorCreate('dirty is not a string, aborting');
|
|
76442
76577
|
}
|
|
76443
76578
|
}
|
|
76444
76579
|
/* Return dirty HTML if DOMPurify cannot run */
|
|
@@ -76457,12 +76592,16 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76457
76592
|
}
|
|
76458
76593
|
if (IN_PLACE) {
|
|
76459
76594
|
/* Do some early pre-sanitization to avoid unsafe root nodes */
|
|
76460
|
-
|
|
76461
|
-
|
|
76595
|
+
const nn = dirty.nodeName;
|
|
76596
|
+
if (typeof nn === 'string') {
|
|
76597
|
+
const tagName = transformCaseFunc(nn);
|
|
76462
76598
|
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
76463
76599
|
throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
|
|
76464
76600
|
}
|
|
76465
76601
|
}
|
|
76602
|
+
/* Sanitize attached shadow roots before the main iterator runs.
|
|
76603
|
+
The iterator does not descend into shadow trees. */
|
|
76604
|
+
_sanitizeAttachedShadowRoots2(dirty);
|
|
76466
76605
|
} else if (dirty instanceof Node) {
|
|
76467
76606
|
/* If dirty is a DOM element, append to an empty document to avoid
|
|
76468
76607
|
elements being stripped by the parser */
|
|
@@ -76477,6 +76616,10 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76477
76616
|
// eslint-disable-next-line unicorn/prefer-dom-node-append
|
|
76478
76617
|
body.appendChild(importedNode);
|
|
76479
76618
|
}
|
|
76619
|
+
/* Clonable shadow roots are deep-cloned by importNode(); sanitize
|
|
76620
|
+
them before the main iterator runs, since the iterator does not
|
|
76621
|
+
descend into shadow trees. */
|
|
76622
|
+
_sanitizeAttachedShadowRoots2(importedNode);
|
|
76480
76623
|
} else {
|
|
76481
76624
|
/* Exit directly if we have nothing to do */
|
|
76482
76625
|
if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
|
|
@@ -76505,7 +76648,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76505
76648
|
_sanitizeAttributes(currentNode);
|
|
76506
76649
|
/* Shadow DOM detected, sanitize it */
|
|
76507
76650
|
if (currentNode.content instanceof DocumentFragment) {
|
|
76508
|
-
|
|
76651
|
+
_sanitizeShadowDOM2(currentNode.content);
|
|
76509
76652
|
}
|
|
76510
76653
|
}
|
|
76511
76654
|
/* If we sanitized `dirty` in-place, return it. */
|
|
@@ -76514,6 +76657,14 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76514
76657
|
}
|
|
76515
76658
|
/* Return sanitized string or DOM */
|
|
76516
76659
|
if (RETURN_DOM) {
|
|
76660
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
76661
|
+
body.normalize();
|
|
76662
|
+
let html = body.innerHTML;
|
|
76663
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
|
|
76664
|
+
html = stringReplace(html, expr, ' ');
|
|
76665
|
+
});
|
|
76666
|
+
body.innerHTML = html;
|
|
76667
|
+
}
|
|
76517
76668
|
if (RETURN_DOM_FRAGMENT) {
|
|
76518
76669
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
76519
76670
|
while (body.firstChild) {
|
|
@@ -76542,7 +76693,7 @@ var purify = createCommonjsModule(function (module, exports) {
|
|
|
76542
76693
|
}
|
|
76543
76694
|
/* Sanitize final string template-safe */
|
|
76544
76695
|
if (SAFE_FOR_TEMPLATES) {
|
|
76545
|
-
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
76696
|
+
arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
|
|
76546
76697
|
serializedHTML = stringReplace(serializedHTML, expr, ' ');
|
|
76547
76698
|
});
|
|
76548
76699
|
}
|
|
@@ -90862,7 +91013,9 @@ const EzTextInput$1 = class extends HTMLElement$1 {
|
|
|
90862
91013
|
const value = this._inputElem.value;
|
|
90863
91014
|
if (value && this._maskFormatter) {
|
|
90864
91015
|
try {
|
|
90865
|
-
this.
|
|
91016
|
+
const newMask = this.handleDefaultMask(value);
|
|
91017
|
+
this._maskFormatter.mask = newMask;
|
|
91018
|
+
this._inputElem.value = this._maskFormatter.format(this._maskFormatter.removeMask(value));
|
|
90866
91019
|
}
|
|
90867
91020
|
catch (e) {
|
|
90868
91021
|
this.errorMessage = e.message;
|
|
@@ -90906,14 +91059,14 @@ const EzTextInput$1 = class extends HTMLElement$1 {
|
|
|
90906
91059
|
try {
|
|
90907
91060
|
const newMask = this.handleDefaultMask(value);
|
|
90908
91061
|
this._maskFormatter.mask = newMask;
|
|
90909
|
-
const formattedValue = this._maskFormatter.
|
|
90910
|
-
if (!this.cleanValueMask) {
|
|
90911
|
-
this.value = formattedValue;
|
|
90912
|
-
}
|
|
91062
|
+
const formattedValue = this._maskFormatter.applyMask(this._maskFormatter.removeMask(value));
|
|
90913
91063
|
if (this._inputElem) {
|
|
90914
91064
|
this._inputElem.value = formattedValue;
|
|
90915
91065
|
return this._inputElem.value;
|
|
90916
91066
|
}
|
|
91067
|
+
if (!this.cleanValueMask) {
|
|
91068
|
+
this.value = formattedValue;
|
|
91069
|
+
}
|
|
90917
91070
|
return this.value;
|
|
90918
91071
|
}
|
|
90919
91072
|
catch (e) {
|