UNPKG

pip-webui

Version:

HTML5 UI for LOB applications

160 lines (108 loc) 8.89 kB
# <img src="https://github.com/pip-webui/pip-webui/raw/master/doc/Logo.png" alt="Pip.WebUI Logo" style="max-width:30%"> <br/> Basic controls ![](https://img.shields.io/badge/license-MIT-blue.svg) Pip.WebUI.Controls modules provides additional controls, that are "missing" in angular-material library. **Color picker** control allows to select a color from predefined pallette. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-color-picker.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-color-picker.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/color_picker) **Date** control allows to set a date using 3 comboboxes for day, month and year. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-date.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-date.png"/> </a> **Date range** control allows to pick a specific date range on daily, weekly, monthly or yearly time interval. This control can be helpful in various calendars and planning tools. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-date-range.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-date-range.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/date) **Time range** control visualizes specific time interval <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-time-range.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-time-range.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/time_range) **Time range** control allows to specify time interval rounded to days or half-hour chunks <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-time-range-edit.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-time-range-edit.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/time_range_edit) **Image slider** creates an interactive image carusel with smooth animations. This control is usually used on landing or guidance screens. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-slider.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-slider.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/image_slider) **Markdown** control visualizes hypertext formated as markdown and converted int HTML. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-markdown.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-markdown.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/markdown) **Popover** control provides nice looking popovers with achors. Usually that control is used for context guidance. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-popover.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-popover.png"/> </a> See online sample [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/popover) **Progress** control shows animated ring with a logo inside. It is used in page transitions and initial application loading. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-progress.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-progress.png"/> </a> See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/progress) **Refresh button** shows at the top of the screen when new data is available. By clicking on it, user triggers the update. It is used as a visual confirmation of he data arrival and helps to manager user expectations. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-btn-refresh.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-btn-refresh.png"/> </a> See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/refresh) **Tags** control visializes a list of read-only chips (tags) <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-tags.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-tags.png"/> </a> See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/tags) **Toast** services allows to show toast messages, formatted in different ways and presented in priority order. It ensures that one toast message will not hide another one, until timeout expires or users handles it. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-toast.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-toast.png"/> </a> See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/toasts) **Toggle buttons** control implement multiple radio buttons. Only one of them can be pressed at any time. On phones buttons are replaced with dropdown list. <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-toggle-btns.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-toggle-btns.png"/> </a> See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/toggle_buttons) **Standard dialogs** simplify developer task to show various messages. It includes: - Information message dialog - Confirmation message dialog - Error message dialog - Option selection dialog <a href="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-info-dialog.png" style="border: 3px ridge #c8d2df; display: inline-block"> <img src="https://github.com/pip-webui/pip-webui-controls/raw/master/doc/images/img-info-dialog.png"/> </a> Standard dialogs require only few lines of code from developers: ```javascript pipInformationDialog.show( { event: event, title: 'Good!', message: 'Stuff %s was really good', item: 'Loooooong naaaaaaaaaaaaaame', ok: 'Take It' }, function () { console.log('Taken'); } ); ``` See online samples [here...](http://webui.pipdevs.com/pip-webui-controls/index.html#/color_picker) ## Learn more about the module - [User's guide](https://github.com/pip-webui/pip-webui-controls/blob/master/doc/UsersGuide.md) - [Online samples](http://webui.pipdevs.com/pip-webui-controls/index.html) - [API reference](http://webui-api.pipdevs.com/pip-webui-controls/index.html) - [Developer's guide](https://github.com/pip-webui/pip-webui-controls/blob/master/doc/DevelopersGuide.md) - [Changelog](https://github.com/pip-webui/pip-webui-controls/blob/master/CHANGELOG.md) - [Pip.WebUI project website](http://www.pipwebui.org) - [Pip.WebUI project wiki](https://github.com/pip-webui/pip-webui/wiki) - [Pip.WebUI discussion forum](https://groups.google.com/forum/#!forum/pip-webui) - [Pip.WebUI team blog](https://pip-webui.blogspot.com/) ## <a name="dependencies"></a>Module dependencies * [pip-webui-lib](https://github.com/pip-webui/pip-webui-lib): angular, angular material and other 3rd party libraries * [pip-webui-css](https://github.com/pip-webui/pip-webui-css): CSS styles and web components * [pip-webui-core](https://github.com/pip-webui/pip-webui-core): localization and other core services ## <a name="license"></a>License This module is released under [MIT license](License) and totally free for commercial and non-commercial use.