jebamo 0.0.1 → 0.0.2
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/LICENSE +21 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/index-d5fa9014.js +1722 -0
- package/dist/cjs/index-d5fa9014.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/je-alert_31.cjs.entry.js +4772 -0
- package/dist/cjs/je-alert_31.cjs.entry.js.map +1 -0
- package/dist/cjs/je-branch.cjs.entry.js +22 -0
- package/dist/cjs/je-branch.cjs.entry.js.map +1 -0
- package/dist/cjs/je-column-group.cjs.entry.js +29 -0
- package/dist/cjs/je-column-group.cjs.entry.js.map +1 -0
- package/dist/cjs/je-column.cjs.entry.js +73 -0
- package/dist/cjs/je-column.cjs.entry.js.map +1 -0
- package/dist/cjs/je-infinite.cjs.entry.js +45 -0
- package/dist/cjs/je-infinite.cjs.entry.js.map +1 -0
- package/dist/cjs/je-menu-option.cjs.entry.js +22 -0
- package/dist/cjs/je-menu-option.cjs.entry.js.map +1 -0
- package/dist/cjs/je-menu.cjs.entry.js +22 -0
- package/dist/cjs/je-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/je-tab.cjs.entry.js +22 -0
- package/dist/cjs/je-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/je-tabs.cjs.entry.js +22 -0
- package/dist/cjs/je-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/je-toast.cjs.entry.js +22 -0
- package/dist/cjs/je-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/je-tree.cjs.entry.js +22 -0
- package/dist/cjs/je-tree.cjs.entry.js.map +1 -0
- package/dist/cjs/jebamo.cjs.js +27 -0
- package/dist/cjs/jebamo.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +52 -0
- package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.css +10 -0
- package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.js +141 -0
- package/dist/collection/components/checkbox-group/je-checkbox-group/je-checkbox-group.js.map +1 -0
- package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.css +13 -0
- package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.js +153 -0
- package/dist/collection/components/checkbox-group/je-checkbox-option/je-checkbox-option.js.map +1 -0
- package/dist/collection/components/column/je-column/je-column.css +10 -0
- package/dist/collection/components/column/je-column/je-column.js +187 -0
- package/dist/collection/components/column/je-column/je-column.js.map +1 -0
- package/dist/collection/components/column/je-column-group/je-column-group.css +4 -0
- package/dist/collection/components/column/je-column-group/je-column-group.js +49 -0
- package/dist/collection/components/column/je-column-group/je-column-group.js.map +1 -0
- package/dist/collection/components/je-alert/je-alert.css +84 -0
- package/dist/collection/components/je-alert/je-alert.js +339 -0
- package/dist/collection/components/je-alert/je-alert.js.map +1 -0
- package/dist/collection/components/je-button/je-button.css +180 -0
- package/dist/collection/components/je-button/je-button.js +252 -0
- package/dist/collection/components/je-button/je-button.js.map +1 -0
- package/dist/collection/components/je-card/je-card.css +113 -0
- package/dist/collection/components/je-card/je-card.js +67 -0
- package/dist/collection/components/je-card/je-card.js.map +1 -0
- package/dist/collection/components/je-checkbox/je-checkbox.css +14 -0
- package/dist/collection/components/je-checkbox/je-checkbox.js +191 -0
- package/dist/collection/components/je-checkbox/je-checkbox.js.map +1 -0
- package/dist/collection/components/je-color/je-color.css +39 -0
- package/dist/collection/components/je-color/je-color.js +116 -0
- package/dist/collection/components/je-color/je-color.js.map +1 -0
- package/dist/collection/components/je-datepicker/je-datepicker.css +56 -0
- package/dist/collection/components/je-datepicker/je-datepicker.js +129 -0
- package/dist/collection/components/je-datepicker/je-datepicker.js.map +1 -0
- package/dist/collection/components/je-details/je-details.css +39 -0
- package/dist/collection/components/je-details/je-details.js +63 -0
- package/dist/collection/components/je-details/je-details.js.map +1 -0
- package/dist/collection/components/je-divider/je-divider.css +32 -0
- package/dist/collection/components/je-divider/je-divider.js +63 -0
- package/dist/collection/components/je-divider/je-divider.js.map +1 -0
- package/dist/collection/components/je-drawer/je-drawer.css +51 -0
- package/dist/collection/components/je-drawer/je-drawer.js +71 -0
- package/dist/collection/components/je-drawer/je-drawer.js.map +1 -0
- package/dist/collection/components/je-dropzone/je-dropzone.css +21 -0
- package/dist/collection/components/je-dropzone/je-dropzone.js +86 -0
- package/dist/collection/components/je-dropzone/je-dropzone.js.map +1 -0
- package/dist/collection/components/je-form/je-form.css +12 -0
- package/dist/collection/components/je-form/je-form.js +95 -0
- package/dist/collection/components/je-form/je-form.js.map +1 -0
- package/dist/collection/components/je-icon/je-icon.css +60 -0
- package/dist/collection/components/je-icon/je-icon.js +122 -0
- package/dist/collection/components/je-icon/je-icon.js.map +1 -0
- package/dist/collection/components/je-infinite/je-infinite.css +18 -0
- package/dist/collection/components/je-infinite/je-infinite.js +119 -0
- package/dist/collection/components/je-infinite/je-infinite.js.map +1 -0
- package/dist/collection/components/je-input/je-input.css +96 -0
- package/dist/collection/components/je-input/je-input.js +862 -0
- package/dist/collection/components/je-input/je-input.js.map +1 -0
- package/dist/collection/components/je-link/je-link.css +15 -0
- package/dist/collection/components/je-link/je-link.js +207 -0
- package/dist/collection/components/je-link/je-link.js.map +1 -0
- package/dist/collection/components/je-loading/je-loading.css +50 -0
- package/dist/collection/components/je-loading/je-loading.js +48 -0
- package/dist/collection/components/je-loading/je-loading.js.map +1 -0
- package/dist/collection/components/je-modal/je-modal.css +75 -0
- package/dist/collection/components/je-modal/je-modal.js +220 -0
- package/dist/collection/components/je-modal/je-modal.js.map +1 -0
- package/dist/collection/components/je-page/je-page.css +202 -0
- package/dist/collection/components/je-page/je-page.js +129 -0
- package/dist/collection/components/je-page/je-page.js.map +1 -0
- package/dist/collection/components/je-pill/je-pill.css +43 -0
- package/dist/collection/components/je-pill/je-pill.js +82 -0
- package/dist/collection/components/je-pill/je-pill.js.map +1 -0
- package/dist/collection/components/je-placeholder/je-placeholder.css +39 -0
- package/dist/collection/components/je-placeholder/je-placeholder.js +44 -0
- package/dist/collection/components/je-placeholder/je-placeholder.js.map +1 -0
- package/dist/collection/components/je-popover/je-popover.css +60 -0
- package/dist/collection/components/je-popover/je-popover.js +499 -0
- package/dist/collection/components/je-popover/je-popover.js.map +1 -0
- package/dist/collection/components/je-textarea/je-textarea.css +59 -0
- package/dist/collection/components/je-textarea/je-textarea.js +171 -0
- package/dist/collection/components/je-textarea/je-textarea.js.map +1 -0
- package/dist/collection/components/je-toast/je-toast.css +3 -0
- package/dist/collection/components/je-toast/je-toast.js +19 -0
- package/dist/collection/components/je-toast/je-toast.js.map +1 -0
- package/dist/collection/components/je-toggle/je-toggle.css +48 -0
- package/dist/collection/components/je-toggle/je-toggle.js +105 -0
- package/dist/collection/components/je-toggle/je-toggle.js.map +1 -0
- package/dist/collection/components/je-toolbar/je-toolbar.css +16 -0
- package/dist/collection/components/je-toolbar/je-toolbar.js +19 -0
- package/dist/collection/components/je-toolbar/je-toolbar.js.map +1 -0
- package/dist/collection/components/menu/je-menu/je-menu.css +3 -0
- package/dist/collection/components/menu/je-menu/je-menu.js +19 -0
- package/dist/collection/components/menu/je-menu/je-menu.js.map +1 -0
- package/dist/collection/components/menu/je-menu-option/je-menu-option.css +3 -0
- package/dist/collection/components/menu/je-menu-option/je-menu-option.js +19 -0
- package/dist/collection/components/menu/je-menu-option/je-menu-option.js.map +1 -0
- package/dist/collection/components/multiselect/je-multiselect/je-multiselect.css +79 -0
- package/dist/collection/components/multiselect/je-multiselect/je-multiselect.js +244 -0
- package/dist/collection/components/multiselect/je-multiselect/je-multiselect.js.map +1 -0
- package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.css +31 -0
- package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.js +122 -0
- package/dist/collection/components/multiselect/je-multiselect-option/je-multiselect-option.js.map +1 -0
- package/dist/collection/components/radio/je-radio/je-radio.css +13 -0
- package/dist/collection/components/radio/je-radio/je-radio.js +128 -0
- package/dist/collection/components/radio/je-radio/je-radio.js.map +1 -0
- package/dist/collection/components/radio/je-radio-group/je-radio-group.css +10 -0
- package/dist/collection/components/radio/je-radio-group/je-radio-group.js +172 -0
- package/dist/collection/components/radio/je-radio-group/je-radio-group.js.map +1 -0
- package/dist/collection/components/select/je-select/je-select.css +20 -0
- package/dist/collection/components/select/je-select/je-select.js +289 -0
- package/dist/collection/components/select/je-select/je-select.js.map +1 -0
- package/dist/collection/components/select/je-select-option/je-select-option.css +31 -0
- package/dist/collection/components/select/je-select-option/je-select-option.js +102 -0
- package/dist/collection/components/select/je-select-option/je-select-option.js.map +1 -0
- package/dist/collection/components/tabs/je-tab/je-tab.css +3 -0
- package/dist/collection/components/tabs/je-tab/je-tab.js +19 -0
- package/dist/collection/components/tabs/je-tab/je-tab.js.map +1 -0
- package/dist/collection/components/tabs/je-tabs/je-tabs.css +3 -0
- package/dist/collection/components/tabs/je-tabs/je-tabs.js +19 -0
- package/dist/collection/components/tabs/je-tabs/je-tabs.js.map +1 -0
- package/dist/collection/components/tree/je-branch/je-branch.css +3 -0
- package/dist/collection/components/tree/je-branch/je-branch.js +19 -0
- package/dist/collection/components/tree/je-branch/je-branch.js.map +1 -0
- package/dist/collection/components/tree/je-tree/je-tree.css +3 -0
- package/dist/collection/components/tree/je-tree/je-tree.js +19 -0
- package/dist/collection/components/tree/je-tree/je-tree.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/utils.js +18 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/je-alert.d.ts +11 -0
- package/dist/components/je-alert.js +146 -0
- package/dist/components/je-alert.js.map +1 -0
- package/dist/components/je-branch.d.ts +11 -0
- package/dist/components/je-branch.js +37 -0
- package/dist/components/je-branch.js.map +1 -0
- package/dist/components/je-button.d.ts +11 -0
- package/dist/components/je-button.js +8 -0
- package/dist/components/je-button.js.map +1 -0
- package/dist/components/je-card.d.ts +11 -0
- package/dist/components/je-card.js +8 -0
- package/dist/components/je-card.js.map +1 -0
- package/dist/components/je-checkbox-group.d.ts +11 -0
- package/dist/components/je-checkbox-group.js +90 -0
- package/dist/components/je-checkbox-group.js.map +1 -0
- package/dist/components/je-checkbox-option.d.ts +11 -0
- package/dist/components/je-checkbox-option.js +65 -0
- package/dist/components/je-checkbox-option.js.map +1 -0
- package/dist/components/je-checkbox.d.ts +11 -0
- package/dist/components/je-checkbox.js +83 -0
- package/dist/components/je-checkbox.js.map +1 -0
- package/dist/components/je-color.d.ts +11 -0
- package/dist/components/je-color.js +8 -0
- package/dist/components/je-color.js.map +1 -0
- package/dist/components/je-column-group.d.ts +11 -0
- package/dist/components/je-column-group.js +46 -0
- package/dist/components/je-column-group.js.map +1 -0
- package/dist/components/je-column.d.ts +11 -0
- package/dist/components/je-column.js +95 -0
- package/dist/components/je-column.js.map +1 -0
- package/dist/components/je-datepicker.d.ts +11 -0
- package/dist/components/je-datepicker.js +3249 -0
- package/dist/components/je-datepicker.js.map +1 -0
- package/dist/components/je-details.d.ts +11 -0
- package/dist/components/je-details.js +49 -0
- package/dist/components/je-details.js.map +1 -0
- package/dist/components/je-divider.d.ts +11 -0
- package/dist/components/je-divider.js +42 -0
- package/dist/components/je-divider.js.map +1 -0
- package/dist/components/je-drawer.d.ts +11 -0
- package/dist/components/je-drawer.js +60 -0
- package/dist/components/je-drawer.js.map +1 -0
- package/dist/components/je-dropzone.d.ts +11 -0
- package/dist/components/je-dropzone.js +55 -0
- package/dist/components/je-dropzone.js.map +1 -0
- package/dist/components/je-form.d.ts +11 -0
- package/dist/components/je-form.js +8 -0
- package/dist/components/je-form.js.map +1 -0
- package/dist/components/je-icon.d.ts +11 -0
- package/dist/components/je-icon.js +8 -0
- package/dist/components/je-icon.js.map +1 -0
- package/dist/components/je-infinite.d.ts +11 -0
- package/dist/components/je-infinite.js +64 -0
- package/dist/components/je-infinite.js.map +1 -0
- package/dist/components/je-input.d.ts +11 -0
- package/dist/components/je-input.js +8 -0
- package/dist/components/je-input.js.map +1 -0
- package/dist/components/je-link.d.ts +11 -0
- package/dist/components/je-link.js +62 -0
- package/dist/components/je-link.js.map +1 -0
- package/dist/components/je-loading.d.ts +11 -0
- package/dist/components/je-loading.js +66 -0
- package/dist/components/je-loading.js.map +1 -0
- package/dist/components/je-menu-option.d.ts +11 -0
- package/dist/components/je-menu-option.js +37 -0
- package/dist/components/je-menu-option.js.map +1 -0
- package/dist/components/je-menu.d.ts +11 -0
- package/dist/components/je-menu.js +37 -0
- package/dist/components/je-menu.js.map +1 -0
- package/dist/components/je-modal.d.ts +11 -0
- package/dist/components/je-modal.js +104 -0
- package/dist/components/je-modal.js.map +1 -0
- package/dist/components/je-multiselect-option.d.ts +11 -0
- package/dist/components/je-multiselect-option.js +62 -0
- package/dist/components/je-multiselect-option.js.map +1 -0
- package/dist/components/je-multiselect.d.ts +11 -0
- package/dist/components/je-multiselect.js +146 -0
- package/dist/components/je-multiselect.js.map +1 -0
- package/dist/components/je-page.d.ts +11 -0
- package/dist/components/je-page.js +61 -0
- package/dist/components/je-page.js.map +1 -0
- package/dist/components/je-pill.d.ts +11 -0
- package/dist/components/je-pill.js +8 -0
- package/dist/components/je-pill.js.map +1 -0
- package/dist/components/je-placeholder.d.ts +11 -0
- package/dist/components/je-placeholder.js +40 -0
- package/dist/components/je-placeholder.js.map +1 -0
- package/dist/components/je-popover.d.ts +11 -0
- package/dist/components/je-popover.js +8 -0
- package/dist/components/je-popover.js.map +1 -0
- package/dist/components/je-radio-group.d.ts +11 -0
- package/dist/components/je-radio-group.js +92 -0
- package/dist/components/je-radio-group.js.map +1 -0
- package/dist/components/je-radio.d.ts +11 -0
- package/dist/components/je-radio.js +68 -0
- package/dist/components/je-radio.js.map +1 -0
- package/dist/components/je-select-option.d.ts +11 -0
- package/dist/components/je-select-option.js +56 -0
- package/dist/components/je-select-option.js.map +1 -0
- package/dist/components/je-select.d.ts +11 -0
- package/dist/components/je-select.js +208 -0
- package/dist/components/je-select.js.map +1 -0
- package/dist/components/je-tab.d.ts +11 -0
- package/dist/components/je-tab.js +37 -0
- package/dist/components/je-tab.js.map +1 -0
- package/dist/components/je-tabs.d.ts +11 -0
- package/dist/components/je-tabs.js +37 -0
- package/dist/components/je-tabs.js.map +1 -0
- package/dist/components/je-textarea.d.ts +11 -0
- package/dist/components/je-textarea.js +55 -0
- package/dist/components/je-textarea.js.map +1 -0
- package/dist/components/je-toast.d.ts +11 -0
- package/dist/components/je-toast.js +37 -0
- package/dist/components/je-toast.js.map +1 -0
- package/dist/components/je-toggle.d.ts +11 -0
- package/dist/components/je-toggle.js +57 -0
- package/dist/components/je-toggle.js.map +1 -0
- package/dist/components/je-toolbar.d.ts +11 -0
- package/dist/components/je-toolbar.js +37 -0
- package/dist/components/je-toolbar.js.map +1 -0
- package/dist/components/je-tree.d.ts +11 -0
- package/dist/components/je-tree.js +37 -0
- package/dist/components/je-tree.js.map +1 -0
- package/dist/components/p-1f3759e7.js +41 -0
- package/dist/components/p-1f3759e7.js.map +1 -0
- package/dist/components/p-243cc91b.js +50 -0
- package/dist/components/p-243cc91b.js.map +1 -0
- package/dist/components/p-2df369c4.js +265 -0
- package/dist/components/p-2df369c4.js.map +1 -0
- package/dist/components/p-41492a72.js +1514 -0
- package/dist/components/p-41492a72.js.map +1 -0
- package/dist/components/p-4b8ae8ef.js +51 -0
- package/dist/components/p-4b8ae8ef.js.map +1 -0
- package/dist/components/p-5dee004d.js +246 -0
- package/dist/components/p-5dee004d.js.map +1 -0
- package/dist/components/p-8401b4e4.js +48 -0
- package/dist/components/p-8401b4e4.js.map +1 -0
- package/dist/components/p-94327b0d.js +39 -0
- package/dist/components/p-94327b0d.js.map +1 -0
- package/dist/components/p-aa4caa39.js +76 -0
- package/dist/components/p-aa4caa39.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/index-a65634db.js +1692 -0
- package/dist/esm/index-a65634db.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/je-alert_31.entry.js +4738 -0
- package/dist/esm/je-alert_31.entry.js.map +1 -0
- package/dist/esm/je-branch.entry.js +18 -0
- package/dist/esm/je-branch.entry.js.map +1 -0
- package/dist/esm/je-column-group.entry.js +25 -0
- package/dist/esm/je-column-group.entry.js.map +1 -0
- package/dist/esm/je-column.entry.js +69 -0
- package/dist/esm/je-column.entry.js.map +1 -0
- package/dist/esm/je-infinite.entry.js +41 -0
- package/dist/esm/je-infinite.entry.js.map +1 -0
- package/dist/esm/je-menu-option.entry.js +18 -0
- package/dist/esm/je-menu-option.entry.js.map +1 -0
- package/dist/esm/je-menu.entry.js +18 -0
- package/dist/esm/je-menu.entry.js.map +1 -0
- package/dist/esm/je-tab.entry.js +18 -0
- package/dist/esm/je-tab.entry.js.map +1 -0
- package/dist/esm/je-tabs.entry.js +18 -0
- package/dist/esm/je-tabs.entry.js.map +1 -0
- package/dist/esm/je-toast.entry.js +18 -0
- package/dist/esm/je-toast.entry.js.map +1 -0
- package/dist/esm/je-tree.entry.js +18 -0
- package/dist/esm/je-tree.entry.js.map +1 -0
- package/dist/esm/jebamo.js +22 -0
- package/dist/esm/jebamo.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/jebamo/index.esm.js +2 -0
- package/dist/jebamo/index.esm.js.map +1 -0
- package/dist/jebamo/jebamo.esm.js +2 -0
- package/dist/jebamo/jebamo.esm.js.map +1 -0
- package/dist/jebamo/p-0d0cb311.entry.js +2 -0
- package/dist/jebamo/p-0d0cb311.entry.js.map +1 -0
- package/dist/jebamo/p-254ac389.entry.js +2 -0
- package/dist/jebamo/p-254ac389.entry.js.map +1 -0
- package/dist/jebamo/p-286807aa.entry.js +2 -0
- package/dist/jebamo/p-286807aa.entry.js.map +1 -0
- package/dist/jebamo/p-44735e2f.entry.js +2 -0
- package/dist/jebamo/p-44735e2f.entry.js.map +1 -0
- package/dist/jebamo/p-456b52ee.js +3 -0
- package/dist/jebamo/p-456b52ee.js.map +1 -0
- package/dist/jebamo/p-5b8d9daf.entry.js +2 -0
- package/dist/jebamo/p-5b8d9daf.entry.js.map +1 -0
- package/dist/jebamo/p-c519a7a4.entry.js +2 -0
- package/dist/jebamo/p-c519a7a4.entry.js.map +1 -0
- package/dist/jebamo/p-c6111d19.entry.js +2 -0
- package/dist/jebamo/p-c6111d19.entry.js.map +1 -0
- package/dist/jebamo/p-c8615128.entry.js +2 -0
- package/dist/jebamo/p-c8615128.entry.js.map +1 -0
- package/dist/jebamo/p-e1255160.js +2 -0
- package/dist/jebamo/p-e1255160.js.map +1 -0
- package/dist/jebamo/p-e330c9bb.entry.js +2 -0
- package/dist/jebamo/p-e330c9bb.entry.js.map +1 -0
- package/dist/jebamo/p-f6e777be.entry.js +2 -0
- package/dist/jebamo/p-f6e777be.entry.js.map +1 -0
- package/dist/jebamo/p-ff27b55f.entry.js +2 -0
- package/dist/jebamo/p-ff27b55f.entry.js.map +1 -0
- package/dist/types/components/checkbox-group/je-checkbox-group/je-checkbox-group.d.ts +25 -0
- package/dist/types/components/checkbox-group/je-checkbox-option/je-checkbox-option.d.ts +30 -0
- package/dist/types/components/column/je-column/je-column.d.ts +31 -0
- package/dist/types/components/column/je-column-group/je-column-group.d.ts +9 -0
- package/dist/types/components/je-alert/je-alert.d.ts +77 -0
- package/dist/types/components/je-button/je-button.d.ts +28 -0
- package/dist/types/components/je-card/je-card.d.ts +6 -0
- package/dist/types/components/je-checkbox/je-checkbox.d.ts +38 -0
- package/dist/types/components/je-color/je-color.d.ts +12 -0
- package/dist/types/components/je-datepicker/je-datepicker.d.ts +18 -0
- package/dist/types/components/je-details/je-details.d.ts +6 -0
- package/dist/types/components/je-divider/je-divider.d.ts +5 -0
- package/dist/types/components/je-drawer/je-drawer.d.ts +10 -0
- package/dist/types/components/je-dropzone/je-dropzone.d.ts +10 -0
- package/dist/types/components/je-form/je-form.d.ts +12 -0
- package/dist/types/components/je-icon/je-icon.d.ts +15 -0
- package/dist/types/components/je-infinite/je-infinite.d.ts +25 -0
- package/dist/types/components/je-input/je-input.d.ts +155 -0
- package/dist/types/components/je-link/je-link.d.ts +22 -0
- package/dist/types/components/je-loading/je-loading.d.ts +22 -0
- package/dist/types/components/je-modal/je-modal.d.ts +28 -0
- package/dist/types/components/je-page/je-page.d.ts +12 -0
- package/dist/types/components/je-pill/je-pill.d.ts +6 -0
- package/dist/types/components/je-placeholder/je-placeholder.d.ts +7 -0
- package/dist/types/components/je-popover/je-popover.d.ts +70 -0
- package/dist/types/components/je-textarea/je-textarea.d.ts +11 -0
- package/dist/types/components/je-toast/je-toast.d.ts +3 -0
- package/dist/types/components/je-toggle/je-toggle.d.ts +18 -0
- package/dist/types/components/je-toolbar/je-toolbar.d.ts +3 -0
- package/dist/types/components/menu/je-menu/je-menu.d.ts +3 -0
- package/dist/types/components/menu/je-menu-option/je-menu-option.d.ts +3 -0
- package/dist/types/components/multiselect/je-multiselect/je-multiselect.d.ts +27 -0
- package/dist/types/components/multiselect/je-multiselect-option/je-multiselect-option.d.ts +11 -0
- package/dist/types/components/radio/je-radio/je-radio.d.ts +25 -0
- package/dist/types/components/radio/je-radio-group/je-radio-group.d.ts +32 -0
- package/dist/types/components/select/je-select/je-select.d.ts +23 -0
- package/dist/types/components/select/je-select-option/je-select-option.d.ts +10 -0
- package/dist/types/components/tabs/je-tab/je-tab.d.ts +3 -0
- package/dist/types/components/tabs/je-tabs/je-tabs.d.ts +3 -0
- package/dist/types/components/tree/je-branch/je-branch.d.ts +3 -0
- package/dist/types/components/tree/je-tree/je-tree.d.ts +3 -0
- package/dist/types/components.d.ts +1846 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/utils.d.ts +4 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +31 -26
- package/readme.md +114 -0
- package/README.md +0 -24
- package/esm2020/jebamo.mjs +0 -5
- package/esm2020/lib/jebamo.component.mjs +0 -19
- package/esm2020/lib/jebamo.module.mjs +0 -21
- package/esm2020/lib/jebamo.service.mjs +0 -14
- package/esm2020/public-api.mjs +0 -7
- package/fesm2015/jebamo.mjs +0 -60
- package/fesm2015/jebamo.mjs.map +0 -1
- package/fesm2020/jebamo.mjs +0 -60
- package/fesm2020/jebamo.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/jebamo.component.d.ts +0 -5
- package/lib/jebamo.module.d.ts +0 -7
- package/lib/jebamo.service.d.ts +0 -6
- package/public-api.d.ts +0 -3
|
@@ -0,0 +1,862 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { debounceEvent } from "../../utils/utils";
|
|
3
|
+
export class JeInput {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.dropdownActive = false;
|
|
6
|
+
this.showPassword = false;
|
|
7
|
+
this.errors = [];
|
|
8
|
+
this.originalValue = '';
|
|
9
|
+
this.togglePassword = () => {
|
|
10
|
+
this.showPassword = !this.showPassword;
|
|
11
|
+
this.type = this.type == 'text' ? 'password' : 'text';
|
|
12
|
+
};
|
|
13
|
+
this.formatInput = async (ev) => {
|
|
14
|
+
const input = ev.target;
|
|
15
|
+
if (input && this.format) {
|
|
16
|
+
input.value = await this.format(input.value, this.value, ev);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
this.handleInput = (ev) => {
|
|
20
|
+
const input = ev.target;
|
|
21
|
+
if (input) {
|
|
22
|
+
this.value = input.value;
|
|
23
|
+
this.valueChange.emit(this.value);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
this.handleContainerClick = async () => {
|
|
27
|
+
if (this.dropdown) {
|
|
28
|
+
this.dropdownActive = true;
|
|
29
|
+
this.hostEl.style.setProperty('--je-content-width', `${this.hostEl.clientWidth}px`);
|
|
30
|
+
await this.popoverEl.present('element', this.hostEl);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
this.handleDismiss = () => {
|
|
34
|
+
this.dropdownActive = false;
|
|
35
|
+
this.containerEl.classList.remove('focus');
|
|
36
|
+
};
|
|
37
|
+
this.isTouched = false;
|
|
38
|
+
this.label = '';
|
|
39
|
+
this.disabled = false;
|
|
40
|
+
this.autoCapitalize = 'off';
|
|
41
|
+
this.autoComplete = 'off';
|
|
42
|
+
this.autoCorrect = 'off';
|
|
43
|
+
this.autoFocus = undefined;
|
|
44
|
+
this.inputMode = undefined;
|
|
45
|
+
this.min = undefined;
|
|
46
|
+
this.max = undefined;
|
|
47
|
+
this.minLength = undefined;
|
|
48
|
+
this.maxLength = undefined;
|
|
49
|
+
this.multiple = false;
|
|
50
|
+
this.pattern = undefined;
|
|
51
|
+
this.readOnly = false;
|
|
52
|
+
this.required = false;
|
|
53
|
+
this.spellcheck = false;
|
|
54
|
+
this.step = undefined;
|
|
55
|
+
this.type = 'text';
|
|
56
|
+
this.value = '';
|
|
57
|
+
this.placeholder = '';
|
|
58
|
+
this.debounce = 0;
|
|
59
|
+
this.format = undefined;
|
|
60
|
+
this.validators = undefined;
|
|
61
|
+
this.noTyping = false;
|
|
62
|
+
this.helperText = undefined;
|
|
63
|
+
this.dropdown = false;
|
|
64
|
+
this.expand = undefined;
|
|
65
|
+
this.dismissOnClick = undefined;
|
|
66
|
+
}
|
|
67
|
+
componentWillLoad() {
|
|
68
|
+
if (this.label && !this.hostEl.getAttribute('name')) {
|
|
69
|
+
this.hostEl.setAttribute('name', this.label.replace(' ', '-').toLowerCase());
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
connectedCallback() {
|
|
73
|
+
this.internals.setFormValue(this.value);
|
|
74
|
+
}
|
|
75
|
+
async componentDidLoad() {
|
|
76
|
+
this.originalValue = this.value;
|
|
77
|
+
const { valueChange, debounce } = this;
|
|
78
|
+
if (debounce) {
|
|
79
|
+
this.valueChange = debounceEvent(valueChange, debounce);
|
|
80
|
+
}
|
|
81
|
+
if (this.format) {
|
|
82
|
+
this.value = await this.format(this.value);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.validatorsChanged();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
async formResetCallback() {
|
|
89
|
+
this.isTouched = false;
|
|
90
|
+
if (this.value !== this.originalValue) {
|
|
91
|
+
if (this.format) {
|
|
92
|
+
this.value = await this.format(this.originalValue);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.value = this.originalValue;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
handleThemeChange(e) {
|
|
100
|
+
this.hostEl.toggleAttribute('darkmode', e.detail == 'dark');
|
|
101
|
+
}
|
|
102
|
+
handleFocus() {
|
|
103
|
+
this.containerEl.classList.add('focus');
|
|
104
|
+
}
|
|
105
|
+
handleBlur() {
|
|
106
|
+
this.isTouched = true;
|
|
107
|
+
if (!this.dropdownActive) {
|
|
108
|
+
this.containerEl.classList.remove('focus');
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
async validatorsChanged() {
|
|
112
|
+
this.errors = [];
|
|
113
|
+
if (this.validators) {
|
|
114
|
+
for (const validator of this.validators) {
|
|
115
|
+
const res = await validator(this.value);
|
|
116
|
+
this.errors = [...this.errors, ...res];
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
this.setValidity();
|
|
120
|
+
}
|
|
121
|
+
requiredChanged() {
|
|
122
|
+
this.setValidity();
|
|
123
|
+
}
|
|
124
|
+
async valueChanged() {
|
|
125
|
+
if (this.inputEl && this.inputEl.value !== this.value) {
|
|
126
|
+
this.inputEl.value = this.value;
|
|
127
|
+
}
|
|
128
|
+
this.internals.setFormValue(this.value);
|
|
129
|
+
this.validatorsChanged();
|
|
130
|
+
}
|
|
131
|
+
getInputElement() {
|
|
132
|
+
return Promise.resolve(this.inputEl);
|
|
133
|
+
}
|
|
134
|
+
dismissDropdown(role = 'manualDismiss') {
|
|
135
|
+
return this.popoverEl.dismiss(role);
|
|
136
|
+
}
|
|
137
|
+
markAsTouched() {
|
|
138
|
+
return new Promise(resolve => {
|
|
139
|
+
this.isTouched = true;
|
|
140
|
+
resolve();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
hasError() {
|
|
144
|
+
var _a;
|
|
145
|
+
return Promise.resolve(this.errors.length > 0 || (this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === '')));
|
|
146
|
+
}
|
|
147
|
+
reset() {
|
|
148
|
+
return this.formResetCallback();
|
|
149
|
+
}
|
|
150
|
+
setValidity() {
|
|
151
|
+
var _a;
|
|
152
|
+
const requiredError = this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === '');
|
|
153
|
+
const hasError = this.errors.length > 0 || requiredError;
|
|
154
|
+
if (hasError) {
|
|
155
|
+
if (requiredError) {
|
|
156
|
+
this.internals.setValidity({ valueMissing: true }, `${this.label || 'This field'} is required`, this.inputEl);
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
this.internals.setValidity({ customError: true }, this.errors[0], this.inputEl);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
this.internals.setValidity({});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
render() {
|
|
167
|
+
var _a;
|
|
168
|
+
const requiredIcon = h("je-icon", { key: 'b812ffd92e7fc689f2af87b10ee92c45e28a92bc', style: { fontSize: '10px', color: 'var(--je-error-500)' }, icon: "asterisk" });
|
|
169
|
+
const label = h("label", { key: '05f40a7e7945974b35d005c4d06965e18c50702f', part: 'label', style: { display: 'flex' } }, this.label, " ", this.required && requiredIcon);
|
|
170
|
+
const invalid = this.errors.length > 0 || (this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === ''));
|
|
171
|
+
const containerClasses = {
|
|
172
|
+
disabled: this.disabled,
|
|
173
|
+
touched: this.isTouched
|
|
174
|
+
};
|
|
175
|
+
if (invalid && this.isTouched) {
|
|
176
|
+
this.internals.reportValidity();
|
|
177
|
+
}
|
|
178
|
+
return (h(Host, { key: '0d7ad78c21a47bca8b35635269bf8f0c911ba0dd' }, h("div", { key: '5ea27cbabac48f622d72bd571655a5ec967acf4b', ref: el => this.containerEl = el, part: 'outer-container', onClick: this.handleContainerClick, class: containerClasses }, h("div", { key: 'd99e8aa93a05c65b7c7f4727027917e1e9056ee3', part: 'start-container' }, h("slot", { key: '2e59dda2daafcfcee06a463faf2684705eea0642', name: 'start' }), this.label && label), h("input", { key: '27a77375cecb8c9669619c964dfb0422d5650adf', part: "native-input", ref: el => this.inputEl = el, onInputCapture: this.formatInput, onInput: this.handleInput, disabled: this.disabled, autoCapitalize: this.autoCapitalize, autoComplete: this.autoComplete, autoCorrect: this.autoCorrect, autoFocus: this.autoFocus, inputMode: this.inputMode, min: this.min, max: this.max, minLength: this.minLength, maxLength: this.maxLength, multiple: this.multiple, pattern: this.pattern, readOnly: this.readOnly || this.noTyping, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: this.value, placeholder: this.placeholder }), h("div", { key: '3fcc3d84a01fc26fd11d7db45beee79ae5656af1', part: 'end-container' }, h("slot", { key: '2bf03124a793ec9ceb0cad951ac47693315acceb', name: 'end' }), !this.showPassword && this.type == 'password' && h("je-icon", { key: '3b4096d3cb432fd9614e90d43cf3367b365ce679', icon: "visibility", fill: true, onClick: this.togglePassword }), this.showPassword && this.type == 'text' && h("je-icon", { key: 'a4c1ec8f4e7ffdb64e906681389096b3da320485', icon: "visibility_off", fill: true, onClick: this.togglePassword }))), this.helperText && h("small", { key: '234252ad2c8c2b18b1c59d18c8bb451f97fcf269', class: "helper" }, this.helperText), this.dropdown && h("je-popover", { key: '132347f2bb1e31eb990e2f26381a5e2f111a4eaf', ref: el => this.popoverEl = el, exportparts: 'content', dismissOnClick: this.dismissOnClick, onDidDismiss: this.handleDismiss }, h("slot", { key: '03bf3efeddcfc701b680a5cb1fc473e80a44196e', name: 'dropdown' }))));
|
|
179
|
+
}
|
|
180
|
+
static get is() { return "je-input"; }
|
|
181
|
+
static get encapsulation() { return "shadow"; }
|
|
182
|
+
static get formAssociated() { return true; }
|
|
183
|
+
static get originalStyleUrls() {
|
|
184
|
+
return {
|
|
185
|
+
"$": ["je-input.scss"]
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
static get styleUrls() {
|
|
189
|
+
return {
|
|
190
|
+
"$": ["je-input.css"]
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
static get properties() {
|
|
194
|
+
return {
|
|
195
|
+
"label": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "Text above the control"
|
|
208
|
+
},
|
|
209
|
+
"attribute": "label",
|
|
210
|
+
"reflect": false,
|
|
211
|
+
"defaultValue": "''"
|
|
212
|
+
},
|
|
213
|
+
"disabled": {
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"mutable": false,
|
|
216
|
+
"complexType": {
|
|
217
|
+
"original": "boolean",
|
|
218
|
+
"resolved": "boolean",
|
|
219
|
+
"references": {}
|
|
220
|
+
},
|
|
221
|
+
"required": false,
|
|
222
|
+
"optional": false,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "Renders input as disabled and prevents changes"
|
|
226
|
+
},
|
|
227
|
+
"attribute": "disabled",
|
|
228
|
+
"reflect": false,
|
|
229
|
+
"defaultValue": "false"
|
|
230
|
+
},
|
|
231
|
+
"autoCapitalize": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": false,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "string",
|
|
236
|
+
"resolved": "string",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Passed to native input"
|
|
244
|
+
},
|
|
245
|
+
"attribute": "auto-capitalize",
|
|
246
|
+
"reflect": false,
|
|
247
|
+
"defaultValue": "'off'"
|
|
248
|
+
},
|
|
249
|
+
"autoComplete": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"mutable": false,
|
|
252
|
+
"complexType": {
|
|
253
|
+
"original": "string",
|
|
254
|
+
"resolved": "string",
|
|
255
|
+
"references": {}
|
|
256
|
+
},
|
|
257
|
+
"required": false,
|
|
258
|
+
"optional": false,
|
|
259
|
+
"docs": {
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "Passed to native input"
|
|
262
|
+
},
|
|
263
|
+
"attribute": "auto-complete",
|
|
264
|
+
"reflect": false,
|
|
265
|
+
"defaultValue": "'off'"
|
|
266
|
+
},
|
|
267
|
+
"autoCorrect": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "'off' | 'on'",
|
|
272
|
+
"resolved": "\"off\" | \"on\"",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": "Passed to native input"
|
|
280
|
+
},
|
|
281
|
+
"attribute": "auto-correct",
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"defaultValue": "'off'"
|
|
284
|
+
},
|
|
285
|
+
"autoFocus": {
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"mutable": false,
|
|
288
|
+
"complexType": {
|
|
289
|
+
"original": "boolean",
|
|
290
|
+
"resolved": "boolean",
|
|
291
|
+
"references": {}
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"optional": true,
|
|
295
|
+
"docs": {
|
|
296
|
+
"tags": [],
|
|
297
|
+
"text": "Passed to native input"
|
|
298
|
+
},
|
|
299
|
+
"attribute": "auto-focus",
|
|
300
|
+
"reflect": false
|
|
301
|
+
},
|
|
302
|
+
"inputMode": {
|
|
303
|
+
"type": "string",
|
|
304
|
+
"mutable": false,
|
|
305
|
+
"complexType": {
|
|
306
|
+
"original": "string",
|
|
307
|
+
"resolved": "string",
|
|
308
|
+
"references": {}
|
|
309
|
+
},
|
|
310
|
+
"required": false,
|
|
311
|
+
"optional": false,
|
|
312
|
+
"docs": {
|
|
313
|
+
"tags": [],
|
|
314
|
+
"text": "Passed to native input"
|
|
315
|
+
},
|
|
316
|
+
"attribute": "input-mode",
|
|
317
|
+
"reflect": false
|
|
318
|
+
},
|
|
319
|
+
"min": {
|
|
320
|
+
"type": "any",
|
|
321
|
+
"mutable": false,
|
|
322
|
+
"complexType": {
|
|
323
|
+
"original": "number | string",
|
|
324
|
+
"resolved": "number | string",
|
|
325
|
+
"references": {}
|
|
326
|
+
},
|
|
327
|
+
"required": false,
|
|
328
|
+
"optional": true,
|
|
329
|
+
"docs": {
|
|
330
|
+
"tags": [],
|
|
331
|
+
"text": "Passed to native input"
|
|
332
|
+
},
|
|
333
|
+
"attribute": "min",
|
|
334
|
+
"reflect": false
|
|
335
|
+
},
|
|
336
|
+
"max": {
|
|
337
|
+
"type": "any",
|
|
338
|
+
"mutable": false,
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "number | string",
|
|
341
|
+
"resolved": "number | string",
|
|
342
|
+
"references": {}
|
|
343
|
+
},
|
|
344
|
+
"required": false,
|
|
345
|
+
"optional": true,
|
|
346
|
+
"docs": {
|
|
347
|
+
"tags": [],
|
|
348
|
+
"text": "Passed to native input"
|
|
349
|
+
},
|
|
350
|
+
"attribute": "max",
|
|
351
|
+
"reflect": false
|
|
352
|
+
},
|
|
353
|
+
"minLength": {
|
|
354
|
+
"type": "number",
|
|
355
|
+
"mutable": false,
|
|
356
|
+
"complexType": {
|
|
357
|
+
"original": "number",
|
|
358
|
+
"resolved": "number",
|
|
359
|
+
"references": {}
|
|
360
|
+
},
|
|
361
|
+
"required": false,
|
|
362
|
+
"optional": true,
|
|
363
|
+
"docs": {
|
|
364
|
+
"tags": [],
|
|
365
|
+
"text": "Passed to native input"
|
|
366
|
+
},
|
|
367
|
+
"attribute": "min-length",
|
|
368
|
+
"reflect": false
|
|
369
|
+
},
|
|
370
|
+
"maxLength": {
|
|
371
|
+
"type": "number",
|
|
372
|
+
"mutable": false,
|
|
373
|
+
"complexType": {
|
|
374
|
+
"original": "number",
|
|
375
|
+
"resolved": "number",
|
|
376
|
+
"references": {}
|
|
377
|
+
},
|
|
378
|
+
"required": false,
|
|
379
|
+
"optional": true,
|
|
380
|
+
"docs": {
|
|
381
|
+
"tags": [],
|
|
382
|
+
"text": "Passed to native input"
|
|
383
|
+
},
|
|
384
|
+
"attribute": "max-length",
|
|
385
|
+
"reflect": false
|
|
386
|
+
},
|
|
387
|
+
"multiple": {
|
|
388
|
+
"type": "boolean",
|
|
389
|
+
"mutable": false,
|
|
390
|
+
"complexType": {
|
|
391
|
+
"original": "boolean",
|
|
392
|
+
"resolved": "boolean",
|
|
393
|
+
"references": {}
|
|
394
|
+
},
|
|
395
|
+
"required": false,
|
|
396
|
+
"optional": false,
|
|
397
|
+
"docs": {
|
|
398
|
+
"tags": [],
|
|
399
|
+
"text": "Passed to native input"
|
|
400
|
+
},
|
|
401
|
+
"attribute": "multiple",
|
|
402
|
+
"reflect": false,
|
|
403
|
+
"defaultValue": "false"
|
|
404
|
+
},
|
|
405
|
+
"pattern": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"mutable": false,
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "string",
|
|
410
|
+
"resolved": "string",
|
|
411
|
+
"references": {}
|
|
412
|
+
},
|
|
413
|
+
"required": false,
|
|
414
|
+
"optional": true,
|
|
415
|
+
"docs": {
|
|
416
|
+
"tags": [],
|
|
417
|
+
"text": "Passed to native input"
|
|
418
|
+
},
|
|
419
|
+
"attribute": "pattern",
|
|
420
|
+
"reflect": false
|
|
421
|
+
},
|
|
422
|
+
"readOnly": {
|
|
423
|
+
"type": "boolean",
|
|
424
|
+
"mutable": false,
|
|
425
|
+
"complexType": {
|
|
426
|
+
"original": "boolean",
|
|
427
|
+
"resolved": "boolean",
|
|
428
|
+
"references": {}
|
|
429
|
+
},
|
|
430
|
+
"required": false,
|
|
431
|
+
"optional": false,
|
|
432
|
+
"docs": {
|
|
433
|
+
"tags": [],
|
|
434
|
+
"text": "Renders input as read only and prevents changes"
|
|
435
|
+
},
|
|
436
|
+
"attribute": "read-only",
|
|
437
|
+
"reflect": false,
|
|
438
|
+
"defaultValue": "false"
|
|
439
|
+
},
|
|
440
|
+
"required": {
|
|
441
|
+
"type": "boolean",
|
|
442
|
+
"mutable": false,
|
|
443
|
+
"complexType": {
|
|
444
|
+
"original": "boolean",
|
|
445
|
+
"resolved": "boolean",
|
|
446
|
+
"references": {}
|
|
447
|
+
},
|
|
448
|
+
"required": false,
|
|
449
|
+
"optional": false,
|
|
450
|
+
"docs": {
|
|
451
|
+
"tags": [],
|
|
452
|
+
"text": "Marks as required in form and adds asterisk to the end of the label"
|
|
453
|
+
},
|
|
454
|
+
"attribute": "required",
|
|
455
|
+
"reflect": false,
|
|
456
|
+
"defaultValue": "false"
|
|
457
|
+
},
|
|
458
|
+
"spellcheck": {
|
|
459
|
+
"type": "boolean",
|
|
460
|
+
"mutable": false,
|
|
461
|
+
"complexType": {
|
|
462
|
+
"original": "boolean",
|
|
463
|
+
"resolved": "boolean",
|
|
464
|
+
"references": {}
|
|
465
|
+
},
|
|
466
|
+
"required": false,
|
|
467
|
+
"optional": false,
|
|
468
|
+
"docs": {
|
|
469
|
+
"tags": [],
|
|
470
|
+
"text": "Passed to native input"
|
|
471
|
+
},
|
|
472
|
+
"attribute": "spellcheck",
|
|
473
|
+
"reflect": false,
|
|
474
|
+
"defaultValue": "false"
|
|
475
|
+
},
|
|
476
|
+
"step": {
|
|
477
|
+
"type": "string",
|
|
478
|
+
"mutable": false,
|
|
479
|
+
"complexType": {
|
|
480
|
+
"original": "string",
|
|
481
|
+
"resolved": "string",
|
|
482
|
+
"references": {}
|
|
483
|
+
},
|
|
484
|
+
"required": false,
|
|
485
|
+
"optional": true,
|
|
486
|
+
"docs": {
|
|
487
|
+
"tags": [],
|
|
488
|
+
"text": "Passed to native input"
|
|
489
|
+
},
|
|
490
|
+
"attribute": "step",
|
|
491
|
+
"reflect": false
|
|
492
|
+
},
|
|
493
|
+
"type": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"mutable": true,
|
|
496
|
+
"complexType": {
|
|
497
|
+
"original": "string",
|
|
498
|
+
"resolved": "string",
|
|
499
|
+
"references": {}
|
|
500
|
+
},
|
|
501
|
+
"required": false,
|
|
502
|
+
"optional": false,
|
|
503
|
+
"docs": {
|
|
504
|
+
"tags": [],
|
|
505
|
+
"text": "Passed to native input"
|
|
506
|
+
},
|
|
507
|
+
"attribute": "type",
|
|
508
|
+
"reflect": false,
|
|
509
|
+
"defaultValue": "'text'"
|
|
510
|
+
},
|
|
511
|
+
"value": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"mutable": true,
|
|
514
|
+
"complexType": {
|
|
515
|
+
"original": "string",
|
|
516
|
+
"resolved": "string",
|
|
517
|
+
"references": {}
|
|
518
|
+
},
|
|
519
|
+
"required": false,
|
|
520
|
+
"optional": false,
|
|
521
|
+
"docs": {
|
|
522
|
+
"tags": [],
|
|
523
|
+
"text": "Current value of the input"
|
|
524
|
+
},
|
|
525
|
+
"attribute": "value",
|
|
526
|
+
"reflect": false,
|
|
527
|
+
"defaultValue": "''"
|
|
528
|
+
},
|
|
529
|
+
"placeholder": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"mutable": false,
|
|
532
|
+
"complexType": {
|
|
533
|
+
"original": "string",
|
|
534
|
+
"resolved": "string",
|
|
535
|
+
"references": {}
|
|
536
|
+
},
|
|
537
|
+
"required": false,
|
|
538
|
+
"optional": false,
|
|
539
|
+
"docs": {
|
|
540
|
+
"tags": [],
|
|
541
|
+
"text": "Input placeholder text"
|
|
542
|
+
},
|
|
543
|
+
"attribute": "placeholder",
|
|
544
|
+
"reflect": false,
|
|
545
|
+
"defaultValue": "''"
|
|
546
|
+
},
|
|
547
|
+
"debounce": {
|
|
548
|
+
"type": "number",
|
|
549
|
+
"mutable": false,
|
|
550
|
+
"complexType": {
|
|
551
|
+
"original": "number",
|
|
552
|
+
"resolved": "number",
|
|
553
|
+
"references": {}
|
|
554
|
+
},
|
|
555
|
+
"required": false,
|
|
556
|
+
"optional": false,
|
|
557
|
+
"docs": {
|
|
558
|
+
"tags": [],
|
|
559
|
+
"text": "Optional debounce of the didInput event"
|
|
560
|
+
},
|
|
561
|
+
"attribute": "debounce",
|
|
562
|
+
"reflect": false,
|
|
563
|
+
"defaultValue": "0"
|
|
564
|
+
},
|
|
565
|
+
"format": {
|
|
566
|
+
"type": "unknown",
|
|
567
|
+
"mutable": false,
|
|
568
|
+
"complexType": {
|
|
569
|
+
"original": "FormatterFn | AsyncFormatterFn",
|
|
570
|
+
"resolved": "((newValue: string, oldValue?: string, ev?: InputEvent) => Promise<string>) | ((newValue: string, oldValue?: string, ev?: InputEvent) => string)",
|
|
571
|
+
"references": {
|
|
572
|
+
"FormatterFn": {
|
|
573
|
+
"location": "local",
|
|
574
|
+
"path": "/Users/psg/src/jebamo/packages/core/src/components/je-input/je-input.tsx",
|
|
575
|
+
"id": "src/components/je-input/je-input.tsx::FormatterFn"
|
|
576
|
+
},
|
|
577
|
+
"AsyncFormatterFn": {
|
|
578
|
+
"location": "local",
|
|
579
|
+
"path": "/Users/psg/src/jebamo/packages/core/src/components/je-input/je-input.tsx",
|
|
580
|
+
"id": "src/components/je-input/je-input.tsx::AsyncFormatterFn"
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
"required": false,
|
|
585
|
+
"optional": true,
|
|
586
|
+
"docs": {
|
|
587
|
+
"tags": [],
|
|
588
|
+
"text": "Formatter function that gets applied as the user types"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"validators": {
|
|
592
|
+
"type": "unknown",
|
|
593
|
+
"mutable": false,
|
|
594
|
+
"complexType": {
|
|
595
|
+
"original": "(ValidationFn | AsyncValidationFn)[]",
|
|
596
|
+
"resolved": "(ValidationFn | AsyncValidationFn)[]",
|
|
597
|
+
"references": {
|
|
598
|
+
"ValidationFn": {
|
|
599
|
+
"location": "local",
|
|
600
|
+
"path": "/Users/psg/src/jebamo/packages/core/src/components/je-input/je-input.tsx",
|
|
601
|
+
"id": "src/components/je-input/je-input.tsx::ValidationFn"
|
|
602
|
+
},
|
|
603
|
+
"AsyncValidationFn": {
|
|
604
|
+
"location": "local",
|
|
605
|
+
"path": "/Users/psg/src/jebamo/packages/core/src/components/je-input/je-input.tsx",
|
|
606
|
+
"id": "src/components/je-input/je-input.tsx::AsyncValidationFn"
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"required": false,
|
|
611
|
+
"optional": true,
|
|
612
|
+
"docs": {
|
|
613
|
+
"tags": [],
|
|
614
|
+
"text": "Custom validator functions for form participation"
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
"noTyping": {
|
|
618
|
+
"type": "boolean",
|
|
619
|
+
"mutable": false,
|
|
620
|
+
"complexType": {
|
|
621
|
+
"original": "boolean",
|
|
622
|
+
"resolved": "boolean",
|
|
623
|
+
"references": {}
|
|
624
|
+
},
|
|
625
|
+
"required": false,
|
|
626
|
+
"optional": false,
|
|
627
|
+
"docs": {
|
|
628
|
+
"tags": [],
|
|
629
|
+
"text": "Will prevent changes, does not change the input's state in any way"
|
|
630
|
+
},
|
|
631
|
+
"attribute": "no-typing",
|
|
632
|
+
"reflect": false,
|
|
633
|
+
"defaultValue": "false"
|
|
634
|
+
},
|
|
635
|
+
"helperText": {
|
|
636
|
+
"type": "string",
|
|
637
|
+
"mutable": false,
|
|
638
|
+
"complexType": {
|
|
639
|
+
"original": "string",
|
|
640
|
+
"resolved": "string",
|
|
641
|
+
"references": {}
|
|
642
|
+
},
|
|
643
|
+
"required": false,
|
|
644
|
+
"optional": true,
|
|
645
|
+
"docs": {
|
|
646
|
+
"tags": [],
|
|
647
|
+
"text": "Helper text directly below the control"
|
|
648
|
+
},
|
|
649
|
+
"attribute": "helper-text",
|
|
650
|
+
"reflect": false
|
|
651
|
+
},
|
|
652
|
+
"dropdown": {
|
|
653
|
+
"type": "boolean",
|
|
654
|
+
"mutable": false,
|
|
655
|
+
"complexType": {
|
|
656
|
+
"original": "boolean",
|
|
657
|
+
"resolved": "boolean",
|
|
658
|
+
"references": {}
|
|
659
|
+
},
|
|
660
|
+
"required": false,
|
|
661
|
+
"optional": false,
|
|
662
|
+
"docs": {
|
|
663
|
+
"tags": [],
|
|
664
|
+
"text": "Whether or not to render a dropdown when input is focused"
|
|
665
|
+
},
|
|
666
|
+
"attribute": "dropdown",
|
|
667
|
+
"reflect": false,
|
|
668
|
+
"defaultValue": "false"
|
|
669
|
+
},
|
|
670
|
+
"expand": {
|
|
671
|
+
"type": "boolean",
|
|
672
|
+
"mutable": false,
|
|
673
|
+
"complexType": {
|
|
674
|
+
"original": "boolean",
|
|
675
|
+
"resolved": "boolean",
|
|
676
|
+
"references": {}
|
|
677
|
+
},
|
|
678
|
+
"required": false,
|
|
679
|
+
"optional": true,
|
|
680
|
+
"docs": {
|
|
681
|
+
"tags": [],
|
|
682
|
+
"text": "Whether or not the input should expand to the full width of it's container"
|
|
683
|
+
},
|
|
684
|
+
"attribute": "expand",
|
|
685
|
+
"reflect": true
|
|
686
|
+
},
|
|
687
|
+
"dismissOnClick": {
|
|
688
|
+
"type": "boolean",
|
|
689
|
+
"mutable": false,
|
|
690
|
+
"complexType": {
|
|
691
|
+
"original": "boolean",
|
|
692
|
+
"resolved": "boolean",
|
|
693
|
+
"references": {}
|
|
694
|
+
},
|
|
695
|
+
"required": false,
|
|
696
|
+
"optional": true,
|
|
697
|
+
"docs": {
|
|
698
|
+
"tags": [],
|
|
699
|
+
"text": "Whether or not the dropdown should dismiss itself on click"
|
|
700
|
+
},
|
|
701
|
+
"attribute": "dismiss-on-click",
|
|
702
|
+
"reflect": true
|
|
703
|
+
}
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
static get states() {
|
|
707
|
+
return {
|
|
708
|
+
"isTouched": {}
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
static get events() {
|
|
712
|
+
return [{
|
|
713
|
+
"method": "valueChange",
|
|
714
|
+
"name": "valueChange",
|
|
715
|
+
"bubbles": false,
|
|
716
|
+
"cancelable": true,
|
|
717
|
+
"composed": true,
|
|
718
|
+
"docs": {
|
|
719
|
+
"tags": [],
|
|
720
|
+
"text": "Emits as the user types"
|
|
721
|
+
},
|
|
722
|
+
"complexType": {
|
|
723
|
+
"original": "string",
|
|
724
|
+
"resolved": "string",
|
|
725
|
+
"references": {}
|
|
726
|
+
}
|
|
727
|
+
}];
|
|
728
|
+
}
|
|
729
|
+
static get methods() {
|
|
730
|
+
return {
|
|
731
|
+
"getInputElement": {
|
|
732
|
+
"complexType": {
|
|
733
|
+
"signature": "() => Promise<HTMLInputElement>",
|
|
734
|
+
"parameters": [],
|
|
735
|
+
"references": {
|
|
736
|
+
"Promise": {
|
|
737
|
+
"location": "global",
|
|
738
|
+
"id": "global::Promise"
|
|
739
|
+
},
|
|
740
|
+
"HTMLInputElement": {
|
|
741
|
+
"location": "global",
|
|
742
|
+
"id": "global::HTMLInputElement"
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
"return": "Promise<HTMLInputElement>"
|
|
746
|
+
},
|
|
747
|
+
"docs": {
|
|
748
|
+
"text": "",
|
|
749
|
+
"tags": []
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
"dismissDropdown": {
|
|
753
|
+
"complexType": {
|
|
754
|
+
"signature": "(role?: string) => Promise<void>",
|
|
755
|
+
"parameters": [{
|
|
756
|
+
"name": "role",
|
|
757
|
+
"type": "string",
|
|
758
|
+
"docs": ""
|
|
759
|
+
}],
|
|
760
|
+
"references": {
|
|
761
|
+
"Promise": {
|
|
762
|
+
"location": "global",
|
|
763
|
+
"id": "global::Promise"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"return": "Promise<void>"
|
|
767
|
+
},
|
|
768
|
+
"docs": {
|
|
769
|
+
"text": "",
|
|
770
|
+
"tags": []
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
"markAsTouched": {
|
|
774
|
+
"complexType": {
|
|
775
|
+
"signature": "() => Promise<void>",
|
|
776
|
+
"parameters": [],
|
|
777
|
+
"references": {
|
|
778
|
+
"Promise": {
|
|
779
|
+
"location": "global",
|
|
780
|
+
"id": "global::Promise"
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
"return": "Promise<void>"
|
|
784
|
+
},
|
|
785
|
+
"docs": {
|
|
786
|
+
"text": "",
|
|
787
|
+
"tags": []
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"hasError": {
|
|
791
|
+
"complexType": {
|
|
792
|
+
"signature": "() => Promise<boolean>",
|
|
793
|
+
"parameters": [],
|
|
794
|
+
"references": {
|
|
795
|
+
"Promise": {
|
|
796
|
+
"location": "global",
|
|
797
|
+
"id": "global::Promise"
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
"return": "Promise<boolean>"
|
|
801
|
+
},
|
|
802
|
+
"docs": {
|
|
803
|
+
"text": "",
|
|
804
|
+
"tags": []
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"reset": {
|
|
808
|
+
"complexType": {
|
|
809
|
+
"signature": "() => Promise<void>",
|
|
810
|
+
"parameters": [],
|
|
811
|
+
"references": {
|
|
812
|
+
"Promise": {
|
|
813
|
+
"location": "global",
|
|
814
|
+
"id": "global::Promise"
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
"return": "Promise<void>"
|
|
818
|
+
},
|
|
819
|
+
"docs": {
|
|
820
|
+
"text": "",
|
|
821
|
+
"tags": []
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
};
|
|
825
|
+
}
|
|
826
|
+
static get elementRef() { return "hostEl"; }
|
|
827
|
+
static get watchers() {
|
|
828
|
+
return [{
|
|
829
|
+
"propName": "validators",
|
|
830
|
+
"methodName": "validatorsChanged"
|
|
831
|
+
}, {
|
|
832
|
+
"propName": "required",
|
|
833
|
+
"methodName": "requiredChanged"
|
|
834
|
+
}, {
|
|
835
|
+
"propName": "value",
|
|
836
|
+
"methodName": "valueChanged"
|
|
837
|
+
}];
|
|
838
|
+
}
|
|
839
|
+
static get listeners() {
|
|
840
|
+
return [{
|
|
841
|
+
"name": "themeChange",
|
|
842
|
+
"method": "handleThemeChange",
|
|
843
|
+
"target": "body",
|
|
844
|
+
"capture": false,
|
|
845
|
+
"passive": false
|
|
846
|
+
}, {
|
|
847
|
+
"name": "focus",
|
|
848
|
+
"method": "handleFocus",
|
|
849
|
+
"target": undefined,
|
|
850
|
+
"capture": false,
|
|
851
|
+
"passive": false
|
|
852
|
+
}, {
|
|
853
|
+
"name": "blur",
|
|
854
|
+
"method": "handleBlur",
|
|
855
|
+
"target": undefined,
|
|
856
|
+
"capture": false,
|
|
857
|
+
"passive": false
|
|
858
|
+
}];
|
|
859
|
+
}
|
|
860
|
+
static get attachInternalsMemberName() { return "internals"; }
|
|
861
|
+
}
|
|
862
|
+
//# sourceMappingURL=je-input.js.map
|