@sankhyalabs/ezui 0.0.0-bugfix-dev-KB-74406.0 → 0.0.0-bugfix-dev-KB-75940.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-button.cjs.entry.js +1 -1
- package/dist/cjs/ez-card-item_2.cjs.entry.js +1416 -7
- package/dist/cjs/ez-combo-box-list_3.cjs.entry.js +32 -11
- package/dist/cjs/ez-date-input.cjs.entry.js +4 -17
- package/dist/cjs/ez-date-time-input.cjs.entry.js +4 -16
- package/dist/cjs/ez-list.cjs.entry.js +2 -2
- 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-plus_3.cjs.entry.js +195 -0
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +28 -158
- package/dist/cjs/ez-split-item.cjs.entry.js +1 -1
- package/dist/cjs/ezui.cjs.js +1 -1
- package/dist/cjs/index-a7b0c73d.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/searchFormatters-b7e1ed1e.js +23 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ez-button/ez-button.css +1 -1
- package/dist/collection/components/ez-card-item/ez-card-item.css +1 -3
- package/dist/collection/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.js +33 -12
- package/dist/collection/components/ez-date-input/ez-date-input.js +4 -17
- package/dist/collection/components/ez-date-time-input/ez-date-time-input.js +4 -16
- package/dist/collection/components/ez-list/ez-list.js +2 -2
- package/dist/collection/components/ez-modal/ez-modal.js +1 -1
- package/dist/collection/components/ez-modal-container/ez-modal-container.js +1 -1
- package/dist/collection/components/ez-popover-plus/ez-popover-plus.js +49 -14
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.css +2 -2
- package/dist/collection/components/ez-popover-plus/subcomponent/ez-popover-core.js +72 -12
- package/dist/collection/components/ez-popup/ez-popup.js +1 -1
- package/dist/collection/components/ez-search/ez-search.css +0 -219
- package/dist/collection/components/ez-search/ez-search.js +28 -167
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.css +227 -0
- package/dist/collection/components/ez-search/subcomponent/search-list/search-list.js +289 -0
- package/dist/collection/components/ez-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-split-panel/structure/item/ez-split-item.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +214 -229
- package/dist/esm/ez-button.entry.js +1 -1
- package/dist/esm/ez-card-item_2.entry.js +1416 -7
- package/dist/esm/ez-combo-box-list_3.entry.js +32 -11
- package/dist/esm/ez-date-input.entry.js +4 -17
- package/dist/esm/ez-date-time-input.entry.js +4 -16
- package/dist/esm/ez-list.entry.js +2 -2
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-popover-plus_3.entry.js +189 -0
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +29 -159
- package/dist/esm/ez-split-item.entry.js +1 -1
- package/dist/esm/ezui.js +1 -1
- package/dist/esm/index-baa5e267.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/searchFormatters-8229207e.js +20 -0
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/p-0bffeffc.entry.js +1 -0
- package/dist/ezui/p-23b6128c.entry.js +1 -0
- package/dist/ezui/p-248d4f54.entry.js +1 -0
- package/dist/ezui/p-2872fd16.entry.js +1 -0
- package/dist/ezui/p-40a60148.js +1 -0
- package/dist/ezui/p-4e0628a7.entry.js +1 -0
- package/dist/ezui/p-788467fe.entry.js +1 -0
- package/dist/ezui/p-84b1c99e.entry.js +1 -0
- package/dist/ezui/p-b7706b43.entry.js +1 -0
- package/dist/ezui/p-c297aa52.entry.js +1 -0
- package/dist/ezui/p-d2bc2f06.entry.js +1 -0
- package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
- package/dist/ezui/p-e5c3ed19.entry.js +1 -0
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
- package/dist/types/components/ez-combo-box/ez-combo-box-list/ez-combo-box-list.d.ts +1 -1
- package/dist/types/components/ez-date-input/ez-date-input.d.ts +2 -2
- package/dist/types/components/ez-date-time-input/ez-date-time-input.d.ts +2 -2
- package/dist/types/components/ez-popover-plus/ez-popover-plus.d.ts +9 -4
- package/dist/types/components/ez-popover-plus/subcomponent/ez-popover-core.d.ts +12 -2
- package/dist/types/components/ez-search/ez-search.d.ts +3 -13
- package/dist/types/components/ez-search/subcomponent/search-list/search-list.d.ts +23 -0
- package/dist/types/components/ez-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components.d.ts +73 -5
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +1 -0
- package/react/components.js.map +1 -1
- package/dist/cjs/ez-popover-core_2.cjs.entry.js +0 -1504
- package/dist/esm/ez-popover-core_2.entry.js +0 -1499
- package/dist/ezui/p-0faf71c5.entry.js +0 -1
- package/dist/ezui/p-15134d97.entry.js +0 -1
- package/dist/ezui/p-17eabf46.entry.js +0 -1
- package/dist/ezui/p-1ad6c61b.entry.js +0 -1
- package/dist/ezui/p-2bb2a0c4.entry.js +0 -1
- package/dist/ezui/p-3195a7a7.entry.js +0 -1
- package/dist/ezui/p-3429080c.entry.js +0 -1
- package/dist/ezui/p-58783dcf.entry.js +0 -1
- package/dist/ezui/p-65f471bc.entry.js +0 -1
- package/dist/ezui/p-7bd15498.entry.js +0 -1
- package/dist/ezui/p-cb1535f7.entry.js +0 -1
- package/dist/ezui/p-d9548bdf.entry.js +0 -1
|
@@ -1777,7 +1777,7 @@ const EzBreadcrumb$1 = class extends HTMLElement$1 {
|
|
|
1777
1777
|
static get style() { return ezBreadcrumbCss; }
|
|
1778
1778
|
};
|
|
1779
1779
|
|
|
1780
|
-
const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--width:'auto';--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:0px;--ez-button--padding-bottom:0px;--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--primary, #2B3A54);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large);--ez-button--background-color:var(--background--light, #ffffff);--ez-button--border-radius:var(--border--radius-large, 24px);--ez-button--border:1px solid var(--color--strokes);--ez-button--justify-content:center;--ez-button--hover-color:var(--color--primary-600, #007a5a);--ez-button--hover--background-color:var(--background--light, #ffffff);--ez-button--disabled-color:var(--text--primary);--ez-button--disabled--background-color:var(--background--medium);--ez-button--focus--border:var(--border--medium, 2px solid) var(--color--primary-300);--ez-button--focus--box-shadow:var(--color--primary-300) 0px 0px 0px 2px;--ez-button--active-color:var(--color--primary-700);--ez-button--active--background-color:var(--background--strong);--ez-button--link-color:var(--color--primary, '#008561');--ez-button--link--hover-color:var(--color--primary-700, '#1C1D22');--ez-button--link-disabled-color:var(--text--secondary, #a2abb9);--ez-button--link--small--font-size:var(--text--small, 12px);--ez-button--link--medium--font-size:var(--text--medium, 14px);--ez-button--link--large--font-size:var(--text--large, 16px)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;white-space:nowrap;min-width:var(--ez-button--min-width);width:var(--ez-button--width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border);justify-content:var(--ez-button--justify-content)}button:focus{outline:var(--ez-button--focus--border);box-shadow:none}button:hover{outline:none;background-color:var(--ez-button--hover--background-color);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button:active{outline:none;box-shadow:none;background-color:var(--ez-button--active--background-color);color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);--ez-icon--color:var(--ez-button--disabled-color);cursor:no-drop}.x-small{height:28px;--ez-button--font-size:var(--text--small, 12px)}.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}.medium{height:42px}.large{height:46px}.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--x-small{width:28px;min-width:28px;height:28px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon:hover{color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}.label-icon:active{color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);user-select:none}button:disabled+label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--disabled-color);cursor:no-drop}div.label-icon{cursor:pointer}div.label-icon,button:disabled{cursor:no-drop}a{font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}a:hover{color:var(--ez-button--link--hover-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}a.disabled{color:var(--ez-button--link-disabled-color);cursor:not-allowed}";
|
|
1780
|
+
const ezButtonCss = ":host{--ez-button--min-width:100px;--ez-button--width:'auto';--ez-button--height:42px;--ez-button__icon--width:18px;--ez-button__inline__icon--padding:12px;--ez-button--padding-top:0px;--ez-button--padding-bottom:0px;--ez-button--padding-right:var(--space--large, 24px);--ez-button--padding-left:var(--space--large, 24px);--ez-button--color:var(--title--primary, #2B3A54);--ez-button--font-size:var(--text--medium, 14px);--ez-button--font-family:var(--font-pattern, Arial);--ez-button--font-weight:var(--text-weight--large, 500);--ez-button--background-color:var(--background--light, #ffffff);--ez-button--border-radius:var(--border--radius-large, 24px);--ez-button--border:1px solid var(--color--strokes);--ez-button--justify-content:center;--ez-button--hover-color:var(--color--primary-600, #007a5a);--ez-button--hover--background-color:var(--background--light, #ffffff);--ez-button--disabled-color:var(--text--primary);--ez-button--disabled--background-color:var(--background--medium);--ez-button--focus--border:var(--border--medium, 2px solid) var(--color--primary-300);--ez-button--focus--box-shadow:var(--color--primary-300) 0px 0px 0px 2px;--ez-button--active-color:var(--color--primary-700);--ez-button--active--background-color:var(--background--strong);--ez-button--link-color:var(--color--primary, '#008561');--ez-button--link--hover-color:var(--color--primary-700, '#1C1D22');--ez-button--link-disabled-color:var(--text--secondary, #a2abb9);--ez-button--link--small--font-size:var(--text--small, 12px);--ez-button--link--medium--font-size:var(--text--medium, 14px);--ez-button--link--large--font-size:var(--text--large, 16px)}ez-icon{--ez-icon--color:inherit}button{position:relative;display:flex;align-items:center;margin:0;cursor:pointer;transition:background-color 0.2s linear;white-space:nowrap;min-width:var(--ez-button--min-width);width:var(--ez-button--width);height:var(--ez-button--height);font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);padding:var(--ez-button--padding-top) var(--ez-button--padding-right) var(--ez-button--padding-bottom) var(--ez-button--padding-left);border-radius:var(--ez-button--border-radius);background-color:var(--ez-button--background-color);color:var(--ez-button--color);fill:var(--ez-button--color);border:var(--ez-button--border);justify-content:var(--ez-button--justify-content)}button:focus{outline:var(--ez-button--focus--border);box-shadow:none}button:hover{outline:none;background-color:var(--ez-button--hover--background-color);color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}button:active{outline:none;box-shadow:none;background-color:var(--ez-button--active--background-color);color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}button:disabled{background-color:var(--ez-button--disabled--background-color);color:var(--ez-button--disabled-color);fill:var(--ez-button--disabled-color);--ez-icon--color:var(--ez-button--disabled-color);cursor:no-drop}.x-small{height:28px;--ez-button--font-size:var(--text--small, 12px)}.small{height:32px;--ez-button--font-size:var(--text--small, 12px)}.medium{height:42px}.large{height:46px}.btn-icon{padding:0px}.btn-icon--medium{width:42px;min-width:42px;height:42px}.btn-icon--x-small{width:28px;min-width:28px;height:28px}.btn-icon--small{width:32px;min-width:32px;height:32px}.btn-icon--large{width:46px;min-width:46px;height:46px}.label-icon{display:flex;flex-direction:column;align-items:center;color:var(--ez-button--color)}.label-icon:hover{color:var(--ez-button--hover-color);fill:var(--ez-button--hover-color);--ez-icon--color:var(--ez-button--hover-color)}.label-icon:active{color:var(--ez-button--active-color);fill:var(--ez-button--active-color);--ez-icon--color:var(--ez-button--active-color)}.label-icon label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);user-select:none}button:disabled+label{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;font-family:var(--ez-button--font-family);font-size:var(--ez-button--font-size);font-weight:var(--ez-button--font-weight);color:var(--ez-button--disabled-color);cursor:no-drop}div.label-icon{cursor:pointer}div.label-icon,button:disabled{cursor:no-drop}a{font-family:var(--ez-button--font-family);font-weight:var(--ez-button--font-weight);color:var(--ez-button--link-color);cursor:pointer;display:flex;align-items:center;justify-content:center;}a:hover{color:var(--ez-button--link--hover-color)}a.small{font-size:var(--ez-button--link--small--font-size);line-height:var(--ez-button--link--small--font-size)}a.medium{font-size:var(--ez-button--link--medium--font-size);line-height:var(--ez-button--link--medium--font-size)}a.large{font-size:var(--ez-button--link--large--font-size);line-height:var(--ez-button--link--large--font-size)}a.disabled{color:var(--ez-button--link-disabled-color);cursor:not-allowed}";
|
|
1781
1781
|
|
|
1782
1782
|
const EzButton$1 = class extends HTMLElement$1 {
|
|
1783
1783
|
constructor() {
|
|
@@ -2096,7 +2096,7 @@ const EzCalendar$1 = class extends HTMLElement$1 {
|
|
|
2096
2096
|
static get style() { return ezCalendarCss; }
|
|
2097
2097
|
};
|
|
2098
2098
|
|
|
2099
|
-
const ezCardItemCss = ":host { \n /*@doc Define o tamanho da fonte do componente.*/\n --ez-card-item--font-size: var(--text--medium, 14px);\n\n /*@doc Define o tamanho da fonte do componente no modo compacto.*/\n --ez-card-item--font-size-compacted: var(--text--extra-small, 10px);\n\n /*@doc Define a família da fonte do componente.*/\n --ez-card-item--font-family: var(--font-pattern, Arial);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--font-weight: var(--text-weight--medium, 400);\n\n /*@doc Define o peso da fonte do title do componente.*/\n --ez-card-item--font-weight-large: var(--text-weight--large, 600);\n\n /*@doc Define a cor da fonte do componente.*/\n --ez-card-item--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte da key do componente.*/\n --ez-card-item__key--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte do label do detalhe do componente.*/\n --ez-card-item__detail-label--color: var(--text--secondary, #A2ABB9);\n\n /*@doc Define o espaçamento inferior dos detalhes do componente.*/\n --ez-card-item__detail--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define o espaçamento inferior do title do componente.*/\n --ez-card-item__title--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define a cor do highlight / marcação nos textos do componente.*/\n --ez-card-item__highlight--color: var(--color--primary-300, #E2F4EF);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--detail-label--font-weight: var(--text-weight--large, 400);\n\n width: 100%;\n display: flex;\n cursor: pointer;\n}\n\n.card-item {\n display: flex;\n flex-direction: column;\n width: 100%;\n cursor: pointer;\n z-index: 0;\n position: relative;\n container-type: inline-size;\n container-name: box;\n white-space: pre-line;\n}\n\n.card-item__detail{\n display: inline-block;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: var(--opacity--soft);\n}\n\n\n\n.card-item__expanded {\n padding: var(--space--medium);\n}\n\n.card-item:hover {\n background: #F0F3F7;\n border-radius: 12px;\n}\n\n.card-item__title {\n display: flex;\n align-items: center;\n line-height: 18px;\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight-large);\n color: var(--ez-card-item--color);\n padding-bottom: var(--ez-card-item__title--padding-bottom);\n gap: var(--space--small, 6px);\n}\n\n.card-item__key {\n /*public*/\n color: var(--ez-card-item__key--color);\n}\n\n.card-item__details {\n display: flex;\n flex-direction: column;\n cursor: pointer;\n justify-content: space-between;\n width: 100%;\n}\n\n.card-item__details-container__left {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n cursor: pointer;\n width: 50%;\n}\n\n.card-item__details-container__right {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n width: 50%;\n cursor: pointer;\n}\n\n.card-item__detail{\n cursor: pointer;\n}\n\n.card-item__detail-default:not(:last-child) {\n padding-bottom: var(--ez-card-item__detail--padding-bottom);\n}\n\n.card-item__detail-label {\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--detail-label--font-weight);\n}\n\n.card-item__detail-value {\n cursor: pointer;\n line-break: anywhere;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight);\n}\n\n.card-item__highlight {\n position: relative;\n border-radius: 8px;\n z-index: -1;\n\n /*public*/\n background-color: var(--ez-card-item__highlight--color);\n outline: 2px solid var(--ez-card-item__highlight--color);\n box-shadow: -4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color);\n}\n\n.card-item__content{\n display: flex;\n align-items: center;\n}\n\n.card-item__details-container_default{\n display: flex;\n}\n\n.card-item__details-slot{\n margin-left: auto;\n}\n\n/* Modo compacto */\n.card-item__compacted {\n padding: var(--space--
|
|
2099
|
+
const ezCardItemCss = ":host { \n /*@doc Define o tamanho da fonte do componente.*/\n --ez-card-item--font-size: var(--text--medium, 14px);\n\n /*@doc Define o tamanho da fonte do componente no modo compacto.*/\n --ez-card-item--font-size-compacted: var(--text--extra-small, 10px);\n\n /*@doc Define a família da fonte do componente.*/\n --ez-card-item--font-family: var(--font-pattern, Arial);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--font-weight: var(--text-weight--medium, 400);\n\n /*@doc Define o peso da fonte do title do componente.*/\n --ez-card-item--font-weight-large: var(--text-weight--large, 600);\n\n /*@doc Define a cor da fonte do componente.*/\n --ez-card-item--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte da key do componente.*/\n --ez-card-item__key--color: var(--text--primary, #626e82);\n\n /*@doc Define a cor da fonte do label do detalhe do componente.*/\n --ez-card-item__detail-label--color: var(--text--secondary, #A2ABB9);\n\n /*@doc Define o espaçamento inferior dos detalhes do componente.*/\n --ez-card-item__detail--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define o espaçamento inferior do title do componente.*/\n --ez-card-item__title--padding-bottom: var(--space--extra-small, 3px);\n\n /*@doc Define a cor do highlight / marcação nos textos do componente.*/\n --ez-card-item__highlight--color: var(--color--primary-300, #E2F4EF);\n\n /*@doc Define o peso da fonte do componente.*/\n --ez-card-item--detail-label--font-weight: var(--text-weight--large, 400);\n\n width: 100%;\n display: flex;\n cursor: pointer;\n}\n\n.card-item {\n display: flex;\n flex-direction: column;\n width: 100%;\n cursor: pointer;\n z-index: 0;\n position: relative;\n container-type: inline-size;\n container-name: box;\n white-space: pre-line;\n}\n\n.card-item__detail{\n display: inline-block;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: var(--opacity--soft);\n}\n\n\n\n.card-item__expanded {\n padding: var(--space--medium);\n}\n\n.card-item:hover {\n background: #F0F3F7;\n border-radius: 12px;\n}\n\n.card-item__title {\n display: flex;\n align-items: center;\n line-height: 18px;\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight-large);\n color: var(--ez-card-item--color);\n padding-bottom: var(--ez-card-item__title--padding-bottom);\n gap: var(--space--small, 6px);\n}\n\n.card-item__key {\n /*public*/\n color: var(--ez-card-item__key--color);\n}\n\n.card-item__details {\n display: flex;\n flex-direction: column;\n cursor: pointer;\n justify-content: space-between;\n width: 100%;\n}\n\n.card-item__details-container__left {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n cursor: pointer;\n width: 50%;\n}\n\n.card-item__details-container__right {\n display: flex;\n flex-direction: column;\n white-space: pre-line;\n width: 50%;\n cursor: pointer;\n}\n\n.card-item__detail{\n cursor: pointer;\n}\n\n.card-item__detail-default:not(:last-child) {\n padding-bottom: var(--ez-card-item__detail--padding-bottom);\n}\n\n.card-item__detail-label {\n cursor: pointer;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--detail-label--font-weight);\n}\n\n.card-item__detail-value {\n cursor: pointer;\n line-break: anywhere;\n\n /*public*/\n font-size: var(--ez-card-item--font-size);\n font-family: var(--ez-card-item--font-family);\n font-weight: var(--ez-card-item--font-weight);\n}\n\n.card-item__highlight {\n position: relative;\n border-radius: 8px;\n z-index: -1;\n\n /*public*/\n background-color: var(--ez-card-item__highlight--color);\n outline: 2px solid var(--ez-card-item__highlight--color);\n box-shadow: -4px 0px 0px 0px var(--ez-card-item__highlight--color), \n 4px 0px 0px 0px var(--ez-card-item__highlight--color);\n}\n\n.card-item__content{\n display: flex;\n align-items: center;\n}\n\n.card-item__details-container_default{\n display: flex;\n}\n\n.card-item__details-slot{\n margin-left: auto;\n}\n\n/* Modo compacto */\n.card-item__compacted {\n padding: var(--space--2xs) var(--space--small);\n}\n\n.card-item__detail-label-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__detail-value-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__title-compacted {\n font-size: var(--ez-card-item--font-size-compacted);\n}\n\n.card-item__details-container__left-compacted{\n width: 100%;\n}\n\n.card-item__details-container__right-compacted {\n width: 100%;\n}\n\n\n@container box (max-width: 550px) {\n .card-item__details {\n flex-direction: column;\n }\n\n .card-item__details-container__left {\n width: 100%;\n }\n \n .card-item__details-container__right {\n width: 100%;\n }\n}\n\n@container box (max-width: 200px) {\n .card-item__title {\n font-size: 10px;\n }\n\n .card-item__detail-label {\n font-size: 10px;\n }\n\n .card-item__detail-value {\n font-size: 10px;\n }\n\n}";
|
|
2100
2100
|
|
|
2101
2101
|
const EzCardItem$1 = class extends HTMLElement$1 {
|
|
2102
2102
|
constructor() {
|
|
@@ -3389,15 +3389,29 @@ const EzComboBoxList$1 = class extends HTMLElement$1 {
|
|
|
3389
3389
|
* Move a seleção para a próxima opção na lista.
|
|
3390
3390
|
*/
|
|
3391
3391
|
async nextOption() {
|
|
3392
|
-
|
|
3393
|
-
|
|
3392
|
+
var _a, _b;
|
|
3393
|
+
if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
|
|
3394
|
+
return;
|
|
3395
|
+
const isAtLastOption = this.preSelection !== undefined && this.preSelection >= this.visibleOptions.length - 1;
|
|
3396
|
+
if (!isAtLastOption) {
|
|
3397
|
+
this.preSelection = this.preSelection === undefined ? 0 : this.preSelection + 1;
|
|
3398
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3399
|
+
(_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
|
|
3400
|
+
}
|
|
3394
3401
|
}
|
|
3395
3402
|
/**
|
|
3396
|
-
* Move a seleção para a opção anterior na lista.
|
|
3403
|
+
* Move a seleção para a opção anterior na lista, sem ultrapassar o início.
|
|
3397
3404
|
*/
|
|
3398
3405
|
async previousOption() {
|
|
3399
|
-
|
|
3400
|
-
|
|
3406
|
+
var _a, _b;
|
|
3407
|
+
if (!((_a = this.visibleOptions) === null || _a === void 0 ? void 0 : _a.length))
|
|
3408
|
+
return;
|
|
3409
|
+
const isAtFirstOption = this.preSelection !== undefined && this.preSelection <= 0;
|
|
3410
|
+
if (!isAtFirstOption) {
|
|
3411
|
+
this.preSelection = this.preSelection === undefined ? this.visibleOptions.length - 1 : this.preSelection - 1;
|
|
3412
|
+
this.scrollToOption(this.visibleOptions[this.preSelection]);
|
|
3413
|
+
(_b = this.onOptionHover) === null || _b === void 0 ? void 0 : _b.call(this, this.preSelection);
|
|
3414
|
+
}
|
|
3401
3415
|
}
|
|
3402
3416
|
/**
|
|
3403
3417
|
* Seleciona a opção atualmente pré-selecionada.
|
|
@@ -3467,16 +3481,23 @@ const EzComboBoxList$1 = class extends HTMLElement$1 {
|
|
|
3467
3481
|
buildItem(opt, index) {
|
|
3468
3482
|
const widthValue = this.showOptionValue && this.maxWidth > 0 ? `${this.maxWidth}px` : '';
|
|
3469
3483
|
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
|
|
3484
|
+
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
|
|
3471
3485
|
? h("span", { class: "item__value", title: opt.value, style: { width: widthValue, minWidth: widthValue, maxWidth: widthValue } }, opt.value)
|
|
3472
3486
|
: undefined, h("span", { class: "item__label " + (this.showOptionValue ? "item__label--bold" : ""), title: opt.label }, opt.label));
|
|
3473
3487
|
}
|
|
3474
3488
|
scrollToOption(opt) {
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3489
|
+
if (!(opt === null || opt === void 0 ? void 0 : opt.value) || !this._optionsList)
|
|
3490
|
+
return;
|
|
3491
|
+
const index = this.visibleOptions.indexOf(opt);
|
|
3492
|
+
if (index === -1)
|
|
3493
|
+
return;
|
|
3494
|
+
const liElem = this._optionsList.querySelector(`li#item_${CSS.escape(opt.value)}_${CSS.escape(String(index))}`);
|
|
3495
|
+
if (liElem) {
|
|
3496
|
+
liElem.scrollIntoView({
|
|
3497
|
+
behavior: "smooth",
|
|
3498
|
+
block: "nearest"
|
|
3499
|
+
});
|
|
3500
|
+
}
|
|
3480
3501
|
}
|
|
3481
3502
|
componentDidLoad() {
|
|
3482
3503
|
this._listWrapper.style.width = `${this.width}px`;
|
|
@@ -3720,22 +3741,9 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3720
3741
|
this._changePending = false;
|
|
3721
3742
|
}
|
|
3722
3743
|
}
|
|
3723
|
-
showCalendar() {
|
|
3724
|
-
this.handleBlur();
|
|
3725
|
-
this._calendar.value = this.value;
|
|
3726
|
-
let top;
|
|
3727
|
-
if (this.isFixed()) {
|
|
3728
|
-
top = 29;
|
|
3729
|
-
this._calendar.fitHorizontal(0);
|
|
3730
|
-
}
|
|
3731
|
-
else {
|
|
3732
|
-
top = this.errorMessage || this.mode === "slim" ? 6 : -13;
|
|
3733
|
-
}
|
|
3734
|
-
this._calendar.fitVertical(top, this._elem.clientHeight);
|
|
3735
|
-
}
|
|
3736
3744
|
hideCalendar() {
|
|
3737
3745
|
this.changeValue(this._calendar.value);
|
|
3738
|
-
this.
|
|
3746
|
+
this._popover.hide();
|
|
3739
3747
|
}
|
|
3740
3748
|
handleBlur() {
|
|
3741
3749
|
if (!this._changePending) {
|
|
@@ -3796,8 +3804,8 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3796
3804
|
this._textInput.value = textValue;
|
|
3797
3805
|
}
|
|
3798
3806
|
}
|
|
3799
|
-
|
|
3800
|
-
|
|
3807
|
+
disconnectedCallback() {
|
|
3808
|
+
this.hideCalendar();
|
|
3801
3809
|
}
|
|
3802
3810
|
componentDidLoad() {
|
|
3803
3811
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
@@ -3810,7 +3818,7 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3810
3818
|
}
|
|
3811
3819
|
render() {
|
|
3812
3820
|
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
3813
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.
|
|
3821
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), restrict: "0123456789/", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); } }))));
|
|
3814
3822
|
}
|
|
3815
3823
|
get _elem() { return this; }
|
|
3816
3824
|
static get watchers() { return {
|
|
@@ -3948,21 +3956,9 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
3948
3956
|
this.value = newValueValidated;
|
|
3949
3957
|
}
|
|
3950
3958
|
}
|
|
3951
|
-
showCalendar() {
|
|
3952
|
-
let top;
|
|
3953
|
-
if (this.isFixed()) {
|
|
3954
|
-
top = 29;
|
|
3955
|
-
this._calendar.fitHorizontal(0);
|
|
3956
|
-
}
|
|
3957
|
-
else {
|
|
3958
|
-
top = this.errorMessage || this.mode === "slim" ? 6 : -13;
|
|
3959
|
-
}
|
|
3960
|
-
this._calendar.fitVertical(top, this._elem.clientHeight);
|
|
3961
|
-
this._calendar.style.visibility = 'inherit';
|
|
3962
|
-
}
|
|
3963
3959
|
hideCalendar() {
|
|
3964
3960
|
this.changeValue(this._calendar.value);
|
|
3965
|
-
this.
|
|
3961
|
+
this._popover.hide();
|
|
3966
3962
|
}
|
|
3967
3963
|
getParsedDateTime(strValue) {
|
|
3968
3964
|
var _a, _b;
|
|
@@ -4040,8 +4036,8 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
4040
4036
|
this._textInput.value = textValue;
|
|
4041
4037
|
}
|
|
4042
4038
|
}
|
|
4043
|
-
|
|
4044
|
-
|
|
4039
|
+
disconnectedCallback() {
|
|
4040
|
+
this.hideCalendar();
|
|
4045
4041
|
}
|
|
4046
4042
|
componentDidLoad() {
|
|
4047
4043
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
@@ -4054,7 +4050,7 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
4054
4050
|
}
|
|
4055
4051
|
render() {
|
|
4056
4052
|
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
4057
|
-
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => this.
|
|
4053
|
+
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), ref: elem => this._textInput = elem, "data-slave-mode": "true", label: this.label, restrict: "0123456789/: ", enabled: this.enabled, errorMessage: this.errorMessage, mode: this.mode, onKeyDown: event => { this.handleKeyDown(event); }, onBlur: () => this.handleBlur(), onInput: (evt) => this.handleInput(evt), onFocus: () => this.handleFocus(), onClick: () => this.handleClick(), canShowError: this.canShowError }, h("button", { disabled: !this.enabled, tabindex: -1, class: "btn-open-cal", onClick: () => { var _a; return (_a = this._popover) === null || _a === void 0 ? void 0 : _a.showUnder(this._textInput); }, slot: "leftIcon" })), h("ez-popover-plus", { ref: elem => this._popover = elem, anchorElement: this._textInput, autoClose: true, boxWidth: 'fit-content', overlayType: 'none' }, h("ez-calendar", { ref: elem => this._calendar = elem, "data-element-id": ElementIDUtils.getInternalIDInfo("calendar"), onEzChange: (event) => { this.hideCalendar(); event.stopPropagation(); }, time: true, showSeconds: this.showSeconds }))));
|
|
4058
4054
|
}
|
|
4059
4055
|
get _elem() { return this; }
|
|
4060
4056
|
static get watchers() { return {
|
|
@@ -73559,7 +73555,7 @@ const EzList$1 = class extends HTMLElement$1 {
|
|
|
73559
73555
|
return { id: item.id, label: item.label, check: evt.detail };
|
|
73560
73556
|
}
|
|
73561
73557
|
renderListWithGroups() {
|
|
73562
|
-
return h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: 0, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
|
|
73558
|
+
return h("div", { class: 'group-container', ref: el => (this._groupContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => this.keyDownHandler(event) }, this._listGroupItems.map(group => {
|
|
73563
73559
|
return (h("div", { id: this.getDivGroupId(group.group), class: 'group', key: group.group + group.items.length, onDrop: () => this.onDropGroup(group) }, h("label", { draggable: false, class: 'group-name', title: group.group }, group.group), h("section", { class: 'section-container', onDragOver: ev => ev.preventDefault() }, h("div", { class: 'group-items-container' }, h("div", { class: 'draggable-list' }, group.items.map((item, index) => (h("li", Object.assign({ id: 'item_' + item.id, class: {
|
|
73564
73560
|
'selectable-container': this.ezSelectable,
|
|
73565
73561
|
'hover-feedback': this.hoverFeedback,
|
|
@@ -73569,7 +73565,7 @@ const EzList$1 = class extends HTMLElement$1 {
|
|
|
73569
73565
|
}));
|
|
73570
73566
|
}
|
|
73571
73567
|
renderList() {
|
|
73572
|
-
return h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: 0, onKeyDown: event => {
|
|
73568
|
+
return h("div", { class: 'items-container', ref: el => (this._itemContainer = el), tabIndex: this.ezSelectable ? 0 : undefined, onKeyDown: event => {
|
|
73573
73569
|
this.keyDownHandler(event);
|
|
73574
73570
|
} }, h("div", { class: 'draggable-list' }, this._listItems.map((item, index) => (h("li", Object.assign({ id: 'item_' + item.id, class: {
|
|
73575
73571
|
'selectable-container': this.ezSelectable,
|
|
@@ -73642,7 +73638,7 @@ const EzModal$1 = class extends HTMLElement$1 {
|
|
|
73642
73638
|
}
|
|
73643
73639
|
componentDidLoad() {
|
|
73644
73640
|
this.observeOpened();
|
|
73645
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
73641
|
+
new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
|
|
73646
73642
|
.bind("Enter", this.ezModalAction.emit.bind("OK"))
|
|
73647
73643
|
.bind("Escape", () => this.closeModal())
|
|
73648
73644
|
.bind("Esc", () => this.closeModal());
|
|
@@ -73757,7 +73753,7 @@ const EzModalContainer$1 = class extends HTMLElement$1 {
|
|
|
73757
73753
|
this._closeButton.focus();
|
|
73758
73754
|
}
|
|
73759
73755
|
render() {
|
|
73760
|
-
return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { class: "ez-modal-container__content" }, h("slot", null)), h("div", { class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
|
|
73756
|
+
return (h(Host, null, h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusLast() }), h("div", { ref: ref => this._modalRef = ref, tabIndex: -1, class: "ez-modal-container__header-container" }, this.showTitleBar && (h("div", { class: "ez-modal-container__header ez-margin-bottom--medium" }, h("div", { class: "ez-col ez-align--middle ez-modal-container__title" }, h("h2", { class: "ez-text ez-title--large ez-title--primary ez-text--bold ez-margin-vertical--extra-small" }, this.modalTitle), this.modalSubTitle && (h("div", { class: "ez-text ez-text--medium ez-text--primary ez-margin-vertical--extra-small" }, this.modalSubTitle))), (this.showCloseButton && h("button", { ref: ref => this._closeButton = ref, class: "ez-modal-container__close-button", onClick: () => this.ezModalAction.emit(ModalAction$1.CLOSE) }, h("ez-icon", { class: "ez-modal-container__close-icon", size: "medium", iconName: "close" })))))), h("div", { tabIndex: -1, class: "ez-modal-container__content" }, h("slot", null)), h("div", { tabIndex: -1, class: "ez-modal-container__footer" }, this.cancelIsVisible() && (h("ez-button", { label: this.cancelButtonLabel, enabled: this.cancelButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.CANCEL) })), this.okIsVisible() && (h("ez-button", { ref: ref => this._okButton = ref, class: "ez-button--primary", label: this.okButtonLabel, enabled: this.okButtonStatus !== ModalButtonStatus$1.DISABLED, onClick: () => this.ezModalAction.emit(ModalAction$1.OK) }))), h("button", { class: "ez-modal-container__focus-ctrl", onFocusin: () => this.focusFirst() })));
|
|
73761
73757
|
}
|
|
73762
73758
|
get _element() { return this; }
|
|
73763
73759
|
static get style() { return ezModalContainerCss; }
|
|
@@ -75502,7 +75498,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
75502
75498
|
});
|
|
75503
75499
|
};
|
|
75504
75500
|
|
|
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(--
|
|
75501
|
+
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(--elevation--100, 100);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(--elevation--24, 24)}.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)}";
|
|
75506
75502
|
|
|
75507
75503
|
const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
75508
75504
|
constructor() {
|
|
@@ -75517,18 +75513,19 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75517
75513
|
this.overlayType = "light";
|
|
75518
75514
|
this.anchorElement = undefined;
|
|
75519
75515
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75516
|
+
this.useAnchorSize = false;
|
|
75517
|
+
this.minWidth = 150;
|
|
75520
75518
|
}
|
|
75521
|
-
|
|
75522
|
-
if (newValue === oldValue)
|
|
75519
|
+
observeOpened(newValue, oldValue) {
|
|
75520
|
+
if (newValue === oldValue) {
|
|
75523
75521
|
return;
|
|
75522
|
+
}
|
|
75524
75523
|
if (newValue) {
|
|
75525
75524
|
this.openPopover();
|
|
75526
75525
|
}
|
|
75527
75526
|
else {
|
|
75528
75527
|
this.hidePopover();
|
|
75529
75528
|
}
|
|
75530
|
-
this.ezVisibilityChange.emit(newValue);
|
|
75531
|
-
return;
|
|
75532
75529
|
}
|
|
75533
75530
|
/**
|
|
75534
75531
|
* Atualiza a posição do popover.
|
|
@@ -75587,17 +75584,37 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75587
75584
|
verticalGap: this.parseSizePixel(top, this.options.verticalGap),
|
|
75588
75585
|
});
|
|
75589
75586
|
}
|
|
75587
|
+
getElement(element) {
|
|
75588
|
+
if (typeof element === 'string') {
|
|
75589
|
+
return document.getElementById(element);
|
|
75590
|
+
}
|
|
75591
|
+
return element;
|
|
75592
|
+
}
|
|
75593
|
+
getAnchorElement() {
|
|
75594
|
+
if (!this.anchorElement) {
|
|
75595
|
+
return this._host;
|
|
75596
|
+
}
|
|
75597
|
+
if (Array.isArray(this.anchorElement)) {
|
|
75598
|
+
for (const element of this.anchorElement) {
|
|
75599
|
+
const htmlElement = this.getElement(element);
|
|
75600
|
+
if (htmlElement) {
|
|
75601
|
+
return htmlElement;
|
|
75602
|
+
}
|
|
75603
|
+
}
|
|
75604
|
+
}
|
|
75605
|
+
return this.getElement(this.anchorElement);
|
|
75606
|
+
}
|
|
75590
75607
|
async updatePositionPopover() {
|
|
75591
75608
|
if (!this._box || !this.opened) {
|
|
75592
75609
|
return;
|
|
75593
75610
|
}
|
|
75594
|
-
|
|
75595
|
-
|
|
75596
|
-
|
|
75597
|
-
|
|
75598
|
-
this.
|
|
75611
|
+
const currentAnchorElement = this.getAnchorElement();
|
|
75612
|
+
if (this.useAnchorSize) {
|
|
75613
|
+
const anchorSize = currentAnchorElement.getBoundingClientRect().width;
|
|
75614
|
+
const width = anchorSize < this.minWidth ? this.minWidth : anchorSize;
|
|
75615
|
+
this._box.style.width = `${width}px`;
|
|
75599
75616
|
}
|
|
75600
|
-
await computePosition(
|
|
75617
|
+
await computePosition(currentAnchorElement, this._box, {
|
|
75601
75618
|
placement: this.options.fromRight ? 'bottom-end' : 'bottom-start',
|
|
75602
75619
|
middleware: [flip(), shift({ padding: 5 })],
|
|
75603
75620
|
strategy: 'fixed',
|
|
@@ -75704,9 +75721,8 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75704
75721
|
this.overlayType = "light";
|
|
75705
75722
|
this.anchorElement = undefined;
|
|
75706
75723
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75707
|
-
|
|
75708
|
-
|
|
75709
|
-
this.ezVisibilityChange.emit(detail);
|
|
75724
|
+
this.useAnchorSize = false;
|
|
75725
|
+
this.minWidth = 150;
|
|
75710
75726
|
}
|
|
75711
75727
|
async observeOpened(newValue) {
|
|
75712
75728
|
if (newValue && !this._popOverCore) {
|
|
@@ -75768,6 +75784,12 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75768
75784
|
this._popOverCore.boxWidth = this.boxWidth;
|
|
75769
75785
|
this._popOverCore.overlayType = this.overlayType;
|
|
75770
75786
|
this._popOverCore.options = this.options;
|
|
75787
|
+
this._popOverCore.useAnchorSize = this.useAnchorSize;
|
|
75788
|
+
this._popOverCore.minWidth = this.minWidth;
|
|
75789
|
+
this._popOverCore.addEventListener('ezVisibilityChange', ({ detail }) => {
|
|
75790
|
+
this.ezVisibilityChange.emit(detail);
|
|
75791
|
+
this.opened = detail;
|
|
75792
|
+
});
|
|
75771
75793
|
const firstChild = this._host.children.item(0);
|
|
75772
75794
|
if (firstChild) {
|
|
75773
75795
|
this._popOverCore.appendChild(firstChild);
|
|
@@ -75819,7 +75841,7 @@ const EzPopup$1 = class extends HTMLElement$1 {
|
|
|
75819
75841
|
if (this.opened && this._popupRef) {
|
|
75820
75842
|
this._popupRef.focus();
|
|
75821
75843
|
}
|
|
75822
|
-
new KeyboardManager({ propagate: false, element: this._element })
|
|
75844
|
+
new KeyboardManager({ propagate: false, element: this._element, enableShadowDom: true })
|
|
75823
75845
|
.bind("Enter", this.ezPopupAction.emit.bind("OK"))
|
|
75824
75846
|
.bind("Escape", () => this.closePopup())
|
|
75825
75847
|
.bind("Esc", () => this.closePopup());
|
|
@@ -76115,7 +76137,26 @@ class ScrollCtrl {
|
|
|
76115
76137
|
}
|
|
76116
76138
|
}
|
|
76117
76139
|
|
|
76118
|
-
const
|
|
76140
|
+
const START_HIGH_LIGHT_TAG = "<span class='card-item__highlight'>";
|
|
76141
|
+
const END_HIGH_LIGHT_TAG = "</span>";
|
|
76142
|
+
function replaceHighlight(value) {
|
|
76143
|
+
const startHighlight = new RegExp(START_HIGH_LIGHT_TAG, 'g');
|
|
76144
|
+
const endHighlight = new RegExp(END_HIGH_LIGHT_TAG, 'g');
|
|
76145
|
+
const newValue = String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
|
|
76146
|
+
return replaceQuotes(newValue);
|
|
76147
|
+
}
|
|
76148
|
+
function replaceQuotes(text) {
|
|
76149
|
+
if (text == undefined) {
|
|
76150
|
+
return;
|
|
76151
|
+
}
|
|
76152
|
+
return String(text)
|
|
76153
|
+
.replace(/&/g, '&')
|
|
76154
|
+
.replace(/</g, '<')
|
|
76155
|
+
.replace(/>/g, '>')
|
|
76156
|
+
.replace(/"/g, '"');
|
|
76157
|
+
}
|
|
76158
|
+
|
|
76159
|
+
const ezSearchCss = ":host{--ez-search--height:42px;--ez-search--width:100%;--ez-search__icon--width:48px;--ez-search--border-radius:var(--border--radius-medium, 12px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-color--xlight:var(--background--xlight, #fff);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px);--ez-search__input--background-color:var(--background--medium, #e0e0e0);--ez-search__input--border:var(--border--medium, 2px solid);--ez-search__input--border-color:var(--ez-search__input--background-color);--ez-search__input--focus--border-color:var(--color--primary, #008561);--ez-search__input--disabled--background-color:var(--color--disable-secondary, #F2F5F8);--ez-search__input--disabled--color:var(--text--disable, #AFB6C0);--ez-search__input--error--border-color:#CC2936;--ez-search__btn--color:var(--title--primary, #2B3A54);--ez-search__btn-disabled--color:var(--text--disable, #AFB6C0);--ez-search__btn-hover--color:var(--color--primary, #4e4e4e);--ez-search__label--color:var(--title--primary, #2B3A54);--ez-search--space--medium:var(--space--medium, 12px);--ez-search--space--small:var(--space--small, 6px);display:flex;flex-wrap:wrap;position:relative;width:var(--ez-search--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;color:var(--ez-search__btn--color)}.btn:disabled{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:disabled:hover{cursor:not-allowed;color:var(--ez-search__btn-disabled--color)}.btn:hover{color:var(--ez-search__btn-hover--color)}.btn__close{visibility:hidden}ez-text-input:hover .btn__close,ez-text-input:focus .btn__close{visibility:visible}";
|
|
76119
76160
|
|
|
76120
76161
|
const EzSearch$1 = class extends HTMLElement$1 {
|
|
76121
76162
|
constructor() {
|
|
@@ -76251,20 +76292,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76251
76292
|
async clearValue() {
|
|
76252
76293
|
this.clearSearch();
|
|
76253
76294
|
}
|
|
76254
|
-
scrollListener() {
|
|
76255
|
-
var _a;
|
|
76256
|
-
if (this._floatingID == undefined) {
|
|
76257
|
-
return;
|
|
76258
|
-
}
|
|
76259
|
-
if ((_a = this.listOptionsPosition) === null || _a === void 0 ? void 0 : _a.hardPosition) {
|
|
76260
|
-
this.hideOptions();
|
|
76261
|
-
}
|
|
76262
|
-
else {
|
|
76263
|
-
window.requestAnimationFrame(() => {
|
|
76264
|
-
this.updateListPosition();
|
|
76265
|
-
});
|
|
76266
|
-
}
|
|
76267
|
-
}
|
|
76268
76295
|
async handleValueAsString(value) {
|
|
76269
76296
|
if (this.getSelectedOption(value)) {
|
|
76270
76297
|
this.setInputValue();
|
|
@@ -76278,49 +76305,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76278
76305
|
this.ezChange.emit(this.value);
|
|
76279
76306
|
this._currentValue = this.value;
|
|
76280
76307
|
}
|
|
76281
|
-
updateListPosition() {
|
|
76282
|
-
let { verticalPosition, horizontalPosition, fromBottom, fromRight, bottomLimit, hardPosition } = this.getListPosition();
|
|
76283
|
-
const elementRect = this._listWrapper.getBoundingClientRect();
|
|
76284
|
-
const containerRect = this._listContainer.getBoundingClientRect();
|
|
76285
|
-
const textInputRect = this._textInput.getBoundingClientRect();
|
|
76286
|
-
const limitHeight = bottomLimit || window.innerHeight;
|
|
76287
|
-
const neededHeight = containerRect.bottom + elementRect.height;
|
|
76288
|
-
if (!fromBottom && (elementRect.top < 0 || neededHeight > limitHeight)) {
|
|
76289
|
-
fromBottom = true;
|
|
76290
|
-
}
|
|
76291
|
-
if (!hardPosition) {
|
|
76292
|
-
verticalPosition = verticalPosition || 0;
|
|
76293
|
-
horizontalPosition = horizontalPosition || 0;
|
|
76294
|
-
if (fromBottom) {
|
|
76295
|
-
verticalPosition = window.innerHeight - textInputRect.top + verticalPosition;
|
|
76296
|
-
}
|
|
76297
|
-
else {
|
|
76298
|
-
verticalPosition += containerRect.top;
|
|
76299
|
-
}
|
|
76300
|
-
if (fromRight) {
|
|
76301
|
-
horizontalPosition = window.innerWidth - textInputRect.right + horizontalPosition;
|
|
76302
|
-
}
|
|
76303
|
-
else {
|
|
76304
|
-
horizontalPosition += containerRect.left;
|
|
76305
|
-
}
|
|
76306
|
-
}
|
|
76307
|
-
if (verticalPosition != undefined) {
|
|
76308
|
-
this._listWrapper.style[fromBottom ? "bottom" : "top"] = `${verticalPosition}px`;
|
|
76309
|
-
this._listWrapper.style[fromBottom ? "top" : "bottom"] = "";
|
|
76310
|
-
}
|
|
76311
|
-
if (horizontalPosition != undefined) {
|
|
76312
|
-
this._listWrapper.style[fromRight ? "right" : "left"] = `${horizontalPosition}px`;
|
|
76313
|
-
this._listWrapper.style[fromRight ? "left" : "right"] = "";
|
|
76314
|
-
}
|
|
76315
|
-
}
|
|
76316
|
-
getListPosition() {
|
|
76317
|
-
if (this.listOptionsPosition) {
|
|
76318
|
-
return this.listOptionsPosition;
|
|
76319
|
-
}
|
|
76320
|
-
return {
|
|
76321
|
-
verticalPosition: 6
|
|
76322
|
-
};
|
|
76323
|
-
}
|
|
76324
76308
|
isDifferentValues(firstValue, secondValue) {
|
|
76325
76309
|
return ObjectUtils$1.objectToString(firstValue || {}) !== ObjectUtils$1.objectToString(secondValue || {});
|
|
76326
76310
|
}
|
|
@@ -76335,24 +76319,14 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76335
76319
|
getText() {
|
|
76336
76320
|
const currentValue = this.getSelectedOption(this._currentValue);
|
|
76337
76321
|
const text = this.getFormattedText(currentValue);
|
|
76338
|
-
return
|
|
76339
|
-
}
|
|
76340
|
-
replaceQuotes(text) {
|
|
76341
|
-
if (text == undefined) {
|
|
76342
|
-
return;
|
|
76343
|
-
}
|
|
76344
|
-
return String(text)
|
|
76345
|
-
.replace(/&/g, '&')
|
|
76346
|
-
.replace(/</g, '<')
|
|
76347
|
-
.replace(/>/g, '>')
|
|
76348
|
-
.replace(/"/g, '"');
|
|
76322
|
+
return replaceQuotes(text);
|
|
76349
76323
|
}
|
|
76350
76324
|
getSelectedOption(value) {
|
|
76351
76325
|
if (typeof value === "string" || value instanceof String) {
|
|
76352
76326
|
return this._visibleOptions.find(o => o.value === value);
|
|
76353
76327
|
}
|
|
76354
76328
|
if (value) {
|
|
76355
|
-
return Object.assign(Object.assign({}, value), { value:
|
|
76329
|
+
return Object.assign(Object.assign({}, value), { value: replaceHighlight(value === null || value === void 0 ? void 0 : value.value), label: replaceHighlight(value === null || value === void 0 ? void 0 : value.label) });
|
|
76356
76330
|
}
|
|
76357
76331
|
return value;
|
|
76358
76332
|
}
|
|
@@ -76390,75 +76364,19 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76390
76364
|
}
|
|
76391
76365
|
return 0;
|
|
76392
76366
|
}
|
|
76393
|
-
createOption(detail) {
|
|
76394
|
-
let { key, title } = detail;
|
|
76395
|
-
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
76396
|
-
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
76397
|
-
title = StringUtils$1.decodeHtmlEntities(title);
|
|
76398
|
-
const option = {
|
|
76399
|
-
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
76400
|
-
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
76401
|
-
};
|
|
76402
|
-
this.selectOption(option);
|
|
76403
|
-
}
|
|
76404
|
-
buildItem(opt, index) {
|
|
76405
|
-
opt.label = opt.label || opt.value;
|
|
76406
|
-
const card = {
|
|
76407
|
-
key: opt.value,
|
|
76408
|
-
title: opt.label,
|
|
76409
|
-
details: opt.details
|
|
76410
|
-
};
|
|
76411
|
-
return h("div", { style: { "height": "100%" }, class: index === this._preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this._preSelection = index }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
|
|
76412
|
-
}
|
|
76413
76367
|
showOptions() {
|
|
76414
76368
|
if (!this.enabled)
|
|
76415
76369
|
return;
|
|
76416
76370
|
if (this.isOptionsVisible()) {
|
|
76417
76371
|
return;
|
|
76418
76372
|
}
|
|
76419
|
-
|
|
76420
|
-
this._resizeObserver.observe(this._textInput);
|
|
76421
|
-
this._floatingID = FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: false, isFixed: true, backClickListener: () => this.hideOptions() });
|
|
76422
|
-
this.setFocus();
|
|
76423
|
-
window.requestAnimationFrame(() => {
|
|
76424
|
-
this.updateListPosition();
|
|
76425
|
-
if (!this.listOptionsPosition) {
|
|
76426
|
-
this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
76427
|
-
}
|
|
76428
|
-
});
|
|
76373
|
+
this._ezPopOverPlusElement.showUnder(this._textInput);
|
|
76429
76374
|
}
|
|
76430
76375
|
hideOptions() {
|
|
76431
|
-
|
|
76432
|
-
FloatingManager.close(this._floatingID);
|
|
76433
|
-
}
|
|
76434
|
-
this._floatingID = undefined;
|
|
76435
|
-
if (!!this._resizeObserver)
|
|
76436
|
-
this._resizeObserver.unobserve(this._textInput);
|
|
76376
|
+
this._ezPopOverPlusElement.hide();
|
|
76437
76377
|
}
|
|
76438
76378
|
isOptionsVisible() {
|
|
76439
|
-
return this.
|
|
76440
|
-
}
|
|
76441
|
-
nextOption() {
|
|
76442
|
-
if (!this.isOptionsVisible()) {
|
|
76443
|
-
return;
|
|
76444
|
-
}
|
|
76445
|
-
this.showOptions();
|
|
76446
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
|
|
76447
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
76448
|
-
}
|
|
76449
|
-
previousOption() {
|
|
76450
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
|
|
76451
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
76452
|
-
}
|
|
76453
|
-
scrollToOption(opt) {
|
|
76454
|
-
window.requestAnimationFrame(() => {
|
|
76455
|
-
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
|
|
76456
|
-
? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
76457
|
-
: undefined;
|
|
76458
|
-
if (liElem) {
|
|
76459
|
-
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
76460
|
-
}
|
|
76461
|
-
});
|
|
76379
|
+
return this._ezPopOverPlusElement.opened;
|
|
76462
76380
|
}
|
|
76463
76381
|
selectCurrentOption() {
|
|
76464
76382
|
if (this._preSelection !== undefined) {
|
|
@@ -76501,17 +76419,11 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76501
76419
|
this._source = [];
|
|
76502
76420
|
this.updateVisibleOptions();
|
|
76503
76421
|
}
|
|
76504
|
-
replaceHighlight(value) {
|
|
76505
|
-
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
76506
|
-
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
76507
|
-
const newValue = String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
|
|
76508
|
-
return this.replaceQuotes(newValue);
|
|
76509
|
-
}
|
|
76510
76422
|
selectOption(newOption, focusOnInput = true) {
|
|
76511
76423
|
var _a, _b;
|
|
76512
76424
|
const currentValue = this.getSelectedOption(this.value);
|
|
76513
|
-
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value:
|
|
76514
|
-
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value:
|
|
76425
|
+
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
|
|
76426
|
+
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
|
|
76515
76427
|
if ((((_a = currentValue === null || currentValue === void 0 ? void 0 : currentValue.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ((_b = newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) === null || _b === void 0 ? void 0 : _b.toString()))
|
|
76516
76428
|
|| (currentValue == undefined && newOptionsFormatted != undefined && "value" in newOptionsFormatted)) {
|
|
76517
76429
|
const adjustedOpt = !(newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) ? undefined : newOptionsFormatted;
|
|
@@ -76621,7 +76533,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76621
76533
|
this.showNoResultMessage();
|
|
76622
76534
|
return;
|
|
76623
76535
|
}
|
|
76624
|
-
this._currentValue = value ? Object.assign(Object.assign({}, value), { value:
|
|
76536
|
+
this._currentValue = value ? Object.assign(Object.assign({}, value), { value: replaceHighlight(value.value), label: replaceHighlight(value.label) }) : value;
|
|
76625
76537
|
this.value = this._currentValue;
|
|
76626
76538
|
this.setTextInputValue();
|
|
76627
76539
|
}
|
|
@@ -76630,7 +76542,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76630
76542
|
if (this.value === undefined || this.value === null)
|
|
76631
76543
|
return;
|
|
76632
76544
|
const textValue = (typeof this.value === 'string') ? this.value : this.getFormattedText(this.value);
|
|
76633
|
-
this._textInput.value =
|
|
76545
|
+
this._textInput.value = replaceQuotes(textValue);
|
|
76634
76546
|
}
|
|
76635
76547
|
}
|
|
76636
76548
|
loadOptionValue(argument) {
|
|
@@ -76667,7 +76579,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76667
76579
|
return;
|
|
76668
76580
|
}
|
|
76669
76581
|
let text = this.getFormattedText(this.value);
|
|
76670
|
-
text =
|
|
76582
|
+
text = replaceQuotes(text);
|
|
76671
76583
|
this._textInput.value = text;
|
|
76672
76584
|
}
|
|
76673
76585
|
//---------------------------------------------
|
|
@@ -76694,9 +76606,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76694
76606
|
}
|
|
76695
76607
|
componentDidRender() {
|
|
76696
76608
|
var _a;
|
|
76697
|
-
if (this._floatingID === undefined) {
|
|
76698
|
-
this._listWrapper.remove();
|
|
76699
|
-
}
|
|
76700
76609
|
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
76701
76610
|
ElementIDUtils.addIDInfoIfNotExists(elem, "itemSearch");
|
|
76702
76611
|
});
|
|
@@ -76708,10 +76617,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76708
76617
|
window.requestAnimationFrame(() => {
|
|
76709
76618
|
if (!Array.isArray(entries) || !entries.length)
|
|
76710
76619
|
return;
|
|
76711
|
-
const { clientWidth } = this._listContainer;
|
|
76712
|
-
if (clientWidth > 0 && !!this._listWrapper) {
|
|
76713
|
-
this._listWrapper.style.width = `${clientWidth}px`;
|
|
76714
|
-
}
|
|
76715
76620
|
});
|
|
76716
76621
|
});
|
|
76717
76622
|
await this.handleInitialValue();
|
|
@@ -76778,7 +76683,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76778
76683
|
this._changeDeboucingTimeout = null;
|
|
76779
76684
|
}
|
|
76780
76685
|
}
|
|
76781
|
-
keyDownHandler(event) {
|
|
76686
|
+
async keyDownHandler(event) {
|
|
76782
76687
|
this._tabPressed = false;
|
|
76783
76688
|
if (event.ctrlKey) {
|
|
76784
76689
|
if (event.key === "f" || event.key === "F") {
|
|
@@ -76794,15 +76699,20 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76794
76699
|
switch (event.key) {
|
|
76795
76700
|
case "ArrowDown":
|
|
76796
76701
|
event.stopPropagation();
|
|
76797
|
-
if (this.canShowListOptions())
|
|
76702
|
+
if (this.canShowListOptions()) {
|
|
76798
76703
|
event.preventDefault();
|
|
76799
|
-
|
|
76704
|
+
}
|
|
76705
|
+
if (!this.isOptionsVisible()) {
|
|
76706
|
+
this.showOptions();
|
|
76707
|
+
}
|
|
76708
|
+
await this._searchList.nextOption();
|
|
76800
76709
|
break;
|
|
76801
76710
|
case "ArrowUp":
|
|
76802
76711
|
event.stopPropagation();
|
|
76803
|
-
if (this.canShowListOptions())
|
|
76712
|
+
if (this.canShowListOptions()) {
|
|
76804
76713
|
event.preventDefault();
|
|
76805
|
-
|
|
76714
|
+
}
|
|
76715
|
+
await this._searchList.previousOption();
|
|
76806
76716
|
break;
|
|
76807
76717
|
case "Enter":
|
|
76808
76718
|
this.handleEventPropagation(event);
|
|
@@ -76824,7 +76734,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76824
76734
|
}
|
|
76825
76735
|
//O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
|
|
76826
76736
|
handleEventPropagation(event) {
|
|
76827
|
-
if (this.
|
|
76737
|
+
if (this._ezPopOverPlusElement.opened && this.stopPropagateEnterKeyEvent) {
|
|
76828
76738
|
event.stopPropagation();
|
|
76829
76739
|
}
|
|
76830
76740
|
}
|
|
@@ -76836,17 +76746,17 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76836
76746
|
return !this._showLoading && this._visibleOptions.length > 0;
|
|
76837
76747
|
}
|
|
76838
76748
|
canShowLoadSpinDescription() {
|
|
76839
|
-
return this._showLoadingDescription && this.
|
|
76749
|
+
return this._showLoadingDescription && !this._ezPopOverPlusElement.opened;
|
|
76750
|
+
}
|
|
76751
|
+
onChangePreSelection(value) {
|
|
76752
|
+
this._preSelection = value;
|
|
76840
76753
|
}
|
|
76841
76754
|
render() {
|
|
76842
76755
|
var _a;
|
|
76843
76756
|
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
76844
76757
|
return (h(Host, null, h("ez-text-input", { "data-element-id": ElementIDUtils.getInternalIDInfo("textInput"), class: this.suppressSearch ? "suppressed-search-input" : "", ref: elem => this._textInput = elem, "data-slave-mode": "true", enabled: this.enabled && !this.suppressSearch, onInput: event => this.onTextInputChangeHandler(event), 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: "leftIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.handlerIconClick() }, this.canShowLoadSpinDescription() ? h("div", { class: "message__loading" }) : h("ez-icon", { iconName: "search" })), (((_a = this._textInput) === null || _a === void 0 ? void 0 : _a.value) && (this._criteria || this.value) || this.ensureClearButtonVisible)
|
|
76845
76758
|
? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
|
|
76846
|
-
: undefined), h("
|
|
76847
|
-
&& this._visibleOptions.length === 0
|
|
76848
|
-
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
|
|
76849
|
-
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), h("span", { class: "item__value item__value--hidden", ref: elem => this._itemValueBasis = elem }), this.canShowListOptions() && this._visibleOptions.map((opt, index) => this.buildItem(opt, index)))))));
|
|
76759
|
+
: undefined), h("ez-popover-plus", { ref: elem => this._ezPopOverPlusElement = elem, autoClose: false, overlayType: "none", useAnchorSize: true, anchorElement: [this._textInput, this.el] }, h("search-list", { ref: (ref) => this._searchList = ref, showLoading: this._showLoading, visibleOptions: this._visibleOptions, textEmptyList: this._textEmptyList, canShowListOptions: this.canShowListOptions(), value: this.value, showOptionValue: this.showOptionValue, preSelection: this._preSelection, onChangeValue: ({ detail }) => this.selectOption(detail), onChangePreSelection: ({ detail }) => this.onChangePreSelection(detail) }))));
|
|
76850
76760
|
}
|
|
76851
76761
|
get el() { return this; }
|
|
76852
76762
|
static get watchers() { return {
|
|
@@ -77218,7 +77128,7 @@ const SplitItem = class extends HTMLElement$1 {
|
|
|
77218
77128
|
CSSVarsUtils.applyVarsGrid(this._element, this._slot.children[0]);
|
|
77219
77129
|
}
|
|
77220
77130
|
render() {
|
|
77221
|
-
return (h(Host, { class: `box_split-item ${this._expanded ? 'expanded__item' : ''} ${this.structural ? 'structural__item' : 'content__item'}`, ref: el => (this._element = el) }, h("div", { class: "ez-split-item--header" }, h("slot", { name: "leftButtons" }), h("div", { class: "ez-split-item--header-title" }, this.label && (h("h3", { class: "ez-text ez-text--primary ez-title ez-title--
|
|
77131
|
+
return (h(Host, { class: `box_split-item ${this._expanded ? 'expanded__item' : ''} ${this.structural ? 'structural__item' : 'content__item'}`, ref: el => (this._element = el) }, h("div", { class: "ez-split-item--header" }, h("slot", { name: "leftButtons" }), h("div", { class: "ez-split-item--header-title" }, this.label && (h("h3", { class: "ez-text ez-text--primary ez-title ez-title--medium ez-margin--small", title: this.label }, this.label))), h("div", { class: "ez-split-item--header-buttons" }, h("slot", { name: "rightButtons" }), this.enableExpand && (h("ez-button", { ref: el => this.expandButtonRef = el, size: "small", mode: "icon", iconName: "expand", class: 'ez-button--tertiary', onClick: () => this.toggleExpandItem(), title: this._expanded ? 'Resumir' : 'Expandir' })))), h("div", { class: "ez-split-item--content grid_height-0", ref: el => (this._slot = el) }, h("slot", null))));
|
|
77222
77132
|
}
|
|
77223
77133
|
static get style() { return ezSplitItemCss; }
|
|
77224
77134
|
};
|
|
@@ -80561,6 +80471,79 @@ const MultiSelectionBoxMessage$1 = class extends HTMLElement$1 {
|
|
|
80561
80471
|
static get style() { return multiSelectionBoxMessageCss; }
|
|
80562
80472
|
};
|
|
80563
80473
|
|
|
80474
|
+
const searchListCss = ":host{--ez-search__list-title--primary:var(--title--primary, #2B3A54);--ez-search__list-text--primary:var(--text--primary, #626e82);--ez-search__list-height:calc(var(--ez-search--font-size) + var(--ez-search--space--medium) + 4px);--ez-search__list-min-width:64px;--ez-search__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-search__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-search__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-search__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-search__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-search__scrollbar--width:var(--space--small, 6px);--ez-search--border-radius-small:var(--border--radius-small, 6px);--ez-search--font-size:var(--text--medium, 14px);--ez-search--font-family:var(--font-pattern, Arial);--ez-search--font-weight--large:var(--text-weight--large, 500);--ez-search--font-weight--medium:var(--text-weight--medium, 400);--ez-search--background-medium:var(--background--medium, #f0f3f7);--ez-search--line-height:calc(var(--text--medium, 14px) + 4px)}.list-options{position:relative;z-index:var(--more-visible, 2);margin:var(--space--small) 0px;padding:0px;padding-inline-start:0px;box-sizing:border-box;width:100%;height:100%;max-height:350px;min-width:150px;display:flex;flex-direction:column;scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:var(--ez-search__scrollbar--color-clicked) var(--ez-search__scrollbar--color-background)}.list-options::-webkit-scrollbar{background-color:var(--scrollbar--background);width:var(--space--small);max-width:var(--space--small);min-width:var(--space--small);height:var(--space--small);max-height:var(--space--small);min-height:var(--space--small)}.list-options::-webkit-scrollbar-track{background-color:var(--ez-search__scrollbar--color-background);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb{background-color:var(--ez-search__scrollbar--color-default);border-radius:var(--ez-search__scrollbar--border-radius)}.list-options::-webkit-scrollbar-thumb:vertical:hover,.list-options::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-search__scrollbar--color-hover)}.list-options::-webkit-scrollbar-thumb:vertical:active,.list-options::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-search__scrollbar--color-clicked)}.message{text-align:center;display:flex;justify-content:center;align-items:center;list-style-type:none;margin:var(--space--medium) 0px;min-height:var(--ez-search__list-height)}.message__no-result{color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--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-search__list-title--primary);border-top:3px solid transparent}.item__value,.item__label{flex-basis:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ez-search__list-title--primary);font-family:var(--ez-search--font-family);font-size:var(--ez-search--font-size);line-height:var(--ez-search--line-height)}.item__label{font-weight:var(--ez-search--font-weight--medium)}.item__label--bold{font-weight:var(--ez-search--font-weight--large)}.item__value{text-align:center;color:var(--ez-search__list-text--primary);font-weight:var(--ez-search--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}.item__list>li:hover{background-color:var(--ez-search--background-medium)}.item{display:flex;align-items:center;width:100%;box-sizing:border-box;list-style-type:none;cursor:pointer;border-radius:var(--ez-search--border-radius-small);gap:var(--space--small, 6px)}.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)}}@supports not (scrollbar-width: thin){.item{padding-right:8px}}";
|
|
80475
|
+
|
|
80476
|
+
const SearchList$1 = class extends HTMLElement$1 {
|
|
80477
|
+
constructor() {
|
|
80478
|
+
super();
|
|
80479
|
+
this.__registerHost();
|
|
80480
|
+
this.__attachShadow();
|
|
80481
|
+
this.changeValue = createEvent(this, "changeValue", 7);
|
|
80482
|
+
this.changePreSelection = createEvent(this, "changePreSelection", 7);
|
|
80483
|
+
this._startHighlightTag = "<span class='card-item__highlight'>";
|
|
80484
|
+
this._endHighlightTag = "</span>";
|
|
80485
|
+
this.showLoading = undefined;
|
|
80486
|
+
this.visibleOptions = [];
|
|
80487
|
+
this.textEmptyList = undefined;
|
|
80488
|
+
this.canShowListOptions = undefined;
|
|
80489
|
+
this.value = undefined;
|
|
80490
|
+
this.showOptionValue = true;
|
|
80491
|
+
this.preSelection = undefined;
|
|
80492
|
+
}
|
|
80493
|
+
async nextOption() {
|
|
80494
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
|
|
80495
|
+
this.changePreSelection.emit(newPreSelection);
|
|
80496
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
80497
|
+
}
|
|
80498
|
+
async previousOption() {
|
|
80499
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
|
|
80500
|
+
this.changePreSelection.emit(newPreSelection);
|
|
80501
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
80502
|
+
}
|
|
80503
|
+
selectOption(newOption) {
|
|
80504
|
+
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.value), label: replaceHighlight(newOption === null || newOption === void 0 ? void 0 : newOption.label) });
|
|
80505
|
+
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.value), label: replaceQuotes(newOptionsReplaced === null || newOptionsReplaced === void 0 ? void 0 : newOptionsReplaced.label) });
|
|
80506
|
+
this.changeValue.emit(newOptionsFormatted);
|
|
80507
|
+
}
|
|
80508
|
+
createOption(detail) {
|
|
80509
|
+
let { key, title } = detail;
|
|
80510
|
+
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
80511
|
+
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
80512
|
+
title = StringUtils$1.decodeHtmlEntities(title);
|
|
80513
|
+
const option = {
|
|
80514
|
+
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
80515
|
+
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
80516
|
+
};
|
|
80517
|
+
this.selectOption(option);
|
|
80518
|
+
}
|
|
80519
|
+
scrollToOption(opt) {
|
|
80520
|
+
window.requestAnimationFrame(() => {
|
|
80521
|
+
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
|
|
80522
|
+
? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
80523
|
+
: undefined;
|
|
80524
|
+
if (liElem) {
|
|
80525
|
+
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
80526
|
+
}
|
|
80527
|
+
});
|
|
80528
|
+
}
|
|
80529
|
+
buildItem(opt, index) {
|
|
80530
|
+
opt.label = opt.label || opt.value;
|
|
80531
|
+
const card = {
|
|
80532
|
+
key: opt.value,
|
|
80533
|
+
title: opt.label,
|
|
80534
|
+
details: opt.details
|
|
80535
|
+
};
|
|
80536
|
+
return h("div", { style: { "height": "100%" }, class: index === this.preSelection ? "item preselected" : "item", id: `item_${opt.value}`, onMouseDown: () => this.createOption(card), onMouseOver: () => this.changePreSelection.emit(index) }, h("ez-card-item", { item: card, compacted: true, enableKey: this.showOptionValue }));
|
|
80537
|
+
}
|
|
80538
|
+
render() {
|
|
80539
|
+
return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
|
|
80540
|
+
&& this.visibleOptions.length === 0
|
|
80541
|
+
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
|
|
80542
|
+
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
|
|
80543
|
+
}
|
|
80544
|
+
static get style() { return searchListCss; }
|
|
80545
|
+
};
|
|
80546
|
+
|
|
80564
80547
|
const EzActionsButton = /*@__PURE__*/proxyCustomElement(EzActionsButton$1, [1,"ez-actions-button",{"enabled":[516],"actions":[1040],"size":[513],"showLabel":[516,"show-label"],"displayIcon":[513,"display-icon"],"checkOption":[516,"check-option"],"value":[513],"isTransparent":[516,"is-transparent"],"arrowActive":[516,"arrow-active"],"_selectedAction":[32]}]);
|
|
80565
80548
|
const EzAlert = /*@__PURE__*/proxyCustomElement(EzAlert$1, [1,"ez-alert",{"alertType":[513,"alert-type"]}]);
|
|
80566
80549
|
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]}]);
|
|
@@ -80596,12 +80579,12 @@ const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,
|
|
|
80596
80579
|
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]}]);
|
|
80597
80580
|
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]}]);
|
|
80598
80581
|
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"]}]);
|
|
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]
|
|
80582
|
+
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],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
|
|
80583
|
+
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],"useAnchorSize":[516,"use-anchor-size"],"minWidth":[514,"min-width"]}]);
|
|
80601
80584
|
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"]}]);
|
|
80602
80585
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
80603
80586
|
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"]]]);
|
|
80604
|
-
const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"contextProperties":[8,"context-properties"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"mode":[513],"canShowError":[516,"can-show-error"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"ensureClearButtonVisible":[4,"ensure-clear-button-visible"],"suppressPreLoad":[4,"suppress-pre-load"],"autoFocus":[4,"auto-focus"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_showLoadingDescription":[32],"_criteria":[32]}
|
|
80587
|
+
const EzSearch = /*@__PURE__*/proxyCustomElement(EzSearch$1, [1,"ez-search",{"value":[1537],"label":[1537],"enabled":[1540],"errorMessage":[1537,"error-message"],"optionLoader":[16],"contextProperties":[8,"context-properties"],"showSelectedValue":[4,"show-selected-value"],"showOptionValue":[4,"show-option-value"],"suppressEmptyOption":[4,"suppress-empty-option"],"stopPropagateEnterKeyEvent":[4,"stop-propagate-enter-key-event"],"mode":[513],"canShowError":[516,"can-show-error"],"hideErrorOnFocusOut":[4,"hide-error-on-focus-out"],"listOptionsPosition":[16],"isTextSearch":[4,"is-text-search"],"ignoreLimitCharsToSearch":[4,"ignore-limit-chars-to-search"],"options":[1040],"suppressSearch":[4,"suppress-search"],"ensureClearButtonVisible":[4,"ensure-clear-button-visible"],"suppressPreLoad":[4,"suppress-pre-load"],"autoFocus":[4,"auto-focus"],"_preSelection":[32],"_visibleOptions":[32],"_startLoading":[32],"_showLoading":[32],"_showLoadingDescription":[32],"_criteria":[32]}]);
|
|
80605
80588
|
const EzSidebarButton = /*@__PURE__*/proxyCustomElement(EzSidebarButton$1, [1,"ez-sidebar-button"]);
|
|
80606
80589
|
const EzSidebarNavigator = /*@__PURE__*/proxyCustomElement(EzSidebarNavigator$1, [1,"ez-sidebar-navigator",{"type":[1],"mode":[1025],"size":[1],"isResponsive":[4,"is-responsive"],"titleMenu":[1,"title-menu"],"showCollapseMenu":[4,"show-collapse-menu"],"showFixedButton":[4,"show-fixed-button"],"open":[32]}]);
|
|
80607
80590
|
const EzSkeleton = /*@__PURE__*/proxyCustomElement(EzSkeleton$1, [0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]);
|
|
@@ -80620,6 +80603,7 @@ const EzUpload = /*@__PURE__*/proxyCustomElement(EzUpload$1, [1,"ez-upload",{"la
|
|
|
80620
80603
|
const EzViewStack = /*@__PURE__*/proxyCustomElement(EzViewStack$1, [0,"ez-view-stack"]);
|
|
80621
80604
|
const FilterColumn = /*@__PURE__*/proxyCustomElement(FilterColumn$1, [0,"filter-column",{"opened":[4],"columnName":[1,"column-name"],"columnLabel":[1,"column-label"],"gridHeaderHidden":[4,"grid-header-hidden"],"noHeaderTaskBar":[1028,"no-header-task-bar"],"dataSource":[16],"dataUnit":[16],"options":[1040],"selectedItems":[32],"fieldDescriptor":[32],"useOptions":[32],"isTextSearch":[32]}]);
|
|
80622
80605
|
const MultiSelectionBoxMessage = /*@__PURE__*/proxyCustomElement(MultiSelectionBoxMessage$1, [0,"multi-selection-box-message",{"message":[1]}]);
|
|
80606
|
+
const SearchList = /*@__PURE__*/proxyCustomElement(SearchList$1, [1,"search-list",{"showLoading":[4,"show-loading"],"visibleOptions":[16],"textEmptyList":[1,"text-empty-list"],"canShowListOptions":[4,"can-show-list-options"],"value":[1],"showOptionValue":[4,"show-option-value"],"preSelection":[2,"pre-selection"]}]);
|
|
80623
80607
|
const defineCustomElements = (opts) => {
|
|
80624
80608
|
if (typeof customElements !== 'undefined') {
|
|
80625
80609
|
[
|
|
@@ -80681,7 +80665,8 @@ const defineCustomElements = (opts) => {
|
|
|
80681
80665
|
EzUpload,
|
|
80682
80666
|
EzViewStack,
|
|
80683
80667
|
FilterColumn,
|
|
80684
|
-
MultiSelectionBoxMessage
|
|
80668
|
+
MultiSelectionBoxMessage,
|
|
80669
|
+
SearchList
|
|
80685
80670
|
].forEach(cmp => {
|
|
80686
80671
|
if (!customElements.get(cmp.is)) {
|
|
80687
80672
|
customElements.define(cmp.is, cmp, opts);
|
|
@@ -80690,4 +80675,4 @@ const defineCustomElements = (opts) => {
|
|
|
80690
80675
|
}
|
|
80691
80676
|
};
|
|
80692
80677
|
|
|
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 };
|
|
80678
|
+
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, SearchList, defineCustomElements };
|