-
-
- {#if context}
+
+
+ {#if filteredColumns?.length}
- Columns
+ Columns
- {#each context.filter( context => context.readableBinding.match(searchRgx) ) as { readableBinding }}
+ {#each filteredColumns as { readableBinding }}
- {
value = addToText(value, getCaretPosition(), readableBinding)
@@ -71,39 +52,29 @@
{/if}
- {#if instance}
+ {#if filteredHelpers?.length}
- Components
+ Helpers
- {#each instance.filter( instance => instance.readableBinding.match(searchRgx) ) as { readableBinding }}
- - addToText(readableBinding)}>
- {readableBinding}
+ {#each filteredHelpers as helper}
+
- {
+ value = addToText(value, getCaretPosition(), helper.text)
+ }}
+ >
+
+
{helper.displayText}
+
+ {@html helper.description}
+
+
{helper.example || ''}
+
{/each}
{/if}
-
- Helpers
-
- {#each helpers.filter(helper => helper.label.match(searchRgx) || helper.description.match(searchRgx)) as helper}
- - {
- value = addToText(value, getCaretPosition(), helper.text)
- }}
- >
-
-
-
- {@html helper.description}
-
-
{helper.example || ''}
-
-
- {/each}
-
-
-
+