Draft Inverse Bloom Filter
This commit is contained in:
@@ -47,11 +47,9 @@
|
||||
</template>
|
||||
|
||||
<template v-if="state.methods.length && state.primitive">
|
||||
<h2>Methods</h2>
|
||||
|
||||
<div class="form-group-row" :class="{ 'extended': state.selectedMethod?.extendedInput }">
|
||||
<div class="form-group select-group">
|
||||
<label for="functionSelect">Select Function</label>
|
||||
<label for="functionSelect">Method</label>
|
||||
<select v-model="state.selectedMethod">
|
||||
<option v-for="method of props.methods" :key="method.label" :value="method">{{ method.label }}</option>
|
||||
</select>
|
||||
@@ -192,6 +190,14 @@ async function setPrimitive(functionToExecute: () => Primitive | Promise<Primiti
|
||||
state.value.toFunctions.forEach((wrappedMethod, i) => {
|
||||
state.value.toFunctions[i].result = wrappedMethod.callback(state.value.primitive)
|
||||
});
|
||||
|
||||
state.value.methods.forEach((method, i) => {
|
||||
state.value.methods[i].models.forEach((model, j) => {
|
||||
state.value.methods[i].models[j] = '';
|
||||
});
|
||||
|
||||
state.value.methods[i].result = '';
|
||||
});
|
||||
} catch(error: any) {
|
||||
state.value.error = `${error}`;
|
||||
}
|
||||
|
||||
@@ -22,6 +22,10 @@ import {
|
||||
|
||||
# Primitive Tools
|
||||
|
||||
These primitives map closely to a primitives package that will be provided by XO in future.
|
||||
|
||||
Note that these are still unstable and will change in future.
|
||||
|
||||
## Address
|
||||
|
||||
<div class="tool">
|
||||
|
||||
Reference in New Issue
Block a user