@sankhyalabs/ezui 7.3.3 → 7.3.4-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/cjs/{ApplicationUtils-5cc05979.js → ApplicationUtils-9a9185fc.js} +1 -1
- package/dist/cjs/FormLayout-fe8da83c.js +9 -0
- package/dist/cjs/{app-globals-2fbe4b17.js → app-globals-27a943d9.js} +1 -1
- package/dist/cjs/{ez-combo-box-list_5.cjs.entry.js → classic-search-list_8.cjs.entry.js} +364 -5
- package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item.cjs.entry.js +62 -0
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js +38 -15
- package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
- package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js +144 -18
- package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js +420 -0
- package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js +13 -2
- package/dist/cjs/ez-classic-time-input.cjs.entry.js +198 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ez-empty-card.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +130 -37
- package/dist/cjs/ez-form.cjs.entry.js +144 -81
- package/dist/cjs/ez-grid-pagination.cjs.entry.js +331 -0
- package/dist/cjs/ez-grid.cjs.entry.js +1036 -264
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +2 -2
- package/dist/cjs/{ez-card-item_5.cjs.entry.js → ez-multi-selection-list_5.cjs.entry.js} +222 -56
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +8 -0
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-record-navigation.cjs.entry.js +121 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js +81 -14
- package/dist/cjs/ez-search-plus.cjs.entry.js +18 -8
- package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +49 -11
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ez-sortable-list.cjs.entry.js +2 -2
- package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +16 -17
- package/dist/cjs/ez-split-item.cjs.entry.js +7 -5
- package/dist/cjs/ez-split-panel.cjs.entry.js +6 -4
- package/dist/cjs/ez-tabselector.cjs.entry.js +209 -61
- package/dist/cjs/ez-text-input.cjs.entry.js +37 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +3 -3
- package/dist/cjs/filter-column.cjs.entry.js +1 -1
- package/dist/cjs/{floating-ui.dom.esm-f1e4e440.js → floating-ui.dom.esm-4a0428c0.js} +309 -260
- package/dist/cjs/index-a7b0c73d.js +58 -26
- package/dist/cjs/{index-1be40f19.js → index-d4a1cad8.js} +175 -30
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{purify-06a8724d.js → purify-4f39f037.js} +293 -117
- package/dist/cjs/{search-column-316e2c59.js → search-column-c04897a9.js} +12 -10
- package/dist/cjs/searchFormatters-051f8677.js +23 -0
- package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
- package/dist/collection/collection-manifest.json +64 -3
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +96 -18
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
- package/dist/collection/components/ez-classic-input/ez-classic-input.js +200 -19
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
- package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +428 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +1003 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +3 -2
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js +32 -1
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +512 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css +2 -2
- package/dist/collection/components/ez-empty-card/ez-empty-card.js +7 -7
- package/dist/collection/components/ez-form/ez-form.js +30 -4
- package/dist/collection/components/ez-form-view/ez-form-view.css +27 -8
- package/dist/collection/components/ez-form-view/ez-form-view.js +62 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +9 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.js +4 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/structure/index.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +194 -13
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +11 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.js +23 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.js +24 -0
- package/dist/collection/components/ez-grid/ez-grid.css +5 -60
- package/dist/collection/components/ez-grid/ez-grid.js +52 -150
- package/dist/collection/components/ez-grid/interfaces/IAggegationFunc.js +1 -0
- package/dist/collection/components/ez-grid/utils/index.js +1 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.css +217 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.js +516 -0
- package/dist/collection/components/ez-grid-pagination/ez-grid-pagination.model.js +1 -0
- package/dist/collection/components/ez-icon/ez-icon.css +8 -7
- package/dist/collection/components/ez-image-input/ez-image-input.css +189 -0
- package/dist/collection/components/ez-image-input/ez-image-input.js +329 -0
- package/dist/collection/components/ez-modal/ez-modal.css +3 -0
- package/dist/collection/components/ez-popover/ez-popover.js +27 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.css +51 -0
- package/dist/collection/components/ez-record-navigation/ez-record-navigation.js +246 -0
- package/dist/collection/components/ez-scroller/EzScrollNavigationMode.js +5 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +117 -11
- package/dist/collection/components/ez-scroller/ez-scroller.js +118 -13
- package/dist/collection/components/ez-search/ez-search.css +4 -0
- package/dist/collection/components/ez-search/ez-search.js +75 -3
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +11 -2
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.js +20 -15
- package/dist/collection/components/ez-split-panel/ez-split-panel.css +29 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js +23 -3
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css +9 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +20 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.css +33 -1
- package/dist/collection/components/ez-tabselector/ez-tabselector.js +254 -62
- package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
- package/dist/collection/utils/form/DataBinder.js +2 -2
- package/dist/collection/utils/form/FormMetadata.js +132 -74
- package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
- package/dist/collection/utils/i18n/locales/en-us.js +55 -4
- package/dist/collection/utils/i18n/locales/es-es.js +55 -4
- package/dist/collection/utils/i18n/locales/pt-br.js +55 -4
- package/dist/collection/utils/searchColumn/search-column.js +8 -6
- package/dist/custom-elements/index.d.ts +66 -0
- package/dist/custom-elements/index.js +5455 -956
- package/dist/esm/{ApplicationUtils-1569f757.js → ApplicationUtils-29d2709c.js} +1 -1
- package/dist/esm/FormLayout-bda67973.js +9 -0
- package/dist/esm/{app-globals-c0ac93c0.js → app-globals-44bdc4c4.js} +1 -1
- package/dist/esm/{ez-combo-box-list_5.entry.js → classic-search-list_8.entry.js} +363 -7
- package/dist/esm/ez-actions-button.entry.js +4 -3
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-card-item.entry.js +58 -0
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-classic-combo-box.entry.js +38 -15
- package/dist/esm/ez-classic-date-input.entry.js +197 -0
- package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
- package/dist/esm/ez-classic-input.entry.js +145 -19
- package/dist/esm/ez-classic-number-input.entry.js +201 -0
- package/dist/esm/ez-classic-search-plus.entry.js +416 -0
- package/dist/esm/ez-classic-search.entry.js +679 -0
- package/dist/esm/ez-classic-text-area.entry.js +13 -2
- package/dist/esm/ez-classic-time-input.entry.js +194 -0
- package/dist/esm/ez-collapsible-box.entry.js +4 -3
- package/dist/esm/ez-combo-box.entry.js +4 -3
- package/dist/esm/ez-date-input.entry.js +1 -1
- package/dist/esm/ez-date-time-input.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +1 -1
- package/dist/esm/ez-dropdown.entry.js +1 -1
- package/dist/esm/ez-empty-card.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +130 -37
- package/dist/esm/ez-form.entry.js +144 -81
- package/dist/esm/ez-grid-pagination.entry.js +327 -0
- package/dist/esm/ez-grid.entry.js +1035 -263
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-link-builder_6.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +2 -2
- package/dist/esm/{ez-card-item_5.entry.js → ez-multi-selection-list_5.entry.js} +224 -58
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-pagination.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +8 -0
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-record-navigation.entry.js +117 -0
- package/dist/esm/ez-scroller_2.entry.js +81 -14
- package/dist/esm/ez-search-plus.entry.js +15 -5
- package/dist/esm/ez-search-result-list.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +44 -6
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-skeleton.entry.js +1 -1
- package/dist/esm/ez-sortable-list.entry.js +2 -2
- package/dist/esm/ez-spinner.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +16 -17
- package/dist/esm/ez-split-item.entry.js +7 -5
- package/dist/esm/ez-split-panel.entry.js +6 -4
- package/dist/esm/ez-tabselector.entry.js +209 -61
- package/dist/esm/ez-text-input.entry.js +37 -0
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +1 -1
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +2 -2
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +1 -1
- package/dist/esm/{floating-ui.dom.esm-c94d4011.js → floating-ui.dom.esm-ffa73324.js} +309 -260
- package/dist/esm/{index-41363fa6.js → index-b5a15d4b.js} +175 -30
- package/dist/esm/index-baa5e267.js +58 -26
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{purify-ca96ec34.js → purify-f52f5419.js} +293 -117
- package/dist/esm/{search-column-c20d2b01.js → search-column-9414ad22.js} +12 -10
- package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
- package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-08e3184d.entry.js +1 -0
- package/dist/ezui/p-0d80e3ec.entry.js +1 -0
- package/dist/ezui/p-0ddb9a95.entry.js +1 -0
- package/dist/ezui/{p-3afa1c6e.entry.js → p-0fbf5842.entry.js} +1 -1
- package/dist/ezui/{p-4fe123b6.entry.js → p-1160c33a.entry.js} +1 -1
- package/dist/ezui/p-1222005d.entry.js +1 -0
- package/dist/ezui/p-178cb9df.entry.js +1 -0
- package/dist/ezui/p-1c7aa5af.entry.js +1 -0
- package/dist/ezui/{p-859e3134.entry.js → p-27236a0f.entry.js} +1 -1
- package/dist/ezui/{p-02d448bb.entry.js → p-2c1c9ec6.entry.js} +1 -1
- package/dist/ezui/{p-baec56c9.js → p-320c401f.js} +1 -1
- package/dist/ezui/p-34a09786.entry.js +1 -0
- package/dist/ezui/{p-82b0afe7.entry.js → p-359430a5.entry.js} +1 -1
- package/dist/ezui/{p-110cfb7d.entry.js → p-381570d2.entry.js} +1 -1
- package/dist/ezui/p-3b7d9f30.js +1 -0
- package/dist/ezui/{p-d5eb2fad.entry.js → p-3b9ccdb7.entry.js} +1 -1
- package/dist/ezui/p-40a0a773.entry.js +1 -0
- package/dist/ezui/{p-b3d8034b.entry.js → p-40c92fc7.entry.js} +1 -1
- package/dist/ezui/p-45d09b32.entry.js +1 -0
- package/dist/ezui/p-46188bfe.entry.js +1 -0
- package/dist/ezui/p-47e4a8ce.js +1 -0
- package/dist/ezui/p-49bc0b59.entry.js +1 -0
- package/dist/ezui/p-5124ba43.entry.js +1 -0
- package/dist/ezui/{p-721fd999.entry.js → p-52122022.entry.js} +1 -1
- package/dist/ezui/p-5895e687.js +1 -0
- package/dist/ezui/p-58ce160e.js +3 -0
- package/dist/ezui/{p-04126429.js → p-58fa7883.js} +1 -1
- package/dist/ezui/{p-0f7971cf.entry.js → p-5a217a52.entry.js} +1 -1
- package/dist/ezui/p-63409a57.entry.js +1 -0
- package/dist/ezui/p-6369a0cd.entry.js +1 -0
- package/dist/ezui/{p-ce0b36d7.entry.js → p-664b9f4c.entry.js} +1 -1
- package/dist/ezui/{p-9b3f3c02.entry.js → p-6c24ab67.entry.js} +1 -1
- package/dist/ezui/{p-34a476a9.entry.js → p-73bae77e.entry.js} +1 -1
- package/dist/ezui/p-7b6c9097.entry.js +309 -0
- package/dist/ezui/{p-a80e6b24.entry.js → p-7ecac0c4.entry.js} +1 -1
- package/dist/ezui/{p-39761eca.entry.js → p-83ffba67.entry.js} +1 -1
- package/dist/ezui/{p-d6bb930d.entry.js → p-852d6133.entry.js} +1 -1
- package/dist/ezui/p-88a115b3.js +1 -0
- package/dist/ezui/p-8ebe11f4.js +1 -0
- package/dist/ezui/p-90a0b52b.entry.js +1 -0
- package/dist/ezui/p-95fb50d1.entry.js +1 -0
- package/dist/ezui/{p-6c51ccd1.entry.js → p-97545f8e.entry.js} +1 -1
- package/dist/ezui/{p-948f0fb2.entry.js → p-a62bbd49.entry.js} +1 -1
- package/dist/ezui/p-abfbbe1e.entry.js +1 -0
- package/dist/ezui/{p-b989a33e.entry.js → p-ade1c43b.entry.js} +1 -1
- package/dist/ezui/{p-9ab2add9.entry.js → p-afb2f145.entry.js} +1 -1
- package/dist/ezui/p-b29d9b0e.entry.js +1 -0
- package/dist/ezui/p-b43fcdb6.js +1 -0
- package/dist/ezui/{p-4d30b703.entry.js → p-b50289bb.entry.js} +1 -1
- package/dist/ezui/p-b5d88625.entry.js +1 -0
- package/dist/ezui/p-bcf0460e.entry.js +1 -0
- package/dist/ezui/p-be4b042f.entry.js +1 -0
- package/dist/ezui/{p-05c32903.entry.js → p-c547f48f.entry.js} +1 -1
- package/dist/ezui/{p-ecd6409d.entry.js → p-c6b9a72a.entry.js} +2 -2
- package/dist/ezui/p-ca4c015a.entry.js +1 -0
- package/dist/ezui/p-d6f50207.entry.js +1 -0
- package/dist/ezui/p-d892e4c5.entry.js +1 -0
- package/dist/ezui/p-dcb7275b.entry.js +1 -0
- package/dist/ezui/p-dcd6a163.entry.js +1 -0
- package/dist/ezui/p-dcde2e69.entry.js +1 -0
- package/dist/ezui/p-ddf856db.entry.js +1 -0
- package/dist/ezui/p-df6173c8.entry.js +1 -0
- package/dist/ezui/{p-a4083a7a.entry.js → p-e60aa084.entry.js} +1 -1
- package/dist/ezui/p-eb0cfd29.entry.js +1 -0
- package/dist/ezui/{p-e5de42e7.entry.js → p-ef3cd4ef.entry.js} +1 -1
- package/dist/ezui/{p-fa6732f2.entry.js → p-efea2c79.entry.js} +1 -1
- package/dist/ezui/{p-9b215871.entry.js → p-f7fb2587.entry.js} +1 -1
- package/dist/ezui/p-fed3f5fe.entry.js +1 -0
- package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +11 -3
- package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
- package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
- package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +24 -1
- package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
- package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
- package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
- package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +189 -0
- package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
- package/dist/types/components/ez-classic-text-area/ez-classic-text-area.d.ts +3 -0
- package/dist/types/components/ez-empty-card/ez-empty-card.d.ts +2 -2
- package/dist/types/components/ez-form/ez-form.d.ts +6 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +11 -0
- package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +9 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
- package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/ImageInput.tpl.d.ts +2 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +31 -0
- package/dist/types/components/ez-grid/controller/ag-grid/gridColumnDefaultWidths.d.ts +4 -0
- package/dist/types/components/ez-grid/controller/ag-grid/utils/AggFunctionResolver.d.ts +2 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +10 -27
- package/dist/types/components/ez-grid/interfaces/IAggegationFunc.d.ts +3 -0
- package/dist/types/components/ez-grid/utils/index.d.ts +1 -0
- package/dist/types/components/ez-grid-pagination/ez-grid-pagination.d.ts +91 -0
- package/dist/types/components/ez-grid-pagination/ez-grid-pagination.model.d.ts +7 -0
- package/dist/types/components/ez-image-input/ez-image-input.d.ts +43 -0
- package/dist/types/components/ez-popover/ez-popover.d.ts +9 -0
- package/dist/types/components/ez-record-navigation/ez-record-navigation.d.ts +43 -0
- package/dist/types/components/ez-scroller/EzScrollNavigationMode.d.ts +4 -0
- package/dist/types/components/ez-scroller/ez-scroller.d.ts +16 -2
- package/dist/types/components/ez-search/ez-search.d.ts +12 -1
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +1 -0
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
- package/dist/types/components/ez-split-panel/ez-split-panel.d.ts +4 -0
- package/dist/types/components/ez-split-panel/structure/item/ez-split-item.d.ts +4 -0
- package/dist/types/components/ez-tabselector/ez-tabselector.d.ts +42 -20
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
- package/dist/types/components.d.ts +3516 -2053
- package/dist/types/utils/form/FormMetadata.d.ts +2 -1
- package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
- package/dist/types/utils/form/interfaces/IFormSheetMetadata.d.ts +3 -0
- package/dist/types/utils/form/interfaces/ITabConfig.d.ts +3 -0
- package/dist/types/utils/i18n/locales/en-us.d.ts +54 -3
- package/dist/types/utils/i18n/locales/es-es.d.ts +54 -3
- package/dist/types/utils/i18n/locales/pt-br.d.ts +54 -3
- package/dist/types/utils/i18n/translations.d.ts +162 -9
- package/package.json +12 -7
- package/react/components.d.ts +11 -0
- package/react/components.js +11 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ApplicationUtils-5cc05979.js.gz +0 -0
- package/dist/cjs/CSSVarsUtils-f20973d1.js.gz +0 -0
- package/dist/cjs/CheckMode-ecb90b87.js.gz +0 -0
- package/dist/cjs/DialogType-2114c337.js.gz +0 -0
- package/dist/cjs/EzScrollDirection-b2c99895.js.gz +0 -0
- package/dist/cjs/FocusResolver-885f2173.js.gz +0 -0
- package/dist/cjs/FormLayout-18853e70.js.gz +0 -0
- package/dist/cjs/RichToolbarHelper-ea12328f.js.gz +0 -0
- package/dist/cjs/_commonjsHelpers-537d719a.js.gz +0 -0
- package/dist/cjs/app-globals-2fbe4b17.js.gz +0 -0
- package/dist/cjs/constants-72b7e05e.js.gz +0 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-alert.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-application.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-avatar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-badge.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-breadcrumb.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-calendar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-card-item_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chart.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-check.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-chip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box-list_5.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-date-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dialog.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-double-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-dropdown.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-empty-card.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-file-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-filter-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-form.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid-view.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-grid.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-guide-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-icon.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-link-builder_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-loading-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal-container.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-modal.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-number-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-pagination.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover-core.cjs.entry.js +0 -227
- package/dist/cjs/ez-popover-core.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popover.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-popup.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-progress-bar.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-radio-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-rich-toolbar-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-plus.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-search.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-skeleton.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-sortable-list.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-spinner.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-button.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-item.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-split-panel.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tabselector.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tag.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-area.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-text-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile-medium.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tile.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-time-input.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-toast.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tooltip.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-tree.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-underface.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-upload.cjs.entry.js.gz +0 -0
- package/dist/cjs/ez-view-stack.cjs.entry.js.gz +0 -0
- package/dist/cjs/ezListHelper-0d3970b4.js.gz +0 -0
- package/dist/cjs/ezui.cjs.js.gz +0 -0
- package/dist/cjs/filter-column.cjs.entry.js.gz +0 -0
- package/dist/cjs/floating-ui.dom.esm-f1e4e440.js.gz +0 -0
- package/dist/cjs/index-1be40f19.js.gz +0 -0
- package/dist/cjs/index-a7b0c73d.js.gz +0 -0
- package/dist/cjs/index.cjs.js.gz +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/cjs/purify-06a8724d.js.gz +0 -0
- package/dist/cjs/search-column-316e2c59.js.gz +0 -0
- package/dist/cjs/searchFormatters-b7e1ed1e.js.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.css.gz +0 -0
- package/dist/collection/components/ez-actions-button/ez-actions-button.js.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.css.gz +0 -0
- package/dist/collection/components/ez-alert/ez-alert.js.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.css.gz +0 -0
- package/dist/collection/components/ez-alert-list/ez-alert-list.js.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.css.gz +0 -0
- package/dist/collection/components/ez-application/ez-application.js.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.css.gz +0 -0
- package/dist/collection/components/ez-avatar/ez-avatar.js.gz +0 -0
- package/dist/collection/components/ez-badge/enum/sizes.js.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.css.gz +0 -0
- package/dist/collection/components/ez-badge/ez-badge.js.gz +0 -0
- package/dist/collection/components/ez-badge/interfaces/IPosition.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.css.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/ez-breadcrumb.js.gz +0 -0
- package/dist/collection/components/ez-breadcrumb/subcomponents/breadcrumb-item.js.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.css.gz +0 -0
- package/dist/collection/components/ez-button/ez-button.js.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.css.gz +0 -0
- package/dist/collection/components/ez-calendar/ez-calendar.js.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.css.gz +0 -0
- package/dist/collection/components/ez-card-item/ez-card-item.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/BarChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/ColumnChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/DonutChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/LineChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/PieChart.js.gz +0 -0
- package/dist/collection/components/ez-chart/components/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.css.gz +0 -0
- package/dist/collection/components/ez-chart/ez-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartAxis.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartContext.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartOptions.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartSerie.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartStrategies.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartType.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/ChartTypeValue.js.gz +0 -0
- package/dist/collection/components/ez-chart/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-chart/test/mock-chart.js.gz +0 -0
- package/dist/collection/components/ez-chart/types/BaseHighChartsRender.js.gz +0 -0
- package/dist/collection/components/ez-check/CheckMode.js.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.css.gz +0 -0
- package/dist/collection/components/ez-check/ez-check.js.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.css.gz +0 -0
- package/dist/collection/components/ez-chip/ez-chip.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-classic-combo-box/interfaces/IOption.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css.gz +0 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-classic-input/utils/maskFormatter.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.js.gz +0 -0
- package/dist/collection/components/ez-classic-text-area/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.css.gz +0 -0
- package/dist/collection/components/ez-collapsible-box/ez-collapsible-box.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css.gz +0 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.css.gz +0 -0
- package/dist/collection/components/ez-date-input/ez-date-input.js.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.css.gz +0 -0
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js.gz +0 -0
- package/dist/collection/components/ez-dialog/DialogType.js.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.css.gz +0 -0
- package/dist/collection/components/ez-dialog/ez-dialog.js.gz +0 -0
- package/dist/collection/components/ez-double-list/doubleListHelper.js.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.css.gz +0 -0
- package/dist/collection/components/ez-double-list/ez-double-list.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.css.gz +0 -0
- package/dist/collection/components/ez-dropdown/ez-dropdown.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/DropdownItem.js.gz +0 -0
- package/dist/collection/components/ez-dropdown/structure/SubmenuControl.js.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.css.gz +0 -0
- package/dist/collection/components/ez-empty-card/ez-empty-card.js.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.css.gz +0 -0
- package/dist/collection/components/ez-file-item/ez-file-item.js.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.css.gz +0 -0
- package/dist/collection/components/ez-filter-input/ez-filter-input.js.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.css.gz +0 -0
- package/dist/collection/components/ez-form/ez-form.js.gz +0 -0
- package/dist/collection/components/ez-form/store/form.slice.js.gz +0 -0
- package/dist/collection/components/ez-form-view/custom-input/ez-custom-form-input.js.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.css.gz +0 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/MultiSelectInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/IFormViewField.js.gz +0 -0
- package/dist/collection/components/ez-form-view/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-form-view/structure/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/EzGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSourceInterceptor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/EzGridCustomHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/cellRendererStatus.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/selectionHeader.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellEditorConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/components/test/constants/EzGridCustomCellRenderConstants.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/GridEditorUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IEditorMetadata.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellEditor.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/IUICellRender.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/ComboBox.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/DateInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/NumberInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/Search.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/TextInput.tpl.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/mock/Server.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/test/constants/GridEditionMock.js.gz +0 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/utils/buildLocaleText.js.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.css.gz +0 -0
- package/dist/collection/components/ez-grid/ez-grid.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IColumnFilter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ICustomFormatter.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/IGridMode.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelection.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/ISelectionToastConfig.js.gz +0 -0
- package/dist/collection/components/ez-grid/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.css.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/selection-counter.js.gz +0 -0
- package/dist/collection/components/ez-grid/subcomponents/utils/selectionCounterUtils.js.gz +0 -0
- package/dist/collection/components/ez-grid/test/resources/gridDataUnit.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/ColumnFilterManager.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/InMemoryFilterColumnDataSource.js.gz +0 -0
- package/dist/collection/components/ez-grid/utils/index.js.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.css.gz +0 -0
- package/dist/collection/components/ez-grid-view/ez-grid-view.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.css.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/ez-guide-navigator.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/IGuideItem.js.gz +0 -0
- package/dist/collection/components/ez-guide-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.css.gz +0 -0
- package/dist/collection/components/ez-icon/ez-icon.js.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.css.gz +0 -0
- package/dist/collection/components/ez-list/ez-list.js.gz +0 -0
- package/dist/collection/components/ez-list/ezListHelper.js.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.css.gz +0 -0
- package/dist/collection/components/ez-list-item/ez-list-item.js.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.css.gz +0 -0
- package/dist/collection/components/ez-loading-bar/ez-loading-bar.js.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.css.gz +0 -0
- package/dist/collection/components/ez-modal/ez-modal.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.css.gz +0 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/index.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-action.js.gz +0 -0
- package/dist/collection/components/ez-modal-container/modal-button-status.js.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.css.gz +0 -0
- package/dist/collection/components/ez-multi-select-input/ez-multi-select-input.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/ez-multi-selection-list.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IMultiSelectionOption.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.css.gz +0 -0
- package/dist/collection/components/ez-multi-selection-list/subcomponents/multi-selection-box-message.js.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.css.gz +0 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.css.gz +0 -0
- package/dist/collection/components/ez-pagination/ez-pagination.js.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.css.gz +0 -0
- package/dist/collection/components/ez-popover/ez-popover.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css.gz +0 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.css.gz +0 -0
- package/dist/collection/components/ez-popup/ez-popup.js.gz +0 -0
- package/dist/collection/components/ez-popup/interfaces/EzButtonProps.js.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.css.gz +0 -0
- package/dist/collection/components/ez-progress-bar/ez-progress-bar.js.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.css.gz +0 -0
- package/dist/collection/components/ez-radio-button/ez-radio-button.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-link-builder/ez-link-builder.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/RichToolbarHelper.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-arrows/ez-rich-toolbar-arrows.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-configs/ez-rich-toolbar-configs.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-item/ez-rich-toolbar-item.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar-letters/ez-rich-toolbar-letters.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-rich-toolbar/ez-rich-toolbar.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.css.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/ez-simple-image-uploader.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/test/resource/imageBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/fileToBase64.js.gz +0 -0
- package/dist/collection/components/ez-rich-text/ez-simple-image-uploader/utils/formatBytes.js.gz +0 -0
- package/dist/collection/components/ez-scroller/EzScrollDirection.js.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css.gz +0 -0
- package/dist/collection/components/ez-scroller/ez-scroller.js.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.css.gz +0 -0
- package/dist/collection/components/ez-search/ez-search.js.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css.gz +0 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js.gz +0 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css.gz +0 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-button/ez-sidebar-button.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.css.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/ez-sidebar-navigator.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/ModeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/SizeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/TypeMenuEnum.js.gz +0 -0
- package/dist/collection/components/ez-sidebar-navigator/interfaces/index.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.css.gz +0 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.js.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.css.gz +0 -0
- package/dist/collection/components/ez-sortable-list/ez-sortable-list.js.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.css.gz +0 -0
- package/dist/collection/components/ez-spinner/ez-spinner.js.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.css.gz +0 -0
- package/dist/collection/components/ez-split-button/ez-split-button.js.gz +0 -0
- package/dist/collection/components/ez-split-button/test/dropdownItems.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/ez-split-panel.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/interfaces/IPanelSizeInfo.js.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.css.gz +0 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.css.gz +0 -0
- package/dist/collection/components/ez-tabselector/ez-tabselector.js.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.css.gz +0 -0
- package/dist/collection/components/ez-tag/ez-tag.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.css.gz +0 -0
- package/dist/collection/components/ez-tag-input/ez-tag-input.js.gz +0 -0
- package/dist/collection/components/ez-tag-input/interfaces/optionsSetFocus.js.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.css.gz +0 -0
- package/dist/collection/components/ez-text-area/ez-text-area.js.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.css.gz +0 -0
- package/dist/collection/components/ez-text-edit/ez-text-edit.js.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.css.gz +0 -0
- package/dist/collection/components/ez-text-input/ez-text-input.js.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.css.gz +0 -0
- package/dist/collection/components/ez-tile/ez-tile.js.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.css.gz +0 -0
- package/dist/collection/components/ez-tile-medium/ez-tile-medium.js.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.css.gz +0 -0
- package/dist/collection/components/ez-time-input/ez-time-input.js.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.css.gz +0 -0
- package/dist/collection/components/ez-toast/ez-toast.js.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.css.gz +0 -0
- package/dist/collection/components/ez-tooltip/ez-tooltip.js.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.css.gz +0 -0
- package/dist/collection/components/ez-tree/ez-tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITree.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/interfaces/ITreeItemBadge.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultIconResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/DefaultTooltipResolver.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/TreeItem.js.gz +0 -0
- package/dist/collection/components/ez-tree/subcomponents/index.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Node.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/Tree.js.gz +0 -0
- package/dist/collection/components/ez-tree/types/UpdateItemConfig.js.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.css.gz +0 -0
- package/dist/collection/components/ez-underface/ez-underface.js.gz +0 -0
- package/dist/collection/components/ez-upload/RemoteFile.js.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.css.gz +0 -0
- package/dist/collection/components/ez-upload/ez-upload.js.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.css.gz +0 -0
- package/dist/collection/components/ez-view-stack/ez-view-stack.js.gz +0 -0
- package/dist/collection/global/app-init.js.gz +0 -0
- package/dist/collection/index.js.gz +0 -0
- package/dist/collection/servidor.js.gz +0 -0
- package/dist/collection/setupTests.js.gz +0 -0
- package/dist/collection/sw.js.gz +0 -0
- package/dist/collection/utils/ApplicationUtils.js.gz +0 -0
- package/dist/collection/utils/AssetsUtils.js.gz +0 -0
- package/dist/collection/utils/CSSVarsUtils.js.gz +0 -0
- package/dist/collection/utils/FocusResolver.js.gz +0 -0
- package/dist/collection/utils/ag-grid-license.js.gz +0 -0
- package/dist/collection/utils/constants.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditor.js.gz +0 -0
- package/dist/collection/utils/customEditor/interfaces/ICustomEditorInfo.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRender.js.gz +0 -0
- package/dist/collection/utils/customRender/interfaces/ICustomRenderInfo.js.gz +0 -0
- package/dist/collection/utils/form/DataBinder.js.gz +0 -0
- package/dist/collection/utils/form/FormMetadata.js.gz +0 -0
- package/dist/collection/utils/form/index.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/FormLayout.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IDefaultConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormCardConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/IFormSheetMetadata.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ISummaryField.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/ITabConfig.js.gz +0 -0
- package/dist/collection/utils/form/interfaces/index.js.gz +0 -0
- package/dist/collection/utils/form/test/DataBinder.test.js.gz +0 -0
- package/dist/collection/utils/form/test/resources/metadataTest.js.gz +0 -0
- package/dist/collection/utils/i18n/elanguages.js.gz +0 -0
- package/dist/collection/utils/i18n/index.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/en-us.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/es-es.js.gz +0 -0
- package/dist/collection/utils/i18n/locales/pt-br.js.gz +0 -0
- package/dist/collection/utils/i18n/translations.js.gz +0 -0
- package/dist/collection/utils/index.js.gz +0 -0
- package/dist/collection/utils/interfaces/AbstractFieldMetadata.js.gz +0 -0
- package/dist/collection/utils/interfaces/IAction.js.gz +0 -0
- package/dist/collection/utils/interfaces/IFieldConfig.js.gz +0 -0
- package/dist/collection/utils/mock/ez-upload-mock.js.gz +0 -0
- package/dist/collection/utils/search/types.js.gz +0 -0
- package/dist/collection/utils/searchColumn/search-column.js.gz +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidCells.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IInvalidField.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IRecordValidator.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationResult.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/IValidationSource.js.gz +0 -0
- package/dist/collection/utils/validators/recordvalidator/RecordValidationProcessor.js.gz +0 -0
- package/dist/custom-elements/index.js.gz +0 -0
- package/dist/esm/ApplicationUtils-1569f757.js.gz +0 -0
- package/dist/esm/CSSVarsUtils-acba92d7.js.gz +0 -0
- package/dist/esm/CheckMode-bdb2ec19.js.gz +0 -0
- package/dist/esm/DialogType-54a62731.js.gz +0 -0
- package/dist/esm/EzScrollDirection-2df26c93.js.gz +0 -0
- package/dist/esm/FocusResolver-1ccbf850.js.gz +0 -0
- package/dist/esm/FormLayout-071d324c.js.gz +0 -0
- package/dist/esm/RichToolbarHelper-f3a149c4.js.gz +0 -0
- package/dist/esm/_commonjsHelpers-9943807e.js.gz +0 -0
- package/dist/esm/app-globals-c0ac93c0.js.gz +0 -0
- package/dist/esm/constants-3fabe81e.js.gz +0 -0
- package/dist/esm/ez-actions-button.entry.js.gz +0 -0
- package/dist/esm/ez-alert-list.entry.js.gz +0 -0
- package/dist/esm/ez-alert.entry.js.gz +0 -0
- package/dist/esm/ez-application.entry.js.gz +0 -0
- package/dist/esm/ez-avatar.entry.js.gz +0 -0
- package/dist/esm/ez-badge.entry.js.gz +0 -0
- package/dist/esm/ez-breadcrumb.entry.js.gz +0 -0
- package/dist/esm/ez-button.entry.js.gz +0 -0
- package/dist/esm/ez-calendar.entry.js.gz +0 -0
- package/dist/esm/ez-card-item_5.entry.js.gz +0 -0
- package/dist/esm/ez-chart.entry.js.gz +0 -0
- package/dist/esm/ez-check.entry.js.gz +0 -0
- package/dist/esm/ez-chip.entry.js.gz +0 -0
- package/dist/esm/ez-classic-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-classic-input.entry.js.gz +0 -0
- package/dist/esm/ez-classic-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-collapsible-box.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box-list_5.entry.js.gz +0 -0
- package/dist/esm/ez-combo-box.entry.js.gz +0 -0
- package/dist/esm/ez-date-input.entry.js.gz +0 -0
- package/dist/esm/ez-date-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-dialog.entry.js.gz +0 -0
- package/dist/esm/ez-double-list.entry.js.gz +0 -0
- package/dist/esm/ez-dropdown.entry.js.gz +0 -0
- package/dist/esm/ez-empty-card.entry.js.gz +0 -0
- package/dist/esm/ez-file-item.entry.js.gz +0 -0
- package/dist/esm/ez-filter-input.entry.js.gz +0 -0
- package/dist/esm/ez-form-view.entry.js.gz +0 -0
- package/dist/esm/ez-form.entry.js.gz +0 -0
- package/dist/esm/ez-grid-view.entry.js.gz +0 -0
- package/dist/esm/ez-grid.entry.js.gz +0 -0
- package/dist/esm/ez-guide-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-icon.entry.js.gz +0 -0
- package/dist/esm/ez-link-builder_6.entry.js.gz +0 -0
- package/dist/esm/ez-list-item.entry.js.gz +0 -0
- package/dist/esm/ez-list.entry.js.gz +0 -0
- package/dist/esm/ez-loading-bar.entry.js.gz +0 -0
- package/dist/esm/ez-modal-container.entry.js.gz +0 -0
- package/dist/esm/ez-modal.entry.js.gz +0 -0
- package/dist/esm/ez-number-input.entry.js.gz +0 -0
- package/dist/esm/ez-pagination.entry.js.gz +0 -0
- package/dist/esm/ez-popover-core.entry.js +0 -223
- package/dist/esm/ez-popover-core.entry.js.gz +0 -0
- package/dist/esm/ez-popover.entry.js.gz +0 -0
- package/dist/esm/ez-popup.entry.js.gz +0 -0
- package/dist/esm/ez-progress-bar.entry.js.gz +0 -0
- package/dist/esm/ez-radio-button.entry.js.gz +0 -0
- package/dist/esm/ez-rich-toolbar-item.entry.js.gz +0 -0
- package/dist/esm/ez-scroller_2.entry.js.gz +0 -0
- package/dist/esm/ez-search-plus.entry.js.gz +0 -0
- package/dist/esm/ez-search-result-list.entry.js.gz +0 -0
- package/dist/esm/ez-search.entry.js.gz +0 -0
- package/dist/esm/ez-sidebar-navigator.entry.js.gz +0 -0
- package/dist/esm/ez-skeleton.entry.js.gz +0 -0
- package/dist/esm/ez-sortable-list.entry.js.gz +0 -0
- package/dist/esm/ez-spinner.entry.js.gz +0 -0
- package/dist/esm/ez-split-button.entry.js.gz +0 -0
- package/dist/esm/ez-split-item.entry.js.gz +0 -0
- package/dist/esm/ez-split-panel.entry.js.gz +0 -0
- package/dist/esm/ez-tabselector.entry.js.gz +0 -0
- package/dist/esm/ez-tag-input.entry.js.gz +0 -0
- package/dist/esm/ez-tag.entry.js.gz +0 -0
- package/dist/esm/ez-text-area.entry.js.gz +0 -0
- package/dist/esm/ez-text-input.entry.js.gz +0 -0
- package/dist/esm/ez-tile-medium.entry.js.gz +0 -0
- package/dist/esm/ez-tile.entry.js.gz +0 -0
- package/dist/esm/ez-time-input.entry.js.gz +0 -0
- package/dist/esm/ez-toast.entry.js.gz +0 -0
- package/dist/esm/ez-tooltip.entry.js.gz +0 -0
- package/dist/esm/ez-tree.entry.js.gz +0 -0
- package/dist/esm/ez-underface.entry.js.gz +0 -0
- package/dist/esm/ez-upload.entry.js.gz +0 -0
- package/dist/esm/ez-view-stack.entry.js.gz +0 -0
- package/dist/esm/ezListHelper-00fb9b8d.js.gz +0 -0
- package/dist/esm/ezui.js.gz +0 -0
- package/dist/esm/filter-column.entry.js.gz +0 -0
- package/dist/esm/floating-ui.dom.esm-c94d4011.js.gz +0 -0
- package/dist/esm/index-41363fa6.js.gz +0 -0
- package/dist/esm/index-baa5e267.js.gz +0 -0
- package/dist/esm/index.js.gz +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm/polyfills/core-js.js.gz +0 -0
- package/dist/esm/polyfills/css-shim.js.gz +0 -0
- package/dist/esm/polyfills/dom.js.gz +0 -0
- package/dist/esm/polyfills/es5-html-element.js.gz +0 -0
- package/dist/esm/polyfills/index.js.gz +0 -0
- package/dist/esm/polyfills/system.js.gz +0 -0
- package/dist/esm/purify-ca96ec34.js.gz +0 -0
- package/dist/esm/search-column-c20d2b01.js.gz +0 -0
- package/dist/esm/searchFormatters-8229207e.js.gz +0 -0
- package/dist/ezui/ezui.esm.js.gz +0 -0
- package/dist/ezui/index.esm.js.gz +0 -0
- package/dist/ezui/p-02d448bb.entry.js.gz +0 -0
- package/dist/ezui/p-04126429.js.gz +0 -0
- package/dist/ezui/p-05c32903.entry.js.gz +0 -0
- package/dist/ezui/p-0ec37151.entry.js +0 -1
- package/dist/ezui/p-0ec37151.entry.js.gz +0 -0
- package/dist/ezui/p-0f7971cf.entry.js.gz +0 -0
- package/dist/ezui/p-110cfb7d.entry.js.gz +0 -0
- package/dist/ezui/p-112455b1.js.gz +0 -0
- package/dist/ezui/p-18384b91.entry.js +0 -1
- package/dist/ezui/p-18384b91.entry.js.gz +0 -0
- package/dist/ezui/p-1e7a8633.entry.js.gz +0 -0
- package/dist/ezui/p-1f50fa05.entry.js.gz +0 -0
- package/dist/ezui/p-20c024f7.entry.js.gz +0 -0
- package/dist/ezui/p-23a36bb6.js.gz +0 -0
- package/dist/ezui/p-24460bb2.js +0 -1
- package/dist/ezui/p-24460bb2.js.gz +0 -0
- package/dist/ezui/p-288631d1.entry.js +0 -1
- package/dist/ezui/p-288631d1.entry.js.gz +0 -0
- package/dist/ezui/p-30ffb9ed.js +0 -1
- package/dist/ezui/p-30ffb9ed.js.gz +0 -0
- package/dist/ezui/p-34a476a9.entry.js.gz +0 -0
- package/dist/ezui/p-39761eca.entry.js.gz +0 -0
- package/dist/ezui/p-3afa1c6e.entry.js.gz +0 -0
- package/dist/ezui/p-3ce867cf.entry.js +0 -1
- package/dist/ezui/p-3ce867cf.entry.js.gz +0 -0
- package/dist/ezui/p-3e767a74.js.gz +0 -0
- package/dist/ezui/p-40a60148.js.gz +0 -0
- package/dist/ezui/p-411c0222.entry.js.gz +0 -0
- package/dist/ezui/p-4314f87a.entry.js +0 -1
- package/dist/ezui/p-4314f87a.entry.js.gz +0 -0
- package/dist/ezui/p-477af30b.entry.js +0 -1
- package/dist/ezui/p-477af30b.entry.js.gz +0 -0
- package/dist/ezui/p-48effc69.entry.js +0 -1
- package/dist/ezui/p-48effc69.entry.js.gz +0 -0
- package/dist/ezui/p-4d30b703.entry.js.gz +0 -0
- package/dist/ezui/p-4fe123b6.entry.js.gz +0 -0
- package/dist/ezui/p-5554704c.js +0 -1
- package/dist/ezui/p-5554704c.js.gz +0 -0
- package/dist/ezui/p-5ed81457.entry.js.gz +0 -0
- package/dist/ezui/p-6020f3d5.entry.js +0 -1
- package/dist/ezui/p-6020f3d5.entry.js.gz +0 -0
- package/dist/ezui/p-6c51ccd1.entry.js.gz +0 -0
- package/dist/ezui/p-6ca0815e.entry.js +0 -1
- package/dist/ezui/p-6ca0815e.entry.js.gz +0 -0
- package/dist/ezui/p-6cb82d33.entry.js +0 -1
- package/dist/ezui/p-6cb82d33.entry.js.gz +0 -0
- package/dist/ezui/p-6d596a5a.entry.js.gz +0 -0
- package/dist/ezui/p-6de4cae1.entry.js +0 -1
- package/dist/ezui/p-6de4cae1.entry.js.gz +0 -0
- package/dist/ezui/p-6f77a359.entry.js.gz +0 -0
- package/dist/ezui/p-721fd999.entry.js.gz +0 -0
- package/dist/ezui/p-7995dcb4.entry.js +0 -1
- package/dist/ezui/p-7995dcb4.entry.js.gz +0 -0
- package/dist/ezui/p-7f792043.entry.js.gz +0 -0
- package/dist/ezui/p-7fe97ef5.entry.js +0 -1
- package/dist/ezui/p-7fe97ef5.entry.js.gz +0 -0
- package/dist/ezui/p-80aeef27.entry.js +0 -309
- package/dist/ezui/p-80aeef27.entry.js.gz +0 -0
- package/dist/ezui/p-80dfc50b.js.gz +0 -0
- package/dist/ezui/p-82b0afe7.entry.js.gz +0 -0
- package/dist/ezui/p-859e3134.entry.js.gz +0 -0
- package/dist/ezui/p-8bf077ea.entry.js +0 -1
- package/dist/ezui/p-8bf077ea.entry.js.gz +0 -0
- package/dist/ezui/p-8df1ca33.entry.js.gz +0 -0
- package/dist/ezui/p-91c9d50e.entry.js.gz +0 -0
- package/dist/ezui/p-93e1c917.entry.js.gz +0 -0
- package/dist/ezui/p-948f0fb2.entry.js.gz +0 -0
- package/dist/ezui/p-94deb71e.entry.js +0 -1
- package/dist/ezui/p-94deb71e.entry.js.gz +0 -0
- package/dist/ezui/p-98bb8b16.js.gz +0 -0
- package/dist/ezui/p-9ab2add9.entry.js.gz +0 -0
- package/dist/ezui/p-9b215871.entry.js.gz +0 -0
- package/dist/ezui/p-9b3f3c02.entry.js.gz +0 -0
- package/dist/ezui/p-9f5fa3f9.entry.js.gz +0 -0
- package/dist/ezui/p-a0bf1fc7.entry.js.gz +0 -0
- package/dist/ezui/p-a3075f52.entry.js.gz +0 -0
- package/dist/ezui/p-a3ada561.entry.js.gz +0 -0
- package/dist/ezui/p-a4083a7a.entry.js.gz +0 -0
- package/dist/ezui/p-a61fdd20.js +0 -1
- package/dist/ezui/p-a61fdd20.js.gz +0 -0
- package/dist/ezui/p-a80b1287.entry.js +0 -1
- package/dist/ezui/p-a80b1287.entry.js.gz +0 -0
- package/dist/ezui/p-a80e6b24.entry.js.gz +0 -0
- package/dist/ezui/p-ab574d59.js.gz +0 -0
- package/dist/ezui/p-b1e45320.js.gz +0 -0
- package/dist/ezui/p-b3d8034b.entry.js.gz +0 -0
- package/dist/ezui/p-b853763b.js.gz +0 -0
- package/dist/ezui/p-b989a33e.entry.js.gz +0 -0
- package/dist/ezui/p-baec56c9.js.gz +0 -0
- package/dist/ezui/p-bbeafaa1.entry.js +0 -1
- package/dist/ezui/p-bbeafaa1.entry.js.gz +0 -0
- package/dist/ezui/p-bc2f844e.entry.js.gz +0 -0
- package/dist/ezui/p-cde41310.entry.js +0 -1
- package/dist/ezui/p-cde41310.entry.js.gz +0 -0
- package/dist/ezui/p-ce0b36d7.entry.js.gz +0 -0
- package/dist/ezui/p-d0e354df.js +0 -3
- package/dist/ezui/p-d0e354df.js.gz +0 -0
- package/dist/ezui/p-d2645bdf.entry.js +0 -1
- package/dist/ezui/p-d2645bdf.entry.js.gz +0 -0
- package/dist/ezui/p-d5eb2fad.entry.js.gz +0 -0
- package/dist/ezui/p-d6742c1e.entry.js.gz +0 -0
- package/dist/ezui/p-d6bb930d.entry.js.gz +0 -0
- package/dist/ezui/p-d8cc640d.entry.js.gz +0 -0
- package/dist/ezui/p-dc628ed3.js.gz +0 -0
- package/dist/ezui/p-de862af4.entry.js +0 -1
- package/dist/ezui/p-de862af4.entry.js.gz +0 -0
- package/dist/ezui/p-e5de42e7.entry.js.gz +0 -0
- package/dist/ezui/p-e75c7a23.entry.js.gz +0 -0
- package/dist/ezui/p-e7a7c594.entry.js.gz +0 -0
- package/dist/ezui/p-e8c57463.entry.js.gz +0 -0
- package/dist/ezui/p-ec7db713.js.gz +0 -0
- package/dist/ezui/p-ecd6409d.entry.js.gz +0 -0
- package/dist/ezui/p-f00c9dc2.entry.js +0 -1
- package/dist/ezui/p-f00c9dc2.entry.js.gz +0 -0
- package/dist/ezui/p-f181aea8.entry.js +0 -1
- package/dist/ezui/p-f181aea8.entry.js.gz +0 -0
- package/dist/ezui/p-f34ec732.entry.js.gz +0 -0
- package/dist/ezui/p-f7b8d2b9.entry.js +0 -1
- package/dist/ezui/p-f7b8d2b9.entry.js.gz +0 -0
- package/dist/ezui/p-fa6732f2.entry.js.gz +0 -0
- package/dist/index.cjs.js.gz +0 -0
- package/dist/index.js.gz +0 -0
|
@@ -16,10 +16,6 @@ const oppositeSideMap = {
|
|
|
16
16
|
bottom: 'top',
|
|
17
17
|
top: 'bottom'
|
|
18
18
|
};
|
|
19
|
-
const oppositeAlignmentMap = {
|
|
20
|
-
start: 'end',
|
|
21
|
-
end: 'start'
|
|
22
|
-
};
|
|
23
19
|
function clamp(start, value, end) {
|
|
24
20
|
return max(start, min(value, end));
|
|
25
21
|
}
|
|
@@ -39,7 +35,8 @@ function getAxisLength(axis) {
|
|
|
39
35
|
return axis === 'y' ? 'height' : 'width';
|
|
40
36
|
}
|
|
41
37
|
function getSideAxis(placement) {
|
|
42
|
-
|
|
38
|
+
const firstChar = placement[0];
|
|
39
|
+
return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
|
|
43
40
|
}
|
|
44
41
|
function getAlignmentAxis(placement) {
|
|
45
42
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -62,21 +59,21 @@ function getExpandedPlacements(placement) {
|
|
|
62
59
|
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
63
60
|
}
|
|
64
61
|
function getOppositeAlignmentPlacement(placement) {
|
|
65
|
-
return placement.replace(
|
|
62
|
+
return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
|
|
66
63
|
}
|
|
64
|
+
const lrPlacement = ['left', 'right'];
|
|
65
|
+
const rlPlacement = ['right', 'left'];
|
|
66
|
+
const tbPlacement = ['top', 'bottom'];
|
|
67
|
+
const btPlacement = ['bottom', 'top'];
|
|
67
68
|
function getSideList(side, isStart, rtl) {
|
|
68
|
-
const lr = ['left', 'right'];
|
|
69
|
-
const rl = ['right', 'left'];
|
|
70
|
-
const tb = ['top', 'bottom'];
|
|
71
|
-
const bt = ['bottom', 'top'];
|
|
72
69
|
switch (side) {
|
|
73
70
|
case 'top':
|
|
74
71
|
case 'bottom':
|
|
75
|
-
if (rtl) return isStart ?
|
|
76
|
-
return isStart ?
|
|
72
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
73
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
77
74
|
case 'left':
|
|
78
75
|
case 'right':
|
|
79
|
-
return isStart ?
|
|
76
|
+
return isStart ? tbPlacement : btPlacement;
|
|
80
77
|
default:
|
|
81
78
|
return [];
|
|
82
79
|
}
|
|
@@ -93,15 +90,16 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
|
93
90
|
return list;
|
|
94
91
|
}
|
|
95
92
|
function getOppositePlacement(placement) {
|
|
96
|
-
|
|
93
|
+
const side = getSide(placement);
|
|
94
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
97
95
|
}
|
|
98
96
|
function expandPaddingObject(padding) {
|
|
97
|
+
var _padding$top, _padding$right, _padding$bottom, _padding$left;
|
|
99
98
|
return {
|
|
100
|
-
top: 0,
|
|
101
|
-
right: 0,
|
|
102
|
-
bottom: 0,
|
|
103
|
-
left: 0
|
|
104
|
-
...padding
|
|
99
|
+
top: (_padding$top = padding.top) != null ? _padding$top : 0,
|
|
100
|
+
right: (_padding$right = padding.right) != null ? _padding$right : 0,
|
|
101
|
+
bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
|
|
102
|
+
left: (_padding$left = padding.left) != null ? _padding$left : 0
|
|
105
103
|
};
|
|
106
104
|
}
|
|
107
105
|
function getPaddingObject(padding) {
|
|
@@ -176,17 +174,78 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
176
174
|
y: reference.y
|
|
177
175
|
};
|
|
178
176
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
break;
|
|
183
|
-
case 'end':
|
|
184
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
185
|
-
break;
|
|
177
|
+
const alignment = getAlignment(placement);
|
|
178
|
+
if (alignment) {
|
|
179
|
+
coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
|
|
186
180
|
}
|
|
187
181
|
return coords;
|
|
188
182
|
}
|
|
189
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
186
|
+
* element is overflowing a given clipping boundary on each side.
|
|
187
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
188
|
+
* - negative = how many pixels left before it will overflow
|
|
189
|
+
* - 0 = lies flush with the boundary
|
|
190
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
191
|
+
*/
|
|
192
|
+
async function detectOverflow(state, options) {
|
|
193
|
+
var _await$platform$isEle;
|
|
194
|
+
if (options === void 0) {
|
|
195
|
+
options = {};
|
|
196
|
+
}
|
|
197
|
+
const {
|
|
198
|
+
x,
|
|
199
|
+
y,
|
|
200
|
+
platform,
|
|
201
|
+
rects,
|
|
202
|
+
elements,
|
|
203
|
+
strategy
|
|
204
|
+
} = state;
|
|
205
|
+
const {
|
|
206
|
+
boundary = 'clippingAncestors',
|
|
207
|
+
rootBoundary = 'viewport',
|
|
208
|
+
elementContext = 'floating',
|
|
209
|
+
altBoundary = false,
|
|
210
|
+
padding = 0
|
|
211
|
+
} = evaluate(options, state);
|
|
212
|
+
const paddingObject = getPaddingObject(padding);
|
|
213
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
214
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
215
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
216
|
+
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
217
|
+
boundary,
|
|
218
|
+
rootBoundary,
|
|
219
|
+
strategy
|
|
220
|
+
}));
|
|
221
|
+
const rect = elementContext === 'floating' ? {
|
|
222
|
+
x,
|
|
223
|
+
y,
|
|
224
|
+
width: rects.floating.width,
|
|
225
|
+
height: rects.floating.height
|
|
226
|
+
} : rects.reference;
|
|
227
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
228
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
229
|
+
x: 1,
|
|
230
|
+
y: 1
|
|
231
|
+
};
|
|
232
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
233
|
+
elements,
|
|
234
|
+
rect,
|
|
235
|
+
offsetParent,
|
|
236
|
+
strategy
|
|
237
|
+
}) : rect);
|
|
238
|
+
return {
|
|
239
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
240
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
241
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
242
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
247
|
+
const MAX_RESET_COUNT = 50;
|
|
248
|
+
|
|
190
249
|
/**
|
|
191
250
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
192
251
|
* next to a given reference element.
|
|
@@ -201,7 +260,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
201
260
|
middleware = [],
|
|
202
261
|
platform
|
|
203
262
|
} = config;
|
|
204
|
-
const
|
|
263
|
+
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
264
|
+
...platform,
|
|
265
|
+
detectOverflow
|
|
266
|
+
};
|
|
205
267
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
206
268
|
let rects = await platform.getElementRects({
|
|
207
269
|
reference,
|
|
@@ -213,13 +275,17 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
213
275
|
y
|
|
214
276
|
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
215
277
|
let statefulPlacement = placement;
|
|
216
|
-
let middlewareData = {};
|
|
217
278
|
let resetCount = 0;
|
|
218
|
-
|
|
279
|
+
const middlewareData = {};
|
|
280
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
281
|
+
const currentMiddleware = middleware[i];
|
|
282
|
+
if (!currentMiddleware) {
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
219
285
|
const {
|
|
220
286
|
name,
|
|
221
287
|
fn
|
|
222
|
-
} =
|
|
288
|
+
} = currentMiddleware;
|
|
223
289
|
const {
|
|
224
290
|
x: nextX,
|
|
225
291
|
y: nextY,
|
|
@@ -233,7 +299,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
233
299
|
strategy,
|
|
234
300
|
middlewareData,
|
|
235
301
|
rects,
|
|
236
|
-
platform,
|
|
302
|
+
platform: platformWithDetectOverflow,
|
|
237
303
|
elements: {
|
|
238
304
|
reference,
|
|
239
305
|
floating
|
|
@@ -241,14 +307,11 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
241
307
|
});
|
|
242
308
|
x = nextX != null ? nextX : x;
|
|
243
309
|
y = nextY != null ? nextY : y;
|
|
244
|
-
middlewareData = {
|
|
245
|
-
...middlewareData,
|
|
246
|
-
|
|
247
|
-
...middlewareData[name],
|
|
248
|
-
...data
|
|
249
|
-
}
|
|
310
|
+
middlewareData[name] = {
|
|
311
|
+
...middlewareData[name],
|
|
312
|
+
...data
|
|
250
313
|
};
|
|
251
|
-
if (reset && resetCount
|
|
314
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
252
315
|
resetCount++;
|
|
253
316
|
if (typeof reset === 'object') {
|
|
254
317
|
if (reset.placement) {
|
|
@@ -278,71 +341,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
278
341
|
};
|
|
279
342
|
};
|
|
280
343
|
|
|
281
|
-
/**
|
|
282
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
283
|
-
* element is overflowing a given clipping boundary on each side.
|
|
284
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
285
|
-
* - negative = how many pixels left before it will overflow
|
|
286
|
-
* - 0 = lies flush with the boundary
|
|
287
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
288
|
-
*/
|
|
289
|
-
async function detectOverflow(state, options) {
|
|
290
|
-
var _await$platform$isEle;
|
|
291
|
-
if (options === void 0) {
|
|
292
|
-
options = {};
|
|
293
|
-
}
|
|
294
|
-
const {
|
|
295
|
-
x,
|
|
296
|
-
y,
|
|
297
|
-
platform,
|
|
298
|
-
rects,
|
|
299
|
-
elements,
|
|
300
|
-
strategy
|
|
301
|
-
} = state;
|
|
302
|
-
const {
|
|
303
|
-
boundary = 'clippingAncestors',
|
|
304
|
-
rootBoundary = 'viewport',
|
|
305
|
-
elementContext = 'floating',
|
|
306
|
-
altBoundary = false,
|
|
307
|
-
padding = 0
|
|
308
|
-
} = evaluate(options, state);
|
|
309
|
-
const paddingObject = getPaddingObject(padding);
|
|
310
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
311
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
312
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
313
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
|
|
314
|
-
boundary,
|
|
315
|
-
rootBoundary,
|
|
316
|
-
strategy
|
|
317
|
-
}));
|
|
318
|
-
const rect = elementContext === 'floating' ? {
|
|
319
|
-
x,
|
|
320
|
-
y,
|
|
321
|
-
width: rects.floating.width,
|
|
322
|
-
height: rects.floating.height
|
|
323
|
-
} : rects.reference;
|
|
324
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
325
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
326
|
-
x: 1,
|
|
327
|
-
y: 1
|
|
328
|
-
} : {
|
|
329
|
-
x: 1,
|
|
330
|
-
y: 1
|
|
331
|
-
};
|
|
332
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
333
|
-
elements,
|
|
334
|
-
rect,
|
|
335
|
-
offsetParent,
|
|
336
|
-
strategy
|
|
337
|
-
}) : rect);
|
|
338
|
-
return {
|
|
339
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
340
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
341
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
342
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
343
|
-
};
|
|
344
|
-
}
|
|
345
|
-
|
|
346
344
|
/**
|
|
347
345
|
* Provides data to position an inner element of the floating element so that it
|
|
348
346
|
* appears centered to the reference element.
|
|
@@ -400,17 +398,16 @@ const arrow$1 = options => ({
|
|
|
400
398
|
|
|
401
399
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
402
400
|
// point is outside the floating element's bounds.
|
|
403
|
-
const min$1 = minPadding;
|
|
404
401
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
405
402
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
406
|
-
const offset = clamp(
|
|
403
|
+
const offset = clamp(minPadding, center, max);
|
|
407
404
|
|
|
408
405
|
// If the reference is small enough that the arrow's padding causes it to
|
|
409
406
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
410
407
|
// floating element itself. To ensure `shift()` continues to take action,
|
|
411
408
|
// a single reset is performed when this is true.
|
|
412
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center <
|
|
413
|
-
const alignmentOffset = shouldAddOffset ? center <
|
|
409
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
410
|
+
const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
|
|
414
411
|
return {
|
|
415
412
|
[axis]: coords[axis] + alignmentOffset,
|
|
416
413
|
data: {
|
|
@@ -475,7 +472,7 @@ const flip$1 = function (options) {
|
|
|
475
472
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
476
473
|
}
|
|
477
474
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
478
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
475
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
479
476
|
const overflows = [];
|
|
480
477
|
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
481
478
|
if (checkMainAxis) {
|
|
@@ -496,16 +493,22 @@ const flip$1 = function (options) {
|
|
|
496
493
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
497
494
|
const nextPlacement = placements[nextIndex];
|
|
498
495
|
if (nextPlacement) {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
496
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
497
|
+
if (!ignoreCrossAxisOverflow ||
|
|
498
|
+
// We leave the current main axis only if every placement on that axis
|
|
499
|
+
// overflows the main axis.
|
|
500
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
501
|
+
// Try next placement and re-run the lifecycle.
|
|
502
|
+
return {
|
|
503
|
+
data: {
|
|
504
|
+
index: nextIndex,
|
|
505
|
+
overflows: overflowsData
|
|
506
|
+
},
|
|
507
|
+
reset: {
|
|
508
|
+
placement: nextPlacement
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
}
|
|
509
512
|
}
|
|
510
513
|
|
|
511
514
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -551,6 +554,8 @@ const flip$1 = function (options) {
|
|
|
551
554
|
};
|
|
552
555
|
};
|
|
553
556
|
|
|
557
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
558
|
+
|
|
554
559
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
555
560
|
// Derivable.
|
|
556
561
|
|
|
@@ -564,7 +569,7 @@ async function convertValueToCoords(state, options) {
|
|
|
564
569
|
const side = getSide(placement);
|
|
565
570
|
const alignment = getAlignment(placement);
|
|
566
571
|
const isVertical = getSideAxis(placement) === 'y';
|
|
567
|
-
const mainAxisMulti =
|
|
572
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
568
573
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
569
574
|
const rawValue = evaluate(options, state);
|
|
570
575
|
|
|
@@ -651,7 +656,8 @@ const shift$1 = function (options) {
|
|
|
651
656
|
const {
|
|
652
657
|
x,
|
|
653
658
|
y,
|
|
654
|
-
placement
|
|
659
|
+
placement,
|
|
660
|
+
platform
|
|
655
661
|
} = state;
|
|
656
662
|
const {
|
|
657
663
|
mainAxis: checkMainAxis = true,
|
|
@@ -674,24 +680,17 @@ const shift$1 = function (options) {
|
|
|
674
680
|
x,
|
|
675
681
|
y
|
|
676
682
|
};
|
|
677
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
678
|
-
const crossAxis = getSideAxis(
|
|
683
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
684
|
+
const crossAxis = getSideAxis(placement);
|
|
679
685
|
const mainAxis = getOppositeAxis(crossAxis);
|
|
680
686
|
let mainAxisCoord = coords[mainAxis];
|
|
681
687
|
let crossAxisCoord = coords[crossAxis];
|
|
688
|
+
const clampCoord = (axis, coord) => clamp(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
|
|
682
689
|
if (checkMainAxis) {
|
|
683
|
-
|
|
684
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
685
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
686
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
687
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
690
|
+
mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
|
|
688
691
|
}
|
|
689
692
|
if (checkCrossAxis) {
|
|
690
|
-
|
|
691
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
692
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
693
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
694
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
693
|
+
crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
|
|
695
694
|
}
|
|
696
695
|
const limitedCoords = limiter.fn({
|
|
697
696
|
...state,
|
|
@@ -713,6 +712,12 @@ const shift$1 = function (options) {
|
|
|
713
712
|
};
|
|
714
713
|
};
|
|
715
714
|
|
|
715
|
+
// Method syntax keeps callback parameters bivariant, but expressing the
|
|
716
|
+
// explicit `| undefined` required by `exactOptionalPropertyTypes` needs
|
|
717
|
+
// property syntax, which is contravariant under `strictFunctionTypes`.
|
|
718
|
+
// Extracting the function from a method position restores that bivariance so
|
|
719
|
+
// consumers can still assign callbacks with narrower parameter types.
|
|
720
|
+
|
|
716
721
|
/**
|
|
717
722
|
* Provides data that allows you to change the size of the floating element —
|
|
718
723
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
@@ -727,7 +732,6 @@ const size$1 = function (options) {
|
|
|
727
732
|
name: 'size',
|
|
728
733
|
options,
|
|
729
734
|
async fn(state) {
|
|
730
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
731
735
|
const {
|
|
732
736
|
placement,
|
|
733
737
|
rects,
|
|
@@ -738,7 +742,7 @@ const size$1 = function (options) {
|
|
|
738
742
|
apply = () => {},
|
|
739
743
|
...detectOverflowOptions
|
|
740
744
|
} = evaluate(options, state);
|
|
741
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
745
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
742
746
|
const side = getSide(placement);
|
|
743
747
|
const alignment = getAlignment(placement);
|
|
744
748
|
const isYAxis = getSideAxis(placement) === 'y';
|
|
@@ -759,24 +763,21 @@ const size$1 = function (options) {
|
|
|
759
763
|
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
760
764
|
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
761
765
|
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
762
|
-
const
|
|
766
|
+
const shiftData = state.middlewareData.shift;
|
|
767
|
+
const noShift = !shiftData;
|
|
763
768
|
let availableHeight = overflowAvailableHeight;
|
|
764
769
|
let availableWidth = overflowAvailableWidth;
|
|
765
|
-
if (
|
|
770
|
+
if (shiftData != null && shiftData.enabled.x) {
|
|
766
771
|
availableWidth = maximumClippingWidth;
|
|
767
772
|
}
|
|
768
|
-
if (
|
|
773
|
+
if (shiftData != null && shiftData.enabled.y) {
|
|
769
774
|
availableHeight = maximumClippingHeight;
|
|
770
775
|
}
|
|
771
776
|
if (noShift && !alignment) {
|
|
772
|
-
const xMin = max(overflow.left, 0);
|
|
773
|
-
const xMax = max(overflow.right, 0);
|
|
774
|
-
const yMin = max(overflow.top, 0);
|
|
775
|
-
const yMax = max(overflow.bottom, 0);
|
|
776
777
|
if (isYAxis) {
|
|
777
|
-
availableWidth = width - 2 *
|
|
778
|
+
availableWidth = width - 2 * max(overflow.left, overflow.right);
|
|
778
779
|
} else {
|
|
779
|
-
availableHeight = height - 2 *
|
|
780
|
+
availableHeight = height - 2 * max(overflow.top, overflow.bottom);
|
|
780
781
|
}
|
|
781
782
|
}
|
|
782
783
|
await apply({
|
|
@@ -847,28 +848,36 @@ function isOverflowElement(element) {
|
|
|
847
848
|
overflowX,
|
|
848
849
|
overflowY,
|
|
849
850
|
display
|
|
850
|
-
} = getComputedStyle(element);
|
|
851
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) &&
|
|
851
|
+
} = getComputedStyle$1(element);
|
|
852
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
|
|
852
853
|
}
|
|
853
854
|
function isTableElement(element) {
|
|
854
|
-
return
|
|
855
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
855
856
|
}
|
|
856
857
|
function isTopLayer(element) {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
return
|
|
860
|
-
} catch (e) {
|
|
861
|
-
return false;
|
|
858
|
+
try {
|
|
859
|
+
if (element.matches(':popover-open')) {
|
|
860
|
+
return true;
|
|
862
861
|
}
|
|
863
|
-
})
|
|
862
|
+
} catch (_e) {
|
|
863
|
+
// no-op
|
|
864
|
+
}
|
|
865
|
+
try {
|
|
866
|
+
return element.matches(':modal');
|
|
867
|
+
} catch (_e) {
|
|
868
|
+
return false;
|
|
869
|
+
}
|
|
864
870
|
}
|
|
871
|
+
const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
872
|
+
const containRe = /paint|layout|strict|content/;
|
|
873
|
+
const isNotNone = value => !!value && value !== 'none';
|
|
874
|
+
let isWebKitValue;
|
|
865
875
|
function isContainingBlock(elementOrCss) {
|
|
866
|
-
const
|
|
867
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
876
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
868
877
|
|
|
869
878
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
870
879
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
871
|
-
return
|
|
880
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
|
|
872
881
|
}
|
|
873
882
|
function getContainingBlock(element) {
|
|
874
883
|
let currentNode = getParentNode(element);
|
|
@@ -883,13 +892,15 @@ function getContainingBlock(element) {
|
|
|
883
892
|
return null;
|
|
884
893
|
}
|
|
885
894
|
function isWebKit() {
|
|
886
|
-
if (
|
|
887
|
-
|
|
895
|
+
if (isWebKitValue == null) {
|
|
896
|
+
isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
|
|
897
|
+
}
|
|
898
|
+
return isWebKitValue;
|
|
888
899
|
}
|
|
889
900
|
function isLastTraversableNode(node) {
|
|
890
|
-
return
|
|
901
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
891
902
|
}
|
|
892
|
-
function getComputedStyle(element) {
|
|
903
|
+
function getComputedStyle$1(element) {
|
|
893
904
|
return getWindow(element).getComputedStyle(element);
|
|
894
905
|
}
|
|
895
906
|
function getNodeScroll(element) {
|
|
@@ -922,7 +933,7 @@ function getParentNode(node) {
|
|
|
922
933
|
function getNearestOverflowAncestor(node) {
|
|
923
934
|
const parentNode = getParentNode(node);
|
|
924
935
|
if (isLastTraversableNode(parentNode)) {
|
|
925
|
-
return node.ownerDocument
|
|
936
|
+
return (node.ownerDocument || node).body;
|
|
926
937
|
}
|
|
927
938
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
928
939
|
return parentNode;
|
|
@@ -943,15 +954,16 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
943
954
|
if (isBody) {
|
|
944
955
|
const frameElement = getFrameElement(win);
|
|
945
956
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
957
|
+
} else {
|
|
958
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
946
959
|
}
|
|
947
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
948
960
|
}
|
|
949
961
|
function getFrameElement(win) {
|
|
950
962
|
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
951
963
|
}
|
|
952
964
|
|
|
953
965
|
function getCssDimensions(element) {
|
|
954
|
-
const css = getComputedStyle(element);
|
|
966
|
+
const css = getComputedStyle$1(element);
|
|
955
967
|
// In testing environments, the `width` and `height` properties are empty
|
|
956
968
|
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
957
969
|
let width = parseFloat(css.width) || 0;
|
|
@@ -1018,10 +1030,7 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1018
1030
|
if (isFixed === void 0) {
|
|
1019
1031
|
isFixed = false;
|
|
1020
1032
|
}
|
|
1021
|
-
|
|
1022
|
-
return false;
|
|
1023
|
-
}
|
|
1024
|
-
return isFixed;
|
|
1033
|
+
return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
|
|
1025
1034
|
}
|
|
1026
1035
|
|
|
1027
1036
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
@@ -1048,15 +1057,15 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1048
1057
|
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1049
1058
|
let width = clientRect.width / scale.x;
|
|
1050
1059
|
let height = clientRect.height / scale.y;
|
|
1051
|
-
if (domElement) {
|
|
1060
|
+
if (domElement && offsetParent) {
|
|
1052
1061
|
const win = getWindow(domElement);
|
|
1053
|
-
const offsetWin =
|
|
1062
|
+
const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1054
1063
|
let currentWin = win;
|
|
1055
1064
|
let currentIFrame = getFrameElement(currentWin);
|
|
1056
|
-
while (currentIFrame &&
|
|
1065
|
+
while (currentIFrame && offsetWin !== currentWin) {
|
|
1057
1066
|
const iframeScale = getScale(currentIFrame);
|
|
1058
1067
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1059
|
-
const css = getComputedStyle(currentIFrame);
|
|
1068
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1060
1069
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1061
1070
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1062
1071
|
x *= iframeScale.x;
|
|
@@ -1087,14 +1096,9 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1087
1096
|
return rect.left + leftScroll;
|
|
1088
1097
|
}
|
|
1089
1098
|
|
|
1090
|
-
function getHTMLOffset(documentElement, scroll
|
|
1091
|
-
if (ignoreScrollbarX === void 0) {
|
|
1092
|
-
ignoreScrollbarX = false;
|
|
1093
|
-
}
|
|
1099
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
1094
1100
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
1095
|
-
const x = htmlRect.left + scroll.scrollLeft - (
|
|
1096
|
-
// RTL <body> scrollbar.
|
|
1097
|
-
getWindowScrollBarX(documentElement, htmlRect));
|
|
1101
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1098
1102
|
const y = htmlRect.top + scroll.scrollTop;
|
|
1099
1103
|
return {
|
|
1100
1104
|
x,
|
|
@@ -1122,18 +1126,18 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1122
1126
|
let scale = createCoords(1);
|
|
1123
1127
|
const offsets = createCoords(0);
|
|
1124
1128
|
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1125
|
-
if (isOffsetParentAnElement || !
|
|
1129
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
1126
1130
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1127
1131
|
scroll = getNodeScroll(offsetParent);
|
|
1128
1132
|
}
|
|
1129
|
-
if (
|
|
1133
|
+
if (isOffsetParentAnElement) {
|
|
1130
1134
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1131
1135
|
scale = getScale(offsetParent);
|
|
1132
1136
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1133
1137
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1134
1138
|
}
|
|
1135
1139
|
}
|
|
1136
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll
|
|
1140
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1137
1141
|
return {
|
|
1138
1142
|
width: rect.width * scale.x,
|
|
1139
1143
|
height: rect.height * scale.y,
|
|
@@ -1143,20 +1147,19 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1143
1147
|
}
|
|
1144
1148
|
|
|
1145
1149
|
function getClientRects(element) {
|
|
1146
|
-
return Array.from(element.getClientRects());
|
|
1150
|
+
return element.getClientRects ? Array.from(element.getClientRects()) : [];
|
|
1147
1151
|
}
|
|
1148
1152
|
|
|
1149
1153
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
1150
1154
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1151
|
-
function getDocumentRect(
|
|
1152
|
-
const
|
|
1153
|
-
const
|
|
1154
|
-
const body = element.ownerDocument.body;
|
|
1155
|
+
function getDocumentRect(html) {
|
|
1156
|
+
const scroll = getNodeScroll(html);
|
|
1157
|
+
const body = html.ownerDocument.body;
|
|
1155
1158
|
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1156
1159
|
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1157
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(
|
|
1160
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(html);
|
|
1158
1161
|
const y = -scroll.scrollTop;
|
|
1159
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1162
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1160
1163
|
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1161
1164
|
}
|
|
1162
1165
|
return {
|
|
@@ -1167,7 +1170,15 @@ function getDocumentRect(element) {
|
|
|
1167
1170
|
};
|
|
1168
1171
|
}
|
|
1169
1172
|
|
|
1170
|
-
|
|
1173
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
1174
|
+
// calculation is affected by unusual styles.
|
|
1175
|
+
// Most scrollbars leave 15-18px of space.
|
|
1176
|
+
const SCROLLBAR_MAX = 25;
|
|
1177
|
+
function getViewportRect(element, strategy, rootBoundary) {
|
|
1178
|
+
if (rootBoundary === void 0) {
|
|
1179
|
+
rootBoundary = 'viewport';
|
|
1180
|
+
}
|
|
1181
|
+
const isLayoutViewport = rootBoundary === 'layoutViewport';
|
|
1171
1182
|
const win = getWindow(element);
|
|
1172
1183
|
const html = getDocumentElement(element);
|
|
1173
1184
|
const visualViewport = win.visualViewport;
|
|
@@ -1176,12 +1187,41 @@ function getViewportRect(element, strategy) {
|
|
|
1176
1187
|
let x = 0;
|
|
1177
1188
|
let y = 0;
|
|
1178
1189
|
if (visualViewport) {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1190
|
+
// Client coordinates are relative to the layout viewport, except in
|
|
1191
|
+
// WebKit with an `absolute` strategy, where they are relative to the
|
|
1192
|
+
// visual viewport.
|
|
1193
|
+
const layoutRelativeClientCoords = !isWebKit() || strategy === 'fixed';
|
|
1194
|
+
if (isLayoutViewport) {
|
|
1195
|
+
if (!layoutRelativeClientCoords) {
|
|
1196
|
+
x = -visualViewport.offsetLeft;
|
|
1197
|
+
y = -visualViewport.offsetTop;
|
|
1198
|
+
}
|
|
1199
|
+
} else {
|
|
1200
|
+
width = visualViewport.width;
|
|
1201
|
+
height = visualViewport.height;
|
|
1202
|
+
if (layoutRelativeClientCoords) {
|
|
1203
|
+
x = visualViewport.offsetLeft;
|
|
1204
|
+
y = visualViewport.offsetTop;
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1209
|
+
// `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
|
|
1210
|
+
// the visual width but isn't reflected in `html.clientWidth`, so subtract it.
|
|
1211
|
+
// Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
|
|
1212
|
+
// reserves an empty inline-start gutter that clips nothing, so exclude just
|
|
1213
|
+
// the one scrollbar-side gutter — halve the measured (two-gutter) total. A
|
|
1214
|
+
// left-side scrollbar (`windowScrollbarX > 0`) is already handled by
|
|
1215
|
+
// `getHTMLOffset`/`visualViewport.width`; skip it here.
|
|
1216
|
+
if (windowScrollbarX <= 0) {
|
|
1217
|
+
const doc = html.ownerDocument;
|
|
1218
|
+
const body = doc.body;
|
|
1219
|
+
const bodyStyles = getComputedStyle(body);
|
|
1220
|
+
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1221
|
+
const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1222
|
+
const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
|
|
1223
|
+
if (gutter <= SCROLLBAR_MAX) {
|
|
1224
|
+
width -= gutter;
|
|
1185
1225
|
}
|
|
1186
1226
|
}
|
|
1187
1227
|
return {
|
|
@@ -1197,7 +1237,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1197
1237
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1198
1238
|
const top = clientRect.top + element.clientTop;
|
|
1199
1239
|
const left = clientRect.left + element.clientLeft;
|
|
1200
|
-
const scale =
|
|
1240
|
+
const scale = getScale(element);
|
|
1201
1241
|
const width = element.clientWidth * scale.x;
|
|
1202
1242
|
const height = element.clientHeight * scale.y;
|
|
1203
1243
|
const x = left * scale.x;
|
|
@@ -1211,8 +1251,8 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1211
1251
|
}
|
|
1212
1252
|
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1213
1253
|
let rect;
|
|
1214
|
-
if (clippingAncestor === 'viewport') {
|
|
1215
|
-
rect = getViewportRect(element, strategy);
|
|
1254
|
+
if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
|
|
1255
|
+
rect = getViewportRect(element, strategy, clippingAncestor);
|
|
1216
1256
|
} else if (clippingAncestor === 'document') {
|
|
1217
1257
|
rect = getDocumentRect(getDocumentElement(element));
|
|
1218
1258
|
} else if (isElement(clippingAncestor)) {
|
|
@@ -1228,13 +1268,6 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
1228
1268
|
}
|
|
1229
1269
|
return rectToClientRect(rect);
|
|
1230
1270
|
}
|
|
1231
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1232
|
-
const parentNode = getParentNode(element);
|
|
1233
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1234
|
-
return false;
|
|
1235
|
-
}
|
|
1236
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1237
|
-
}
|
|
1238
1271
|
|
|
1239
1272
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1240
1273
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -1245,24 +1278,28 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1245
1278
|
return cachedResult;
|
|
1246
1279
|
}
|
|
1247
1280
|
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1248
|
-
let
|
|
1249
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1281
|
+
let lastKeptComputedStyle = null;
|
|
1282
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1250
1283
|
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1251
1284
|
|
|
1252
1285
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1253
1286
|
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1254
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1287
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1255
1288
|
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1289
|
+
// Position of the containing block chain below the current node. A fixed
|
|
1290
|
+
// element whose containing block hasn't been found yet is a fixed chain.
|
|
1291
|
+
const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
|
|
1292
|
+
|
|
1293
|
+
// A non-containing ancestor does not clip the element when the chain
|
|
1294
|
+
// below it escapes it: a fixed chain escapes all ancestors up to the
|
|
1295
|
+
// next containing block, an absolute chain escapes static ancestors.
|
|
1296
|
+
const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
|
|
1260
1297
|
if (shouldDropCurrentNode) {
|
|
1261
1298
|
// Drop non-containing blocks.
|
|
1262
1299
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1263
1300
|
} else {
|
|
1264
|
-
//
|
|
1265
|
-
|
|
1301
|
+
// The kept node carries the chain position for the next iteration.
|
|
1302
|
+
lastKeptComputedStyle = computedStyle;
|
|
1266
1303
|
}
|
|
1267
1304
|
currentNode = getParentNode(currentNode);
|
|
1268
1305
|
}
|
|
@@ -1281,20 +1318,23 @@ function getClippingRect(_ref) {
|
|
|
1281
1318
|
} = _ref;
|
|
1282
1319
|
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1283
1320
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1284
|
-
const
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1321
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1322
|
+
let top = firstRect.top;
|
|
1323
|
+
let right = firstRect.right;
|
|
1324
|
+
let bottom = firstRect.bottom;
|
|
1325
|
+
let left = firstRect.left;
|
|
1326
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
1327
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
1328
|
+
top = max(rect.top, top);
|
|
1329
|
+
right = min(rect.right, right);
|
|
1330
|
+
bottom = min(rect.bottom, bottom);
|
|
1331
|
+
left = max(rect.left, left);
|
|
1332
|
+
}
|
|
1293
1333
|
return {
|
|
1294
|
-
width:
|
|
1295
|
-
height:
|
|
1296
|
-
x:
|
|
1297
|
-
y:
|
|
1334
|
+
width: right - left,
|
|
1335
|
+
height: bottom - top,
|
|
1336
|
+
x: left,
|
|
1337
|
+
y: top
|
|
1298
1338
|
};
|
|
1299
1339
|
}
|
|
1300
1340
|
|
|
@@ -1319,7 +1359,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1319
1359
|
scrollTop: 0
|
|
1320
1360
|
};
|
|
1321
1361
|
const offsets = createCoords(0);
|
|
1322
|
-
if (isOffsetParentAnElement || !
|
|
1362
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
1323
1363
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1324
1364
|
scroll = getNodeScroll(offsetParent);
|
|
1325
1365
|
}
|
|
@@ -1327,12 +1367,14 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1327
1367
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1328
1368
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1329
1369
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1330
|
-
} else if (documentElement) {
|
|
1331
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1332
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1333
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1334
1370
|
}
|
|
1335
1371
|
}
|
|
1372
|
+
|
|
1373
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1374
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1375
|
+
if (!isOffsetParentAnElement && documentElement) {
|
|
1376
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1377
|
+
}
|
|
1336
1378
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1337
1379
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1338
1380
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -1345,11 +1387,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1345
1387
|
}
|
|
1346
1388
|
|
|
1347
1389
|
function isStaticPositioned(element) {
|
|
1348
|
-
return getComputedStyle(element).position === 'static';
|
|
1390
|
+
return getComputedStyle$1(element).position === 'static';
|
|
1349
1391
|
}
|
|
1350
1392
|
|
|
1351
1393
|
function getTrueOffsetParent(element, polyfill) {
|
|
1352
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1394
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1353
1395
|
return null;
|
|
1354
1396
|
}
|
|
1355
1397
|
if (polyfill) {
|
|
@@ -1410,7 +1452,7 @@ const getElementRects = async function (data) {
|
|
|
1410
1452
|
};
|
|
1411
1453
|
|
|
1412
1454
|
function isRTL(element) {
|
|
1413
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1455
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1414
1456
|
}
|
|
1415
1457
|
|
|
1416
1458
|
const platform = {
|
|
@@ -1431,7 +1473,7 @@ function rectsAreEqual(a, b) {
|
|
|
1431
1473
|
}
|
|
1432
1474
|
|
|
1433
1475
|
// https://samthor.au/2021/observing-dom/
|
|
1434
|
-
function observeMove(element, onMove) {
|
|
1476
|
+
function observeMove(element, onMove, ancestorResize) {
|
|
1435
1477
|
let io = null;
|
|
1436
1478
|
let timeoutId;
|
|
1437
1479
|
const root = getDocumentElement(element);
|
|
@@ -1474,13 +1516,22 @@ function observeMove(element, onMove) {
|
|
|
1474
1516
|
let isFirstUpdate = true;
|
|
1475
1517
|
function handleObserve(entries) {
|
|
1476
1518
|
const ratio = entries[0].intersectionRatio;
|
|
1519
|
+
|
|
1520
|
+
// The entry is a snapshot, so the reference may have moved since the
|
|
1521
|
+
// intersection was computed (under performance constraints, or between
|
|
1522
|
+
// consecutive frames of a multi-frame layout shift). The reported ratio
|
|
1523
|
+
// and the observed area are stale in that case and cannot be trusted to
|
|
1524
|
+
// detect subsequent movement, so refresh regardless of the ratio.
|
|
1525
|
+
if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1526
|
+
return refresh();
|
|
1527
|
+
}
|
|
1477
1528
|
if (ratio !== threshold) {
|
|
1478
1529
|
if (!isFirstUpdate) {
|
|
1479
1530
|
return refresh();
|
|
1480
1531
|
}
|
|
1481
1532
|
if (!ratio) {
|
|
1482
|
-
// If the reference is clipped, the ratio is 0. Throttle
|
|
1483
|
-
// to prevent an infinite loop of updates.
|
|
1533
|
+
// If the reference is clipped in place, the ratio is 0. Throttle
|
|
1534
|
+
// the refresh to prevent an infinite loop of updates.
|
|
1484
1535
|
timeoutId = setTimeout(() => {
|
|
1485
1536
|
refresh(false, 1e-7);
|
|
1486
1537
|
}, 1000);
|
|
@@ -1488,16 +1539,6 @@ function observeMove(element, onMove) {
|
|
|
1488
1539
|
refresh(false, ratio);
|
|
1489
1540
|
}
|
|
1490
1541
|
}
|
|
1491
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1492
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
1493
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
1494
|
-
// area anymore. This can happen under performance constraints. This may
|
|
1495
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1496
|
-
// work around this, we compare the element's bounding rect now with
|
|
1497
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
1498
|
-
// are not equal then the element moved, so we refresh.
|
|
1499
|
-
refresh();
|
|
1500
|
-
}
|
|
1501
1542
|
isFirstUpdate = false;
|
|
1502
1543
|
}
|
|
1503
1544
|
|
|
@@ -1509,13 +1550,23 @@ function observeMove(element, onMove) {
|
|
|
1509
1550
|
// Handle <iframe>s
|
|
1510
1551
|
root: root.ownerDocument
|
|
1511
1552
|
});
|
|
1512
|
-
} catch (
|
|
1553
|
+
} catch (_e) {
|
|
1513
1554
|
io = new IntersectionObserver(handleObserve, options);
|
|
1514
1555
|
}
|
|
1515
1556
|
io.observe(element);
|
|
1516
1557
|
}
|
|
1558
|
+
const win = getWindow(element);
|
|
1559
|
+
// The window is a resize ancestor, so when `ancestorResize` is enabled its
|
|
1560
|
+
// listener already runs the update on resize. Here we only need to rebuild
|
|
1561
|
+
// the `IntersectionObserver` for the new root size, skipping a redundant
|
|
1562
|
+
// update. When `ancestorResize` is disabled, this becomes the sole update.
|
|
1563
|
+
const handleResize = () => refresh(ancestorResize);
|
|
1564
|
+
win.addEventListener('resize', handleResize);
|
|
1517
1565
|
refresh(true);
|
|
1518
|
-
return
|
|
1566
|
+
return () => {
|
|
1567
|
+
win.removeEventListener('resize', handleResize);
|
|
1568
|
+
cleanup();
|
|
1569
|
+
};
|
|
1519
1570
|
}
|
|
1520
1571
|
|
|
1521
1572
|
/**
|
|
@@ -1538,20 +1589,18 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1538
1589
|
animationFrame = false
|
|
1539
1590
|
} = options;
|
|
1540
1591
|
const referenceEl = unwrapElement(reference);
|
|
1541
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1592
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
|
|
1542
1593
|
ancestors.forEach(ancestor => {
|
|
1543
|
-
ancestorScroll && ancestor.addEventListener('scroll', update
|
|
1544
|
-
passive: true
|
|
1545
|
-
});
|
|
1594
|
+
ancestorScroll && ancestor.addEventListener('scroll', update);
|
|
1546
1595
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1547
1596
|
});
|
|
1548
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1597
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;
|
|
1549
1598
|
let reobserveFrame = -1;
|
|
1550
1599
|
let resizeObserver = null;
|
|
1551
1600
|
if (elementResize) {
|
|
1552
1601
|
resizeObserver = new ResizeObserver(_ref => {
|
|
1553
1602
|
let [firstEntry] = _ref;
|
|
1554
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1603
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
1555
1604
|
// Prevent update loops when using the `size` middleware.
|
|
1556
1605
|
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1557
1606
|
resizeObserver.unobserve(floating);
|
|
@@ -1566,7 +1615,9 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1566
1615
|
if (referenceEl && !animationFrame) {
|
|
1567
1616
|
resizeObserver.observe(referenceEl);
|
|
1568
1617
|
}
|
|
1569
|
-
|
|
1618
|
+
if (floating) {
|
|
1619
|
+
resizeObserver.observe(floating);
|
|
1620
|
+
}
|
|
1570
1621
|
}
|
|
1571
1622
|
let frameId;
|
|
1572
1623
|
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
@@ -1645,11 +1696,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
1645
1696
|
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1646
1697
|
// single call. If other functions become expensive, we can add them as well.
|
|
1647
1698
|
const cache = new Map();
|
|
1648
|
-
const mergedOptions = {
|
|
1649
|
-
platform,
|
|
1650
|
-
...options
|
|
1651
|
-
};
|
|
1699
|
+
const mergedOptions = options != null ? options : {};
|
|
1652
1700
|
const platformWithCache = {
|
|
1701
|
+
...platform,
|
|
1653
1702
|
...mergedOptions.platform,
|
|
1654
1703
|
_c: cache
|
|
1655
1704
|
};
|