@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-75065.1 → 0.0.0-bugfix-dev-KB-74406.0
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/ez-actions-button.cjs.entry.js +1 -1
- 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-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 +1 -1
- package/dist/cjs/ez-chart.cjs.entry.js +1 -1
- package/dist/cjs/ez-check.cjs.entry.js +1 -1
- package/dist/cjs/ez-chip.cjs.entry.js +2 -2
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +366 -0
- package/dist/cjs/ez-combo-box.cjs.entry.js +59 -185
- 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_2.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +61 -1
- 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-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-loading-bar.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +186 -0
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/{ez-multi-selection-list_2.cjs.entry.js → ez-popover-core_2.cjs.entry.js} +116 -197
- package/dist/cjs/ez-popover.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-scroller_2.cjs.entry.js +2 -2
- package/dist/cjs/ez-search.cjs.entry.js +1 -1
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/ez-text-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-toast.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 +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 +1 -1
- package/dist/cjs/{index-9e5554cb.js → index-a7b0c73d.js} +8 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +205 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +405 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +0 -250
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +61 -194
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +1 -1
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +5 -0
- package/dist/collection/components/ez-grid/ez-grid.js +56 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +0 -64
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +47 -127
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +67 -0
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +468 -0
- package/dist/collection/components/ez-scroller/ez-scroller.css +3 -0
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +375 -206
- package/dist/esm/ez-actions-button.entry.js +1 -1
- 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-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 +1 -1
- package/dist/esm/ez-chart.entry.js +1 -1
- package/dist/esm/ez-check.entry.js +1 -1
- package/dist/esm/ez-chip.entry.js +2 -2
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box-list_3.entry.js +360 -0
- package/dist/esm/ez-combo-box.entry.js +60 -186
- 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_2.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +62 -2
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-loading-bar.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +182 -0
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/{ez-multi-selection-list_2.entry.js → ez-popover-core_2.entry.js} +116 -197
- package/dist/esm/ez-popover.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-radio-button.entry.js +1 -1
- package/dist/esm/ez-scroller_2.entry.js +2 -2
- package/dist/esm/ez-search.entry.js +1 -1
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +1 -1
- package/dist/esm/ez-split-item.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/ez-text-input.entry.js +1 -1
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-toast.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 +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 +1 -1
- package/dist/esm/{index-5a720e56.js → index-baa5e267.js} +9 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-e6b38ade.entry.js → p-0306dff7.entry.js} +1 -1
- package/dist/ezui/{p-91ccae0c.entry.js → p-09de35a2.entry.js} +1 -1
- package/dist/ezui/{p-88c615f0.entry.js → p-0fa52b0f.entry.js} +1 -1
- package/dist/ezui/{p-92fbaf2b.entry.js → p-0faf71c5.entry.js} +1 -1
- package/dist/ezui/p-15134d97.entry.js +1 -0
- package/dist/ezui/{p-c96fbbef.entry.js → p-17de16e5.entry.js} +1 -1
- package/dist/ezui/{p-24b42f3d.entry.js → p-17eabf46.entry.js} +1 -1
- package/dist/ezui/{p-3885e66e.entry.js → p-1ad6c61b.entry.js} +1 -1
- package/dist/ezui/{p-81461d2f.entry.js → p-1e7a8633.entry.js} +1 -1
- package/dist/ezui/{p-6b51c9cc.entry.js → p-1f50fa05.entry.js} +1 -1
- package/dist/ezui/{p-cf33bc48.entry.js → p-20c024f7.entry.js} +1 -1
- package/dist/ezui/p-20cb13fa.entry.js +1 -0
- package/dist/ezui/{p-e4c7eb39.js → p-23a36bb6.js} +2 -2
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/{p-6d31c43c.entry.js → p-2bb2a0c4.entry.js} +1 -1
- package/dist/ezui/{p-ca8936df.entry.js → p-2f45506d.entry.js} +1 -1
- package/dist/ezui/{p-9fc250d4.entry.js → p-3195a7a7.entry.js} +1 -1
- package/dist/ezui/{p-23dab72f.entry.js → p-31b71e50.entry.js} +1 -1
- package/dist/ezui/{p-b22889ea.entry.js → p-3429080c.entry.js} +1 -1
- package/dist/ezui/{p-0378416a.entry.js → p-44caad9a.entry.js} +1 -1
- package/dist/ezui/{p-7567ccdd.entry.js → p-555c9018.entry.js} +1 -1
- package/dist/ezui/{p-3791d9c8.entry.js → p-556468d9.entry.js} +1 -1
- package/dist/ezui/{p-9066b0b0.entry.js → p-56fe5341.entry.js} +1 -1
- package/dist/ezui/{p-cf3b60fd.entry.js → p-58783dcf.entry.js} +1 -1
- package/dist/ezui/{p-044d46d5.entry.js → p-5b205c80.entry.js} +1 -1
- package/dist/ezui/{p-6fc26622.entry.js → p-5ed81457.entry.js} +1 -1
- package/dist/ezui/{p-03b0ed5a.entry.js → p-65f471bc.entry.js} +1 -1
- package/dist/ezui/{p-a3319796.entry.js → p-664b91e8.entry.js} +46 -46
- package/dist/ezui/{p-6d8b3298.entry.js → p-6cdd3e0a.entry.js} +1 -1
- package/dist/ezui/{p-fc194825.entry.js → p-6e429cff.entry.js} +1 -1
- package/dist/ezui/{p-11bfeca3.entry.js → p-77a4bd35.entry.js} +1 -1
- package/dist/ezui/p-7bd15498.entry.js +1 -0
- package/dist/ezui/{p-2069c78a.entry.js → p-7e677b7b.entry.js} +1 -1
- package/dist/ezui/{p-e18d9e6a.entry.js → p-7fdd479f.entry.js} +1 -1
- package/dist/ezui/{p-82fa4b09.entry.js → p-8df1ca33.entry.js} +1 -1
- package/dist/ezui/{p-c2b20f78.entry.js → p-9f5fa3f9.entry.js} +1 -1
- package/dist/ezui/{p-0cfbbe82.entry.js → p-a4cee65d.entry.js} +1 -1
- package/dist/ezui/{p-dfca5946.entry.js → p-a80b1287.entry.js} +1 -1
- package/dist/ezui/p-bc2f844e.entry.js +1 -0
- package/dist/ezui/{p-92748142.entry.js → p-c0d9c4f8.entry.js} +1 -1
- package/dist/ezui/{p-4818b8ce.entry.js → p-c1527804.entry.js} +1 -1
- package/dist/ezui/{p-b9282c79.entry.js → p-cb1535f7.entry.js} +1 -1
- package/dist/ezui/{p-f4da7e1e.entry.js → p-cf87aacb.entry.js} +1 -1
- package/dist/ezui/{p-5010315a.entry.js → p-d9548bdf.entry.js} +1 -1
- package/dist/ezui/{p-708b196e.entry.js → p-da1b4a38.entry.js} +1 -1
- package/dist/ezui/p-dc73e1fe.entry.js +1 -0
- package/dist/ezui/{p-b2f6bc0a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/ezui/{p-bef7daac.entry.js → p-e347df9c.entry.js} +1 -1
- package/dist/ezui/{p-9e95bfeb.entry.js → p-e6a9041d.entry.js} +1 -1
- package/dist/ezui/{p-000159dc.entry.js → p-e75c7a23.entry.js} +1 -1
- package/dist/ezui/{p-68b2e579.entry.js → p-ea54d056.entry.js} +1 -1
- package/dist/ezui/p-f5931caa.entry.js +1 -0
- package/dist/ezui/{p-44b39e81.entry.js → p-fa6732f2.entry.js} +1 -1
- package/dist/ezui/{p-e3f8660b.entry.js → p-fd0a19d6.entry.js} +1 -1
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +104 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +7 -16
- package/dist/types/components/ez-grid/controller/ag-grid/AgGridController.d.ts +1 -0
- package/dist/types/components/ez-grid/ez-grid.d.ts +5 -0
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +6 -19
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +81 -0
- package/dist/types/components.d.ts +218 -3
- package/package.json +1 -1
- package/react/components.d.ts +2 -0
- package/react/components.js +2 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +0 -236
- package/dist/esm/ez-custom-form-input_2.entry.js +0 -231
- package/dist/ezui/p-3af64edd.entry.js +0 -1
- package/dist/ezui/p-6ec40dec.entry.js +0 -1
- package/dist/ezui/p-a921e3e7.entry.js +0 -1
- package/dist/ezui/p-cba34702.entry.js +0 -1
- package/dist/ezui/p-f30e0590.entry.js +0 -1
- package/dist/ezui/p-fcc78b7f.entry.js +0 -1
|
@@ -2670,7 +2670,7 @@ const EzCheck$1 = class extends HTMLElement$1 {
|
|
|
2670
2670
|
static get style() { return ezCheckCss; }
|
|
2671
2671
|
};
|
|
2672
2672
|
|
|
2673
|
-
const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:
|
|
2673
|
+
const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary);--ez-label-chip__label__container--default--margin-top:var(--space-extra-small, 3px)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active);margin-top:var(--ez-label-chip__label__container--default--margin-top)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:none;box-shadow:0 0 0 2px var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
|
|
2674
2674
|
|
|
2675
2675
|
const EzChip$1 = class extends HTMLElement$1 {
|
|
2676
2676
|
constructor() {
|
|
@@ -2903,7 +2903,7 @@ const EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
|
2903
2903
|
static get style() { return ezCollapsibleBoxCss; }
|
|
2904
2904
|
};
|
|
2905
2905
|
|
|
2906
|
-
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-
|
|
2906
|
+
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box__input--background-color:var(--background--medium, #e0e0e0);--ez-combo-box__input--border:var(--border--medium, 2px solid);--ez-combo-box__input--border-color:var(--ez-combo-box__input--background-color);--ez-combo-box__input--focus--border-color:var(--color--primary, #008561);--ez-combo-box__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-combo-box__input--disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn--color:var(--title--primary, #2B3A54);--ez-combo-box__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-combo-box__btn-hover--color:var(--color--primary, #4e4e4e);width:var(--ez-combo-box--width)}ez-icon{--ez-icon--color:inherit;font-weight:var(--text-weight--large, 600)}.suppressed-search-input{--ez-text-input__input--border-color:var(--color--strokes, #dce0e8);--ez-text-input__input--disabled--background-color:var(--background--xlight, #fff);--ez-text-input__input--disabled--color:var(--title--primary, #2B3A54)}.btn{outline:none;border:none;background:none;cursor:pointer;padding:0px;color:var(--ez-combo-box__btn--color)}.btn:disabled{cursor:unset;color:var(--ez-combo-box__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-combo-box__btn-disabled--color)}.btn:hover{color:var(--ez-combo-box__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}.text-input-slot-container{--ez-text-input__icon--width:32px;--ez-text-input__min-width:var(--ez-combo-box__min-width);--ez-text-input__max-width:var(--ez-combo-box__max-width)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
2907
2907
|
|
|
2908
2908
|
const EzComboBox$1 = class extends HTMLElement$1 {
|
|
2909
2909
|
constructor() {
|
|
@@ -2917,11 +2917,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2917
2917
|
this._tabPressed = false;
|
|
2918
2918
|
this._textEmptyList = "Nenhum resultado encontrado";
|
|
2919
2919
|
this._lookupMode = false;
|
|
2920
|
+
this.isOpen = false;
|
|
2920
2921
|
this._preSelection = undefined;
|
|
2921
2922
|
this._visibleOptions = undefined;
|
|
2922
2923
|
this._startLoading = false;
|
|
2923
2924
|
this._showLoading = true;
|
|
2924
2925
|
this._criteria = undefined;
|
|
2926
|
+
this._textInputReady = undefined;
|
|
2925
2927
|
this.limitCharsToSearch = 3;
|
|
2926
2928
|
this.value = undefined;
|
|
2927
2929
|
this.label = undefined;
|
|
@@ -3027,63 +3029,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3027
3029
|
async clearValue() {
|
|
3028
3030
|
this.clearSearch();
|
|
3029
3031
|
}
|
|
3030
|
-
scrollListener() {
|
|
3031
|
-
var _a;
|
|
3032
|
-
if (this._floatingID == undefined) {
|
|
3033
|
-
return;
|
|
3034
|
-
}
|
|
3035
|
-
if ((_a = this.listOptionsPosition) === null || _a === void 0 ? void 0 : _a.hardPosition) {
|
|
3036
|
-
this.hideOptions();
|
|
3037
|
-
}
|
|
3038
|
-
else {
|
|
3039
|
-
window.requestAnimationFrame(() => {
|
|
3040
|
-
this.updateListPosition();
|
|
3041
|
-
});
|
|
3042
|
-
}
|
|
3043
|
-
}
|
|
3044
|
-
updateListPosition() {
|
|
3045
|
-
let { verticalPosition, horizontalPosition, fromBottom, fromRight, bottomLimit, hardPosition } = this.getListPosition();
|
|
3046
|
-
const elementRect = this._listWrapper.getBoundingClientRect();
|
|
3047
|
-
const containerRect = this._listContainer.getBoundingClientRect();
|
|
3048
|
-
const textInputRect = this._textInput.getBoundingClientRect();
|
|
3049
|
-
const limitHeight = bottomLimit || window.innerHeight;
|
|
3050
|
-
const neededHeight = containerRect.bottom + elementRect.height;
|
|
3051
|
-
if (!fromBottom && (elementRect.top < 0 || neededHeight > limitHeight)) {
|
|
3052
|
-
fromBottom = true;
|
|
3053
|
-
}
|
|
3054
|
-
if (!hardPosition) {
|
|
3055
|
-
verticalPosition = verticalPosition || 0;
|
|
3056
|
-
horizontalPosition = horizontalPosition || 0;
|
|
3057
|
-
if (fromBottom) {
|
|
3058
|
-
verticalPosition = window.innerHeight - textInputRect.top + verticalPosition;
|
|
3059
|
-
}
|
|
3060
|
-
else {
|
|
3061
|
-
verticalPosition += containerRect.top;
|
|
3062
|
-
}
|
|
3063
|
-
if (fromRight) {
|
|
3064
|
-
horizontalPosition = window.innerWidth - textInputRect.right + horizontalPosition;
|
|
3065
|
-
}
|
|
3066
|
-
else {
|
|
3067
|
-
horizontalPosition += containerRect.left;
|
|
3068
|
-
}
|
|
3069
|
-
}
|
|
3070
|
-
if (verticalPosition != undefined) {
|
|
3071
|
-
this._listWrapper.style[fromBottom ? "bottom" : "top"] = `${verticalPosition}px`;
|
|
3072
|
-
this._listWrapper.style[fromBottom ? "top" : "bottom"] = "";
|
|
3073
|
-
}
|
|
3074
|
-
if (horizontalPosition != undefined) {
|
|
3075
|
-
this._listWrapper.style[fromRight ? "right" : "left"] = `${horizontalPosition}px`;
|
|
3076
|
-
this._listWrapper.style[fromRight ? "left" : "right"] = "";
|
|
3077
|
-
}
|
|
3078
|
-
}
|
|
3079
|
-
getListPosition() {
|
|
3080
|
-
if (this.listOptionsPosition) {
|
|
3081
|
-
return this.listOptionsPosition;
|
|
3082
|
-
}
|
|
3083
|
-
return {
|
|
3084
|
-
verticalPosition: 6
|
|
3085
|
-
};
|
|
3086
|
-
}
|
|
3087
3032
|
isDifferentValues(firstValue, secondValue) {
|
|
3088
3033
|
return ObjectUtils$1.objectToString(firstValue || {}) !== ObjectUtils$1.objectToString(secondValue || {});
|
|
3089
3034
|
}
|
|
@@ -3156,85 +3101,24 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3156
3101
|
}
|
|
3157
3102
|
return 0;
|
|
3158
3103
|
}
|
|
3159
|
-
buildItem(opt, index) {
|
|
3160
|
-
const widthValue = this.showOptionValue && this._maxWidthValue > 0 ? `${this._maxWidthValue}px` : '';
|
|
3161
|
-
opt.label = opt.label || opt.value;
|
|
3162
|
-
return h("li", { class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.selectOption(opt), onMouseOver: () => this._preSelection = index }, this.showOptionValue
|
|
3163
|
-
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3164
|
-
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3165
|
-
}
|
|
3166
3104
|
showOptions() {
|
|
3167
3105
|
var _a, _b;
|
|
3168
3106
|
if (!this.enabled)
|
|
3169
3107
|
return;
|
|
3170
|
-
|
|
3171
|
-
return;
|
|
3172
|
-
}
|
|
3108
|
+
this.openPopover();
|
|
3173
3109
|
const valueString = (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : this.value;
|
|
3174
3110
|
const indexValue = this._visibleOptions.findIndex(option => option.value === valueString);
|
|
3175
3111
|
this._preSelection = indexValue === -1 ? 0 : indexValue;
|
|
3176
3112
|
if (!!this._resizeObserver)
|
|
3177
3113
|
this._resizeObserver.observe(this._textInput);
|
|
3178
|
-
this._floatingID = FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: true, isFixed: true, backClickListener: () => this.hideOptions() });
|
|
3179
3114
|
this.setFocus();
|
|
3180
|
-
window.requestAnimationFrame(() => {
|
|
3181
|
-
this.updateListPosition();
|
|
3182
|
-
if (!this.listOptionsPosition) {
|
|
3183
|
-
this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
3184
|
-
}
|
|
3185
|
-
});
|
|
3186
3115
|
}
|
|
3187
3116
|
hideOptions() {
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
}
|
|
3191
|
-
this._floatingID = undefined;
|
|
3117
|
+
var _a;
|
|
3118
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.hide();
|
|
3192
3119
|
if (!!this._resizeObserver)
|
|
3193
3120
|
this._resizeObserver.unobserve(this._textInput);
|
|
3194
3121
|
}
|
|
3195
|
-
isOptionsVisible() {
|
|
3196
|
-
return this._floatingID !== undefined && FloatingManager.isFloating(this._floatingID);
|
|
3197
|
-
}
|
|
3198
|
-
nextOption() {
|
|
3199
|
-
if (!this.isOptionsVisible()) {
|
|
3200
|
-
return;
|
|
3201
|
-
}
|
|
3202
|
-
this.showOptions();
|
|
3203
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
|
|
3204
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
3205
|
-
}
|
|
3206
|
-
previousOption() {
|
|
3207
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
|
|
3208
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
3209
|
-
}
|
|
3210
|
-
scrollToOption(opt) {
|
|
3211
|
-
window.requestAnimationFrame(() => {
|
|
3212
|
-
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value) ? this._optionsList.querySelector(`li#item_${opt.value.replace(/[<>\[\]#=]/g, '\\$&').replace(/:/g, '\\:')}`) : undefined;
|
|
3213
|
-
if (liElem)
|
|
3214
|
-
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
3215
|
-
});
|
|
3216
|
-
}
|
|
3217
|
-
selectCurrentOption(focusOnInput = true) {
|
|
3218
|
-
if (this._preSelection !== undefined) {
|
|
3219
|
-
this.selectOption(this._visibleOptions[this._preSelection], focusOnInput);
|
|
3220
|
-
this._preSelection = undefined;
|
|
3221
|
-
}
|
|
3222
|
-
else {
|
|
3223
|
-
this.controlListWithOnlyOne(focusOnInput);
|
|
3224
|
-
}
|
|
3225
|
-
}
|
|
3226
|
-
controlListWithOnlyOne(focusOnInput = true) {
|
|
3227
|
-
var _a;
|
|
3228
|
-
const source = (_a = this._visibleOptions) === null || _a === void 0 ? void 0 : _a.filter((opt) => opt.label !== "" && opt.value != undefined);
|
|
3229
|
-
if ((source === null || source === void 0 ? void 0 : source.length) > 0) {
|
|
3230
|
-
let title = StringUtils$1.decodeHtmlEntities(source[0].label);
|
|
3231
|
-
const option = {
|
|
3232
|
-
value: source[0].value,
|
|
3233
|
-
label: title,
|
|
3234
|
-
};
|
|
3235
|
-
this.selectOption(option, focusOnInput);
|
|
3236
|
-
}
|
|
3237
|
-
}
|
|
3238
3122
|
updateSource(source) {
|
|
3239
3123
|
this._startLoading = false;
|
|
3240
3124
|
if (source instanceof Promise) {
|
|
@@ -3260,12 +3144,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3260
3144
|
}
|
|
3261
3145
|
}
|
|
3262
3146
|
selectOption(newOption, focusOnInput = true) {
|
|
3263
|
-
var _a, _b;
|
|
3147
|
+
var _a, _b, _c;
|
|
3264
3148
|
const currentValue = this.getSelectedOption(this.value);
|
|
3265
3149
|
if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOption === null || newOption === void 0 ? void 0 : newOption.value) === null || _b === void 0 ? void 0 : _b.toString()))
|
|
3266
3150
|
|| (currentValue == undefined && newOption != undefined && "value" in newOption)) {
|
|
3267
3151
|
const adjustedOpt = !(newOption === null || newOption === void 0 ? void 0 : newOption.value) ? undefined : newOption;
|
|
3268
3152
|
this.value = adjustedOpt;
|
|
3153
|
+
(_c = this._popover) === null || _c === void 0 ? void 0 : _c.hide();
|
|
3269
3154
|
}
|
|
3270
3155
|
else {
|
|
3271
3156
|
this.resetOptions();
|
|
@@ -3318,6 +3203,11 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3318
3203
|
//---------------------------------------------
|
|
3319
3204
|
// Lifecycle web component
|
|
3320
3205
|
//---------------------------------------------
|
|
3206
|
+
componentDidRender() {
|
|
3207
|
+
if (this._textInput) {
|
|
3208
|
+
this._textInputReady = true;
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3321
3211
|
componentWillLoad() {
|
|
3322
3212
|
if (this.options === undefined) {
|
|
3323
3213
|
this.options = [];
|
|
@@ -3336,15 +3226,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3336
3226
|
}
|
|
3337
3227
|
this.loadOptions(SearchMode$1.PRELOAD);
|
|
3338
3228
|
}
|
|
3339
|
-
componentDidRender() {
|
|
3340
|
-
var _a;
|
|
3341
|
-
if (this._floatingID === undefined) {
|
|
3342
|
-
this._listWrapper.remove();
|
|
3343
|
-
}
|
|
3344
|
-
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
3345
|
-
ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
|
|
3346
|
-
});
|
|
3347
|
-
}
|
|
3348
3229
|
componentDidLoad() {
|
|
3349
3230
|
CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
|
|
3350
3231
|
this.setInputValue(false);
|
|
@@ -3352,10 +3233,12 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3352
3233
|
window.requestAnimationFrame(() => {
|
|
3353
3234
|
if (!Array.isArray(entries) || !entries.length)
|
|
3354
3235
|
return;
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3236
|
+
if (!this._textInput)
|
|
3237
|
+
return;
|
|
3238
|
+
if (!this._comboBoxList)
|
|
3239
|
+
return;
|
|
3240
|
+
const textInputWidth = this._textInput.clientWidth;
|
|
3241
|
+
this._comboBoxList.width = textInputWidth;
|
|
3359
3242
|
});
|
|
3360
3243
|
});
|
|
3361
3244
|
if (this.autoFocus) {
|
|
@@ -3364,6 +3247,13 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3364
3247
|
});
|
|
3365
3248
|
}
|
|
3366
3249
|
}
|
|
3250
|
+
disconnectedCallback() {
|
|
3251
|
+
var _a;
|
|
3252
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.remove();
|
|
3253
|
+
if (this._resizeObserver) {
|
|
3254
|
+
this._resizeObserver.disconnect();
|
|
3255
|
+
}
|
|
3256
|
+
}
|
|
3367
3257
|
//---------------------------------------------
|
|
3368
3258
|
// Event handlers
|
|
3369
3259
|
//---------------------------------------------
|
|
@@ -3403,65 +3293,48 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3403
3293
|
this.showOptions();
|
|
3404
3294
|
}
|
|
3405
3295
|
keyDownHandler(event) {
|
|
3406
|
-
|
|
3407
|
-
if (event.ctrlKey) {
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
//não é interessante deixar o evento propagar;
|
|
3413
|
-
event.stopPropagation();
|
|
3414
|
-
event.stopImmediatePropagation();
|
|
3415
|
-
event.preventDefault();
|
|
3416
|
-
}
|
|
3296
|
+
var _a, _b, _c, _d, _e, _f;
|
|
3297
|
+
if (event.ctrlKey && (event.key === "f" || event.key === "F")) {
|
|
3298
|
+
this.loadOptions(SearchMode$1.ADVANCED);
|
|
3299
|
+
event.preventDefault();
|
|
3300
|
+
event.stopPropagation();
|
|
3301
|
+
return;
|
|
3417
3302
|
}
|
|
3418
3303
|
switch (event.key) {
|
|
3419
3304
|
case "ArrowDown":
|
|
3420
|
-
event.
|
|
3421
|
-
if (this.canShowListOptions())
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3305
|
+
event.preventDefault();
|
|
3306
|
+
if (this.canShowListOptions()) {
|
|
3307
|
+
this.showOptions();
|
|
3308
|
+
(_a = this._comboBoxList) === null || _a === void 0 ? void 0 : _a.nextOption();
|
|
3309
|
+
}
|
|
3425
3310
|
break;
|
|
3426
3311
|
case "ArrowUp":
|
|
3427
|
-
event.
|
|
3428
|
-
if (this.canShowListOptions())
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3312
|
+
event.preventDefault();
|
|
3313
|
+
if (this.canShowListOptions()) {
|
|
3314
|
+
this.showOptions();
|
|
3315
|
+
(_b = this._comboBoxList) === null || _b === void 0 ? void 0 : _b.previousOption();
|
|
3316
|
+
}
|
|
3432
3317
|
break;
|
|
3433
3318
|
case "Enter":
|
|
3434
|
-
this.
|
|
3435
|
-
|
|
3436
|
-
this.selectCurrentOption();
|
|
3319
|
+
if (this.isOpen) {
|
|
3320
|
+
event.preventDefault();
|
|
3321
|
+
(_c = this._comboBoxList) === null || _c === void 0 ? void 0 : _c.selectCurrentOption();
|
|
3437
3322
|
}
|
|
3438
3323
|
break;
|
|
3439
3324
|
case "Escape":
|
|
3440
|
-
if (this.
|
|
3441
|
-
event.
|
|
3325
|
+
if (this.isOpen) {
|
|
3326
|
+
event.preventDefault();
|
|
3327
|
+
(_d = this._popover) === null || _d === void 0 ? void 0 : _d.hide();
|
|
3442
3328
|
}
|
|
3443
|
-
this.cancelPreselection();
|
|
3444
|
-
this.resetOptions();
|
|
3445
3329
|
break;
|
|
3446
3330
|
case "Tab":
|
|
3447
3331
|
this._tabPressed = true;
|
|
3448
|
-
if (this.
|
|
3449
|
-
this.selectCurrentOption(
|
|
3332
|
+
if (this.isOpen) {
|
|
3333
|
+
(_e = this._comboBoxList) === null || _e === void 0 ? void 0 : _e.selectCurrentOption();
|
|
3334
|
+
(_f = this._popover) === null || _f === void 0 ? void 0 : _f.hide();
|
|
3450
3335
|
}
|
|
3451
|
-
this.resetOptions();
|
|
3452
3336
|
break;
|
|
3453
3337
|
}
|
|
3454
|
-
//ATENÇÃO: Existe a necessidade de propagar o evento de teclado.
|
|
3455
|
-
//Por exemplo, quando o usuário dá um Enter, além de selecionar
|
|
3456
|
-
//um valor, também significa que a ateração finalizou,
|
|
3457
|
-
//e o contexto pode reagir (fechar um popup por exemplo).
|
|
3458
|
-
//event.stopPropagation();
|
|
3459
|
-
}
|
|
3460
|
-
//O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
|
|
3461
|
-
handleEventPropagation(event) {
|
|
3462
|
-
if (this._listContainer.hasChildNodes() && this.stopPropagateEnterKeyEvent) {
|
|
3463
|
-
event.stopPropagation();
|
|
3464
|
-
}
|
|
3465
3338
|
}
|
|
3466
3339
|
onTextInputFocusOutHandler() {
|
|
3467
3340
|
if (this.hideErrorOnFocusOut)
|
|
@@ -3470,14 +3343,15 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3470
3343
|
canShowListOptions() {
|
|
3471
3344
|
return !this._showLoading && this._visibleOptions.length > 0;
|
|
3472
3345
|
}
|
|
3346
|
+
openPopover() {
|
|
3347
|
+
var _a;
|
|
3348
|
+
this.isOpen = true;
|
|
3349
|
+
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.show();
|
|
3350
|
+
}
|
|
3473
3351
|
render() {
|
|
3352
|
+
var _a;
|
|
3474
3353
|
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
3475
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("
|
|
3476
|
-
&& this._visibleOptions.length === 0
|
|
3477
|
-
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
|
|
3478
|
-
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), this.showOptionValue
|
|
3479
|
-
? h("span", { class: "item__value item__value--hidden", ref: elem => this._itemValueBasis = elem })
|
|
3480
|
-
: undefined, this.canShowListOptions() && this._visibleOptions.map((opt, index) => this.buildItem(opt, index)))))));
|
|
3354
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: `text-input-slot-container ${this.suppressSearch ? "suppressed-search-input" : ""}`, ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), onClick: () => this.onTextInputClickHandler(), onFocusout: () => this.onTextInputFocusOutHandler(), onKeyDown: event => this.keyDownHandler(event), label: this.label, canShowError: this.canShowError, errorMessage: this.errorMessage, mode: this.mode }, h("button", { class: "btn", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, h("ez-icon", { iconName: "chevron-down" }))), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none', onEzVisibilityChange: event => this.isOpen = event.detail }, h("ez-combo-box-list", { ref: ref => this._comboBoxList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, showOptionValue: this.showOptionValue, preSelection: this._preSelection, maxWidth: this._maxWidthValue, width: (_a = this._textInput) === null || _a === void 0 ? void 0 : _a.clientWidth, onOptionSelect: (opt) => this.selectOption(opt), onOptionHover: (index) => this._preSelection = index }))));
|
|
3481
3355
|
}
|
|
3482
3356
|
get el() { return this; }
|
|
3483
3357
|
static get watchers() { return {
|
|
@@ -3494,6 +3368,137 @@ var SearchMode$1;
|
|
|
3494
3368
|
SearchMode["PREDICTIVE"] = "PREDICTIVE";
|
|
3495
3369
|
})(SearchMode$1 || (SearchMode$1 = {}));
|
|
3496
3370
|
|
|
3371
|
+
const ezComboBoxListCss = ":host{--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--font-size:var(--text--medium, 14px);--ez-combo-box--font-family:var(--font-pattern, Arial);--ez-combo-box--font-weight--large:var(--text-weight--large, 500);--ez-combo-box--font-weight--medium:var(--text-weight--medium, 400);--ez-combo-box--background-color--xlight:var(--background--xlight, #fff);--ez-combo-box--background-medium:var(--background--medium, #f0f3f7);--ez-combo-box--line-height:calc(var(--text--medium, 14px) + 4px);--ez-combo-box__list-title--primary:var(--title--primary, #2B3A54);--ez-combo-box__list-text--primary:var(--text--primary, #626e82);--ez-combo-box__list-height:calc(var(--ez-combo-box--font-size) + var(--ez-combo-box--space--medium) + 4px);--ez-combo-box--space--medium:var(--space--medium, 12px);--ez-combo-box--space--small:var(--space--small, 6px);--ez-combo-box__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-combo-box__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-combo-box__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-combo-box__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-combo-box__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-combo-box__scrollbar--width:var(--space--medium, 12px);--ez-combo-box__list-container--padding:var(--space--extra-small, 3px)}.list-container{padding-top:var(--ez-combo-box__list-container--padding)}.list-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:0;z-index:var(--more-visible, 2);max-height:calc(4*var(--ez-combo-box__list-height) + 2*var(--ez-combo-box--space--small) + 9px);background-color:var(--ez-combo-box--background-color--xlight);border-radius:var(--ez-combo-box--border-radius);box-shadow:var(--shadow--medium, 0 8px 24px 0 rgba(43, 58, 84, 0.10));padding:var(--ez-combo-box--space--small)}.list-options{box-sizing:border-box;width:100%;height:100%;padding:0;display:flex;flex-direction:column;scroll-behavior:smooth;overflow:auto;scrollbar-width:thin;gap:3px;scrollbar-color:var(--ez-combo-box__scrollbar--color-clicked) var(--ez-combo-box__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--ez-combo-box__scrollbar--color-background);width:var(--ez-combo-box__scrollbar--width);max-width:var(--ez-combo-box__scrollbar--width);min-width:var(--ez-combo-box__scrollbar--width)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-combo-box__scrollbar--color-background);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-combo-box__scrollbar--color-default);border-radius:var(--ez-combo-box__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-combo-box__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-combo-box__scrollbar--color-clicked)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-combo-box--border-radius-small);padding:var(--ez-combo-box--space--small);min-height:var(--ez-combo-box__list-height);gap:var(--space--small, 6px)}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size);line-height:var(--ez-combo-box--line-height)}.item__label{font-weight:var(--ez-combo-box--font-weight--medium)}.item__label--bold{font-weight:var(--ez-combo-box--font-weight--large)}.item__value{text-align:center;color:var(--ez-combo-box__list-text--primary);font-weight:var(--ez-combo-box--font-weight--large)}.item__value--hidden{visibility:hidden;position:absolute;white-space:nowrap;z-index:-1;top:0;left:0}.item__label{text-align:left}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;min-height:var(--ez-combo-box__list-height)}.message__no-result{color:var(--ez-combo-box__list-title--primary);font-family:var(--ez-combo-box--font-family);font-size:var(--ez-combo-box--font-size)}.message__loading{border-radius:50%;width:14px;height:14px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border:3px solid var(--ez-combo-box__list-title--primary);border-top:3px solid transparent}li:hover{background-color:var(--ez-combo-box--background-medium)}.preselected{background-color:var(--background--medium)}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
3372
|
+
|
|
3373
|
+
const EzComboBoxList$1 = class extends HTMLElement$1 {
|
|
3374
|
+
constructor() {
|
|
3375
|
+
super();
|
|
3376
|
+
this.__registerHost();
|
|
3377
|
+
this.__attachShadow();
|
|
3378
|
+
this.showLoading = undefined;
|
|
3379
|
+
this.visibleOptions = undefined;
|
|
3380
|
+
this.textEmptyList = "Nenhum resultado encontrado";
|
|
3381
|
+
this.showOptionValue = undefined;
|
|
3382
|
+
this.preSelection = undefined;
|
|
3383
|
+
this.maxWidth = undefined;
|
|
3384
|
+
this.width = undefined;
|
|
3385
|
+
this.onOptionSelect = undefined;
|
|
3386
|
+
this.onOptionHover = undefined;
|
|
3387
|
+
}
|
|
3388
|
+
/**
|
|
3389
|
+
* Move a seleção para a próxima opção na lista.
|
|
3390
|
+
*/
|
|
3391
|
+
async nextOption() {
|
|
3392
|
+
this.preSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
|
|
3393
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3394
|
+
}
|
|
3395
|
+
/**
|
|
3396
|
+
* Move a seleção para a opção anterior na lista.
|
|
3397
|
+
*/
|
|
3398
|
+
async previousOption() {
|
|
3399
|
+
this.preSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
|
|
3400
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3401
|
+
}
|
|
3402
|
+
/**
|
|
3403
|
+
* Seleciona a opção atualmente pré-selecionada.
|
|
3404
|
+
*/
|
|
3405
|
+
async selectCurrentOption() {
|
|
3406
|
+
if (this.preSelection !== undefined) {
|
|
3407
|
+
this.onOptionSelect(this.visibleOptions[this.preSelection]);
|
|
3408
|
+
this.preSelection = undefined;
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
/**
|
|
3412
|
+
* Observa mudanças na propriedade `width` e ajusta a largura da lista.
|
|
3413
|
+
*
|
|
3414
|
+
* @param newValue O novo valor da largura.
|
|
3415
|
+
* @param oldValue O valor anterior da largura.
|
|
3416
|
+
*/
|
|
3417
|
+
observeWidth(newValue, oldValue) {
|
|
3418
|
+
if (newValue === oldValue)
|
|
3419
|
+
return;
|
|
3420
|
+
if (!this._listWrapper)
|
|
3421
|
+
return;
|
|
3422
|
+
this._listWrapper.style.width = `${this.width}px`;
|
|
3423
|
+
}
|
|
3424
|
+
/**
|
|
3425
|
+
* Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
|
|
3426
|
+
*
|
|
3427
|
+
* @param newValue O novo valor da largura máxima.
|
|
3428
|
+
* @param oldValue O valor anterior da largura máxima.
|
|
3429
|
+
*/
|
|
3430
|
+
observeMaxWidth(newValue, oldValue) {
|
|
3431
|
+
if (newValue === oldValue)
|
|
3432
|
+
return;
|
|
3433
|
+
if (!this._listWrapper)
|
|
3434
|
+
return;
|
|
3435
|
+
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3436
|
+
}
|
|
3437
|
+
/**
|
|
3438
|
+
* Gerencia a navegação por teclado na lista do combo box.
|
|
3439
|
+
*
|
|
3440
|
+
* - `ArrowDown`: Move para a próxima opção.
|
|
3441
|
+
* - `ArrowUp`: Move para a opção anterior.
|
|
3442
|
+
* - `Enter`: Seleciona a opção atual.
|
|
3443
|
+
* - `Escape`: Limpa a pré-seleção.
|
|
3444
|
+
*
|
|
3445
|
+
* @param event O evento de teclado.
|
|
3446
|
+
*/
|
|
3447
|
+
handleKeyDown(event) {
|
|
3448
|
+
switch (event.key) {
|
|
3449
|
+
case "ArrowDown":
|
|
3450
|
+
event.preventDefault();
|
|
3451
|
+
event.stopPropagation();
|
|
3452
|
+
this.nextOption();
|
|
3453
|
+
break;
|
|
3454
|
+
case "ArrowUp":
|
|
3455
|
+
event.preventDefault();
|
|
3456
|
+
event.stopPropagation();
|
|
3457
|
+
this.previousOption();
|
|
3458
|
+
break;
|
|
3459
|
+
case "Enter":
|
|
3460
|
+
this.selectCurrentOption();
|
|
3461
|
+
break;
|
|
3462
|
+
case "Escape":
|
|
3463
|
+
this.preSelection = undefined;
|
|
3464
|
+
break;
|
|
3465
|
+
}
|
|
3466
|
+
}
|
|
3467
|
+
buildItem(opt, index) {
|
|
3468
|
+
const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
|
|
3469
|
+
opt.label = opt.label || opt.value;
|
|
3470
|
+
return h("li", { class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index }, this.showOptionValue
|
|
3471
|
+
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3472
|
+
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3473
|
+
}
|
|
3474
|
+
scrollToOption(opt) {
|
|
3475
|
+
window.requestAnimationFrame(() => {
|
|
3476
|
+
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value) ? this._optionsList.querySelector(`li#item_${opt.value.replace(/[ <>\[\]#=]/g, '\\$&').replace(/:/g, '\\:')}`) : undefined;
|
|
3477
|
+
if (liElem)
|
|
3478
|
+
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
3479
|
+
});
|
|
3480
|
+
}
|
|
3481
|
+
componentDidLoad() {
|
|
3482
|
+
this._listWrapper.style.width = `${this.width}px`;
|
|
3483
|
+
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3484
|
+
}
|
|
3485
|
+
componentDidRender() {
|
|
3486
|
+
var _a;
|
|
3487
|
+
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
3488
|
+
ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
|
|
3489
|
+
});
|
|
3490
|
+
}
|
|
3491
|
+
render() {
|
|
3492
|
+
return (h("section", { class: "list-container" }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading && this.visibleOptions.length === 0 && (h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList))), this.showLoading && (h("div", { class: "message" }, h("div", { class: "message__loading" }))), this.showOptionValue && (h("span", { class: "item__value item__value--hidden" })), !this.showLoading && this.visibleOptions.length > 0 &&
|
|
3493
|
+
this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
|
|
3494
|
+
}
|
|
3495
|
+
static get watchers() { return {
|
|
3496
|
+
"width": ["observeWidth"],
|
|
3497
|
+
"maxWidth": ["observeMaxWidth"]
|
|
3498
|
+
}; }
|
|
3499
|
+
static get style() { return ezComboBoxListCss; }
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3497
3502
|
const EzCustomFormInput$1 = class extends HTMLElement$1 {
|
|
3498
3503
|
constructor() {
|
|
3499
3504
|
super();
|
|
@@ -5994,7 +5999,7 @@ function buildNumeric$1(fieldName, fieldLabel, readOnly, precision, prettyPrecis
|
|
|
5994
5999
|
const buildSearch$1 = ({ name, label, readOnly, required, contextName, canShowError, optionLoader, props }) => {
|
|
5995
6000
|
var _a;
|
|
5996
6001
|
return (h("div", { class: "ez-col ez-col--sd-12" },
|
|
5997
|
-
h("ez-search", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false })));
|
|
6002
|
+
h("ez-search", { class: "ez-input__no-margin", enabled: !readOnly, suppressEmptyOption: required, label: label, "data-field-name": name, "data-context-name": contextName, key: name, canShowError: canShowError, optionLoader: optionLoader, ignoreLimitCharsToSearch: (_a = props === null || props === void 0 ? void 0 : props.ignoreLimitCharsToSearch) !== null && _a !== void 0 ? _a : false })));
|
|
5998
6003
|
};
|
|
5999
6004
|
|
|
6000
6005
|
const buildTextArea = ({ name, label, readOnly, contextName, rows, canShowError }) => {
|
|
@@ -70920,6 +70925,7 @@ class AgGridController {
|
|
|
70920
70925
|
this.RECORD_ARCHIVE_COL_ID = '__RECORD_ARCHIVE__';
|
|
70921
70926
|
this.BLOCK_LOAD_DEBOUNCE = 100;
|
|
70922
70927
|
this.DEFAULT_FONT_SIZE = 14;
|
|
70928
|
+
this.DEFAULT_FONT_SIZE_HTML5 = 32;
|
|
70923
70929
|
this.DEFAULT_ICON_SIZE = 12;
|
|
70924
70930
|
this.DEFAULT_MAX_SIZE = 200;
|
|
70925
70931
|
this.DOC_WIDTH = 800;
|
|
@@ -71985,6 +71991,10 @@ class AgGridController {
|
|
|
71985
71991
|
if (cfgColumn.customWidth != undefined) {
|
|
71986
71992
|
return cfgColumn.customWidth;
|
|
71987
71993
|
}
|
|
71994
|
+
if (cfgColumn.width != undefined && !isNaN(cfgColumn.width)) {
|
|
71995
|
+
// TODO: Valor somado devido a divergência do tamanho das fontes entre HTML5 e Design System.
|
|
71996
|
+
return parseInt(cfgColumn.width) + this.DEFAULT_FONT_SIZE_HTML5;
|
|
71997
|
+
}
|
|
71988
71998
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
71989
71999
|
if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
|
|
71990
72000
|
return this.DEFAULT_MAX_SIZE;
|
|
@@ -72565,6 +72575,20 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72565
72575
|
.then(() => this.resetPaginationState());
|
|
72566
72576
|
}
|
|
72567
72577
|
}
|
|
72578
|
+
nextRecord() {
|
|
72579
|
+
if (this.dataUnit) {
|
|
72580
|
+
if (this.dataUnit.getSelectionInfo().records.length === 0) {
|
|
72581
|
+
this.dataUnit.selectFirst();
|
|
72582
|
+
return;
|
|
72583
|
+
}
|
|
72584
|
+
this.dataUnit.nextRecord();
|
|
72585
|
+
}
|
|
72586
|
+
}
|
|
72587
|
+
previousRecord() {
|
|
72588
|
+
if (this.dataUnit) {
|
|
72589
|
+
this.dataUnit.previousRecord();
|
|
72590
|
+
}
|
|
72591
|
+
}
|
|
72568
72592
|
resetPaginationState() {
|
|
72569
72593
|
var _a;
|
|
72570
72594
|
this._paginationChangedByKeyboard = false;
|
|
@@ -72647,6 +72671,7 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72647
72671
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
72648
72672
|
if (this.paginationCounterMode === 'auto')
|
|
72649
72673
|
this._initHeaderOverflowWatcher();
|
|
72674
|
+
this.initKeyboardManager();
|
|
72650
72675
|
}
|
|
72651
72676
|
handlePaginationChange(selectFirstRecord, paginationInfo) {
|
|
72652
72677
|
var _a;
|
|
@@ -72713,6 +72738,7 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72713
72738
|
var _a, _b;
|
|
72714
72739
|
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
72715
72740
|
(_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
|
|
72741
|
+
this.removeShortcuts();
|
|
72716
72742
|
}
|
|
72717
72743
|
connectedCallback() {
|
|
72718
72744
|
var _a;
|
|
@@ -72751,6 +72777,45 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72751
72777
|
return "left__header-expanded";
|
|
72752
72778
|
return "left__header-contracted";
|
|
72753
72779
|
}
|
|
72780
|
+
async initKeyboardManager() {
|
|
72781
|
+
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element });
|
|
72782
|
+
this._keyboardManager
|
|
72783
|
+
.bind("ctrl + .", () => {
|
|
72784
|
+
if (!this._paginationInfo)
|
|
72785
|
+
return;
|
|
72786
|
+
this.nextRecord();
|
|
72787
|
+
}, { description: "Avança para o próximo registro.", element: this._element })
|
|
72788
|
+
.bind("ctrl + ,", () => {
|
|
72789
|
+
if (!this._paginationInfo)
|
|
72790
|
+
return;
|
|
72791
|
+
this.previousRecord();
|
|
72792
|
+
}, { description: "Retorna ao registro anterior.", element: this._element })
|
|
72793
|
+
.bind("ctrl + alt + ArrowLeft", () => {
|
|
72794
|
+
if (!this._paginationInfo)
|
|
72795
|
+
return;
|
|
72796
|
+
const { currentPage } = this._paginationInfo;
|
|
72797
|
+
if (currentPage > 0) {
|
|
72798
|
+
this.previousPage();
|
|
72799
|
+
}
|
|
72800
|
+
}, { description: "Retorna a pagina anterior.", element: this._element })
|
|
72801
|
+
.bind("ctrl + alt + ArrowRight", () => {
|
|
72802
|
+
if (!this._paginationInfo)
|
|
72803
|
+
return;
|
|
72804
|
+
const { hasMore } = this._paginationInfo;
|
|
72805
|
+
if (hasMore) {
|
|
72806
|
+
this.nextPage();
|
|
72807
|
+
}
|
|
72808
|
+
}, { description: "Avança para a próxima página.", element: this._element });
|
|
72809
|
+
}
|
|
72810
|
+
async removeShortcuts() {
|
|
72811
|
+
if (this._keyboardManager) {
|
|
72812
|
+
this._keyboardManager
|
|
72813
|
+
.unbind("ctrl + .")
|
|
72814
|
+
.unbind("ctrl + ,")
|
|
72815
|
+
.unbind("ctrl + alt + ArrowLeft")
|
|
72816
|
+
.unbind("ctrl + alt + ArrowRight");
|
|
72817
|
+
}
|
|
72818
|
+
}
|
|
72754
72819
|
render() {
|
|
72755
72820
|
var _a;
|
|
72756
72821
|
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: {
|
|
@@ -75437,9 +75502,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
75437
75502
|
});
|
|
75438
75503
|
};
|
|
75439
75504
|
|
|
75440
|
-
const
|
|
75505
|
+
const ezPopoverCoreCss = ":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--most-visible, 4);position:relative;display:flex;user-select:none}.popover__overlay{display:none;position:fixed;padding:0;top:0px;left:0px;width:100%;height:100vh;box-sizing:border-box;z-index:var(--more-visible--2x, 3)}.popover__overlay--light{background-color:rgba(var(--rgb-background--overlay), var(--opacity--bright))}.popover__overlay--medium{background-color:rgba(var(--rgb-background--overlay), var(--opacity--soft));backdrop-filter:blur(var(--background-blur--medium))}.popover__box{display:none;position:fixed;top:0;left:0;z-index:var(--ez-popover__box--z-index);flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.popover__box--fit-content{width:fit-content}.popover__box--full-width{width:calc(100% - 10px)}";
|
|
75441
75506
|
|
|
75442
|
-
const
|
|
75507
|
+
const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
75443
75508
|
constructor() {
|
|
75444
75509
|
super();
|
|
75445
75510
|
this.__registerHost();
|
|
@@ -75454,16 +75519,16 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75454
75519
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75455
75520
|
}
|
|
75456
75521
|
async observeOpened(newValue, oldValue) {
|
|
75457
|
-
if (newValue
|
|
75458
|
-
if (newValue) {
|
|
75459
|
-
this.openPopover();
|
|
75460
|
-
}
|
|
75461
|
-
else {
|
|
75462
|
-
this.hidePopover();
|
|
75463
|
-
}
|
|
75464
|
-
this.ezVisibilityChange.emit(newValue);
|
|
75522
|
+
if (newValue === oldValue)
|
|
75465
75523
|
return;
|
|
75524
|
+
if (newValue) {
|
|
75525
|
+
this.openPopover();
|
|
75466
75526
|
}
|
|
75527
|
+
else {
|
|
75528
|
+
this.hidePopover();
|
|
75529
|
+
}
|
|
75530
|
+
this.ezVisibilityChange.emit(newValue);
|
|
75531
|
+
return;
|
|
75467
75532
|
}
|
|
75468
75533
|
/**
|
|
75469
75534
|
* Atualiza a posição do popover.
|
|
@@ -75557,12 +75622,14 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75557
75622
|
if (!this._box) {
|
|
75558
75623
|
return;
|
|
75559
75624
|
}
|
|
75560
|
-
this.
|
|
75561
|
-
|
|
75562
|
-
|
|
75563
|
-
|
|
75564
|
-
|
|
75565
|
-
|
|
75625
|
+
if (this.opened) {
|
|
75626
|
+
this._box.style.display = 'flex';
|
|
75627
|
+
this._box.style.visibility = 'hidden';
|
|
75628
|
+
await this.updatePositionPopover();
|
|
75629
|
+
this.openOverlay();
|
|
75630
|
+
this.ezVisibilityChange.emit(true);
|
|
75631
|
+
this._box.style.visibility = 'visible';
|
|
75632
|
+
}
|
|
75566
75633
|
}
|
|
75567
75634
|
openOverlay() {
|
|
75568
75635
|
if (!this._overlay || !this._overlayIsActive) {
|
|
@@ -75602,6 +75669,7 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75602
75669
|
this._overlayIsActive = this.checkStatusOverlay();
|
|
75603
75670
|
this._resizeObserver = new ResizeObserver(this.updatePositionPopover.bind(this));
|
|
75604
75671
|
this._resizeObserver.observe(this._box);
|
|
75672
|
+
this.openPopover();
|
|
75605
75673
|
}
|
|
75606
75674
|
disconnectedCallback() {
|
|
75607
75675
|
window.removeEventListener('scroll', this.updatePositionDebounce.bind(this), true);
|
|
@@ -75619,6 +75687,103 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75619
75687
|
static get watchers() { return {
|
|
75620
75688
|
"opened": ["observeOpened"]
|
|
75621
75689
|
}; }
|
|
75690
|
+
static get style() { return ezPopoverCoreCss; }
|
|
75691
|
+
};
|
|
75692
|
+
|
|
75693
|
+
const ezPopoverPlusCss = ":host{display:none}";
|
|
75694
|
+
|
|
75695
|
+
const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
75696
|
+
constructor() {
|
|
75697
|
+
super();
|
|
75698
|
+
this.__registerHost();
|
|
75699
|
+
this.__attachShadow();
|
|
75700
|
+
this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
|
|
75701
|
+
this.autoClose = true;
|
|
75702
|
+
this.boxWidth = "fit-content";
|
|
75703
|
+
this.opened = false;
|
|
75704
|
+
this.overlayType = "light";
|
|
75705
|
+
this.anchorElement = undefined;
|
|
75706
|
+
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75707
|
+
}
|
|
75708
|
+
listenerEzVisibilityChange({ detail }) {
|
|
75709
|
+
this.ezVisibilityChange.emit(detail);
|
|
75710
|
+
}
|
|
75711
|
+
async observeOpened(newValue) {
|
|
75712
|
+
if (newValue && !this._popOverCore) {
|
|
75713
|
+
this.renderPopoverCore();
|
|
75714
|
+
}
|
|
75715
|
+
this._popOverCore.opened = newValue;
|
|
75716
|
+
}
|
|
75717
|
+
/**
|
|
75718
|
+
* Atualiza a posição do popover.
|
|
75719
|
+
*/
|
|
75720
|
+
async updatePosition(top, left) {
|
|
75721
|
+
var _a;
|
|
75722
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.updatePosition(top, left));
|
|
75723
|
+
}
|
|
75724
|
+
/**
|
|
75725
|
+
* Exibe o ez-popover.
|
|
75726
|
+
*/
|
|
75727
|
+
async show(top, left) {
|
|
75728
|
+
if (!this._popOverCore) {
|
|
75729
|
+
this.renderPopoverCore();
|
|
75730
|
+
}
|
|
75731
|
+
await this._popOverCore.show(top, left);
|
|
75732
|
+
}
|
|
75733
|
+
/**
|
|
75734
|
+
* Ancora a exibição do popOver a um elemento HTML.
|
|
75735
|
+
*/
|
|
75736
|
+
async showUnder(element, options) {
|
|
75737
|
+
if (!this._popOverCore) {
|
|
75738
|
+
this.renderPopoverCore();
|
|
75739
|
+
}
|
|
75740
|
+
await this._popOverCore.showUnder(element, options);
|
|
75741
|
+
}
|
|
75742
|
+
/**
|
|
75743
|
+
* Oculta o ez-popover.
|
|
75744
|
+
*/
|
|
75745
|
+
async hide() {
|
|
75746
|
+
var _a;
|
|
75747
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.hide());
|
|
75748
|
+
}
|
|
75749
|
+
/**
|
|
75750
|
+
* Altera as opções.
|
|
75751
|
+
*/
|
|
75752
|
+
async setOptions(options) {
|
|
75753
|
+
var _a;
|
|
75754
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setOptions(options));
|
|
75755
|
+
}
|
|
75756
|
+
/**
|
|
75757
|
+
* Altera o elemento de ancoragem.
|
|
75758
|
+
*/
|
|
75759
|
+
async setAnchorElement(anchor) {
|
|
75760
|
+
var _a;
|
|
75761
|
+
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setAnchorElement(anchor));
|
|
75762
|
+
}
|
|
75763
|
+
renderPopoverCore() {
|
|
75764
|
+
this._popOverCore = document.createElement('ez-popover-core');
|
|
75765
|
+
this._popOverCore.opened = this.opened;
|
|
75766
|
+
this._popOverCore.anchorElement = this.anchorElement;
|
|
75767
|
+
this._popOverCore.autoClose = this.autoClose;
|
|
75768
|
+
this._popOverCore.boxWidth = this.boxWidth;
|
|
75769
|
+
this._popOverCore.overlayType = this.overlayType;
|
|
75770
|
+
this._popOverCore.options = this.options;
|
|
75771
|
+
const firstChild = this._host.children.item(0);
|
|
75772
|
+
if (firstChild) {
|
|
75773
|
+
this._popOverCore.appendChild(firstChild);
|
|
75774
|
+
}
|
|
75775
|
+
else {
|
|
75776
|
+
console.warn('O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.');
|
|
75777
|
+
}
|
|
75778
|
+
document.body.appendChild(this._popOverCore);
|
|
75779
|
+
}
|
|
75780
|
+
render() {
|
|
75781
|
+
return (h(Host, null, h("slot", null)));
|
|
75782
|
+
}
|
|
75783
|
+
get _host() { return this; }
|
|
75784
|
+
static get watchers() { return {
|
|
75785
|
+
"opened": ["observeOpened"]
|
|
75786
|
+
}; }
|
|
75622
75787
|
static get style() { return ezPopoverPlusCss; }
|
|
75623
75788
|
};
|
|
75624
75789
|
|
|
@@ -75759,7 +75924,7 @@ const EzRadioButton$1 = class extends HTMLElement$1 {
|
|
|
75759
75924
|
static get style() { return ezRadioButtonCss; }
|
|
75760
75925
|
};
|
|
75761
75926
|
|
|
75762
|
-
const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
|
|
75927
|
+
const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;--ez-scroller__scrollbar--padding-right:var(--space-extra-small, 3px);display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row;padding-right:var(--ez-scroller__scrollbar--padding-right)}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
|
|
75763
75928
|
|
|
75764
75929
|
const EzScroller$1 = class extends HTMLElement$1 {
|
|
75765
75930
|
constructor() {
|
|
@@ -80409,7 +80574,8 @@ const EzChart = /*@__PURE__*/proxyCustomElement(EzChart$1, [1,"ez-chart",{"type"
|
|
|
80409
80574
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
|
|
80410
80575
|
const EzChip = /*@__PURE__*/proxyCustomElement(EzChip$1, [1,"ez-chip",{"label":[513],"enabled":[516],"removePosition":[513,"remove-position"],"mode":[513],"value":[1540],"showNativeTooltip":[4,"show-native-tooltip"]}]);
|
|
80411
80576
|
const EzCollapsibleBox = /*@__PURE__*/proxyCustomElement(EzCollapsibleBox$1, [1,"ez-collapsible-box",{"value":[1540],"boxBordered":[4,"box-bordered"],"label":[513],"subtitle":[513],"headerSize":[513,"header-size"],"iconPlacement":[513,"icon-placement"],"headerAlign":[513,"header-align"],"removable":[516],"editable":[516],"conditionalSave":[16],"_activeEditText":[32]}]);
|
|
80412
|
-
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32]
|
|
80577
|
+
const EzComboBox = /*@__PURE__*/proxyCustomElement(EzComboBox$1, [1,"ez-combo-box",{"limitCharsToSearch":[2,"limit-chars-to-search"],"value":[1537],"label":[513],"enabled":[516],"options":[1040],"errorMessage":[1537,"error-message"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressSearch":[4,"suppress-search"],"optionLoader":[16],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"canShowError":[516,"can-show-error"],"mode":[513],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"autoFocus":[4,"auto-focus"],"isOpen":[32],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_criteria":[32],"_textInputReady":[32]}]);
|
|
80578
|
+
const EzComboBoxList = /*@__PURE__*/proxyCustomElement(EzComboBoxList$1, [1,"ez-combo-box-list",{"showLoading":[4,"show-loading"],"visibleOptions":[16],"textEmptyList":[1,"text-empty-list"],"showOptionValue":[4,"show-option-value"],"preSelection":[2,"pre-selection"],"maxWidth":[2,"max-width"],"width":[2],"onOptionSelect":[16],"onOptionHover":[16]},[[0,"keydown","handleKeyDown"]]]);
|
|
80413
80579
|
const EzCustomFormInput = /*@__PURE__*/proxyCustomElement(EzCustomFormInput$1, [2,"ez-custom-form-input",{"customEditor":[16],"formViewField":[16],"value":[1032],"detailContext":[1,"detail-context"],"builderFallback":[16],"selectedRecord":[16],"gui":[32]}]);
|
|
80414
80580
|
const EzDateInput = /*@__PURE__*/proxyCustomElement(EzDateInput$1, [1,"ez-date-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"mode":[513],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
|
|
80415
80581
|
const EzDateTimeInput = /*@__PURE__*/proxyCustomElement(EzDateTimeInput$1, [1,"ez-date-time-input",{"label":[513],"value":[1040],"enabled":[516],"errorMessage":[1537,"error-message"],"showSeconds":[516,"show-seconds"],"mode":[513],"canShowError":[516,"can-show-error"],"autoFocus":[4,"auto-focus"]}]);
|
|
@@ -80430,7 +80596,8 @@ const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,
|
|
|
80430
80596
|
const EzMultiSelectionList = /*@__PURE__*/proxyCustomElement(EzMuiltiSelectionList, [2,"ez-multi-selection-list",{"columnName":[1,"column-name"],"dataSource":[16],"useOptions":[1028,"use-options"],"options":[1040],"isTextSearch":[4,"is-text-search"],"filteredOptions":[32],"displayOptions":[32],"viewScenario":[32],"displayOptionToCheckAllItems":[32]}]);
|
|
80431
80597
|
const EzNumberInput = /*@__PURE__*/proxyCustomElement(EzNumberInput$1, [1,"ez-number-input",{"label":[1],"value":[1538],"enabled":[4],"canShowError":[516,"can-show-error"],"errorMessage":[1537,"error-message"],"allowNegative":[4,"allow-negative"],"precision":[2],"prettyPrecision":[2,"pretty-precision"],"mode":[513],"autoFocus":[4,"auto-focus"],"_value":[32]}]);
|
|
80432
80598
|
const EzPopover = /*@__PURE__*/proxyCustomElement(EzPopover$1, [1,"ez-popover",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"innerElement":[1537,"inner-element"],"overlayType":[513,"overlay-type"]}]);
|
|
80433
|
-
const
|
|
80599
|
+
const EzPopoverCore = /*@__PURE__*/proxyCustomElement(EzPopoverCore$1, [1,"ez-popover-core",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040]}]);
|
|
80600
|
+
const EzPopoverPlus = /*@__PURE__*/proxyCustomElement(EzPopoverPlus$1, [1,"ez-popover-plus",{"autoClose":[516,"auto-close"],"boxWidth":[513,"box-width"],"opened":[1540],"overlayType":[513,"overlay-type"],"anchorElement":[1537,"anchor-element"],"options":[1040]},[[0,"ezVisibilityChange","listenerEzVisibilityChange"]]]);
|
|
80434
80601
|
const EzPopup = /*@__PURE__*/proxyCustomElement(EzPopup$1, [1,"ez-popup",{"size":[1],"opened":[1540],"useHeader":[516,"use-header"],"heightMode":[513,"height-mode"],"ezTitle":[1,"ez-title"],"enabledScroll":[4,"enabled-scroll"]}]);
|
|
80435
80602
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
80436
80603
|
const EzScroller = /*@__PURE__*/proxyCustomElement(EzScroller$1, [1,"ez-scroller",{"direction":[1],"locked":[4],"activeShadow":[4,"active-shadow"],"isActive":[32]},[[2,"click","clickListener"],[1,"mousedown","mouseDownHandler"],[1,"mouseup","mouseUpHandler"],[1,"mousemove","mouseMoveHandler"]]]);
|
|
@@ -80470,6 +80637,7 @@ const defineCustomElements = (opts) => {
|
|
|
80470
80637
|
EzChip,
|
|
80471
80638
|
EzCollapsibleBox,
|
|
80472
80639
|
EzComboBox,
|
|
80640
|
+
EzComboBoxList,
|
|
80473
80641
|
EzCustomFormInput,
|
|
80474
80642
|
EzDateInput,
|
|
80475
80643
|
EzDateTimeInput,
|
|
@@ -80490,6 +80658,7 @@ const defineCustomElements = (opts) => {
|
|
|
80490
80658
|
EzMultiSelectionList,
|
|
80491
80659
|
EzNumberInput,
|
|
80492
80660
|
EzPopover,
|
|
80661
|
+
EzPopoverCore,
|
|
80493
80662
|
EzPopoverPlus,
|
|
80494
80663
|
EzPopup,
|
|
80495
80664
|
EzRadioButton,
|
|
@@ -80521,4 +80690,4 @@ const defineCustomElements = (opts) => {
|
|
|
80521
80690
|
}
|
|
80522
80691
|
};
|
|
80523
80692
|
|
|
80524
|
-
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzChart, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzCustomFormInput, EzDateInput, EzDateTimeInput, EzDialog, EzDoubleList, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopoverPlus, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSidebarNavigator, EzSkeleton, EzSplitButton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTooltip, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|
|
80693
|
+
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzChart, EzCheck, EzChip, EzCollapsibleBox, EzComboBox, EzComboBoxList, EzCustomFormInput, EzDateInput, EzDateTimeInput, EzDialog, EzDoubleList, EzDropdown, EzFileItem, EzFilterInput, EzForm, EzFormView, EzGrid, EzGuideNavigator, EzIcon, EzList, EzLoadingBar, EzModal, EzModalContainer, EzMultiSelectionList, EzNumberInput, EzPopover, EzPopoverCore, EzPopoverPlus, EzPopup, EzRadioButton, EzScroller, EzSearch, EzSidebarButton, EzSidebarNavigator, EzSkeleton, EzSplitButton, EzSplitItem, EzSplitPanel, EzTabselector, EzTextArea, EzTextEdit, EzTextInput, EzTimeInput, EzToast, EzTooltip, EzTree, EzUpload, EzViewStack, FilterColumn, MultiSelectionBoxMessage, defineCustomElements };
|