@aquera/nile-elements 0.1.22 → 0.1.24
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/README.md +11 -0
- package/dist/flow-8340c041.esm.js +16 -0
- package/dist/flow-d0fa8803.cjs.js +14 -0
- package/dist/flow-d0fa8803.cjs.js.map +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/nile-auto-complete/index.cjs.js +1 -1
- package/dist/nile-auto-complete/index.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js +25 -1
- package/dist/nile-auto-complete/nile-auto-complete.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.css.esm.js +11 -2
- package/dist/nile-auto-complete/nile-auto-complete.esm.js +50 -10
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js.map +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +5 -5
- package/dist/nile-chip/nile-chip.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.esm.js +3 -2
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.cjs.js.map +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js +1 -1
- package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
- package/dist/nile-code-editor/nile-code-editor.esm.js +2 -2
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.cjs.js.map +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.css.esm.js +7 -2
- package/dist/nile-tab-group/nile-tab-group.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.css.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.css.cjs.js.map +1 -1
- package/dist/nile-tab-group/nile-tab-group.css.esm.js +11 -3
- package/dist/nile-tab-group/nile-tab-group.esm.js +2 -0
- package/dist/src/nile-auto-complete/nile-auto-complete.css.js +9 -0
- package/dist/src/nile-auto-complete/nile-auto-complete.css.js.map +1 -1
- package/dist/src/nile-auto-complete/nile-auto-complete.d.ts +5 -0
- package/dist/src/nile-auto-complete/nile-auto-complete.js +32 -11
- package/dist/src/nile-auto-complete/nile-auto-complete.js.map +1 -1
- package/dist/src/nile-chip/nile-chip.d.ts +2 -0
- package/dist/src/nile-chip/nile-chip.js +7 -1
- package/dist/src/nile-chip/nile-chip.js.map +1 -1
- package/dist/src/nile-code-editor/nile-code-editor.d.ts +1 -0
- package/dist/src/nile-code-editor/nile-code-editor.js +5 -1
- package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js +5 -0
- package/dist/src/nile-slide-toggle/nile-slide-toggle.css.js.map +1 -1
- package/dist/src/nile-tab-group/nile-tab-group.css.js +11 -3
- package/dist/src/nile-tab-group/nile-tab-group.css.js.map +1 -1
- package/dist/src/nile-tab-group/nile-tab-group.js +2 -0
- package/dist/src/nile-tab-group/nile-tab-group.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/src/nile-auto-complete/nile-auto-complete.css.ts +9 -0
- package/src/nile-auto-complete/nile-auto-complete.ts +33 -13
- package/src/nile-chip/nile-chip.ts +6 -1
- package/src/nile-code-editor/nile-code-editor.ts +4 -2
- package/src/nile-slide-toggle/nile-slide-toggle.css.ts +5 -0
- package/src/nile-tab-group/nile-tab-group.css.ts +11 -3
- package/src/nile-tab-group/nile-tab-group.ts +2 -0
- package/vscode-html-custom-data.json +18 -3
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"description": "Webcomponent nile-elements following open-wc recommendations",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "nile-elements",
|
6
|
-
"version": "0.1.
|
6
|
+
"version": "0.1.24",
|
7
7
|
"main": "dist/src/index.js",
|
8
8
|
"type": "module",
|
9
9
|
"module": "dist/src/index.js",
|
@@ -117,7 +117,8 @@
|
|
117
117
|
"@codemirror/lang-javascript": "6.2.1",
|
118
118
|
"@codemirror/lang-sql": "6.7.0",
|
119
119
|
"@codemirror/lang-json": "^6.0.1",
|
120
|
-
"@codemirror/lang-html":"6.4.9",
|
120
|
+
"@codemirror/lang-html": "6.4.9",
|
121
|
+
"@lit-labs/virtualizer": "^2.0.15",
|
121
122
|
"codemirror": "6.0.1",
|
122
123
|
"chalk": "5.3.0",
|
123
124
|
"figlet": "1.7.0",
|
@@ -12,12 +12,21 @@ import { css } from 'lit';
|
|
12
12
|
*/
|
13
13
|
export const styles = css`
|
14
14
|
:host {
|
15
|
+
--virtual-scroll-container-width:100px;
|
15
16
|
}
|
16
17
|
|
17
18
|
.nile-dropdown--input {
|
18
19
|
width: 100%;
|
19
20
|
}
|
20
21
|
|
22
|
+
.nile-dropdown--input lit-virtualizer{
|
23
|
+
min-width: var(--virtual-scroll-container-width)!important;
|
24
|
+
}
|
25
|
+
|
26
|
+
.nile-dropdown--input nile-menu-item{
|
27
|
+
width:100%;
|
28
|
+
}
|
29
|
+
|
21
30
|
.nile-auto-complete--input {
|
22
31
|
width: 100%;
|
23
32
|
}
|
@@ -10,6 +10,7 @@ import { styles } from './nile-auto-complete.css';
|
|
10
10
|
import NileElement from '../internal/nile-element';
|
11
11
|
import type { CSSResultGroup, PropertyValues } from 'lit';
|
12
12
|
import { NileDropdown } from '../nile-dropdown';
|
13
|
+
import '@lit-labs/virtualizer';
|
13
14
|
|
14
15
|
// Define the custom element 'nile-auto-complete'
|
15
16
|
@customElement('nile-auto-complete')
|
@@ -23,6 +24,8 @@ export class NileAutoComplete extends NileElement {
|
|
23
24
|
|
24
25
|
@property({ type: Boolean }) isDropdownOpen: boolean = false;
|
25
26
|
|
27
|
+
@property({ type: Boolean }) enableVirtualScroll: boolean = false;
|
28
|
+
|
26
29
|
@property({ type: Boolean }) openOnFocus: boolean = false;
|
27
30
|
|
28
31
|
@property({ type: String }) value: string = '';
|
@@ -53,6 +56,7 @@ export class NileAutoComplete extends NileElement {
|
|
53
56
|
}
|
54
57
|
|
55
58
|
public render(): TemplateResult {
|
59
|
+
const content=this.enableVirtualScroll?this.getVirtualizedContent():this.getContent();
|
56
60
|
return html`
|
57
61
|
<nile-dropdown class="nile-dropdown--input" ?open=${this.isDropdownOpen} noOpenOnCLick>
|
58
62
|
<nile-input class="nile-auto-complete--input"
|
@@ -67,23 +71,39 @@ export class NileAutoComplete extends NileElement {
|
|
67
71
|
${this.loading?html`<nile-icon slot="suffix" color="var(--nile-colors-primary-600)" name="button-loading-blue-animated"></nile-icon>`:nothing}
|
68
72
|
</nile-input>
|
69
73
|
${this.menuItems.length > 0 && !this.loading
|
70
|
-
?
|
71
|
-
|
72
|
-
${this.menuItems.map(
|
73
|
-
(item: any) => {
|
74
|
-
const renderItem=this.renderItemFunction(item)
|
75
|
-
return html`
|
76
|
-
<nile-menu-item value=${renderItem}>${renderItem}</nile-menu-item>
|
77
|
-
`
|
78
|
-
}
|
79
|
-
)}
|
80
|
-
</nile-menu>
|
81
|
-
`
|
82
|
-
: ''}
|
74
|
+
? content
|
75
|
+
: nothing}
|
83
76
|
</nile-dropdown>
|
84
77
|
`;
|
85
78
|
}
|
86
79
|
|
80
|
+
getVirtualizedContent():TemplateResult{
|
81
|
+
return html`
|
82
|
+
<nile-menu @nile-select=${this.handleSelect} id="content-menu" exportparts="menu__items-wrapper:options__wrapper">
|
83
|
+
<lit-virtualizer
|
84
|
+
.items=${this.menuItems}
|
85
|
+
.renderItem=${(item:any):TemplateResult=>this.getItemRenderFunction(item)}
|
86
|
+
></lit-virtualizer>
|
87
|
+
</nile-menu>
|
88
|
+
`
|
89
|
+
}
|
90
|
+
|
91
|
+
getContent():TemplateResult{
|
92
|
+
return html`
|
93
|
+
<nile-menu id="content-menu" @nile-select=${this.handleSelect} exportparts="menu__items-wrapper:options__wrapper">
|
94
|
+
${this.menuItems.map((item: any) => this.getItemRenderFunction(item))}
|
95
|
+
</nile-menu>`
|
96
|
+
}
|
97
|
+
|
98
|
+
getItemRenderFunction(item:any):TemplateResult{
|
99
|
+
const value=this.renderItemFunction(item)
|
100
|
+
return html`
|
101
|
+
<nile-menu-item value=${value}>
|
102
|
+
${value}
|
103
|
+
</nile-menu-item>
|
104
|
+
`;
|
105
|
+
}
|
106
|
+
|
87
107
|
private handleSelect(event: CustomEvent) {
|
88
108
|
this.value = event.detail.value;
|
89
109
|
this.emit('nile-complete', { value: event.detail.value });
|
@@ -72,7 +72,11 @@ export class NileChip extends NileElement {
|
|
72
72
|
/** Disables the input. */
|
73
73
|
@property({ type: Boolean, reflect: true }) disabled = false;
|
74
74
|
|
75
|
-
//
|
75
|
+
// AUTO-COMPLETE-OPTIONS
|
76
|
+
|
77
|
+
/** Virtual scroll in dropdown options. */
|
78
|
+
@property({ type: Boolean }) enableVirtualScroll = false;
|
79
|
+
|
76
80
|
@property({ type: Array }) autoCompleteOptions: any[] = [];
|
77
81
|
|
78
82
|
@property({ type: Array }) filteredAutoCompleteOptions: any[] = [];
|
@@ -186,6 +190,7 @@ export class NileChip extends NileElement {
|
|
186
190
|
)}
|
187
191
|
<div class="nile-chip__auto-complete">
|
188
192
|
<nile-auto-complete
|
193
|
+
.enableVirtualScroll=${this.enableVirtualScroll}
|
189
194
|
.allMenuItems=${this.filteredAutoCompleteOptions}
|
190
195
|
.filterFunction=${this.filterFunction}
|
191
196
|
.renderItemFunction=${this.renderItemFunction}
|
@@ -39,7 +39,7 @@ import { autocompletion,CompletionContext,CompletionResult } from '@codemirror/a
|
|
39
39
|
import NileElement from '../internal/nile-element';
|
40
40
|
import { basicSetup } from './extensionSetup';
|
41
41
|
import { classMap } from 'lit/directives/class-map.js';
|
42
|
-
import { Theme as DefaultTheme
|
42
|
+
import { Theme as DefaultTheme } from './theme';
|
43
43
|
|
44
44
|
// Choose the appropriate mode for your use case
|
45
45
|
|
@@ -73,6 +73,8 @@ export class NileCodeEditor extends NileElement {
|
|
73
73
|
@property({ type: Boolean, reflect: true , attribute: 'noborder' }) noborder: boolean = false;
|
74
74
|
|
75
75
|
@property({ type: Boolean, reflect: true , attribute: true }) multiline: boolean = false;
|
76
|
+
|
77
|
+
@property({ type: Boolean, reflect: true , attribute: true }) enableFoldGutters: boolean = false;
|
76
78
|
|
77
79
|
@property({ type: Boolean, reflect: true , attribute: true }) allowVariableInCustomSuggestion: boolean = false;
|
78
80
|
|
@@ -259,7 +261,7 @@ export class NileCodeEditor extends NileElement {
|
|
259
261
|
extensions: [
|
260
262
|
basicSetup({
|
261
263
|
highlightActiveLine: false,
|
262
|
-
foldGutter:
|
264
|
+
foldGutter: this.enableFoldGutters,
|
263
265
|
}),
|
264
266
|
lineNumbersExtension,
|
265
267
|
readOnlyExtension,
|
@@ -58,6 +58,11 @@ export default css`
|
|
58
58
|
line-height: 18px;
|
59
59
|
}
|
60
60
|
|
61
|
+
.nile-slide--disabled .nile-slide-toggle__label,
|
62
|
+
.nile-slide--disabled .nile-slide-toggle__sublabel{
|
63
|
+
color: var(--nile-colors-dark-500);
|
64
|
+
}
|
65
|
+
|
61
66
|
.nile-slide-toggle__switch input {
|
62
67
|
opacity: 0;
|
63
68
|
width: 0;
|
@@ -45,6 +45,15 @@ export const styles = css`
|
|
45
45
|
transition: 0.3s translate ease, 0.3s width ease;
|
46
46
|
}
|
47
47
|
|
48
|
+
.tab-group__indicator__path{
|
49
|
+
position: absolute;
|
50
|
+
height: var(--track-width);
|
51
|
+
width: 100%;
|
52
|
+
background: var(--nile-colors-neutral-400);
|
53
|
+
bottom:0px;
|
54
|
+
z-index:-1;
|
55
|
+
}
|
56
|
+
|
48
57
|
.tab-group--has-scroll-controls .tab-group__nav-container {
|
49
58
|
position: relative;
|
50
59
|
padding: 0 10px;
|
@@ -113,13 +122,12 @@ export const styles = css`
|
|
113
122
|
flex: 1 1 auto;
|
114
123
|
position: relative;
|
115
124
|
flex-direction: row;
|
116
|
-
border-bottom: solid var(--track-width)
|
117
|
-
var(--nile-colors-gray-light-mode-200);
|
118
125
|
}
|
119
126
|
|
120
127
|
.tab-group--top .tab-group__indicator {
|
121
|
-
bottom:
|
128
|
+
bottom: 0px;
|
122
129
|
border-bottom: 2px solid var(--nile-colors-primary-600);
|
130
|
+
z-index:-1;
|
123
131
|
}
|
124
132
|
|
125
133
|
.tab-group--top .tab-group__body {
|
@@ -206,12 +206,14 @@ export class NileTabGroup extends NileElement {
|
|
206
206
|
|
207
207
|
<div class="tab-group__nav">
|
208
208
|
<div part="tabs" class="tab-group__tabs" role="tablist">
|
209
|
+
<div part="active-tab-indicator-path" class="tab-group__indicator__path"></div>
|
209
210
|
<div
|
210
211
|
part="active-tab-indicator"
|
211
212
|
class=${classMap({
|
212
213
|
'tab-group__indicator': !this.noTrack,
|
213
214
|
})}
|
214
215
|
></div>
|
216
|
+
|
215
217
|
<slot name="nav" @slotchange=${this.syncTabsAndPanels}></slot>
|
216
218
|
</div>
|
217
219
|
</div>
|
@@ -62,13 +62,18 @@
|
|
62
62
|
},
|
63
63
|
{
|
64
64
|
"name": "nile-auto-complete",
|
65
|
-
"description": "Attributes:\n\n * `isDropdownOpen` {`boolean`} - \n\n * `openOnFocus` {`boolean`} - \n\n * `value` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `noBorder` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `allMenuItems` - \n\nProperties:\n\n * `styles` - \n\n * `dropdownElement` - \n\n * `isDropdownOpen` {`boolean`} - \n\n * `openOnFocus` {`boolean`} - \n\n * `value` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `noBorder` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `filterFunction` - \n\n * `renderItemFunction` - \n\n * `allMenuItems` - \n\n * `menuItems` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
65
|
+
"description": "Attributes:\n\n * `isDropdownOpen` {`boolean`} - \n\n * `enableVirtualScroll` {`boolean`} - \n\n * `openOnFocus` {`boolean`} - \n\n * `value` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `noBorder` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `allMenuItems` - \n\nProperties:\n\n * `styles` - \n\n * `dropdownElement` - \n\n * `isDropdownOpen` {`boolean`} - \n\n * `enableVirtualScroll` {`boolean`} - \n\n * `openOnFocus` {`boolean`} - \n\n * `value` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `noBorder` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `filterFunction` - \n\n * `renderItemFunction` - \n\n * `allMenuItems` - \n\n * `menuItems` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
66
66
|
"attributes": [
|
67
67
|
{
|
68
68
|
"name": "isDropdownOpen",
|
69
69
|
"description": "`isDropdownOpen` {`boolean`} - \n\nProperty: isDropdownOpen\n\nDefault: false",
|
70
70
|
"valueSet": "v"
|
71
71
|
},
|
72
|
+
{
|
73
|
+
"name": "enableVirtualScroll",
|
74
|
+
"description": "`enableVirtualScroll` {`boolean`} - \n\nProperty: enableVirtualScroll\n\nDefault: false",
|
75
|
+
"valueSet": "v"
|
76
|
+
},
|
72
77
|
{
|
73
78
|
"name": "openOnFocus",
|
74
79
|
"description": "`openOnFocus` {`boolean`} - \n\nProperty: openOnFocus\n\nDefault: false",
|
@@ -696,7 +701,7 @@
|
|
696
701
|
},
|
697
702
|
{
|
698
703
|
"name": "nile-chip",
|
699
|
-
"description": "Attributes:\n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `noDuplicates` {`boolean`} - Disables the duplicate entries.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `acceptUserInput` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `autoCompleteOptions` {`any[]`} - \n\n * `filteredAutoCompleteOptions` {`any[]`} - \n\n * `value` {`any[]`} - \n\n * `noWrap` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `errorIndexes` {`number[]`} - \n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\nProperties:\n\n * `hasSlotController` - \n\n * `tags` {`string[]`} - \n\n * `inputValue` {`string`} - \n\n * `isDropdownOpen` {`boolean`} - \n\n * `autoComplete` - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `noDuplicates` {`boolean`} - Disables the duplicate entries.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `acceptUserInput` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `autoCompleteOptions` {`any[]`} - \n\n * `filteredAutoCompleteOptions` {`any[]`} - \n\n * `value` {`any[]`} - \n\n * `noWrap` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `errorIndexes` {`number[]`} - \n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `filterFunction` - \n\n * `renderItemFunction` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
704
|
+
"description": "Attributes:\n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `noDuplicates` {`boolean`} - Disables the duplicate entries.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `acceptUserInput` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `enableVirtualScroll` {`boolean`} - Virtual scroll in dropdown options.\n\n * `autoCompleteOptions` {`any[]`} - \n\n * `filteredAutoCompleteOptions` {`any[]`} - \n\n * `value` {`any[]`} - \n\n * `noWrap` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `errorIndexes` {`number[]`} - \n\n * `help-text` {`string`} - \n\n * `error-message` {`string`} - \n\nProperties:\n\n * `hasSlotController` - \n\n * `tags` {`string[]`} - \n\n * `inputValue` {`string`} - \n\n * `isDropdownOpen` {`boolean`} - \n\n * `autoComplete` - \n\n * `warning` {`boolean`} - Sets the input to a warning state, changing its visual appearance.\n\n * `error` {`boolean`} - Sets the input to an error state, changing its visual appearance.\n\n * `success` {`boolean`} - Sets the input to a success state, changing its visual appearance.\n\n * `noDuplicates` {`boolean`} - Disables the duplicate entries.\n\n * `label` {`string`} - The input's label. If you need to display HTML, use the `label` slot instead.\n\n * `acceptUserInput` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `clearable` {`boolean`} - Adds a clear button when the input is not empty.\n\n * `placeholder` {`string`} - Placeholder text to show as a hint when the input is empty.\n\n * `readonly` {`boolean`} - Makes the input readonly.\n\n * `disabled` {`boolean`} - Disables the input.\n\n * `enableVirtualScroll` {`boolean`} - Virtual scroll in dropdown options.\n\n * `autoCompleteOptions` {`any[]`} - \n\n * `filteredAutoCompleteOptions` {`any[]`} - \n\n * `value` {`any[]`} - \n\n * `noWrap` {`boolean`} - \n\n * `loading` {`boolean`} - \n\n * `errorIndexes` {`number[]`} - \n\n * `helpText` {`string`} - \n\n * `errorMessage` {`string`} - \n\n * `filterFunction` - \n\n * `renderItemFunction` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
700
705
|
"attributes": [
|
701
706
|
{
|
702
707
|
"name": "warning",
|
@@ -746,6 +751,11 @@
|
|
746
751
|
"description": "`disabled` {`boolean`} - Disables the input.\n\nProperty: disabled\n\nDefault: false",
|
747
752
|
"valueSet": "v"
|
748
753
|
},
|
754
|
+
{
|
755
|
+
"name": "enableVirtualScroll",
|
756
|
+
"description": "`enableVirtualScroll` {`boolean`} - Virtual scroll in dropdown options.\n\nProperty: enableVirtualScroll\n\nDefault: false",
|
757
|
+
"valueSet": "v"
|
758
|
+
},
|
749
759
|
{
|
750
760
|
"name": "autoCompleteOptions",
|
751
761
|
"description": "`autoCompleteOptions` {`any[]`} - \n\nProperty: autoCompleteOptions\n\nDefault: "
|
@@ -794,7 +804,7 @@
|
|
794
804
|
},
|
795
805
|
{
|
796
806
|
"name": "nile-code-editor",
|
797
|
-
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
807
|
+
"description": "Nile icon component.\n\nEvents:\n\n * `nile-focus` {`Event`} - \n\n * `nile-blur` {`Event`} - \n\nAttributes:\n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `error-message` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\nProperties:\n\n * `codeEditor` {`HTMLInputElement`} - \n\n * `value` {`string`} - \n\n * `expandIcon` {`string`} - \n\n * `placeholder` {`string`} - \n\n * `customAutoCompletions` - \n\n * `customCompletionsPaths` {`string[]`} - \n\n * `language` {`\"html\" | \"javascript\" | \"sql\" | \"json\"`} - \n\n * `errorMessage` {`string`} - \n\n * `error` {`boolean`} - \n\n * `noborder` {`boolean`} - \n\n * `multiline` {`boolean`} - \n\n * `enableFoldGutters` {`boolean`} - \n\n * `allowVariableInCustomSuggestion` {`boolean`} - \n\n * `lineNumbers` {`boolean`} - \n\n * `disableSyntaxHighlighting` {`boolean`} - \n\n * `customThemeCSS` {`object | null`} - \n\n * `lineNumbersMultiline` {`boolean`} - \n\n * `hasScroller` {`boolean`} - \n\n * `expandable` {`boolean`} - \n\n * `readonly` {`boolean`} - \n\n * `debounce` {`boolean`} - \n\n * `debounceTimeout` {`number`} - \n\n * `view` - \n\n * `viewState` - \n\n * `timeOut` - \n\n * `lineNumbersComp` - \n\n * `restrictSingleLineComp` - \n\n * `readOnlyComp` - \n\n * `customCompletionComp` - \n\n * `placeholderComp` - \n\n * `defaultSyntaxHighlightingComp` - \n\n * `themeComp` - \n\n * `customAutocomplete` - Custom autocomplete handler for code editor suggestions\n\n * `insertBetweenCode` - \n\n * `BUBBLES` {`boolean`} - \n\n * `COMPOSED` {`boolean`} - \n\n * `CANCELABLE` {`boolean`} - ",
|
798
808
|
"attributes": [
|
799
809
|
{
|
800
810
|
"name": "value",
|
@@ -853,6 +863,11 @@
|
|
853
863
|
"description": "`multiline` {`boolean`} - \n\nProperty: multiline\n\nDefault: false",
|
854
864
|
"valueSet": "v"
|
855
865
|
},
|
866
|
+
{
|
867
|
+
"name": "enableFoldGutters",
|
868
|
+
"description": "`enableFoldGutters` {`boolean`} - \n\nProperty: enableFoldGutters\n\nDefault: false",
|
869
|
+
"valueSet": "v"
|
870
|
+
},
|
856
871
|
{
|
857
872
|
"name": "allowVariableInCustomSuggestion",
|
858
873
|
"description": "`allowVariableInCustomSuggestion` {`boolean`} - \n\nProperty: allowVariableInCustomSuggestion\n\nDefault: false",
|