@sankhyalabs/ezui 7.1.0-dev.21 → 7.1.0-dev.23
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/{ApplicationUtils-4fb87a9e.js → ApplicationUtils-006ca96f.js} +1 -1
- package/dist/cjs/FormLayout-fe8da83c.js +9 -0
- package/dist/cjs/{app-globals-cb31a206.js → app-globals-5cb12916.js} +1 -1
- package/dist/cjs/{ez-combo-box-list_5.cjs.entry.js → classic-search-list_7.cjs.entry.js} +212 -5
- package/dist/cjs/ez-actions-button.cjs.entry.js +4 -3
- package/dist/cjs/ez-alert-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-avatar.cjs.entry.js +1 -1
- package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-combo-box.cjs.entry.js +36 -15
- package/dist/cjs/ez-classic-date-input.cjs.entry.js +201 -0
- package/dist/cjs/ez-classic-date-time-input.cjs.entry.js +246 -0
- package/dist/cjs/ez-classic-input.cjs.entry.js +99 -18
- package/dist/cjs/ez-classic-number-input.cjs.entry.js +205 -0
- package/dist/cjs/ez-classic-search-plus.cjs.entry.js +407 -0
- package/dist/cjs/ez-classic-search.cjs.entry.js +683 -0
- package/dist/cjs/ez-classic-text-area.cjs.entry.js +1 -1
- package/dist/cjs/ez-classic-time-input.cjs.entry.js +197 -0
- package/dist/cjs/ez-collapsible-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-combo-box.cjs.entry.js +4 -3
- package/dist/cjs/ez-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-date-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ez-double-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-file-item.cjs.entry.js +1 -1
- package/dist/cjs/ez-form-view.cjs.entry.js +121 -35
- package/dist/cjs/ez-form.cjs.entry.js +11 -7
- package/dist/cjs/ez-grid.cjs.entry.js +7 -6
- package/dist/cjs/ez-guide-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-icon.cjs.entry.js +1 -1
- package/dist/cjs/ez-link-builder_6.cjs.entry.js +1 -1
- package/dist/cjs/ez-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/ez-modal.cjs.entry.js +1 -1
- package/dist/cjs/ez-multi-selection-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-number-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ez-popup.cjs.entry.js +1 -1
- package/dist/cjs/ez-search-plus.cjs.entry.js +7 -6
- package/dist/cjs/ez-search-result-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-search.cjs.entry.js +10 -9
- package/dist/cjs/ez-sidebar-navigator.cjs.entry.js +1 -1
- package/dist/cjs/ez-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ez-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/ez-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ez-split-button.cjs.entry.js +13 -14
- package/dist/cjs/ez-split-item.cjs.entry.js +4 -3
- package/dist/cjs/ez-text-input.cjs.entry.js +37 -0
- package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
- package/dist/cjs/ez-tree.cjs.entry.js +1 -1
- package/dist/cjs/ez-upload.cjs.entry.js +2 -2
- package/dist/cjs/ezui.cjs.js +3 -3
- package/dist/cjs/filter-column.cjs.entry.js +1 -1
- package/dist/cjs/{index-e61642ff.js → index-350d0fa0.js} +30 -0
- package/dist/cjs/index-a7b0c73d.js +42 -18
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{search-column-51e50b59.js → search-column-fbf680d7.js} +10 -5
- package/dist/cjs/searchFormatters-051f8677.js +23 -0
- package/dist/cjs/{FormLayout-18853e70.js → types-6a5df0c7.js} +0 -6
- package/dist/collection/collection-manifest.json +58 -5
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.css +5 -0
- package/dist/collection/components/ez-classic-combo-box/ez-classic-combo-box.js +77 -18
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.css +44 -0
- package/dist/collection/components/ez-classic-date-input/ez-classic-date-input.js +541 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.css +44 -0
- package/dist/collection/components/ez-classic-date-time-input/ez-classic-date-time-input.js +586 -0
- package/dist/collection/components/ez-classic-input/ez-classic-input.css +33 -5
- package/dist/collection/components/ez-classic-input/ez-classic-input.js +155 -19
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.css +16 -0
- package/dist/collection/components/ez-classic-number-input/ez-classic-number-input.js +583 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.css +126 -0
- package/dist/collection/components/ez-classic-search/ez-classic-search.js +1330 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.css +227 -0
- package/dist/collection/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.js +316 -0
- package/dist/collection/components/ez-classic-search/utils/searchFormatters.js +18 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.css +406 -0
- package/dist/collection/components/ez-classic-search-plus/ez-classic-search-plus.js +988 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.css +221 -0
- package/dist/collection/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.js +298 -0
- package/dist/collection/components/ez-classic-text-area/ez-classic-text-area.css +1 -0
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.css +14 -0
- package/dist/collection/components/ez-classic-time-input/ez-classic-time-input.js +511 -0
- package/dist/collection/components/ez-form/ez-form.js +9 -5
- package/dist/collection/components/ez-form-view/ez-form-view.css +8 -3
- package/dist/collection/components/ez-form-view/ez-form-view.js +40 -4
- package/dist/collection/components/ez-form-view/fieldbuilder/FieldBuilder.js +6 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.js +9 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.js +30 -6
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.js +12 -5
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/RichText.tpl.js +1 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.js +9 -3
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.js +7 -1
- package/dist/collection/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.js +8 -1
- package/dist/collection/components/ez-form-view/structure/index.js +1 -1
- package/dist/collection/components/ez-icon/ez-icon.css +1 -0
- package/dist/collection/components/ez-rich-text/ez-rich-text.js +2 -3
- package/dist/collection/components/ez-split-button/ez-split-button.js +18 -13
- package/dist/collection/components/ez-text-input/ez-text-input.js +38 -1
- package/dist/collection/utils/form/DataBinder.js +2 -2
- package/dist/collection/utils/form/interfaces/FormLayout.js +3 -1
- package/dist/collection/utils/i18n/locales/en-us.js +10 -0
- package/dist/collection/utils/i18n/locales/es-es.js +10 -0
- package/dist/collection/utils/i18n/locales/pt-br.js +10 -0
- package/dist/collection/utils/searchColumn/search-column.js +6 -1
- package/dist/custom-elements/index.d.ts +48 -0
- package/dist/custom-elements/index.js +2722 -337
- package/dist/esm/{ApplicationUtils-985c24ae.js → ApplicationUtils-0c5cb207.js} +1 -1
- package/dist/esm/FormLayout-bda67973.js +9 -0
- package/dist/esm/{app-globals-75f8a758.js → app-globals-1db10325.js} +1 -1
- package/dist/esm/{ez-combo-box-list_5.entry.js → classic-search-list_7.entry.js} +212 -7
- package/dist/esm/ez-actions-button.entry.js +4 -3
- package/dist/esm/ez-alert-list.entry.js +1 -1
- package/dist/esm/ez-avatar.entry.js +1 -1
- package/dist/esm/ez-calendar.entry.js +1 -1
- package/dist/esm/ez-classic-combo-box.entry.js +36 -15
- package/dist/esm/ez-classic-date-input.entry.js +197 -0
- package/dist/esm/ez-classic-date-time-input.entry.js +242 -0
- package/dist/esm/ez-classic-input.entry.js +100 -19
- package/dist/esm/ez-classic-number-input.entry.js +201 -0
- package/dist/esm/ez-classic-search-plus.entry.js +403 -0
- package/dist/esm/ez-classic-search.entry.js +679 -0
- package/dist/esm/ez-classic-text-area.entry.js +1 -1
- package/dist/esm/ez-classic-time-input.entry.js +193 -0
- package/dist/esm/ez-collapsible-box.entry.js +4 -3
- package/dist/esm/ez-combo-box.entry.js +4 -3
- package/dist/esm/ez-date-input.entry.js +1 -1
- package/dist/esm/ez-date-time-input.entry.js +1 -1
- package/dist/esm/ez-dialog.entry.js +1 -1
- package/dist/esm/ez-double-list.entry.js +1 -1
- package/dist/esm/ez-file-item.entry.js +1 -1
- package/dist/esm/ez-form-view.entry.js +121 -35
- package/dist/esm/ez-form.entry.js +11 -7
- package/dist/esm/ez-grid.entry.js +5 -4
- package/dist/esm/ez-guide-navigator.entry.js +1 -1
- package/dist/esm/ez-icon.entry.js +1 -1
- package/dist/esm/ez-link-builder_6.entry.js +1 -1
- package/dist/esm/ez-list.entry.js +1 -1
- package/dist/esm/ez-modal-container.entry.js +1 -1
- package/dist/esm/ez-modal.entry.js +1 -1
- package/dist/esm/ez-multi-selection-list.entry.js +1 -1
- package/dist/esm/ez-number-input.entry.js +1 -1
- package/dist/esm/ez-pagination.entry.js +1 -1
- package/dist/esm/ez-popup.entry.js +1 -1
- package/dist/esm/ez-search-plus.entry.js +4 -3
- package/dist/esm/ez-search-result-list.entry.js +1 -1
- package/dist/esm/ez-search.entry.js +4 -3
- package/dist/esm/ez-sidebar-navigator.entry.js +1 -1
- package/dist/esm/ez-skeleton.entry.js +1 -1
- package/dist/esm/ez-sortable-list.entry.js +1 -1
- package/dist/esm/ez-spinner.entry.js +1 -1
- package/dist/esm/ez-split-button.entry.js +13 -14
- package/dist/esm/ez-split-item.entry.js +4 -3
- package/dist/esm/ez-text-input.entry.js +37 -0
- package/dist/esm/ez-time-input.entry.js +1 -1
- package/dist/esm/ez-tree.entry.js +1 -1
- package/dist/esm/ez-upload.entry.js +2 -2
- package/dist/esm/ezui.js +3 -3
- package/dist/esm/filter-column.entry.js +1 -1
- package/dist/esm/{index-a3b24b5d.js → index-225aa0c3.js} +30 -0
- package/dist/esm/index-baa5e267.js +42 -18
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{search-column-0c42248b.js → search-column-40a78cac.js} +10 -5
- package/dist/esm/searchFormatters-6d9b06e4.js +20 -0
- package/dist/esm/{FormLayout-071d324c.js → types-6f6b2650.js} +1 -7
- package/dist/ezui/ezui.esm.js +1 -1
- package/dist/ezui/{p-1c3f43e8.entry.js → p-0248846f.entry.js} +1 -1
- package/dist/ezui/p-0625743b.entry.js +1 -0
- package/dist/ezui/p-07fb22c3.entry.js +1 -0
- package/dist/ezui/p-26cd4c2e.entry.js +1 -0
- package/dist/ezui/{p-2fd16ff2.entry.js → p-2da9faf1.entry.js} +1 -1
- package/dist/ezui/{p-1bf40959.entry.js → p-34d459e4.entry.js} +1 -1
- package/dist/ezui/p-44183c39.entry.js +1 -0
- package/dist/ezui/p-47e4a8ce.js +1 -0
- package/dist/ezui/p-4af745e1.entry.js +1 -0
- package/dist/ezui/{p-6c484770.entry.js → p-4c2a4435.entry.js} +1 -1
- package/dist/ezui/{p-782fe2e3.entry.js → p-4c76b365.entry.js} +1 -1
- package/dist/ezui/p-4e576bb9.entry.js +1 -0
- package/dist/ezui/{p-5e6de2c1.entry.js → p-4e869617.entry.js} +1 -1
- package/dist/ezui/{p-0e325699.entry.js → p-4f7ad3ee.entry.js} +1 -1
- package/dist/ezui/{p-582c3f90.entry.js → p-544605c4.entry.js} +1 -1
- package/dist/ezui/p-556bf329.entry.js +1 -0
- package/dist/ezui/{p-2676e2a3.entry.js → p-56565777.entry.js} +1 -1
- package/dist/ezui/p-57b68d43.entry.js +1 -0
- package/dist/ezui/p-5895e687.js +1 -0
- package/dist/ezui/{p-714452c7.entry.js → p-5abb220b.entry.js} +1 -1
- package/dist/ezui/p-619225ce.entry.js +1 -0
- package/dist/ezui/p-679a2942.entry.js +1 -0
- package/dist/ezui/{p-474076b3.js → p-6a794336.js} +1 -1
- package/dist/ezui/{p-4ea5c8a7.entry.js → p-6ac056d7.entry.js} +1 -1
- package/dist/ezui/p-7134726a.entry.js +1 -0
- package/dist/ezui/{p-67f9fadb.entry.js → p-729bd1be.entry.js} +1 -1
- package/dist/ezui/p-7953ecb9.entry.js +1 -0
- package/dist/ezui/{p-e2e0dd76.entry.js → p-7edc3ef7.entry.js} +1 -1
- package/dist/ezui/p-88a115b3.js +1 -0
- package/dist/ezui/{p-f45ddc1f.entry.js → p-8e5f1c74.entry.js} +1 -1
- package/dist/ezui/p-951b32a1.entry.js +1 -0
- package/dist/ezui/{p-9568a93d.entry.js → p-97312709.entry.js} +1 -1
- package/dist/ezui/{p-0ec5c128.js → p-9825c1d2.js} +1 -1
- package/dist/ezui/p-987185c4.entry.js +1 -0
- package/dist/ezui/p-a0f51b99.entry.js +1 -0
- package/dist/ezui/p-a3bad8f8.entry.js +1 -0
- package/dist/ezui/{p-6570ca10.entry.js → p-a4351519.entry.js} +1 -1
- package/dist/ezui/{p-7624767b.entry.js → p-a872c642.entry.js} +1 -1
- package/dist/ezui/p-b0a716ef.entry.js +1 -0
- package/dist/ezui/p-b36475f9.entry.js +1 -0
- package/dist/ezui/{p-2b23906a.entry.js → p-b705b342.entry.js} +1 -1
- package/dist/ezui/{p-9771ea3c.entry.js → p-b8078832.entry.js} +1 -1
- package/dist/ezui/p-c0ae79fa.entry.js +1 -0
- package/dist/ezui/{p-98218fbc.js → p-c178730b.js} +1 -1
- package/dist/ezui/{p-a1a63294.entry.js → p-c56ee8c0.entry.js} +1 -1
- package/dist/ezui/{p-3d71e8e1.entry.js → p-cd8be0c7.entry.js} +1 -1
- package/dist/ezui/{p-a13e65a4.entry.js → p-ce0a0036.entry.js} +1 -1
- package/dist/ezui/{p-0aafbc30.entry.js → p-df802548.entry.js} +1 -1
- package/dist/ezui/p-e2689b33.entry.js +1 -0
- package/dist/ezui/{p-dc192d01.entry.js → p-e2972977.entry.js} +1 -1
- package/dist/ezui/{p-47d9256e.entry.js → p-e3a42f47.entry.js} +1 -1
- package/dist/ezui/p-e3cd5080.entry.js +1 -0
- package/dist/ezui/{p-28af6826.entry.js → p-e493ad57.entry.js} +1 -1
- package/dist/ezui/{p-3fcf79c7.entry.js → p-f5552540.entry.js} +1 -1
- package/dist/ezui/p-ff4312d5.js +1 -0
- package/dist/types/components/ez-classic-combo-box/ez-classic-combo-box.d.ts +9 -3
- package/dist/types/components/ez-classic-date-input/ez-classic-date-input.d.ts +91 -0
- package/dist/types/components/ez-classic-date-time-input/ez-classic-date-time-input.d.ts +95 -0
- package/dist/types/components/ez-classic-input/ez-classic-input.d.ts +18 -1
- package/dist/types/components/ez-classic-number-input/ez-classic-number-input.d.ts +101 -0
- package/dist/types/components/ez-classic-search/ez-classic-search.d.ts +219 -0
- package/dist/types/components/ez-classic-search/subcomponent/classic-search-list/classic-search-list.d.ts +29 -0
- package/dist/types/components/ez-classic-search/utils/searchFormatters.d.ts +2 -0
- package/dist/types/components/ez-classic-search-plus/ez-classic-search-plus.d.ts +186 -0
- package/dist/types/components/ez-classic-search-plus/subcomponent/ez-search-result-list/ez-classic-search-result-list.d.ts +29 -0
- package/dist/types/components/ez-form/ez-form.d.ts +1 -0
- package/dist/types/components/ez-form-view/ez-form-view.d.ts +7 -0
- package/dist/types/components/ez-form-view/fieldbuilder/FieldBuilder.d.ts +7 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/CheckBox.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/ComboBox.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/DateInput.tpl.d.ts +5 -4
- package/dist/types/components/ez-form-view/fieldbuilder/templates/FileInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/NumberInput.tpl.d.ts +3 -2
- package/dist/types/components/ez-form-view/fieldbuilder/templates/RichText.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/SearchInputPlus.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextArea.tpl.d.ts +2 -1
- package/dist/types/components/ez-form-view/fieldbuilder/templates/TextInput.tpl.d.ts +2 -1
- package/dist/types/components/ez-split-button/ez-split-button.d.ts +1 -2
- package/dist/types/components/ez-text-input/ez-text-input.d.ts +4 -0
- package/dist/types/components.d.ts +2967 -1814
- package/dist/types/utils/form/interfaces/FormLayout.d.ts +3 -1
- package/dist/types/utils/i18n/locales/en-us.d.ts +10 -0
- package/dist/types/utils/i18n/locales/es-es.d.ts +10 -0
- package/dist/types/utils/i18n/locales/pt-br.d.ts +10 -0
- package/dist/types/utils/i18n/translations.d.ts +30 -0
- package/package.json +1 -1
- package/react/components.d.ts +8 -0
- package/react/components.js +8 -0
- package/react/components.js.map +1 -1
- package/dist/ezui/p-2e5de2a7.entry.js +0 -1
- package/dist/ezui/p-30ffb9ed.js +0 -1
- package/dist/ezui/p-48effc69.entry.js +0 -1
- package/dist/ezui/p-6a982147.js +0 -1
- package/dist/ezui/p-6d7f2fdc.entry.js +0 -1
- package/dist/ezui/p-6f466aec.entry.js +0 -1
- package/dist/ezui/p-7fe97ef5.entry.js +0 -1
- package/dist/ezui/p-8709c4f6.entry.js +0 -1
- package/dist/ezui/p-8a8006e6.entry.js +0 -1
- package/dist/ezui/p-8d626d2b.entry.js +0 -1
- package/dist/ezui/p-9b2e6438.entry.js +0 -1
- package/dist/ezui/p-9d004e22.entry.js +0 -1
- package/dist/ezui/p-c711900a.entry.js +0 -1
- package/dist/ezui/p-dee18824.entry.js +0 -1
- package/dist/ezui/p-e4a579f2.entry.js +0 -1
- package/dist/ezui/p-e82a12c6.entry.js +0 -1
- package/dist/ezui/p-f1bbf23f.entry.js +0 -1
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { IEzCheckBoxListPosition } from '../ez-combo-box/ez-combo-box';
|
|
3
|
+
import { SearchMode } from "../../utils";
|
|
4
|
+
import { OptionsSetFocus } from "../ez-classic-input/interfaces/optionsSetFocus";
|
|
5
|
+
export declare class EzClassicSearch {
|
|
6
|
+
private _textInput;
|
|
7
|
+
private _classicSearchList;
|
|
8
|
+
private _optionsList;
|
|
9
|
+
private _ezPopOverPlusElement;
|
|
10
|
+
private _itemValueBasis;
|
|
11
|
+
private _source;
|
|
12
|
+
private _changeDeboucingTimeout;
|
|
13
|
+
private _limitCharsToSearch;
|
|
14
|
+
private _deboucingTime;
|
|
15
|
+
_maxWidthValue: number;
|
|
16
|
+
private _tabPressed;
|
|
17
|
+
private _resizeObserver;
|
|
18
|
+
private _intersectionObserver;
|
|
19
|
+
private _startHighlightTag;
|
|
20
|
+
private _endHighlightTag;
|
|
21
|
+
private _currentValue;
|
|
22
|
+
private i18n;
|
|
23
|
+
private el;
|
|
24
|
+
private _preSelection;
|
|
25
|
+
private _visibleOptions;
|
|
26
|
+
private _startLoading;
|
|
27
|
+
private _showLoading;
|
|
28
|
+
private _criteria;
|
|
29
|
+
/**
|
|
30
|
+
* Define o valor do campo.
|
|
31
|
+
*/
|
|
32
|
+
value: IOption | string;
|
|
33
|
+
/**
|
|
34
|
+
* Texto a ser apresentado como título do campo.
|
|
35
|
+
*/
|
|
36
|
+
label: string;
|
|
37
|
+
/**
|
|
38
|
+
* Se false o usuário não pode interagir com o campo.
|
|
39
|
+
*/
|
|
40
|
+
enabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
|
|
43
|
+
*/
|
|
44
|
+
errorMessage: string;
|
|
45
|
+
/** Tamanho do input */
|
|
46
|
+
size?: "default" | "small" | "xsmall";
|
|
47
|
+
/**
|
|
48
|
+
* Carrega as opções dinamicamente.
|
|
49
|
+
*/
|
|
50
|
+
optionLoader: (argument: ISearchArgument, ctxProperties?: any) => Promise<Array<IOption>> | Array<IOption> | IOption;
|
|
51
|
+
/**
|
|
52
|
+
* Propriedades de contexto da aplicação.
|
|
53
|
+
*/
|
|
54
|
+
contextProperties?: any;
|
|
55
|
+
/**
|
|
56
|
+
* Se false a opção selecionada deve exibir somente o `label`.
|
|
57
|
+
*/
|
|
58
|
+
showSelectedValue: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Se false cada opção na lista deve exibir somente o `label`.
|
|
61
|
+
*/
|
|
62
|
+
showOptionValue: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Se true remove a opção vazia da lista.
|
|
65
|
+
*/
|
|
66
|
+
suppressEmptyOption: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Se true, ineterrompe a propagação do evento de KeyDown da tecla enter
|
|
69
|
+
*/
|
|
70
|
+
stopPropagateEnterKeyEvent: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Define o tamanho do campo.
|
|
73
|
+
*/
|
|
74
|
+
mode: "slim" | "regular";
|
|
75
|
+
/**
|
|
76
|
+
* Se true, muda o tipo do text-input para classic.
|
|
77
|
+
*/
|
|
78
|
+
classic: boolean;
|
|
79
|
+
/** Define se o campo é obrigatório */
|
|
80
|
+
required?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Se false deixa de exibir a mensagem de erro dentro do campo.
|
|
83
|
+
*/
|
|
84
|
+
canShowError: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Quando verdadeiro deixa de exibir a mensagem de erro (se existente) quando focar em um elemento diferente.
|
|
87
|
+
*/
|
|
88
|
+
hideErrorOnFocusOut: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Define um posicionamento fixo para a lista de opções do CheckBox.
|
|
91
|
+
*/
|
|
92
|
+
listOptionsPosition: IEzCheckBoxListPosition;
|
|
93
|
+
/**
|
|
94
|
+
* Informa se a pesquisa é do tipo texto.
|
|
95
|
+
*/
|
|
96
|
+
isTextSearch: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Define se deve ignorar o limite de caracteres mínimo para realizar uma pesquisa
|
|
99
|
+
*/
|
|
100
|
+
ignoreLimitCharsToSearch: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Emitido quando acontece a alteração de valor do campo.
|
|
103
|
+
*/
|
|
104
|
+
ezChange: EventEmitter<IOption>;
|
|
105
|
+
/**
|
|
106
|
+
* Array com as opções do ez-combo-box. Os elementos devem obedecer
|
|
107
|
+
* o formato: `{value: string, label: string}`.
|
|
108
|
+
*/
|
|
109
|
+
options: Array<IOption>;
|
|
110
|
+
/**
|
|
111
|
+
* Se true desabilita a digitação dentro do componente.
|
|
112
|
+
*/
|
|
113
|
+
suppressSearch: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Garante que o botão de limpar pesquisa está sempre visível
|
|
116
|
+
*/
|
|
117
|
+
ensureClearButtonVisible: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Se true, desabilita pré-load das opções ao carregar componente
|
|
120
|
+
*/
|
|
121
|
+
suppressPreLoad: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Se true o campo de texto receberá o foco ao ser renderizado.
|
|
124
|
+
*/
|
|
125
|
+
autoFocus: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Texto alternativo a ser apresentado como título do campo.
|
|
128
|
+
*/
|
|
129
|
+
alternativePlaceholder: string;
|
|
130
|
+
/**
|
|
131
|
+
* Informa se deve exibir a opção de mostrar mais resultados.
|
|
132
|
+
*/
|
|
133
|
+
showMore: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Informa se o valor da opção selecionada deve persistir no input de texto.
|
|
136
|
+
*/
|
|
137
|
+
suppressInputPersist: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Se true o campo de de apresentação não será exibido.
|
|
140
|
+
*/
|
|
141
|
+
hideDescriptionInput: boolean;
|
|
142
|
+
observeErrorMessage(): void;
|
|
143
|
+
private getValue;
|
|
144
|
+
private validateNewValue;
|
|
145
|
+
observeValue(newValue: IOption | string, oldValue: IOption | string): Promise<void>;
|
|
146
|
+
observeOptions(newOptions: IOption[], oldOptions: IOption[]): void;
|
|
147
|
+
getValueAsync(): Promise<unknown>;
|
|
148
|
+
/**
|
|
149
|
+
* Aplica o foco no campo.
|
|
150
|
+
*/
|
|
151
|
+
setFocus(options?: OptionsSetFocus): Promise<void>;
|
|
152
|
+
/**
|
|
153
|
+
* Remove o foco do campo.
|
|
154
|
+
*/
|
|
155
|
+
setBlur(): Promise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* Retorna se o conteúdo é inválido.
|
|
158
|
+
*/
|
|
159
|
+
isInvalid(): Promise<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Limpa o valor do campo de pesquisa
|
|
162
|
+
*/
|
|
163
|
+
clearValue(): Promise<void>;
|
|
164
|
+
private handleValueAsString;
|
|
165
|
+
private isDifferentValues;
|
|
166
|
+
private getFormattedText;
|
|
167
|
+
private getText;
|
|
168
|
+
private getSelectedOption;
|
|
169
|
+
private updateVisibleOptions;
|
|
170
|
+
private getMaxWidthValue;
|
|
171
|
+
private getWidthValue;
|
|
172
|
+
private showOptions;
|
|
173
|
+
private hideOptions;
|
|
174
|
+
private isOptionsVisible;
|
|
175
|
+
private selectCurrentOption;
|
|
176
|
+
private updateSource;
|
|
177
|
+
private clearSource;
|
|
178
|
+
private selectOption;
|
|
179
|
+
private loadOptions;
|
|
180
|
+
private cancelPreselection;
|
|
181
|
+
private setInputValue;
|
|
182
|
+
private clearSearch;
|
|
183
|
+
private controlListWithOnlyOne;
|
|
184
|
+
private controlEmptySearch;
|
|
185
|
+
private loadDescriptionValue;
|
|
186
|
+
private setDescriptionValue;
|
|
187
|
+
private setTextInputValue;
|
|
188
|
+
private loadOptionValue;
|
|
189
|
+
private showNoResultMessage;
|
|
190
|
+
private getFieldLabel;
|
|
191
|
+
private resetOptions;
|
|
192
|
+
private handleResetOptionsWithShowMoreVisible;
|
|
193
|
+
private handleInitialValue;
|
|
194
|
+
componentWillLoad(): Promise<void>;
|
|
195
|
+
componentDidRender(): void;
|
|
196
|
+
componentDidLoad(): Promise<void>;
|
|
197
|
+
disconnectedCallback(): void;
|
|
198
|
+
private handleClassicIconClick;
|
|
199
|
+
private buildNumberArgument;
|
|
200
|
+
private onTextInputChangeHandler;
|
|
201
|
+
private clearDeboucingTimeout;
|
|
202
|
+
private keyDownHandler;
|
|
203
|
+
private handleEventPropagation;
|
|
204
|
+
private onTextInputFocusOutHandler;
|
|
205
|
+
private canShowListOptions;
|
|
206
|
+
private onChangePreSelection;
|
|
207
|
+
private handleClickShowMore;
|
|
208
|
+
private renderShowMore;
|
|
209
|
+
render(): any;
|
|
210
|
+
}
|
|
211
|
+
export interface IOption {
|
|
212
|
+
value: string;
|
|
213
|
+
label: string;
|
|
214
|
+
details?: any;
|
|
215
|
+
}
|
|
216
|
+
export interface ISearchArgument {
|
|
217
|
+
mode: SearchMode;
|
|
218
|
+
argument: string;
|
|
219
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { IOption } from '../../ez-classic-search';
|
|
3
|
+
export declare class ClassicSearchList {
|
|
4
|
+
private _startHighlightTag;
|
|
5
|
+
private _endHighlightTag;
|
|
6
|
+
private _optionsList;
|
|
7
|
+
private readonly MAX_HEIGHT;
|
|
8
|
+
private readonly HEADER_MENU_HEIGHT;
|
|
9
|
+
showLoading: boolean;
|
|
10
|
+
visibleOptions: Array<IOption>;
|
|
11
|
+
textEmptyList: string;
|
|
12
|
+
canShowListOptions: boolean;
|
|
13
|
+
value: IOption | string;
|
|
14
|
+
showOptionValue: boolean;
|
|
15
|
+
preSelection: number;
|
|
16
|
+
changeValue: EventEmitter<IOption>;
|
|
17
|
+
changePreSelection: EventEmitter<number>;
|
|
18
|
+
nextOption(): Promise<void>;
|
|
19
|
+
previousOption(): Promise<void>;
|
|
20
|
+
private selectOption;
|
|
21
|
+
private createOption;
|
|
22
|
+
private scrollToOption;
|
|
23
|
+
private buildItem;
|
|
24
|
+
componentDidLoad(): void;
|
|
25
|
+
componentDidUpdate(): void;
|
|
26
|
+
private adjustMaxHeight;
|
|
27
|
+
private cleanEmptyObjectArray;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { ISearchOption, SearchMode } from "../../utils";
|
|
3
|
+
import { IEzCheckBoxListPosition } from "../ez-combo-box/ez-combo-box";
|
|
4
|
+
import { OptionsSetFocus } from "../ez-classic-input/interfaces/optionsSetFocus";
|
|
5
|
+
export declare class EzClassicSearchPlus {
|
|
6
|
+
private readonly SEARCH_DESCRIPTION_TIMEOUT;
|
|
7
|
+
private readonly INTERVAL_TO_RETRY_ASYNC_VALUE;
|
|
8
|
+
private _textInputDescriptionValue;
|
|
9
|
+
private _textInputCodeValue;
|
|
10
|
+
private _popover;
|
|
11
|
+
private _classicSearchList;
|
|
12
|
+
private _debounceSearch;
|
|
13
|
+
private _latestFocusedInputElement;
|
|
14
|
+
private _keyboardManager;
|
|
15
|
+
private _ignoreNextValue;
|
|
16
|
+
private i18n;
|
|
17
|
+
private el;
|
|
18
|
+
/**
|
|
19
|
+
* Emitido quando acontece a alteração de valor do campo.
|
|
20
|
+
*/
|
|
21
|
+
ezChange: EventEmitter<IOption>;
|
|
22
|
+
/**
|
|
23
|
+
* Define o valor do campo.
|
|
24
|
+
*/
|
|
25
|
+
value: IOption | string;
|
|
26
|
+
/**
|
|
27
|
+
* Se false o usuário não pode interagir com o campo.
|
|
28
|
+
*/
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Se true o campo de código ficara desabilitado.
|
|
32
|
+
*/
|
|
33
|
+
disableCodeInput: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Se true o campo de de apresentação ficara desabilitado.
|
|
36
|
+
*/
|
|
37
|
+
disableDescriptionInput: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Texto a ser apresentado como título do campo.
|
|
40
|
+
*/
|
|
41
|
+
label: string;
|
|
42
|
+
/**
|
|
43
|
+
* Se true o campo de de apresentação não será exibido.
|
|
44
|
+
*/
|
|
45
|
+
hideDescriptionInput: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Se false deixa de exibir a mensagem de erro dentro do campo.
|
|
48
|
+
*/
|
|
49
|
+
canShowError: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Define uma mensagem de orientação ao usuário, colocando o campo em modo inválido.
|
|
52
|
+
*/
|
|
53
|
+
errorMessage: string;
|
|
54
|
+
/**
|
|
55
|
+
* Define o tamanho do campo.
|
|
56
|
+
*/
|
|
57
|
+
mode: "slim" | "regular";
|
|
58
|
+
/** Tamanho do input */
|
|
59
|
+
size?: "default" | "small" | "xsmall";
|
|
60
|
+
/** Define se o campo é obrigatório */
|
|
61
|
+
required?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Propriedades de contexto da aplicação.
|
|
64
|
+
*/
|
|
65
|
+
contextProperties?: any;
|
|
66
|
+
/**
|
|
67
|
+
* Carrega as opções dinamicamente.
|
|
68
|
+
*/
|
|
69
|
+
optionLoader: OptionLoaderFunction;
|
|
70
|
+
/**
|
|
71
|
+
* Se false cada opção na lista deve exibir somente o `label`.
|
|
72
|
+
*/
|
|
73
|
+
showOptionValue: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Se true, interrompe a propagação do evento de KeyDown da tecla enter
|
|
76
|
+
*/
|
|
77
|
+
stopPropagateEnterKeyEvent: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Se true o campo de texto receberá o foco ao ser renderizado.
|
|
80
|
+
*/
|
|
81
|
+
autoFocus: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
84
|
+
*/
|
|
85
|
+
showSelectedValue: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
88
|
+
*/
|
|
89
|
+
suppressEmptyOption: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
92
|
+
*/
|
|
93
|
+
hideErrorOnFocusOut: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
96
|
+
*/
|
|
97
|
+
listOptionsPosition: IEzCheckBoxListPosition;
|
|
98
|
+
/**
|
|
99
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
100
|
+
*/
|
|
101
|
+
isTextSearch: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
104
|
+
*/
|
|
105
|
+
ignoreLimitCharsToSearch: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
108
|
+
*/
|
|
109
|
+
suppressSearch: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Propriedade depreciada na nova versão do componente de pesquisa.
|
|
112
|
+
*/
|
|
113
|
+
suppressPreLoad: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Garante que o botão de limpar pesquisa está sempre visível
|
|
116
|
+
*/
|
|
117
|
+
ensureClearButtonVisible: boolean;
|
|
118
|
+
private descriptionValue;
|
|
119
|
+
private codeValue;
|
|
120
|
+
private isLoadingDescription;
|
|
121
|
+
private searchDescriptionIsOpen;
|
|
122
|
+
private visibleOptions;
|
|
123
|
+
private showLoading;
|
|
124
|
+
observeValue(newValue: IOption | string, oldValue: IOption | string): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Aplica o foco no campo.
|
|
127
|
+
*/
|
|
128
|
+
setFocus(options?: OptionsSetFocus): Promise<void>;
|
|
129
|
+
/**
|
|
130
|
+
* Obtém o valor do componente só após a compo de apresentação
|
|
131
|
+
* ter sido resolvido pelo option loader quando necessário
|
|
132
|
+
*/
|
|
133
|
+
getValueAsync(): Promise<IOption>;
|
|
134
|
+
/**
|
|
135
|
+
* Limpa o valor do campo de pesquisa
|
|
136
|
+
*/
|
|
137
|
+
clearValue(): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* Remove o foco do campo.
|
|
140
|
+
*/
|
|
141
|
+
setBlur(): Promise<void>;
|
|
142
|
+
/**
|
|
143
|
+
* Retorna se o conteúdo é inválido.
|
|
144
|
+
*/
|
|
145
|
+
isInvalid(): Promise<boolean>;
|
|
146
|
+
componentWillLoad(): Promise<void>;
|
|
147
|
+
componentDidLoad(): void;
|
|
148
|
+
connectedCallback(): void;
|
|
149
|
+
private clearSearch;
|
|
150
|
+
private normalizeCodeToDescriptionValue;
|
|
151
|
+
private normalizeValueToCodeValue;
|
|
152
|
+
private loadDescriptionValueByCode;
|
|
153
|
+
private handleCodeInputFocusOut;
|
|
154
|
+
private handleSearchClick;
|
|
155
|
+
private loadAdvancedSearch;
|
|
156
|
+
private buildCurrentValue;
|
|
157
|
+
private handleTextInputChangeHandler;
|
|
158
|
+
private debounceLoaderOptions;
|
|
159
|
+
private updateKeyOption;
|
|
160
|
+
private parseSearchOptions;
|
|
161
|
+
private processOptionsLoader;
|
|
162
|
+
private handleSelectItem;
|
|
163
|
+
private handleArrowUp;
|
|
164
|
+
private handleArrowDown;
|
|
165
|
+
private selectCurrentItem;
|
|
166
|
+
private cancelSelection;
|
|
167
|
+
private handleInputTab;
|
|
168
|
+
private handleInputEsc;
|
|
169
|
+
private initKeyboardManager;
|
|
170
|
+
disconnectedCallback(): void;
|
|
171
|
+
private isOptionsVisible;
|
|
172
|
+
private setLatestFocusedInputElement;
|
|
173
|
+
private handleCodeInputFocus;
|
|
174
|
+
private handleDescriptionInputFocus;
|
|
175
|
+
private handleOnEzVisibilityChange;
|
|
176
|
+
render(): any;
|
|
177
|
+
}
|
|
178
|
+
export interface IOption {
|
|
179
|
+
value: string;
|
|
180
|
+
label: string;
|
|
181
|
+
}
|
|
182
|
+
export interface ISearchArgument {
|
|
183
|
+
mode: SearchMode;
|
|
184
|
+
argument: string;
|
|
185
|
+
}
|
|
186
|
+
export type OptionLoaderFunction = (argument: ISearchArgument, ctxProperties?: any) => Promise<Array<IOption | ISearchOption> | IOption | ISearchOption> | Array<ISearchOption | IOption> | IOption | ISearchOption;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { IOption } from '../../ez-classic-search-plus';
|
|
3
|
+
export declare class EzClassicSearchResultList {
|
|
4
|
+
private readonly _startHighlightTag;
|
|
5
|
+
private readonly _endHighlightTag;
|
|
6
|
+
private _optionsList;
|
|
7
|
+
private i18n;
|
|
8
|
+
showLoading: boolean;
|
|
9
|
+
visibleOptions: Array<IOption>;
|
|
10
|
+
value: IOption | string;
|
|
11
|
+
showOptionValue: boolean;
|
|
12
|
+
changeValue: EventEmitter<IOption>;
|
|
13
|
+
_preSelection: number;
|
|
14
|
+
observerVisivleOptions(newValue: Array<IOption>): void;
|
|
15
|
+
nextOption(): Promise<void>;
|
|
16
|
+
previousOption(): Promise<void>;
|
|
17
|
+
private preSelectItemByIndex;
|
|
18
|
+
private selectOption;
|
|
19
|
+
private removeHighLight;
|
|
20
|
+
private createAndSelectOption;
|
|
21
|
+
private scrollToOption;
|
|
22
|
+
private buildItem;
|
|
23
|
+
selectCurrentItem(): Promise<void>;
|
|
24
|
+
cancelSelection(): Promise<void>;
|
|
25
|
+
private cancelPreselection;
|
|
26
|
+
private canShowListOptions;
|
|
27
|
+
componentWillLoad(): Promise<void>;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -4,8 +4,10 @@ import { UiFieldBuilders } from './fieldbuilder/FieldBuilder';
|
|
|
4
4
|
import { Record, UserInterface } from '@sankhyalabs/core';
|
|
5
5
|
import { FormItems } from './structure';
|
|
6
6
|
import { ICustomEditor } from '../../utils/customEditor/interfaces/ICustomEditor';
|
|
7
|
+
import { FormLayout } from '../../utils/form/interfaces/FormLayout';
|
|
7
8
|
export declare class EzFormView {
|
|
8
9
|
private _formElements;
|
|
10
|
+
private MAIN_GROUP_NAME;
|
|
9
11
|
private _customEditors;
|
|
10
12
|
_element: HTMLEzFormViewElement;
|
|
11
13
|
/**
|
|
@@ -28,6 +30,10 @@ export declare class EzFormView {
|
|
|
28
30
|
* Define se o formulario deve possuir apenas 1 coluna.
|
|
29
31
|
*/
|
|
30
32
|
singleColumn: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Define o layout do formulário.
|
|
35
|
+
*/
|
|
36
|
+
formLayout?: FormLayout;
|
|
31
37
|
/** Define construtores customizados para tipos de campos específicos
|
|
32
38
|
*/
|
|
33
39
|
customUiBuilders: UiFieldBuilders;
|
|
@@ -40,6 +46,7 @@ export declare class EzFormView {
|
|
|
40
46
|
* Altera/adiciona uma propriedade nos metados do campo.
|
|
41
47
|
*/
|
|
42
48
|
setFieldProp(fieldName: string, propName: string, value: any): Promise<void>;
|
|
49
|
+
private getGroupByField;
|
|
43
50
|
private groupFields;
|
|
44
51
|
componentDidRender(): void;
|
|
45
52
|
isItemFullWidth(userInterface: UserInterface): boolean;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { UserInterface } from "@sankhyalabs/core";
|
|
2
2
|
import { IFormViewField } from "../interfaces/IFormViewField";
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
import { FormLayout } from "../../../utils/form/interfaces/FormLayout";
|
|
4
|
+
export interface IFieldBuilderContext {
|
|
5
|
+
formLayout?: FormLayout;
|
|
6
|
+
size?: "default" | "small" | "xsmall";
|
|
7
|
+
}
|
|
8
|
+
export type UiFieldBuilders = Map<UserInterface, (field: IFormViewField, context?: IFieldBuilderContext) => HTMLElement>;
|
|
9
|
+
export declare const fieldBuilder: (field: IFormViewField, customUiBuilders?: UiFieldBuilders, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildSwitch: (field: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
4
|
+
export declare const buildCheckBox: (field: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildComboBox: ({ name, label, readOnly, required, props, contextName, canShowError }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildDate: ({ name, label, readOnly, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
4
|
+
export declare const buildTime: ({ name, label, readOnly, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
5
|
+
export declare const buildTimeSeconds: ({ name, label, readOnly, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
6
|
+
export declare const buildDateTime: ({ name, label, readOnly, contextName, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildFile: ({ name, label, readOnly, contextName, props }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildDecimal: ({ name, label, readOnly, props, contextName, canShowError, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
4
|
+
export declare const buildInteger: ({ name, label, readOnly, contextName, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildRichText: ({ name, label, readOnly, contextName, rows, canShowError }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildSearch: ({ name, label, readOnly, required, contextName, canShowError, optionLoader, props }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildSearchPlus: ({ name, label, readOnly, contextName, canShowError, optionLoader, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildTextArea: ({ name, label, readOnly, rows, contextName, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { IFormViewField } from "../../interfaces/IFormViewField";
|
|
2
|
-
|
|
2
|
+
import { IFieldBuilderContext } from "../FieldBuilder";
|
|
3
|
+
export declare const buildTextInput: ({ name, label, readOnly, contextName, canShowError, props, required }: IFormViewField, context?: IFieldBuilderContext) => HTMLElement;
|
|
@@ -30,7 +30,6 @@ export declare class EzSplitButton {
|
|
|
30
30
|
private leftButton;
|
|
31
31
|
private rightButton;
|
|
32
32
|
private dropdownParent;
|
|
33
|
-
private offsetParentRect;
|
|
34
33
|
private i18n;
|
|
35
34
|
leftRipples: RippleType[];
|
|
36
35
|
rightRipples: RippleType[];
|
|
@@ -146,6 +145,7 @@ export declare class EzSplitButton {
|
|
|
146
145
|
private removeRipple;
|
|
147
146
|
onMouseDown(event: MouseEvent): void;
|
|
148
147
|
onTouchStart(event: TouchEvent): void;
|
|
148
|
+
onItemActionExecuted(): void;
|
|
149
149
|
clickListener(evt: MouseEvent): void;
|
|
150
150
|
private shouldShowLabelOnLeftButton;
|
|
151
151
|
private shouldShowIconOnLeftButton;
|
|
@@ -159,7 +159,6 @@ export declare class EzSplitButton {
|
|
|
159
159
|
* Faz com que o dropdown se ajuste automaticamente ao espaco na tela
|
|
160
160
|
*/
|
|
161
161
|
private positionDropdown;
|
|
162
|
-
private calculateDropdownPosition;
|
|
163
162
|
private setupEventListeners;
|
|
164
163
|
private cleanupEventListeners;
|
|
165
164
|
componentWillLoad(): Promise<void>;
|
|
@@ -89,6 +89,10 @@ export declare class EzTextInput {
|
|
|
89
89
|
private isSlaveMode;
|
|
90
90
|
private adjustColorContentSlot;
|
|
91
91
|
private adjustBorderInput;
|
|
92
|
+
private buildMaskFormatter;
|
|
93
|
+
private getMaskToBuilder;
|
|
94
|
+
private getPhoneMask;
|
|
95
|
+
private getCGCCpfMask;
|
|
92
96
|
/**
|
|
93
97
|
* Aplica o foco no campo.
|
|
94
98
|
*/
|