@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
|
@@ -18,10 +18,6 @@ const oppositeSideMap = {
|
|
|
18
18
|
bottom: 'top',
|
|
19
19
|
top: 'bottom'
|
|
20
20
|
};
|
|
21
|
-
const oppositeAlignmentMap = {
|
|
22
|
-
start: 'end',
|
|
23
|
-
end: 'start'
|
|
24
|
-
};
|
|
25
21
|
function clamp(start, value, end) {
|
|
26
22
|
return max(start, min(value, end));
|
|
27
23
|
}
|
|
@@ -41,7 +37,8 @@ function getAxisLength(axis) {
|
|
|
41
37
|
return axis === 'y' ? 'height' : 'width';
|
|
42
38
|
}
|
|
43
39
|
function getSideAxis(placement) {
|
|
44
|
-
|
|
40
|
+
const firstChar = placement[0];
|
|
41
|
+
return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
|
|
45
42
|
}
|
|
46
43
|
function getAlignmentAxis(placement) {
|
|
47
44
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -64,21 +61,21 @@ function getExpandedPlacements(placement) {
|
|
|
64
61
|
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
65
62
|
}
|
|
66
63
|
function getOppositeAlignmentPlacement(placement) {
|
|
67
|
-
return placement.replace(
|
|
64
|
+
return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
|
|
68
65
|
}
|
|
66
|
+
const lrPlacement = ['left', 'right'];
|
|
67
|
+
const rlPlacement = ['right', 'left'];
|
|
68
|
+
const tbPlacement = ['top', 'bottom'];
|
|
69
|
+
const btPlacement = ['bottom', 'top'];
|
|
69
70
|
function getSideList(side, isStart, rtl) {
|
|
70
|
-
const lr = ['left', 'right'];
|
|
71
|
-
const rl = ['right', 'left'];
|
|
72
|
-
const tb = ['top', 'bottom'];
|
|
73
|
-
const bt = ['bottom', 'top'];
|
|
74
71
|
switch (side) {
|
|
75
72
|
case 'top':
|
|
76
73
|
case 'bottom':
|
|
77
|
-
if (rtl) return isStart ?
|
|
78
|
-
return isStart ?
|
|
74
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
75
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
79
76
|
case 'left':
|
|
80
77
|
case 'right':
|
|
81
|
-
return isStart ?
|
|
78
|
+
return isStart ? tbPlacement : btPlacement;
|
|
82
79
|
default:
|
|
83
80
|
return [];
|
|
84
81
|
}
|
|
@@ -95,15 +92,16 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
|
95
92
|
return list;
|
|
96
93
|
}
|
|
97
94
|
function getOppositePlacement(placement) {
|
|
98
|
-
|
|
95
|
+
const side = getSide(placement);
|
|
96
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
99
97
|
}
|
|
100
98
|
function expandPaddingObject(padding) {
|
|
99
|
+
var _padding$top, _padding$right, _padding$bottom, _padding$left;
|
|
101
100
|
return {
|
|
102
|
-
top: 0,
|
|
103
|
-
right: 0,
|
|
104
|
-
bottom: 0,
|
|
105
|
-
left: 0
|
|
106
|
-
...padding
|
|
101
|
+
top: (_padding$top = padding.top) != null ? _padding$top : 0,
|
|
102
|
+
right: (_padding$right = padding.right) != null ? _padding$right : 0,
|
|
103
|
+
bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
|
|
104
|
+
left: (_padding$left = padding.left) != null ? _padding$left : 0
|
|
107
105
|
};
|
|
108
106
|
}
|
|
109
107
|
function getPaddingObject(padding) {
|
|
@@ -178,17 +176,78 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
178
176
|
y: reference.y
|
|
179
177
|
};
|
|
180
178
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
break;
|
|
185
|
-
case 'end':
|
|
186
|
-
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
187
|
-
break;
|
|
179
|
+
const alignment = getAlignment(placement);
|
|
180
|
+
if (alignment) {
|
|
181
|
+
coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
|
|
188
182
|
}
|
|
189
183
|
return coords;
|
|
190
184
|
}
|
|
191
185
|
|
|
186
|
+
/**
|
|
187
|
+
* Resolves with an object of overflow side offsets that determine how much the
|
|
188
|
+
* element is overflowing a given clipping boundary on each side.
|
|
189
|
+
* - positive = overflowing the boundary by that number of pixels
|
|
190
|
+
* - negative = how many pixels left before it will overflow
|
|
191
|
+
* - 0 = lies flush with the boundary
|
|
192
|
+
* @see https://floating-ui.com/docs/detectOverflow
|
|
193
|
+
*/
|
|
194
|
+
async function detectOverflow(state, options) {
|
|
195
|
+
var _await$platform$isEle;
|
|
196
|
+
if (options === void 0) {
|
|
197
|
+
options = {};
|
|
198
|
+
}
|
|
199
|
+
const {
|
|
200
|
+
x,
|
|
201
|
+
y,
|
|
202
|
+
platform,
|
|
203
|
+
rects,
|
|
204
|
+
elements,
|
|
205
|
+
strategy
|
|
206
|
+
} = state;
|
|
207
|
+
const {
|
|
208
|
+
boundary = 'clippingAncestors',
|
|
209
|
+
rootBoundary = 'viewport',
|
|
210
|
+
elementContext = 'floating',
|
|
211
|
+
altBoundary = false,
|
|
212
|
+
padding = 0
|
|
213
|
+
} = evaluate(options, state);
|
|
214
|
+
const paddingObject = getPaddingObject(padding);
|
|
215
|
+
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
216
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
217
|
+
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
218
|
+
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))),
|
|
219
|
+
boundary,
|
|
220
|
+
rootBoundary,
|
|
221
|
+
strategy
|
|
222
|
+
}));
|
|
223
|
+
const rect = elementContext === 'floating' ? {
|
|
224
|
+
x,
|
|
225
|
+
y,
|
|
226
|
+
width: rects.floating.width,
|
|
227
|
+
height: rects.floating.height
|
|
228
|
+
} : rects.reference;
|
|
229
|
+
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
230
|
+
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
231
|
+
x: 1,
|
|
232
|
+
y: 1
|
|
233
|
+
};
|
|
234
|
+
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
235
|
+
elements,
|
|
236
|
+
rect,
|
|
237
|
+
offsetParent,
|
|
238
|
+
strategy
|
|
239
|
+
}) : rect);
|
|
240
|
+
return {
|
|
241
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
242
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
243
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
244
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Maximum number of resets that can occur before bailing to avoid infinite reset loops.
|
|
249
|
+
const MAX_RESET_COUNT = 50;
|
|
250
|
+
|
|
192
251
|
/**
|
|
193
252
|
* Computes the `x` and `y` coordinates that will place the floating element
|
|
194
253
|
* next to a given reference element.
|
|
@@ -203,7 +262,10 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
203
262
|
middleware = [],
|
|
204
263
|
platform
|
|
205
264
|
} = config;
|
|
206
|
-
const
|
|
265
|
+
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
266
|
+
...platform,
|
|
267
|
+
detectOverflow
|
|
268
|
+
};
|
|
207
269
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
208
270
|
let rects = await platform.getElementRects({
|
|
209
271
|
reference,
|
|
@@ -215,13 +277,17 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
215
277
|
y
|
|
216
278
|
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
217
279
|
let statefulPlacement = placement;
|
|
218
|
-
let middlewareData = {};
|
|
219
280
|
let resetCount = 0;
|
|
220
|
-
|
|
281
|
+
const middlewareData = {};
|
|
282
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
283
|
+
const currentMiddleware = middleware[i];
|
|
284
|
+
if (!currentMiddleware) {
|
|
285
|
+
continue;
|
|
286
|
+
}
|
|
221
287
|
const {
|
|
222
288
|
name,
|
|
223
289
|
fn
|
|
224
|
-
} =
|
|
290
|
+
} = currentMiddleware;
|
|
225
291
|
const {
|
|
226
292
|
x: nextX,
|
|
227
293
|
y: nextY,
|
|
@@ -235,7 +301,7 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
235
301
|
strategy,
|
|
236
302
|
middlewareData,
|
|
237
303
|
rects,
|
|
238
|
-
platform,
|
|
304
|
+
platform: platformWithDetectOverflow,
|
|
239
305
|
elements: {
|
|
240
306
|
reference,
|
|
241
307
|
floating
|
|
@@ -243,14 +309,11 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
243
309
|
});
|
|
244
310
|
x = nextX != null ? nextX : x;
|
|
245
311
|
y = nextY != null ? nextY : y;
|
|
246
|
-
middlewareData = {
|
|
247
|
-
...middlewareData,
|
|
248
|
-
|
|
249
|
-
...middlewareData[name],
|
|
250
|
-
...data
|
|
251
|
-
}
|
|
312
|
+
middlewareData[name] = {
|
|
313
|
+
...middlewareData[name],
|
|
314
|
+
...data
|
|
252
315
|
};
|
|
253
|
-
if (reset && resetCount
|
|
316
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
254
317
|
resetCount++;
|
|
255
318
|
if (typeof reset === 'object') {
|
|
256
319
|
if (reset.placement) {
|
|
@@ -280,71 +343,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
280
343
|
};
|
|
281
344
|
};
|
|
282
345
|
|
|
283
|
-
/**
|
|
284
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
285
|
-
* element is overflowing a given clipping boundary on each side.
|
|
286
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
287
|
-
* - negative = how many pixels left before it will overflow
|
|
288
|
-
* - 0 = lies flush with the boundary
|
|
289
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
290
|
-
*/
|
|
291
|
-
async function detectOverflow(state, options) {
|
|
292
|
-
var _await$platform$isEle;
|
|
293
|
-
if (options === void 0) {
|
|
294
|
-
options = {};
|
|
295
|
-
}
|
|
296
|
-
const {
|
|
297
|
-
x,
|
|
298
|
-
y,
|
|
299
|
-
platform,
|
|
300
|
-
rects,
|
|
301
|
-
elements,
|
|
302
|
-
strategy
|
|
303
|
-
} = state;
|
|
304
|
-
const {
|
|
305
|
-
boundary = 'clippingAncestors',
|
|
306
|
-
rootBoundary = 'viewport',
|
|
307
|
-
elementContext = 'floating',
|
|
308
|
-
altBoundary = false,
|
|
309
|
-
padding = 0
|
|
310
|
-
} = evaluate(options, state);
|
|
311
|
-
const paddingObject = getPaddingObject(padding);
|
|
312
|
-
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
313
|
-
const element = elements[altBoundary ? altContext : elementContext];
|
|
314
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
315
|
-
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))),
|
|
316
|
-
boundary,
|
|
317
|
-
rootBoundary,
|
|
318
|
-
strategy
|
|
319
|
-
}));
|
|
320
|
-
const rect = elementContext === 'floating' ? {
|
|
321
|
-
x,
|
|
322
|
-
y,
|
|
323
|
-
width: rects.floating.width,
|
|
324
|
-
height: rects.floating.height
|
|
325
|
-
} : rects.reference;
|
|
326
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
327
|
-
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
|
328
|
-
x: 1,
|
|
329
|
-
y: 1
|
|
330
|
-
} : {
|
|
331
|
-
x: 1,
|
|
332
|
-
y: 1
|
|
333
|
-
};
|
|
334
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
335
|
-
elements,
|
|
336
|
-
rect,
|
|
337
|
-
offsetParent,
|
|
338
|
-
strategy
|
|
339
|
-
}) : rect);
|
|
340
|
-
return {
|
|
341
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
342
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
343
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
344
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
|
|
348
346
|
/**
|
|
349
347
|
* Provides data to position an inner element of the floating element so that it
|
|
350
348
|
* appears centered to the reference element.
|
|
@@ -402,17 +400,16 @@ const arrow$1 = options => ({
|
|
|
402
400
|
|
|
403
401
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
404
402
|
// point is outside the floating element's bounds.
|
|
405
|
-
const min$1 = minPadding;
|
|
406
403
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
407
404
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
408
|
-
const offset = clamp(
|
|
405
|
+
const offset = clamp(minPadding, center, max);
|
|
409
406
|
|
|
410
407
|
// If the reference is small enough that the arrow's padding causes it to
|
|
411
408
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
412
409
|
// floating element itself. To ensure `shift()` continues to take action,
|
|
413
410
|
// a single reset is performed when this is true.
|
|
414
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center <
|
|
415
|
-
const alignmentOffset = shouldAddOffset ? center <
|
|
411
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
412
|
+
const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
|
|
416
413
|
return {
|
|
417
414
|
[axis]: coords[axis] + alignmentOffset,
|
|
418
415
|
data: {
|
|
@@ -477,7 +474,7 @@ const flip$1 = function (options) {
|
|
|
477
474
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
478
475
|
}
|
|
479
476
|
const placements = [initialPlacement, ...fallbackPlacements];
|
|
480
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
477
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
481
478
|
const overflows = [];
|
|
482
479
|
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
483
480
|
if (checkMainAxis) {
|
|
@@ -498,16 +495,22 @@ const flip$1 = function (options) {
|
|
|
498
495
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
499
496
|
const nextPlacement = placements[nextIndex];
|
|
500
497
|
if (nextPlacement) {
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
498
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
499
|
+
if (!ignoreCrossAxisOverflow ||
|
|
500
|
+
// We leave the current main axis only if every placement on that axis
|
|
501
|
+
// overflows the main axis.
|
|
502
|
+
overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
503
|
+
// Try next placement and re-run the lifecycle.
|
|
504
|
+
return {
|
|
505
|
+
data: {
|
|
506
|
+
index: nextIndex,
|
|
507
|
+
overflows: overflowsData
|
|
508
|
+
},
|
|
509
|
+
reset: {
|
|
510
|
+
placement: nextPlacement
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
}
|
|
511
514
|
}
|
|
512
515
|
|
|
513
516
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -553,6 +556,8 @@ const flip$1 = function (options) {
|
|
|
553
556
|
};
|
|
554
557
|
};
|
|
555
558
|
|
|
559
|
+
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
560
|
+
|
|
556
561
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
557
562
|
// Derivable.
|
|
558
563
|
|
|
@@ -566,7 +571,7 @@ async function convertValueToCoords(state, options) {
|
|
|
566
571
|
const side = getSide(placement);
|
|
567
572
|
const alignment = getAlignment(placement);
|
|
568
573
|
const isVertical = getSideAxis(placement) === 'y';
|
|
569
|
-
const mainAxisMulti =
|
|
574
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
570
575
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
571
576
|
const rawValue = evaluate(options, state);
|
|
572
577
|
|
|
@@ -653,7 +658,8 @@ const shift$1 = function (options) {
|
|
|
653
658
|
const {
|
|
654
659
|
x,
|
|
655
660
|
y,
|
|
656
|
-
placement
|
|
661
|
+
placement,
|
|
662
|
+
platform
|
|
657
663
|
} = state;
|
|
658
664
|
const {
|
|
659
665
|
mainAxis: checkMainAxis = true,
|
|
@@ -676,24 +682,17 @@ const shift$1 = function (options) {
|
|
|
676
682
|
x,
|
|
677
683
|
y
|
|
678
684
|
};
|
|
679
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
680
|
-
const crossAxis = getSideAxis(
|
|
685
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
686
|
+
const crossAxis = getSideAxis(placement);
|
|
681
687
|
const mainAxis = getOppositeAxis(crossAxis);
|
|
682
688
|
let mainAxisCoord = coords[mainAxis];
|
|
683
689
|
let crossAxisCoord = coords[crossAxis];
|
|
690
|
+
const clampCoord = (axis, coord) => clamp(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
|
|
684
691
|
if (checkMainAxis) {
|
|
685
|
-
|
|
686
|
-
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
687
|
-
const min = mainAxisCoord + overflow[minSide];
|
|
688
|
-
const max = mainAxisCoord - overflow[maxSide];
|
|
689
|
-
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
692
|
+
mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
|
|
690
693
|
}
|
|
691
694
|
if (checkCrossAxis) {
|
|
692
|
-
|
|
693
|
-
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
694
|
-
const min = crossAxisCoord + overflow[minSide];
|
|
695
|
-
const max = crossAxisCoord - overflow[maxSide];
|
|
696
|
-
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
695
|
+
crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
|
|
697
696
|
}
|
|
698
697
|
const limitedCoords = limiter.fn({
|
|
699
698
|
...state,
|
|
@@ -715,6 +714,12 @@ const shift$1 = function (options) {
|
|
|
715
714
|
};
|
|
716
715
|
};
|
|
717
716
|
|
|
717
|
+
// Method syntax keeps callback parameters bivariant, but expressing the
|
|
718
|
+
// explicit `| undefined` required by `exactOptionalPropertyTypes` needs
|
|
719
|
+
// property syntax, which is contravariant under `strictFunctionTypes`.
|
|
720
|
+
// Extracting the function from a method position restores that bivariance so
|
|
721
|
+
// consumers can still assign callbacks with narrower parameter types.
|
|
722
|
+
|
|
718
723
|
/**
|
|
719
724
|
* Provides data that allows you to change the size of the floating element —
|
|
720
725
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
@@ -729,7 +734,6 @@ const size$1 = function (options) {
|
|
|
729
734
|
name: 'size',
|
|
730
735
|
options,
|
|
731
736
|
async fn(state) {
|
|
732
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
733
737
|
const {
|
|
734
738
|
placement,
|
|
735
739
|
rects,
|
|
@@ -740,7 +744,7 @@ const size$1 = function (options) {
|
|
|
740
744
|
apply = () => {},
|
|
741
745
|
...detectOverflowOptions
|
|
742
746
|
} = evaluate(options, state);
|
|
743
|
-
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
747
|
+
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
744
748
|
const side = getSide(placement);
|
|
745
749
|
const alignment = getAlignment(placement);
|
|
746
750
|
const isYAxis = getSideAxis(placement) === 'y';
|
|
@@ -761,24 +765,21 @@ const size$1 = function (options) {
|
|
|
761
765
|
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
762
766
|
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
763
767
|
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
764
|
-
const
|
|
768
|
+
const shiftData = state.middlewareData.shift;
|
|
769
|
+
const noShift = !shiftData;
|
|
765
770
|
let availableHeight = overflowAvailableHeight;
|
|
766
771
|
let availableWidth = overflowAvailableWidth;
|
|
767
|
-
if (
|
|
772
|
+
if (shiftData != null && shiftData.enabled.x) {
|
|
768
773
|
availableWidth = maximumClippingWidth;
|
|
769
774
|
}
|
|
770
|
-
if (
|
|
775
|
+
if (shiftData != null && shiftData.enabled.y) {
|
|
771
776
|
availableHeight = maximumClippingHeight;
|
|
772
777
|
}
|
|
773
778
|
if (noShift && !alignment) {
|
|
774
|
-
const xMin = max(overflow.left, 0);
|
|
775
|
-
const xMax = max(overflow.right, 0);
|
|
776
|
-
const yMin = max(overflow.top, 0);
|
|
777
|
-
const yMax = max(overflow.bottom, 0);
|
|
778
779
|
if (isYAxis) {
|
|
779
|
-
availableWidth = width - 2 *
|
|
780
|
+
availableWidth = width - 2 * max(overflow.left, overflow.right);
|
|
780
781
|
} else {
|
|
781
|
-
availableHeight = height - 2 *
|
|
782
|
+
availableHeight = height - 2 * max(overflow.top, overflow.bottom);
|
|
782
783
|
}
|
|
783
784
|
}
|
|
784
785
|
await apply({
|
|
@@ -849,28 +850,36 @@ function isOverflowElement(element) {
|
|
|
849
850
|
overflowX,
|
|
850
851
|
overflowY,
|
|
851
852
|
display
|
|
852
|
-
} = getComputedStyle(element);
|
|
853
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) &&
|
|
853
|
+
} = getComputedStyle$1(element);
|
|
854
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
|
|
854
855
|
}
|
|
855
856
|
function isTableElement(element) {
|
|
856
|
-
return
|
|
857
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
857
858
|
}
|
|
858
859
|
function isTopLayer(element) {
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
return
|
|
862
|
-
} catch (e) {
|
|
863
|
-
return false;
|
|
860
|
+
try {
|
|
861
|
+
if (element.matches(':popover-open')) {
|
|
862
|
+
return true;
|
|
864
863
|
}
|
|
865
|
-
})
|
|
864
|
+
} catch (_e) {
|
|
865
|
+
// no-op
|
|
866
|
+
}
|
|
867
|
+
try {
|
|
868
|
+
return element.matches(':modal');
|
|
869
|
+
} catch (_e) {
|
|
870
|
+
return false;
|
|
871
|
+
}
|
|
866
872
|
}
|
|
873
|
+
const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
874
|
+
const containRe = /paint|layout|strict|content/;
|
|
875
|
+
const isNotNone = value => !!value && value !== 'none';
|
|
876
|
+
let isWebKitValue;
|
|
867
877
|
function isContainingBlock(elementOrCss) {
|
|
868
|
-
const
|
|
869
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
878
|
+
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
870
879
|
|
|
871
880
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
872
881
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
873
|
-
return
|
|
882
|
+
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 || '');
|
|
874
883
|
}
|
|
875
884
|
function getContainingBlock(element) {
|
|
876
885
|
let currentNode = getParentNode(element);
|
|
@@ -885,13 +894,15 @@ function getContainingBlock(element) {
|
|
|
885
894
|
return null;
|
|
886
895
|
}
|
|
887
896
|
function isWebKit() {
|
|
888
|
-
if (
|
|
889
|
-
|
|
897
|
+
if (isWebKitValue == null) {
|
|
898
|
+
isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
|
|
899
|
+
}
|
|
900
|
+
return isWebKitValue;
|
|
890
901
|
}
|
|
891
902
|
function isLastTraversableNode(node) {
|
|
892
|
-
return
|
|
903
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
893
904
|
}
|
|
894
|
-
function getComputedStyle(element) {
|
|
905
|
+
function getComputedStyle$1(element) {
|
|
895
906
|
return getWindow(element).getComputedStyle(element);
|
|
896
907
|
}
|
|
897
908
|
function getNodeScroll(element) {
|
|
@@ -924,7 +935,7 @@ function getParentNode(node) {
|
|
|
924
935
|
function getNearestOverflowAncestor(node) {
|
|
925
936
|
const parentNode = getParentNode(node);
|
|
926
937
|
if (isLastTraversableNode(parentNode)) {
|
|
927
|
-
return node.ownerDocument
|
|
938
|
+
return (node.ownerDocument || node).body;
|
|
928
939
|
}
|
|
929
940
|
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
930
941
|
return parentNode;
|
|
@@ -945,15 +956,16 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
|
945
956
|
if (isBody) {
|
|
946
957
|
const frameElement = getFrameElement(win);
|
|
947
958
|
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
959
|
+
} else {
|
|
960
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
948
961
|
}
|
|
949
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
950
962
|
}
|
|
951
963
|
function getFrameElement(win) {
|
|
952
964
|
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
953
965
|
}
|
|
954
966
|
|
|
955
967
|
function getCssDimensions(element) {
|
|
956
|
-
const css = getComputedStyle(element);
|
|
968
|
+
const css = getComputedStyle$1(element);
|
|
957
969
|
// In testing environments, the `width` and `height` properties are empty
|
|
958
970
|
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
959
971
|
let width = parseFloat(css.width) || 0;
|
|
@@ -1020,10 +1032,7 @@ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
|
1020
1032
|
if (isFixed === void 0) {
|
|
1021
1033
|
isFixed = false;
|
|
1022
1034
|
}
|
|
1023
|
-
|
|
1024
|
-
return false;
|
|
1025
|
-
}
|
|
1026
|
-
return isFixed;
|
|
1035
|
+
return !!floatingOffsetParent && isFixed && floatingOffsetParent === getWindow(element);
|
|
1027
1036
|
}
|
|
1028
1037
|
|
|
1029
1038
|
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
@@ -1050,15 +1059,15 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
|
1050
1059
|
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
1051
1060
|
let width = clientRect.width / scale.x;
|
|
1052
1061
|
let height = clientRect.height / scale.y;
|
|
1053
|
-
if (domElement) {
|
|
1062
|
+
if (domElement && offsetParent) {
|
|
1054
1063
|
const win = getWindow(domElement);
|
|
1055
|
-
const offsetWin =
|
|
1064
|
+
const offsetWin = isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
1056
1065
|
let currentWin = win;
|
|
1057
1066
|
let currentIFrame = getFrameElement(currentWin);
|
|
1058
|
-
while (currentIFrame &&
|
|
1067
|
+
while (currentIFrame && offsetWin !== currentWin) {
|
|
1059
1068
|
const iframeScale = getScale(currentIFrame);
|
|
1060
1069
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
1061
|
-
const css = getComputedStyle(currentIFrame);
|
|
1070
|
+
const css = getComputedStyle$1(currentIFrame);
|
|
1062
1071
|
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
1063
1072
|
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
1064
1073
|
x *= iframeScale.x;
|
|
@@ -1089,14 +1098,9 @@ function getWindowScrollBarX(element, rect) {
|
|
|
1089
1098
|
return rect.left + leftScroll;
|
|
1090
1099
|
}
|
|
1091
1100
|
|
|
1092
|
-
function getHTMLOffset(documentElement, scroll
|
|
1093
|
-
if (ignoreScrollbarX === void 0) {
|
|
1094
|
-
ignoreScrollbarX = false;
|
|
1095
|
-
}
|
|
1101
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
1096
1102
|
const htmlRect = documentElement.getBoundingClientRect();
|
|
1097
|
-
const x = htmlRect.left + scroll.scrollLeft - (
|
|
1098
|
-
// RTL <body> scrollbar.
|
|
1099
|
-
getWindowScrollBarX(documentElement, htmlRect));
|
|
1103
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1100
1104
|
const y = htmlRect.top + scroll.scrollTop;
|
|
1101
1105
|
return {
|
|
1102
1106
|
x,
|
|
@@ -1124,18 +1128,18 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1124
1128
|
let scale = createCoords(1);
|
|
1125
1129
|
const offsets = createCoords(0);
|
|
1126
1130
|
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1127
|
-
if (isOffsetParentAnElement || !
|
|
1131
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
1128
1132
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1129
1133
|
scroll = getNodeScroll(offsetParent);
|
|
1130
1134
|
}
|
|
1131
|
-
if (
|
|
1135
|
+
if (isOffsetParentAnElement) {
|
|
1132
1136
|
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1133
1137
|
scale = getScale(offsetParent);
|
|
1134
1138
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1135
1139
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1136
1140
|
}
|
|
1137
1141
|
}
|
|
1138
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll
|
|
1142
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1139
1143
|
return {
|
|
1140
1144
|
width: rect.width * scale.x,
|
|
1141
1145
|
height: rect.height * scale.y,
|
|
@@ -1145,20 +1149,19 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
|
1145
1149
|
}
|
|
1146
1150
|
|
|
1147
1151
|
function getClientRects(element) {
|
|
1148
|
-
return Array.from(element.getClientRects());
|
|
1152
|
+
return element.getClientRects ? Array.from(element.getClientRects()) : [];
|
|
1149
1153
|
}
|
|
1150
1154
|
|
|
1151
1155
|
// Gets the entire size of the scrollable document area, even extending outside
|
|
1152
1156
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
1153
|
-
function getDocumentRect(
|
|
1154
|
-
const
|
|
1155
|
-
const
|
|
1156
|
-
const body = element.ownerDocument.body;
|
|
1157
|
+
function getDocumentRect(html) {
|
|
1158
|
+
const scroll = getNodeScroll(html);
|
|
1159
|
+
const body = html.ownerDocument.body;
|
|
1157
1160
|
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1158
1161
|
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1159
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(
|
|
1162
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(html);
|
|
1160
1163
|
const y = -scroll.scrollTop;
|
|
1161
|
-
if (getComputedStyle(body).direction === 'rtl') {
|
|
1164
|
+
if (getComputedStyle$1(body).direction === 'rtl') {
|
|
1162
1165
|
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1163
1166
|
}
|
|
1164
1167
|
return {
|
|
@@ -1169,7 +1172,15 @@ function getDocumentRect(element) {
|
|
|
1169
1172
|
};
|
|
1170
1173
|
}
|
|
1171
1174
|
|
|
1172
|
-
|
|
1175
|
+
// Safety check: ensure the scrollbar space is reasonable in case this
|
|
1176
|
+
// calculation is affected by unusual styles.
|
|
1177
|
+
// Most scrollbars leave 15-18px of space.
|
|
1178
|
+
const SCROLLBAR_MAX = 25;
|
|
1179
|
+
function getViewportRect(element, strategy, rootBoundary) {
|
|
1180
|
+
if (rootBoundary === void 0) {
|
|
1181
|
+
rootBoundary = 'viewport';
|
|
1182
|
+
}
|
|
1183
|
+
const isLayoutViewport = rootBoundary === 'layoutViewport';
|
|
1173
1184
|
const win = getWindow(element);
|
|
1174
1185
|
const html = getDocumentElement(element);
|
|
1175
1186
|
const visualViewport = win.visualViewport;
|
|
@@ -1178,12 +1189,41 @@ function getViewportRect(element, strategy) {
|
|
|
1178
1189
|
let x = 0;
|
|
1179
1190
|
let y = 0;
|
|
1180
1191
|
if (visualViewport) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1192
|
+
// Client coordinates are relative to the layout viewport, except in
|
|
1193
|
+
// WebKit with an `absolute` strategy, where they are relative to the
|
|
1194
|
+
// visual viewport.
|
|
1195
|
+
const layoutRelativeClientCoords = !isWebKit() || strategy === 'fixed';
|
|
1196
|
+
if (isLayoutViewport) {
|
|
1197
|
+
if (!layoutRelativeClientCoords) {
|
|
1198
|
+
x = -visualViewport.offsetLeft;
|
|
1199
|
+
y = -visualViewport.offsetTop;
|
|
1200
|
+
}
|
|
1201
|
+
} else {
|
|
1202
|
+
width = visualViewport.width;
|
|
1203
|
+
height = visualViewport.height;
|
|
1204
|
+
if (layoutRelativeClientCoords) {
|
|
1205
|
+
x = visualViewport.offsetLeft;
|
|
1206
|
+
y = visualViewport.offsetTop;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1211
|
+
// `scrollbar-gutter: stable` on the <html> reserves gutter space that shrinks
|
|
1212
|
+
// the visual width but isn't reflected in `html.clientWidth`, so subtract it.
|
|
1213
|
+
// Only the inline-end (right) gutter can hold the scrollbar; `both-edges` also
|
|
1214
|
+
// reserves an empty inline-start gutter that clips nothing, so exclude just
|
|
1215
|
+
// the one scrollbar-side gutter — halve the measured (two-gutter) total. A
|
|
1216
|
+
// left-side scrollbar (`windowScrollbarX > 0`) is already handled by
|
|
1217
|
+
// `getHTMLOffset`/`visualViewport.width`; skip it here.
|
|
1218
|
+
if (windowScrollbarX <= 0) {
|
|
1219
|
+
const doc = html.ownerDocument;
|
|
1220
|
+
const body = doc.body;
|
|
1221
|
+
const bodyStyles = getComputedStyle(body);
|
|
1222
|
+
const bodyMarginInline = doc.compatMode === 'CSS1Compat' ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1223
|
+
const reservedWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1224
|
+
const gutter = getComputedStyle(html).scrollbarGutter === 'stable both-edges' ? reservedWidth / 2 : reservedWidth;
|
|
1225
|
+
if (gutter <= SCROLLBAR_MAX) {
|
|
1226
|
+
width -= gutter;
|
|
1187
1227
|
}
|
|
1188
1228
|
}
|
|
1189
1229
|
return {
|
|
@@ -1199,7 +1239,7 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1199
1239
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
1200
1240
|
const top = clientRect.top + element.clientTop;
|
|
1201
1241
|
const left = clientRect.left + element.clientLeft;
|
|
1202
|
-
const scale =
|
|
1242
|
+
const scale = getScale(element);
|
|
1203
1243
|
const width = element.clientWidth * scale.x;
|
|
1204
1244
|
const height = element.clientHeight * scale.y;
|
|
1205
1245
|
const x = left * scale.x;
|
|
@@ -1213,8 +1253,8 @@ function getInnerBoundingClientRect(element, strategy) {
|
|
|
1213
1253
|
}
|
|
1214
1254
|
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1215
1255
|
let rect;
|
|
1216
|
-
if (clippingAncestor === 'viewport') {
|
|
1217
|
-
rect = getViewportRect(element, strategy);
|
|
1256
|
+
if (clippingAncestor === 'viewport' || clippingAncestor === 'layoutViewport') {
|
|
1257
|
+
rect = getViewportRect(element, strategy, clippingAncestor);
|
|
1218
1258
|
} else if (clippingAncestor === 'document') {
|
|
1219
1259
|
rect = getDocumentRect(getDocumentElement(element));
|
|
1220
1260
|
} else if (isElement(clippingAncestor)) {
|
|
@@ -1230,13 +1270,6 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
|
|
|
1230
1270
|
}
|
|
1231
1271
|
return rectToClientRect(rect);
|
|
1232
1272
|
}
|
|
1233
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
1234
|
-
const parentNode = getParentNode(element);
|
|
1235
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1236
|
-
return false;
|
|
1237
|
-
}
|
|
1238
|
-
return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1239
|
-
}
|
|
1240
1273
|
|
|
1241
1274
|
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
1242
1275
|
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
@@ -1247,24 +1280,28 @@ function getClippingElementAncestors(element, cache) {
|
|
|
1247
1280
|
return cachedResult;
|
|
1248
1281
|
}
|
|
1249
1282
|
let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
|
|
1250
|
-
let
|
|
1251
|
-
const elementIsFixed = getComputedStyle(element).position === 'fixed';
|
|
1283
|
+
let lastKeptComputedStyle = null;
|
|
1284
|
+
const elementIsFixed = getComputedStyle$1(element).position === 'fixed';
|
|
1252
1285
|
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1253
1286
|
|
|
1254
1287
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
1255
1288
|
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1256
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
1289
|
+
const computedStyle = getComputedStyle$1(currentNode);
|
|
1257
1290
|
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1291
|
+
// Position of the containing block chain below the current node. A fixed
|
|
1292
|
+
// element whose containing block hasn't been found yet is a fixed chain.
|
|
1293
|
+
const lastPosition = lastKeptComputedStyle ? lastKeptComputedStyle.position : elementIsFixed ? 'fixed' : '';
|
|
1294
|
+
|
|
1295
|
+
// A non-containing ancestor does not clip the element when the chain
|
|
1296
|
+
// below it escapes it: a fixed chain escapes all ancestors up to the
|
|
1297
|
+
// next containing block, an absolute chain escapes static ancestors.
|
|
1298
|
+
const shouldDropCurrentNode = !currentNodeIsContaining && (lastPosition === 'fixed' || lastPosition === 'absolute' && computedStyle.position === 'static');
|
|
1262
1299
|
if (shouldDropCurrentNode) {
|
|
1263
1300
|
// Drop non-containing blocks.
|
|
1264
1301
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
1265
1302
|
} else {
|
|
1266
|
-
//
|
|
1267
|
-
|
|
1303
|
+
// The kept node carries the chain position for the next iteration.
|
|
1304
|
+
lastKeptComputedStyle = computedStyle;
|
|
1268
1305
|
}
|
|
1269
1306
|
currentNode = getParentNode(currentNode);
|
|
1270
1307
|
}
|
|
@@ -1283,20 +1320,23 @@ function getClippingRect(_ref) {
|
|
|
1283
1320
|
} = _ref;
|
|
1284
1321
|
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1285
1322
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1286
|
-
const
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1323
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1324
|
+
let top = firstRect.top;
|
|
1325
|
+
let right = firstRect.right;
|
|
1326
|
+
let bottom = firstRect.bottom;
|
|
1327
|
+
let left = firstRect.left;
|
|
1328
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
1329
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
1330
|
+
top = max(rect.top, top);
|
|
1331
|
+
right = min(rect.right, right);
|
|
1332
|
+
bottom = min(rect.bottom, bottom);
|
|
1333
|
+
left = max(rect.left, left);
|
|
1334
|
+
}
|
|
1295
1335
|
return {
|
|
1296
|
-
width:
|
|
1297
|
-
height:
|
|
1298
|
-
x:
|
|
1299
|
-
y:
|
|
1336
|
+
width: right - left,
|
|
1337
|
+
height: bottom - top,
|
|
1338
|
+
x: left,
|
|
1339
|
+
y: top
|
|
1300
1340
|
};
|
|
1301
1341
|
}
|
|
1302
1342
|
|
|
@@ -1321,7 +1361,7 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1321
1361
|
scrollTop: 0
|
|
1322
1362
|
};
|
|
1323
1363
|
const offsets = createCoords(0);
|
|
1324
|
-
if (isOffsetParentAnElement || !
|
|
1364
|
+
if (isOffsetParentAnElement || !isFixed) {
|
|
1325
1365
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
1326
1366
|
scroll = getNodeScroll(offsetParent);
|
|
1327
1367
|
}
|
|
@@ -1329,12 +1369,14 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1329
1369
|
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1330
1370
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1331
1371
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1332
|
-
} else if (documentElement) {
|
|
1333
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1334
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1335
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
1336
1372
|
}
|
|
1337
1373
|
}
|
|
1374
|
+
|
|
1375
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
1376
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
1377
|
+
if (!isOffsetParentAnElement && documentElement) {
|
|
1378
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1379
|
+
}
|
|
1338
1380
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1339
1381
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1340
1382
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -1347,11 +1389,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
1347
1389
|
}
|
|
1348
1390
|
|
|
1349
1391
|
function isStaticPositioned(element) {
|
|
1350
|
-
return getComputedStyle(element).position === 'static';
|
|
1392
|
+
return getComputedStyle$1(element).position === 'static';
|
|
1351
1393
|
}
|
|
1352
1394
|
|
|
1353
1395
|
function getTrueOffsetParent(element, polyfill) {
|
|
1354
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
|
1396
|
+
if (!isHTMLElement(element) || getComputedStyle$1(element).position === 'fixed') {
|
|
1355
1397
|
return null;
|
|
1356
1398
|
}
|
|
1357
1399
|
if (polyfill) {
|
|
@@ -1412,7 +1454,7 @@ const getElementRects = async function (data) {
|
|
|
1412
1454
|
};
|
|
1413
1455
|
|
|
1414
1456
|
function isRTL(element) {
|
|
1415
|
-
return getComputedStyle(element).direction === 'rtl';
|
|
1457
|
+
return getComputedStyle$1(element).direction === 'rtl';
|
|
1416
1458
|
}
|
|
1417
1459
|
|
|
1418
1460
|
const platform = {
|
|
@@ -1433,7 +1475,7 @@ function rectsAreEqual(a, b) {
|
|
|
1433
1475
|
}
|
|
1434
1476
|
|
|
1435
1477
|
// https://samthor.au/2021/observing-dom/
|
|
1436
|
-
function observeMove(element, onMove) {
|
|
1478
|
+
function observeMove(element, onMove, ancestorResize) {
|
|
1437
1479
|
let io = null;
|
|
1438
1480
|
let timeoutId;
|
|
1439
1481
|
const root = getDocumentElement(element);
|
|
@@ -1476,13 +1518,22 @@ function observeMove(element, onMove) {
|
|
|
1476
1518
|
let isFirstUpdate = true;
|
|
1477
1519
|
function handleObserve(entries) {
|
|
1478
1520
|
const ratio = entries[0].intersectionRatio;
|
|
1521
|
+
|
|
1522
|
+
// The entry is a snapshot, so the reference may have moved since the
|
|
1523
|
+
// intersection was computed (under performance constraints, or between
|
|
1524
|
+
// consecutive frames of a multi-frame layout shift). The reported ratio
|
|
1525
|
+
// and the observed area are stale in that case and cannot be trusted to
|
|
1526
|
+
// detect subsequent movement, so refresh regardless of the ratio.
|
|
1527
|
+
if (!rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1528
|
+
return refresh();
|
|
1529
|
+
}
|
|
1479
1530
|
if (ratio !== threshold) {
|
|
1480
1531
|
if (!isFirstUpdate) {
|
|
1481
1532
|
return refresh();
|
|
1482
1533
|
}
|
|
1483
1534
|
if (!ratio) {
|
|
1484
|
-
// If the reference is clipped, the ratio is 0. Throttle
|
|
1485
|
-
// to prevent an infinite loop of updates.
|
|
1535
|
+
// If the reference is clipped in place, the ratio is 0. Throttle
|
|
1536
|
+
// the refresh to prevent an infinite loop of updates.
|
|
1486
1537
|
timeoutId = setTimeout(() => {
|
|
1487
1538
|
refresh(false, 1e-7);
|
|
1488
1539
|
}, 1000);
|
|
@@ -1490,16 +1541,6 @@ function observeMove(element, onMove) {
|
|
|
1490
1541
|
refresh(false, ratio);
|
|
1491
1542
|
}
|
|
1492
1543
|
}
|
|
1493
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1494
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
1495
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
1496
|
-
// area anymore. This can happen under performance constraints. This may
|
|
1497
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
1498
|
-
// work around this, we compare the element's bounding rect now with
|
|
1499
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
1500
|
-
// are not equal then the element moved, so we refresh.
|
|
1501
|
-
refresh();
|
|
1502
|
-
}
|
|
1503
1544
|
isFirstUpdate = false;
|
|
1504
1545
|
}
|
|
1505
1546
|
|
|
@@ -1511,13 +1552,23 @@ function observeMove(element, onMove) {
|
|
|
1511
1552
|
// Handle <iframe>s
|
|
1512
1553
|
root: root.ownerDocument
|
|
1513
1554
|
});
|
|
1514
|
-
} catch (
|
|
1555
|
+
} catch (_e) {
|
|
1515
1556
|
io = new IntersectionObserver(handleObserve, options);
|
|
1516
1557
|
}
|
|
1517
1558
|
io.observe(element);
|
|
1518
1559
|
}
|
|
1560
|
+
const win = getWindow(element);
|
|
1561
|
+
// The window is a resize ancestor, so when `ancestorResize` is enabled its
|
|
1562
|
+
// listener already runs the update on resize. Here we only need to rebuild
|
|
1563
|
+
// the `IntersectionObserver` for the new root size, skipping a redundant
|
|
1564
|
+
// update. When `ancestorResize` is disabled, this becomes the sole update.
|
|
1565
|
+
const handleResize = () => refresh(ancestorResize);
|
|
1566
|
+
win.addEventListener('resize', handleResize);
|
|
1519
1567
|
refresh(true);
|
|
1520
|
-
return
|
|
1568
|
+
return () => {
|
|
1569
|
+
win.removeEventListener('resize', handleResize);
|
|
1570
|
+
cleanup();
|
|
1571
|
+
};
|
|
1521
1572
|
}
|
|
1522
1573
|
|
|
1523
1574
|
/**
|
|
@@ -1540,20 +1591,18 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1540
1591
|
animationFrame = false
|
|
1541
1592
|
} = options;
|
|
1542
1593
|
const referenceEl = unwrapElement(reference);
|
|
1543
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
|
|
1594
|
+
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
|
|
1544
1595
|
ancestors.forEach(ancestor => {
|
|
1545
|
-
ancestorScroll && ancestor.addEventListener('scroll', update
|
|
1546
|
-
passive: true
|
|
1547
|
-
});
|
|
1596
|
+
ancestorScroll && ancestor.addEventListener('scroll', update);
|
|
1548
1597
|
ancestorResize && ancestor.addEventListener('resize', update);
|
|
1549
1598
|
});
|
|
1550
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1599
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update, ancestorResize) : null;
|
|
1551
1600
|
let reobserveFrame = -1;
|
|
1552
1601
|
let resizeObserver = null;
|
|
1553
1602
|
if (elementResize) {
|
|
1554
1603
|
resizeObserver = new ResizeObserver(_ref => {
|
|
1555
1604
|
let [firstEntry] = _ref;
|
|
1556
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1605
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
1557
1606
|
// Prevent update loops when using the `size` middleware.
|
|
1558
1607
|
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
1559
1608
|
resizeObserver.unobserve(floating);
|
|
@@ -1568,7 +1617,9 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
1568
1617
|
if (referenceEl && !animationFrame) {
|
|
1569
1618
|
resizeObserver.observe(referenceEl);
|
|
1570
1619
|
}
|
|
1571
|
-
|
|
1620
|
+
if (floating) {
|
|
1621
|
+
resizeObserver.observe(floating);
|
|
1622
|
+
}
|
|
1572
1623
|
}
|
|
1573
1624
|
let frameId;
|
|
1574
1625
|
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
@@ -1647,11 +1698,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
1647
1698
|
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
1648
1699
|
// single call. If other functions become expensive, we can add them as well.
|
|
1649
1700
|
const cache = new Map();
|
|
1650
|
-
const mergedOptions = {
|
|
1651
|
-
platform,
|
|
1652
|
-
...options
|
|
1653
|
-
};
|
|
1701
|
+
const mergedOptions = options != null ? options : {};
|
|
1654
1702
|
const platformWithCache = {
|
|
1703
|
+
...platform,
|
|
1655
1704
|
...mergedOptions.platform,
|
|
1656
1705
|
_c: cache
|
|
1657
1706
|
};
|