Set of shared components you can use in your projects :
- Grid : Display & Edit tabular data
- Chips : display / remove tags in input fields
For more technical informations : documentation
-
In your Convertigo Studio click on
to import a project in the treeview -
In the import wizard
paste the text below into the
Project remote URLfield:Usage Click the copy button at the end of the line To contribute lib_ExtendedComponents_ui_ngx=https://github.com/convertigo/c8oprj-lib-extended-components-ui-ngx.git:branch=8.4.0.0To simply use lib_ExtendedComponents_ui_ngx=https://github.com/convertigo/c8oprj-lib-extended-components-ui-ngx/archive/8.4.0.0.zip -
Click the
Finishbutton. This will automatically import the lib_ExtendedComponents_ui_ngx project
Describes the mobile application global properties
agGrid Update Rows, must be called in a GetRows Control
variables
| name | comment |
|---|---|
| agGridEvent | map agGridEvent to the TS 'event' parameter from the GetRows Control Example: |
| data | data must receive a JSON with a RowData key and an optional ColDef key Example: |
CardIO SharedAction
variables
| name | comment |
|---|---|
| ccard_topic | Publish Topic name to use with a Subscribe component. Optional Example: |
| ccn | Input tag identifier to set Card Number value to. Optional Example: |
| cexp | Input tag identifier to set Expiry date value (MM/YY) to. Optional Example: |
| cvv | Input tag identifier to set cryptogram value (123) to. Optional Example: |
| local_ccard_suffix | Suffix for local page variable in case of multiple CardIO plugin instances. Default: ''. Optional Example: |
| options | CardIO plugin options. See https://github.com/card-io/card.io-Cordova-Plugin Example: |
ZXing SharedAction
variables
| name | comment |
|---|---|
| file | File object as Array (if not provided from an input type file). Example: |
| imgId | Img tag identifier to output image file. Optional Example: |
| isOutputEvent | Publish scan result or not to the topic event. Default: true. Example: |
| isOutputGlobal | Insert or not the scan result in a global page variable. The variable is composed of 'zxing:' + topic + ref variables. Default: true. Example: |
| ref | In case of multiple ZXing package instances, set the variable to different values to distinguish the Publish data event and/or the local page variable. Default: ''. Optional Example: |
| resultId | Input tag identifier to set value to. Optional Example: |
| topic | Publish Topic name to use with a Subscribe component. Optional Example: |
| type | Scan from file or video. Default: 'file' Example: |
| videoId | Video tag identifier to output video camera. Default: 'video'. Optional Example: |
This Shared component wraps the ag-grid component. Most of the properties and events are supported. Please see https://www.ag-grid.com/ for more details.
variables
| name | comment |
|---|---|
| accessibility | boolean: true (default) or false Example: |
| ariaLabel | Variable aria Label. Example: |
| autoSizeColumns | Variable auto Size Columns. Example: |
| cacheBlockSize | Variable cache Block Size. Example: |
| class | One of the themes provided by AG Grid. See https://www.ag-grid.com/javascript-grid-themes-provided/ and import the matching theme stylesheet in the app theme. Example: |
| columnDefs | Array of columnDef {headerName: 'headerName', field: 'fieldName'} objects Example: |
| customLocaleText | Adds or overrides grid localization entries by language key. Example: |
| datasource | Variable datasource. Example: |
| defaultColDef | default is {hide: false, editable: true, sortable: true, resizable: true, filter: true, checkboxSelection: false, singleClickEdit: false} Example: |
| domLayout | boolean: true (default) or false Example: |
| getLocaleText | Variable get Locale Text. Example: |
| height | height is 'auto' or value in % or px Example: |
| id | An Optional ID Example: |
| localeText | Defines grid localization. You can pass a language code (for example fr or fr-FR) or a map of translation key/value pairs. Example: |
| maxBlocksInCache | How many blocks to keep in the store. Default is no limit, so every requested block is kept Example: |
| overlayLoadingTemplate | Variable overlay Loading Template. Example: |
| overlayNoRowsTemplate | Variable overlay No Rows Template. Example: |
| pagination | boolean: true (default) or false Example: |
| paginationPageSize | integer: 10 by default Example: |
| paginationPageSizeSelector | array | boolean: [20,50,100] by default Example: |
| rowData | Array of row { fieldName1: 'value1', fieldName2: 'value2', fieldName3: true, ...} objects Example: |
| rowDeselection | boolean: true (default) or false Example: |
| rowHeight | Height of the row in pixels as a string Example: |
| rowModelType | Row model type Example: |
| rowSelection | string: 'single' (default) or 'multiple' Example: |
| showCsvDownload | If true, displays a CSV download button/menu around the grid. Example: |
| showCsvDownloadAlignment | If showCsvDownload is true, defines CSV button alignment: start, center or end. Example: |
| showCsvDownloadPosition | If showCsvDownload is true, defines CSV button position relative to the grid: top, bottom, left, right, both_row or both_col. Example: |
| suppressCellSelection | Variable suppress Cell Selection. Example: |
| suppressFieldDotNotation | boolean: true (default) or false Example: |
| suppressRowClickSelection | Variable suppress Row Click Selection. Example: |
| width | width value in % or px Example: |
| wrapperClass | Height of the row in pixels as a string Example: |
events
| name | comment |
|---|---|
| CellClicked | Fired when a cell is clicked. Data will be the agGrid event |
| CellValueChanged | Fired when A Cell is edited changed. Data will be the agGrid event |
| GetRows | Fire when the RowModelType is 'infinite'. Excepts fromatted data into a agGridUpdateRows action |
| GridReady | Fired when the Grid is ready. Data will be the agGrid event |
| RowClicked | Fired when a row is clicked. Data will be the agGrid event |
| RowDataChanged | Fired when Row data changed. Data will be the agGrid event |
| RowDoubleClicked | Fired when A Cell is edited changed. Data will be the agGrid event |
| RowSelected | Fired when a row is selected. Data will be the agGrid event |
| SelectionChanged | Fired when selectionChange. Data will be the agGrid event |
| SortChanged | Fired when a a column is sorted. Data will be the agGrid event |
A QR Code Reader using Full JS Algorithm
variables
| name | comment |
|---|---|
| allowEmptyString | Allow qrdata to be an empty string Example: |
| alt | HTML alt attribute (supported by img, url) Example: |
| ariaLabel | HTML aria-label attribute (supported by canvas, img, url) Example: |
| colordark | RGBA color, color of dark module (foreground) Example: |
| colorlight | RGBA color, color of light module (background) Example: |
| cssClass | CSS Class Example: |
| elementType | 'canvas', 'svg', 'img', 'url' (alias for 'img') Example: |
| errorCorrectionLevel | QR Correction level ('L', 'M', 'Q', 'H') Example: |
| imageHeight | height of your image Example: |
| imageSrc | Link to your image Example: |
| imageWidth | width of your image Example: |
| margin | Define how much wide the quiet zone should be. Example: |
| qrdata | String to encode Example: |
| scale | Scale factor. A value of 1 means 1px per modules (black dots). Example: |
| title | HTML title attribute (supported by canvas, img, url) Example: |
| version | 1-40 Example: |
| width | Height/Width (any value) Example: |
CardIO SharedComponent
variables
| name | comment |
|---|---|
| autounselectify | Disables element selection when true |
| boxSelectionEnabled | Enables box selection mode |
| elements | Cytoscape elements array |
| height | Graph container height |
| id | Optional HTML id for the graph container |
| layout | Cytoscape layout object |
| maxZoom | Maximum zoom level |
| minZoom | Minimum zoom level |
| options | Additional Cytoscape options object |
| style | Cytoscape style array (leave empty to use theme-aware defaults) |
| userPanningEnabled | Allows user panning interactions |
| userZoomingEnabled | Allows user zoom interactions |
| wheelSensitivity | Mouse wheel zoom sensitivity |
| width | Graph container width |
events
| name | comment |
|---|---|
| BackgroundTap | Fired when graph background is tapped |
| CyReady | Fired when Cytoscape is initialized |
| EdgeTap | Fired when an edge is tapped |
| NodeTap | Fired when a node is tapped |
This component handles file trop an a Zone. It will fire a FileDropped event with a Files object as data. The File dropped will be in the out[0]
variables
| name | comment |
|---|---|
| Information | Information text displayed inside the drop zone Example: |
events
| name | comment |
|---|---|
| FilesDropped | Fired when file(s) are dropped on the drop zone. Data is the dropped files array. |
Shared component wrapping the Frappe Gantt chart library. Pass tasks as an array or as a JSON string.
variables
| name | comment |
|---|---|
| dateFormat | Date format used by Frappe Gantt parser Example: |
| height | Container height Example: |
| id | Optional HTML id for the gantt container Example: |
| options | Optional Frappe Gantt options object (object or JSON string) Example: |
| tasks | Array of tasks accepted by Frappe Gantt (array or JSON string) Example: |
| viewMode | Default view mode for the chart Example: |
| width | Container width Example: |
events
| name | comment |
|---|---|
| DateChanged | Fired when a task date range changes. |
| ProgressChanged | Fired when a task progress changes. |
| TaskClicked | Fired when a task bar is clicked. |
| ViewChanged | Fired when the gantt view mode changes. |
Shared component implementing a Kanban board powered by SortableJS. Cards can be dragged across columns and columns can optionally be reordered.
variables
| name | comment |
|---|---|
| animation | Card drag animation duration in milliseconds. Example: |
| cardTitleKey | Property name used to display card labels when cards are objects. Example: |
| chosenClass | CSS class applied to the selected card. Example: |
| columnAnimation | Column drag animation duration in milliseconds. Example: |
| columnChosenClass | CSS class applied to the selected column. Example: |
| columnDragClass | CSS class applied while dragging a column. Example: |
| columnGhostClass | CSS class applied to column ghost elements. Example: |
| columnHandle | CSS selector used as drag handle for columns. Example: |
| columnOptions | Optional SortableJS options for column sorting (object or JSON string). Example: |
| columns | Array of Kanban columns (array or JSON string). Example: |
| columnSort | Allows column reordering when true. Example: |
| disabled | Disables drag and drop when true. Example: |
| dragClass | CSS class applied while dragging a card. Example: |
| emptyColumnText | Placeholder text shown when a column has no cards. Example: |
| ghostClass | CSS class applied to card ghost elements. Example: |
| groupName | SortableJS group name used between columns. Example: |
| handle | Optional CSS selector for dragging cards by handle. Example: |
| height | Container height. Example: |
| id | Optional HTML id for the kanban host. Example: |
| options | Optional SortableJS options for cards (object or JSON string). Example: |
| sort | Allows card sorting when true. Example: |
| width | Container width. Example: |
events
| name | comment |
|---|---|
| BoardChanged | Fired when the board structure changes. |
| CardClicked | Fired when a card is clicked. |
| CardMoved | Fired when a card is moved between positions or columns. |
| ColumnClicked | Fired when a column header is clicked. |
| ColumnOrderChanged | Fired when columns are reordered. |
variables
| name | comment |
|---|---|
| buttonAriaLabel | Accessibility label applied to the datepicker toggle button Example: |
| inputAriaLabel | Accessibility label applied to the date input Example: |
| model | Date model bound to the input and emitted on change Example: |
variables
| name | comment |
|---|---|
| ariaLabel | Accessibility label applied to the slider thumb input Example: |
| id | Optional HTML id for the slider input Example: |
| max | Maximum slider value Example: |
| min | Minimum slider value Example: |
| model | Current slider value bound to ngModel Example: |
| showTickMarks | boolean: show or hide slider tick marks Example: |
| showValue | boolean: display current value label near the thumb Example: |
| step | Slider step increment Example: |
events
| name | comment |
|---|---|
| ModelChange | Fired when the slider value changes. Data is the new numeric value. |
Lightweight all in one UI Select, Multiselect and Autocomplete
Features :
- Custom binding to property or object
- Custom option, label, header and footer templates
- Virtual Scroll support with large data sets (>5000 items).
- Infinite scroll
- Keyboard navigation
- Multiselect
- Flexible autocomplete with client/server filtering
- Custom search
- Custom tags
- Append to
- Group items
- Output events
- Accessibility
- Good base functionality test coverage
- Themes
For more informations see documentation
variables
| name | comment |
|---|---|
| addTag | Allows to create custom options. Example: |
| addTagText | Set custom text when using tagging Example: |
| appearance | Allows to select dropdown appearance. Set to outline to add border instead of underline (applies only to Material theme) Example: |
| appendTo | Append dropdown to body or any other element using css selector. For correct positioning body should have position:relative Example: |
| bindLabel | Object property to use for label. Default label Example: |
| bindValue | Object property to use for selected model. By default binds to whole object. Example: |
| clearable | Allow to clear selected value. Default true Example: |
| clearAllText | Set custom text for clear all icon title Example: |
| clearOnBackspace | Clear selected values one by one when clicking backspace. Default true Example: |
| clearSearchOnAdd | Clears search input when item is selected. Default true. Default false when closeOnSelect is false Example: |
| closeOnSelect | Whether to close the menu when a value is selected Example: |
| compareWith | A function to compare the option values with the selected values. The first argument is a value from an option. The second is a value from the selection(model). A boolean should be returned. Example: |
| deselectOnClick | Deselects a selected item when it is clicked in the dropdown. Default false. Default true when multiple is true Example: |
| dropdownPosition | Set the dropdown position on open -- bottom | top | auto Example: |
| editableSearchTerm | Allow to edit search query if option selected. Default false. Works only if multiple is false. Example: |
| groupBy | Allow to group items by key or function expression Example: |
| groupValue | Function expression to provide group value Example: |
| hideSelected | Allows to hide selected items. Example: |
| inputAttrs | Pass custom attributes to underlying input element Example: |
| isOpen | Allows manual control of dropdown opening and closing. true - won't close. false - won't open. Example: |
| items | Items array Example: |
| keyDownFn | Provide custom keyDown function. Executed before default handler. Return false to suppress execution of default key down handlers. Example: |
| labelForId | Id to associate control with label. Example: |
| loading | You can set the loading state from the outside (e.g. async items loading) Example: |
| loadingText | Set custom text when for loading items Example: |
| markFirst | Marks first item as focused when opening/filtering. Example: |
| maxSelectedItems | When multiple = true, allows to set a limit number of selection. Example: |
| minTermLength | Minimum term length to start a search. Should be used with typeahead Example: |
| model | Selected value(s) bound to ngModel (single value or array when multiple=true) Example: |
| multiple | Allows to select multiple items. Example: |
| notFoundText | Set custom text when filter returns empty result Example: |
| openOnEnter | Open dropdown using enter. Default true Example: |
| placeholder | Placeholder text. Example: |
| readonly | Set ng-select as readonly. Mostly used with reactive forms. Example: |
| searchable | Allow to search for value. Default true Example: |
| searchFn | Allow to filter by custom search function Example: |
| searchWhileComposing | Whether items should be filtered while composition started Example: |
| selectableGroup | Allow to select group when groupBy is used Example: |
| selectableGroupAsModel | Indicates whether to select all children or group itself Example: |
| selectOnTab | Select marked dropdown item using tab. Default false Example: |
| tabIndex | Set tabindex on ng-select Example: |
| trackByFn | Provide custom trackBy function Example: |
| typeahead | Custom autocomplete or advanced filter. Example: |
| typeToSearchText | Set custom text when using Typeahead Example: |
| virtualScroll | Enable virtual scroll for better performance when rendering a lot of data Example: |
events
| name | comment |
|---|---|
| add | Fired when item is added while [multiple]="true". Outputs added item |
| blur | Fired on select blur |
| change | Fired on model change. Outputs whole model |
| clear | Fired on clear icon click |
| close | Fired on select dropdown close |
| focus | Fired on select focus |
| open | Fired on select dropdown open |
| remove | Fired when item is removed while [multiple]="true" |
| scroll | Fired when scrolled. Provides the start and end index of the currently available items. Can be used for loading more items in chunks before the user has scrolled all the way to the bottom of the list. |
| scrollToEnd | Fired when scrolled to the end of items. Can be used for loading more items in chunks. |
| search | Fired while typing search term. Outputs search term with filtered items |
This component provides Chips management for your apps
variables
| name | comment |
|---|---|
| addOnBlur | |
| autocompleteItems | |
| editableTag | |
| inputtext | |
| itemDisplayBy | |
| itemIdentifyBy | |
| items | |
| maxItems | |
| onlyFromAutocomplete | |
| placeholder | |
| removableTag | |
| secondaryPlaceholder | |
| showAutoCompleteDropdownIfEmpty | |
| theme |
events
| name | comment |
|---|---|
| Add | |
| Blur | |
| Focus | |
| ModelChange | |
| Paste | |
| Remove | |
| Select | |
| TagEdited | |
| TextChange | |
| ValidationError |
Shared component wrapping SortableJS for drag-and-drop list ordering. Pass items as an array or as a JSON string.
variables
| name | comment |
|---|---|
| animation | Animation duration in milliseconds. Example: |
| chosenClass | CSS class applied to the chosen element. Example: |
| disabled | Disables drag and drop when true. Example: |
| dragClass | CSS class applied while dragging. Example: |
| emitItemsOnChange | Emits after each drop event when true. Example: |
| emptyText | Placeholder text when the list is empty. Example: |
| ghostClass | CSS class applied to the ghost element. Example: |
| handle | Optional CSS selector for drag handles. Example: |
| height | Container height. Example: |
| id | Optional HTML id for the sortable container. Example: |
| items | Array of draggable items (array or JSON string). Example: |
| options | Optional SortableJS options object (object or JSON string). Example: |
| sort | Allows sorting when true. Example: |
| width | Container width. Example: |
events
| name | comment |
|---|---|
| DragEnded | Fired when a drag operation ends. |
| DragStarted | Fired when a drag operation starts. |
| ItemClicked | Fired when an item is clicked. |
| ItemsChanged | Fired with the reordered items array. |
| OrderChanged | Fired when the list order changes. |
This is the HugeRTE WYSIWIG HTML editor you can use to provide rich text editing in your apps
variables
| name | comment |
|---|---|
| apiKey | Tiny Cloud API key (optional when using local assets) Example: |
| cloudChannel | Tiny Cloud channel version (used when loading cloud resources) Example: |
| disabled | boolean: disable or enable editor interactions Example: |
| id | Optional HTML id applied to the editor element Example: |
| init | TinyMCE init configuration object Example: |
| initialValue | Initial editor content when ngModel is null Example: |
| inline | boolean: use TinyMCE inline mode Example: |
| model | HTML content bound to the editor ngModel Example: |
| plugins | List of TinyMCE plugins to load Example: |
| tagName | HTML tag name used as editor root element in inline mode Example: |
| toolbar | TinyMCE toolbar configuration string Example: |
events
| name | comment |
|---|---|
| onBlur | Fired when the editor loses focus. |
variables
| name | comment |
|---|---|
| cssMaxHeight | Maximum editor canvas height in pixels Example: |
| cssMaxWidth | Maximum editor canvas width in pixels Example: |
| imageName3 | Reserved variable not used by the current component implementation Example: |
| imageName4 | Reserved variable not used by the current component implementation Example: |
| imageName5 | Reserved variable not used by the current component implementation Example: |
| imageName6 | Reserved variable not used by the current component implementation Example: |
| imageName7 | Reserved variable not used by the current component implementation Example: |
| imageName8 | Reserved variable not used by the current component implementation Example: |
| imageName | Source image display name shown in the editor UI Example: |
| imagePath | Source image path or data URL loaded by the editor Example: |
