@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-83282.0 → 0.0.0-bugfix-dev-KB-75065.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +15 -3
- 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 +1 -1
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +1 -1
- package/dist/cjs/ez-combo-box.cjs.entry.js +185 -59
- package/dist/cjs/ez-custom-form-input_2.cjs.entry.js +236 -0
- 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 +1 -1
- package/dist/cjs/ez-form.cjs.entry.js +1 -1
- package/dist/cjs/ez-grid.cjs.entry.js +1 -59
- 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-popover-core_2.cjs.entry.js → ez-multi-selection-list_2.cjs.entry.js} +197 -116
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- 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 +1 -1
- 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-a7b0c73d.js → index-9e5554cb.js} +7 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +0 -2
- package/dist/collection/components/ez-badge/ez-badge.css +12 -1
- package/dist/collection/components/ez-badge/ez-badge.js +31 -1
- package/dist/collection/components/ez-combo-box/ez-combo-box.css +250 -0
- package/dist/collection/components/ez-combo-box/ez-combo-box.js +194 -61
- package/dist/collection/components/ez-grid/controller/ag-grid/AgGridController.js +0 -3
- package/dist/collection/components/ez-grid/ez-grid.js +1 -56
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.css +64 -0
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +127 -47
- package/dist/custom-elements/index.d.ts +0 -12
- package/dist/custom-elements/index.js +218 -394
- 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 +15 -3
- 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 +1 -1
- package/dist/esm/ez-collapsible-box.entry.js +1 -1
- package/dist/esm/ez-combo-box.entry.js +186 -60
- package/dist/esm/ez-custom-form-input_2.entry.js +231 -0
- 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 +1 -1
- package/dist/esm/ez-form.entry.js +1 -1
- package/dist/esm/ez-grid.entry.js +2 -60
- 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-popover-core_2.entry.js → ez-multi-selection-list_2.entry.js} +197 -116
- package/dist/esm/ez-number-input.entry.js +1 -1
- 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 +1 -1
- 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-baa5e267.js → index-5a720e56.js} +7 -9
- package/dist/esm/loader.js +3 -3
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-000159dc.entry.js +1 -0
- package/dist/ezui/{p-44caad9a.entry.js → p-0378416a.entry.js} +1 -1
- package/dist/ezui/{p-65f471bc.entry.js → p-03b0ed5a.entry.js} +1 -1
- package/dist/ezui/{p-5b205c80.entry.js → p-044d46d5.entry.js} +1 -1
- package/dist/ezui/{p-a4cee65d.entry.js → p-0cfbbe82.entry.js} +1 -1
- package/dist/ezui/{p-77a4bd35.entry.js → p-11bfeca3.entry.js} +1 -1
- package/dist/ezui/{p-7e677b7b.entry.js → p-2069c78a.entry.js} +1 -1
- package/dist/ezui/{p-31b71e50.entry.js → p-23dab72f.entry.js} +1 -1
- package/dist/ezui/{p-17eabf46.entry.js → p-24b42f3d.entry.js} +1 -1
- package/dist/ezui/{p-556468d9.entry.js → p-3791d9c8.entry.js} +1 -1
- package/dist/ezui/{p-1ad6c61b.entry.js → p-3885e66e.entry.js} +1 -1
- package/dist/ezui/p-3af64edd.entry.js +1 -0
- package/dist/ezui/{p-fa6732f2.entry.js → p-44b39e81.entry.js} +1 -1
- package/dist/ezui/{p-c1527804.entry.js → p-4818b8ce.entry.js} +1 -1
- package/dist/ezui/{p-d9548bdf.entry.js → p-5010315a.entry.js} +1 -1
- package/dist/ezui/{p-ea54d056.entry.js → p-68b2e579.entry.js} +1 -1
- package/dist/ezui/{p-1f50fa05.entry.js → p-6b51c9cc.entry.js} +1 -1
- package/dist/ezui/{p-2bb2a0c4.entry.js → p-6d31c43c.entry.js} +1 -1
- package/dist/ezui/{p-6cdd3e0a.entry.js → p-6d8b3298.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-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-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-0fa52b0f.entry.js → p-88c615f0.entry.js} +1 -1
- package/dist/ezui/{p-56fe5341.entry.js → p-9066b0b0.entry.js} +1 -1
- package/dist/ezui/{p-09de35a2.entry.js → p-91ccae0c.entry.js} +1 -1
- package/dist/ezui/{p-c0d9c4f8.entry.js → p-92748142.entry.js} +1 -1
- package/dist/ezui/{p-0faf71c5.entry.js → p-92fbaf2b.entry.js} +1 -1
- package/dist/ezui/{p-e6a9041d.entry.js → p-9e95bfeb.entry.js} +1 -1
- package/dist/ezui/{p-3195a7a7.entry.js → p-9fc250d4.entry.js} +1 -1
- package/dist/ezui/{p-53116373.entry.js → p-a3319796.entry.js} +46 -46
- package/dist/ezui/{p-990b4318.entry.js → p-a921e3e7.entry.js} +1 -1
- package/dist/ezui/{p-3429080c.entry.js → p-b22889ea.entry.js} +1 -1
- package/dist/ezui/{p-17be134a.entry.js → p-b2f6bc0a.entry.js} +1 -1
- package/dist/ezui/{p-cb1535f7.entry.js → p-b9282c79.entry.js} +1 -1
- package/dist/ezui/{p-e347df9c.entry.js → p-bef7daac.entry.js} +1 -1
- package/dist/ezui/{p-9f5fa3f9.entry.js → p-c2b20f78.entry.js} +1 -1
- package/dist/ezui/{p-17de16e5.entry.js → p-c96fbbef.entry.js} +1 -1
- package/dist/ezui/{p-2f45506d.entry.js → p-ca8936df.entry.js} +1 -1
- package/dist/ezui/p-cba34702.entry.js +1 -0
- package/dist/ezui/{p-20c024f7.entry.js → p-cf33bc48.entry.js} +1 -1
- package/dist/ezui/{p-58783dcf.entry.js → p-cf3b60fd.entry.js} +1 -1
- package/dist/ezui/{p-a80b1287.entry.js → p-dfca5946.entry.js} +1 -1
- package/dist/ezui/{p-7fdd479f.entry.js → p-e18d9e6a.entry.js} +1 -1
- package/dist/ezui/{p-fd0a19d6.entry.js → p-e3f8660b.entry.js} +1 -1
- package/dist/ezui/{p-23a36bb6.js → p-e4c7eb39.js} +2 -2
- package/dist/ezui/{p-0306dff7.entry.js → p-e6b38ade.entry.js} +1 -1
- package/dist/ezui/{p-b26f6c5b.entry.js → p-f30e0590.entry.js} +1 -1
- package/dist/ezui/{p-cf87aacb.entry.js → p-f4da7e1e.entry.js} +1 -1
- package/dist/ezui/{p-6e429cff.entry.js → p-fc194825.entry.js} +1 -1
- package/dist/ezui/p-fcc78b7f.entry.js +1 -0
- package/dist/types/components/ez-badge/ez-badge.d.ts +5 -0
- package/dist/types/components/ez-combo-box/ez-combo-box.d.ts +16 -7
- package/dist/types/components/ez-grid/ez-grid.d.ts +0 -5
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +19 -6
- package/dist/types/components.d.ts +11 -218
- package/package.json +1 -1
- package/react/components.d.ts +0 -2
- package/react/components.js +0 -2
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +0 -387
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +0 -186
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.css +0 -205
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +0 -426
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +0 -67
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +0 -468
- package/dist/esm/ez-combo-box-list_3.entry.js +0 -381
- package/dist/esm/ez-multi-selection-list.entry.js +0 -182
- package/dist/ezui/p-3a009184.entry.js +0 -1
- package/dist/ezui/p-650e4b6d.entry.js +0 -1
- package/dist/ezui/p-7bd15498.entry.js +0 -1
- package/dist/ezui/p-bc2f844e.entry.js +0 -1
- package/dist/ezui/p-dc73e1fe.entry.js +0 -1
- package/dist/ezui/p-f5931caa.entry.js +0 -1
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +0 -104
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +0 -81
|
@@ -1382,7 +1382,7 @@ var Sizes;
|
|
|
1382
1382
|
Sizes["EXTRA_SMALL"] = "extra-small";
|
|
1383
1383
|
})(Sizes || (Sizes = {}));
|
|
1384
1384
|
|
|
1385
|
-
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center
|
|
1385
|
+
const ezBadgeCss = ":host{--ez-badge--size-2xs:var(--space--2xs, 8px);--ez-badge--size-xs:var(--space--xs, 12px);--ez-badge--size-sm:var(--space--sm, 16px);--ez-badge--size-md:var(--space--md, 20px);--ez-badge--size-lg:var(--space--lg, 24px);--ez-badge--size-xl:var(--space--xl, 32px);--ez-badge--padding-2xs:0;--ez-badge--padding-xs:var(--space--nano, 2px);--ez-badge--padding-sm:calc(var(--space--nano, 2px) + 1px);--ez-badge--padding-md:var(--space--3xs, 4px);--ez-badge--padding-lg:calc(var(--space--3xs, 4px) + 2px);--ez-badge--padding-xl:var(--space--2xs);--ez-badge--border-radius:calc(var(--border--radius-medium, 12px) + 8px);--ez-badge--font-family:var(--font-pattern, Roboto);--ez-badge--font-weight-medium:var(--text-weight--medium, 400);--ez-badge--background-color:var(--color--primary, #008561);--ez-badge--border-none:0;--ez-badge--color:var(--text--inverted, #ffffff);--ez-badge--gap:calc(var(--ez-badge--padding-xs) + 1px);--ez-badge--font-size-md:var(--text--medium);--ez-badge--font-size-sm:var(--text--medium);--ez-badge--font-size-xs:var(--text--small)}ez-icon{--ez-icon--color:inherit}.badge{display:flex;justify-content:center;align-items:center;position:relative}.badge__content{font-family:var(--ez-badge--font-family, Roboto);font-weight:var(--ez-badge--font-weight-medium, 400);background-color:var(--ez-badge--background-color, #008561);border:var(--ez-badge--border-none, 0);color:var(--ez-badge--color, #ffffff);border-radius:var(--ez-badge--border-radius, 20px);gap:var(--ez-badge--gap, 3px);display:flex;justify-content:center}.badge__content--fill-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px)}.badge__content--fill-2xs{height:var(--ez-badge--size-2xs, 8px);min-width:var(--ez-badge--size-2xs, 8px)}.badge__content--text-md{height:calc(var(--ez-badge--size-md, 20px) - 2px);min-width:var(--ez-badge--size-sm, 20px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-md)}.badge__content--text-sm{height:calc(var(--ez-badge--size-sm, 16px) - 2px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-sm);padding-bottom:var(--ez-badge--padding-sm);padding-right:var(--ez-badge--padding-xl);padding-left:var(--ez-badge--padding-xl);font-size:var(--ez-badge--font-size-sm)}.badge__content--text-xs{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding-top:var(--ez-badge--padding-2xs);padding-bottom:var(--ez-badge--padding-2xs);padding-right:var(--ez-badge--padding-lg);padding-left:var(--ez-badge--padding-lg);font-size:var(--ez-badge--font-size-xs)}.badge__content--icon-lg{height:var(--ez-badge--size-lg, 24px);min-width:var(--ez-badge--size-lg, 24px);padding:var(--ez-badge--padding-md)}.badge__content--icon-md{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-md)}.badge__content--icon-sm{height:var(--ez-badge--size-sm, 16px);min-width:var(--ez-badge--size-sm, 16px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-xs{height:var(--ez-badge--size-xs, 12px);min-width:var(--ez-badge--size-xs, 12px);padding:var(--ez-badge--padding-xs)}.badge__content--icon-align-center{align-items:center}.badge__content--icon-align-start{align-items:flex-start}.badge__content--icon-align-end{align-items:flex-end}.badge__content--fill{position:absolute;top:0;inset-inline-end:0;z-index:var(--most-visible, 2)}.badge__content--fill-top-right{transform:translate(50%, -50%);position:absolute;top:0;right:0}.badge__content--fill-top-left{transform:translate(-50%, -50%);position:absolute;top:0;left:0}.badge__content--fill-bottom-left{transform:translate(-50%, 50%);position:absolute;bottom:0;left:0}.badge__content--fill-bottom-right{transform:translate(50%, 50%);position:absolute;bottom:0;right:0}";
|
|
1386
1386
|
|
|
1387
1387
|
const EzBadge$1 = class extends HTMLElement$1 {
|
|
1388
1388
|
constructor() {
|
|
@@ -1415,6 +1415,7 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1415
1415
|
this.iconLeft = undefined;
|
|
1416
1416
|
this.iconRight = undefined;
|
|
1417
1417
|
this.position = { horizontal: "right", vertical: "top" };
|
|
1418
|
+
this.alignItems = "center";
|
|
1418
1419
|
}
|
|
1419
1420
|
getIconSize() {
|
|
1420
1421
|
switch (this.size) {
|
|
@@ -1429,6 +1430,16 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1429
1430
|
return null;
|
|
1430
1431
|
}
|
|
1431
1432
|
}
|
|
1433
|
+
getAlignItemsClass() {
|
|
1434
|
+
switch (this.alignItems) {
|
|
1435
|
+
case "flex-end":
|
|
1436
|
+
return "end";
|
|
1437
|
+
case "flex-start":
|
|
1438
|
+
return "start";
|
|
1439
|
+
default:
|
|
1440
|
+
return "center";
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1432
1443
|
componentDidLoad() {
|
|
1433
1444
|
if (this._element) {
|
|
1434
1445
|
ElementIDUtils.addIDInfo(this._element);
|
|
@@ -1452,7 +1463,8 @@ const EzBadge$1 = class extends HTMLElement$1 {
|
|
|
1452
1463
|
}
|
|
1453
1464
|
createContainerClassName() {
|
|
1454
1465
|
let sizeSufix = this._sizes[this.size].sufix;
|
|
1455
|
-
let
|
|
1466
|
+
let alignItemsClass = "badge__content--icon-align-" + this.getAlignItemsClass();
|
|
1467
|
+
let containerClassNames = ["badge__content", alignItemsClass];
|
|
1456
1468
|
if (this.hasSlot) {
|
|
1457
1469
|
containerClassNames.push("badge__content--fill-" + sizeSufix);
|
|
1458
1470
|
if (this.position.vertical == "bottom" && this.position.horizontal == "right") {
|
|
@@ -2891,7 +2903,7 @@ const EzCollapsibleBox$1 = class extends HTMLElement$1 {
|
|
|
2891
2903
|
static get style() { return ezCollapsibleBoxCss; }
|
|
2892
2904
|
};
|
|
2893
2905
|
|
|
2894
|
-
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)}}";
|
|
2906
|
+
const ezComboBoxCss = ":host{--ez-combo-box--height:42px;--ez-combo-box--width:100%;--ez-combo-box__icon--width:48px;--ez-combo-box__min-width:0px;--ez-combo-box__max-width:100%;--ez-combo-box--border-radius:var(--border--radius-medium, 12px);--ez-combo-box--border-radius-small:var(--border--radius-small, 6px);--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__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__input--error--border-color:#CC2936;--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);--ez-combo-box__label--color:var(--title--primary, #2B3A54);--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__list-min-width:64px;--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--small, 6px);display:flex;flex-wrap:wrap;position:relative;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)}.list-container{min-width:var(--ez-combo-box__list-min-width);position:relative;width:100%}.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, 0px 0px 16px 0px #000);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)}.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)}}";
|
|
2895
2907
|
|
|
2896
2908
|
const EzComboBox$1 = class extends HTMLElement$1 {
|
|
2897
2909
|
constructor() {
|
|
@@ -2905,13 +2917,11 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
2905
2917
|
this._tabPressed = false;
|
|
2906
2918
|
this._textEmptyList = "Nenhum resultado encontrado";
|
|
2907
2919
|
this._lookupMode = false;
|
|
2908
|
-
this.isOpen = false;
|
|
2909
2920
|
this._preSelection = undefined;
|
|
2910
2921
|
this._visibleOptions = undefined;
|
|
2911
2922
|
this._startLoading = false;
|
|
2912
2923
|
this._showLoading = true;
|
|
2913
2924
|
this._criteria = undefined;
|
|
2914
|
-
this._textInputReady = undefined;
|
|
2915
2925
|
this.limitCharsToSearch = 3;
|
|
2916
2926
|
this.value = undefined;
|
|
2917
2927
|
this.label = undefined;
|
|
@@ -3017,6 +3027,63 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3017
3027
|
async clearValue() {
|
|
3018
3028
|
this.clearSearch();
|
|
3019
3029
|
}
|
|
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
|
+
}
|
|
3020
3087
|
isDifferentValues(firstValue, secondValue) {
|
|
3021
3088
|
return ObjectUtils$1.objectToString(firstValue || {}) !== ObjectUtils$1.objectToString(secondValue || {});
|
|
3022
3089
|
}
|
|
@@ -3089,24 +3156,85 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3089
3156
|
}
|
|
3090
3157
|
return 0;
|
|
3091
3158
|
}
|
|
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
|
+
}
|
|
3092
3166
|
showOptions() {
|
|
3093
3167
|
var _a, _b;
|
|
3094
3168
|
if (!this.enabled)
|
|
3095
3169
|
return;
|
|
3096
|
-
this.
|
|
3170
|
+
if (this.isOptionsVisible()) {
|
|
3171
|
+
return;
|
|
3172
|
+
}
|
|
3097
3173
|
const valueString = (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : this.value;
|
|
3098
3174
|
const indexValue = this._visibleOptions.findIndex(option => option.value === valueString);
|
|
3099
3175
|
this._preSelection = indexValue === -1 ? 0 : indexValue;
|
|
3100
3176
|
if (!!this._resizeObserver)
|
|
3101
3177
|
this._resizeObserver.observe(this._textInput);
|
|
3178
|
+
this._floatingID = FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: true, isFixed: true, backClickListener: () => this.hideOptions() });
|
|
3102
3179
|
this.setFocus();
|
|
3180
|
+
window.requestAnimationFrame(() => {
|
|
3181
|
+
this.updateListPosition();
|
|
3182
|
+
if (!this.listOptionsPosition) {
|
|
3183
|
+
this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
3184
|
+
}
|
|
3185
|
+
});
|
|
3103
3186
|
}
|
|
3104
3187
|
hideOptions() {
|
|
3105
|
-
|
|
3106
|
-
|
|
3188
|
+
if (this._floatingID !== undefined) {
|
|
3189
|
+
FloatingManager.close(this._floatingID);
|
|
3190
|
+
}
|
|
3191
|
+
this._floatingID = undefined;
|
|
3107
3192
|
if (!!this._resizeObserver)
|
|
3108
3193
|
this._resizeObserver.unobserve(this._textInput);
|
|
3109
3194
|
}
|
|
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
|
+
}
|
|
3110
3238
|
updateSource(source) {
|
|
3111
3239
|
this._startLoading = false;
|
|
3112
3240
|
if (source instanceof Promise) {
|
|
@@ -3132,13 +3260,12 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3132
3260
|
}
|
|
3133
3261
|
}
|
|
3134
3262
|
selectOption(newOption, focusOnInput = true) {
|
|
3135
|
-
var _a, _b
|
|
3263
|
+
var _a, _b;
|
|
3136
3264
|
const currentValue = this.getSelectedOption(this.value);
|
|
3137
3265
|
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()))
|
|
3138
3266
|
|| (currentValue == undefined && newOption != undefined && "value" in newOption)) {
|
|
3139
3267
|
const adjustedOpt = !(newOption === null || newOption === void 0 ? void 0 : newOption.value) ? undefined : newOption;
|
|
3140
3268
|
this.value = adjustedOpt;
|
|
3141
|
-
(_c = this._popover) === null || _c === void 0 ? void 0 : _c.hide();
|
|
3142
3269
|
}
|
|
3143
3270
|
else {
|
|
3144
3271
|
this.resetOptions();
|
|
@@ -3191,11 +3318,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3191
3318
|
//---------------------------------------------
|
|
3192
3319
|
// Lifecycle web component
|
|
3193
3320
|
//---------------------------------------------
|
|
3194
|
-
componentDidRender() {
|
|
3195
|
-
if (this._textInput) {
|
|
3196
|
-
this._textInputReady = true;
|
|
3197
|
-
}
|
|
3198
|
-
}
|
|
3199
3321
|
componentWillLoad() {
|
|
3200
3322
|
if (this.options === undefined) {
|
|
3201
3323
|
this.options = [];
|
|
@@ -3214,6 +3336,15 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3214
3336
|
}
|
|
3215
3337
|
this.loadOptions(SearchMode$1.PRELOAD);
|
|
3216
3338
|
}
|
|
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
|
+
}
|
|
3217
3348
|
componentDidLoad() {
|
|
3218
3349
|
CSSVarsUtils.applyVarsTextInput(this.el, this._textInput);
|
|
3219
3350
|
this.setInputValue(false);
|
|
@@ -3221,12 +3352,10 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3221
3352
|
window.requestAnimationFrame(() => {
|
|
3222
3353
|
if (!Array.isArray(entries) || !entries.length)
|
|
3223
3354
|
return;
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
const textInputWidth = this._textInput.clientWidth;
|
|
3229
|
-
this._comboBoxList.width = textInputWidth;
|
|
3355
|
+
const { clientWidth } = this._listContainer;
|
|
3356
|
+
if (clientWidth > 0 && !!this._listWrapper) {
|
|
3357
|
+
this._listWrapper.style.width = `${clientWidth}px`;
|
|
3358
|
+
}
|
|
3230
3359
|
});
|
|
3231
3360
|
});
|
|
3232
3361
|
if (this.autoFocus) {
|
|
@@ -3235,13 +3364,6 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3235
3364
|
});
|
|
3236
3365
|
}
|
|
3237
3366
|
}
|
|
3238
|
-
disconnectedCallback() {
|
|
3239
|
-
var _a;
|
|
3240
|
-
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.remove();
|
|
3241
|
-
if (this._resizeObserver) {
|
|
3242
|
-
this._resizeObserver.disconnect();
|
|
3243
|
-
}
|
|
3244
|
-
}
|
|
3245
3367
|
//---------------------------------------------
|
|
3246
3368
|
// Event handlers
|
|
3247
3369
|
//---------------------------------------------
|
|
@@ -3281,48 +3403,65 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3281
3403
|
this.showOptions();
|
|
3282
3404
|
}
|
|
3283
3405
|
keyDownHandler(event) {
|
|
3284
|
-
|
|
3285
|
-
if (event.ctrlKey
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3406
|
+
this._tabPressed = false;
|
|
3407
|
+
if (event.ctrlKey) {
|
|
3408
|
+
if (event.key === "f" || event.key === "F") {
|
|
3409
|
+
this.loadOptions(SearchMode$1.ADVANCED);
|
|
3410
|
+
//ATENÇÃO: Ctrl + F tem ação específica nos browsers
|
|
3411
|
+
//nesse caso, como vamos abrir o popup de busca avançada,
|
|
3412
|
+
//não é interessante deixar o evento propagar;
|
|
3413
|
+
event.stopPropagation();
|
|
3414
|
+
event.stopImmediatePropagation();
|
|
3415
|
+
event.preventDefault();
|
|
3416
|
+
}
|
|
3290
3417
|
}
|
|
3291
3418
|
switch (event.key) {
|
|
3292
3419
|
case "ArrowDown":
|
|
3293
|
-
event.
|
|
3294
|
-
if (this.canShowListOptions())
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3420
|
+
event.stopPropagation();
|
|
3421
|
+
if (this.canShowListOptions())
|
|
3422
|
+
event.preventDefault();
|
|
3423
|
+
this.showOptions();
|
|
3424
|
+
this.nextOption();
|
|
3298
3425
|
break;
|
|
3299
3426
|
case "ArrowUp":
|
|
3300
|
-
event.
|
|
3301
|
-
if (this.canShowListOptions())
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3427
|
+
event.stopPropagation();
|
|
3428
|
+
if (this.canShowListOptions())
|
|
3429
|
+
event.preventDefault();
|
|
3430
|
+
this.showOptions();
|
|
3431
|
+
this.previousOption();
|
|
3305
3432
|
break;
|
|
3306
3433
|
case "Enter":
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3434
|
+
this.handleEventPropagation(event);
|
|
3435
|
+
if (this.isOptionsVisible()) {
|
|
3436
|
+
this.selectCurrentOption();
|
|
3310
3437
|
}
|
|
3311
3438
|
break;
|
|
3312
3439
|
case "Escape":
|
|
3313
|
-
if (this.
|
|
3314
|
-
event.
|
|
3315
|
-
(_d = this._popover) === null || _d === void 0 ? void 0 : _d.hide();
|
|
3440
|
+
if (this.isOptionsVisible()) {
|
|
3441
|
+
event.stopPropagation();
|
|
3316
3442
|
}
|
|
3443
|
+
this.cancelPreselection();
|
|
3444
|
+
this.resetOptions();
|
|
3317
3445
|
break;
|
|
3318
3446
|
case "Tab":
|
|
3319
3447
|
this._tabPressed = true;
|
|
3320
|
-
if (this.
|
|
3321
|
-
|
|
3322
|
-
(_f = this._popover) === null || _f === void 0 ? void 0 : _f.hide();
|
|
3448
|
+
if (this.isOptionsVisible()) {
|
|
3449
|
+
this.selectCurrentOption(false);
|
|
3323
3450
|
}
|
|
3451
|
+
this.resetOptions();
|
|
3324
3452
|
break;
|
|
3325
3453
|
}
|
|
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
|
+
}
|
|
3326
3465
|
}
|
|
3327
3466
|
onTextInputFocusOutHandler() {
|
|
3328
3467
|
if (this.hideErrorOnFocusOut)
|
|
@@ -3331,15 +3470,14 @@ const EzComboBox$1 = class extends HTMLElement$1 {
|
|
|
3331
3470
|
canShowListOptions() {
|
|
3332
3471
|
return !this._showLoading && this._visibleOptions.length > 0;
|
|
3333
3472
|
}
|
|
3334
|
-
openPopover() {
|
|
3335
|
-
var _a;
|
|
3336
|
-
this.isOpen = true;
|
|
3337
|
-
(_a = this._popover) === null || _a === void 0 ? void 0 : _a.show();
|
|
3338
|
-
}
|
|
3339
3473
|
render() {
|
|
3340
|
-
var _a;
|
|
3341
3474
|
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
3342
|
-
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("
|
|
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("section", { class: "list-container", ref: elem => this._listContainer = elem }, h("div", { class: "list-wrapper", ref: elem => this._listWrapper = elem }, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this._showLoading
|
|
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)))))));
|
|
3343
3481
|
}
|
|
3344
3482
|
get el() { return this; }
|
|
3345
3483
|
static get watchers() { return {
|
|
@@ -3356,158 +3494,6 @@ var SearchMode$1;
|
|
|
3356
3494
|
SearchMode["PREDICTIVE"] = "PREDICTIVE";
|
|
3357
3495
|
})(SearchMode$1 || (SearchMode$1 = {}));
|
|
3358
3496
|
|
|
3359
|
-
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)}}";
|
|
3360
|
-
|
|
3361
|
-
const EzComboBoxList$1 = class extends HTMLElement$1 {
|
|
3362
|
-
constructor() {
|
|
3363
|
-
super();
|
|
3364
|
-
this.__registerHost();
|
|
3365
|
-
this.__attachShadow();
|
|
3366
|
-
this.showLoading = undefined;
|
|
3367
|
-
this.visibleOptions = undefined;
|
|
3368
|
-
this.textEmptyList = "Nenhum resultado encontrado";
|
|
3369
|
-
this.showOptionValue = undefined;
|
|
3370
|
-
this.preSelection = undefined;
|
|
3371
|
-
this.maxWidth = undefined;
|
|
3372
|
-
this.width = undefined;
|
|
3373
|
-
this.onOptionSelect = undefined;
|
|
3374
|
-
this.onOptionHover = undefined;
|
|
3375
|
-
}
|
|
3376
|
-
/**
|
|
3377
|
-
* Move a seleção para a próxima opção na lista.
|
|
3378
|
-
*/
|
|
3379
|
-
async nextOption() {
|
|
3380
|
-
var _a;
|
|
3381
|
-
if (!this.visibleOptions || this.visibleOptions.length === 0)
|
|
3382
|
-
return;
|
|
3383
|
-
const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
|
|
3384
|
-
if (!isAtLastOption) {
|
|
3385
|
-
this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
|
|
3386
|
-
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3387
|
-
(_a = this.onOptionHover) === null || _a === void 0 ? void 0 : _a.call(this, this.preSelection);
|
|
3388
|
-
}
|
|
3389
|
-
}
|
|
3390
|
-
/**
|
|
3391
|
-
* Move a seleção para a opção anterior na lista, sem ultrapassar o início.
|
|
3392
|
-
*/
|
|
3393
|
-
async previousOption() {
|
|
3394
|
-
var _a;
|
|
3395
|
-
if (!this.visibleOptions || this.visibleOptions.length === 0)
|
|
3396
|
-
return;
|
|
3397
|
-
const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
|
|
3398
|
-
if (!isAtFirstOption) {
|
|
3399
|
-
this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
|
|
3400
|
-
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3401
|
-
(_a = this.onOptionHover) === null || _a === void 0 ? void 0 : _a.call(this, this.preSelection);
|
|
3402
|
-
}
|
|
3403
|
-
}
|
|
3404
|
-
/**
|
|
3405
|
-
* Seleciona a opção atualmente pré-selecionada.
|
|
3406
|
-
*/
|
|
3407
|
-
async selectCurrentOption() {
|
|
3408
|
-
if (this.preSelection !== undefined) {
|
|
3409
|
-
this.onOptionSelect(this.visibleOptions[this.preSelection]);
|
|
3410
|
-
this.preSelection = undefined;
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
/**
|
|
3414
|
-
* Observa mudanças na propriedade `width` e ajusta a largura da lista.
|
|
3415
|
-
*
|
|
3416
|
-
* @param newValue O novo valor da largura.
|
|
3417
|
-
* @param oldValue O valor anterior da largura.
|
|
3418
|
-
*/
|
|
3419
|
-
observeWidth(newValue, oldValue) {
|
|
3420
|
-
if (newValue === oldValue)
|
|
3421
|
-
return;
|
|
3422
|
-
if (!this._listWrapper)
|
|
3423
|
-
return;
|
|
3424
|
-
this._listWrapper.style.width = `${this.width}px`;
|
|
3425
|
-
}
|
|
3426
|
-
/**
|
|
3427
|
-
* Observa mudanças na propriedade `maxWidth` e ajusta a largura máxima da lista.
|
|
3428
|
-
*
|
|
3429
|
-
* @param newValue O novo valor da largura máxima.
|
|
3430
|
-
* @param oldValue O valor anterior da largura máxima.
|
|
3431
|
-
*/
|
|
3432
|
-
observeMaxWidth(newValue, oldValue) {
|
|
3433
|
-
if (newValue === oldValue)
|
|
3434
|
-
return;
|
|
3435
|
-
if (!this._listWrapper)
|
|
3436
|
-
return;
|
|
3437
|
-
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3438
|
-
}
|
|
3439
|
-
/**
|
|
3440
|
-
* Gerencia a navegação por teclado na lista do combo box.
|
|
3441
|
-
*
|
|
3442
|
-
* - `ArrowDown`: Move para a próxima opção.
|
|
3443
|
-
* - `ArrowUp`: Move para a opção anterior.
|
|
3444
|
-
* - `Enter`: Seleciona a opção atual.
|
|
3445
|
-
* - `Escape`: Limpa a pré-seleção.
|
|
3446
|
-
*
|
|
3447
|
-
* @param event O evento de teclado.
|
|
3448
|
-
*/
|
|
3449
|
-
handleKeyDown(event) {
|
|
3450
|
-
switch (event.key) {
|
|
3451
|
-
case "ArrowDown":
|
|
3452
|
-
event.preventDefault();
|
|
3453
|
-
event.stopPropagation();
|
|
3454
|
-
this.nextOption();
|
|
3455
|
-
break;
|
|
3456
|
-
case "ArrowUp":
|
|
3457
|
-
event.preventDefault();
|
|
3458
|
-
event.stopPropagation();
|
|
3459
|
-
this.previousOption();
|
|
3460
|
-
break;
|
|
3461
|
-
case "Enter":
|
|
3462
|
-
this.selectCurrentOption();
|
|
3463
|
-
break;
|
|
3464
|
-
case "Escape":
|
|
3465
|
-
this.preSelection = undefined;
|
|
3466
|
-
break;
|
|
3467
|
-
}
|
|
3468
|
-
}
|
|
3469
|
-
buildItem(opt, index) {
|
|
3470
|
-
const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
|
|
3471
|
-
opt.label = opt.label || opt.value;
|
|
3472
|
-
return h("li", { tabIndex: 1, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}_${index}`, key: `item_${opt.value}_${index}`, onMouseDown: () => this.onOptionSelect(opt), onMouseOver: () => this.preSelection = index }, this.showOptionValue
|
|
3473
|
-
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3474
|
-
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3475
|
-
}
|
|
3476
|
-
scrollToOption(opt) {
|
|
3477
|
-
if (!opt || !opt.value || !this._optionsList)
|
|
3478
|
-
return;
|
|
3479
|
-
const index = this.visibleOptions.indexOf(opt);
|
|
3480
|
-
if (index === -1)
|
|
3481
|
-
return;
|
|
3482
|
-
const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
|
|
3483
|
-
if (liElem) {
|
|
3484
|
-
liElem.scrollIntoView({
|
|
3485
|
-
behavior: "smooth",
|
|
3486
|
-
block: "nearest"
|
|
3487
|
-
});
|
|
3488
|
-
}
|
|
3489
|
-
}
|
|
3490
|
-
componentDidLoad() {
|
|
3491
|
-
this._listWrapper.style.width = `${this.width}px`;
|
|
3492
|
-
this._listWrapper.style.maxWidth = this.maxWidth ? `${this.maxWidth}px` : '';
|
|
3493
|
-
}
|
|
3494
|
-
componentDidRender() {
|
|
3495
|
-
var _a;
|
|
3496
|
-
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
3497
|
-
ElementIDUtils.addIDInfoIfNotExists(elem, "itemComboBox");
|
|
3498
|
-
});
|
|
3499
|
-
}
|
|
3500
|
-
render() {
|
|
3501
|
-
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 &&
|
|
3502
|
-
this.visibleOptions.map((opt, index) => this.buildItem(opt, index))))));
|
|
3503
|
-
}
|
|
3504
|
-
static get watchers() { return {
|
|
3505
|
-
"width": ["observeWidth"],
|
|
3506
|
-
"maxWidth": ["observeMaxWidth"]
|
|
3507
|
-
}; }
|
|
3508
|
-
static get style() { return ezComboBoxListCss; }
|
|
3509
|
-
};
|
|
3510
|
-
|
|
3511
3497
|
const EzCustomFormInput$1 = class extends HTMLElement$1 {
|
|
3512
3498
|
constructor() {
|
|
3513
3499
|
super();
|
|
@@ -71999,9 +71985,6 @@ class AgGridController {
|
|
|
71999
71985
|
if (cfgColumn.customWidth != undefined) {
|
|
72000
71986
|
return cfgColumn.customWidth;
|
|
72001
71987
|
}
|
|
72002
|
-
if (cfgColumn.width != undefined) {
|
|
72003
|
-
return cfgColumn.width;
|
|
72004
|
-
}
|
|
72005
71988
|
const field = (_a = this._dataUnit) === null || _a === void 0 ? void 0 : _a.getField(cfgColumn.name);
|
|
72006
71989
|
if ((field === null || field === void 0 ? void 0 : field.userInterface) === UserInterface.SEARCH) {
|
|
72007
71990
|
return this.DEFAULT_MAX_SIZE;
|
|
@@ -72582,20 +72565,6 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72582
72565
|
.then(() => this.resetPaginationState());
|
|
72583
72566
|
}
|
|
72584
72567
|
}
|
|
72585
|
-
nextRecord() {
|
|
72586
|
-
if (this.dataUnit) {
|
|
72587
|
-
if (this.dataUnit.getSelectionInfo().records.length === 0) {
|
|
72588
|
-
this.dataUnit.selectFirst();
|
|
72589
|
-
return;
|
|
72590
|
-
}
|
|
72591
|
-
this.dataUnit.nextRecord();
|
|
72592
|
-
}
|
|
72593
|
-
}
|
|
72594
|
-
previousRecord() {
|
|
72595
|
-
if (this.dataUnit) {
|
|
72596
|
-
this.dataUnit.previousRecord();
|
|
72597
|
-
}
|
|
72598
|
-
}
|
|
72599
72568
|
resetPaginationState() {
|
|
72600
72569
|
var _a;
|
|
72601
72570
|
this._paginationChangedByKeyboard = false;
|
|
@@ -72678,7 +72647,6 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72678
72647
|
this._gridController.configFilterColumn(this._filterColumn);
|
|
72679
72648
|
if (this.paginationCounterMode === 'auto')
|
|
72680
72649
|
this._initHeaderOverflowWatcher();
|
|
72681
|
-
this.initKeyboardManager();
|
|
72682
72650
|
}
|
|
72683
72651
|
handlePaginationChange(selectFirstRecord, paginationInfo) {
|
|
72684
72652
|
var _a;
|
|
@@ -72745,7 +72713,6 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72745
72713
|
var _a, _b;
|
|
72746
72714
|
(_a = this._headerOverflowWatcher) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
72747
72715
|
(_b = this._gridController) === null || _b === void 0 ? void 0 : _b.destroy();
|
|
72748
|
-
this.removeShortcuts();
|
|
72749
72716
|
}
|
|
72750
72717
|
connectedCallback() {
|
|
72751
72718
|
var _a;
|
|
@@ -72784,45 +72751,6 @@ const EzGrid$1 = class extends HTMLElement$1 {
|
|
|
72784
72751
|
return "left__header-expanded";
|
|
72785
72752
|
return "left__header-contracted";
|
|
72786
72753
|
}
|
|
72787
|
-
async initKeyboardManager() {
|
|
72788
|
-
this._keyboardManager = new KeyboardManager({ propagate: false, element: this._element });
|
|
72789
|
-
this._keyboardManager
|
|
72790
|
-
.bind("ctrl + .", () => {
|
|
72791
|
-
if (!this._paginationInfo)
|
|
72792
|
-
return;
|
|
72793
|
-
this.nextRecord();
|
|
72794
|
-
}, { description: "Avança para o próximo registro.", element: this._element })
|
|
72795
|
-
.bind("ctrl + ,", () => {
|
|
72796
|
-
if (!this._paginationInfo)
|
|
72797
|
-
return;
|
|
72798
|
-
this.previousRecord();
|
|
72799
|
-
}, { description: "Retorna ao registro anterior.", element: this._element })
|
|
72800
|
-
.bind("ctrl + alt + ArrowLeft", () => {
|
|
72801
|
-
if (!this._paginationInfo)
|
|
72802
|
-
return;
|
|
72803
|
-
const { currentPage } = this._paginationInfo;
|
|
72804
|
-
if (currentPage > 0) {
|
|
72805
|
-
this.previousPage();
|
|
72806
|
-
}
|
|
72807
|
-
}, { description: "Retorna a pagina anterior.", element: this._element })
|
|
72808
|
-
.bind("ctrl + alt + ArrowRight", () => {
|
|
72809
|
-
if (!this._paginationInfo)
|
|
72810
|
-
return;
|
|
72811
|
-
const { hasMore } = this._paginationInfo;
|
|
72812
|
-
if (hasMore) {
|
|
72813
|
-
this.nextPage();
|
|
72814
|
-
}
|
|
72815
|
-
}, { description: "Avança para a próxima página.", element: this._element });
|
|
72816
|
-
}
|
|
72817
|
-
async removeShortcuts() {
|
|
72818
|
-
if (this._keyboardManager) {
|
|
72819
|
-
this._keyboardManager
|
|
72820
|
-
.unbind("ctrl + .")
|
|
72821
|
-
.unbind("ctrl + ,")
|
|
72822
|
-
.unbind("ctrl + alt + ArrowLeft")
|
|
72823
|
-
.unbind("ctrl + alt + ArrowRight");
|
|
72824
|
-
}
|
|
72825
|
-
}
|
|
72826
72754
|
render() {
|
|
72827
72755
|
var _a;
|
|
72828
72756
|
return (h(Host, { "no-header": this.hideHeader() }, h("div", { class: {
|
|
@@ -75509,9 +75437,9 @@ const computePosition = (reference, floating, options) => {
|
|
|
75509
75437
|
});
|
|
75510
75438
|
};
|
|
75511
75439
|
|
|
75512
|
-
const
|
|
75440
|
+
const ezPopoverPlusCss = ":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)}";
|
|
75513
75441
|
|
|
75514
|
-
const
|
|
75442
|
+
const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
75515
75443
|
constructor() {
|
|
75516
75444
|
super();
|
|
75517
75445
|
this.__registerHost();
|
|
@@ -75526,16 +75454,16 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75526
75454
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75527
75455
|
}
|
|
75528
75456
|
async observeOpened(newValue, oldValue) {
|
|
75529
|
-
if (newValue
|
|
75457
|
+
if (newValue !== oldValue) {
|
|
75458
|
+
if (newValue) {
|
|
75459
|
+
this.openPopover();
|
|
75460
|
+
}
|
|
75461
|
+
else {
|
|
75462
|
+
this.hidePopover();
|
|
75463
|
+
}
|
|
75464
|
+
this.ezVisibilityChange.emit(newValue);
|
|
75530
75465
|
return;
|
|
75531
|
-
if (newValue) {
|
|
75532
|
-
this.openPopover();
|
|
75533
|
-
}
|
|
75534
|
-
else {
|
|
75535
|
-
this.hidePopover();
|
|
75536
75466
|
}
|
|
75537
|
-
this.ezVisibilityChange.emit(newValue);
|
|
75538
|
-
return;
|
|
75539
75467
|
}
|
|
75540
75468
|
/**
|
|
75541
75469
|
* Atualiza a posição do popover.
|
|
@@ -75629,14 +75557,12 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75629
75557
|
if (!this._box) {
|
|
75630
75558
|
return;
|
|
75631
75559
|
}
|
|
75632
|
-
|
|
75633
|
-
|
|
75634
|
-
|
|
75635
|
-
|
|
75636
|
-
|
|
75637
|
-
|
|
75638
|
-
this._box.style.visibility = 'visible';
|
|
75639
|
-
}
|
|
75560
|
+
this._box.style.display = 'flex';
|
|
75561
|
+
this._box.style.visibility = 'hidden';
|
|
75562
|
+
await this.updatePositionPopover();
|
|
75563
|
+
this.openOverlay();
|
|
75564
|
+
this.ezVisibilityChange.emit(true);
|
|
75565
|
+
this._box.style.visibility = 'visible';
|
|
75640
75566
|
}
|
|
75641
75567
|
openOverlay() {
|
|
75642
75568
|
if (!this._overlay || !this._overlayIsActive) {
|
|
@@ -75676,7 +75602,6 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75676
75602
|
this._overlayIsActive = this.checkStatusOverlay();
|
|
75677
75603
|
this._resizeObserver = new ResizeObserver(this.updatePositionPopover.bind(this));
|
|
75678
75604
|
this._resizeObserver.observe(this._box);
|
|
75679
|
-
this.openPopover();
|
|
75680
75605
|
}
|
|
75681
75606
|
disconnectedCallback() {
|
|
75682
75607
|
window.removeEventListener('scroll', this.updatePositionDebounce.bind(this), true);
|
|
@@ -75694,103 +75619,6 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75694
75619
|
static get watchers() { return {
|
|
75695
75620
|
"opened": ["observeOpened"]
|
|
75696
75621
|
}; }
|
|
75697
|
-
static get style() { return ezPopoverCoreCss; }
|
|
75698
|
-
};
|
|
75699
|
-
|
|
75700
|
-
const ezPopoverPlusCss = ":host{display:none}";
|
|
75701
|
-
|
|
75702
|
-
const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
75703
|
-
constructor() {
|
|
75704
|
-
super();
|
|
75705
|
-
this.__registerHost();
|
|
75706
|
-
this.__attachShadow();
|
|
75707
|
-
this.ezVisibilityChange = createEvent(this, "ezVisibilityChange", 7);
|
|
75708
|
-
this.autoClose = true;
|
|
75709
|
-
this.boxWidth = "fit-content";
|
|
75710
|
-
this.opened = false;
|
|
75711
|
-
this.overlayType = "light";
|
|
75712
|
-
this.anchorElement = undefined;
|
|
75713
|
-
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75714
|
-
}
|
|
75715
|
-
listenerEzVisibilityChange({ detail }) {
|
|
75716
|
-
this.ezVisibilityChange.emit(detail);
|
|
75717
|
-
}
|
|
75718
|
-
async observeOpened(newValue) {
|
|
75719
|
-
if (newValue && !this._popOverCore) {
|
|
75720
|
-
this.renderPopoverCore();
|
|
75721
|
-
}
|
|
75722
|
-
this._popOverCore.opened = newValue;
|
|
75723
|
-
}
|
|
75724
|
-
/**
|
|
75725
|
-
* Atualiza a posição do popover.
|
|
75726
|
-
*/
|
|
75727
|
-
async updatePosition(top, left) {
|
|
75728
|
-
var _a;
|
|
75729
|
-
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.updatePosition(top, left));
|
|
75730
|
-
}
|
|
75731
|
-
/**
|
|
75732
|
-
* Exibe o ez-popover.
|
|
75733
|
-
*/
|
|
75734
|
-
async show(top, left) {
|
|
75735
|
-
if (!this._popOverCore) {
|
|
75736
|
-
this.renderPopoverCore();
|
|
75737
|
-
}
|
|
75738
|
-
await this._popOverCore.show(top, left);
|
|
75739
|
-
}
|
|
75740
|
-
/**
|
|
75741
|
-
* Ancora a exibição do popOver a um elemento HTML.
|
|
75742
|
-
*/
|
|
75743
|
-
async showUnder(element, options) {
|
|
75744
|
-
if (!this._popOverCore) {
|
|
75745
|
-
this.renderPopoverCore();
|
|
75746
|
-
}
|
|
75747
|
-
await this._popOverCore.showUnder(element, options);
|
|
75748
|
-
}
|
|
75749
|
-
/**
|
|
75750
|
-
* Oculta o ez-popover.
|
|
75751
|
-
*/
|
|
75752
|
-
async hide() {
|
|
75753
|
-
var _a;
|
|
75754
|
-
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.hide());
|
|
75755
|
-
}
|
|
75756
|
-
/**
|
|
75757
|
-
* Altera as opções.
|
|
75758
|
-
*/
|
|
75759
|
-
async setOptions(options) {
|
|
75760
|
-
var _a;
|
|
75761
|
-
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setOptions(options));
|
|
75762
|
-
}
|
|
75763
|
-
/**
|
|
75764
|
-
* Altera o elemento de ancoragem.
|
|
75765
|
-
*/
|
|
75766
|
-
async setAnchorElement(anchor) {
|
|
75767
|
-
var _a;
|
|
75768
|
-
await ((_a = this._popOverCore) === null || _a === void 0 ? void 0 : _a.setAnchorElement(anchor));
|
|
75769
|
-
}
|
|
75770
|
-
renderPopoverCore() {
|
|
75771
|
-
this._popOverCore = document.createElement('ez-popover-core');
|
|
75772
|
-
this._popOverCore.opened = this.opened;
|
|
75773
|
-
this._popOverCore.anchorElement = this.anchorElement;
|
|
75774
|
-
this._popOverCore.autoClose = this.autoClose;
|
|
75775
|
-
this._popOverCore.boxWidth = this.boxWidth;
|
|
75776
|
-
this._popOverCore.overlayType = this.overlayType;
|
|
75777
|
-
this._popOverCore.options = this.options;
|
|
75778
|
-
const firstChild = this._host.children.item(0);
|
|
75779
|
-
if (firstChild) {
|
|
75780
|
-
this._popOverCore.appendChild(firstChild);
|
|
75781
|
-
}
|
|
75782
|
-
else {
|
|
75783
|
-
console.warn('O slot do popover está vazio. Adicione conteúdo ao slot para exibição correta.');
|
|
75784
|
-
}
|
|
75785
|
-
document.body.appendChild(this._popOverCore);
|
|
75786
|
-
}
|
|
75787
|
-
render() {
|
|
75788
|
-
return (h(Host, null, h("slot", null)));
|
|
75789
|
-
}
|
|
75790
|
-
get _host() { return this; }
|
|
75791
|
-
static get watchers() { return {
|
|
75792
|
-
"opened": ["observeOpened"]
|
|
75793
|
-
}; }
|
|
75794
75622
|
static get style() { return ezPopoverPlusCss; }
|
|
75795
75623
|
};
|
|
75796
75624
|
|
|
@@ -80572,7 +80400,7 @@ const EzActionsButton = /*@__PURE__*/proxyCustomElement(EzActionsButton$1, [1,"e
|
|
|
80572
80400
|
const EzAlert = /*@__PURE__*/proxyCustomElement(EzAlert$1, [1,"ez-alert",{"alertType":[513,"alert-type"]}]);
|
|
80573
80401
|
const EzAlertList = /*@__PURE__*/proxyCustomElement(EzAlertList$1, [1,"ez-alert-list",{"alerts":[1040],"enableDragAndDrop":[516,"enable-drag-and-drop"],"enableExpand":[516,"enable-expand"],"itemRightSlotBuilder":[16],"opened":[1540],"expanded":[1540],"_container":[32]}]);
|
|
80574
80402
|
const EzApplication = /*@__PURE__*/proxyCustomElement(EzApplication$1, [0,"ez-application"]);
|
|
80575
|
-
const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"hasSlot":[32]}]);
|
|
80403
|
+
const EzBadge = /*@__PURE__*/proxyCustomElement(EzBadge$1, [1,"ez-badge",{"size":[513],"label":[513],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"position":[1040],"alignItems":[1537,"align-items"],"hasSlot":[32]}]);
|
|
80576
80404
|
const EzBreadcrumb = /*@__PURE__*/proxyCustomElement(EzBreadcrumb$1, [1,"ez-breadcrumb",{"items":[1040],"fillMode":[1025,"fill-mode"],"maxItems":[1026,"max-items"],"positionEllipsis":[1026,"position-ellipsis"],"visibleItems":[32],"hiddenItems":[32],"showDropdown":[32],"collapseConfigPosition":[32]}]);
|
|
80577
80405
|
const EzButton = /*@__PURE__*/proxyCustomElement(EzButton$1, [1,"ez-button",{"label":[513],"enabled":[516],"mode":[513],"image":[513],"iconName":[513,"icon-name"],"size":[513]},[[2,"click","clickListener"]]]);
|
|
80578
80406
|
const EzCalendar = /*@__PURE__*/proxyCustomElement(EzCalendar$1, [1,"ez-calendar",{"value":[1040],"floating":[516],"time":[516],"showSeconds":[516,"show-seconds"]},[[11,"scroll","scrollListener"]]]);
|
|
@@ -80581,8 +80409,7 @@ const EzChart = /*@__PURE__*/proxyCustomElement(EzChart$1, [1,"ez-chart",{"type"
|
|
|
80581
80409
|
const EzCheck = /*@__PURE__*/proxyCustomElement(EzCheck$1, [1,"ez-check",{"label":[513],"value":[1540],"enabled":[1540],"indeterminate":[1540],"mode":[513],"compact":[4]}]);
|
|
80582
80410
|
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"]}]);
|
|
80583
80411
|
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]}]);
|
|
80584
|
-
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"],"
|
|
80585
|
-
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"]]]);
|
|
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]},[[11,"scroll","scrollListener"]]]);
|
|
80586
80413
|
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]}]);
|
|
80587
80414
|
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"]}]);
|
|
80588
80415
|
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"]}]);
|
|
@@ -80603,8 +80430,7 @@ const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,
|
|
|
80603
80430
|
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]}]);
|
|
80604
80431
|
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]}]);
|
|
80605
80432
|
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"]}]);
|
|
80606
|
-
const
|
|
80607
|
-
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"]]]);
|
|
80433
|
+
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]}]);
|
|
80608
80434
|
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"]}]);
|
|
80609
80435
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
80610
80436
|
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"]]]);
|
|
@@ -80644,7 +80470,6 @@ const defineCustomElements = (opts) => {
|
|
|
80644
80470
|
EzChip,
|
|
80645
80471
|
EzCollapsibleBox,
|
|
80646
80472
|
EzComboBox,
|
|
80647
|
-
EzComboBoxList,
|
|
80648
80473
|
EzCustomFormInput,
|
|
80649
80474
|
EzDateInput,
|
|
80650
80475
|
EzDateTimeInput,
|
|
@@ -80665,7 +80490,6 @@ const defineCustomElements = (opts) => {
|
|
|
80665
80490
|
EzMultiSelectionList,
|
|
80666
80491
|
EzNumberInput,
|
|
80667
80492
|
EzPopover,
|
|
80668
|
-
EzPopoverCore,
|
|
80669
80493
|
EzPopoverPlus,
|
|
80670
80494
|
EzPopup,
|
|
80671
80495
|
EzRadioButton,
|
|
@@ -80697,4 +80521,4 @@ const defineCustomElements = (opts) => {
|
|
|
80697
80521
|
}
|
|
80698
80522
|
};
|
|
80699
80523
|
|
|
80700
|
-
export { EzActionsButton, EzAlert, EzAlertList, EzApplication, EzBadge, EzBreadcrumb, EzButton, EzCalendar, EzCardItem, EzChart, EzCheck, EzChip, EzCollapsibleBox, EzComboBox,
|
|
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 };
|