1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/wizard-mapper-pair.hbs

41 Zeilen
804 B
Handlebars

2020-04-01 07:03:26 +02:00
<div class="key mapper-block">
{{wizard-mapper-selector
2021-04-12 16:19:53 +02:00
selectorType="key"
2020-04-01 07:03:26 +02:00
inputType=inputType
value=pair.key
activeType=pair.key_type
2020-04-20 11:41:13 +02:00
options=options
2023-07-10 08:55:54 +02:00
onUpdate=onUpdate
}}
2020-04-01 07:03:26 +02:00
</div>
2020-04-02 07:21:57 +02:00
{{wizard-mapper-connector
connector=pair.connector
2020-04-15 07:22:21 +02:00
connectors=connectors
connectorType="pair"
inputType=inputType
2020-04-20 11:41:13 +02:00
options=options
2023-07-10 08:55:54 +02:00
onUpdate=onUpdate
}}
2020-04-01 07:03:26 +02:00
<div class="value mapper-block">
{{wizard-mapper-selector
2021-04-12 16:19:53 +02:00
selectorType="value"
2020-04-01 07:03:26 +02:00
inputType=inputType
value=pair.value
activeType=pair.value_type
2020-04-20 11:41:13 +02:00
options=options
onUpdate=onUpdate
2023-07-10 08:55:54 +02:00
connector=pair.connector
}}
2020-04-01 07:03:26 +02:00
</div>
{{#if showJoin}}
<span class="join-pair">&</span>
{{/if}}
{{#if showRemove}}
2023-07-10 08:55:54 +02:00
<a role="button" {{action removePair pair}} class="remove-pair">{{d-icon
"times"
}}</a>
{{/if}}