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,265 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-41492a72.js';
|
|
2
|
+
import { d as defineCustomElement$1, a as debounceEvent } from './p-5dee004d.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-4b8ae8ef.js';
|
|
4
|
+
|
|
5
|
+
const jeInputCss = ":host{display:block;width:fit-content;--je-height:42px;--je-border-color:transparent;--je-input-background:var(--je-medium-100);--je-input-color:var(--je-medium-900)}:host([darkmode]){--je-input-background:var(--je-medium-850);--je-input-color:var(--je-medium-50)}:host([expand]){width:100%}:host(:invalid) div[part=outer-container].touched{--je-border-color:var(--je-error-500, red)}div[part=outer-container]{display:flex;align-items:center;justify-content:center;gap:var(--je-spacing-2xs, 8px);height:var(--je-height);background-color:var(--je-input-background, field);color:var(--je-input-color, fieldtext);padding-inline:var(--je-spacing-xs, 10px);border-radius:var(--je-border-radius, 2px);overflow:hidden;border:solid 1px var(--je-border-color);transition:border 125ms ease-in-out}div[part=outer-container].focus{--je-border-color:var(--je-primary-500, accentcolor)}div[part=outer-container].disabled{opacity:0.6;cursor:default}div[part=start-container],div[part=end-container]{display:flex}label{font-weight:var(--je-font-semi-bold)}input{font-family:var(--je-font-family, inherit);font-size:var(--je-font-size, 1rem);background:transparent;color:inherit;flex:1;border:none;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;width:inherit}input::placeholder{font-family:var(--je-font-family, inherit);font-size:var(--je-font-size, 1rem);color:var(--je-medium-600)}input:focus{outline:0}small.helper{display:block;margin-top:var(--je-spacing-2xs, 8px);padding-left:var(--je-spacing-xs, 10px);color:var(--je-medium-600)}input[type=password]::-ms-reveal,input[type=password]::-ms-clear{display:none !important}je-popover::part(content){width:var(--je-content-width, auto);box-sizing:border-box;padding:0px}";
|
|
6
|
+
const JeInputStyle0 = jeInputCss;
|
|
7
|
+
|
|
8
|
+
const JeInput = /*@__PURE__*/ proxyCustomElement(class JeInput extends H {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.valueChange = createEvent(this, "valueChange", 3);
|
|
14
|
+
this.internals = this.attachInternals();
|
|
15
|
+
this.dropdownActive = false;
|
|
16
|
+
this.showPassword = false;
|
|
17
|
+
this.errors = [];
|
|
18
|
+
this.originalValue = '';
|
|
19
|
+
this.togglePassword = () => {
|
|
20
|
+
this.showPassword = !this.showPassword;
|
|
21
|
+
this.type = this.type == 'text' ? 'password' : 'text';
|
|
22
|
+
};
|
|
23
|
+
this.formatInput = async (ev) => {
|
|
24
|
+
const input = ev.target;
|
|
25
|
+
if (input && this.format) {
|
|
26
|
+
input.value = await this.format(input.value, this.value, ev);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
this.handleInput = (ev) => {
|
|
30
|
+
const input = ev.target;
|
|
31
|
+
if (input) {
|
|
32
|
+
this.value = input.value;
|
|
33
|
+
this.valueChange.emit(this.value);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
this.handleContainerClick = async () => {
|
|
37
|
+
if (this.dropdown) {
|
|
38
|
+
this.dropdownActive = true;
|
|
39
|
+
this.hostEl.style.setProperty('--je-content-width', `${this.hostEl.clientWidth}px`);
|
|
40
|
+
await this.popoverEl.present('element', this.hostEl);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
this.handleDismiss = () => {
|
|
44
|
+
this.dropdownActive = false;
|
|
45
|
+
this.containerEl.classList.remove('focus');
|
|
46
|
+
};
|
|
47
|
+
this.isTouched = false;
|
|
48
|
+
this.label = '';
|
|
49
|
+
this.disabled = false;
|
|
50
|
+
this.autoCapitalize = 'off';
|
|
51
|
+
this.autoComplete = 'off';
|
|
52
|
+
this.autoCorrect = 'off';
|
|
53
|
+
this.autoFocus = undefined;
|
|
54
|
+
this.inputMode = undefined;
|
|
55
|
+
this.min = undefined;
|
|
56
|
+
this.max = undefined;
|
|
57
|
+
this.minLength = undefined;
|
|
58
|
+
this.maxLength = undefined;
|
|
59
|
+
this.multiple = false;
|
|
60
|
+
this.pattern = undefined;
|
|
61
|
+
this.readOnly = false;
|
|
62
|
+
this.required = false;
|
|
63
|
+
this.spellcheck = false;
|
|
64
|
+
this.step = undefined;
|
|
65
|
+
this.type = 'text';
|
|
66
|
+
this.value = '';
|
|
67
|
+
this.placeholder = '';
|
|
68
|
+
this.debounce = 0;
|
|
69
|
+
this.format = undefined;
|
|
70
|
+
this.validators = undefined;
|
|
71
|
+
this.noTyping = false;
|
|
72
|
+
this.helperText = undefined;
|
|
73
|
+
this.dropdown = false;
|
|
74
|
+
this.expand = undefined;
|
|
75
|
+
this.dismissOnClick = undefined;
|
|
76
|
+
}
|
|
77
|
+
componentWillLoad() {
|
|
78
|
+
if (this.label && !this.hostEl.getAttribute('name')) {
|
|
79
|
+
this.hostEl.setAttribute('name', this.label.replace(' ', '-').toLowerCase());
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
connectedCallback() {
|
|
83
|
+
this.internals.setFormValue(this.value);
|
|
84
|
+
}
|
|
85
|
+
async componentDidLoad() {
|
|
86
|
+
this.originalValue = this.value;
|
|
87
|
+
const { valueChange, debounce } = this;
|
|
88
|
+
if (debounce) {
|
|
89
|
+
this.valueChange = debounceEvent(valueChange, debounce);
|
|
90
|
+
}
|
|
91
|
+
if (this.format) {
|
|
92
|
+
this.value = await this.format(this.value);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
this.validatorsChanged();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async formResetCallback() {
|
|
99
|
+
this.isTouched = false;
|
|
100
|
+
if (this.value !== this.originalValue) {
|
|
101
|
+
if (this.format) {
|
|
102
|
+
this.value = await this.format(this.originalValue);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
this.value = this.originalValue;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
handleThemeChange(e) {
|
|
110
|
+
this.hostEl.toggleAttribute('darkmode', e.detail == 'dark');
|
|
111
|
+
}
|
|
112
|
+
handleFocus() {
|
|
113
|
+
this.containerEl.classList.add('focus');
|
|
114
|
+
}
|
|
115
|
+
handleBlur() {
|
|
116
|
+
this.isTouched = true;
|
|
117
|
+
if (!this.dropdownActive) {
|
|
118
|
+
this.containerEl.classList.remove('focus');
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
async validatorsChanged() {
|
|
122
|
+
this.errors = [];
|
|
123
|
+
if (this.validators) {
|
|
124
|
+
for (const validator of this.validators) {
|
|
125
|
+
const res = await validator(this.value);
|
|
126
|
+
this.errors = [...this.errors, ...res];
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
this.setValidity();
|
|
130
|
+
}
|
|
131
|
+
requiredChanged() {
|
|
132
|
+
this.setValidity();
|
|
133
|
+
}
|
|
134
|
+
async valueChanged() {
|
|
135
|
+
if (this.inputEl && this.inputEl.value !== this.value) {
|
|
136
|
+
this.inputEl.value = this.value;
|
|
137
|
+
}
|
|
138
|
+
this.internals.setFormValue(this.value);
|
|
139
|
+
this.validatorsChanged();
|
|
140
|
+
}
|
|
141
|
+
getInputElement() {
|
|
142
|
+
return Promise.resolve(this.inputEl);
|
|
143
|
+
}
|
|
144
|
+
dismissDropdown(role = 'manualDismiss') {
|
|
145
|
+
return this.popoverEl.dismiss(role);
|
|
146
|
+
}
|
|
147
|
+
markAsTouched() {
|
|
148
|
+
return new Promise(resolve => {
|
|
149
|
+
this.isTouched = true;
|
|
150
|
+
resolve();
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
hasError() {
|
|
154
|
+
var _a;
|
|
155
|
+
return Promise.resolve(this.errors.length > 0 || (this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === '')));
|
|
156
|
+
}
|
|
157
|
+
reset() {
|
|
158
|
+
return this.formResetCallback();
|
|
159
|
+
}
|
|
160
|
+
setValidity() {
|
|
161
|
+
var _a;
|
|
162
|
+
const requiredError = this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === '');
|
|
163
|
+
const hasError = this.errors.length > 0 || requiredError;
|
|
164
|
+
if (hasError) {
|
|
165
|
+
if (requiredError) {
|
|
166
|
+
this.internals.setValidity({ valueMissing: true }, `${this.label || 'This field'} is required`, this.inputEl);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.internals.setValidity({ customError: true }, this.errors[0], this.inputEl);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
this.internals.setValidity({});
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
render() {
|
|
177
|
+
var _a;
|
|
178
|
+
const requiredIcon = h("je-icon", { key: 'b812ffd92e7fc689f2af87b10ee92c45e28a92bc', style: { fontSize: '10px', color: 'var(--je-error-500)' }, icon: "asterisk" });
|
|
179
|
+
const label = h("label", { key: '05f40a7e7945974b35d005c4d06965e18c50702f', part: 'label', style: { display: 'flex' } }, this.label, " ", this.required && requiredIcon);
|
|
180
|
+
const invalid = this.errors.length > 0 || (this.required && (((_a = this.value) !== null && _a !== void 0 ? _a : '') === ''));
|
|
181
|
+
const containerClasses = {
|
|
182
|
+
disabled: this.disabled,
|
|
183
|
+
touched: this.isTouched
|
|
184
|
+
};
|
|
185
|
+
if (invalid && this.isTouched) {
|
|
186
|
+
this.internals.reportValidity();
|
|
187
|
+
}
|
|
188
|
+
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' }))));
|
|
189
|
+
}
|
|
190
|
+
static get formAssociated() { return true; }
|
|
191
|
+
get hostEl() { return this; }
|
|
192
|
+
static get watchers() { return {
|
|
193
|
+
"validators": ["validatorsChanged"],
|
|
194
|
+
"required": ["requiredChanged"],
|
|
195
|
+
"value": ["valueChanged"]
|
|
196
|
+
}; }
|
|
197
|
+
static get style() { return JeInputStyle0; }
|
|
198
|
+
}, [65, "je-input", {
|
|
199
|
+
"label": [1],
|
|
200
|
+
"disabled": [4],
|
|
201
|
+
"autoCapitalize": [1, "auto-capitalize"],
|
|
202
|
+
"autoComplete": [1, "auto-complete"],
|
|
203
|
+
"autoCorrect": [1, "auto-correct"],
|
|
204
|
+
"autoFocus": [4, "auto-focus"],
|
|
205
|
+
"inputMode": [1, "input-mode"],
|
|
206
|
+
"min": [8],
|
|
207
|
+
"max": [8],
|
|
208
|
+
"minLength": [2, "min-length"],
|
|
209
|
+
"maxLength": [2, "max-length"],
|
|
210
|
+
"multiple": [4],
|
|
211
|
+
"pattern": [1],
|
|
212
|
+
"readOnly": [4, "read-only"],
|
|
213
|
+
"required": [4],
|
|
214
|
+
"spellcheck": [4],
|
|
215
|
+
"step": [1],
|
|
216
|
+
"type": [1025],
|
|
217
|
+
"value": [1025],
|
|
218
|
+
"placeholder": [1],
|
|
219
|
+
"debounce": [2],
|
|
220
|
+
"format": [16],
|
|
221
|
+
"validators": [16],
|
|
222
|
+
"noTyping": [4, "no-typing"],
|
|
223
|
+
"helperText": [1, "helper-text"],
|
|
224
|
+
"dropdown": [4],
|
|
225
|
+
"expand": [516],
|
|
226
|
+
"dismissOnClick": [516, "dismiss-on-click"],
|
|
227
|
+
"isTouched": [32],
|
|
228
|
+
"getInputElement": [64],
|
|
229
|
+
"dismissDropdown": [64],
|
|
230
|
+
"markAsTouched": [64],
|
|
231
|
+
"hasError": [64],
|
|
232
|
+
"reset": [64]
|
|
233
|
+
}, [[16, "themeChange", "handleThemeChange"], [0, "focus", "handleFocus"], [0, "blur", "handleBlur"]], {
|
|
234
|
+
"validators": ["validatorsChanged"],
|
|
235
|
+
"required": ["requiredChanged"],
|
|
236
|
+
"value": ["valueChanged"]
|
|
237
|
+
}]);
|
|
238
|
+
function defineCustomElement() {
|
|
239
|
+
if (typeof customElements === "undefined") {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
const components = ["je-input", "je-icon", "je-popover"];
|
|
243
|
+
components.forEach(tagName => { switch (tagName) {
|
|
244
|
+
case "je-input":
|
|
245
|
+
if (!customElements.get(tagName)) {
|
|
246
|
+
customElements.define(tagName, JeInput);
|
|
247
|
+
}
|
|
248
|
+
break;
|
|
249
|
+
case "je-icon":
|
|
250
|
+
if (!customElements.get(tagName)) {
|
|
251
|
+
defineCustomElement$2();
|
|
252
|
+
}
|
|
253
|
+
break;
|
|
254
|
+
case "je-popover":
|
|
255
|
+
if (!customElements.get(tagName)) {
|
|
256
|
+
defineCustomElement$1();
|
|
257
|
+
}
|
|
258
|
+
break;
|
|
259
|
+
} });
|
|
260
|
+
}
|
|
261
|
+
defineCustomElement();
|
|
262
|
+
|
|
263
|
+
export { JeInput as J, defineCustomElement as d };
|
|
264
|
+
|
|
265
|
+
//# sourceMappingURL=p-2df369c4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-2df369c4.js","mappings":";;;;AAAA,MAAM,UAAU,GAAG,qvDAAqvD,CAAC;AACzwD,sBAAe,UAAU;;MCcZ,OAAO;;;;;;;QAIV,mBAAc,GAAG,KAAK,CAA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AAS,EAElE,IAAI,CAAC,QAAQ,IAAI,mEAAY,GAAG,EAAE,EAAE,IAAI,IAAI,CAAC,SAAS,GAAG,EAAE,EAAE,WAAW,EAAC,SAAS,EAAC,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE,YAAY,EAAE,IAAI,CAAC,aAAa,IACvJ,6DAAM,IAAI,EAAC,UAAU,GAAQ,CAClB,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/je-input/je-input.scss?tag=je-input&encapsulation=shadow","src/components/je-input/je-input.tsx"],"sourcesContent":[":host {\n display: block;\n width: fit-content;\n\n --je-height: 42px;\n --je-border-color: transparent;\n --je-input-background: var(--je-medium-100);\n --je-input-color: var(--je-medium-900);\n}\n\n:host([darkmode]) {\n --je-input-background: var(--je-medium-850);\n --je-input-color: var(--je-medium-50);\n}\n\n:host([expand]) {\n width: 100%;\n}\n\n:host(:invalid) div[part=outer-container].touched {\n --je-border-color: var(--je-error-500, red);\n}\n\ndiv[part='outer-container'] {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: var(--je-spacing-2xs, 8px);\n height: var(--je-height);\n background-color: var(--je-input-background, field);\n color: var(--je-input-color, fieldtext);\n padding-inline: var(--je-spacing-xs, 10px);\n border-radius: var(--je-border-radius, 2px);\n overflow: hidden;\n border: solid 1px var(--je-border-color);\n transition: border 125ms ease-in-out;\n &.focus {\n --je-border-color: var(--je-primary-500, accentcolor);\n }\n &.disabled {\n opacity: 0.6;\n cursor: default;\n }\n}\n\ndiv[part='start-container'],\ndiv[part='end-container'] {\n display: flex;\n}\n\nlabel {\n font-weight: var(--je-font-semi-bold);\n}\n\ninput {\n font-family: var(--je-font-family, inherit);\n font-size: var(--je-font-size, 1rem);\n background: transparent;\n color: inherit;\n flex: 1;\n border: none;\n padding-top: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n margin-top: 0;\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n width: inherit;\n &::placeholder {\n font-family: var(--je-font-family, inherit);\n font-size: var(--je-font-size, 1rem);\n color: var(--je-medium-600);\n }\n &:focus {\n outline: 0;\n }\n}\n\nsmall.helper {\n display: block;\n margin-top: var(--je-spacing-2xs, 8px);\n padding-left: var(--je-spacing-xs, 10px);\n color: var(--je-medium-600);\n}\n\ninput[type=\"password\"]::-ms-reveal,\ninput[type=\"password\"]::-ms-clear {\n display: none !important;\n}\n\nje-popover::part(content) {\n width: var(--je-content-width, auto);\n box-sizing: border-box;\n padding: 0px;\n}\n","import { Component, Host, Prop, h, Element, Event, AttachInternals, EventEmitter, Method, State, Watch, Listen } from '@stencil/core';\nimport { debounceEvent } from '../../utils/utils';\n\nexport type FormatterFn = (newValue: string, oldValue?: string, ev?: InputEvent) => string;\nexport type AsyncFormatterFn = (newValue: string, oldValue?: string, ev?: InputEvent) => Promise<string>;\n\nexport type ValidationFn = (value: string) => string[];\nexport type AsyncValidationFn = (value: string) => Promise<string[]>;\n\n@Component({\n tag: 'je-input',\n styleUrl: 'je-input.scss',\n shadow: true,\n formAssociated: true\n})\nexport class JeInput {\n @Element() hostEl!: HTMLJeInputElement;\n @AttachInternals() internals: ElementInternals;\n @State() isTouched = false;\n private dropdownActive = false;\n private containerEl!: HTMLDivElement;\n private popoverEl!: HTMLJePopoverElement;\n private inputEl!: HTMLInputElement;\n private showPassword = false;\n private errors: string[] = [];\n private originalValue = '';\n\n /**\n * Text above the control\n */\n @Prop() label = '';\n\n /**\n * Renders input as disabled and prevents changes\n */\n @Prop() disabled = false;\n\n /**\n * Passed to native input\n */\n @Prop() autoCapitalize = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoComplete = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoCorrect: 'off' | 'on' = 'off';\n\n /**\n * Passed to native input\n */\n @Prop() autoFocus?: boolean;\n\n /**\n * Passed to native input\n */\n @Prop() inputMode: string;\n\n /**\n * Passed to native input\n */\n @Prop() min?: number | string;\n\n /**\n * Passed to native input\n */\n @Prop() max?: number | string;\n\n /**\n * Passed to native input\n */\n @Prop() minLength?: number;\n\n /**\n * Passed to native input\n */\n @Prop() maxLength?: number;\n\n /**\n * Passed to native input\n */\n @Prop() multiple = false;\n\n /**\n * Passed to native input\n */\n @Prop() pattern?: string;\n\n /**\n * Renders input as read only and prevents changes\n */\n @Prop() readOnly = false;\n\n /**\n * Marks as required in form and adds asterisk to the end of the label\n */\n @Prop() required = false;\n\n /**\n * Passed to native input\n */\n @Prop() spellcheck = false;\n\n /**\n * Passed to native input\n */\n @Prop() step?: string;\n\n /**\n * Passed to native input\n */\n @Prop({ mutable: true }) type = 'text';\n\n /**\n * Current value of the input\n */\n @Prop({ mutable: true }) value = '';\n\n /**\n * Input placeholder text\n */\n @Prop() placeholder = '';\n\n /**\n * Optional debounce of the didInput event\n */\n @Prop() debounce = 0;\n\n /**\n * Formatter function that gets applied as the user types\n */\n @Prop() format?: FormatterFn | AsyncFormatterFn;\n\n /**\n * Custom validator functions for form participation\n */\n @Prop() validators?: (ValidationFn | AsyncValidationFn)[];\n\n /**\n * Will prevent changes, does not change the input's state in any way\n */\n @Prop() noTyping = false;\n\n /**\n * Helper text directly below the control\n */\n @Prop() helperText?: string;\n\n /**\n * Whether or not to render a dropdown when input is focused\n */\n @Prop() dropdown = false;\n\n /**\n * Whether or not the input should expand to the full width of it's container\n */\n @Prop({ reflect: true }) expand?: boolean;\n\n /**\n * Whether or not the dropdown should dismiss itself on click\n */\n @Prop({ reflect: true }) dismissOnClick?: boolean;\n\n /**\n * Emits as the user types\n */\n @Event({ bubbles: false }) valueChange: EventEmitter<string>;\n\n componentWillLoad() {\n if (this.label && !this.hostEl.getAttribute('name')) {\n this.hostEl.setAttribute('name', this.label.replace(' ', '-').toLowerCase());\n }\n }\n\n connectedCallback() {\n this.internals.setFormValue(this.value);\n }\n\n async componentDidLoad() {\n this.originalValue = this.value;\n const { valueChange, debounce } = this;\n if (debounce) {\n this.valueChange = debounceEvent(valueChange, debounce);\n }\n if (this.format) {\n this.value = await this.format(this.value);\n } else {\n this.validatorsChanged();\n }\n }\n\n async formResetCallback() {\n this.isTouched = false;\n if (this.value !== this.originalValue) {\n if (this.format) {\n this.value = await this.format(this.originalValue);\n } else {\n this.value = this.originalValue;\n }\n }\n }\n\n @Listen('themeChange', { target: 'body' })\n handleThemeChange(e: CustomEvent<'light' | 'dark'>) {\n this.hostEl.toggleAttribute('darkmode', e.detail == 'dark')\n }\n\n @Listen('focus')\n handleFocus() {\n this.containerEl.classList.add('focus');\n }\n\n @Listen('blur')\n handleBlur() {\n this.isTouched = true;\n if (!this.dropdownActive) {\n this.containerEl.classList.remove('focus');\n }\n }\n\n @Watch('validators')\n async validatorsChanged() {\n this.errors = [];\n if (this.validators) {\n for (const validator of this.validators) {\n const res = await validator(this.value);\n this.errors = [...this.errors, ...res];\n }\n }\n this.setValidity();\n }\n\n @Watch('required')\n requiredChanged() {\n this.setValidity();\n }\n\n @Watch('value')\n async valueChanged() {\n if (this.inputEl && this.inputEl.value !== this.value) {\n this.inputEl.value = this.value;\n }\n this.internals.setFormValue(this.value);\n this.validatorsChanged();\n }\n\n @Method()\n getInputElement() {\n return Promise.resolve(this.inputEl);\n }\n\n @Method()\n dismissDropdown(role = 'manualDismiss') {\n return this.popoverEl.dismiss(role);\n }\n\n @Method()\n markAsTouched() {\n return new Promise<void>(resolve => {\n this.isTouched = true;\n resolve();\n });\n }\n\n @Method()\n hasError() {\n return Promise.resolve(this.errors.length > 0 || (this.required && ((this.value ?? '') === '')));\n }\n\n @Method()\n reset() {\n return this.formResetCallback();\n }\n\n private togglePassword = () => {\n this.showPassword = !this.showPassword;\n this.type = this.type == 'text' ? 'password' : 'text';\n }\n\n private formatInput = async (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (input && this.format) {\n input.value = await this.format(input.value, this.value, ev);\n }\n }\n\n private handleInput = (ev: InputEvent) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value;\n this.valueChange.emit(this.value);\n }\n }\n\n private setValidity() {\n const requiredError = this.required && ((this.value ?? '') === '');\n const hasError = this.errors.length > 0 || requiredError;\n if (hasError) {\n if (requiredError) {\n this.internals.setValidity({ valueMissing: true }, `${this.label || 'This field'} is required`, this.inputEl);\n } else {\n this.internals.setValidity({ customError: true }, this.errors[0], this.inputEl);\n }\n } else {\n this.internals.setValidity({});\n }\n }\n\n private handleContainerClick = async () => {\n if (this.dropdown) {\n this.dropdownActive = true;\n this.hostEl.style.setProperty('--je-content-width', `${this.hostEl.clientWidth}px`);\n await this.popoverEl.present('element', this.hostEl);\n }\n }\n\n private handleDismiss = () => {\n this.dropdownActive = false;\n this.containerEl.classList.remove('focus');\n }\n\n render() {\n const requiredIcon = <je-icon style={{ fontSize: '10px', color: 'var(--je-error-500)' }} icon=\"asterisk\" />;\n const label = <label part='label' style={{ display: 'flex' }}>{this.label} {this.required && requiredIcon}</label>;\n const invalid = this.errors.length > 0 || (this.required && ((this.value ?? '') === ''));\n const containerClasses = {\n disabled: this.disabled,\n touched: this.isTouched\n };\n\n if (invalid && this.isTouched) {\n this.internals.reportValidity();\n }\n\n return (\n <Host>\n <div ref={el => this.containerEl = el} part='outer-container' onClick={this.handleContainerClick} class={containerClasses}>\n <div part='start-container'>\n <slot name='start'/>\n {this.label && label}\n </div>\n\n <input part=\"native-input\"\n ref={el => this.inputEl = el}\n onInputCapture={this.formatInput}\n onInput={this.handleInput}\n disabled={this.disabled}\n autoCapitalize={this.autoCapitalize}\n autoComplete={this.autoComplete}\n autoCorrect={this.autoCorrect}\n autoFocus={this.autoFocus}\n inputMode={this.inputMode}\n min={this.min}\n max={this.max}\n minLength={this.minLength}\n maxLength={this.maxLength}\n multiple={this.multiple}\n pattern={this.pattern}\n readOnly={this.readOnly || this.noTyping}\n required={this.required}\n spellcheck={this.spellcheck}\n step={this.step}\n type={this.type}\n value={this.value}\n placeholder={this.placeholder} />\n\n <div part='end-container'>\n <slot name='end'/>\n {!this.showPassword && this.type == 'password' && <je-icon icon=\"visibility\" fill onClick={this.togglePassword} />}\n {this.showPassword && this.type == 'text' && <je-icon icon=\"visibility_off\" fill onClick={this.togglePassword} />}\n </div>\n </div>\n\n {this.helperText && <small class=\"helper\">{this.helperText}</small>}\n\n {this.dropdown && <je-popover ref={el => this.popoverEl = el} exportparts='content' dismissOnClick={this.dismissOnClick} onDidDismiss={this.handleDismiss}>\n <slot name='dropdown'></slot>\n </je-popover>}\n </Host>\n );\n }\n}\n"],"version":3}
|