@sankhyalabs/ezui 7.1.9 → 7.1.11

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.
Files changed (692) hide show
  1. package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
  2. package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
  3. package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
  4. package/dist/cjs/DialogType-2114c337.js.gz +0 -0
  5. package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
  6. package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
  7. package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
  8. package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
  9. package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
  10. package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
  11. package/dist/cjs/constants-72b7e05e.js.gz +0 -0
  12. package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
  13. package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
  14. package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
  15. package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
  16. package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
  17. package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
  18. package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
  19. package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
  20. package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
  21. package/dist/cjs/ez-card-item.cjs.entry.js.gz +0 -0
  22. package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
  23. package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
  24. package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
  25. package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
  26. package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
  27. package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
  28. package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
  29. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js +1 -1
  30. package/dist/cjs/ez-combo-box-list_4.cjs.entry.js.gz +0 -0
  31. package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
  32. package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
  33. package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
  34. package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
  35. package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
  36. package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
  37. package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
  38. package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
  39. package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
  40. package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
  41. package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
  42. package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
  43. package/dist/cjs/ez-grid.cjs.entry.js +1 -1
  44. package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
  45. package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
  46. package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
  47. package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
  48. package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
  49. package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
  50. package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
  51. package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
  52. package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
  53. package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
  54. package/dist/cjs/ez-multi-selection-list.cjs.entry.js.gz +0 -0
  55. package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
  56. package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
  57. package/dist/cjs/ez-popover-core.cjs.entry.js +18 -2
  58. package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
  59. package/dist/cjs/ez-popover-plus_3.cjs.entry.js +2 -0
  60. package/dist/cjs/ez-popover-plus_3.cjs.entry.js.gz +0 -0
  61. package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
  62. package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
  63. package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
  64. package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
  65. package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
  66. package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
  67. package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
  68. package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
  69. package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
  70. package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
  71. package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
  72. package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
  73. package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
  74. package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
  75. package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
  76. package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
  77. package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
  78. package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
  79. package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
  80. package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
  81. package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
  82. package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
  83. package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
  84. package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
  85. package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
  86. package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
  87. package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
  88. package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
  89. package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
  90. package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
  91. package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
  92. package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
  93. package/dist/cjs/ezui.cjs.js +1 -1
  94. package/dist/cjs/ezui.cjs.js.gz +0 -0
  95. package/dist/cjs/filter-column.cjs.entry.js +7 -2
  96. package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
  97. package/dist/cjs/{floating-ui.dom.esm-f4d87617.js → floating-ui.dom.esm-f1e4e440.js} +93 -0
  98. package/dist/cjs/floating-ui.dom.esm-f1e4e440.js.gz +0 -0
  99. package/dist/cjs/index-1be40f19.js.gz +0 -0
  100. package/dist/cjs/index-a7b0c73d.js.gz +0 -0
  101. package/dist/cjs/index.cjs.js.gz +0 -0
  102. package/dist/cjs/loader.cjs.js +1 -1
  103. package/dist/cjs/loader.cjs.js.gz +0 -0
  104. package/dist/cjs/{purify-ca9603eb.js → purify-5548aebb.js} +724 -262
  105. package/dist/cjs/purify-5548aebb.js.gz +0 -0
  106. package/dist/cjs/search-column-316e2c59.js.gz +0 -0
  107. package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
  108. package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
  109. package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
  110. package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
  111. package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
  112. package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
  113. package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
  114. package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
  115. package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
  116. package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
  117. package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
  118. package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
  119. package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
  120. package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
  121. package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
  122. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
  123. package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
  124. package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
  125. package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
  126. package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
  127. package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
  128. package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
  129. package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
  130. package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
  131. package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
  132. package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
  133. package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
  134. package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
  135. package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
  136. package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
  137. package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
  138. package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
  139. package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
  140. package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
  141. package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
  142. package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
  143. package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
  144. package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
  145. package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
  146. package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
  147. package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
  148. package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
  149. package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
  150. package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
  151. package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
  152. package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
  153. package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
  154. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
  155. package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
  156. package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
  157. package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
  158. package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
  159. package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
  160. package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
  161. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
  162. package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
  163. package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
  164. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
  165. package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
  166. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
  167. package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
  168. package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
  169. package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
  170. package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
  171. package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
  172. package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
  173. package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
  174. package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
  175. package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
  176. package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
  177. package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
  178. package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
  179. package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
  180. package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
  181. package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
  182. package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
  183. package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
  184. package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
  185. package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
  186. package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
  187. package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
  188. package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
  189. package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
  190. package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
  191. package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
  192. package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
  193. package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
  194. package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
  195. package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
  196. package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
  197. package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
  198. package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
  199. package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
  200. package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
  201. package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
  202. package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
  203. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
  204. package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
  205. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
  206. package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
  207. package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
  208. package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
  209. package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
  210. package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
  211. package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
  212. package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
  213. package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
  214. package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
  215. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
  216. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
  217. package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
  218. package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
  219. package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
  220. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
  221. package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
  222. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
  223. package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
  224. package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
  225. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
  226. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
  227. package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
  228. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
  229. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
  230. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
  231. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
  232. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
  233. package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
  234. package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
  235. package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
  236. package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
  237. package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
  238. package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
  239. package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
  240. package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
  241. package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
  242. package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
  243. package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
  244. package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
  245. package/dist/collection/components/ez-grid/subcomponents/filter-column.css +10 -0
  246. package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
  247. package/dist/collection/components/ez-grid/subcomponents/filter-column.js +6 -1
  248. package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
  249. package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
  250. package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
  251. package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
  252. package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
  253. package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
  254. package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
  255. package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
  256. package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
  257. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
  258. package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
  259. package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
  260. package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
  261. package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
  262. package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
  263. package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
  264. package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
  265. package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
  266. package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
  267. package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
  268. package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
  269. package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
  270. package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
  271. package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
  272. package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
  273. package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
  274. package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
  275. package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
  276. package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
  277. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css +2 -1
  278. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
  279. package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
  280. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
  281. package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
  282. package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
  283. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
  284. package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
  285. package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
  286. package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
  287. package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
  288. package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
  289. package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
  290. package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
  291. package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
  292. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +20 -0
  293. package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
  294. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
  295. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +36 -2
  296. package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
  297. package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
  298. package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
  299. package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
  300. package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
  301. package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
  302. package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
  303. package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
  304. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
  305. package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
  306. package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
  307. package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
  308. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
  309. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
  310. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
  311. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
  312. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
  313. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
  314. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
  315. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
  316. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
  317. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
  318. package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
  319. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
  320. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
  321. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
  322. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
  323. package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
  324. package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
  325. package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
  326. package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
  327. package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
  328. package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
  329. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
  330. package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
  331. package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
  332. package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
  333. package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
  334. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
  335. package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
  336. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
  337. package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
  338. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
  339. package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
  340. package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
  341. package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
  342. package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
  343. package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
  344. package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
  345. package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
  346. package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
  347. package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
  348. package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
  349. package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
  350. package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
  351. package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
  352. package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
  353. package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
  354. package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
  355. package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
  356. package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
  357. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
  358. package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
  359. package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
  360. package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
  361. package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
  362. package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
  363. package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
  364. package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
  365. package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
  366. package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
  367. package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
  368. package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
  369. package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
  370. package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
  371. package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
  372. package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
  373. package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
  374. package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
  375. package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
  376. package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
  377. package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
  378. package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
  379. package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
  380. package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
  381. package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
  382. package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
  383. package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
  384. package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
  385. package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
  386. package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
  387. package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
  388. package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
  389. package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
  390. package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
  391. package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
  392. package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
  393. package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
  394. package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
  395. package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
  396. package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
  397. package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
  398. package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
  399. package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
  400. package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
  401. package/dist/collection/global/app-init.js.gz +0 -0
  402. package/dist/collection/index.js.gz +0 -0
  403. package/dist/collection/servidor.js.gz +0 -0
  404. package/dist/collection/setupTests.js.gz +0 -0
  405. package/dist/collection/sw.js.gz +0 -0
  406. package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
  407. package/dist/collection/utils/AssetsUtils.js.gz +0 -0
  408. package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
  409. package/dist/collection/utils/FocusResolver.js.gz +0 -0
  410. package/dist/collection/utils/ag-grid-license.js.gz +0 -0
  411. package/dist/collection/utils/constants.js.gz +0 -0
  412. package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
  413. package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
  414. package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
  415. package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
  416. package/dist/collection/utils/form/DataBinder.js.gz +0 -0
  417. package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
  418. package/dist/collection/utils/form/index.js.gz +0 -0
  419. package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
  420. package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
  421. package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
  422. package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
  423. package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
  424. package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
  425. package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
  426. package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
  427. package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
  428. package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
  429. package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
  430. package/dist/collection/utils/i18n/index.js.gz +0 -0
  431. package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
  432. package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
  433. package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
  434. package/dist/collection/utils/i18n/translations.js.gz +0 -0
  435. package/dist/collection/utils/index.js.gz +0 -0
  436. package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
  437. package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
  438. package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
  439. package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
  440. package/dist/collection/utils/search/types.js.gz +0 -0
  441. package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
  442. package/dist/collection/utils/utils.js.gz +0 -0
  443. package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
  444. package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
  445. package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
  446. package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
  447. package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
  448. package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
  449. package/dist/custom-elements/index.js +845 -268
  450. package/dist/custom-elements/index.js.gz +0 -0
  451. package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
  452. package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
  453. package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
  454. package/dist/esm/DialogType-54a62731.js.gz +0 -0
  455. package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
  456. package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
  457. package/dist/esm/FormLayout-071d324c.js.gz +0 -0
  458. package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
  459. package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
  460. package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
  461. package/dist/esm/constants-3fabe81e.js.gz +0 -0
  462. package/dist/esm/ez-actions-button.entry.js.gz +0 -0
  463. package/dist/esm/ez-alert-list.entry.js.gz +0 -0
  464. package/dist/esm/ez-alert.entry.js.gz +0 -0
  465. package/dist/esm/ez-application.entry.js.gz +0 -0
  466. package/dist/esm/ez-avatar.entry.js.gz +0 -0
  467. package/dist/esm/ez-badge.entry.js.gz +0 -0
  468. package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
  469. package/dist/esm/ez-button.entry.js.gz +0 -0
  470. package/dist/esm/ez-calendar.entry.js.gz +0 -0
  471. package/dist/esm/ez-card-item.entry.js.gz +0 -0
  472. package/dist/esm/ez-chart.entry.js.gz +0 -0
  473. package/dist/esm/ez-check.entry.js.gz +0 -0
  474. package/dist/esm/ez-chip.entry.js.gz +0 -0
  475. package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
  476. package/dist/esm/ez-classic-input.entry.js.gz +0 -0
  477. package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
  478. package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
  479. package/dist/esm/ez-combo-box-list_4.entry.js +1 -1
  480. package/dist/esm/ez-combo-box-list_4.entry.js.gz +0 -0
  481. package/dist/esm/ez-combo-box.entry.js.gz +0 -0
  482. package/dist/esm/ez-date-input.entry.js.gz +0 -0
  483. package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
  484. package/dist/esm/ez-dialog.entry.js.gz +0 -0
  485. package/dist/esm/ez-double-list.entry.js.gz +0 -0
  486. package/dist/esm/ez-dropdown.entry.js.gz +0 -0
  487. package/dist/esm/ez-empty-card.entry.js.gz +0 -0
  488. package/dist/esm/ez-file-item.entry.js.gz +0 -0
  489. package/dist/esm/ez-filter-input.entry.js.gz +0 -0
  490. package/dist/esm/ez-form-view.entry.js.gz +0 -0
  491. package/dist/esm/ez-form.entry.js.gz +0 -0
  492. package/dist/esm/ez-grid-view.entry.js.gz +0 -0
  493. package/dist/esm/ez-grid.entry.js +1 -1
  494. package/dist/esm/ez-grid.entry.js.gz +0 -0
  495. package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
  496. package/dist/esm/ez-icon.entry.js.gz +0 -0
  497. package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
  498. package/dist/esm/ez-list-item.entry.js.gz +0 -0
  499. package/dist/esm/ez-list.entry.js.gz +0 -0
  500. package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
  501. package/dist/esm/ez-modal-container.entry.js.gz +0 -0
  502. package/dist/esm/ez-modal.entry.js.gz +0 -0
  503. package/dist/esm/ez-multi-selection-list.entry.js +1 -1
  504. package/dist/esm/ez-multi-selection-list.entry.js.gz +0 -0
  505. package/dist/esm/ez-number-input.entry.js.gz +0 -0
  506. package/dist/esm/ez-pagination.entry.js.gz +0 -0
  507. package/dist/esm/ez-popover-core.entry.js +18 -2
  508. package/dist/esm/ez-popover-core.entry.js.gz +0 -0
  509. package/dist/esm/ez-popover-plus_3.entry.js +2 -0
  510. package/dist/esm/ez-popover-plus_3.entry.js.gz +0 -0
  511. package/dist/esm/ez-popover.entry.js.gz +0 -0
  512. package/dist/esm/ez-popup.entry.js.gz +0 -0
  513. package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
  514. package/dist/esm/ez-radio-button.entry.js.gz +0 -0
  515. package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
  516. package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
  517. package/dist/esm/ez-search-plus.entry.js.gz +0 -0
  518. package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
  519. package/dist/esm/ez-search.entry.js.gz +0 -0
  520. package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
  521. package/dist/esm/ez-skeleton.entry.js.gz +0 -0
  522. package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
  523. package/dist/esm/ez-spinner.entry.js.gz +0 -0
  524. package/dist/esm/ez-split-button.entry.js.gz +0 -0
  525. package/dist/esm/ez-split-item.entry.js.gz +0 -0
  526. package/dist/esm/ez-split-panel.entry.js.gz +0 -0
  527. package/dist/esm/ez-tabselector.entry.js.gz +0 -0
  528. package/dist/esm/ez-tag-input.entry.js.gz +0 -0
  529. package/dist/esm/ez-tag.entry.js.gz +0 -0
  530. package/dist/esm/ez-text-area.entry.js.gz +0 -0
  531. package/dist/esm/ez-text-input.entry.js.gz +0 -0
  532. package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
  533. package/dist/esm/ez-tile.entry.js.gz +0 -0
  534. package/dist/esm/ez-time-input.entry.js.gz +0 -0
  535. package/dist/esm/ez-toast.entry.js.gz +0 -0
  536. package/dist/esm/ez-tooltip.entry.js +1 -1
  537. package/dist/esm/ez-tooltip.entry.js.gz +0 -0
  538. package/dist/esm/ez-tree.entry.js.gz +0 -0
  539. package/dist/esm/ez-underface.entry.js.gz +0 -0
  540. package/dist/esm/ez-upload.entry.js.gz +0 -0
  541. package/dist/esm/ez-view-stack.entry.js.gz +0 -0
  542. package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
  543. package/dist/esm/ezui.js +1 -1
  544. package/dist/esm/ezui.js.gz +0 -0
  545. package/dist/esm/filter-column.entry.js +7 -2
  546. package/dist/esm/filter-column.entry.js.gz +0 -0
  547. package/dist/esm/{floating-ui.dom.esm-ad30f2f0.js → floating-ui.dom.esm-c94d4011.js} +93 -1
  548. package/dist/esm/floating-ui.dom.esm-c94d4011.js.gz +0 -0
  549. package/dist/esm/index-41363fa6.js.gz +0 -0
  550. package/dist/esm/index-baa5e267.js.gz +0 -0
  551. package/dist/esm/index.js.gz +0 -0
  552. package/dist/esm/loader.js +1 -1
  553. package/dist/esm/loader.js.gz +0 -0
  554. package/dist/esm/polyfills/core-js.js.gz +0 -0
  555. package/dist/esm/polyfills/css-shim.js.gz +0 -0
  556. package/dist/esm/polyfills/dom.js.gz +0 -0
  557. package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
  558. package/dist/esm/polyfills/index.js.gz +0 -0
  559. package/dist/esm/polyfills/system.js.gz +0 -0
  560. package/dist/esm/{purify-a818ad63.js → purify-2a793dce.js} +724 -262
  561. package/dist/esm/purify-2a793dce.js.gz +0 -0
  562. package/dist/esm/search-column-c20d2b01.js.gz +0 -0
  563. package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
  564. package/dist/ezui/ezui.esm.js +1 -1
  565. package/dist/ezui/ezui.esm.js.gz +0 -0
  566. package/dist/ezui/index.esm.js.gz +0 -0
  567. package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
  568. package/dist/ezui/p-04126429.js.gz +0 -0
  569. package/dist/ezui/p-05c32903.entry.js.gz +0 -0
  570. package/dist/ezui/p-0a1be08d.entry.js +1 -0
  571. package/dist/ezui/p-0a1be08d.entry.js.gz +0 -0
  572. package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
  573. package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
  574. package/dist/ezui/p-112455b1.js.gz +0 -0
  575. package/dist/ezui/p-18384b91.entry.js.gz +0 -0
  576. package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
  577. package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
  578. package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
  579. package/dist/ezui/p-23a36bb6.js.gz +0 -0
  580. package/dist/ezui/p-24460bb2.js +1 -0
  581. package/dist/ezui/p-24460bb2.js.gz +0 -0
  582. package/dist/ezui/p-288631d1.entry.js.gz +0 -0
  583. package/dist/ezui/p-30ffb9ed.js.gz +0 -0
  584. package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
  585. package/dist/ezui/p-39761eca.entry.js.gz +0 -0
  586. package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
  587. package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
  588. package/dist/ezui/p-3e767a74.js.gz +0 -0
  589. package/dist/ezui/p-40a60148.js.gz +0 -0
  590. package/dist/ezui/p-411c0222.entry.js.gz +0 -0
  591. package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
  592. package/dist/ezui/p-48effc69.entry.js.gz +0 -0
  593. package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
  594. package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
  595. package/dist/ezui/p-5554704c.js.gz +0 -0
  596. package/dist/ezui/{p-7f37ee99.entry.js → p-5d7de125.entry.js} +1 -1
  597. package/dist/ezui/p-5d7de125.entry.js.gz +0 -0
  598. package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
  599. package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
  600. package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
  601. package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
  602. package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
  603. package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
  604. package/dist/ezui/p-6de4cae1.entry.js.gz +0 -0
  605. package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
  606. package/dist/ezui/p-721fd999.entry.js.gz +0 -0
  607. package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
  608. package/dist/ezui/p-7f792043.entry.js.gz +0 -0
  609. package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
  610. package/dist/ezui/p-80dfc50b.js.gz +0 -0
  611. package/dist/ezui/{p-351fb12f.entry.js → p-82b0afe7.entry.js} +1 -1
  612. package/dist/ezui/p-82b0afe7.entry.js.gz +0 -0
  613. package/dist/ezui/p-859e3134.entry.js.gz +0 -0
  614. package/dist/ezui/p-8bf077ea.entry.js +1 -0
  615. package/dist/ezui/p-8bf077ea.entry.js.gz +0 -0
  616. package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
  617. package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
  618. package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
  619. package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
  620. package/dist/ezui/p-94deb71e.entry.js.gz +0 -0
  621. package/dist/ezui/p-98bb8b16.js.gz +0 -0
  622. package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
  623. package/dist/ezui/p-9b215871.entry.js.gz +0 -0
  624. package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
  625. package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
  626. package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
  627. package/dist/ezui/p-a278f26e.entry.js.gz +0 -0
  628. package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
  629. package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
  630. package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
  631. package/dist/ezui/p-a61fdd20.js.gz +0 -0
  632. package/dist/ezui/p-a63b20a0.entry.js.gz +0 -0
  633. package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
  634. package/dist/ezui/p-a80e6b24.entry.js +1 -0
  635. package/dist/ezui/p-a80e6b24.entry.js.gz +0 -0
  636. package/dist/ezui/p-ab574d59.js.gz +0 -0
  637. package/dist/ezui/p-b1e45320.js.gz +0 -0
  638. package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
  639. package/dist/ezui/p-b853763b.js.gz +0 -0
  640. package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
  641. package/dist/ezui/p-baec56c9.js.gz +0 -0
  642. package/dist/ezui/{p-183db57c.entry.js → p-bc139838.entry.js} +1 -1
  643. package/dist/ezui/p-bc139838.entry.js.gz +0 -0
  644. package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
  645. package/dist/ezui/p-bc8e5c3d.js +3 -0
  646. package/dist/ezui/p-bc8e5c3d.js.gz +0 -0
  647. package/dist/ezui/p-cde41310.entry.js.gz +0 -0
  648. package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
  649. package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
  650. package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
  651. package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
  652. package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
  653. package/dist/ezui/p-d6f50207.entry.js.gz +0 -0
  654. package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
  655. package/dist/ezui/p-dc628ed3.js.gz +0 -0
  656. package/dist/ezui/p-de862af4.entry.js.gz +0 -0
  657. package/dist/ezui/p-dee18824.entry.js.gz +0 -0
  658. package/dist/ezui/p-e5de42e7.entry.js.gz +0 -0
  659. package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
  660. package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
  661. package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
  662. package/dist/ezui/p-ec7db713.js.gz +0 -0
  663. package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
  664. package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
  665. package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
  666. package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
  667. package/dist/ezui/{p-c9ef8551.entry.js → p-fd96baa6.entry.js} +1 -1
  668. package/dist/ezui/p-fd96baa6.entry.js.gz +0 -0
  669. package/dist/index.cjs.js.gz +0 -0
  670. package/dist/index.js.gz +0 -0
  671. package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +7 -0
  672. package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +9 -0
  673. package/dist/types/components.d.ts +16 -0
  674. package/package.json +1 -1
  675. package/dist/cjs/floating-ui.dom.esm-f4d87617.js.gz +0 -0
  676. package/dist/cjs/purify-ca9603eb.js.gz +0 -0
  677. package/dist/esm/floating-ui.dom.esm-ad30f2f0.js.gz +0 -0
  678. package/dist/esm/purify-a818ad63.js.gz +0 -0
  679. package/dist/ezui/p-183db57c.entry.js.gz +0 -0
  680. package/dist/ezui/p-197eb577.js +0 -3
  681. package/dist/ezui/p-197eb577.js.gz +0 -0
  682. package/dist/ezui/p-2528e988.entry.js +0 -1
  683. package/dist/ezui/p-2528e988.entry.js.gz +0 -0
  684. package/dist/ezui/p-2a806303.js +0 -1
  685. package/dist/ezui/p-2a806303.js.gz +0 -0
  686. package/dist/ezui/p-2b49aa22.entry.js +0 -1
  687. package/dist/ezui/p-2b49aa22.entry.js.gz +0 -0
  688. package/dist/ezui/p-351fb12f.entry.js.gz +0 -0
  689. package/dist/ezui/p-7f37ee99.entry.js.gz +0 -0
  690. package/dist/ezui/p-c9ef8551.entry.js.gz +0 -0
  691. package/dist/ezui/p-ef8bd3e8.entry.js +0 -1
  692. package/dist/ezui/p-ef8bd3e8.entry.js.gz +0 -0
@@ -75209,7 +75209,7 @@ var MenuModule = {
75209
75209
  };
75210
75210
 
75211
75211
  var purify = createCommonjsModule(function (module, exports) {
75212
- /*! @license DOMPurify 3.4.8 | (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.8/LICENSE */
75212
+ /*! @license DOMPurify 3.4.11 | (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.11/LICENSE */
75213
75213
 
75214
75214
  (function (global, factory) {
75215
75215
  module.exports = factory() ;
@@ -75541,8 +75541,14 @@ var purify = createCommonjsModule(function (module, exports) {
75541
75541
  );
75542
75542
  const DOCTYPE_NAME = seal(/^html$/i);
75543
75543
  const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
75544
+ // Markup-significant character probes used by _sanitizeElements.
75545
+ // Shared module-level instances are safe despite the sticky /g flags:
75546
+ // unapply() resets lastIndex for RegExp receivers before every call.
75547
+ const ELEMENT_MARKUP_PROBE = seal(/<[/\w!]/g);
75548
+ const COMMENT_MARKUP_PROBE = seal(/<[/\w]/g);
75549
+ const FALLBACK_TAG_CLOSE = seal(/<\/no(script|embed|frames)/i);
75550
+ const SELF_CLOSING_TAG = seal(/\/>/i);
75544
75551
 
75545
- /* eslint-disable @typescript-eslint/indent */
75546
75552
  // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
75547
75553
  const NODE_TYPE = {
75548
75554
  element: 1,
@@ -75553,7 +75559,7 @@ var purify = createCommonjsModule(function (module, exports) {
75553
75559
  // Deprecated
75554
75560
  entityNode: 6,
75555
75561
  // Deprecated
75556
- progressingInstruction: 7,
75562
+ processingInstruction: 7,
75557
75563
  comment: 8,
75558
75564
  document: 9,
75559
75565
  documentType: 10,
@@ -75613,10 +75619,25 @@ var purify = createCommonjsModule(function (module, exports) {
75613
75619
  uponSanitizeShadowNode: []
75614
75620
  };
75615
75621
  };
75622
+ /**
75623
+ * Resolve a set-valued configuration option: a fresh set built from
75624
+ * cfg[key] when it is an own array property (seeded with a clone of
75625
+ * options.base when given, case-normalized via options.transform),
75626
+ * the fallback set otherwise.
75627
+ *
75628
+ * @param cfg the cloned, prototype-free configuration object
75629
+ * @param key the configuration property to read
75630
+ * @param fallback the set to use when the option is absent or not an array
75631
+ * @param options transform and optional base set to merge into
75632
+ * @returns the resolved set
75633
+ */
75634
+ const _resolveSetOption = function _resolveSetOption(cfg, key, fallback, options) {
75635
+ return objectHasOwnProperty(cfg, key) && arrayIsArray(cfg[key]) ? addToSet(options.base ? clone(options.base) : {}, cfg[key], options.transform) : fallback;
75636
+ };
75616
75637
  function createDOMPurify() {
75617
75638
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
75618
75639
  const DOMPurify = root => createDOMPurify(root);
75619
- DOMPurify.version = '3.4.8';
75640
+ DOMPurify.version = '3.4.11';
75620
75641
  DOMPurify.removed = [];
75621
75642
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
75622
75643
  // Not running in a browser, provide a factory function
@@ -75657,23 +75678,54 @@ var purify = createCommonjsModule(function (module, exports) {
75657
75678
  }
75658
75679
  let trustedTypesPolicy;
75659
75680
  let emptyHTML = '';
75681
+ // The instance's own internal Trusted Types policy. Unlike a caller-supplied
75682
+ // `TRUSTED_TYPES_POLICY`, this is created at most once — Trusted Types throws
75683
+ // on duplicate policy names — and is the only policy allowed to persist
75684
+ // across configurations and survive `clearConfig()`.
75685
+ let defaultTrustedTypesPolicy;
75686
+ let defaultTrustedTypesPolicyResolved = false;
75660
75687
  // Tracks whether we are already inside a call to the configured Trusted Types
75661
- // policy's `createHTML`. If the supplied `TRUSTED_TYPES_POLICY.createHTML`
75688
+ // policy (`createHTML` or `createScriptURL`). If a supplied policy callback
75662
75689
  // itself calls `DOMPurify.sanitize` (the cause of #1422), `sanitize` would
75663
75690
  // re-enter the policy and recurse until the stack overflows. We detect that
75664
- // re-entry and throw a clear, actionable error instead.
75665
- let IN_POLICY_CREATE_HTML = 0;
75666
- const _createTrustedHTML = function _createTrustedHTML(html) {
75667
- if (IN_POLICY_CREATE_HTML > 0) {
75668
- throw typeErrorCreate('The configured TRUSTED_TYPES_POLICY.createHTML must not call ' + 'DOMPurify.sanitize, as that causes infinite recursion. Do not pass ' + 'a policy whose createHTML wraps DOMPurify as TRUSTED_TYPES_POLICY; ' + 'see the "DOMPurify and Trusted Types" section of the README.');
75691
+ // re-entry and throw a clear, actionable error instead. The guard is shared
75692
+ // across both callbacks, because either one re-entering `sanitize` triggers
75693
+ // the same unbounded recursion.
75694
+ let IN_TRUSTED_TYPES_POLICY = 0;
75695
+ const _assertNotInTrustedTypesPolicy = function _assertNotInTrustedTypesPolicy() {
75696
+ if (IN_TRUSTED_TYPES_POLICY > 0) {
75697
+ throw typeErrorCreate('A configured TRUSTED_TYPES_POLICY callback (createHTML or ' + 'createScriptURL) must not call DOMPurify.sanitize, as that causes ' + 'infinite recursion. Do not pass a policy whose callbacks wrap ' + 'DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted ' + 'Types" section of the README.');
75669
75698
  }
75670
- IN_POLICY_CREATE_HTML++;
75699
+ };
75700
+ const _createTrustedHTML = function _createTrustedHTML(html) {
75701
+ _assertNotInTrustedTypesPolicy();
75702
+ IN_TRUSTED_TYPES_POLICY++;
75671
75703
  try {
75672
75704
  return trustedTypesPolicy.createHTML(html);
75673
75705
  } finally {
75674
- IN_POLICY_CREATE_HTML--;
75706
+ IN_TRUSTED_TYPES_POLICY--;
75675
75707
  }
75676
75708
  };
75709
+ const _createTrustedScriptURL = function _createTrustedScriptURL(scriptUrl) {
75710
+ _assertNotInTrustedTypesPolicy();
75711
+ IN_TRUSTED_TYPES_POLICY++;
75712
+ try {
75713
+ return trustedTypesPolicy.createScriptURL(scriptUrl);
75714
+ } finally {
75715
+ IN_TRUSTED_TYPES_POLICY--;
75716
+ }
75717
+ };
75718
+ // Lazily resolve (and cache) the instance's internal default policy.
75719
+ // Resolution is attempted at most once: a successful `createPolicy` cannot be
75720
+ // repeated (Trusted Types throws on duplicate names), and a failed or
75721
+ // unsupported attempt must not be retried on every parse.
75722
+ const _getDefaultTrustedTypesPolicy = function _getDefaultTrustedTypesPolicy() {
75723
+ if (!defaultTrustedTypesPolicyResolved) {
75724
+ defaultTrustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
75725
+ defaultTrustedTypesPolicyResolved = true;
75726
+ }
75727
+ return defaultTrustedTypesPolicy;
75728
+ };
75677
75729
  const _document = document,
75678
75730
  implementation = _document.implementation,
75679
75731
  createNodeIterator = _document.createNodeIterator,
@@ -75770,6 +75822,13 @@ var purify = createCommonjsModule(function (module, exports) {
75770
75822
  let WHOLE_DOCUMENT = false;
75771
75823
  /* Track whether config is already set on this instance of DOMPurify. */
75772
75824
  let SET_CONFIG = false;
75825
+ /* Pristine allowlist bindings captured at setConfig() time. On the
75826
+ * persistent-config path sanitize() restores the sets from these before
75827
+ * the per-walk hook clone-guard, so a hook's in-call widening cannot
75828
+ * carry across calls. Null until setConfig() is called; reset by
75829
+ * clearConfig(). */
75830
+ let SET_CONFIG_ALLOWED_TAGS = null;
75831
+ let SET_CONFIG_ALLOWED_ATTR = null;
75773
75832
  /* Decide if all elements (e.g. style, script) must be children of
75774
75833
  * document.body. By default, browsers might move them to document.head */
75775
75834
  let FORCE_BODY = false;
@@ -75812,7 +75871,17 @@ var purify = createCommonjsModule(function (module, exports) {
75812
75871
  let USE_PROFILES = {};
75813
75872
  /* Tags to ignore content of when KEEP_CONTENT is true */
75814
75873
  let FORBID_CONTENTS = null;
75815
- const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);
75874
+ const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script',
75875
+ // <selectedcontent> mirrors the selected <option>'s subtree, cloned by
75876
+ // the UA (customizable <select>) — including any on* handlers — and the
75877
+ // engine re-mirrors synchronously whenever a removal changes which
75878
+ // option/selectedcontent is current, even inside DOMPurify's inert
75879
+ // DOMParser document. Hoisting its children on removal re-inserts a fresh
75880
+ // mirror target ahead of the walk, which the engine refills, looping
75881
+ // forever (DoS) and amplifying output. Dropping its content on removal
75882
+ // (rather than hoisting) breaks that cascade; the content is a duplicate
75883
+ // of the option, which is sanitized on its own. See campaign-3 F1/F6.
75884
+ 'selectedcontent', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);
75816
75885
  /* Tags that are safe for data: URIs */
75817
75886
  let DATA_URI_TAGS = null;
75818
75887
  const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
@@ -75828,8 +75897,10 @@ var purify = createCommonjsModule(function (module, exports) {
75828
75897
  /* Allowed XHTML+XML namespaces */
75829
75898
  let ALLOWED_NAMESPACES = null;
75830
75899
  const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
75831
- let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
75832
- let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);
75900
+ const DEFAULT_MATHML_TEXT_INTEGRATION_POINTS = freeze(['mi', 'mo', 'mn', 'ms', 'mtext']);
75901
+ let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS);
75902
+ const DEFAULT_HTML_INTEGRATION_POINTS = freeze(['annotation-xml']);
75903
+ let HTML_INTEGRATION_POINTS = addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS);
75833
75904
  // Certain elements are allowed in both SVG and HTML
75834
75905
  // namespace. We need to specify them explicitly
75835
75906
  // so that they don't get erroneously deleted from
@@ -75871,14 +75942,32 @@ var purify = createCommonjsModule(function (module, exports) {
75871
75942
  // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
75872
75943
  transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
75873
75944
  /* Set configuration parameters */
75874
- ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') && arrayIsArray(cfg.ALLOWED_TAGS) ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
75875
- ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') && arrayIsArray(cfg.ALLOWED_ATTR) ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
75876
- ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') && arrayIsArray(cfg.ALLOWED_NAMESPACES) ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
75877
- 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;
75878
- 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;
75879
- FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') && arrayIsArray(cfg.FORBID_CONTENTS) ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
75880
- FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') && arrayIsArray(cfg.FORBID_TAGS) ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
75881
- FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') && arrayIsArray(cfg.FORBID_ATTR) ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
75945
+ ALLOWED_TAGS = _resolveSetOption(cfg, 'ALLOWED_TAGS', DEFAULT_ALLOWED_TAGS, {
75946
+ transform: transformCaseFunc
75947
+ });
75948
+ ALLOWED_ATTR = _resolveSetOption(cfg, 'ALLOWED_ATTR', DEFAULT_ALLOWED_ATTR, {
75949
+ transform: transformCaseFunc
75950
+ });
75951
+ ALLOWED_NAMESPACES = _resolveSetOption(cfg, 'ALLOWED_NAMESPACES', DEFAULT_ALLOWED_NAMESPACES, {
75952
+ transform: stringToString
75953
+ });
75954
+ URI_SAFE_ATTRIBUTES = _resolveSetOption(cfg, 'ADD_URI_SAFE_ATTR', DEFAULT_URI_SAFE_ATTRIBUTES, {
75955
+ transform: transformCaseFunc,
75956
+ base: DEFAULT_URI_SAFE_ATTRIBUTES
75957
+ });
75958
+ DATA_URI_TAGS = _resolveSetOption(cfg, 'ADD_DATA_URI_TAGS', DEFAULT_DATA_URI_TAGS, {
75959
+ transform: transformCaseFunc,
75960
+ base: DEFAULT_DATA_URI_TAGS
75961
+ });
75962
+ FORBID_CONTENTS = _resolveSetOption(cfg, 'FORBID_CONTENTS', DEFAULT_FORBID_CONTENTS, {
75963
+ transform: transformCaseFunc
75964
+ });
75965
+ FORBID_TAGS = _resolveSetOption(cfg, 'FORBID_TAGS', clone({}), {
75966
+ transform: transformCaseFunc
75967
+ });
75968
+ FORBID_ATTR = _resolveSetOption(cfg, 'FORBID_ATTR', clone({}), {
75969
+ transform: transformCaseFunc
75970
+ });
75882
75971
  USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES && typeof cfg.USE_PROFILES === 'object' ? clone(cfg.USE_PROFILES) : cfg.USE_PROFILES : false;
75883
75972
  ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
75884
75973
  ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
@@ -75897,8 +75986,8 @@ var purify = createCommonjsModule(function (module, exports) {
75897
75986
  IN_PLACE = cfg.IN_PLACE || false; // Default false
75898
75987
  IS_ALLOWED_URI$1 = isRegex(cfg.ALLOWED_URI_REGEXP) ? cfg.ALLOWED_URI_REGEXP : IS_ALLOWED_URI; // Default regexp
75899
75988
  NAMESPACE = typeof cfg.NAMESPACE === 'string' ? cfg.NAMESPACE : HTML_NAMESPACE; // Default HTML namespace
75900
- 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
75901
- 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
75989
+ 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({}, DEFAULT_MATHML_TEXT_INTEGRATION_POINTS); // Default built-in map
75990
+ HTML_INTEGRATION_POINTS = objectHasOwnProperty(cfg, 'HTML_INTEGRATION_POINTS') && cfg.HTML_INTEGRATION_POINTS && typeof cfg.HTML_INTEGRATION_POINTS === 'object' ? clone(cfg.HTML_INTEGRATION_POINTS) : addToSet({}, DEFAULT_HTML_INTEGRATION_POINTS); // Default built-in map
75902
75991
  const customElementHandling = objectHasOwnProperty(cfg, 'CUSTOM_ELEMENT_HANDLING') && cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING === 'object' ? clone(cfg.CUSTOM_ELEMENT_HANDLING) : create(null);
75903
75992
  CUSTOM_ELEMENT_HANDLING = create(null);
75904
75993
  if (objectHasOwnProperty(customElementHandling, 'tagNameCheck') && isRegexOrFunction(customElementHandling.tagNameCheck)) {
@@ -75910,6 +75999,7 @@ var purify = createCommonjsModule(function (module, exports) {
75910
75999
  if (objectHasOwnProperty(customElementHandling, 'allowCustomizedBuiltInElements') && typeof customElementHandling.allowCustomizedBuiltInElements === 'boolean') {
75911
76000
  CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = customElementHandling.allowCustomizedBuiltInElements; // Default undefined
75912
76001
  }
76002
+ seal(CUSTOM_ELEMENT_HANDLING);
75913
76003
  if (SAFE_FOR_TEMPLATES) {
75914
76004
  ALLOW_DATA_ATTR = false;
75915
76005
  }
@@ -75993,6 +76083,13 @@ var purify = createCommonjsModule(function (module, exports) {
75993
76083
  addToSet(ALLOWED_TAGS, ['tbody']);
75994
76084
  delete FORBID_TAGS.tbody;
75995
76085
  }
76086
+ // Re-derive the active Trusted Types policy from this configuration on
76087
+ // every parse. The active policy must never be sticky closure state that
76088
+ // outlives the config that set it: a caller-supplied policy left in place
76089
+ // after `clearConfig()` — or after a later call that supplied none, or
76090
+ // `TRUSTED_TYPES_POLICY: null` — could sign a subsequent "default"
76091
+ // `RETURN_TRUSTED_TYPE` result with a foreign, possibly unsafe policy.
76092
+ // See GHSA-vxr8-fq34-vvx9.
75996
76093
  if (cfg.TRUSTED_TYPES_POLICY) {
75997
76094
  if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
75998
76095
  throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
@@ -76000,7 +76097,7 @@ var purify = createCommonjsModule(function (module, exports) {
76000
76097
  if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
76001
76098
  throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
76002
76099
  }
76003
- // Overwrite existing TrustedTypes policy.
76100
+ // A caller-supplied policy applies to this configuration only.
76004
76101
  const previousTrustedTypesPolicy = trustedTypesPolicy;
76005
76102
  trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
76006
76103
  // Sign local variables required by `sanitize`. If the supplied policy's
@@ -76013,35 +76110,34 @@ var purify = createCommonjsModule(function (module, exports) {
76013
76110
  trustedTypesPolicy = previousTrustedTypesPolicy;
76014
76111
  throw error;
76015
76112
  }
76113
+ } else if (cfg.TRUSTED_TYPES_POLICY === null) {
76114
+ // Explicit opt-out for this call: perform no Trusted Types signing and
76115
+ // create nothing (so a strict `trusted-types` CSP that disallows a
76116
+ // `dompurify` policy can still call `sanitize` from inside its own
76117
+ // policy — see #1422). Resetting to `undefined` rather than a sticky
76118
+ // `null` also drops any previously retained caller policy, so it cannot
76119
+ // resurface on a later call, while still allowing the next config-less
76120
+ // call to restore the internal default policy. See GHSA-vxr8-fq34-vvx9.
76121
+ trustedTypesPolicy = undefined;
76122
+ emptyHTML = '';
76016
76123
  } else {
76017
- // Uninitialized policy, attempt to initialize the internal dompurify policy.
76018
- if (trustedTypesPolicy === undefined && cfg.TRUSTED_TYPES_POLICY !== null) {
76019
- trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
76020
- }
76021
- // If creating the internal policy succeeded sign internal variables.
76022
- // Note: a falsy `trustedTypesPolicy` (null when policy creation failed or
76023
- // was skipped via `TRUSTED_TYPES_POLICY: null`, or undefined when no
76024
- // policy has been initialized yet) must be excluded here, otherwise we
76025
- // would call `.createHTML` on a non-policy and throw. See #1422.
76124
+ // No policy supplied: keep the currently active policy if one is set — a
76125
+ // previously supplied policy is intentionally sticky across config-less
76126
+ // calls — otherwise fall back to the instance's own internal policy,
76127
+ // created at most once. (A policy supplied for a *single* call still
76128
+ // lingers by design; what must not linger is a policy whose configuration
76129
+ // has been torn down via `clearConfig()`, which restores the default.)
76130
+ if (trustedTypesPolicy === undefined) {
76131
+ trustedTypesPolicy = _getDefaultTrustedTypesPolicy();
76132
+ }
76133
+ // Sign internal variables only when a policy is active. A falsy policy
76134
+ // (Trusted Types unsupported, creation failed, or an explicit opt-out)
76135
+ // leaves `emptyHTML` as a plain string, so we never call `.createHTML` on
76136
+ // a non-policy and throw. See #1422.
76026
76137
  if (trustedTypesPolicy && typeof emptyHTML === 'string') {
76027
76138
  emptyHTML = _createTrustedHTML('');
76028
76139
  }
76029
76140
  }
76030
- /*
76031
- * Mirror the clone-before-mutate pattern already applied above for
76032
- * cfg.ADD_TAGS / cfg.ADD_ATTR: if any uponSanitize* hook is
76033
- * registered AND the set still points at the default constant,
76034
- * clone it. The hook then mutates the clone (in-call widening
76035
- * still works exactly as documented) and the next default-cfg
76036
- * call rebinds to the untouched original via the reassignment at
76037
- * the top of this function.
76038
- */
76039
- if ((hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) && ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
76040
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
76041
- }
76042
- if (hooks.uponSanitizeAttribute.length > 0 && ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
76043
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
76044
- }
76045
76141
  // Prevent further manipulation of configuration.
76046
76142
  // Not available in IE8, Safari 5, etc.
76047
76143
  if (freeze) {
@@ -76054,6 +76150,77 @@ var purify = createCommonjsModule(function (module, exports) {
76054
76150
  * correctly. */
76055
76151
  const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
76056
76152
  const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
76153
+ /**
76154
+ * Namespace rules for an element in the SVG namespace.
76155
+ *
76156
+ * @param tagName the element's lowercase tag name
76157
+ * @param parent the (possibly simulated) parent node
76158
+ * @param parentTagName the parent's lowercase tag name
76159
+ * @returns true if a spec-compliant parser could produce this element
76160
+ */
76161
+ const _checkSvgNamespace = function _checkSvgNamespace(tagName, parent, parentTagName) {
76162
+ // The only way to switch from HTML namespace to SVG
76163
+ // is via <svg>. If it happens via any other tag, then
76164
+ // it should be killed.
76165
+ if (parent.namespaceURI === HTML_NAMESPACE) {
76166
+ return tagName === 'svg';
76167
+ }
76168
+ // The only way to switch from MathML to SVG is via <svg>
76169
+ // if the parent is either <annotation-xml> or a MathML
76170
+ // text integration point.
76171
+ if (parent.namespaceURI === MATHML_NAMESPACE) {
76172
+ return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
76173
+ }
76174
+ // We only allow elements that are defined in SVG
76175
+ // spec. All others are disallowed in SVG namespace.
76176
+ return Boolean(ALL_SVG_TAGS[tagName]);
76177
+ };
76178
+ /**
76179
+ * Namespace rules for an element in the MathML namespace.
76180
+ *
76181
+ * @param tagName the element's lowercase tag name
76182
+ * @param parent the (possibly simulated) parent node
76183
+ * @param parentTagName the parent's lowercase tag name
76184
+ * @returns true if a spec-compliant parser could produce this element
76185
+ */
76186
+ const _checkMathMlNamespace = function _checkMathMlNamespace(tagName, parent, parentTagName) {
76187
+ // The only way to switch from HTML namespace to MathML
76188
+ // is via <math>. If it happens via any other tag, then
76189
+ // it should be killed.
76190
+ if (parent.namespaceURI === HTML_NAMESPACE) {
76191
+ return tagName === 'math';
76192
+ }
76193
+ // The only way to switch from SVG to MathML is via
76194
+ // <math> and HTML integration points
76195
+ if (parent.namespaceURI === SVG_NAMESPACE) {
76196
+ return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
76197
+ }
76198
+ // We only allow elements that are defined in MathML
76199
+ // spec. All others are disallowed in MathML namespace.
76200
+ return Boolean(ALL_MATHML_TAGS[tagName]);
76201
+ };
76202
+ /**
76203
+ * Namespace rules for an element in the HTML namespace.
76204
+ *
76205
+ * @param tagName the element's lowercase tag name
76206
+ * @param parent the (possibly simulated) parent node
76207
+ * @param parentTagName the parent's lowercase tag name
76208
+ * @returns true if a spec-compliant parser could produce this element
76209
+ */
76210
+ const _checkHtmlNamespace = function _checkHtmlNamespace(tagName, parent, parentTagName) {
76211
+ // The only way to switch from SVG to HTML is via
76212
+ // HTML integration points, and from MathML to HTML
76213
+ // is via MathML text integration points
76214
+ if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
76215
+ return false;
76216
+ }
76217
+ if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
76218
+ return false;
76219
+ }
76220
+ // We disallow tags that are specific for MathML
76221
+ // or SVG and should never appear in HTML namespace
76222
+ return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
76223
+ };
76057
76224
  /**
76058
76225
  * @param element a DOM element whose namespace is being checked
76059
76226
  * @returns Return false if the element has a
@@ -76076,51 +76243,13 @@ var purify = createCommonjsModule(function (module, exports) {
76076
76243
  return false;
76077
76244
  }
76078
76245
  if (element.namespaceURI === SVG_NAMESPACE) {
76079
- // The only way to switch from HTML namespace to SVG
76080
- // is via <svg>. If it happens via any other tag, then
76081
- // it should be killed.
76082
- if (parent.namespaceURI === HTML_NAMESPACE) {
76083
- return tagName === 'svg';
76084
- }
76085
- // The only way to switch from MathML to SVG is via`
76086
- // svg if parent is either <annotation-xml> or MathML
76087
- // text integration points.
76088
- if (parent.namespaceURI === MATHML_NAMESPACE) {
76089
- return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
76090
- }
76091
- // We only allow elements that are defined in SVG
76092
- // spec. All others are disallowed in SVG namespace.
76093
- return Boolean(ALL_SVG_TAGS[tagName]);
76246
+ return _checkSvgNamespace(tagName, parent, parentTagName);
76094
76247
  }
76095
76248
  if (element.namespaceURI === MATHML_NAMESPACE) {
76096
- // The only way to switch from HTML namespace to MathML
76097
- // is via <math>. If it happens via any other tag, then
76098
- // it should be killed.
76099
- if (parent.namespaceURI === HTML_NAMESPACE) {
76100
- return tagName === 'math';
76101
- }
76102
- // The only way to switch from SVG to MathML is via
76103
- // <math> and HTML integration points
76104
- if (parent.namespaceURI === SVG_NAMESPACE) {
76105
- return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
76106
- }
76107
- // We only allow elements that are defined in MathML
76108
- // spec. All others are disallowed in MathML namespace.
76109
- return Boolean(ALL_MATHML_TAGS[tagName]);
76249
+ return _checkMathMlNamespace(tagName, parent, parentTagName);
76110
76250
  }
76111
76251
  if (element.namespaceURI === HTML_NAMESPACE) {
76112
- // The only way to switch from SVG to HTML is via
76113
- // HTML integration points, and from MathML to HTML
76114
- // is via MathML text integration points
76115
- if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
76116
- return false;
76117
- }
76118
- if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
76119
- return false;
76120
- }
76121
- // We disallow tags that are specific for MathML
76122
- // or SVG and should never appear in HTML namespace
76123
- return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
76252
+ return _checkHtmlNamespace(tagName, parent, parentTagName);
76124
76253
  }
76125
76254
  // For XHTML and XML documents that support custom namespaces
76126
76255
  if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
@@ -76145,7 +76274,74 @@ var purify = createCommonjsModule(function (module, exports) {
76145
76274
  // eslint-disable-next-line unicorn/prefer-dom-node-remove
76146
76275
  getParentNode(node).removeChild(node);
76147
76276
  } catch (_) {
76277
+ /* The normal detach failed — this is reached for a parentless node
76278
+ (getParentNode() is null, so .removeChild throws). Element.prototype
76279
+ .remove() is itself a spec no-op on a parentless node, so a recorded
76280
+ "removal" would otherwise hand the caller back an intact,
76281
+ payload-bearing node (e.g. a detached IN_PLACE root the mXSS canary or
76282
+ the style-with-element-child rule decided to kill). Fail closed by
76283
+ throwing — exactly as a clobbered root does at the IN_PLACE entry —
76284
+ rather than trying to "neutralize" the node via its own methods.
76285
+ Neutralizing would mean calling getAttributeNames()/removeAttribute()
76286
+ on the node, both of which a <form> root can clobber via a named child
76287
+ (and _isClobbered does not even probe getAttributeNames), so the
76288
+ neutralize step could itself be silently defeated, leaving the payload
76289
+ intact. A throw touches only the cached, clobber-safe remove() and
76290
+ getParentNode(). Generalizes GHSA-r47g-fvhr-h676 (clobbered-form root)
76291
+ to every root-kill reason. REPORT-3.
76292
+ This lives inside the catch, so it never fires for a normally-removed
76293
+ in-tree node: those have a parent, removeChild() succeeds, and the
76294
+ catch is not entered. Only a kept (parentless) root reaches here. */
76148
76295
  remove(node);
76296
+ if (!getParentNode(node)) {
76297
+ throw typeErrorCreate('a node selected for removal could not be detached from its tree ' + 'and cannot be safely returned; refusing to sanitize in place');
76298
+ }
76299
+ }
76300
+ };
76301
+ /**
76302
+ * _neutralizeRoot
76303
+ *
76304
+ * Fail-closed teardown of an in-place root after the sanitize walk aborts
76305
+ * (campaign-3 F2). An internal throw mid-walk — e.g. a page-registered
76306
+ * custom element's reaction detaches a node so `_forceRemove`'s deliberate
76307
+ * parentless guard throws, or any other re-entrant engine mutation — would
76308
+ * otherwise leave the caller's *live* tree half-sanitized, with everything
76309
+ * after the abort point still carrying its handlers. There is no safe way
76310
+ * to resume the walk (the tree mutated under us), so we strip the root bare:
76311
+ * remove every child and every attribute, then let the caller's catch see
76312
+ * the original error. Clobber-safe (cached `remove`/`childNodes`/`attributes`
76313
+ * getters; the root was already clobber-pre-flighted at the IN_PLACE entry).
76314
+ *
76315
+ * @param root the in-place root to empty
76316
+ */
76317
+ const _neutralizeRoot = function _neutralizeRoot(root) {
76318
+ const childNodes = getChildNodes(root);
76319
+ if (childNodes) {
76320
+ const snapshot = [];
76321
+ arrayForEach(childNodes, child => {
76322
+ arrayPush(snapshot, child);
76323
+ });
76324
+ arrayForEach(snapshot, child => {
76325
+ try {
76326
+ remove(child);
76327
+ } catch (_) {
76328
+ /* Best-effort teardown; a still-attached child is handled below */
76329
+ }
76330
+ });
76331
+ }
76332
+ const attributes = getAttributes(root);
76333
+ if (attributes) {
76334
+ for (let i = attributes.length - 1; i >= 0; --i) {
76335
+ const attribute = attributes[i];
76336
+ const name = attribute && attribute.name;
76337
+ if (typeof name === 'string') {
76338
+ try {
76339
+ root.removeAttribute(name);
76340
+ } catch (_) {
76341
+ /* Clobbered removeAttribute — ignore (fail-closed best effort) */
76342
+ }
76343
+ }
76344
+ }
76149
76345
  }
76150
76346
  };
76151
76347
  /**
@@ -76180,6 +76376,72 @@ var purify = createCommonjsModule(function (module, exports) {
76180
76376
  }
76181
76377
  }
76182
76378
  };
76379
+ /**
76380
+ * _stripDisallowedAttributes
76381
+ *
76382
+ * Removes every attribute the active configuration does not allow from a
76383
+ * single element, using the same allowlist as the main attribute pass (so
76384
+ * `on*` handlers go, but no `/^on/` blocklist is introduced). Used only to
76385
+ * neutralise nodes that are being discarded from an in-place tree.
76386
+ *
76387
+ * @param element the element to strip
76388
+ */
76389
+ const _stripDisallowedAttributes = function _stripDisallowedAttributes(element) {
76390
+ const attributes = getAttributes(element);
76391
+ if (!attributes) {
76392
+ return;
76393
+ }
76394
+ for (let i = attributes.length - 1; i >= 0; --i) {
76395
+ const attribute = attributes[i];
76396
+ const name = attribute && attribute.name;
76397
+ if (typeof name !== 'string' || ALLOWED_ATTR[transformCaseFunc(name)]) {
76398
+ continue;
76399
+ }
76400
+ try {
76401
+ element.removeAttribute(name);
76402
+ } catch (_) {
76403
+ /* Clobbered removeAttribute on a doomed node — ignore */
76404
+ }
76405
+ }
76406
+ };
76407
+ /**
76408
+ * _neutralizeSubtree
76409
+ *
76410
+ * Completes the audit-5 F1 fix across every removal path. The KEEP_CONTENT
76411
+ * move-hoist neutralises only disallowed-tag removals; clobber, mXSS-canary,
76412
+ * namespace, comment, processing-instruction and KEEP_CONTENT:false removals
76413
+ * all drop their subtree wholesale via `_forceRemove`. On the IN_PLACE path
76414
+ * those dropped nodes are detached from the caller's LIVE tree but a
76415
+ * handler-bearing original among them (an `<img onerror>`/`<video>` that was
76416
+ * loading) keeps its queued resource event, which fires in page scope after
76417
+ * sanitize returns. This walks a removed subtree and strips every attribute
76418
+ * the active configuration does not allow — so `on*` handlers are cancelled
76419
+ * through the SAME allowlist that governs kept nodes, not a separate `/^on/`
76420
+ * blocklist. Run synchronously before sanitize returns, i.e. before any
76421
+ * queued event can fire. Hook-free by design: these nodes leave the output,
76422
+ * so firing attribute hooks for them would be surprising. Clobber-safe reads;
76423
+ * a doomed clobbered node may shadow `removeAttribute` (its own attributes are
76424
+ * irrelevant — it is discarded — while its non-clobbered descendants, e.g.
76425
+ * the `<img>`, are reached and scrubbed).
76426
+ *
76427
+ * @param root the root of a removed subtree to neutralise
76428
+ */
76429
+ const _neutralizeSubtree = function _neutralizeSubtree(root) {
76430
+ const stack = [root];
76431
+ while (stack.length > 0) {
76432
+ const node = stack.pop();
76433
+ const nodeType = getNodeType ? getNodeType(node) : node.nodeType;
76434
+ if (nodeType === NODE_TYPE.element) {
76435
+ _stripDisallowedAttributes(node);
76436
+ }
76437
+ const childNodes = getChildNodes(node);
76438
+ if (childNodes) {
76439
+ for (let i = childNodes.length - 1; i >= 0; --i) {
76440
+ stack.push(childNodes[i]);
76441
+ }
76442
+ }
76443
+ }
76444
+ };
76183
76445
  /**
76184
76446
  * _initDocument
76185
76447
  *
@@ -76241,6 +76503,20 @@ var purify = createCommonjsModule(function (module, exports) {
76241
76503
  // eslint-disable-next-line no-bitwise
76242
76504
  NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
76243
76505
  };
76506
+ /**
76507
+ * Replace template expression syntax (mustache, ERB, template
76508
+ * literal) with a space; shared by all SAFE_FOR_TEMPLATES scrub
76509
+ * sites. Order matters: mustache, then ERB, then template literal.
76510
+ *
76511
+ * @param value the string to scrub
76512
+ * @returns the scrubbed string
76513
+ */
76514
+ const _stripTemplateExpressions = function _stripTemplateExpressions(value) {
76515
+ value = stringReplace(value, MUSTACHE_EXPR$1, ' ');
76516
+ value = stringReplace(value, ERB_EXPR$1, ' ');
76517
+ value = stringReplace(value, TMPLIT_EXPR$1, ' ');
76518
+ return value;
76519
+ };
76244
76520
  /**
76245
76521
  * Strip template-engine expressions ({{...}}, ${...}, <%...%>) from the
76246
76522
  * character data of an element subtree. Used as the final safety net for
@@ -76261,29 +76537,27 @@ var purify = createCommonjsModule(function (module, exports) {
76261
76537
  * @param node The root element whose character data should be scrubbed.
76262
76538
  */
76263
76539
  const _scrubTemplateExpressions2 = function _scrubTemplateExpressions(node) {
76264
- var _node$querySelectorAl, _node$querySelectorAl2;
76540
+ var _node$querySelectorAl;
76265
76541
  node.normalize();
76266
76542
  const walker = createNodeIterator.call(node.ownerDocument || node, node,
76267
76543
  // eslint-disable-next-line no-bitwise
76268
76544
  NodeFilter.SHOW_TEXT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_CDATA_SECTION | NodeFilter.SHOW_PROCESSING_INSTRUCTION, null);
76269
76545
  let currentNode = walker.nextNode();
76270
76546
  while (currentNode) {
76271
- let data = currentNode.data;
76272
- arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
76273
- data = stringReplace(data, expr, ' ');
76274
- });
76275
- currentNode.data = data;
76547
+ currentNode.data = _stripTemplateExpressions(currentNode.data);
76276
76548
  currentNode = walker.nextNode();
76277
76549
  }
76278
76550
  // NodeIterator does not descend into <template>.content per the DOM spec,
76279
76551
  // so we must explicitly recurse into each template's content fragment,
76280
76552
  // mirroring the approach used by _sanitizeShadowDOM.
76281
- const templates = (_node$querySelectorAl = (_node$querySelectorAl2 = node.querySelectorAll) === null || _node$querySelectorAl2 === void 0 ? void 0 : _node$querySelectorAl2.call(node, 'template')) !== null && _node$querySelectorAl !== void 0 ? _node$querySelectorAl : [];
76282
- arrayForEach(Array.from(templates), tmpl => {
76283
- if (_isDocumentFragment(tmpl.content)) {
76284
- _scrubTemplateExpressions2(tmpl.content);
76285
- }
76286
- });
76553
+ const templates = (_node$querySelectorAl = node.querySelectorAll) === null || _node$querySelectorAl === void 0 ? void 0 : _node$querySelectorAl.call(node, 'template');
76554
+ if (templates) {
76555
+ arrayForEach(templates, tmpl => {
76556
+ if (_isDocumentFragment(tmpl.content)) {
76557
+ _scrubTemplateExpressions2(tmpl.content);
76558
+ }
76559
+ });
76560
+ }
76287
76561
  };
76288
76562
  /**
76289
76563
  * _isClobbered
@@ -76379,10 +76653,104 @@ var purify = createCommonjsModule(function (module, exports) {
76379
76653
  }
76380
76654
  };
76381
76655
  function _executeHooks(hooks, currentNode, data) {
76656
+ if (hooks.length === 0) {
76657
+ return;
76658
+ }
76382
76659
  arrayForEach(hooks, hook => {
76383
76660
  hook.call(DOMPurify, currentNode, data, CONFIG);
76384
76661
  });
76385
76662
  }
76663
+ /**
76664
+ * Structural-threat checks that condemn a node regardless of the
76665
+ * allowlists: mXSS via namespace confusion, risky CSS construction,
76666
+ * processing instructions, markup-bearing comments. Pure predicate;
76667
+ * the caller removes. Check order is load-bearing.
76668
+ *
76669
+ * @param currentNode the node to inspect
76670
+ * @param tagName the node's transformCaseFunc'd tag name
76671
+ * @return true if the node must be removed
76672
+ */
76673
+ const _isUnsafeNode = function _isUnsafeNode(currentNode, tagName) {
76674
+ /* Detect mXSS attempts abusing namespace confusion */
76675
+ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.textContent) && regExpTest(ELEMENT_MARKUP_PROBE, currentNode.innerHTML)) {
76676
+ return true;
76677
+ }
76678
+ /* Remove risky CSS construction leading to mXSS */
76679
+ if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
76680
+ return true;
76681
+ }
76682
+ /* Remove any occurrence of processing instructions */
76683
+ if (currentNode.nodeType === NODE_TYPE.processingInstruction) {
76684
+ return true;
76685
+ }
76686
+ /* Remove any kind of possibly harmful comments */
76687
+ if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(COMMENT_MARKUP_PROBE, currentNode.data)) {
76688
+ return true;
76689
+ }
76690
+ return false;
76691
+ };
76692
+ /**
76693
+ * Handle a node whose tag is forbidden or not allowlisted: keep
76694
+ * allowed custom elements (false return exits _sanitizeElements
76695
+ * early - namespace/fallback checks and the afterSanitizeElements
76696
+ * hook are intentionally skipped for kept custom elements), else
76697
+ * hoist content per KEEP_CONTENT and remove.
76698
+ *
76699
+ * @param currentNode the disallowed node
76700
+ * @param tagName the node's transformCaseFunc'd tag name
76701
+ * @return true if the node was removed, false if kept
76702
+ */
76703
+ const _sanitizeDisallowedNode = function _sanitizeDisallowedNode(currentNode, tagName) {
76704
+ /* Check if we have a custom element to handle */
76705
+ if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
76706
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
76707
+ return false;
76708
+ }
76709
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
76710
+ return false;
76711
+ }
76712
+ }
76713
+ /* Keep content except for bad-listed elements.
76714
+ Use the cached prototype getters exclusively — the previous code
76715
+ had `|| currentNode.parentNode` / `|| currentNode.childNodes`
76716
+ fallbacks, but the cached getters always return the canonical
76717
+ value (or null for a real parent-less node), so the fallback
76718
+ path was dead in safe cases and a clobbering surface in unsafe
76719
+ ones. Falsy cached results stay falsy; the `if (childNodes &&
76720
+ parentNode)` check already gates correctly. */
76721
+ if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
76722
+ const parentNode = getParentNode(currentNode);
76723
+ const childNodes = getChildNodes(currentNode);
76724
+ if (childNodes && parentNode) {
76725
+ const childCount = childNodes.length;
76726
+ /* In-place: hoist the *original* children so the iterator visits
76727
+ and sanitises them through the same allowlist pass as every other
76728
+ node. The caller built the tree in the live document, so the
76729
+ originals carry already-queued resource events (`<img onerror>`,
76730
+ `<video>`/`<audio>` error, lazy/`onload`, …); cloning would leave
76731
+ those originals detached but still armed, firing in page scope
76732
+ while the returned tree looked clean. Moving is safe in-place: the
76733
+ root is pre-validated as an allowed tag and so is never the node
76734
+ being removed, which keeps `parentNode` inside the iterator root
76735
+ and the relocated child inside the serialised tree.
76736
+ Otherwise (string / DOM-copy paths): clone. The iterator is rooted
76737
+ at — and the result serialised from — `body`, so a restrictive
76738
+ ALLOWED_TAGS that removes `body` itself must leave its content in
76739
+ place, which only cloning does; and those paths parse into an
76740
+ inert document, so their discarded originals never had a queued
76741
+ event to neutralise.
76742
+ `childNodes` is live; a tail-to-head walk keeps `childNodes[i]`
76743
+ valid whether we move (drops the trailing entry) or clone (leaves
76744
+ the list intact). */
76745
+ for (let i = childCount - 1; i >= 0; --i) {
76746
+ const hoisted = IN_PLACE ? childNodes[i] : cloneNode(childNodes[i], true);
76747
+ parentNode.insertBefore(hoisted, getNextSibling(currentNode));
76748
+ }
76749
+ }
76750
+ }
76751
+ _forceRemove(currentNode);
76752
+ return true;
76753
+ };
76386
76754
  /**
76387
76755
  * _sanitizeElements
76388
76756
  *
@@ -76393,7 +76761,6 @@ var purify = createCommonjsModule(function (module, exports) {
76393
76761
  * @return true if node was killed, false if left alive
76394
76762
  */
76395
76763
  const _sanitizeElements = function _sanitizeElements(currentNode) {
76396
- let content = null;
76397
76764
  /* Execute a hook if present */
76398
76765
  _executeHooks(hooks.beforeSanitizeElements, currentNode, null);
76399
76766
  /* Check if element is clobbered or can clobber */
@@ -76408,58 +76775,14 @@ var purify = createCommonjsModule(function (module, exports) {
76408
76775
  tagName,
76409
76776
  allowedTags: ALLOWED_TAGS
76410
76777
  });
76411
- /* Detect mXSS attempts abusing namespace confusion */
76412
- if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
76413
- _forceRemove(currentNode);
76414
- return true;
76415
- }
76416
- /* Remove risky CSS construction leading to mXSS */
76417
- if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
76418
- _forceRemove(currentNode);
76419
- return true;
76420
- }
76421
- /* Remove any occurrence of processing instructions */
76422
- if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
76423
- _forceRemove(currentNode);
76424
- return true;
76425
- }
76426
- /* Remove any kind of possibly harmful comments */
76427
- if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
76778
+ /* Remove mXSS vectors, processing instructions and risky comments */
76779
+ if (_isUnsafeNode(currentNode, tagName)) {
76428
76780
  _forceRemove(currentNode);
76429
76781
  return true;
76430
76782
  }
76431
76783
  /* Remove element if anything forbids its presence */
76432
76784
  if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
76433
- /* Check if we have a custom element to handle */
76434
- if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
76435
- if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
76436
- return false;
76437
- }
76438
- if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
76439
- return false;
76440
- }
76441
- }
76442
- /* Keep content except for bad-listed elements.
76443
- Use the cached prototype getters exclusively — the previous code
76444
- had `|| currentNode.parentNode` / `|| currentNode.childNodes`
76445
- fallbacks, but the cached getters always return the canonical
76446
- value (or null for a real parent-less node), so the fallback
76447
- path was dead in safe cases and a clobbering surface in unsafe
76448
- ones. Falsy cached results stay falsy; the `if (childNodes &&
76449
- parentNode)` check already gates correctly. */
76450
- if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
76451
- const parentNode = getParentNode(currentNode);
76452
- const childNodes = getChildNodes(currentNode);
76453
- if (childNodes && parentNode) {
76454
- const childCount = childNodes.length;
76455
- for (let i = childCount - 1; i >= 0; --i) {
76456
- const childClone = cloneNode(childNodes[i], true);
76457
- parentNode.insertBefore(childClone, getNextSibling(currentNode));
76458
- }
76459
- }
76460
- }
76461
- _forceRemove(currentNode);
76462
- return true;
76785
+ return _sanitizeDisallowedNode(currentNode, tagName);
76463
76786
  }
76464
76787
  /* Check whether element has a valid namespace.
76465
76788
  Realm-safe check (GHSA-hpcv-96wg-7vj8): use the cached Node.prototype
@@ -76473,17 +76796,14 @@ var purify = createCommonjsModule(function (module, exports) {
76473
76796
  return true;
76474
76797
  }
76475
76798
  /* Make sure that older browsers don't get fallback-tag mXSS */
76476
- if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
76799
+ if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(FALLBACK_TAG_CLOSE, currentNode.innerHTML)) {
76477
76800
  _forceRemove(currentNode);
76478
76801
  return true;
76479
76802
  }
76480
76803
  /* Sanitize element content to be template-safe */
76481
76804
  if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
76482
76805
  /* Get the element's text content */
76483
- content = currentNode.textContent;
76484
- arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
76485
- content = stringReplace(content, expr, ' ');
76486
- });
76806
+ const content = _stripTemplateExpressions(currentNode.textContent);
76487
76807
  if (currentNode.textContent !== content) {
76488
76808
  arrayPush(DOMPurify.removed, {
76489
76809
  element: currentNode.cloneNode()
@@ -76518,7 +76838,7 @@ var purify = createCommonjsModule(function (module, exports) {
76518
76838
  (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
76519
76839
  XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
76520
76840
  We don't need to check the value; it's always URI safe. */
76521
- 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]) {
76841
+ if (ALLOW_DATA_ATTR && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!nameIsPermitted) {
76522
76842
  if (
76523
76843
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
76524
76844
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -76550,6 +76870,63 @@ var purify = createCommonjsModule(function (module, exports) {
76550
76870
  const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
76551
76871
  return !RESERVED_CUSTOM_ELEMENT_NAMES[stringToLowerCase(tagName)] && regExpTest(CUSTOM_ELEMENT$1, tagName);
76552
76872
  };
76873
+ /**
76874
+ * Wrap an attribute value in the matching Trusted Types object when
76875
+ * the active policy requires it. Namespaced attributes pass through
76876
+ * unchanged (no TT support yet, see
76877
+ * https://bugs.chromium.org/p/chromium/issues/detail?id=1305293).
76878
+ *
76879
+ * @param lcTag lowercase tag name of the containing element
76880
+ * @param lcName lowercase attribute name
76881
+ * @param namespaceURI the attribute's namespace, if any
76882
+ * @param value the attribute value to wrap
76883
+ * @return the value, wrapped when Trusted Types demand it
76884
+ */
76885
+ const _applyTrustedTypesToAttribute = function _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value) {
76886
+ if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function' && !namespaceURI) {
76887
+ switch (trustedTypes.getAttributeType(lcTag, lcName)) {
76888
+ case 'TrustedHTML':
76889
+ {
76890
+ return _createTrustedHTML(value);
76891
+ }
76892
+ case 'TrustedScriptURL':
76893
+ {
76894
+ return _createTrustedScriptURL(value);
76895
+ }
76896
+ }
76897
+ }
76898
+ return value;
76899
+ };
76900
+ /**
76901
+ * Write a modified attribute value back onto the element. On
76902
+ * success, re-probe for clobbering introduced by the new value and
76903
+ * remove the element when found; otherwise pop the removal entry
76904
+ * recorded by the earlier _removeAttribute (long-standing pairing
76905
+ * with the SANITIZE_NAMED_PROPS path - do not "fix" casually). On
76906
+ * failure, remove the attribute instead.
76907
+ *
76908
+ * @param currentNode the element carrying the attribute
76909
+ * @param name the attribute name as present on the element
76910
+ * @param namespaceURI the attribute's namespace, if any
76911
+ * @param value the new attribute value
76912
+ */
76913
+ const _setAttributeValue = function _setAttributeValue(currentNode, name, namespaceURI, value) {
76914
+ try {
76915
+ if (namespaceURI) {
76916
+ currentNode.setAttributeNS(namespaceURI, name, value);
76917
+ } else {
76918
+ /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
76919
+ currentNode.setAttribute(name, value);
76920
+ }
76921
+ if (_isClobbered(currentNode)) {
76922
+ _forceRemove(currentNode);
76923
+ } else {
76924
+ arrayPop(DOMPurify.removed);
76925
+ }
76926
+ } catch (_) {
76927
+ _removeAttribute(name, currentNode);
76928
+ }
76929
+ };
76553
76930
  /**
76554
76931
  * _sanitizeAttributes
76555
76932
  *
@@ -76576,6 +76953,7 @@ var purify = createCommonjsModule(function (module, exports) {
76576
76953
  forceKeepAttr: undefined
76577
76954
  };
76578
76955
  let l = attributes.length;
76956
+ const lcTag = transformCaseFunc(currentNode.nodeName);
76579
76957
  /* Go backwards over all attributes; safely remove bad ones */
76580
76958
  while (l--) {
76581
76959
  const attr = attributes[l];
@@ -76613,7 +76991,7 @@ var purify = createCommonjsModule(function (module, exports) {
76613
76991
  _removeAttribute(name, currentNode);
76614
76992
  continue;
76615
76993
  }
76616
- /* Did the hooks approve of the attribute? */
76994
+ /* Did the hooks force-keep the attribute? */
76617
76995
  if (hookEvent.forceKeepAttr) {
76618
76996
  continue;
76619
76997
  }
@@ -76623,56 +77001,24 @@ var purify = createCommonjsModule(function (module, exports) {
76623
77001
  continue;
76624
77002
  }
76625
77003
  /* Work around a security issue in jQuery 3.0 */
76626
- if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
77004
+ if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(SELF_CLOSING_TAG, value)) {
76627
77005
  _removeAttribute(name, currentNode);
76628
77006
  continue;
76629
77007
  }
76630
77008
  /* Sanitize attribute content to be template-safe */
76631
77009
  if (SAFE_FOR_TEMPLATES) {
76632
- arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
76633
- value = stringReplace(value, expr, ' ');
76634
- });
77010
+ value = _stripTemplateExpressions(value);
76635
77011
  }
76636
77012
  /* Is `value` valid for this attribute? */
76637
- const lcTag = transformCaseFunc(currentNode.nodeName);
76638
77013
  if (!_isValidAttribute(lcTag, lcName, value)) {
76639
77014
  _removeAttribute(name, currentNode);
76640
77015
  continue;
76641
77016
  }
76642
77017
  /* Handle attributes that require Trusted Types */
76643
- if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {
76644
- if (namespaceURI) ; else {
76645
- switch (trustedTypes.getAttributeType(lcTag, lcName)) {
76646
- case 'TrustedHTML':
76647
- {
76648
- value = _createTrustedHTML(value);
76649
- break;
76650
- }
76651
- case 'TrustedScriptURL':
76652
- {
76653
- value = trustedTypesPolicy.createScriptURL(value);
76654
- break;
76655
- }
76656
- }
76657
- }
76658
- }
77018
+ value = _applyTrustedTypesToAttribute(lcTag, lcName, namespaceURI, value);
76659
77019
  /* Handle invalid data-* attribute set by try-catching it */
76660
77020
  if (value !== initValue) {
76661
- try {
76662
- if (namespaceURI) {
76663
- currentNode.setAttributeNS(namespaceURI, name, value);
76664
- } else {
76665
- /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
76666
- currentNode.setAttribute(name, value);
76667
- }
76668
- if (_isClobbered(currentNode)) {
76669
- _forceRemove(currentNode);
76670
- } else {
76671
- arrayPop(DOMPurify.removed);
76672
- }
76673
- } catch (_) {
76674
- _removeAttribute(name, currentNode);
76675
- }
77021
+ _setAttributeValue(currentNode, name, namespaceURI, value);
76676
77022
  }
76677
77023
  }
76678
77024
  /* Execute a hook if present */
@@ -76714,9 +77060,9 @@ var purify = createCommonjsModule(function (module, exports) {
76714
77060
  iterator also surfaces. */
76715
77061
  const shadowNodeType = getNodeType ? getNodeType(shadowNode) : shadowNode.nodeType;
76716
77062
  if (shadowNodeType === NODE_TYPE.element) {
76717
- const innerSr = getShadowRoot ? getShadowRoot(shadowNode) : shadowNode.shadowRoot;
77063
+ const innerSr = getShadowRoot(shadowNode);
76718
77064
  if (_isDocumentFragment(innerSr)) {
76719
- _sanitizeAttachedShadowRoots2(innerSr);
77065
+ _sanitizeAttachedShadowRoots(innerSr);
76720
77066
  _sanitizeShadowDOM2(innerSr);
76721
77067
  }
76722
77068
  }
@@ -76743,46 +77089,81 @@ var purify = createCommonjsModule(function (module, exports) {
76743
77089
  *
76744
77090
  * @param root the subtree root to walk for attached shadow roots
76745
77091
  */
76746
- const _sanitizeAttachedShadowRoots2 = function _sanitizeAttachedShadowRoots(root) {
76747
- const nodeType = getNodeType ? getNodeType(root) : root.nodeType;
76748
- if (nodeType === NODE_TYPE.element) {
76749
- const sr = getShadowRoot ? getShadowRoot(root) : root.shadowRoot;
76750
- // Realm-safe check (GHSA-hpcv-96wg-7vj8): use nodeType-based
76751
- // detection rather than `instanceof DocumentFragment`, which is
76752
- // realm-bound and silently skipped shadow roots whose host element
76753
- // belonged to a foreign realm (e.g. iframe.contentDocument
76754
- // attachShadow). A foreign-realm ShadowRoot extends the foreign
76755
- // realm's DocumentFragment, not ours, so the old instanceof check
76756
- // returned false and the shadow subtree was never walked.
76757
- if (_isDocumentFragment(sr)) {
76758
- // Recurse first so that nested shadow roots are reached even if
76759
- // _sanitizeShadowDOM removes hosts at this level.
76760
- _sanitizeAttachedShadowRoots2(sr);
76761
- _sanitizeShadowDOM2(sr);
76762
- }
76763
- }
76764
- // Snapshot children before recursing. Sanitization of one subtree
76765
- // (e.g. via an uponSanitizeShadowNode hook) may detach siblings,
76766
- // and naive nextSibling traversal would silently skip the rest of
76767
- // the list once a node is detached.
76768
- const childNodes = getChildNodes ? getChildNodes(root) : root.childNodes;
76769
- if (!childNodes) {
76770
- return;
76771
- }
76772
- const snapshot = [];
76773
- arrayForEach(childNodes, child => {
76774
- arrayPush(snapshot, child);
76775
- });
76776
- for (const child of snapshot) {
76777
- _sanitizeAttachedShadowRoots2(child);
76778
- }
76779
- /* When the root is a <template>, also descend into root.content */
76780
- if (nodeType === NODE_TYPE.element) {
76781
- const rootName = getNodeName ? getNodeName(root) : null;
76782
- if (typeof rootName === 'string' && transformCaseFunc(rootName) === 'template') {
76783
- const content = root.content;
76784
- if (_isDocumentFragment(content)) {
76785
- _sanitizeAttachedShadowRoots2(content);
77092
+ const _sanitizeAttachedShadowRoots = function _sanitizeAttachedShadowRoots(root) {
77093
+ /* Iterative (explicit stack) rather than per-child recursion. DOM APIs
77094
+ impose no depth cap, so an attacker-shaped tree (JSON/CRDT/editor data
77095
+ built straight into the DOM — the IN_PLACE surface) deeper than the JS
77096
+ call-stack budget would otherwise overflow native recursion here and
77097
+ throw at the IN_PLACE entry pre-pass, before a single node is
77098
+ sanitized, leaving the caller's live tree untouched (fail-open). See
77099
+ campaign-3 F4. A heap stack keeps depth off the call stack.
77100
+ Each work item is either a node to descend into, or a deferred
77101
+ `_sanitizeShadowDOM` for an already-walked shadow root. The deferred
77102
+ form preserves the original post-order discipline: a shadow root's
77103
+ nested shadow roots are discovered before the outer shadow is
77104
+ sanitized (which may remove hosts). Pushes are in reverse of the
77105
+ desired processing order (LIFO): template content, then children, then
77106
+ the shadow-sanitize, then the shadow walk — so the order matches the
77107
+ previous recursion exactly. */
77108
+ const stack = [{
77109
+ node: root,
77110
+ shadow: null
77111
+ }];
77112
+ while (stack.length > 0) {
77113
+ const item = stack.pop();
77114
+ /* Deferred shadow-DOM sanitisation: runs after its subtree was walked. */
77115
+ if (item.shadow) {
77116
+ _sanitizeShadowDOM2(item.shadow);
77117
+ continue;
77118
+ }
77119
+ const node = item.node;
77120
+ const nodeType = getNodeType ? getNodeType(node) : node.nodeType;
77121
+ const isElement = nodeType === NODE_TYPE.element;
77122
+ /* (pushed last processed first) Children, snapshotted in reverse so
77123
+ the first child is processed first. Snapshotting matters because a
77124
+ hook may detach siblings mid-walk. */
77125
+ const childNodes = getChildNodes(node);
77126
+ if (childNodes) {
77127
+ for (let i = childNodes.length - 1; i >= 0; --i) {
77128
+ stack.push({
77129
+ node: childNodes[i],
77130
+ shadow: null
77131
+ });
77132
+ }
77133
+ }
77134
+ /* (pushed before children → processed after them, matching the old
77135
+ "template content last" order) When the node is a <template>,
77136
+ descend into its content. */
77137
+ if (isElement) {
77138
+ const rootName = getNodeName ? getNodeName(node) : null;
77139
+ if (typeof rootName === 'string' && transformCaseFunc(rootName) === 'template') {
77140
+ const content = node.content;
77141
+ if (_isDocumentFragment(content)) {
77142
+ stack.push({
77143
+ node: content,
77144
+ shadow: null
77145
+ });
77146
+ }
77147
+ }
77148
+ }
77149
+ /* Shadow root (processed first): walk its subtree, then sanitise it.
77150
+ Realm-safe check (GHSA-hpcv-96wg-7vj8): nodeType-based detection
77151
+ rather than `instanceof DocumentFragment`, which is realm-bound and
77152
+ silently skipped foreign-realm shadow roots (e.g.
77153
+ iframe.contentDocument attachShadow). */
77154
+ if (isElement) {
77155
+ const sr = getShadowRoot(node);
77156
+ if (_isDocumentFragment(sr)) {
77157
+ /* Push the deferred sanitise first so it pops after the shadow
77158
+ walk we push next, i.e. nested shadow roots are discovered
77159
+ before this one is sanitised. */
77160
+ stack.push({
77161
+ node: null,
77162
+ shadow: sr
77163
+ }, {
77164
+ node: sr,
77165
+ shadow: null
77166
+ });
76786
77167
  }
76787
77168
  }
76788
77169
  }
@@ -76813,16 +77194,41 @@ var purify = createCommonjsModule(function (module, exports) {
76813
77194
  return dirty;
76814
77195
  }
76815
77196
  /* Assign config vars */
76816
- if (!SET_CONFIG) {
77197
+ if (SET_CONFIG) {
77198
+ /* Persistent setConfig() path: _parseConfig is skipped, so the sets are
77199
+ * not re-derived per call. Restore them from the pristine bindings
77200
+ * captured at setConfig() time so a previous call's hook clone (mutated
77201
+ * below) does not carry over. */
77202
+ ALLOWED_TAGS = SET_CONFIG_ALLOWED_TAGS;
77203
+ ALLOWED_ATTR = SET_CONFIG_ALLOWED_ATTR;
77204
+ } else {
76817
77205
  _parseConfig(cfg);
76818
77206
  }
77207
+ /* Clone the hook-mutable allowlists before the walk whenever an
77208
+ * uponSanitize* hook is registered. The hook event exposes ALLOWED_TAGS
77209
+ * and ALLOWED_ATTR by reference (as allowedTags / allowedAttributes), so
77210
+ * a hook that widens them would otherwise mutate the shared set
77211
+ * permanently: across later calls and across every element. Cloning per
77212
+ * walk keeps documented in-call widening working while scoping it to the
77213
+ * call. A single guard for both config paths - the per-call path rebinds
77214
+ * the sets in _parseConfig each call, the persistent path restores them
77215
+ * from the captured bindings just above - so the two cannot diverge. */
77216
+ if (hooks.uponSanitizeElement.length > 0 || hooks.uponSanitizeAttribute.length > 0) {
77217
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
77218
+ }
77219
+ if (hooks.uponSanitizeAttribute.length > 0) {
77220
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
77221
+ }
76819
77222
  /* Clean up removed elements */
76820
77223
  DOMPurify.removed = [];
76821
- /* Check if dirty is correctly typed for IN_PLACE */
76822
- if (typeof dirty === 'string') {
76823
- IN_PLACE = false;
76824
- }
76825
- if (IN_PLACE) {
77224
+ /* Resolve IN_PLACE for this call without mutating persistent config.
77225
+ Writing the IN_PLACE closure variable here leaks under setConfig(),
77226
+ where _parseConfig is skipped on later calls: a single string call would
77227
+ disable in-place mode for every subsequent node call, returning a
77228
+ sanitized copy while leaving the caller's node — which in-place callers
77229
+ keep using and whose return value they ignore — unsanitized. REPORT-2. */
77230
+ const inPlace = IN_PLACE && typeof dirty !== 'string' && _isNode(dirty);
77231
+ if (inPlace) {
76826
77232
  /* Do some early pre-sanitization to avoid unsafe root nodes.
76827
77233
  Read nodeName through the cached prototype getter — a clobbering
76828
77234
  child named "nodeName" on the form root would otherwise shadow
@@ -76849,8 +77255,16 @@ var purify = createCommonjsModule(function (module, exports) {
76849
77255
  throw typeErrorCreate('root node is clobbered and cannot be sanitized in-place');
76850
77256
  }
76851
77257
  /* Sanitize attached shadow roots before the main iterator runs.
76852
- The iterator does not descend into shadow trees. */
76853
- _sanitizeAttachedShadowRoots2(dirty);
77258
+ The iterator does not descend into shadow trees. Same fail-closed
77259
+ barrier as the main walk (campaign-3 F2): a custom-element reaction
77260
+ inside a shadow root could abort this pre-pass before the walk runs,
77261
+ which would otherwise leave the entire live tree unsanitized. */
77262
+ try {
77263
+ _sanitizeAttachedShadowRoots(dirty);
77264
+ } catch (error) {
77265
+ _neutralizeRoot(dirty);
77266
+ throw error;
77267
+ }
76854
77268
  } else if (_isNode(dirty)) {
76855
77269
  /* If dirty is a DOM element, append to an empty document to avoid
76856
77270
  elements being stripped by the parser */
@@ -76870,7 +77284,7 @@ var purify = createCommonjsModule(function (module, exports) {
76870
77284
  descend into shadow trees. The walk routes every read through a
76871
77285
  cached prototype getter so clobbering descendants on a form root
76872
77286
  cannot hide a shadow host from this pass. */
76873
- _sanitizeAttachedShadowRoots2(importedNode);
77287
+ _sanitizeAttachedShadowRoots(importedNode);
76874
77288
  } else {
76875
77289
  /* Exit directly if we have nothing to do */
76876
77290
  if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
@@ -76890,23 +77304,50 @@ var purify = createCommonjsModule(function (module, exports) {
76890
77304
  _forceRemove(body.firstChild);
76891
77305
  }
76892
77306
  /* Get node iterator */
76893
- const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
76894
- /* Now start iterating over the created document */
76895
- while (currentNode = nodeIterator.nextNode()) {
76896
- /* Sanitize tags and elements */
76897
- _sanitizeElements(currentNode);
76898
- /* Check attributes next */
76899
- _sanitizeAttributes(currentNode);
76900
- /* Shadow DOM detected, sanitize it.
76901
- Realm-safe check (GHSA-hpcv-96wg-7vj8): nodeType-based detection
76902
- instead of instanceof, so foreign-realm <template>.content is
76903
- walked correctly. */
76904
- if (_isDocumentFragment(currentNode.content)) {
76905
- _sanitizeShadowDOM2(currentNode.content);
77307
+ const nodeIterator = _createNodeIterator(inPlace ? dirty : body);
77308
+ /* Now start iterating over the created document.
77309
+ The walk runs inside an exception barrier (campaign-3 F2): a re-entrant
77310
+ engine/custom-element mutation can detach a node mid-walk so
77311
+ `_forceRemove`'s parentless guard throws, aborting the loop. Without the
77312
+ barrier the caller's in-place tree would be left half-sanitized with the
77313
+ unvisited tail still armed. On any throw we fail closed — strip the
77314
+ in-place root bare then rethrow so the existing throw contract is
77315
+ preserved. (String/DOM-copy paths never return the partial body, so the
77316
+ propagating throw is already fail-closed there.) */
77317
+ try {
77318
+ while (currentNode = nodeIterator.nextNode()) {
77319
+ /* Sanitize tags and elements */
77320
+ _sanitizeElements(currentNode);
77321
+ /* Check attributes next */
77322
+ _sanitizeAttributes(currentNode);
77323
+ /* Shadow DOM detected, sanitize it.
77324
+ Realm-safe check (GHSA-hpcv-96wg-7vj8): nodeType-based detection
77325
+ instead of instanceof, so foreign-realm <template>.content is
77326
+ walked correctly. */
77327
+ if (_isDocumentFragment(currentNode.content)) {
77328
+ _sanitizeShadowDOM2(currentNode.content);
77329
+ }
76906
77330
  }
77331
+ } catch (error) {
77332
+ if (inPlace) {
77333
+ _neutralizeRoot(dirty);
77334
+ }
77335
+ throw error;
76907
77336
  }
76908
77337
  /* If we sanitized `dirty` in-place, return it. */
76909
- if (IN_PLACE) {
77338
+ if (inPlace) {
77339
+ /* Fail-closed completion of the audit-5 F1 fix: every node removed from
77340
+ the caller's live tree is detached but may still hold a queued
77341
+ resource-event handler that fires in page scope after we return. The
77342
+ move-hoist covers only disallowed-tag KEEP_CONTENT removals; strip the
77343
+ non-allow-listed attributes off every other removed subtree (clobber,
77344
+ mXSS, namespace, comments, KEEP_CONTENT:false, …) so those handlers are
77345
+ cancelled before any event can fire. Runs synchronously, pre-return. */
77346
+ arrayForEach(DOMPurify.removed, entry => {
77347
+ if (entry.element) {
77348
+ _neutralizeSubtree(entry.element);
77349
+ }
77350
+ });
76910
77351
  if (SAFE_FOR_TEMPLATES) {
76911
77352
  _scrubTemplateExpressions2(dirty);
76912
77353
  }
@@ -76945,9 +77386,7 @@ var purify = createCommonjsModule(function (module, exports) {
76945
77386
  }
76946
77387
  /* Sanitize final string template-safe */
76947
77388
  if (SAFE_FOR_TEMPLATES) {
76948
- arrayForEach([MUSTACHE_EXPR$1, ERB_EXPR$1, TMPLIT_EXPR$1], expr => {
76949
- serializedHTML = stringReplace(serializedHTML, expr, ' ');
76950
- });
77389
+ serializedHTML = _stripTemplateExpressions(serializedHTML);
76951
77390
  }
76952
77391
  return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? _createTrustedHTML(serializedHTML) : serializedHTML;
76953
77392
  };
@@ -76955,10 +77394,20 @@ var purify = createCommonjsModule(function (module, exports) {
76955
77394
  let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
76956
77395
  _parseConfig(cfg);
76957
77396
  SET_CONFIG = true;
77397
+ SET_CONFIG_ALLOWED_TAGS = ALLOWED_TAGS;
77398
+ SET_CONFIG_ALLOWED_ATTR = ALLOWED_ATTR;
76958
77399
  };
76959
77400
  DOMPurify.clearConfig = function () {
76960
77401
  CONFIG = null;
76961
77402
  SET_CONFIG = false;
77403
+ SET_CONFIG_ALLOWED_TAGS = null;
77404
+ SET_CONFIG_ALLOWED_ATTR = null;
77405
+ // Drop any caller-supplied Trusted Types policy so it cannot poison later
77406
+ // `RETURN_TRUSTED_TYPE` output. The internal default policy (cached, and
77407
+ // never recreated — Trusted Types throws on duplicate names) is restored by
77408
+ // the next `_parseConfig`. See GHSA-vxr8-fq34-vvx9.
77409
+ trustedTypesPolicy = defaultTrustedTypesPolicy;
77410
+ emptyHTML = '';
76962
77411
  };
76963
77412
  DOMPurify.isValidAttribute = function (tag, attr, value) {
76964
77413
  /* Initialize shared config vars if necessary. */
@@ -76973,9 +77422,19 @@ var purify = createCommonjsModule(function (module, exports) {
76973
77422
  if (typeof hookFunction !== 'function') {
76974
77423
  return;
76975
77424
  }
77425
+ /* Reject unknown entry points. Without this, a non-hook key (e.g.
77426
+ * '__proto__') indexes off the prototype chain rather than a real
77427
+ * hook array, and arrayPush then writes to Object.prototype. Guard
77428
+ * with an own-property check against the known hook names. */
77429
+ if (!objectHasOwnProperty(hooks, entryPoint)) {
77430
+ return;
77431
+ }
76976
77432
  arrayPush(hooks[entryPoint], hookFunction);
76977
77433
  };
76978
77434
  DOMPurify.removeHook = function (entryPoint, hookFunction) {
77435
+ if (!objectHasOwnProperty(hooks, entryPoint)) {
77436
+ return undefined;
77437
+ }
76979
77438
  if (hookFunction !== undefined) {
76980
77439
  const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
76981
77440
  return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
@@ -76983,6 +77442,9 @@ var purify = createCommonjsModule(function (module, exports) {
76983
77442
  return arrayPop(hooks[entryPoint]);
76984
77443
  };
76985
77444
  DOMPurify.removeHooks = function (entryPoint) {
77445
+ if (!objectHasOwnProperty(hooks, entryPoint)) {
77446
+ return;
77447
+ }
76986
77448
  hooks[entryPoint] = [];
76987
77449
  };
76988
77450
  DOMPurify.removeAllHooks = function () {
@@ -80513,7 +80975,7 @@ const EzModalContainer$1 = class extends HTMLElement$1 {
80513
80975
  static get style() { return ezModalContainerCss; }
80514
80976
  };
80515
80977
 
80516
- const ezMultiSelectionListCss = ".sc-ez-multi-selection-list-h{--ez-check--outter-gap:0px;--ez-multi-selection-default-height:322px;display:block;width:304px;height:var(--ez-multi-selection-default-height);min-height:fit-content;max-height:calc(100vh - 350px)}.multi-selection__input.sc-ez-multi-selection-list{margin-bottom:var(--space--2xs, 8px)}.multi-selection__content-options.sc-ez-multi-selection-list{position:relative;left:-4px}.multi-selection__select-all.sc-ez-multi-selection-list{height:var(--space--xl);margin:0 var(--space--small, 6px)}.multi-selection__list.sc-ez-multi-selection-list{max-height:calc(100vh - 435px);overflow-y:auto;overflow-x:clip}.multi-selection__list.sc-ez-multi-selection-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";
80978
+ const ezMultiSelectionListCss = ".sc-ez-multi-selection-list-h{--ez-check--outter-gap:0px;--ez-multi-selection-default-height:322px;--ez-multi-selection-default-max-height:calc(100vh - 435px);display:block;width:304px;height:var(--ez-multi-selection-default-height);min-height:fit-content;max-height:calc(100vh - 350px)}.multi-selection__input.sc-ez-multi-selection-list{margin-bottom:var(--space--2xs, 8px)}.multi-selection__content-options.sc-ez-multi-selection-list{position:relative;left:-4px}.multi-selection__select-all.sc-ez-multi-selection-list{height:var(--space--xl);margin:0 var(--space--small, 6px)}.multi-selection__list.sc-ez-multi-selection-list{max-height:var(--ez-multi-selection-default-max-height);overflow-y:auto;overflow-x:clip}.multi-selection__list.sc-ez-multi-selection-list::-webkit-scrollbar{width:var(--space--small);min-width:var(--space--small);max-width:var(--space--small)}";
80517
80979
 
80518
80980
  var ViewScenarios;
80519
80981
  (function (ViewScenarios) {
@@ -81874,6 +82336,90 @@ const shift$1 = function (options) {
81874
82336
  };
81875
82337
  };
81876
82338
 
82339
+ /**
82340
+ * Provides data that allows you to change the size of the floating element —
82341
+ * for instance, prevent it from overflowing the clipping boundary or match the
82342
+ * width of the reference element.
82343
+ * @see https://floating-ui.com/docs/size
82344
+ */
82345
+ const size$1 = function (options) {
82346
+ if (options === void 0) {
82347
+ options = {};
82348
+ }
82349
+ return {
82350
+ name: 'size',
82351
+ options,
82352
+ async fn(state) {
82353
+ var _state$middlewareData, _state$middlewareData2;
82354
+ const {
82355
+ placement,
82356
+ rects,
82357
+ platform,
82358
+ elements
82359
+ } = state;
82360
+ const {
82361
+ apply = () => {},
82362
+ ...detectOverflowOptions
82363
+ } = evaluate(options, state);
82364
+ const overflow = await detectOverflow(state, detectOverflowOptions);
82365
+ const side = getSide(placement);
82366
+ const alignment = getAlignment(placement);
82367
+ const isYAxis = getSideAxis(placement) === 'y';
82368
+ const {
82369
+ width,
82370
+ height
82371
+ } = rects.floating;
82372
+ let heightSide;
82373
+ let widthSide;
82374
+ if (side === 'top' || side === 'bottom') {
82375
+ heightSide = side;
82376
+ widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';
82377
+ } else {
82378
+ widthSide = side;
82379
+ heightSide = alignment === 'end' ? 'top' : 'bottom';
82380
+ }
82381
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
82382
+ const maximumClippingWidth = width - overflow.left - overflow.right;
82383
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
82384
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
82385
+ const noShift = !state.middlewareData.shift;
82386
+ let availableHeight = overflowAvailableHeight;
82387
+ let availableWidth = overflowAvailableWidth;
82388
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
82389
+ availableWidth = maximumClippingWidth;
82390
+ }
82391
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
82392
+ availableHeight = maximumClippingHeight;
82393
+ }
82394
+ if (noShift && !alignment) {
82395
+ const xMin = max(overflow.left, 0);
82396
+ const xMax = max(overflow.right, 0);
82397
+ const yMin = max(overflow.top, 0);
82398
+ const yMax = max(overflow.bottom, 0);
82399
+ if (isYAxis) {
82400
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
82401
+ } else {
82402
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
82403
+ }
82404
+ }
82405
+ await apply({
82406
+ ...state,
82407
+ availableWidth,
82408
+ availableHeight
82409
+ });
82410
+ const nextDimensions = await platform.getDimensions(elements.floating);
82411
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
82412
+ return {
82413
+ reset: {
82414
+ rects: true
82415
+ }
82416
+ };
82417
+ }
82418
+ return {};
82419
+ }
82420
+ };
82421
+ };
82422
+
81877
82423
  function hasWindow() {
81878
82424
  return typeof window !== 'undefined';
81879
82425
  }
@@ -82698,6 +83244,14 @@ const shift = shift$1;
82698
83244
  */
82699
83245
  const flip = flip$1;
82700
83246
 
83247
+ /**
83248
+ * Provides data that allows you to change the size of the floating element —
83249
+ * for instance, prevent it from overflowing the clipping boundary or match the
83250
+ * width of the reference element.
83251
+ * @see https://floating-ui.com/docs/size
83252
+ */
83253
+ const size = size$1;
83254
+
82701
83255
  /**
82702
83256
  * Provides data to position an inner element of the floating element so that it
82703
83257
  * appears centered to the reference element.
@@ -82744,6 +83298,7 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
82744
83298
  this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
82745
83299
  this.useAnchorSize = false;
82746
83300
  this.minWidth = 150;
83301
+ this.fitInViewport = true;
82747
83302
  }
82748
83303
  observeOpened(newValue, oldValue) {
82749
83304
  if (newValue === oldValue) {
@@ -82839,9 +83394,21 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
82839
83394
  return;
82840
83395
  }
82841
83396
  const currentAnchorElement = this.getAnchorElement();
83397
+ const middleware = [flip(), shift({ padding: 5 })];
83398
+ if (this.fitInViewport) {
83399
+ middleware.push(size({
83400
+ padding: 5,
83401
+ apply: ({ availableWidth, availableHeight, elements }) => {
83402
+ Object.assign(elements.floating.style, {
83403
+ maxWidth: `${Math.max(0, availableWidth)}px`,
83404
+ maxHeight: `${Math.max(0, availableHeight)}px`
83405
+ });
83406
+ },
83407
+ }));
83408
+ }
82842
83409
  await computePosition(currentAnchorElement, this._box, {
82843
83410
  placement: this.options.fromRight ? 'bottom-end' : 'bottom-start',
82844
- middleware: [flip(), shift({ padding: 5 })],
83411
+ middleware,
82845
83412
  strategy: 'fixed',
82846
83413
  }).then(({ x, y, placement }) => {
82847
83414
  const newTop = placement.includes("bottom") ? y + this.options.verticalGap : y - this.options.verticalGap;
@@ -82857,6 +83424,9 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
82857
83424
  return;
82858
83425
  }
82859
83426
  this._box.style.display = '';
83427
+ this._box.style.maxWidth = '';
83428
+ this._box.style.maxHeight = '';
83429
+ this._box.style.overflow = '';
82860
83430
  this.hideOverlay();
82861
83431
  this.ezVisibilityChange.emit(false);
82862
83432
  }
@@ -82949,6 +83519,7 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
82949
83519
  this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
82950
83520
  this.useAnchorSize = false;
82951
83521
  this.minWidth = 150;
83522
+ this.fitInViewport = true;
82952
83523
  }
82953
83524
  async observeOpened(newValue) {
82954
83525
  if (newValue && !this._popOverCore) {
@@ -83027,6 +83598,7 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
83027
83598
  this._popOverCore.options = this.options;
83028
83599
  this._popOverCore.useAnchorSize = this.useAnchorSize;
83029
83600
  this._popOverCore.minWidth = this.minWidth;
83601
+ this._popOverCore.fitInViewport = this.fitInViewport;
83030
83602
  this._popOverCore.setAttribute("data-element-id", this.buildElementId(["ez-popover-core", this._host.getAttribute("data-element-id")]));
83031
83603
  this._popOverCore.addEventListener('ezVisibilityChange', ({ detail }) => {
83032
83604
  this.ezVisibilityChange.emit(detail);
@@ -93387,7 +93959,7 @@ const EzViewStack$1 = class extends HTMLElement$1 {
93387
93959
  static get style() { return ezViewStackCss; }
93388
93960
  };
93389
93961
 
93390
- const filterColumnCss = ".filter-column{padding:var(--space--2xs, 8px);position:relative}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px)}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary)}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset}";
93962
+ const filterColumnCss = ".filter-column{padding:var(--space--2xs, 8px);position:relative;display:flex;flex-direction:column;min-height:0;height:100%}.filter-column__header{margin-bottom:var(--space--2xs, 8px);display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:var(--space--xl, 32px);flex:0 0 auto}.filter-column__footer{position:relative;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:100%;bottom:0;left:0;padding-top:var(--space--2xs, 8px);border-top:var(--border--medium) var(--color--disable-secondary);flex:0 0 auto}.filter-column__popover{position:absolute}.filter-column__header-title{margin-left:8px}#filter-column-selection-list{--ez-multi-selection-default-height:unset;--ez-multi-selection-default-max-height:100%;flex:1 1 auto;min-height:0;overflow:auto}";
93391
93963
 
93392
93964
  const windowInstace = window;
93393
93965
  const onSubmitFilter = new CustomEvent('onSubmitFilter', {
@@ -93492,7 +94064,7 @@ const FilterColumn$1 = class extends HTMLElement$1 {
93492
94064
  this.options = null;
93493
94065
  }
93494
94066
  buildOptions(selectedItems) {
93495
- var _a, _b;
94067
+ var _a, _b, _c, _d;
93496
94068
  if (selectedItems && selectedItems.length > 0) {
93497
94069
  return selectedItems;
93498
94070
  }
@@ -93505,6 +94077,11 @@ const FilterColumn$1 = class extends HTMLElement$1 {
93505
94077
  }
93506
94078
  const options = (_b = (_a = this.fieldDescriptor) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.options;
93507
94079
  if (Array.isArray(options)) {
94080
+ if ((_d = (_c = this.fieldDescriptor) === null || _c === void 0 ? void 0 : _c.properties) === null || _d === void 0 ? void 0 : _d.switchLabelsAndValues) {
94081
+ return options.map((option) => {
94082
+ return { label: option.label, value: option.value, check: true };
94083
+ });
94084
+ }
93508
94085
  return options.map((option) => {
93509
94086
  return { label: option.value, value: option.value, check: true };
93510
94087
  });
@@ -93690,8 +94267,8 @@ const EzMultiSelectionList = /*@__PURE__*/proxyCustomElement(EzMuiltiSelectionLi
93690
94267
  const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"allowNegative":[4,"allow-negative"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"autoFocus":[4,"auto-focus"],"alternativePlaceholder":[1,"alternative-placeholder"],"_value":[32]}]);
93691
94268
  const EzPagination = /*@__PURE__*/proxyCustomElement(EzPagination$1, [2,"ez-pagination",{"type":[1],"currentPage":[1026,"current-page"],"totalItems":[2,"total-items"],"pageSize":[2,"page-size"],"hideInfoLabel":[4,"hide-info-label"],"pageLimit":[2,"page-limit"]}]);
93692
94269
  const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"]}]);
93693
- const EzPopoverCore = /*@__PURE__*/proxyCustomElement(EzPopoverCore$1, [1,"ez-popover-core",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
93694
- const EzPopoverPlus = /*@__PURE__*/proxyCustomElement(EzPopoverPlus$1, [1,"ez-popover-plus",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
94270
+ const EzPopoverCore = /*@__PURE__*/proxyCustomElement(EzPopoverCore$1, [1,"ez-popover-core",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"],"fitInViewport":[516,"fit-in-viewport"]}]);
94271
+ const EzPopoverPlus = /*@__PURE__*/proxyCustomElement(EzPopoverPlus$1, [1,"ez-popover-plus",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"],"fitInViewport":[516,"fit-in-viewport"]}]);
93695
94272
  const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"],"enabledScroll":[4,"enabled-scroll"],"autoClose":[4,"auto-close"],"footerButtons":[16],"_hasFooterSlotContent":[32]}]);
93696
94273
  const EzProgressBar = /*@__PURE__*/proxyCustomElement(EzProgressBar$1, [2,"ez-progress-bar",{"percent":[514],"label":[513],"helpText":[513,"help-text"]}]);
93697
94274
  const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);