@zanichelli/albe-web-components 3.2.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1692 -0
- package/dist/cjs/{index-b1289f95.js → index-6b6a3299.js} +27 -29
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-33df2456.js → utils-8cc414c9.js} +28 -2
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-app-switcher_12.cjs.entry.js +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +5 -5
- package/dist/cjs/z-contextual-menu.cjs.entry.js +1 -1
- package/dist/cjs/z-cookiebar.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +0 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -2
- package/dist/cjs/z-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-input-deprecated.cjs.entry.js +271 -0
- package/dist/cjs/z-input-label_2.cjs.entry.js +272 -0
- package/dist/cjs/z-input_2.cjs.entry.js +228 -0
- package/dist/cjs/z-list-group.cjs.entry.js +54 -0
- package/dist/cjs/{z-list_3.cjs.entry.js → z-list_2.cjs.entry.js} +5 -52
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination-bar.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +2 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +2 -2
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/z-tooltip.cjs.entry.js +1 -1
- package/dist/collection/beans/index.js +27 -29
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/buttons/z-toggle-switch/index.js +6 -6
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +0 -1
- package/dist/collection/components/file-upload/z-file/index.js +0 -1
- package/dist/collection/components/inputs/z-combobox/index.js +4 -4
- package/dist/collection/components/inputs/z-input/index.js +58 -234
- package/dist/collection/components/inputs/z-input/styles.css +61 -34
- package/dist/collection/components/inputs/z-input-message/index.js +1 -1
- package/dist/collection/components/inputs/z-select/index.js +69 -134
- package/dist/collection/components/inputs/z-select/styles.css +16 -58
- package/dist/collection/components/modal/z-modal-login/index.js +1 -1
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +4 -4
- package/dist/collection/components/z-date-picker/index.js +1 -1
- package/dist/collection/components/z-pagination/index.js +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +824 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +296 -0
- package/dist/collection/{components/inputs → deprecated}/z-input-label/index.js +0 -0
- package/dist/collection/{components/inputs → deprecated}/z-input-label/styles.css +0 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +1 -1
- package/dist/collection/utils/utils.js +27 -2
- package/dist/esm/{index-7424c64c.js → index-46ca649a.js} +28 -30
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-93d2b922.js → utils-5d5963ef.js} +28 -3
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-app-switcher_12.entry.js +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +5 -5
- package/dist/esm/z-contextual-menu.entry.js +1 -1
- package/dist/esm/z-cookiebar.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +0 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -2
- package/dist/esm/z-footer.entry.js +1 -1
- package/dist/esm/z-input-deprecated.entry.js +267 -0
- package/dist/esm/z-input-label_2.entry.js +267 -0
- package/dist/esm/z-input_2.entry.js +223 -0
- package/dist/esm/z-list-group.entry.js +50 -0
- package/dist/esm/z-list_2.entry.js +174 -0
- package/dist/esm/z-menu-dropdown_2.entry.js +4 -4
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +2 -2
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-topbar.entry.js +1 -1
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination-bar.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +2 -2
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-status-tag.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +2 -2
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +3 -3
- package/dist/esm/z-tooltip.entry.js +1 -1
- package/dist/types/beans/index.d.ts +6 -7
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +2 -2
- package/dist/types/components/inputs/z-input/index.d.ts +16 -29
- package/dist/types/components/inputs/z-select/index.d.ts +11 -17
- package/dist/types/components.d.ts +191 -30
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +102 -0
- package/dist/types/{components/inputs → deprecated}/z-input-label/index.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/{www/build/p-e9b90127.entry.js → dist/web-components-library/p-02ea7e49.entry.js} +1 -1
- package/dist/web-components-library/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
- package/{www/build/p-e4b4b2e4.entry.js → dist/web-components-library/p-0a0aee35.entry.js} +1 -1
- package/dist/web-components-library/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
- package/dist/web-components-library/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
- package/dist/web-components-library/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
- package/dist/web-components-library/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
- package/dist/web-components-library/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
- package/dist/web-components-library/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
- package/dist/web-components-library/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
- package/dist/web-components-library/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
- package/dist/web-components-library/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
- package/dist/web-components-library/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
- package/dist/web-components-library/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
- package/dist/web-components-library/p-562e2d52.entry.js +1 -0
- package/dist/web-components-library/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
- package/dist/web-components-library/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
- package/{www/build/p-7e71d9b0.entry.js → dist/web-components-library/p-5eacbfc7.entry.js} +1 -1
- package/dist/web-components-library/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
- package/dist/web-components-library/p-69ef6ddc.entry.js +1 -0
- package/dist/web-components-library/p-71accd8e.entry.js +1 -0
- package/dist/web-components-library/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
- package/dist/web-components-library/p-99d7ab2f.entry.js +1 -0
- package/dist/web-components-library/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
- package/dist/web-components-library/p-9f5d707a.js +1 -0
- package/dist/web-components-library/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
- package/dist/web-components-library/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
- package/dist/web-components-library/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
- package/dist/web-components-library/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
- package/dist/web-components-library/p-b574d5f6.entry.js +1 -0
- package/dist/web-components-library/p-b9da171f.js +1 -0
- package/dist/web-components-library/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
- package/dist/web-components-library/p-bd886dd5.entry.js +1 -0
- package/dist/web-components-library/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
- package/dist/web-components-library/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
- package/dist/web-components-library/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/{www/build/p-8a637cae.entry.js → dist/web-components-library/p-cd8950d2.entry.js} +1 -1
- package/dist/web-components-library/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
- package/dist/web-components-library/p-d8069dab.entry.js +1 -0
- package/dist/web-components-library/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
- package/dist/web-components-library/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
- package/dist/web-components-library/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
- package/dist/web-components-library/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
- package/dist/web-components-library/p-e2102da3.entry.js +1 -0
- package/dist/web-components-library/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
- package/dist/web-components-library/p-edb8d2ab.entry.js +1 -0
- package/dist/web-components-library/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
- package/dist/web-components-library/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
- package/{www/build/p-dcf4d1b6.entry.js → dist/web-components-library/p-fa925198.entry.js} +1 -1
- package/dist/web-components-library/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +4 -3
- package/react/components.js.map +1 -1
- package/src-react/index.ts +1 -0
- package/www/build/index.esm.js +1 -1
- package/{dist/web-components-library/p-e9b90127.entry.js → www/build/p-02ea7e49.entry.js} +1 -1
- package/www/build/{p-21b9a94f.entry.js → p-08fa0a33.entry.js} +1 -1
- package/{dist/web-components-library/p-e4b4b2e4.entry.js → www/build/p-0a0aee35.entry.js} +1 -1
- package/www/build/{p-2e510e79.entry.js → p-0d29d851.entry.js} +1 -1
- package/www/build/{p-b0ea8c0e.entry.js → p-0ef6c549.entry.js} +1 -1
- package/www/build/{p-4c282f06.entry.js → p-0f17db30.entry.js} +1 -1
- package/www/build/{p-a391566a.entry.js → p-12af8652.entry.js} +1 -1
- package/www/build/{p-3184d969.entry.js → p-1727c1c8.entry.js} +1 -1
- package/www/build/{p-e7aadd3d.entry.js → p-20d62443.entry.js} +1 -1
- package/www/build/{p-cd2ca92b.entry.js → p-3252be36.entry.js} +1 -1
- package/www/build/{p-1b973c72.entry.js → p-3c111c2a.entry.js} +1 -1
- package/www/build/{p-9721e132.entry.js → p-43329b81.entry.js} +1 -1
- package/www/build/{p-9935973a.entry.js → p-4af112a7.entry.js} +1 -1
- package/www/build/{p-03de95f1.entry.js → p-51cdabeb.entry.js} +1 -1
- package/www/build/p-562e2d52.entry.js +1 -0
- package/www/build/{p-709ab23c.entry.js → p-57d1acdc.entry.js} +1 -1
- package/www/build/{p-0398165f.entry.js → p-5be162d5.entry.js} +1 -1
- package/{dist/web-components-library/p-7e71d9b0.entry.js → www/build/p-5eacbfc7.entry.js} +1 -1
- package/www/build/{p-223bec2f.entry.js → p-63ccb013.entry.js} +1 -1
- package/www/build/p-69ef6ddc.entry.js +1 -0
- package/www/build/p-71accd8e.entry.js +1 -0
- package/www/build/{p-56437e20.entry.js → p-7c6d4440.entry.js} +1 -1
- package/www/build/p-99d7ab2f.entry.js +1 -0
- package/www/build/{p-2ff952a3.entry.js → p-9aa5d36c.entry.js} +1 -1
- package/www/build/p-9f5d707a.js +1 -0
- package/www/build/{p-2711bc32.entry.js → p-9f9e4266.entry.js} +1 -1
- package/www/build/{p-cce20009.entry.js → p-a851af81.entry.js} +1 -1
- package/www/build/{p-d9d9d834.entry.js → p-a8875b97.entry.js} +2 -2
- package/www/build/{p-adad78fc.entry.js → p-ae60bbdf.entry.js} +1 -1
- package/www/build/p-b574d5f6.entry.js +1 -0
- package/www/build/p-b9da171f.js +1 -0
- package/www/build/{p-aae632ef.entry.js → p-ba29bc12.entry.js} +1 -1
- package/www/build/p-bd886dd5.entry.js +1 -0
- package/www/build/{p-542b3702.entry.js → p-bfe5693d.entry.js} +1 -1
- package/www/build/{p-2b8975b1.entry.js → p-c9cdf4ee.entry.js} +1 -1
- package/www/build/{p-dfc18671.entry.js → p-ccdebe3f.entry.js} +1 -1
- package/{dist/web-components-library/p-8a637cae.entry.js → www/build/p-cd8950d2.entry.js} +1 -1
- package/www/build/{p-c787ea21.entry.js → p-d33fea26.entry.js} +1 -1
- package/www/build/p-d8069dab.entry.js +1 -0
- package/www/build/{p-f3080685.entry.js → p-d97a2db9.entry.js} +1 -1
- package/www/build/{p-1eef76bb.entry.js → p-d995d9dc.entry.js} +1 -1
- package/www/build/{p-895f636e.entry.js → p-de25c7f0.entry.js} +1 -1
- package/www/build/{p-66fbe5b8.entry.js → p-df4e963b.entry.js} +1 -1
- package/www/build/p-e2102da3.entry.js +1 -0
- package/www/build/p-e76afdbc.js +1 -0
- package/www/build/{p-459dab30.entry.js → p-e84d6807.entry.js} +1 -1
- package/www/build/p-edb8d2ab.entry.js +1 -0
- package/www/build/{p-0b590426.entry.js → p-f322c5f0.entry.js} +1 -1
- package/www/build/{p-da7760a3.entry.js → p-f7c3e9c3.entry.js} +1 -1
- package/{dist/web-components-library/p-dcf4d1b6.entry.js → www/build/p-fa925198.entry.js} +1 -1
- package/www/build/{p-2c823f4c.entry.js → p-fe927bf4.entry.js} +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-button-filter_5.cjs.entry.js +0 -620
- package/dist/esm/z-button-filter_5.entry.js +0 -612
- package/dist/esm/z-list_3.entry.js +0 -220
- package/dist/web-components-library/p-14c9344f.entry.js +0 -1
- package/dist/web-components-library/p-57270965.entry.js +0 -1
- package/dist/web-components-library/p-70be81b6.entry.js +0 -1
- package/dist/web-components-library/p-80369bb8.entry.js +0 -1
- package/dist/web-components-library/p-80a3e18a.js +0 -1
- package/dist/web-components-library/p-a785ff38.entry.js +0 -1
- package/dist/web-components-library/p-fea5b98f.js +0 -1
- package/www/build/p-14c9344f.entry.js +0 -1
- package/www/build/p-57270965.entry.js +0 -1
- package/www/build/p-70be81b6.entry.js +0 -1
- package/www/build/p-80369bb8.entry.js +0 -1
- package/www/build/p-80a3e18a.js +0 -1
- package/www/build/p-a785ff38.entry.js +0 -1
- package/www/build/p-b058084c.js +0 -1
- package/www/build/p-fea5b98f.js +0 -1
|
@@ -130,15 +130,13 @@ export declare enum InputTypeEnum {
|
|
|
130
130
|
email = "email",
|
|
131
131
|
textarea = "textarea",
|
|
132
132
|
checkbox = "checkbox",
|
|
133
|
-
radio = "radio"
|
|
134
|
-
select = "select"
|
|
133
|
+
radio = "radio"
|
|
135
134
|
}
|
|
136
135
|
export declare type InputStatusBean = keyof typeof InputStatusEnum;
|
|
137
136
|
export declare enum InputStatusEnum {
|
|
138
137
|
success = "success",
|
|
139
138
|
error = "error",
|
|
140
|
-
warning = "warning"
|
|
141
|
-
selecting = "selecting"
|
|
139
|
+
warning = "warning"
|
|
142
140
|
}
|
|
143
141
|
export declare type TooltipPositionBean = keyof typeof TooltipPosition;
|
|
144
142
|
export declare enum TooltipPosition {
|
|
@@ -152,7 +150,7 @@ export declare enum TooltipPosition {
|
|
|
152
150
|
BOTTOM_RIGHT = "bottom_right",
|
|
153
151
|
BOTTOM_LEFT = "bottom_left"
|
|
154
152
|
}
|
|
155
|
-
export declare enum
|
|
153
|
+
export declare enum KeyboardKeyCodeEnum {
|
|
156
154
|
TAB = 9,
|
|
157
155
|
SPACE = 32,
|
|
158
156
|
ESC = 27,
|
|
@@ -162,7 +160,7 @@ export declare enum keybordKeyCodeEnum {
|
|
|
162
160
|
BACKSPACE = 8,
|
|
163
161
|
DELETE = 46
|
|
164
162
|
}
|
|
165
|
-
export declare enum
|
|
163
|
+
export declare enum KeyboardCodeEnum {
|
|
166
164
|
TAB = "Tab",
|
|
167
165
|
SPACE = "Space",
|
|
168
166
|
ESC = "Escape",
|
|
@@ -261,10 +259,11 @@ export declare enum ExpandableListButtonAlign {
|
|
|
261
259
|
right = "right",
|
|
262
260
|
left = "left"
|
|
263
261
|
}
|
|
264
|
-
export declare enum
|
|
262
|
+
export declare enum LabelPositions {
|
|
265
263
|
right = "right",
|
|
266
264
|
left = "left"
|
|
267
265
|
}
|
|
266
|
+
export declare type LabelPosition = keyof typeof LabelPositions;
|
|
268
267
|
export declare enum ListDividerType {
|
|
269
268
|
none = "none",
|
|
270
269
|
header = "header",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { LabelPosition } from "../../../beans";
|
|
3
3
|
export declare class ZToggleSwitch {
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
labelPosition?:
|
|
5
|
+
labelPosition?: LabelPosition;
|
|
6
6
|
checked?: boolean;
|
|
7
7
|
htmlid: string;
|
|
8
8
|
toggleClick: EventEmitter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../../../stencil-public-runtime";
|
|
2
|
-
import { InputTypeBean, InputStatusBean,
|
|
2
|
+
import { InputTypeBean, InputStatusBean, LabelPosition } from "../../../beans";
|
|
3
3
|
export declare class ZInput {
|
|
4
4
|
hostElement: HTMLElement;
|
|
5
5
|
/** the id of the input element */
|
|
@@ -26,42 +26,28 @@ export declare class ZInput {
|
|
|
26
26
|
placeholder?: string;
|
|
27
27
|
/** the input html title (optional) */
|
|
28
28
|
htmltitle?: string;
|
|
29
|
-
/** the input status (optional): available for text, password, number, email, textarea
|
|
29
|
+
/** the input status (optional): available for text, password, number, email, textarea */
|
|
30
30
|
status?: InputStatusBean;
|
|
31
|
-
/**
|
|
32
|
-
|
|
33
|
-
/** input helper message (optional): available for text, password, number, email, textarea, select */
|
|
34
|
-
message?: string;
|
|
31
|
+
/** input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed */
|
|
32
|
+
message?: string | boolean;
|
|
35
33
|
/** the input label position: available for checkbox, radio */
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
/** items (optional): available for select */
|
|
40
|
-
items?: SelectItemBean[] | string;
|
|
41
|
-
/** the input has autocomplete option (optional): available for select, input */
|
|
42
|
-
autocomplete?: boolean | string;
|
|
43
|
-
/** multiple options can be selected (optional): available for select */
|
|
44
|
-
multiple?: boolean;
|
|
34
|
+
labelPosition?: LabelPosition;
|
|
35
|
+
/** the input has autocomplete option (optional): available for text, password, number, email */
|
|
36
|
+
autocomplete?: string;
|
|
45
37
|
/** render clear icon when typing (optional): available for text */
|
|
46
38
|
hasclearicon?: boolean;
|
|
47
|
-
/** render icon (optional): available for text
|
|
39
|
+
/** render icon (optional): available for text */
|
|
48
40
|
icon?: string;
|
|
49
41
|
isTyping: boolean;
|
|
50
|
-
textareaWrapperHover: string;
|
|
51
|
-
textareaWrapperFocus: string;
|
|
52
42
|
passwordHidden: boolean;
|
|
53
43
|
private timer;
|
|
54
|
-
private
|
|
44
|
+
private typingtimeout;
|
|
55
45
|
inputCheckListener(e: CustomEvent): void;
|
|
56
|
-
/** get the input value */
|
|
57
|
-
getValue(): Promise<string | string[]>;
|
|
58
|
-
/** set the input value */
|
|
59
|
-
setValue(value: string | string[]): Promise<void>;
|
|
60
46
|
/** get checked status */
|
|
61
47
|
isChecked(): Promise<boolean>;
|
|
62
|
-
/** Emitted on input value change, returns value,
|
|
48
|
+
/** Emitted on input value change, returns value, validity */
|
|
63
49
|
inputChange: EventEmitter;
|
|
64
|
-
emitInputChange(value: string
|
|
50
|
+
emitInputChange(value: string): void;
|
|
65
51
|
/** Emitted when user starts typing */
|
|
66
52
|
startTyping: EventEmitter;
|
|
67
53
|
emitStartTyping(): void;
|
|
@@ -71,8 +57,6 @@ export declare class ZInput {
|
|
|
71
57
|
/** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */
|
|
72
58
|
inputCheck: EventEmitter;
|
|
73
59
|
emitInputCheck(checked: boolean): void;
|
|
74
|
-
/** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
|
|
75
|
-
optionSelect: EventEmitter;
|
|
76
60
|
getValidity(type: string): ValidityState;
|
|
77
61
|
getTextAttributes(): {
|
|
78
62
|
id: string;
|
|
@@ -83,7 +67,11 @@ export declare class ZInput {
|
|
|
83
67
|
readonly: boolean;
|
|
84
68
|
required: boolean;
|
|
85
69
|
title: string;
|
|
86
|
-
class:
|
|
70
|
+
class: {
|
|
71
|
+
[x: string]: boolean;
|
|
72
|
+
filled: boolean;
|
|
73
|
+
};
|
|
74
|
+
autocomplete: string;
|
|
87
75
|
onInput: (e: any) => void;
|
|
88
76
|
};
|
|
89
77
|
renderInputText(type?: InputTypeBean): any;
|
|
@@ -97,6 +85,5 @@ export declare class ZInput {
|
|
|
97
85
|
handleCheck(ev: any): void;
|
|
98
86
|
renderCheckbox(): any;
|
|
99
87
|
renderRadio(): any;
|
|
100
|
-
renderSelect(): any;
|
|
101
88
|
render(): any;
|
|
102
89
|
}
|
|
@@ -20,40 +20,36 @@ export declare class ZSelect {
|
|
|
20
20
|
placeholder?: string;
|
|
21
21
|
/** the input html title (optional) */
|
|
22
22
|
htmltitle?: string;
|
|
23
|
-
/** the input status (optional)
|
|
23
|
+
/** the input status (optional) */
|
|
24
24
|
status?: InputStatusBean;
|
|
25
|
-
/**
|
|
26
|
-
|
|
27
|
-
/** input helper message (optional): available for text, password, number, email, textarea, select */
|
|
28
|
-
message?: string;
|
|
25
|
+
/** input helper message (optional) - if set to `false` message won't be displayed */
|
|
26
|
+
message?: string | boolean;
|
|
29
27
|
/** the input has autocomplete option */
|
|
30
|
-
autocomplete?: boolean
|
|
31
|
-
/** multiple options can be selected */
|
|
32
|
-
multiple?: boolean;
|
|
28
|
+
autocomplete?: boolean;
|
|
33
29
|
/** no result text message */
|
|
34
30
|
noresultslabel?: string;
|
|
35
31
|
isOpen: boolean;
|
|
36
|
-
|
|
32
|
+
selectedItem: null | SelectItemBean;
|
|
37
33
|
searchString: null | string;
|
|
38
34
|
private itemsList;
|
|
39
35
|
constructor();
|
|
40
36
|
watchItems(): void;
|
|
41
37
|
/** get the input selected options */
|
|
42
|
-
|
|
38
|
+
getSelectedItem(): Promise<SelectItemBean>;
|
|
43
39
|
/** get the input value */
|
|
44
|
-
getValue(): Promise<string
|
|
40
|
+
getValue(): Promise<string>;
|
|
45
41
|
/** set the input value */
|
|
46
42
|
setValue(value: string | string[]): Promise<void>;
|
|
47
|
-
/** Emitted on select option selection, returns select id, selected item id
|
|
43
|
+
/** Emitted on select option selection, returns select id, selected item id */
|
|
48
44
|
optionSelect: EventEmitter;
|
|
49
45
|
emitOptionSelect(): void;
|
|
50
46
|
componentWillLoad(): void;
|
|
51
47
|
componentWillRender(): void;
|
|
52
48
|
getInitialItemsArray(): any;
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
mapSelectedItemToItemsArray(): any;
|
|
50
|
+
getSelectedValue(): string;
|
|
55
51
|
filterItems(searchString: string): void;
|
|
56
|
-
|
|
52
|
+
hasAutocomplete(): boolean;
|
|
57
53
|
handleInputChange(e: CustomEvent): void;
|
|
58
54
|
selectItem(item: null | SelectItemBean, selected: boolean): void;
|
|
59
55
|
arrowsSelectNav(e: KeyboardEvent, key: number): void;
|
|
@@ -62,9 +58,7 @@ export declare class ZSelect {
|
|
|
62
58
|
handleInputClick(e: MouseEvent | KeyboardEvent): void;
|
|
63
59
|
handleSelectFocus(e: MouseEvent | KeyboardEvent): void;
|
|
64
60
|
scrollToLetter(letter: string): void;
|
|
65
|
-
renderLabel(): any;
|
|
66
61
|
renderInput(): any;
|
|
67
|
-
renderChips(): any;
|
|
68
62
|
renderSelectUl(): any;
|
|
69
63
|
renderSelectUlItems(): any;
|
|
70
64
|
renderNoSearchResults(): any;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { AlertTypes, LicenseTypeEnum, MenuItem as MenuItem1, TooltipPosition } from "./beans/index";
|
|
9
|
-
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType
|
|
9
|
+
import { AvatarSize, ButtonSizeEnum, ButtonVariantBean, ButtonVariantEnum, CardVariants, ComboItemBean, DictionaryData, DividerOrientation, DividerSize, ExpandableListButtonAlign, ExpandableListStyle, HeaderUserData, InputStatusBean, InputTypeBean, LabelPosition, ListDividerType, ListSize, MenuItem, NavigationTabsOrientation, NavigationTabsSize, NotificationType, OffCanvasVariantsEnum, PocketStatus, PopoverBorderRadius, PopoverPosition, PopoverShadow, SelectItemBean, Size, SkipToContentLink, SortDirection, StatusTagStatus, ThemeVariant, ThemeVariantBean, ToastNotificationPositionsTypes, ToastNotificationTransitionTypes, ToastNotificationTypes, TransitionDirectionEnum, ZChipType, ZDatePickerMode, ZFileUploadTypeEnum, ZSectionTitleDividerPosition, ZTableRowExpandedType } from "./beans";
|
|
10
10
|
import { ListItemBean } from "./beans/index.js";
|
|
11
11
|
import { ZTypographyLevels } from "./components/typography/z-typography/index";
|
|
12
12
|
export namespace Components {
|
|
@@ -532,6 +532,84 @@ export namespace Components {
|
|
|
532
532
|
"isclosable": boolean;
|
|
533
533
|
}
|
|
534
534
|
interface ZInput {
|
|
535
|
+
/**
|
|
536
|
+
* the input aria-label
|
|
537
|
+
*/
|
|
538
|
+
"ariaLabel"?: string;
|
|
539
|
+
/**
|
|
540
|
+
* the input has autocomplete option (optional): available for text, password, number, email
|
|
541
|
+
*/
|
|
542
|
+
"autocomplete"?: string;
|
|
543
|
+
/**
|
|
544
|
+
* checked: available for checkbox, radio
|
|
545
|
+
*/
|
|
546
|
+
"checked"?: boolean;
|
|
547
|
+
/**
|
|
548
|
+
* the input is disabled
|
|
549
|
+
*/
|
|
550
|
+
"disabled"?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* render clear icon when typing (optional): available for text
|
|
553
|
+
*/
|
|
554
|
+
"hasclearicon"?: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* the id of the input element
|
|
557
|
+
*/
|
|
558
|
+
"htmlid": string;
|
|
559
|
+
/**
|
|
560
|
+
* the input html title (optional)
|
|
561
|
+
*/
|
|
562
|
+
"htmltitle"?: string;
|
|
563
|
+
/**
|
|
564
|
+
* render icon (optional): available for text
|
|
565
|
+
*/
|
|
566
|
+
"icon"?: string;
|
|
567
|
+
/**
|
|
568
|
+
* get checked status
|
|
569
|
+
*/
|
|
570
|
+
"isChecked": () => Promise<boolean>;
|
|
571
|
+
/**
|
|
572
|
+
* the input label
|
|
573
|
+
*/
|
|
574
|
+
"label"?: string;
|
|
575
|
+
/**
|
|
576
|
+
* the input label position: available for checkbox, radio
|
|
577
|
+
*/
|
|
578
|
+
"labelPosition"?: LabelPosition;
|
|
579
|
+
/**
|
|
580
|
+
* input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
|
|
581
|
+
*/
|
|
582
|
+
"message"?: string | boolean;
|
|
583
|
+
/**
|
|
584
|
+
* the input name
|
|
585
|
+
*/
|
|
586
|
+
"name"?: string;
|
|
587
|
+
/**
|
|
588
|
+
* the input placeholder (optional)
|
|
589
|
+
*/
|
|
590
|
+
"placeholder"?: string;
|
|
591
|
+
/**
|
|
592
|
+
* the input is readonly
|
|
593
|
+
*/
|
|
594
|
+
"readonly"?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* the input is required (optional): available for text, password, number, email, textarea, checkbox
|
|
597
|
+
*/
|
|
598
|
+
"required"?: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* the input status (optional): available for text, password, number, email, textarea
|
|
601
|
+
*/
|
|
602
|
+
"status"?: InputStatusBean;
|
|
603
|
+
/**
|
|
604
|
+
* input types
|
|
605
|
+
*/
|
|
606
|
+
"type": InputTypeBean;
|
|
607
|
+
/**
|
|
608
|
+
* the input value
|
|
609
|
+
*/
|
|
610
|
+
"value"?: string;
|
|
611
|
+
}
|
|
612
|
+
interface ZInputDeprecated {
|
|
535
613
|
/**
|
|
536
614
|
* the input aria-label
|
|
537
615
|
*/
|
|
@@ -1459,7 +1537,7 @@ export namespace Components {
|
|
|
1459
1537
|
/**
|
|
1460
1538
|
* the input has autocomplete option
|
|
1461
1539
|
*/
|
|
1462
|
-
"autocomplete"?: boolean
|
|
1540
|
+
"autocomplete"?: boolean;
|
|
1463
1541
|
/**
|
|
1464
1542
|
* the input is disabled
|
|
1465
1543
|
*/
|
|
@@ -1467,15 +1545,11 @@ export namespace Components {
|
|
|
1467
1545
|
/**
|
|
1468
1546
|
* get the input selected options
|
|
1469
1547
|
*/
|
|
1470
|
-
"
|
|
1548
|
+
"getSelectedItem": () => Promise<SelectItemBean>;
|
|
1471
1549
|
/**
|
|
1472
1550
|
* get the input value
|
|
1473
1551
|
*/
|
|
1474
|
-
"getValue": () => Promise<string
|
|
1475
|
-
/**
|
|
1476
|
-
* show input helper message (optional): available for text, password, number, email, textarea, select
|
|
1477
|
-
*/
|
|
1478
|
-
"hasmessage"?: boolean;
|
|
1552
|
+
"getValue": () => Promise<string>;
|
|
1479
1553
|
/**
|
|
1480
1554
|
* the id of the input element
|
|
1481
1555
|
*/
|
|
@@ -1493,13 +1567,9 @@ export namespace Components {
|
|
|
1493
1567
|
*/
|
|
1494
1568
|
"label"?: string;
|
|
1495
1569
|
/**
|
|
1496
|
-
* input helper message (optional)
|
|
1497
|
-
*/
|
|
1498
|
-
"message"?: string;
|
|
1499
|
-
/**
|
|
1500
|
-
* multiple options can be selected
|
|
1570
|
+
* input helper message (optional) - if set to `false` message won't be displayed
|
|
1501
1571
|
*/
|
|
1502
|
-
"
|
|
1572
|
+
"message"?: string | boolean;
|
|
1503
1573
|
/**
|
|
1504
1574
|
* the input name
|
|
1505
1575
|
*/
|
|
@@ -1521,7 +1591,7 @@ export namespace Components {
|
|
|
1521
1591
|
*/
|
|
1522
1592
|
"setValue": (value: string | string[]) => Promise<void>;
|
|
1523
1593
|
/**
|
|
1524
|
-
* the input status (optional)
|
|
1594
|
+
* the input status (optional)
|
|
1525
1595
|
*/
|
|
1526
1596
|
"status"?: InputStatusBean;
|
|
1527
1597
|
}
|
|
@@ -1780,7 +1850,7 @@ export namespace Components {
|
|
|
1780
1850
|
"checked"?: boolean;
|
|
1781
1851
|
"disabled"?: boolean;
|
|
1782
1852
|
"htmlid": string;
|
|
1783
|
-
"labelPosition"?:
|
|
1853
|
+
"labelPosition"?: LabelPosition;
|
|
1784
1854
|
}
|
|
1785
1855
|
interface ZTooltip {
|
|
1786
1856
|
/**
|
|
@@ -2036,6 +2106,12 @@ declare global {
|
|
|
2036
2106
|
prototype: HTMLZInputElement;
|
|
2037
2107
|
new (): HTMLZInputElement;
|
|
2038
2108
|
};
|
|
2109
|
+
interface HTMLZInputDeprecatedElement extends Components.ZInputDeprecated, HTMLStencilElement {
|
|
2110
|
+
}
|
|
2111
|
+
var HTMLZInputDeprecatedElement: {
|
|
2112
|
+
prototype: HTMLZInputDeprecatedElement;
|
|
2113
|
+
new (): HTMLZInputDeprecatedElement;
|
|
2114
|
+
};
|
|
2039
2115
|
interface HTMLZInputLabelElement extends Components.ZInputLabel, HTMLStencilElement {
|
|
2040
2116
|
}
|
|
2041
2117
|
var HTMLZInputLabelElement: {
|
|
@@ -2485,6 +2561,7 @@ declare global {
|
|
|
2485
2561
|
"z-icon-package": HTMLZIconPackageElement;
|
|
2486
2562
|
"z-info-box": HTMLZInfoBoxElement;
|
|
2487
2563
|
"z-input": HTMLZInputElement;
|
|
2564
|
+
"z-input-deprecated": HTMLZInputDeprecatedElement;
|
|
2488
2565
|
"z-input-label": HTMLZInputLabelElement;
|
|
2489
2566
|
"z-input-message": HTMLZInputMessageElement;
|
|
2490
2567
|
"z-link": HTMLZLinkElement;
|
|
@@ -3143,6 +3220,96 @@ declare namespace LocalJSX {
|
|
|
3143
3220
|
"onInfoBoxClose"?: (event: CustomEvent<any>) => void;
|
|
3144
3221
|
}
|
|
3145
3222
|
interface ZInput {
|
|
3223
|
+
/**
|
|
3224
|
+
* the input aria-label
|
|
3225
|
+
*/
|
|
3226
|
+
"ariaLabel"?: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* the input has autocomplete option (optional): available for text, password, number, email
|
|
3229
|
+
*/
|
|
3230
|
+
"autocomplete"?: string;
|
|
3231
|
+
/**
|
|
3232
|
+
* checked: available for checkbox, radio
|
|
3233
|
+
*/
|
|
3234
|
+
"checked"?: boolean;
|
|
3235
|
+
/**
|
|
3236
|
+
* the input is disabled
|
|
3237
|
+
*/
|
|
3238
|
+
"disabled"?: boolean;
|
|
3239
|
+
/**
|
|
3240
|
+
* render clear icon when typing (optional): available for text
|
|
3241
|
+
*/
|
|
3242
|
+
"hasclearicon"?: boolean;
|
|
3243
|
+
/**
|
|
3244
|
+
* the id of the input element
|
|
3245
|
+
*/
|
|
3246
|
+
"htmlid"?: string;
|
|
3247
|
+
/**
|
|
3248
|
+
* the input html title (optional)
|
|
3249
|
+
*/
|
|
3250
|
+
"htmltitle"?: string;
|
|
3251
|
+
/**
|
|
3252
|
+
* render icon (optional): available for text
|
|
3253
|
+
*/
|
|
3254
|
+
"icon"?: string;
|
|
3255
|
+
/**
|
|
3256
|
+
* the input label
|
|
3257
|
+
*/
|
|
3258
|
+
"label"?: string;
|
|
3259
|
+
/**
|
|
3260
|
+
* the input label position: available for checkbox, radio
|
|
3261
|
+
*/
|
|
3262
|
+
"labelPosition"?: LabelPosition;
|
|
3263
|
+
/**
|
|
3264
|
+
* input helper message (optional): available for text, password, number, email, textarea - if set to `false` message won't be displayed
|
|
3265
|
+
*/
|
|
3266
|
+
"message"?: string | boolean;
|
|
3267
|
+
/**
|
|
3268
|
+
* the input name
|
|
3269
|
+
*/
|
|
3270
|
+
"name"?: string;
|
|
3271
|
+
/**
|
|
3272
|
+
* Emitted on input value change, returns value, validity
|
|
3273
|
+
*/
|
|
3274
|
+
"onInputChange"?: (event: CustomEvent<any>) => void;
|
|
3275
|
+
/**
|
|
3276
|
+
* Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity
|
|
3277
|
+
*/
|
|
3278
|
+
"onInputCheck"?: (event: CustomEvent<any>) => void;
|
|
3279
|
+
/**
|
|
3280
|
+
* Emitted when user starts typing
|
|
3281
|
+
*/
|
|
3282
|
+
"onStartTyping"?: (event: CustomEvent<any>) => void;
|
|
3283
|
+
/**
|
|
3284
|
+
* Emitted when user stops typing, returns value, validity
|
|
3285
|
+
*/
|
|
3286
|
+
"onStopTyping"?: (event: CustomEvent<any>) => void;
|
|
3287
|
+
/**
|
|
3288
|
+
* the input placeholder (optional)
|
|
3289
|
+
*/
|
|
3290
|
+
"placeholder"?: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* the input is readonly
|
|
3293
|
+
*/
|
|
3294
|
+
"readonly"?: boolean;
|
|
3295
|
+
/**
|
|
3296
|
+
* the input is required (optional): available for text, password, number, email, textarea, checkbox
|
|
3297
|
+
*/
|
|
3298
|
+
"required"?: boolean;
|
|
3299
|
+
/**
|
|
3300
|
+
* the input status (optional): available for text, password, number, email, textarea
|
|
3301
|
+
*/
|
|
3302
|
+
"status"?: InputStatusBean;
|
|
3303
|
+
/**
|
|
3304
|
+
* input types
|
|
3305
|
+
*/
|
|
3306
|
+
"type"?: InputTypeBean;
|
|
3307
|
+
/**
|
|
3308
|
+
* the input value
|
|
3309
|
+
*/
|
|
3310
|
+
"value"?: string;
|
|
3311
|
+
}
|
|
3312
|
+
interface ZInputDeprecated {
|
|
3146
3313
|
/**
|
|
3147
3314
|
* the input aria-label
|
|
3148
3315
|
*/
|
|
@@ -4193,15 +4360,11 @@ declare namespace LocalJSX {
|
|
|
4193
4360
|
/**
|
|
4194
4361
|
* the input has autocomplete option
|
|
4195
4362
|
*/
|
|
4196
|
-
"autocomplete"?: boolean
|
|
4363
|
+
"autocomplete"?: boolean;
|
|
4197
4364
|
/**
|
|
4198
4365
|
* the input is disabled
|
|
4199
4366
|
*/
|
|
4200
4367
|
"disabled"?: boolean;
|
|
4201
|
-
/**
|
|
4202
|
-
* show input helper message (optional): available for text, password, number, email, textarea, select
|
|
4203
|
-
*/
|
|
4204
|
-
"hasmessage"?: boolean;
|
|
4205
4368
|
/**
|
|
4206
4369
|
* the id of the input element
|
|
4207
4370
|
*/
|
|
@@ -4219,13 +4382,9 @@ declare namespace LocalJSX {
|
|
|
4219
4382
|
*/
|
|
4220
4383
|
"label"?: string;
|
|
4221
4384
|
/**
|
|
4222
|
-
* input helper message (optional)
|
|
4385
|
+
* input helper message (optional) - if set to `false` message won't be displayed
|
|
4223
4386
|
*/
|
|
4224
|
-
"message"?: string;
|
|
4225
|
-
/**
|
|
4226
|
-
* multiple options can be selected
|
|
4227
|
-
*/
|
|
4228
|
-
"multiple"?: boolean;
|
|
4387
|
+
"message"?: string | boolean;
|
|
4229
4388
|
/**
|
|
4230
4389
|
* the input name
|
|
4231
4390
|
*/
|
|
@@ -4235,7 +4394,7 @@ declare namespace LocalJSX {
|
|
|
4235
4394
|
*/
|
|
4236
4395
|
"noresultslabel"?: string;
|
|
4237
4396
|
/**
|
|
4238
|
-
* Emitted on select option selection, returns select id, selected item id
|
|
4397
|
+
* Emitted on select option selection, returns select id, selected item id
|
|
4239
4398
|
*/
|
|
4240
4399
|
"onOptionSelect"?: (event: CustomEvent<any>) => void;
|
|
4241
4400
|
/**
|
|
@@ -4247,7 +4406,7 @@ declare namespace LocalJSX {
|
|
|
4247
4406
|
*/
|
|
4248
4407
|
"readonly"?: boolean;
|
|
4249
4408
|
/**
|
|
4250
|
-
* the input status (optional)
|
|
4409
|
+
* the input status (optional)
|
|
4251
4410
|
*/
|
|
4252
4411
|
"status"?: InputStatusBean;
|
|
4253
4412
|
}
|
|
@@ -4527,7 +4686,7 @@ declare namespace LocalJSX {
|
|
|
4527
4686
|
"checked"?: boolean;
|
|
4528
4687
|
"disabled"?: boolean;
|
|
4529
4688
|
"htmlid"?: string;
|
|
4530
|
-
"labelPosition"?:
|
|
4689
|
+
"labelPosition"?: LabelPosition;
|
|
4531
4690
|
"onToggleClick"?: (event: CustomEvent<any>) => void;
|
|
4532
4691
|
}
|
|
4533
4692
|
interface ZTooltip {
|
|
@@ -4625,6 +4784,7 @@ declare namespace LocalJSX {
|
|
|
4625
4784
|
"z-icon-package": ZIconPackage;
|
|
4626
4785
|
"z-info-box": ZInfoBox;
|
|
4627
4786
|
"z-input": ZInput;
|
|
4787
|
+
"z-input-deprecated": ZInputDeprecated;
|
|
4628
4788
|
"z-input-label": ZInputLabel;
|
|
4629
4789
|
"z-input-message": ZInputMessage;
|
|
4630
4790
|
"z-link": ZLink;
|
|
@@ -4734,6 +4894,7 @@ declare module "@stencil/core" {
|
|
|
4734
4894
|
"z-icon-package": LocalJSX.ZIconPackage & JSXBase.HTMLAttributes<HTMLZIconPackageElement>;
|
|
4735
4895
|
"z-info-box": LocalJSX.ZInfoBox & JSXBase.HTMLAttributes<HTMLZInfoBoxElement>;
|
|
4736
4896
|
"z-input": LocalJSX.ZInput & JSXBase.HTMLAttributes<HTMLZInputElement>;
|
|
4897
|
+
"z-input-deprecated": LocalJSX.ZInputDeprecated & JSXBase.HTMLAttributes<HTMLZInputDeprecatedElement>;
|
|
4737
4898
|
"z-input-label": LocalJSX.ZInputLabel & JSXBase.HTMLAttributes<HTMLZInputLabelElement>;
|
|
4738
4899
|
"z-input-message": LocalJSX.ZInputMessage & JSXBase.HTMLAttributes<HTMLZInputMessageElement>;
|
|
4739
4900
|
"z-link": LocalJSX.ZLink & JSXBase.HTMLAttributes<HTMLZLinkElement>;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
import { InputTypeBean, InputStatusBean, SelectItemBean } from "../../beans";
|
|
3
|
+
export declare class ZInputDeprecated {
|
|
4
|
+
hostElement: HTMLElement;
|
|
5
|
+
/** the id of the input element */
|
|
6
|
+
htmlid: string;
|
|
7
|
+
/** input types */
|
|
8
|
+
type: InputTypeBean;
|
|
9
|
+
/** the input name */
|
|
10
|
+
name?: string;
|
|
11
|
+
/** the input label */
|
|
12
|
+
label?: string;
|
|
13
|
+
/** the input aria-label */
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
/** the input value */
|
|
16
|
+
value?: string;
|
|
17
|
+
/** the input is disabled */
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** the input is readonly */
|
|
20
|
+
readonly?: boolean;
|
|
21
|
+
/** the input is required (optional): available for text, password, number, email, textarea, checkbox */
|
|
22
|
+
required?: boolean;
|
|
23
|
+
/** checked: available for checkbox, radio */
|
|
24
|
+
checked?: boolean;
|
|
25
|
+
/** the input placeholder (optional) */
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
/** the input html title (optional) */
|
|
28
|
+
htmltitle?: string;
|
|
29
|
+
/** the input status (optional): available for text, password, number, email, textarea, select */
|
|
30
|
+
status?: InputStatusBean;
|
|
31
|
+
/** show input helper message (optional): available for text, password, number, email, textarea, select */
|
|
32
|
+
hasmessage?: boolean;
|
|
33
|
+
/** input helper message (optional): available for text, password, number, email, textarea, select */
|
|
34
|
+
message?: string;
|
|
35
|
+
/** the input label position: available for checkbox, radio */
|
|
36
|
+
labelafter?: boolean;
|
|
37
|
+
/** timeout setting before trigger `inputChange` event (optional): available for text, textarea */
|
|
38
|
+
typingtimeout?: number;
|
|
39
|
+
/** items (optional): available for select */
|
|
40
|
+
items?: SelectItemBean[] | string;
|
|
41
|
+
/** the input has autocomplete option (optional): available for select, input */
|
|
42
|
+
autocomplete?: boolean | string;
|
|
43
|
+
/** multiple options can be selected (optional): available for select */
|
|
44
|
+
multiple?: boolean;
|
|
45
|
+
/** render clear icon when typing (optional): available for text */
|
|
46
|
+
hasclearicon?: boolean;
|
|
47
|
+
/** render icon (optional): available for text, select */
|
|
48
|
+
icon?: string;
|
|
49
|
+
isTyping: boolean;
|
|
50
|
+
textareaWrapperHover: string;
|
|
51
|
+
textareaWrapperFocus: string;
|
|
52
|
+
passwordHidden: boolean;
|
|
53
|
+
private timer;
|
|
54
|
+
private selectElem;
|
|
55
|
+
inputCheckListener(e: CustomEvent): void;
|
|
56
|
+
/** get the input value */
|
|
57
|
+
getValue(): Promise<string | string[]>;
|
|
58
|
+
/** set the input value */
|
|
59
|
+
setValue(value: string | string[]): Promise<void>;
|
|
60
|
+
/** get checked status */
|
|
61
|
+
isChecked(): Promise<boolean>;
|
|
62
|
+
/** Emitted on input value change, returns value, keycode, validity */
|
|
63
|
+
inputChange: EventEmitter;
|
|
64
|
+
emitInputChange(value: string, keycode: number): void;
|
|
65
|
+
/** Emitted when user starts typing */
|
|
66
|
+
startTyping: EventEmitter;
|
|
67
|
+
emitStartTyping(): void;
|
|
68
|
+
/** Emitted when user stops typing, returns value, validity */
|
|
69
|
+
stopTyping: EventEmitter;
|
|
70
|
+
emitStopTyping(value: string, validity: any): void;
|
|
71
|
+
/** Emitted on checkbox check/uncheck, returns id, checked, type, name, value, validity */
|
|
72
|
+
inputCheck: EventEmitter;
|
|
73
|
+
emitInputCheck(checked: boolean): void;
|
|
74
|
+
/** Emitted on select option selection, returns select id, selected item id (or array of selected items ids if multiple) */
|
|
75
|
+
optionSelect: EventEmitter;
|
|
76
|
+
getValidity(type: string): ValidityState;
|
|
77
|
+
getTextAttributes(): {
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
value: string;
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
readonly: boolean;
|
|
84
|
+
required: boolean;
|
|
85
|
+
title: string;
|
|
86
|
+
class: string;
|
|
87
|
+
onInput: (e: any) => void;
|
|
88
|
+
};
|
|
89
|
+
renderInputText(type?: InputTypeBean): any;
|
|
90
|
+
renderLabel(): any;
|
|
91
|
+
renderIcons(): any;
|
|
92
|
+
renderIcon(): any;
|
|
93
|
+
renderResetIcon(): any;
|
|
94
|
+
renderShowHidePassword(): any;
|
|
95
|
+
renderMessage(): any;
|
|
96
|
+
renderTextarea(): any;
|
|
97
|
+
handleCheck(ev: any): void;
|
|
98
|
+
renderCheckbox(): any;
|
|
99
|
+
renderRadio(): any;
|
|
100
|
+
renderSelect(): any;
|
|
101
|
+
render(): any;
|
|
102
|
+
}
|
|
File without changes
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { DeviceEnum } from "../beans/index";
|
|
2
2
|
export declare function format(first: string, middle: string, last: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* Return boolean value for passed value if a boolean corresponding value is found
|
|
5
|
+
* Return passed value otherwise
|
|
6
|
+
*/
|
|
7
|
+
export declare function boolean(value: any): boolean | string;
|
|
3
8
|
export declare function retrieveAsset(assetName: string): string;
|
|
4
9
|
export declare function randomId(): string;
|
|
5
10
|
export declare function handleKeyboardSubmit(ev: KeyboardEvent, callback: Function, ...args: any[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o}from"./p-
|
|
1
|
+
import{c as o}from"./p-b9da171f.js";import"./p-9f5d707a.js";import"./p-d69e14fb.js";const p={colorFromId:o};export{p as Utils}
|