@sankhyalabs/ezui 5.22.0-ms.13 → 5.22.0-ms.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/FormLayout-18853e70.js +27 -0
- package/dist/cjs/{constants-2714478b.js → constants-569271bc.js} +4 -0
- package/dist/cjs/ez-actions-button.cjs.entry.js +2 -2
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-alert.cjs.entry.js +1 -1
- package/dist/cjs/ez-application.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +50 -0
- package/dist/cjs/ez-badge.cjs.entry.js +1 -1
- package/dist/cjs/ez-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ez-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item_2.cjs.entry.js +4 -1218
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +19 -11
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +2 -2
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +4 -4
- package/dist/cjs/ez-combo-box.cjs.entry.js +9 -14
- package/dist/cjs/ez-date-input.cjs.entry.js +3 -2
- package/dist/cjs/ez-date-time-input.cjs.entry.js +3 -2
- package/dist/cjs/ez-dialog.cjs.entry.js +7 -4
- package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
- package/dist/cjs/{ez-dropdown_2.cjs.entry.js → ez-dropdown.cjs.entry.js} +2 -63
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-filter-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +19 -11
- package/dist/cjs/ez-form.cjs.entry.js +87 -6
- package/dist/cjs/ez-grid.cjs.entry.js +267 -46
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +12 -6
- package/dist/cjs/ez-list.cjs.entry.js +3 -3
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +8 -4
- package/dist/cjs/ez-modal.cjs.entry.js +6 -2
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-number-input.cjs.entry.js +3 -2
- package/dist/cjs/ez-popover-plus_3.cjs.entry.js +1 -1
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +6 -2
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-search-plus.cjs.entry.js +397 -0
- package/dist/cjs/ez-search-result-list.cjs.entry.js +97 -0
- package/dist/cjs/ez-search.cjs.entry.js +5 -4
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-skeleton.cjs.entry.js +149 -0
- package/dist/cjs/ez-split-button.cjs.entry.js +16 -7
- package/dist/cjs/ez-split-item.cjs.entry.js +2 -2
- package/dist/cjs/ez-split-panel.cjs.entry.js +1 -1
- package/dist/cjs/ez-tabselector.cjs.entry.js +1 -1
- package/dist/cjs/ez-text-area.cjs.entry.js +25 -4
- package/dist/cjs/ez-text-input.cjs.entry.js +84 -101
- package/dist/cjs/ez-time-input.cjs.entry.js +3 -2
- package/dist/cjs/ez-toast.cjs.entry.js +1 -1
- package/dist/cjs/ez-tooltip.cjs.entry.js +110 -30
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +1 -1
- package/dist/cjs/ez-view-stack.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +2 -2
- package/dist/cjs/filter-column.cjs.entry.js +15 -6
- package/dist/cjs/floating-ui.dom.esm-017acce4.js +1404 -0
- package/dist/cjs/{index-a7b0c73d.js → index-9e5554cb.js} +21 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{DataBinder-e92314c2.js → search-column-1d3c9fa5.js} +73 -13
- package/dist/collection/collection-manifest.json +13 -0
- package/dist/collection/components/ez-avatar/ez-avatar.css +139 -0
- package/dist/collection/components/ez-avatar/ez-avatar.js +143 -0
- package/dist/collection/components/ez-check/ez-check.css +9 -0
- package/dist/collection/components/ez-check/ez-check.js +34 -9
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +25 -14
- package/dist/collection/components/ez-date-input/ez-date-input.js +19 -1
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +19 -1
- package/dist/collection/components/ez-dialog/ez-dialog.css +24 -21
- package/dist/collection/components/ez-dialog/ez-dialog.js +5 -2
- package/dist/collection/components/ez-dropdown/ez-dropdown.js +1 -1
- package/dist/collection/components/ez-form/ez-form.js +124 -4
- package/dist/collection/components/ez-form-view/ez-form-view.css +8 -0
- package/dist/collection/components/ez-form-view/ez-form-view.js +21 -2
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +3 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +6 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +148 -20
- package/dist/collection/components/ez-grid/controller/ag-grid/DataSource.js +23 -4
- package/dist/collection/components/ez-grid/controller/ag-grid/GridEditionManager.js +34 -6
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/EzCellEditor.js +2 -0
- package/dist/collection/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.js +15 -0
- package/dist/collection/components/ez-grid/ez-grid.css +4 -0
- package/dist/collection/components/ez-grid/ez-grid.js +79 -11
- package/dist/collection/components/ez-grid/subcomponents/filter-column.js +14 -5
- package/dist/collection/components/ez-icon/ez-icon.js +28 -5
- package/dist/collection/components/ez-list/ez-list.js +2 -2
- package/dist/collection/components/ez-modal/ez-modal.js +5 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.css +1 -0
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +6 -2
- package/dist/collection/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.js +1 -0
- package/dist/collection/components/ez-number-input/ez-number-input.js +19 -1
- package/dist/collection/components/ez-popup/ez-popup.js +5 -1
- package/dist/collection/components/ez-search/ez-search.js +19 -1
- package/dist/collection/components/ez-search-plus/ez-search-plus.css +373 -0
- package/dist/collection/components/ez-search-plus/ez-search-plus.js +960 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.css +221 -0
- package/dist/collection/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.js +278 -0
- package/dist/collection/components/ez-skeleton/ez-skeleton.constants.js +25 -1
- package/dist/collection/components/ez-skeleton/ez-skeleton.css +122 -80
- package/dist/collection/components/ez-skeleton/ez-skeleton.js +210 -46
- package/dist/collection/components/ez-split-button/ez-split-button.css +1 -1
- package/dist/collection/components/ez-split-button/ez-split-button.js +87 -10
- package/dist/collection/components/ez-text-area/ez-text-area.js +47 -2
- package/dist/collection/components/ez-text-input/ez-text-input.css +27 -2
- package/dist/collection/components/ez-text-input/ez-text-input.js +124 -73
- package/dist/collection/components/ez-time-input/ez-time-input.js +19 -1
- package/dist/collection/components/ez-tooltip/ez-tooltip.css +54 -12
- package/dist/collection/components/ez-tooltip/ez-tooltip.js +240 -46
- package/dist/collection/utils/constants.js +2 -0
- package/dist/collection/utils/form/DataBinder.js +43 -14
- package/dist/collection/utils/form/interfaces/FormLayout.js +5 -0
- package/dist/collection/utils/form/interfaces/index.js +1 -1
- package/dist/collection/utils/form/test/DataBinder.test.js +14 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/collection/utils/search/types.js +7 -0
- package/dist/collection/utils/searchColumn/search-column.js +35 -0
- package/dist/custom-elements/index.d.ts +18 -0
- package/dist/custom-elements/index.js +1600 -302
- package/dist/esm/FormLayout-071d324c.js +27 -0
- package/dist/esm/constants-b036528f.js +7 -0
- package/dist/esm/ez-actions-button.entry.js +2 -2
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-alert.entry.js +1 -1
- package/dist/esm/ez-application.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +46 -0
- package/dist/esm/ez-badge.entry.js +1 -1
- package/dist/esm/ez-breadcrumb.entry.js +1 -1
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-card-item_2.entry.js +2 -1216
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +19 -11
- package/dist/esm/ez-chip.entry.js +1 -1
- package/dist/esm/ez-collapsible-box.entry.js +2 -2
- package/dist/esm/ez-combo-box-list_3.entry.js +3 -3
- package/dist/esm/ez-combo-box.entry.js +9 -14
- package/dist/esm/ez-date-input.entry.js +3 -2
- package/dist/esm/ez-date-time-input.entry.js +3 -2
- package/dist/esm/ez-dialog.entry.js +7 -4
- package/dist/esm/ez-double-list.entry.js +1 -1
- package/dist/esm/{ez-dropdown_2.entry.js → ez-dropdown.entry.js} +3 -63
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-filter-input.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +20 -12
- package/dist/esm/ez-form.entry.js +86 -5
- package/dist/esm/ez-grid.entry.js +263 -42
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +12 -6
- package/dist/esm/ez-list.entry.js +3 -3
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +8 -4
- package/dist/esm/ez-modal.entry.js +6 -2
- package/dist/esm/ez-multi-selection-list.entry.js +1 -1
- package/dist/esm/ez-number-input.entry.js +3 -2
- package/dist/esm/ez-popover-plus_3.entry.js +1 -1
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +6 -2
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +1 -1
- package/dist/esm/ez-search-plus.entry.js +393 -0
- package/dist/esm/ez-search-result-list.entry.js +93 -0
- package/dist/esm/ez-search.entry.js +5 -4
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-skeleton.entry.js +145 -0
- package/dist/esm/ez-split-button.entry.js +16 -7
- package/dist/esm/ez-split-item.entry.js +2 -2
- package/dist/esm/ez-split-panel.entry.js +1 -1
- package/dist/esm/ez-tabselector.entry.js +1 -1
- package/dist/esm/ez-text-area.entry.js +25 -4
- package/dist/esm/ez-text-input.entry.js +84 -101
- package/dist/esm/ez-time-input.entry.js +3 -2
- package/dist/esm/ez-toast.entry.js +1 -1
- package/dist/esm/ez-tooltip.entry.js +110 -30
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +1 -1
- package/dist/esm/ez-view-stack.entry.js +1 -1
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +15 -6
- package/dist/esm/floating-ui.dom.esm-5d3da819.js +1398 -0
- package/dist/esm/{index-baa5e267.js → index-5a720e56.js} +21 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{DataBinder-9c877244.js → search-column-35f4ad93.js} +69 -15
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-e75c7a23.entry.js → p-000159dc.entry.js} +1 -1
- package/dist/ezui/p-01b72d7e.entry.js +1 -0
- package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
- package/dist/ezui/{p-288631d1.entry.js → p-06f1b8e4.entry.js} +1 -1
- package/dist/ezui/{p-d47dabdf.entry.js → p-07594da0.entry.js} +1 -1
- package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
- package/dist/ezui/p-175154a0.js +1 -0
- package/dist/ezui/p-18e71523.entry.js +1 -0
- package/dist/ezui/p-1fefb37a.entry.js +1 -0
- package/dist/ezui/{p-7e677b7b.entry.js → p-2069c78a.entry.js} +1 -1
- package/dist/ezui/{p-f2ab6b58.entry.js → p-220b9944.entry.js} +1 -1
- package/dist/ezui/p-28987410.entry.js +1 -0
- package/dist/ezui/p-2d10bb18.entry.js +1 -0
- package/dist/ezui/{p-e06a9886.entry.js → p-2f351332.entry.js} +1 -1
- package/dist/ezui/p-30ffb9ed.js +1 -0
- package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
- package/dist/ezui/p-4a876b8b.entry.js +1 -0
- package/dist/ezui/p-4e66eaeb.entry.js +1 -0
- package/dist/ezui/p-5b85d3de.entry.js +1 -0
- package/dist/ezui/p-5eea9886.js +1 -0
- package/dist/ezui/p-682931aa.entry.js +309 -0
- package/dist/ezui/p-6b2cc9b8.entry.js +1 -0
- package/dist/ezui/p-6b3fddee.entry.js +1 -0
- package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
- package/dist/ezui/p-6ec40dec.entry.js +1 -0
- package/dist/ezui/{p-5ed81457.entry.js → p-6fc26622.entry.js} +1 -1
- package/dist/ezui/p-700c1320.entry.js +1 -0
- package/dist/ezui/{p-da1b4a38.entry.js → p-708b196e.entry.js} +1 -1
- package/dist/ezui/{p-555c9018.entry.js → p-7567ccdd.entry.js} +1 -1
- package/dist/ezui/{p-4b67138e.entry.js → p-769632d5.entry.js} +1 -1
- package/dist/ezui/p-7ec3f335.entry.js +1 -0
- package/dist/ezui/{p-1e7a8633.entry.js → p-81461d2f.entry.js} +1 -1
- package/dist/ezui/{p-8df1ca33.entry.js → p-82fa4b09.entry.js} +1 -1
- package/dist/ezui/{p-1bcfd88c.entry.js → p-87f5a060.entry.js} +1 -1
- package/dist/ezui/p-90c90351.entry.js +1 -0
- package/dist/ezui/p-90e91173.entry.js +1 -0
- package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
- package/dist/ezui/p-926a0bde.entry.js +1 -0
- package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
- package/dist/ezui/p-97d94ef3.entry.js +1 -0
- package/dist/ezui/{p-e6a9041d.entry.js → p-9e95bfeb.entry.js} +1 -1
- package/dist/ezui/p-a11827ca.entry.js +1 -0
- package/dist/ezui/p-b3b3c99a.entry.js +1 -0
- package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
- package/dist/ezui/{p-dc73e1fe.entry.js → p-c7035d65.entry.js} +1 -1
- package/dist/ezui/p-c8e6204f.entry.js +1 -0
- package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
- package/dist/ezui/p-d2290004.entry.js +1 -0
- package/dist/ezui/p-d4d6d5fe.entry.js +1 -0
- package/dist/ezui/p-da66838e.entry.js +1 -0
- package/dist/ezui/p-dd7d305a.entry.js +1 -0
- package/dist/ezui/p-ddb22a70.entry.js +1 -0
- package/dist/ezui/{p-788467fe.entry.js → p-ddd0bd61.entry.js} +1 -1
- package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
- package/dist/ezui/p-e07e4671.js +1 -0
- package/dist/ezui/p-e4ae4ddb.entry.js +1 -0
- package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
- package/dist/ezui/{p-d9dccec0.entry.js → p-e4ead194.entry.js} +1 -1
- package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
- package/dist/ezui/p-ea053063.entry.js +1 -0
- package/dist/ezui/p-ed48a632.entry.js +1 -0
- package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
- package/dist/types/components/ez-avatar/ez-avatar.d.ts +24 -0
- package/dist/types/components/ez-check/ez-check.d.ts +7 -2
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +4 -2
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +4 -0
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +4 -0
- package/dist/types/components/ez-dialog/ez-dialog.d.ts +1 -0
- package/dist/types/components/ez-dropdown/structure/DropdownItem.d.ts +4 -4
- package/dist/types/components/ez-form/ez-form.d.ts +23 -1
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +4 -0
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -0
- package/dist/types/components/ez-grid/controller/EzGridController.d.ts +9 -1
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +9 -3
- package/dist/types/components/ez-grid/controller/ag-grid/DataSource.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/GridEditionManager.d.ts +1 -0
- package/dist/types/components/ez-grid/controller/ag-grid/editor/templates/SearchPlus.tpl.d.ts +3 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +11 -0
- package/dist/types/components/ez-grid/subcomponents/filter-column.d.ts +1 -0
- package/dist/types/components/ez-icon/ez-icon.d.ts +5 -0
- package/dist/types/components/ez-modal/ez-modal.d.ts +2 -0
- package/dist/types/components/ez-modal-container/ez-modal-container.d.ts +2 -0
- package/dist/types/components/ez-multi-selection-list/interfaces/IMultiSelectionListDataSource.d.ts +2 -1
- package/dist/types/components/ez-multi-selection-list/interfaces/IStaticOptionsFetchConfig.d.ts +3 -0
- package/dist/types/components/ez-number-input/ez-number-input.d.ts +4 -0
- package/dist/types/components/ez-popup/ez-popup.d.ts +2 -0
- package/dist/types/components/ez-search/ez-search.d.ts +4 -0
- package/dist/types/components/ez-search-plus/ez-search-plus.d.ts +186 -0
- package/dist/types/components/ez-search-plus/subcomponent/ez-search-result-list/ez-search-result-list.d.ts +26 -0
- package/dist/types/components/ez-skeleton/ez-skeleton.constants.d.ts +55 -1
- package/dist/types/components/ez-skeleton/ez-skeleton.d.ts +50 -22
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +14 -2
- package/dist/types/components/ez-text-area/ez-text-area.d.ts +8 -0
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +21 -9
- package/dist/types/components/ez-time-input/ez-time-input.d.ts +4 -0
- package/dist/types/components/ez-tooltip/ez-tooltip.d.ts +41 -5
- package/dist/types/components.d.ts +584 -20
- package/dist/types/utils/constants.d.ts +2 -0
- package/dist/types/utils/form/DataBinder.d.ts +4 -2
- package/dist/types/utils/form/interfaces/FormLayout.d.ts +4 -0
- package/dist/types/utils/form/interfaces/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/dist/types/utils/search/types.d.ts +12 -0
- package/dist/types/utils/searchColumn/search-column.d.ts +9 -0
- package/package.json +6 -5
- package/react/components.d.ts +63 -60
- package/react/components.js +3 -0
- package/react/components.js.map +1 -1
- package/react/react-component-lib/createComponent.d.ts +1 -1
- package/react/react-component-lib/createComponent.js.map +1 -1
- package/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/react/react-component-lib/interfaces.js +1 -0
- package/react/react-component-lib/utils/attachProps.d.ts +1 -1
- package/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/react/react-component-lib/utils/dev.js.map +1 -1
- package/react/react-component-lib/utils/index.d.ts +2 -2
- package/react/react-component-lib/utils/index.js.map +1 -1
- package/dist/cjs/ICustomRender-6fafffce.js +0 -13
- package/dist/collection/utils/ResponsiveInputUtils.js +0 -26
- package/dist/esm/ICustomRender-875b5a40.js +0 -13
- package/dist/esm/constants-4e0d35b7.js +0 -5
- package/dist/ezui/p-05e1f4e7.js +0 -1
- package/dist/ezui/p-0fa52b0f.entry.js +0 -1
- package/dist/ezui/p-17de16e5.entry.js +0 -1
- package/dist/ezui/p-17eabf46.entry.js +0 -1
- package/dist/ezui/p-1e6e99fc.entry.js +0 -1
- package/dist/ezui/p-20cb13fa.entry.js +0 -1
- package/dist/ezui/p-2f45506d.entry.js +0 -1
- package/dist/ezui/p-31b71e50.entry.js +0 -1
- package/dist/ezui/p-4607fb89.js +0 -1
- package/dist/ezui/p-56fe5341.entry.js +0 -1
- package/dist/ezui/p-6cdd3e0a.entry.js +0 -1
- package/dist/ezui/p-7d9d01c8.entry.js +0 -309
- package/dist/ezui/p-7fdd479f.entry.js +0 -1
- package/dist/ezui/p-a4cee65d.entry.js +0 -1
- package/dist/ezui/p-acddfb2e.js +0 -1
- package/dist/ezui/p-bc2f844e.entry.js +0 -1
- package/dist/ezui/p-c1527804.entry.js +0 -1
- package/dist/ezui/p-c297aa52.entry.js +0 -1
- package/dist/ezui/p-cb1535f7.entry.js +0 -1
- package/dist/ezui/p-cd07f8be.entry.js +0 -1
- package/dist/ezui/p-cf87aacb.entry.js +0 -1
- package/dist/ezui/p-e0261d23.entry.js +0 -1
- package/dist/ezui/p-e3544d23.entry.js +0 -1
- package/dist/ezui/p-ea54d056.entry.js +0 -1
- package/dist/ezui/p-ef5ec8d2.entry.js +0 -1
- package/dist/ezui/p-f5931caa.entry.js +0 -1
- package/dist/ezui/p-fbbdc57f.entry.js +0 -1
- package/dist/ezui/p-fd0a19d6.entry.js +0 -1
- package/dist/types/utils/ResponsiveInputUtils.d.ts +0 -6
|
@@ -1,43 +1,19 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
2
|
import { MaskFormatter, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
* Aplica comportamento de elipses a um input caso o texto ultrapasse o tamanho disponível.
|
|
6
|
-
*
|
|
7
|
-
* @param inputElement A referência ao elemento input (HTMLInputElement).
|
|
8
|
-
*/
|
|
9
|
-
const applyEllipsisToInput = (inputElement) => {
|
|
10
|
-
if (!inputElement || !inputElement.style) {
|
|
11
|
-
console.error('[applyEllipsisToInput] Referência ao elemento input é inválida.');
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
inputElement.style.textOverflow = 'ellipsis';
|
|
15
|
-
inputElement.style.overflow = 'hidden';
|
|
16
|
-
inputElement.style.whiteSpace = 'nowrap';
|
|
17
|
-
const adjustEllipsis = () => {
|
|
18
|
-
const value = inputElement.value || '';
|
|
19
|
-
const isOverflowing = inputElement.scrollWidth > inputElement.clientWidth;
|
|
20
|
-
if (isOverflowing) {
|
|
21
|
-
inputElement.setAttribute('title', value);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
inputElement.removeAttribute('title');
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
inputElement.addEventListener('input', adjustEllipsis);
|
|
28
|
-
adjustEllipsis();
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:48px;--ez-text-input--height--slim:32px;--ez-text-input__min-width:0px;--ez-text-input__max-width:100%;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--ez-text-input__margin-bottom:var(--space--small);--ez-text-input__input--background-color:var(--background--light, #ffffff);--ez-text-input__input--border:var(--border--small, 1px solid);--ez-text-input__input--border-color:var(--color--strokes,#DCE0E8);--ez-text-input__input--focus--border-color:var(--color--primary, #008561);--ez-text-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-text-input__input--disabled--color:var(--text--primary, #626E82);--ez-text-input__input--error--border-color:var(--color-alert--error-800,#BD0025);--ez-text-input__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--ez-text-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-text-input__tooltip_icon--error--color:var(--color-alert--error-800,#BD0025);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;--ez-text-input__input--focus--icon-color:var(--title--primary, #2B3A54);--ez-text-input__input--disabled--focus--icon-color:var(--text--primary, #626E82);--ez-text-input__tooltip-icon--spacing:var(--space--large);--ez-text-input__tooltip-icon---width:var(--space--large);--ez-text-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width);min-width:var(--ez-text-input__min-width);max-width:var(--ez-text-input__max-width)}:host(.grid_editor){--ez-text-input--height--slim:25px}input{width:100%;box-sizing:border-box;height:var(--ez-text-input--height);border-radius:var(--ez-text-input--border-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding);margin-bottom:var(--ez-text-input__margin-bottom)}input.no--margin{--ez-text-input__margin-bottom:0}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}input:focus{outline:none;border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--left.hasError{padding-right:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.icon--right.hasError{padding-right:calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing))}input.hasError{color:var(--ez-text-input--color);border-color:var(--ez-text-input__input--error--border-color);padding-right:calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)))}input:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:disabled,input:read-only{cursor:not-allowed}.hasError{color:var(--ez-text-input__tooltip_icon--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--ez-text-input__label--padding-right));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label.hasError{width:calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)))}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--left.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--right.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder,.input--slim:-moz-placeholder,.input--slim::-moz-placeholder,.input--slim:-ms-input-placeholder,.input--slim::placeholder{font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input__placeholder--color)}.input--slim:disabled::-webkit-input-placeholder,.input--slim:disabled:-moz-placeholder,.input--slim:disabled::-moz-placeholder,.input--slim:disabled:-ms-input-placeholder,.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-text-input__tooltip-icon---width);height:22px;margin:var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);top:0;right:0;z-index:var(--elevation--4);border-radius:var(--ez-text-input--border-radius)}ez-icon.tooltip-icon.rightIconSlot{right:var(--ez-text-input__tooltip-icon--spacing)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-input__tooltip_icon--error--color)}";
|
|
4
|
+
const ezTextInputCss = ":host{--ez-text-input--height:42px;--ez-text-input--width:100%;--ez-text-input__icon--width:30px;--ez-text-input--height--slim:32px;--ez-text-input__min-width:0px;--ez-text-input__max-width:100%;--ez-text-input--border-radius:var(--border--radius-medium, 12px);--ez-text-input--border-top-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-left-radius:var(--ez-text-input--border-radius);--ez-text-input--border-top-right-radius:var(--ez-text-input--border-radius);--ez-text-input--border-bottom-right-radius:var(--ez-text-input--border-radius);--ez-text-input--font-size:var(--text--medium, 14px);--ez-text-input--font-family:var(--font-pattern, Arial);--ez-text-input--font-weight:var(--text-weight--medium, 400);--ez-text-input--color:var(--title--primary, #2B3A54);--ez-text-input__margin-bottom:var(--space--small);--ez-text-input__input--background-color:var(--background--light, #ffffff);--ez-text-input__input--border:var(--border--small, 1px solid);--ez-text-input__input--border-color:var(--color--strokes,#DCE0E8);--ez-text-input__input--focus--border-color:var(--color--primary, #008561);--ez-text-input__input--disabled--background-color:var(--background--medium, #F0F3F7);--ez-text-input__input--disabled--color:var(--text--primary, #626E82);--ez-text-input__input--error--border-color:var(--color-alert--error-800,#BD0025);--ez-text-input__input--noborder-color:white;--ez-text-input__input--padding:var(--space--medium, 6px);--ez-text-input__placeholder--color:var(--text--secondary, #a2abb9);--ez-text-input__tooltip_icon--error--color:var(--color-alert--error-800,#BD0025);--ez-text-input__label--floating--top:6px;--ez-text-input__label--padding-top:12px;--ez-text-input__label--padding-left:14px;--ez-text-input__label--padding-right:12px;--ez-text-input__input--focus--icon-color:var(--title--primary, #2B3A54);--ez-text-input__input--disabled--focus--icon-color:var(--text--primary, #626E82);--ez-text-input__tooltip-icon--spacing:var(--space--large);--ez-text-input__tooltip-icon---width:var(--space--large);--ez-text-input__tooltip-icon---horizontal-margin:var(--space--medium, 12px);--ez-text-input__tooltip-icon---vertical-margin:10px;display:flex;flex-wrap:wrap;position:relative;width:var(--ez-text-input--width);min-width:var(--ez-text-input__min-width);max-width:var(--ez-text-input__max-width)}:host(.grid_editor){--ez-text-input--height--slim:25px}input{width:100%;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;height:var(--ez-text-input--height);border-top-left-radius:var(--ez-text-input--border-top-left-radius);border-bottom-left-radius:var(--ez-text-input--border-bottom-left-radius);border-top-right-radius:var(--ez-text-input--border-top-right-radius);border-bottom-right-radius:var(--ez-text-input--border-bottom-right-radius);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);border:var(--ez-text-input__input--border);border-color:var(--ez-text-input__input--border-color);background-color:var(--ez-text-input__input--background-color);color:var(--ez-text-input--color);font-weight:var(--ez-text-input--font-weight);padding:var(--ez-text-input__input--padding);margin-bottom:var(--ez-text-input__margin-bottom)}input.no--margin{--ez-text-input__margin-bottom:0}input:disabled{background-color:var(--ez-text-input__input--disabled--background-color);color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}input:focus{outline:none;border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.focused{border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--focus--border-color)}input.icon--left{padding-left:var(--ez-text-input__icon--width)}input.icon--left.hasError{padding-right:var(--ez-text-input__icon--width)}input.icon--right{padding-right:var(--ez-text-input__icon--width)}input.icon--right.hasError{padding-right:calc(var(--ez-text-input__icon--width) + var(--ez-text-input__tooltip-icon--spacing))}input.hasError{color:var(--ez-text-input--color);border:var(--border--medium, 2px solid);border-color:var(--ez-text-input__input--error--border-color);padding-right:calc(var(--ez-text-input__tooltip-icon---width) + (2*var(--ez-text-input__tooltip-icon---horizontal-margin)))}input:disabled.hasError{color:var(--ez-text-input__input--disabled--color)}input.text--right{text-align:right}input:disabled,input:read-only{cursor:not-allowed}.hasError{color:var(--ez-text-input__tooltip_icon--error--color)}.input__label{box-sizing:border-box;position:absolute;z-index:var(--visible);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-transition:font-size .05s, top .05s;transition:font-size .05s, top .05s;width:calc(100% - var(--ez-text-input__label--padding-right));left:var(--ez-text-input--space--medium);font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input--color);top:var(--ez-text-input__label--padding-top);left:var(--ez-text-input__label--padding-left);padding-right:var(--ez-text-input__label--padding-right)}.input__label.hasError{width:calc(100% - 2*(var(--ez-text-input__tooltip-icon--spacing)))}.input__label--floated{font-family:var(--ez-text-input--font-family);font-size:var(--text--extra-small);color:var(--text--primary);top:var(--ez-text-input__label--floating--top)}.input__label--disabled{color:var(--ez-text-input__input--disabled--color);cursor:not-allowed}.input__label--left{text-align:left;left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--left.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--right{right:var(--ez-text-input__icon--width);width:calc(100% - var(--ez-text-input__icon--width))}.input__label--right.hasError{width:calc(100% - var(--ez-text-input__icon--width) - var(--ez-text-input__tooltip-icon--spacing))}.input__label--left.input__label--right{left:calc(var(--ez-text-input__icon--width) + 2px);width:calc(100% - var(--ez-text-input__icon--width) * 2)}.input--with--label{padding-bottom:0}.input--slim{padding-top:var(--space--small, 3px);padding-bottom:var(--space--small, 3px);height:var(--ez-text-input--height--slim)}.input__slim--title{font-size:16px;font-weight:bold}.input--slim::-webkit-input-placeholder,.input--slim:-moz-placeholder,.input--slim::-moz-placeholder,.input--slim:-ms-input-placeholder,.input--slim::placeholder{font-family:var(--ez-text-input--font-family);font-size:var(--ez-text-input--font-size);font-weight:var(--ez-text-input--font-weight);color:var(--ez-text-input__placeholder--color)}.input--slim:disabled::-webkit-input-placeholder,.input--slim:disabled:-moz-placeholder,.input--slim:disabled::-moz-placeholder,.input--slim:disabled:-ms-input-placeholder,.input--slim:disabled::placeholder{color:var(--ez-text-input__input--disabled--color)}input.input__slim--noborder{box-shadow:0 0 0 0;border:0 none;outline:0;background:var(--ez-text-input__input--noborder-color)}ez-icon.tooltip-icon{position:absolute;display:flex;align-items:center;justify-content:center;overflow:hidden;width:var(--ez-text-input__tooltip-icon---width);height:22px;margin:var(--ez-text-input__tooltip-icon---vertical-margin) var(--ez-text-input__tooltip-icon---horizontal-margin);top:0;right:0;z-index:var(--elevation--4);border-radius:var(--ez-text-input--border-radius)}ez-icon.tooltip-icon.rightIconSlot{right:var(--ez-text-input__tooltip-icon--spacing)}ez-icon.tooltip-icon.hasError{--ez-icon--color:var(--ez-text-input__tooltip_icon--error--color)}";
|
|
32
5
|
|
|
33
6
|
const EzTextInput = class {
|
|
34
7
|
constructor(hostRef) {
|
|
35
8
|
registerInstance(this, hostRef);
|
|
36
9
|
this.ezChange = createEvent(this, "ezChange", 7);
|
|
10
|
+
this._isOverflowing = false;
|
|
37
11
|
this.label = undefined;
|
|
12
|
+
this.alternativePlaceholder = undefined;
|
|
38
13
|
this.value = undefined;
|
|
39
14
|
this.enabled = true;
|
|
40
15
|
this.errorMessage = undefined;
|
|
16
|
+
this.hasInvalid = false;
|
|
41
17
|
this.mask = undefined;
|
|
42
18
|
this.cleanValueMask = false;
|
|
43
19
|
this.canShowError = true;
|
|
@@ -47,21 +23,13 @@ const EzTextInput = class {
|
|
|
47
23
|
this.password = false;
|
|
48
24
|
this.autoFocus = false;
|
|
49
25
|
this.hasRightSlotContent = false;
|
|
26
|
+
this.forceLabelFloat = false;
|
|
50
27
|
}
|
|
51
|
-
|
|
52
|
-
if (
|
|
53
|
-
|
|
54
|
-
var _a;
|
|
55
|
-
if (hasError) {
|
|
56
|
-
this._inputElem.classList.add("hasError");
|
|
57
|
-
(_a = this._tooltipPositioningObserver) === null || _a === void 0 ? void 0 : _a.observe(this._inputElem);
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
this._inputElem.classList.remove("hasError");
|
|
61
|
-
this.removeGlobalTooltip();
|
|
62
|
-
}
|
|
63
|
-
});
|
|
28
|
+
observeHasInvalid(newValue, oldValue) {
|
|
29
|
+
if (newValue === oldValue) {
|
|
30
|
+
return;
|
|
64
31
|
}
|
|
32
|
+
this.validateErrors();
|
|
65
33
|
}
|
|
66
34
|
observeMask() {
|
|
67
35
|
if (this.mask) {
|
|
@@ -79,6 +47,7 @@ const EzTextInput = class {
|
|
|
79
47
|
this._inputElem.value = this.value || "";
|
|
80
48
|
this.handleChange();
|
|
81
49
|
this.adjustFloatingLabel();
|
|
50
|
+
this.checkIsOverflowing();
|
|
82
51
|
if (!this.isSlaveMode()) {
|
|
83
52
|
this.errorMessage = "";
|
|
84
53
|
this.ezChange.emit(this.value);
|
|
@@ -86,14 +55,38 @@ const EzTextInput = class {
|
|
|
86
55
|
}
|
|
87
56
|
}
|
|
88
57
|
}
|
|
58
|
+
observeAlternativePlaceholder(newValue) {
|
|
59
|
+
this.forceLabelFloat = !!newValue;
|
|
60
|
+
}
|
|
89
61
|
//---------------------------------------------
|
|
90
62
|
// Private methods
|
|
91
63
|
//---------------------------------------------
|
|
64
|
+
validateErrors() {
|
|
65
|
+
const hasErrorMessage = this.handleValidateErrorMessage(this.errorMessage);
|
|
66
|
+
const hasError = this.canShowError && (hasErrorMessage || this.hasInvalid);
|
|
67
|
+
this.updateClassError(hasError);
|
|
68
|
+
}
|
|
69
|
+
handleValidateErrorMessage(message = this.errorMessage) {
|
|
70
|
+
return typeof message === "string" && message.trim() !== "";
|
|
71
|
+
}
|
|
72
|
+
updateClassError(status) {
|
|
73
|
+
if (!this._inputElem) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
if (status) {
|
|
77
|
+
this._inputElem.classList.add("hasError");
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
this._inputElem.classList.remove("hasError");
|
|
81
|
+
}
|
|
82
|
+
}
|
|
92
83
|
adjustFloatingLabel() {
|
|
93
84
|
if (this.label && this._labelElem) {
|
|
94
85
|
if (this._inputElem && !this._inputElem.classList.contains("input--with--label")) {
|
|
95
86
|
this._inputElem.classList.add("input--with--label");
|
|
96
87
|
}
|
|
88
|
+
if (this.forceLabelFloat)
|
|
89
|
+
return;
|
|
97
90
|
const hasValue = this.value && this.value.toString().length > 0;
|
|
98
91
|
const containsFloatedClass = this._labelElem.classList.contains("input__label--floated");
|
|
99
92
|
if (hasValue || this.isFocused()) {
|
|
@@ -135,7 +128,12 @@ const EzTextInput = class {
|
|
|
135
128
|
const { selectText } = options || {};
|
|
136
129
|
if (selectText)
|
|
137
130
|
this._inputElem.select();
|
|
138
|
-
this._inputElem.
|
|
131
|
+
if (this._inputElem.disabled) {
|
|
132
|
+
this._inputElem.classList.add("focused");
|
|
133
|
+
this._inputElem.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
requestAnimationFrame(() => this._inputElem.focus());
|
|
139
137
|
}
|
|
140
138
|
/**
|
|
141
139
|
* Remove o foco do campo.
|
|
@@ -147,7 +145,7 @@ const EzTextInput = class {
|
|
|
147
145
|
* Retorna se o conteúdo é inválido.
|
|
148
146
|
*/
|
|
149
147
|
async isInvalid() {
|
|
150
|
-
return
|
|
148
|
+
return this.handleValidateErrorMessage();
|
|
151
149
|
}
|
|
152
150
|
//---------------------------------------------
|
|
153
151
|
// Event handlers
|
|
@@ -258,7 +256,7 @@ const EzTextInput = class {
|
|
|
258
256
|
}
|
|
259
257
|
slot.name && ElementIDUtils.addIDInfo(content, slot.name);
|
|
260
258
|
}
|
|
261
|
-
this.
|
|
259
|
+
this.validateErrors();
|
|
262
260
|
}
|
|
263
261
|
doFocus() {
|
|
264
262
|
if (this.label && this._labelElem && !this._labelElem.classList.contains("input__label--floated")) {
|
|
@@ -266,35 +264,28 @@ const EzTextInput = class {
|
|
|
266
264
|
}
|
|
267
265
|
this.adjustColorContentSlot("var(--ez-text-input__input--focus--icon-color)");
|
|
268
266
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
tooltip.errorMessage = this.errorMessage;
|
|
272
|
-
tooltip.anchoringElement = this._tooltipIconElem;
|
|
273
|
-
document.body.appendChild(tooltip);
|
|
274
|
-
this._tooltipElem = tooltip;
|
|
267
|
+
getValue() {
|
|
268
|
+
return this.mask && this.cleanValueMask ? this.applyMask(this.value) : this.value;
|
|
275
269
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
if (
|
|
279
|
-
|
|
280
|
-
this.
|
|
281
|
-
|
|
282
|
-
|
|
270
|
+
buildLabelClass() {
|
|
271
|
+
let classList = this.enabled ? 'input__label' : 'input__label input__label--disabled';
|
|
272
|
+
if (this.errorMessage)
|
|
273
|
+
classList = classList + ' hasError';
|
|
274
|
+
if (this.forceLabelFloat)
|
|
275
|
+
classList = classList + ' input__label--floated';
|
|
276
|
+
return classList;
|
|
283
277
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
this.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
}, 200);
|
|
296
|
-
});
|
|
297
|
-
this._tooltipPositioningObserver = observer;
|
|
278
|
+
buildPlaceholder() {
|
|
279
|
+
if (this.alternativePlaceholder)
|
|
280
|
+
return this.alternativePlaceholder;
|
|
281
|
+
return (this.mode === "slim" && this.label) ? this.label : '';
|
|
282
|
+
}
|
|
283
|
+
checkIsOverflowing() {
|
|
284
|
+
if (this._inputElem) {
|
|
285
|
+
this._isOverflowing = this._inputElem.offsetWidth < this._inputElem.scrollWidth;
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
this._isOverflowing = false;
|
|
298
289
|
}
|
|
299
290
|
//---------------------------------------------
|
|
300
291
|
// Lifecycle web component
|
|
@@ -322,11 +313,12 @@ const EzTextInput = class {
|
|
|
322
313
|
}
|
|
323
314
|
}
|
|
324
315
|
componentDidLoad() {
|
|
325
|
-
var _a
|
|
326
|
-
this.
|
|
316
|
+
var _a;
|
|
317
|
+
this.validateErrors();
|
|
327
318
|
this.observeMask();
|
|
328
319
|
this.adjustFloatingLabel();
|
|
329
320
|
this.adjustBorderInput();
|
|
321
|
+
this.checkIsOverflowing();
|
|
330
322
|
if (this.autoFocus) {
|
|
331
323
|
requestAnimationFrame(() => {
|
|
332
324
|
this.setFocus({ selectText: true });
|
|
@@ -336,43 +328,34 @@ const EzTextInput = class {
|
|
|
336
328
|
var _a;
|
|
337
329
|
this._inputElem.setSelectionRange(0, (_a = this._inputElem) === null || _a === void 0 ? void 0 : _a.value.length);
|
|
338
330
|
});
|
|
339
|
-
this.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
componentDidRender() {
|
|
346
|
-
if (this._tooltipIconElem && !this._tooltipElem) {
|
|
347
|
-
this.renderGlobalTooltip();
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
componentDidUpdate() {
|
|
351
|
-
if (this._tooltipIconElem && this._tooltipElem) {
|
|
352
|
-
this._tooltipElem.positionTooltip();
|
|
353
|
-
}
|
|
331
|
+
this.onClickOutside = (event) => {
|
|
332
|
+
if (!this._inputElem.contains(event.target)) {
|
|
333
|
+
this._inputElem.classList.remove("focused");
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
document.addEventListener("click", this.onClickOutside);
|
|
354
337
|
}
|
|
355
338
|
disconnectedCallback() {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
clearTimeout(this._observerDebounceTimeout);
|
|
361
|
-
}
|
|
362
|
-
this.removeGlobalTooltip();
|
|
339
|
+
document.removeEventListener("click", this.onClickOutside);
|
|
340
|
+
}
|
|
341
|
+
componentDidRender() {
|
|
342
|
+
this.adjustFloatingLabel();
|
|
363
343
|
}
|
|
364
344
|
render() {
|
|
365
345
|
ElementIDUtils.addIDInfoIfNotExists(this._hostElement, 'input');
|
|
366
346
|
return (h(Host, { style: this._hostElement.classList.contains("grid_editor") ? { "height": "100%" } : null }, h("slot", { name: "leftIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }), this.label && this.mode != "slim" ?
|
|
367
|
-
h("label", { ref: (el) => this._labelElem = el, class:
|
|
368
|
-
: null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.
|
|
369
|
-
h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? "hasError" : ""} ${this.hasRightSlotContent ? "rightIconSlot" : ""}`, "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip-icon"), ref: (el) => this._tooltipIconElem = el, iconName: "alert-circle" }), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }, " ")));
|
|
347
|
+
h("label", { ref: (el) => this._labelElem = el, class: this.buildLabelClass(), onClick: () => this._inputElem.focus(), title: this.label }, this.label)
|
|
348
|
+
: null, h("input", { "data-element-id": ElementIDUtils.getInternalIDInfo("input"), onFocus: () => this.doFocus(), ref: (el) => this._inputElem = el, type: this.password ? "password" : "text", class: `${this.mode === "slim" ? "input--slim" : ""}`, placeholder: this.buildPlaceholder(), value: this.getValue(), disabled: !this.enabled, onInput: () => { this.handleChange(); }, onFocusout: () => { this.handleFocusout(); } }), h("ez-tooltip", { anchoringElement: this._hostElement, message: this.getValue(), active: this._isOverflowing, useAnchorSize: true }), this.canShowError && this.mode != "slim" && this.errorMessage &&
|
|
349
|
+
h("ez-tooltip", { type: "error", message: this.errorMessage }, h("ez-icon", { class: `tooltip-icon ${this.errorMessage ? "hasError" : ""} ${this.hasRightSlotContent ? "rightIconSlot" : ""}`, "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip-icon"), ref: (el) => this._tooltipIconElem = el, iconName: "alert-circle" })), h("slot", { name: "rightIcon", onSlotchange: (ev) => { this.handleSlotChange(ev); } }, " ")));
|
|
370
350
|
}
|
|
371
351
|
get _hostElement() { return getElement(this); }
|
|
372
352
|
static get watchers() { return {
|
|
373
|
-
"
|
|
353
|
+
"hasInvalid": ["observeHasInvalid"],
|
|
354
|
+
"errorMessage": ["observeHasInvalid"],
|
|
355
|
+
"canShowError": ["observeHasInvalid"],
|
|
374
356
|
"mask": ["observeMask"],
|
|
375
|
-
"value": ["observeValue"]
|
|
357
|
+
"value": ["observeValue"],
|
|
358
|
+
"alternativePlaceholder": ["observeAlternativePlaceholder"]
|
|
376
359
|
}; }
|
|
377
360
|
};
|
|
378
361
|
EzTextInput.style = ezTextInputCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
2
|
import { TimeFormatter, MaskFormatter, NumberUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
import { C as CSSVarsUtils } from './CSSVarsUtils-acba92d7.js';
|
|
4
4
|
|
|
@@ -18,6 +18,7 @@ const EzTimeInput = class {
|
|
|
18
18
|
this.mode = "regular";
|
|
19
19
|
this.canShowError = true;
|
|
20
20
|
this.autoFocus = false;
|
|
21
|
+
this.alternativePlaceholder = undefined;
|
|
21
22
|
}
|
|
22
23
|
observeErrorMessage() {
|
|
23
24
|
var _a;
|
|
@@ -155,7 +156,7 @@ const EzTimeInput = class {
|
|
|
155
156
|
}
|
|
156
157
|
render() {
|
|
157
158
|
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
158
|
-
return (h(Host, null, h("ez-text-input", { class: "time__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
|
|
159
|
+
return (h(Host, null, h("ez-text-input", { class: "time__input", "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: (el) => this._textInput = el, "data-slave-mode": "true", value: this._viewValue, enabled: this.enabled, label: this.label, restrict: "0123456789:", onBlur: () => this.handleBlur(), onInput: () => this.handleInput(), errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError, alternativePlaceholder: this.alternativePlaceholder }, h("ez-icon", { slot: "leftIcon", iconName: "timer-outline" }))));
|
|
159
160
|
}
|
|
160
161
|
static get assetsDirs() { return ["../assets"]; }
|
|
161
162
|
get _elem() { return getElement(this); }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
2
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
4
|
const ezToastCss = ":host{--ez-toast__btn__close__image:url('data:image/svg+xml;utf8,<svg width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg%22%3E<path d=\"M 7.0060773,5.995511 11.461972,1.5397722 c 0.132856,-0.1328413 0.207547,-0.3130253 0.207547,-0.5009046 0,-0.18786999 -0.07469,-0.3680541 -0.207547,-0.5009048 -0.132857,-0.13284126 -0.31302,-0.20748126 -0.500927,-0.20748126 -0.187812,0 -0.36807,0.07464 -0.500926,0.20748126 L 6.0042244,4.9937015 1.5482921,0.5379628 C 1.4154357,0.40512154 1.2352533,0.33048154 1.0473657,0.33048154 c -0.18787813,0 -0.36807,0.07464 -0.50092647,0.20748126 -0.13285646,0.1328507 -0.20749026,0.31303481 -0.20749026,0.5009048 0,0.1878793 0.0746338,0.3680633 0.20749026,0.5009046 L 5.0023715,5.995511 0.54643923,10.452213 c -0.0676086,0.06534 -0.12151598,0.14352 -0.15859681,0.229916 -0.0370714,0.08639 -0.0565645,0.1794 -0.0573369,0.27335 -7.724e-4,0.09404 0.0171873,0.187331 0.0528423,0.274293 0.0356455,0.08705 0.0882688,0.166087 0.15479148,0.23256 0.0665321,0.06648 0.14562277,0.11897 0.2326735,0.154567 0.0870507,0.0356 0.18031463,0.05344 0.2743433,0.05259 0.094029,-8.5e-4 0.1869528,-0.02049 0.2733331,-0.0576 0.08639,-0.0372 0.1645078,-0.09121 0.2298029,-0.158817 L 6.0042244,6.9973204 10.460119,11.453078 c 0.132856,0.132851 0.313114,0.207444 0.500926,0.207444 0.187907,0 0.36807,-0.07459 0.500927,-0.207444 0.132856,-0.13285 0.207547,-0.313006 0.207547,-0.500904 0,-0.187898 -0.07469,-0.368054 -0.207547,-0.500905 z\"/></svg>');--ez-toast__container--z-index:var(--elevation--100, 100);--ez-toast__container--background-color:var(--color--secondary, #383c45);--ez-toast__container--left:var(--space--large, 24px);--ez-toast__container--bottom:var(--space--large, 24px);--ez-toast__container--width:400px;--ez-toast__icon--padding-left:var(--space--small, 6px)}.toast__container{position:fixed;display:flex;box-sizing:border-box;border-radius:6px;align-items:center;padding:12px;visibility:hidden;width:var(--ez-toast__container--width);left:var(--ez-toast__container--left);bottom:var(--ez-toast__container--bottom);z-index:var(--ez-toast__container--z-index);background-color:var(--ez-toast__container--background-color)}.message__container{text-shadow:0 0 0 #353535, 0 0 1px transparent;color:#FFFFFF;font-size:14px;width:90%;overflow:hidden;hyphens:auto;height:auto;-webkit-box-orient:vertical;-webkit-line-clamp:4;display:-webkit-box;text-overflow:ellipsis;font-family:var(--font-pattern, \"Roboto\")}.message__container--icon{width:80%;padding-left:var(--ez-toast__icon--padding-left)}.btn-close{margin-top:3px;display:flex;justify-content:flex-end;align-self:flex-start;padding:0;outline:none;width:10%;border:none;background-color:unset;cursor:pointer}.btn-close::after{content:'';display:flex;background-color:#FFFFFF;width:12px;height:12px;-webkit-mask-image:var(--ez-toast__btn__close__image);mask-image:var(--ez-toast__btn__close__image)}.toast__container--opened{animation:fadein 0.5s, fadeout 0.5s 3s;visibility:visible}@-webkit-keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@keyframes fadein{from{opacity:0;left:calc(var(--ez-toast__container--left) * -1)}to{opacity:1;left:var(--ez-toast__container--left)}}@-webkit-keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}@keyframes fadeout{from{opacity:1;left:var(--ez-toast__container--left)}to{bottom:0;opacity:0}}";
|
|
@@ -1,50 +1,130 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
|
+
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow } from './floating-ui.dom.esm-5d3da819.js';
|
|
2
3
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
|
3
4
|
|
|
4
|
-
const ezTooltipCss = ":host{position:absolute;z-index:var(--elevation--24);
|
|
5
|
+
const ezTooltipCss = ":host{--triangle-size:8px;width:100%}.tooltip{position:absolute;z-index:var(--elevation--24);padding:var(--space--extra-small, 3px) var(--space--small, 6px);border-radius:var(--border--radius-small);box-sizing:border-box;font-family:var(--font-pattern\t, 'Roboto', sans-serif);font-size:var(--text--small, 12px);font-weight:var(--text-weight--medium, 400);text-align:center;width:max-content;display:none}.arrow{position:absolute;width:var(--triangle-size);height:var(--triangle-size);transform:rotate(45deg)}.default-tooltip{background:var(--title--primary, #2b3a54);color:var(--color--inverted)}.default-tooltip .arrow{background:var(--title--primary, #2b3a54)}.error-tooltip{background:var(--color-alert--error-800, #BD0025);color:var(--color--error-200, #F7E0E5)}.error-tooltip .arrow{background:var(--color-alert--error-800, #BD0025)}.success-tooltip{background:var(--color--success, #00cb94);color:var(--color--success-200, #EBFFFA)}.success-tooltip .arrow{background:var(--color--success, #00cb94)}.warning-tooltip{background:var(--color--warning, #f2d410);color:var(--color--warning-200, #FDF8D8)}.warning-tooltip .arrow{background:var(--color--warning, #f2d410)}";
|
|
5
6
|
|
|
6
7
|
const EzTooltip = class {
|
|
7
8
|
constructor(hostRef) {
|
|
8
9
|
registerInstance(this, hostRef);
|
|
9
|
-
this.
|
|
10
|
+
this._opened = false;
|
|
11
|
+
this.message = undefined;
|
|
10
12
|
this.anchoringElement = undefined;
|
|
13
|
+
this.placement = 'bottom';
|
|
14
|
+
this.gapOptions = { horizontalGap: 0, verticalGap: 0 };
|
|
15
|
+
this.type = 'default';
|
|
16
|
+
this.debouncingTime = 500;
|
|
17
|
+
this.active = true;
|
|
18
|
+
this.maxWidth = 200;
|
|
19
|
+
this.useAnchorSize = false;
|
|
11
20
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
this.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
this.
|
|
21
|
+
watchAnchoringElement(newValue, oldValue) {
|
|
22
|
+
if (newValue) {
|
|
23
|
+
this.setEvents(newValue);
|
|
24
|
+
this.removeEvents(oldValue);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
watchMessage(newValue) {
|
|
28
|
+
if (!newValue) {
|
|
29
|
+
this.closeTooltip();
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
this.updatePosition();
|
|
33
|
+
}
|
|
34
|
+
openTooltip() {
|
|
35
|
+
if (this.message && this.active) {
|
|
36
|
+
if (this._debouncingTimeout) {
|
|
37
|
+
clearTimeout(this._debouncingTimeout);
|
|
38
|
+
}
|
|
39
|
+
this._debouncingTimeout = setTimeout(() => {
|
|
40
|
+
this._opened = true;
|
|
41
|
+
this._tooltipElement.style.display = 'block';
|
|
42
|
+
this.updatePosition();
|
|
43
|
+
}, this.debouncingTime);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
closeTooltip() {
|
|
47
|
+
clearTimeout(this._debouncingTimeout);
|
|
48
|
+
this._tooltipElement.style.display = 'none';
|
|
49
|
+
this._opened = false;
|
|
50
|
+
}
|
|
51
|
+
async updatePosition(element = this.anchoringElement) {
|
|
52
|
+
if (!element || !this._opened) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (this.useAnchorSize) {
|
|
56
|
+
const anchorSize = element.getBoundingClientRect().width;
|
|
57
|
+
this._tooltipElement.style.width = `${anchorSize}px`;
|
|
58
|
+
}
|
|
59
|
+
await computePosition(element, this._tooltipElement, {
|
|
60
|
+
placement: this.placement,
|
|
61
|
+
middleware: [
|
|
62
|
+
offset(5),
|
|
63
|
+
flip(),
|
|
64
|
+
shift(),
|
|
65
|
+
arrow({ element: this._arrowElement })
|
|
66
|
+
],
|
|
67
|
+
}).then(({ x, y, placement, middlewareData }) => {
|
|
68
|
+
const newTop = placement.includes("bottom") ? y + this.gapOptions.verticalGap : y - this.gapOptions.verticalGap;
|
|
69
|
+
const newLeft = placement.includes("start") ? x + this.gapOptions.horizontalGap : x - this.gapOptions.horizontalGap;
|
|
70
|
+
Object.assign(this._tooltipElement.style, {
|
|
71
|
+
top: `${newTop}px`,
|
|
72
|
+
left: `${newLeft}px`,
|
|
73
|
+
});
|
|
74
|
+
if (middlewareData.arrow) {
|
|
75
|
+
const { x } = middlewareData.arrow;
|
|
76
|
+
const onBottom = placement.includes("bottom");
|
|
77
|
+
Object.assign(this._arrowElement.style, {
|
|
78
|
+
left: `${x}px`,
|
|
79
|
+
top: onBottom ? `${-this._arrowElement.offsetHeight / 2}px` : '',
|
|
80
|
+
bottom: !onBottom ? `${-this._arrowElement.offsetHeight / 2}px` : '',
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
handleSlotChange(ev) {
|
|
86
|
+
const slot = ev.target;
|
|
87
|
+
const content = slot.assignedElements()[0];
|
|
88
|
+
this.anchoringElement = content;
|
|
89
|
+
}
|
|
90
|
+
setEvents(element = this.anchoringElement) {
|
|
91
|
+
if (!element) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
element.addEventListener('mouseenter', () => {
|
|
95
|
+
this.openTooltip();
|
|
96
|
+
});
|
|
97
|
+
element.addEventListener('mouseleave', () => {
|
|
98
|
+
this.closeTooltip();
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
removeEvents(element = this.anchoringElement) {
|
|
102
|
+
if (!element) {
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
element.removeEventListener('mouseenter', () => {
|
|
106
|
+
this.openTooltip();
|
|
35
107
|
});
|
|
36
|
-
|
|
37
|
-
this.
|
|
108
|
+
element.removeEventListener('mouseleave', () => {
|
|
109
|
+
this.closeTooltip();
|
|
38
110
|
});
|
|
39
111
|
}
|
|
40
112
|
componentDidLoad() {
|
|
41
|
-
this.positionTooltip();
|
|
42
113
|
this.setEvents();
|
|
43
114
|
}
|
|
44
115
|
render() {
|
|
45
|
-
return (h("div", {
|
|
116
|
+
return (h(Host, null, h("div", Object.assign({ ref: ref => this._tooltipElement = ref }, { inert: true }, { class: {
|
|
117
|
+
"tooltip": true,
|
|
118
|
+
[`${this.type}-tooltip`]: true,
|
|
119
|
+
}, style: {
|
|
120
|
+
maxWidth: (this.maxWidth && !this.useAnchorSize) ? `${this.maxWidth}px` : undefined,
|
|
121
|
+
}, role: "tooltip", "data-element-id": ElementIDUtils.getInternalIDInfo("tooltip") }), this.message, h("div", { ref: ref => this._arrowElement = ref, class: "arrow" })), h("slot", { onSlotchange: (ev) => { this.handleSlotChange(ev); } })));
|
|
46
122
|
}
|
|
47
123
|
get _element() { return getElement(this); }
|
|
124
|
+
static get watchers() { return {
|
|
125
|
+
"anchoringElement": ["watchAnchoringElement"],
|
|
126
|
+
"message": ["watchMessage"]
|
|
127
|
+
}; }
|
|
48
128
|
};
|
|
49
129
|
EzTooltip.style = ezTooltipCss;
|
|
50
130
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-
|
|
1
|
+
import { h, r as registerInstance, c as createEvent, f as forceUpdate, H as Host, g as getElement } from './index-5a720e56.js';
|
|
2
2
|
import { ElementIDUtils, StringUtils, ObjectUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
4
|
const ICON_EXPANDED = "chevron-down";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-5a720e56.js';
|
|
2
2
|
import { A as ApplicationUtils } from './ApplicationUtils-eaf91331.js';
|
|
3
3
|
import { ElementIDUtils } from '@sankhyalabs/core';
|
|
4
4
|
import './DialogType-54a62731.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement, H as Host } from './index-5a720e56.js';
|
|
2
2
|
import { JSUtils, ElementIDUtils } from '@sankhyalabs/core';
|
|
3
3
|
|
|
4
4
|
const ezViewStackCss = ":host{width:100%;height:100%}.ez-view-stack__container{width:100%;height:100%}";
|