@sankhyalabs/ezui 5.22.0-dev.96 → 5.22.0-dev.98
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-card-item_2.cjs.entry.js +1416 -7
- package/dist/cjs/ez-chip.cjs.entry.js +1 -1
- 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-popover-plus_3.cjs.entry.js +198 -0
- package/dist/cjs/ez-scroller_2.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +28 -158
- 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-card-item/ez-card-item.css +1 -3
- package/dist/collection/components/ez-chip/ez-chip.css +5 -1
- 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-popover-plus/ez-popover-plus.js +49 -2
- 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-scroller/ez-scroller.css +3 -0
- 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/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +177 -210
- package/dist/esm/ez-card-item_2.entry.js +1416 -7
- package/dist/esm/ez-chip.entry.js +1 -1
- 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-popover-plus_3.entry.js +192 -0
- package/dist/esm/ez-scroller_2.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +29 -159
- 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-23b6128c.entry.js +1 -0
- package/dist/ezui/p-288631d1.entry.js +1 -0
- package/dist/ezui/p-31da1b57.entry.js +1 -0
- package/dist/ezui/p-40a60148.js +1 -0
- package/dist/ezui/p-5aca7386.entry.js +1 -0
- package/dist/ezui/p-b7706b43.entry.js +1 -0
- package/dist/ezui/p-dcf3c8e5.entry.js +1 -0
- package/dist/ezui/{p-17be134a.entry.js → p-e06a9886.entry.js} +1 -1
- package/dist/types/components/ez-calendar/ez-calendar.d.ts +3 -3
- 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 -1
- 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 +72 -4
- 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-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-990b4318.entry.js +0 -1
- package/dist/ezui/p-d9548bdf.entry.js +0 -1
|
@@ -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() {
|
|
@@ -2670,7 +2670,7 @@ const EzCheck$1 = class extends HTMLElement$1 {
|
|
|
2670
2670
|
static get style() { return ezCheckCss; }
|
|
2671
2671
|
};
|
|
2672
2672
|
|
|
2673
|
-
const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:
|
|
2673
|
+
const ezChipCss = ":host{--ez-label-chip--height:30px;--ez-label-chip__label--font-size:var(--text--medium, 14px);--ez-label-chip__label--font-family:var(--font-pattern, Arial);--ez-label-chip__label--font-weight:var(--text-weight--medium, 400);--ez-label-chip__label--space--medium:var(--space--medium, 12px);--ez-label-chip__label--title--primary:var(--title--primary, #2B3A54);--ez-label-chip__label--text--primary:var(--text--primary, #626e82);--ez-label-chip__label__container--border-radius:var(--border--radius-large, 24px);--ez-label-chip__label__container--border:1px solid;--ez-label-chip__label__container--border-color-strokes:var(--color--strokes, #DCE0E8);--ez-label-chip__label__container--color-primary:var(--color--primary, #008561);--ez-label-chip__label__container-color--disable-secondary:var(--color--disable-secondary, #F2F5F8);--ez-label-chip__label__container--background-color:var(--color--primary-300);--ez-label-chip__label__container--border-color:#0085610F;--ez-label-chip__label__container--default--border-color--active:var(--color--primary, #007a5a);--ez-label-chip__label__container--default--background-color--hover:var(--color--primary-300, #f2faf8);--ez-label-chip__label__container--default--color--hover:var(--color--primary, #f2faf8);--ez-label-chip__label__container--text--disabled:var(--text--disable, #AFB6C0);--ez-label-chip__label__container--default--border-color--active:var(--color--primary);--ez-label-chip__label__container--default--margin-top:var(--space-extra-small, 3px)}.lbl{display:flex;white-space:nowrap;align-items:center;cursor:pointer;user-select:none;color:var(--ez-label-chip__label--title--primary);height:var(--ez-label-chip--height);font-family:var(--ez-label-chip__label--font-family);font-size:var(--ez-label-chip__label--font-size);font-weight:var(--ez-label-chip__label--font-weight)}.lbl--active{color:var(--ez-label-chip__label__container--default--color--hover)}.lbl--disabled{color:var(--ez-label-chip__label__container--text--disabled)}.label__container{cursor:pointer;width:max-content;display:flex;flex-wrap:wrap;align-items:center;background-color:#FFFFFF;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary);border:var(--ez-label-chip__label__container--border);border-radius:var(--ez-label-chip__label__container--border-radius);border-color:var(--ez-label-chip__label__container--border-color-strokes);padding-right:var(--ez-label-chip__label--space--medium);padding-left:var(--ez-label-chip__label--space--medium);outline-color:var(--ez-label-chip__label__container--default--border-color--active);margin-top:var(--ez-label-chip__label__container--default--margin-top)}.label__content{display:flex;align-items:center;flex-wrap:wrap;--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--disabled{cursor:default;border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__container--active{border-color:var(--ez-label-chip__label__container--default--background-color--hover);background-color:var(--ez-label-chip__label__container--default--background-color--hover);color:var(--ez-label-chip__label__container--default--color--hover);fill:var(--ez-label-chip__label__container--default--color--hover);--ez-icon--color:var(--ez-label-chip__label__container--default--color--hover)}.label__container:hover{border-color:var(--ez-label-chip__label__container--default--border-color--active)}.label__container:focus{outline:none;box-shadow:0 0 0 2px var(--ez-label-chip__label__container--default--border-color--active)}.label__container--disabled:hover{cursor:default;border:var(--ez-label-chip__label__container--border);border-color:var(--ez-label-chip__label__container-color--disable-secondary);background-color:var(--ez-label-chip__label__container-color--disable-secondary);fill:var(--ez-label-chip__label__container--text--disabled);color:var(--ez-label-chip__label__container--text--disabled);--ez-icon--color:var(--ez-label-chip__label__container--text--disabled)}.label__content__icon{display:flex;cursor:pointer;color:var(--ez-label-chip__label--text--primary);fill:var(--ez-label-chip__label--text--primary);--ez-icon--color:var(--ez-label-chip__label--text--primary)}.label__container--row-reverse{flex-direction:row-reverse}.label__container .btn-close{padding:0px 0px 0px 8px}.label__container--row-reverse .btn-close{padding:0px 8px 0px 0px}.cursor-disable{cursor:default}ez-icon{--ez-icon--color:inherit}";
|
|
2674
2674
|
|
|
2675
2675
|
const EzChip$1 = class extends HTMLElement$1 {
|
|
2676
2676
|
constructor() {
|
|
@@ -3741,22 +3741,9 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3741
3741
|
this._changePending = false;
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
|
-
showCalendar() {
|
|
3745
|
-
this.handleBlur();
|
|
3746
|
-
this._calendar.value = this.value;
|
|
3747
|
-
let top;
|
|
3748
|
-
if (this.isFixed()) {
|
|
3749
|
-
top = 29;
|
|
3750
|
-
this._calendar.fitHorizontal(0);
|
|
3751
|
-
}
|
|
3752
|
-
else {
|
|
3753
|
-
top = this.errorMessage || this.mode === "slim" ? 6 : -13;
|
|
3754
|
-
}
|
|
3755
|
-
this._calendar.fitVertical(top, this._elem.clientHeight);
|
|
3756
|
-
}
|
|
3757
3744
|
hideCalendar() {
|
|
3758
3745
|
this.changeValue(this._calendar.value);
|
|
3759
|
-
this.
|
|
3746
|
+
this._popover.hide();
|
|
3760
3747
|
}
|
|
3761
3748
|
handleBlur() {
|
|
3762
3749
|
if (!this._changePending) {
|
|
@@ -3817,8 +3804,8 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3817
3804
|
this._textInput.value = textValue;
|
|
3818
3805
|
}
|
|
3819
3806
|
}
|
|
3820
|
-
|
|
3821
|
-
|
|
3807
|
+
disconnectedCallback() {
|
|
3808
|
+
this.hideCalendar();
|
|
3822
3809
|
}
|
|
3823
3810
|
componentDidLoad() {
|
|
3824
3811
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
@@ -3831,7 +3818,7 @@ const EzDateInput$1 = class extends HTMLElement$1 {
|
|
|
3831
3818
|
}
|
|
3832
3819
|
render() {
|
|
3833
3820
|
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
3834
|
-
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(); } }))));
|
|
3835
3822
|
}
|
|
3836
3823
|
get _elem() { return this; }
|
|
3837
3824
|
static get watchers() { return {
|
|
@@ -3969,21 +3956,9 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
3969
3956
|
this.value = newValueValidated;
|
|
3970
3957
|
}
|
|
3971
3958
|
}
|
|
3972
|
-
showCalendar() {
|
|
3973
|
-
let top;
|
|
3974
|
-
if (this.isFixed()) {
|
|
3975
|
-
top = 29;
|
|
3976
|
-
this._calendar.fitHorizontal(0);
|
|
3977
|
-
}
|
|
3978
|
-
else {
|
|
3979
|
-
top = this.errorMessage || this.mode === "slim" ? 6 : -13;
|
|
3980
|
-
}
|
|
3981
|
-
this._calendar.fitVertical(top, this._elem.clientHeight);
|
|
3982
|
-
this._calendar.style.visibility = 'inherit';
|
|
3983
|
-
}
|
|
3984
3959
|
hideCalendar() {
|
|
3985
3960
|
this.changeValue(this._calendar.value);
|
|
3986
|
-
this.
|
|
3961
|
+
this._popover.hide();
|
|
3987
3962
|
}
|
|
3988
3963
|
getParsedDateTime(strValue) {
|
|
3989
3964
|
var _a, _b;
|
|
@@ -4061,8 +4036,8 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
4061
4036
|
this._textInput.value = textValue;
|
|
4062
4037
|
}
|
|
4063
4038
|
}
|
|
4064
|
-
|
|
4065
|
-
|
|
4039
|
+
disconnectedCallback() {
|
|
4040
|
+
this.hideCalendar();
|
|
4066
4041
|
}
|
|
4067
4042
|
componentDidLoad() {
|
|
4068
4043
|
CSSVarsUtils.applyVarsTextInput(this._elem, this._textInput);
|
|
@@ -4075,7 +4050,7 @@ const EzDateTimeInput$1 = class extends HTMLElement$1 {
|
|
|
4075
4050
|
}
|
|
4076
4051
|
render() {
|
|
4077
4052
|
ElementIDUtils.addIDInfoIfNotExists(this._elem, 'input');
|
|
4078
|
-
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 }))));
|
|
4079
4054
|
}
|
|
4080
4055
|
get _elem() { return this; }
|
|
4081
4056
|
static get watchers() { return {
|
|
@@ -75523,7 +75498,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
75523
75498
|
});
|
|
75524
75499
|
};
|
|
75525
75500
|
|
|
75526
|
-
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--20, 20);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--16, 16)}.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)}";
|
|
75527
75502
|
|
|
75528
75503
|
const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
75529
75504
|
constructor() {
|
|
@@ -75538,18 +75513,19 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75538
75513
|
this.overlayType = "light";
|
|
75539
75514
|
this.anchorElement = undefined;
|
|
75540
75515
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75516
|
+
this.useAnchorSize = false;
|
|
75517
|
+
this.minWidth = 150;
|
|
75541
75518
|
}
|
|
75542
|
-
|
|
75543
|
-
if (newValue === oldValue)
|
|
75519
|
+
observeOpened(newValue, oldValue) {
|
|
75520
|
+
if (newValue === oldValue) {
|
|
75544
75521
|
return;
|
|
75522
|
+
}
|
|
75545
75523
|
if (newValue) {
|
|
75546
75524
|
this.openPopover();
|
|
75547
75525
|
}
|
|
75548
75526
|
else {
|
|
75549
75527
|
this.hidePopover();
|
|
75550
75528
|
}
|
|
75551
|
-
this.ezVisibilityChange.emit(newValue);
|
|
75552
|
-
return;
|
|
75553
75529
|
}
|
|
75554
75530
|
/**
|
|
75555
75531
|
* Atualiza a posição do popover.
|
|
@@ -75608,17 +75584,37 @@ const EzPopoverCore$1 = class extends HTMLElement$1 {
|
|
|
75608
75584
|
verticalGap: this.parseSizePixel(top, this.options.verticalGap),
|
|
75609
75585
|
});
|
|
75610
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
|
+
}
|
|
75611
75607
|
async updatePositionPopover() {
|
|
75612
75608
|
if (!this._box || !this.opened) {
|
|
75613
75609
|
return;
|
|
75614
75610
|
}
|
|
75615
|
-
|
|
75616
|
-
|
|
75617
|
-
|
|
75618
|
-
|
|
75619
|
-
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`;
|
|
75620
75616
|
}
|
|
75621
|
-
await computePosition(
|
|
75617
|
+
await computePosition(currentAnchorElement, this._box, {
|
|
75622
75618
|
placement: this.options.fromRight ? 'bottom-end' : 'bottom-start',
|
|
75623
75619
|
middleware: [flip(), shift({ padding: 5 })],
|
|
75624
75620
|
strategy: 'fixed',
|
|
@@ -75725,6 +75721,8 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75725
75721
|
this.overlayType = "light";
|
|
75726
75722
|
this.anchorElement = undefined;
|
|
75727
75723
|
this.options = { horizontalGap: 0, verticalGap: 0, fromRight: false };
|
|
75724
|
+
this.useAnchorSize = false;
|
|
75725
|
+
this.minWidth = 150;
|
|
75728
75726
|
}
|
|
75729
75727
|
listenerEzVisibilityChange({ detail }) {
|
|
75730
75728
|
this.ezVisibilityChange.emit(detail);
|
|
@@ -75789,6 +75787,12 @@ const EzPopoverPlus$1 = class extends HTMLElement$1 {
|
|
|
75789
75787
|
this._popOverCore.boxWidth = this.boxWidth;
|
|
75790
75788
|
this._popOverCore.overlayType = this.overlayType;
|
|
75791
75789
|
this._popOverCore.options = this.options;
|
|
75790
|
+
this._popOverCore.useAnchorSize = this.useAnchorSize;
|
|
75791
|
+
this._popOverCore.minWidth = this.minWidth;
|
|
75792
|
+
this._popOverCore.addEventListener('ezVisibilityChange', ({ detail }) => {
|
|
75793
|
+
this.ezVisibilityChange.emit(detail);
|
|
75794
|
+
this.opened = detail;
|
|
75795
|
+
});
|
|
75792
75796
|
const firstChild = this._host.children.item(0);
|
|
75793
75797
|
if (firstChild) {
|
|
75794
75798
|
this._popOverCore.appendChild(firstChild);
|
|
@@ -75945,7 +75949,7 @@ const EzRadioButton$1 = class extends HTMLElement$1 {
|
|
|
75945
75949
|
static get style() { return ezRadioButtonCss; }
|
|
75946
75950
|
};
|
|
75947
75951
|
|
|
75948
|
-
const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
|
|
75952
|
+
const ezScrollerCss = ":host{--ez-scroller--box-shadow-color:var(--background--body, #fafcff);--ez-scroller__scrollbar--color-default:var(--scrollbar--default, #626e82);--ez-scroller__scrollbar--color-background:var(--scrollbar--background, #E5EAF0);--ez-scroller__scrollbar--color-hover:var(--scrollbar--hover, #2B3A54);--ez-scroller__scrollbar--color-clicked:var(--scrollbar--clicked, #a2abb9);--ez-scroller__scrollbar--border-radius:var(--border--radius-small, 6px);--ez-scroller__scrollbar--width:var(--space--small, 6px);--ez-scroller__max-height:unset;--ez-scroller__scrollbar--padding-right:var(--space-extra-small, 3px);display:flex;cursor:grab;width:100%;overflow:hidden}.dragging{cursor:grabbing}.ez-scroller__container{display:flex;overflow-y:hidden;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked),.ez-scroller__container:not(.ez-scroller__container--locked):hover{scrollbar-color:var(--ez-scroller__scrollbar--color-clicked) var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container--both{overflow-y:scroll;overflow-x:scroll;flex-wrap:wrap}.ez-scroller__container--horizontal{overflow-x:scroll;flex-direction:row;padding-right:var(--ez-scroller__scrollbar--padding-right)}.ez-scroller__container--vertical{overflow-y:scroll;flex-direction:column;width:100%;max-height:var(--ez-scroller__max-height)}.ez-scroller__container::-webkit-scrollbar{background-color:transparent;width:var(--ez-scroller__scrollbar--width);height:var(--ez-scroller__scrollbar--width);max-width:var(--ez-scroller__scrollbar--width);min-width:var(--ez-scroller__scrollbar--width)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-track{visibility:hidden;background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-track,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-track{background-color:var(--ez-scroller__scrollbar--color-background)}.ez-scroller__container::-webkit-scrollbar-thumb{background-color:transparent;border-radius:var(--ez-scroller__scrollbar--border-radius)}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb{background-color:var(--ez-scroller__scrollbar--color-default)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:hover{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:hover,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:hover{background-color:var(--ez-scroller__scrollbar--color-hover)}.ez-scroller__container::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container::-webkit-scrollbar-thumb:horizontal:active{background-color:transparent}.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container--both:not(.ez-scroller__container--locked)::-webkit-scrollbar-thumb:horizontal:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:vertical:active,.ez-scroller__container:not(.ez-scroller__container--locked):hover::-webkit-scrollbar-thumb:horizontal:active{background-color:var(--ez-scroller__scrollbar--color-clicked)}.ez-scroller__wrapper{display:flex;position:relative;width:100%;height:auto}.ez-scroller__wrapper--horizontal{flex-direction:row}.ez-scroller__wrapper--vertical{flex-direction:column}.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--shadow-end::after{content:\"\";display:flex;position:absolute;z-index:1}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{width:24px;min-height:calc(100% - 10px)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-start::before{left:0;background:linear-gradient(to right, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--horizontal.ez-scroller__wrapper--shadow-end::after{right:0;background:linear-gradient(to left, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before,.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{min-width:calc(100% - 10px);height:24px}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-start::before{top:0;background:linear-gradient(to bottom, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}.ez-scroller__wrapper--vertical.ez-scroller__wrapper--shadow-end::after{bottom:0;background:linear-gradient(to top, var(--ez-scroller--box-shadow-color) 20%, transparent 80%)}";
|
|
75949
75953
|
|
|
75950
75954
|
const EzScroller$1 = class extends HTMLElement$1 {
|
|
75951
75955
|
constructor() {
|
|
@@ -76136,7 +76140,26 @@ class ScrollCtrl {
|
|
|
76136
76140
|
}
|
|
76137
76141
|
}
|
|
76138
76142
|
|
|
76139
|
-
const
|
|
76143
|
+
const START_HIGH_LIGHT_TAG = "<span class='card-item__highlight'>";
|
|
76144
|
+
const END_HIGH_LIGHT_TAG = "</span>";
|
|
76145
|
+
function replaceHighlight(value) {
|
|
76146
|
+
const startHighlight = new RegExp(START_HIGH_LIGHT_TAG, 'g');
|
|
76147
|
+
const endHighlight = new RegExp(END_HIGH_LIGHT_TAG, 'g');
|
|
76148
|
+
const newValue = String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
|
|
76149
|
+
return replaceQuotes(newValue);
|
|
76150
|
+
}
|
|
76151
|
+
function replaceQuotes(text) {
|
|
76152
|
+
if (text == undefined) {
|
|
76153
|
+
return;
|
|
76154
|
+
}
|
|
76155
|
+
return String(text)
|
|
76156
|
+
.replace(/&/g, '&')
|
|
76157
|
+
.replace(/</g, '<')
|
|
76158
|
+
.replace(/>/g, '>')
|
|
76159
|
+
.replace(/"/g, '"');
|
|
76160
|
+
}
|
|
76161
|
+
|
|
76162
|
+
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}";
|
|
76140
76163
|
|
|
76141
76164
|
const EzSearch$1 = class extends HTMLElement$1 {
|
|
76142
76165
|
constructor() {
|
|
@@ -76272,20 +76295,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76272
76295
|
async clearValue() {
|
|
76273
76296
|
this.clearSearch();
|
|
76274
76297
|
}
|
|
76275
|
-
scrollListener() {
|
|
76276
|
-
var _a;
|
|
76277
|
-
if (this._floatingID == undefined) {
|
|
76278
|
-
return;
|
|
76279
|
-
}
|
|
76280
|
-
if ((_a = this.listOptionsPosition) === null || _a === void 0 ? void 0 : _a.hardPosition) {
|
|
76281
|
-
this.hideOptions();
|
|
76282
|
-
}
|
|
76283
|
-
else {
|
|
76284
|
-
window.requestAnimationFrame(() => {
|
|
76285
|
-
this.updateListPosition();
|
|
76286
|
-
});
|
|
76287
|
-
}
|
|
76288
|
-
}
|
|
76289
76298
|
async handleValueAsString(value) {
|
|
76290
76299
|
if (this.getSelectedOption(value)) {
|
|
76291
76300
|
this.setInputValue();
|
|
@@ -76299,49 +76308,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76299
76308
|
this.ezChange.emit(this.value);
|
|
76300
76309
|
this._currentValue = this.value;
|
|
76301
76310
|
}
|
|
76302
|
-
updateListPosition() {
|
|
76303
|
-
let { verticalPosition, horizontalPosition, fromBottom, fromRight, bottomLimit, hardPosition } = this.getListPosition();
|
|
76304
|
-
const elementRect = this._listWrapper.getBoundingClientRect();
|
|
76305
|
-
const containerRect = this._listContainer.getBoundingClientRect();
|
|
76306
|
-
const textInputRect = this._textInput.getBoundingClientRect();
|
|
76307
|
-
const limitHeight = bottomLimit || window.innerHeight;
|
|
76308
|
-
const neededHeight = containerRect.bottom + elementRect.height;
|
|
76309
|
-
if (!fromBottom && (elementRect.top < 0 || neededHeight > limitHeight)) {
|
|
76310
|
-
fromBottom = true;
|
|
76311
|
-
}
|
|
76312
|
-
if (!hardPosition) {
|
|
76313
|
-
verticalPosition = verticalPosition || 0;
|
|
76314
|
-
horizontalPosition = horizontalPosition || 0;
|
|
76315
|
-
if (fromBottom) {
|
|
76316
|
-
verticalPosition = window.innerHeight - textInputRect.top + verticalPosition;
|
|
76317
|
-
}
|
|
76318
|
-
else {
|
|
76319
|
-
verticalPosition += containerRect.top;
|
|
76320
|
-
}
|
|
76321
|
-
if (fromRight) {
|
|
76322
|
-
horizontalPosition = window.innerWidth - textInputRect.right + horizontalPosition;
|
|
76323
|
-
}
|
|
76324
|
-
else {
|
|
76325
|
-
horizontalPosition += containerRect.left;
|
|
76326
|
-
}
|
|
76327
|
-
}
|
|
76328
|
-
if (verticalPosition != undefined) {
|
|
76329
|
-
this._listWrapper.style[fromBottom ? "bottom" : "top"] = `${verticalPosition}px`;
|
|
76330
|
-
this._listWrapper.style[fromBottom ? "top" : "bottom"] = "";
|
|
76331
|
-
}
|
|
76332
|
-
if (horizontalPosition != undefined) {
|
|
76333
|
-
this._listWrapper.style[fromRight ? "right" : "left"] = `${horizontalPosition}px`;
|
|
76334
|
-
this._listWrapper.style[fromRight ? "left" : "right"] = "";
|
|
76335
|
-
}
|
|
76336
|
-
}
|
|
76337
|
-
getListPosition() {
|
|
76338
|
-
if (this.listOptionsPosition) {
|
|
76339
|
-
return this.listOptionsPosition;
|
|
76340
|
-
}
|
|
76341
|
-
return {
|
|
76342
|
-
verticalPosition: 6
|
|
76343
|
-
};
|
|
76344
|
-
}
|
|
76345
76311
|
isDifferentValues(firstValue, secondValue) {
|
|
76346
76312
|
return ObjectUtils$1.objectToString(firstValue || {}) !== ObjectUtils$1.objectToString(secondValue || {});
|
|
76347
76313
|
}
|
|
@@ -76356,24 +76322,14 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76356
76322
|
getText() {
|
|
76357
76323
|
const currentValue = this.getSelectedOption(this._currentValue);
|
|
76358
76324
|
const text = this.getFormattedText(currentValue);
|
|
76359
|
-
return
|
|
76360
|
-
}
|
|
76361
|
-
replaceQuotes(text) {
|
|
76362
|
-
if (text == undefined) {
|
|
76363
|
-
return;
|
|
76364
|
-
}
|
|
76365
|
-
return String(text)
|
|
76366
|
-
.replace(/&/g, '&')
|
|
76367
|
-
.replace(/</g, '<')
|
|
76368
|
-
.replace(/>/g, '>')
|
|
76369
|
-
.replace(/"/g, '"');
|
|
76325
|
+
return replaceQuotes(text);
|
|
76370
76326
|
}
|
|
76371
76327
|
getSelectedOption(value) {
|
|
76372
76328
|
if (typeof value === "string" || value instanceof String) {
|
|
76373
76329
|
return this._visibleOptions.find(o => o.value === value);
|
|
76374
76330
|
}
|
|
76375
76331
|
if (value) {
|
|
76376
|
-
return Object.assign(Object.assign({}, value), { value:
|
|
76332
|
+
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) });
|
|
76377
76333
|
}
|
|
76378
76334
|
return value;
|
|
76379
76335
|
}
|
|
@@ -76411,75 +76367,19 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76411
76367
|
}
|
|
76412
76368
|
return 0;
|
|
76413
76369
|
}
|
|
76414
|
-
createOption(detail) {
|
|
76415
|
-
let { key, title } = detail;
|
|
76416
|
-
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
76417
|
-
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
76418
|
-
title = StringUtils$1.decodeHtmlEntities(title);
|
|
76419
|
-
const option = {
|
|
76420
|
-
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
76421
|
-
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
76422
|
-
};
|
|
76423
|
-
this.selectOption(option);
|
|
76424
|
-
}
|
|
76425
|
-
buildItem(opt, index) {
|
|
76426
|
-
opt.label = opt.label || opt.value;
|
|
76427
|
-
const card = {
|
|
76428
|
-
key: opt.value,
|
|
76429
|
-
title: opt.label,
|
|
76430
|
-
details: opt.details
|
|
76431
|
-
};
|
|
76432
|
-
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 }));
|
|
76433
|
-
}
|
|
76434
76370
|
showOptions() {
|
|
76435
76371
|
if (!this.enabled)
|
|
76436
76372
|
return;
|
|
76437
76373
|
if (this.isOptionsVisible()) {
|
|
76438
76374
|
return;
|
|
76439
76375
|
}
|
|
76440
|
-
|
|
76441
|
-
this._resizeObserver.observe(this._textInput);
|
|
76442
|
-
this._floatingID = FloatingManager.float(this._listWrapper, this._listContainer, { autoClose: false, isFixed: true, backClickListener: () => this.hideOptions() });
|
|
76443
|
-
this.setFocus();
|
|
76444
|
-
window.requestAnimationFrame(() => {
|
|
76445
|
-
this.updateListPosition();
|
|
76446
|
-
if (!this.listOptionsPosition) {
|
|
76447
|
-
this._listWrapper.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "nearest" });
|
|
76448
|
-
}
|
|
76449
|
-
});
|
|
76376
|
+
this._ezPopOverPlusElement.showUnder(this._textInput);
|
|
76450
76377
|
}
|
|
76451
76378
|
hideOptions() {
|
|
76452
|
-
|
|
76453
|
-
FloatingManager.close(this._floatingID);
|
|
76454
|
-
}
|
|
76455
|
-
this._floatingID = undefined;
|
|
76456
|
-
if (!!this._resizeObserver)
|
|
76457
|
-
this._resizeObserver.unobserve(this._textInput);
|
|
76379
|
+
this._ezPopOverPlusElement.hide();
|
|
76458
76380
|
}
|
|
76459
76381
|
isOptionsVisible() {
|
|
76460
|
-
return this.
|
|
76461
|
-
}
|
|
76462
|
-
nextOption() {
|
|
76463
|
-
if (!this.isOptionsVisible()) {
|
|
76464
|
-
return;
|
|
76465
|
-
}
|
|
76466
|
-
this.showOptions();
|
|
76467
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.min(this._preSelection + 1, this._visibleOptions.length - 1);
|
|
76468
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
76469
|
-
}
|
|
76470
|
-
previousOption() {
|
|
76471
|
-
this._preSelection = this._preSelection === undefined ? 0 : Math.max(this._preSelection - 1, 0);
|
|
76472
|
-
this.scrollToOption(this._visibleOptions[this._preSelection]);
|
|
76473
|
-
}
|
|
76474
|
-
scrollToOption(opt) {
|
|
76475
|
-
window.requestAnimationFrame(() => {
|
|
76476
|
-
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
|
|
76477
|
-
? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
76478
|
-
: undefined;
|
|
76479
|
-
if (liElem) {
|
|
76480
|
-
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
76481
|
-
}
|
|
76482
|
-
});
|
|
76382
|
+
return this._ezPopOverPlusElement.opened;
|
|
76483
76383
|
}
|
|
76484
76384
|
selectCurrentOption() {
|
|
76485
76385
|
if (this._preSelection !== undefined) {
|
|
@@ -76522,17 +76422,11 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76522
76422
|
this._source = [];
|
|
76523
76423
|
this.updateVisibleOptions();
|
|
76524
76424
|
}
|
|
76525
|
-
replaceHighlight(value) {
|
|
76526
|
-
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
76527
|
-
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
76528
|
-
const newValue = String(value !== null && value !== void 0 ? value : "").replace(startHighlight, '').replace(endHighlight, '');
|
|
76529
|
-
return this.replaceQuotes(newValue);
|
|
76530
|
-
}
|
|
76531
76425
|
selectOption(newOption, focusOnInput = true) {
|
|
76532
76426
|
var _a, _b;
|
|
76533
76427
|
const currentValue = this.getSelectedOption(this.value);
|
|
76534
|
-
const newOptionsReplaced = Object.assign(Object.assign({}, newOption), { value:
|
|
76535
|
-
const newOptionsFormatted = Object.assign(Object.assign({}, newOptionsReplaced), { value:
|
|
76428
|
+
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) });
|
|
76429
|
+
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) });
|
|
76536
76430
|
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()))
|
|
76537
76431
|
|| (currentValue == undefined && newOptionsFormatted != undefined && "value" in newOptionsFormatted)) {
|
|
76538
76432
|
const adjustedOpt = !(newOptionsFormatted === null || newOptionsFormatted === void 0 ? void 0 : newOptionsFormatted.value) ? undefined : newOptionsFormatted;
|
|
@@ -76642,7 +76536,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76642
76536
|
this.showNoResultMessage();
|
|
76643
76537
|
return;
|
|
76644
76538
|
}
|
|
76645
|
-
this._currentValue = value ? Object.assign(Object.assign({}, value), { value:
|
|
76539
|
+
this._currentValue = value ? Object.assign(Object.assign({}, value), { value: replaceHighlight(value.value), label: replaceHighlight(value.label) }) : value;
|
|
76646
76540
|
this.value = this._currentValue;
|
|
76647
76541
|
this.setTextInputValue();
|
|
76648
76542
|
}
|
|
@@ -76651,7 +76545,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76651
76545
|
if (this.value === undefined || this.value === null)
|
|
76652
76546
|
return;
|
|
76653
76547
|
const textValue = (typeof this.value === 'string') ? this.value : this.getFormattedText(this.value);
|
|
76654
|
-
this._textInput.value =
|
|
76548
|
+
this._textInput.value = replaceQuotes(textValue);
|
|
76655
76549
|
}
|
|
76656
76550
|
}
|
|
76657
76551
|
loadOptionValue(argument) {
|
|
@@ -76688,7 +76582,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76688
76582
|
return;
|
|
76689
76583
|
}
|
|
76690
76584
|
let text = this.getFormattedText(this.value);
|
|
76691
|
-
text =
|
|
76585
|
+
text = replaceQuotes(text);
|
|
76692
76586
|
this._textInput.value = text;
|
|
76693
76587
|
}
|
|
76694
76588
|
//---------------------------------------------
|
|
@@ -76715,9 +76609,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76715
76609
|
}
|
|
76716
76610
|
componentDidRender() {
|
|
76717
76611
|
var _a;
|
|
76718
|
-
if (this._floatingID === undefined) {
|
|
76719
|
-
this._listWrapper.remove();
|
|
76720
|
-
}
|
|
76721
76612
|
(_a = this._optionsList) === null || _a === void 0 ? void 0 : _a.querySelectorAll(".item").forEach((elem) => {
|
|
76722
76613
|
ElementIDUtils.addIDInfoIfNotExists(elem, "itemSearch");
|
|
76723
76614
|
});
|
|
@@ -76729,10 +76620,6 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76729
76620
|
window.requestAnimationFrame(() => {
|
|
76730
76621
|
if (!Array.isArray(entries) || !entries.length)
|
|
76731
76622
|
return;
|
|
76732
|
-
const { clientWidth } = this._listContainer;
|
|
76733
|
-
if (clientWidth > 0 && !!this._listWrapper) {
|
|
76734
|
-
this._listWrapper.style.width = `${clientWidth}px`;
|
|
76735
|
-
}
|
|
76736
76623
|
});
|
|
76737
76624
|
});
|
|
76738
76625
|
await this.handleInitialValue();
|
|
@@ -76799,7 +76686,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76799
76686
|
this._changeDeboucingTimeout = null;
|
|
76800
76687
|
}
|
|
76801
76688
|
}
|
|
76802
|
-
keyDownHandler(event) {
|
|
76689
|
+
async keyDownHandler(event) {
|
|
76803
76690
|
this._tabPressed = false;
|
|
76804
76691
|
if (event.ctrlKey) {
|
|
76805
76692
|
if (event.key === "f" || event.key === "F") {
|
|
@@ -76815,15 +76702,20 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76815
76702
|
switch (event.key) {
|
|
76816
76703
|
case "ArrowDown":
|
|
76817
76704
|
event.stopPropagation();
|
|
76818
|
-
if (this.canShowListOptions())
|
|
76705
|
+
if (this.canShowListOptions()) {
|
|
76819
76706
|
event.preventDefault();
|
|
76820
|
-
|
|
76707
|
+
}
|
|
76708
|
+
if (!this.isOptionsVisible()) {
|
|
76709
|
+
this.showOptions();
|
|
76710
|
+
}
|
|
76711
|
+
await this._searchList.nextOption();
|
|
76821
76712
|
break;
|
|
76822
76713
|
case "ArrowUp":
|
|
76823
76714
|
event.stopPropagation();
|
|
76824
|
-
if (this.canShowListOptions())
|
|
76715
|
+
if (this.canShowListOptions()) {
|
|
76825
76716
|
event.preventDefault();
|
|
76826
|
-
|
|
76717
|
+
}
|
|
76718
|
+
await this._searchList.previousOption();
|
|
76827
76719
|
break;
|
|
76828
76720
|
case "Enter":
|
|
76829
76721
|
this.handleEventPropagation(event);
|
|
@@ -76845,7 +76737,7 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76845
76737
|
}
|
|
76846
76738
|
//O evento deve ter sua propagação interrompida, apenas se a lista de opções estiver sendo exibida.
|
|
76847
76739
|
handleEventPropagation(event) {
|
|
76848
|
-
if (this.
|
|
76740
|
+
if (this._ezPopOverPlusElement.opened && this.stopPropagateEnterKeyEvent) {
|
|
76849
76741
|
event.stopPropagation();
|
|
76850
76742
|
}
|
|
76851
76743
|
}
|
|
@@ -76857,17 +76749,17 @@ const EzSearch$1 = class extends HTMLElement$1 {
|
|
|
76857
76749
|
return !this._showLoading && this._visibleOptions.length > 0;
|
|
76858
76750
|
}
|
|
76859
76751
|
canShowLoadSpinDescription() {
|
|
76860
|
-
return this._showLoadingDescription && this.
|
|
76752
|
+
return this._showLoadingDescription && !this._ezPopOverPlusElement.opened;
|
|
76753
|
+
}
|
|
76754
|
+
onChangePreSelection(value) {
|
|
76755
|
+
this._preSelection = value;
|
|
76861
76756
|
}
|
|
76862
76757
|
render() {
|
|
76863
76758
|
var _a;
|
|
76864
76759
|
ElementIDUtils.addIDInfoIfNotExists(this.el, 'input');
|
|
76865
76760
|
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)
|
|
76866
76761
|
? h("button", { class: "btn btn__close", slot: "rightIcon", disabled: !this.enabled, tabindex: -1, onClick: () => this.clearSearch() }, h("ez-icon", { iconName: "close" }))
|
|
76867
|
-
: undefined), h("
|
|
76868
|
-
&& this._visibleOptions.length === 0
|
|
76869
|
-
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this._textEmptyList)), this._showLoading
|
|
76870
|
-
&& 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)))))));
|
|
76762
|
+
: 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) }))));
|
|
76871
76763
|
}
|
|
76872
76764
|
get el() { return this; }
|
|
76873
76765
|
static get watchers() { return {
|
|
@@ -80582,6 +80474,79 @@ const MultiSelectionBoxMessage$1 = class extends HTMLElement$1 {
|
|
|
80582
80474
|
static get style() { return multiSelectionBoxMessageCss; }
|
|
80583
80475
|
};
|
|
80584
80476
|
|
|
80477
|
+
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}}";
|
|
80478
|
+
|
|
80479
|
+
const SearchList$1 = class extends HTMLElement$1 {
|
|
80480
|
+
constructor() {
|
|
80481
|
+
super();
|
|
80482
|
+
this.__registerHost();
|
|
80483
|
+
this.__attachShadow();
|
|
80484
|
+
this.changeValue = createEvent(this, "changeValue", 7);
|
|
80485
|
+
this.changePreSelection = createEvent(this, "changePreSelection", 7);
|
|
80486
|
+
this._startHighlightTag = "<span class='card-item__highlight'>";
|
|
80487
|
+
this._endHighlightTag = "</span>";
|
|
80488
|
+
this.showLoading = undefined;
|
|
80489
|
+
this.visibleOptions = [];
|
|
80490
|
+
this.textEmptyList = undefined;
|
|
80491
|
+
this.canShowListOptions = undefined;
|
|
80492
|
+
this.value = undefined;
|
|
80493
|
+
this.showOptionValue = true;
|
|
80494
|
+
this.preSelection = undefined;
|
|
80495
|
+
}
|
|
80496
|
+
async nextOption() {
|
|
80497
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.min(this.preSelection + 1, this.visibleOptions.length - 1);
|
|
80498
|
+
this.changePreSelection.emit(newPreSelection);
|
|
80499
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
80500
|
+
}
|
|
80501
|
+
async previousOption() {
|
|
80502
|
+
const newPreSelection = this.preSelection === undefined ? 0 : Math.max(this.preSelection - 1, 0);
|
|
80503
|
+
this.changePreSelection.emit(newPreSelection);
|
|
80504
|
+
this.scrollToOption(this.visibleOptions[newPreSelection]);
|
|
80505
|
+
}
|
|
80506
|
+
selectOption(newOption) {
|
|
80507
|
+
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) });
|
|
80508
|
+
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) });
|
|
80509
|
+
this.changeValue.emit(newOptionsFormatted);
|
|
80510
|
+
}
|
|
80511
|
+
createOption(detail) {
|
|
80512
|
+
let { key, title } = detail;
|
|
80513
|
+
const startHighlight = new RegExp(this._startHighlightTag, 'g');
|
|
80514
|
+
const endHighlight = new RegExp(this._endHighlightTag, 'g');
|
|
80515
|
+
title = StringUtils$1.decodeHtmlEntities(title);
|
|
80516
|
+
const option = {
|
|
80517
|
+
value: key === null || key === void 0 ? void 0 : key.replace(startHighlight, '').replace(endHighlight, ''),
|
|
80518
|
+
label: title === null || title === void 0 ? void 0 : title.replace(startHighlight, '').replace(endHighlight, '')
|
|
80519
|
+
};
|
|
80520
|
+
this.selectOption(option);
|
|
80521
|
+
}
|
|
80522
|
+
scrollToOption(opt) {
|
|
80523
|
+
window.requestAnimationFrame(() => {
|
|
80524
|
+
const liElem = (opt === null || opt === void 0 ? void 0 : opt.value)
|
|
80525
|
+
? this._optionsList.querySelector(`div#item_${opt.value.replace(/([ #;&,.+*~':"!^$[\]()=<>|/\\])/g, '\\$1')}`)
|
|
80526
|
+
: undefined;
|
|
80527
|
+
if (liElem) {
|
|
80528
|
+
liElem.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
80529
|
+
}
|
|
80530
|
+
});
|
|
80531
|
+
}
|
|
80532
|
+
buildItem(opt, index) {
|
|
80533
|
+
opt.label = opt.label || opt.value;
|
|
80534
|
+
const card = {
|
|
80535
|
+
key: opt.value,
|
|
80536
|
+
title: opt.label,
|
|
80537
|
+
details: opt.details
|
|
80538
|
+
};
|
|
80539
|
+
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 }));
|
|
80540
|
+
}
|
|
80541
|
+
render() {
|
|
80542
|
+
return (h(Host, null, h("ul", { class: "list-options", ref: elem => this._optionsList = elem }, !this.showLoading
|
|
80543
|
+
&& this.visibleOptions.length === 0
|
|
80544
|
+
&& h("div", { class: "message" }, h("span", { class: "message__no-result" }, this.textEmptyList)), this.showLoading
|
|
80545
|
+
&& h("div", { class: "message" }, h("div", { class: "message__loading" })), this.canShowListOptions && this.visibleOptions.map((opt, index) => this.buildItem(opt, index)))));
|
|
80546
|
+
}
|
|
80547
|
+
static get style() { return searchListCss; }
|
|
80548
|
+
};
|
|
80549
|
+
|
|
80585
80550
|
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]}]);
|
|
80586
80551
|
const EzAlert = /*@__PURE__*/proxyCustomElement(EzAlert$1, [1,"ez-alert",{"alertType":[513,"alert-type"]}]);
|
|
80587
80552
|
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]}]);
|
|
@@ -80617,12 +80582,12 @@ const EzModalContainer = /*@__PURE__*/proxyCustomElement(EzModalContainer$1, [6,
|
|
|
80617
80582
|
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]}]);
|
|
80618
80583
|
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]}]);
|
|
80619
80584
|
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"]}]);
|
|
80620
|
-
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]}]);
|
|
80621
|
-
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"]]]);
|
|
80585
|
+
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"]}]);
|
|
80586
|
+
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"]},[[0,"ezVisibilityChange","listenerEzVisibilityChange"]]]);
|
|
80622
80587
|
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"]}]);
|
|
80623
80588
|
const EzRadioButton = /*@__PURE__*/proxyCustomElement(EzRadioButton$1, [1,"ez-radio-button",{"value":[1544],"options":[1040],"enabled":[516],"label":[513],"direction":[1537]}]);
|
|
80624
80589
|
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"]]]);
|
|
80625
|
-
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]}
|
|
80590
|
+
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]}]);
|
|
80626
80591
|
const EzSidebarButton = /*@__PURE__*/proxyCustomElement(EzSidebarButton$1, [1,"ez-sidebar-button"]);
|
|
80627
80592
|
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]}]);
|
|
80628
80593
|
const EzSkeleton = /*@__PURE__*/proxyCustomElement(EzSkeleton$1, [0,"ez-skeleton",{"count":[2],"variant":[1],"width":[1],"height":[1],"marginBottom":[1,"margin-bottom"],"animation":[1]}]);
|
|
@@ -80641,6 +80606,7 @@ const EzUpload = /*@__PURE__*/proxyCustomElement(EzUpload$1, [1,"ez-upload",{"la
|
|
|
80641
80606
|
const EzViewStack = /*@__PURE__*/proxyCustomElement(EzViewStack$1, [0,"ez-view-stack"]);
|
|
80642
80607
|
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]}]);
|
|
80643
80608
|
const MultiSelectionBoxMessage = /*@__PURE__*/proxyCustomElement(MultiSelectionBoxMessage$1, [0,"multi-selection-box-message",{"message":[1]}]);
|
|
80609
|
+
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"]}]);
|
|
80644
80610
|
const defineCustomElements = (opts) => {
|
|
80645
80611
|
if (typeof customElements !== 'undefined') {
|
|
80646
80612
|
[
|
|
@@ -80702,7 +80668,8 @@ const defineCustomElements = (opts) => {
|
|
|
80702
80668
|
EzUpload,
|
|
80703
80669
|
EzViewStack,
|
|
80704
80670
|
FilterColumn,
|
|
80705
|
-
MultiSelectionBoxMessage
|
|
80671
|
+
MultiSelectionBoxMessage,
|
|
80672
|
+
SearchList
|
|
80706
80673
|
].forEach(cmp => {
|
|
80707
80674
|
if (!customElements.get(cmp.is)) {
|
|
80708
80675
|
customElements.define(cmp.is, cmp, opts);
|
|
@@ -80711,4 +80678,4 @@ const defineCustomElements = (opts) => {
|
|
|
80711
80678
|
}
|
|
80712
80679
|
};
|
|
80713
80680
|
|
|
80714
|
-
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 };
|
|
80681
|
+
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 };
|