|
|
(5 intermediate revisions by one user not shown) |
Line 1: |
Line 1: |
− | '''API Builder:'''
| + | {{#iDisplay:http://developer.ad4game.com/advertiserapi.html|800|800}} |
− | <form>
| + | |
− | <table ng-show="apiCallArgs.methodSpecificArgs.length > 0" class="table table-bordered api-builder-inputs">
| + | |
− | <thead>
| + | |
− | <tr>
| + | |
− | <th>Parameter</th>
| + | |
− | <th>Value</th>
| + | |
− | </tr>
| + | |
− | </thead>
| + | |
− | <tbody>
| + | |
− | <!-- ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> fields</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of Model Fields</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ --><div ng-switch-when="@fields@" class="ng-scope">
| + | |
− | <div arg="arg" has-fields-arg="" class="ng-isolate-scope"><ul class="unstyled">
| + | |
− | | + | |
− | <!-- ngRepeat: field in arg.value -->
| + | |
− | | + | |
− | <li class="add-next-input">
| + | |
− | <div ng-hide="getUnselectedModelFields(arg).length == 0">
| + | |
− | <select ng-options="field.name for field in getUnselectedModelFields(arg) | orderBy:'name'" ng-change="addNewField()" ng-model="newField" class="input-large ng-pristine ng-untouched ng-valid"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.device_os_version</option><option value="13">ConversionsMobile.google_aid</option><option value="14">ConversionsMobile.google_aid_md5</option><option value="15">ConversionsMobile.google_aid_sha1</option><option value="16">ConversionsMobile.ios_ifa</option><option value="17">ConversionsMobile.ios_ifa_md5</option><option value="18">ConversionsMobile.ios_ifa_sha1</option><option value="19">ConversionsMobile.ios_ifv</option><option value="20">ConversionsMobile.mac_address</option><option value="21">ConversionsMobile.mac_address_md5</option><option value="22">ConversionsMobile.mac_address_sha1</option><option value="23">ConversionsMobile.odin</option><option value="24">ConversionsMobile.unknown_id</option><option value="25">ConversionsMobile.user_id</option><option value="26">ConversionsMobile.windows_aid</option><option value="27">ConversionsMobile.windows_aid_md5</option><option value="28">ConversionsMobile.windows_aid_sha1</option><option value="29">Country.name</option><option value="30">Goal.name</option><option value="31">Offer.name</option><option value="32">OfferUrl.id</option><option value="33">OfferUrl.name</option><option value="34">OfferUrl.preview_url</option><option value="35">PayoutGroup.id</option><option value="36">PayoutGroup.name</option><option value="37">Stat.ad_id</option><option value="38">Stat.affiliate_info1</option><option value="39">Stat.affiliate_info2</option><option value="40">Stat.affiliate_info3</option><option value="41">Stat.affiliate_info4</option><option value="42">Stat.affiliate_info5</option><option value="43">Stat.approved_payout</option><option value="44">Stat.conversion_status</option><option value="45">Stat.count_approved</option><option value="46">Stat.currency</option><option value="47">Stat.date</option><option value="48">Stat.datetime</option><option value="49">Stat.goal_id</option><option value="50">Stat.hour</option><option value="51">Stat.id</option><option value="52">Stat.ip</option><option value="53">Stat.is_adjustment</option><option value="54">Stat.month</option><option value="55">Stat.offer_id</option><option value="56">Stat.offer_url_id</option><option value="57">Stat.pixel_refer</option><option value="58">Stat.refer</option><option value="59">Stat.sale_amount</option><option value="60">Stat.session_ip</option><option value="61">Stat.source</option><option value="62">Stat.user_agent</option><option value="63">Stat.week</option><option value="64">Stat.year</option></select>
| + | |
− | </div>
| + | |
− | </li>
| + | |
− | </ul>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> groups</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of string</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array --><div ng-switch-when="array" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-array-arg="" class="ng-isolate-scope"><ul class="unstyled">
| + | |
− | <!-- ngRepeat: value in arg.value track by $index -->
| + | |
− | | + | |
− | <li class="add-next-input">
| + | |
− | <!-- If allowed values are not declared, initialize new value to empty string -->
| + | |
− | <div ng-show="arg.selectedDataType.allowedValues == null" class="ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="addNewValue('')"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | | + | |
− | <!-- If allowed values are declared, populate drop-down with unused ones and add on selection -->
| + | |
− | <div ng-show="arg.selectedDataType.allowedValues != null">
| + | |
− | <div ng-hide="getUnusedAllowedValues().length == 0">
| + | |
− | <select ng-options="val for val in getUnusedAllowedValues()" ng-change="addNewValue(newVal);newVal=null;" ng-model="newVal" class="input-large ng-pristine ng-valid ng-touched"><option value="" class="">-- Choose One --</option><option value="0">Browser.display_name</option><option value="1">Country.name</option><option value="2">Goal.name</option><option value="3">Offer.name</option><option value="4">OfferUrl.id</option><option value="5">OfferUrl.name</option><option value="6">Stat.affiliate_info1</option><option value="7">Stat.affiliate_info2</option><option value="8">Stat.affiliate_info3</option><option value="9">Stat.affiliate_info4</option><option value="10">Stat.affiliate_info5</option><option value="11">Stat.currency</option><option value="12">Stat.date</option><option value="13">Stat.goal_id</option><option value="14">Stat.hour</option><option value="15">Stat.month</option><option value="16">Stat.offer_id</option><option value="17">Stat.offer_url_id</option><option value="18">Stat.source</option><option value="19">Stat.week</option><option value="20">Stat.year</option></select>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </li>
| + | |
− | </ul>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> filters</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Report Filter</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ --><div ng-switch-when="@report_filter@" class="ng-scope">
| + | |
− | <div arg="arg" has-report-filter-arg="" class="ng-isolate-scope"><!-- ngRepeat: fieldFilter in arg.value -->
| + | |
− | | + | |
− | <div style="clear: both;" ng-show="getFilterableFields().length > 0">
| + | |
− | <select ng-options="field.name for field in getFilterableFields() | orderBy:'name'" ng-change="addNewFieldFilter()" ng-model="newField" class="input-large ng-pristine ng-valid ng-touched"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.device_os_version</option><option value="13">ConversionsMobile.google_aid</option><option value="14">ConversionsMobile.google_aid_md5</option><option value="15">ConversionsMobile.google_aid_sha1</option><option value="16">ConversionsMobile.ios_ifa</option><option value="17">ConversionsMobile.ios_ifa_md5</option><option value="18">ConversionsMobile.ios_ifa_sha1</option><option value="19">ConversionsMobile.ios_ifv</option><option value="20">ConversionsMobile.mac_address</option><option value="21">ConversionsMobile.mac_address_md5</option><option value="22">ConversionsMobile.mac_address_sha1</option><option value="23">ConversionsMobile.odin</option><option value="24">ConversionsMobile.unknown_id</option><option value="25">ConversionsMobile.user_id</option><option value="26">ConversionsMobile.windows_aid</option><option value="27">ConversionsMobile.windows_aid_md5</option><option value="28">ConversionsMobile.windows_aid_sha1</option><option value="29">Country.name</option><option value="30">Goal.name</option><option value="31">Offer.name</option><option value="32">OfferUrl.id</option><option value="33">OfferUrl.name</option><option value="34">OfferUrl.preview_url</option><option value="35">PayoutGroup.id</option><option value="36">PayoutGroup.name</option><option value="37">Stat.ad_id</option><option value="38">Stat.affiliate_info1</option><option value="39">Stat.affiliate_info2</option><option value="40">Stat.affiliate_info3</option><option value="41">Stat.affiliate_info4</option><option value="42">Stat.affiliate_info5</option><option value="43">Stat.approved_payout</option><option value="44">Stat.conversion_status</option><option value="45">Stat.count_approved</option><option value="46">Stat.currency</option><option value="47">Stat.date</option><option value="48">Stat.datetime</option><option value="49">Stat.goal_id</option><option value="50">Stat.hour</option><option value="51">Stat.id</option><option value="52">Stat.ip</option><option value="53">Stat.is_adjustment</option><option value="54">Stat.month</option><option value="55">Stat.offer_id</option><option value="56">Stat.offer_url_id</option><option value="57">Stat.pixel_refer</option><option value="58">Stat.refer</option><option value="59">Stat.sale_amount</option><option value="60">Stat.session_ip</option><option value="61">Stat.source</option><option value="62">Stat.user_agent</option><option value="63">Stat.week</option><option value="64">Stat.year</option></select>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> sort</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Sort</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ --><div ng-switch-when="@sort@" class="ng-scope">
| + | |
− | <div arg="arg" has-sort-arg="" class="ng-isolate-scope"><ul class="unstyled">
| + | |
− | | + | |
− | <!-- ngRepeat: sortCombo in arg.value --><li>
| + | |
− | | + | |
− | <div ng-hide="getUnusedSortFields().length == 0">
| + | |
− | <select ng-options="field.name for field in getUnusedSortFields() | orderBy:'name'" ng-change="addNewSortField()" ng-model="newSortField" class="input-large ng-pristine ng-valid ng-touched"><option value="" class="">-- Choose a Field --</option><option value="0">Browser.display_name</option><option value="1">Browser.id</option><option value="2">ConversionMeta.note</option><option value="3">ConversionsMobile.android_id</option><option value="4">ConversionsMobile.android_id_md5</option><option value="5">ConversionsMobile.android_id_sha1</option><option value="6">ConversionsMobile.device_brand</option><option value="7">ConversionsMobile.device_id</option><option value="8">ConversionsMobile.device_id_md5</option><option value="9">ConversionsMobile.device_id_sha1</option><option value="10">ConversionsMobile.device_model</option><option value="11">ConversionsMobile.device_os</option><option value="12">ConversionsMobile.device_os_version</option><option value="13">ConversionsMobile.google_aid</option><option value="14">ConversionsMobile.google_aid_md5</option><option value="15">ConversionsMobile.google_aid_sha1</option><option value="16">ConversionsMobile.ios_ifa</option><option value="17">ConversionsMobile.ios_ifa_md5</option><option value="18">ConversionsMobile.ios_ifa_sha1</option><option value="19">ConversionsMobile.ios_ifv</option><option value="20">ConversionsMobile.mac_address</option><option value="21">ConversionsMobile.mac_address_md5</option><option value="22">ConversionsMobile.mac_address_sha1</option><option value="23">ConversionsMobile.odin</option><option value="24">ConversionsMobile.unknown_id</option><option value="25">ConversionsMobile.user_id</option><option value="26">ConversionsMobile.windows_aid</option><option value="27">ConversionsMobile.windows_aid_md5</option><option value="28">ConversionsMobile.windows_aid_sha1</option><option value="29">Country.name</option><option value="30">Goal.name</option><option value="31">Offer.name</option><option value="32">OfferUrl.id</option><option value="33">OfferUrl.name</option><option value="34">OfferUrl.preview_url</option><option value="35">PayoutGroup.id</option><option value="36">PayoutGroup.name</option><option value="37">Stat.ad_id</option><option value="38">Stat.affiliate_info1</option><option value="39">Stat.affiliate_info2</option><option value="40">Stat.affiliate_info3</option><option value="41">Stat.affiliate_info4</option><option value="42">Stat.affiliate_info5</option><option value="43">Stat.approved_payout</option><option value="44">Stat.conversion_status</option><option value="45">Stat.count_approved</option><option value="46">Stat.currency</option><option value="47">Stat.date</option><option value="48">Stat.datetime</option><option value="49">Stat.goal_id</option><option value="50">Stat.hour</option><option value="51">Stat.id</option><option value="52">Stat.ip</option><option value="53">Stat.is_adjustment</option><option value="54">Stat.month</option><option value="55">Stat.offer_id</option><option value="56">Stat.offer_url_id</option><option value="57">Stat.pixel_refer</option><option value="58">Stat.refer</option><option value="59">Stat.sale_amount</option><option value="60">Stat.session_ip</option><option value="61">Stat.source</option><option value="62">Stat.user_agent</option><option value="63">Stat.week</option><option value="64">Stat.year</option></select>
| + | |
− | </div>
| + | |
− | | + | |
− | </li></ul>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> limit</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
| + | |
− | <!-- if allowed values are declared, constrain values in dropdown -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues != null -->
| + | |
− | | + | |
− | <!-- If values are unrestricted, put editable free-form input box -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
| + | |
− | <input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-valid ng-touched">
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null" class="">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> page</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
| + | |
− | <!-- if allowed values are declared, constrain values in dropdown -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues != null -->
| + | |
− | | + | |
− | <!-- If values are unrestricted, put editable free-form input box -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
| + | |
− | <input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> totals</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">boolean</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean --><div ng-switch-when="boolean" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' --><span ng-if="arg.selectedDataType.name =='boolean'" class="ng-scope">
| + | |
− | <select ng-options="boolToStr(opt) for opt in [true, false]" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid"><option value="" selected="selected"></option><option value="0">True</option><option value="1">False</option></select>
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> data_start</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">string</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string --><div ng-switch-when="string" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
| + | |
− | <!-- if allowed values are declared, constrain values in dropdown -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues != null -->
| + | |
− | | + | |
− | <!-- If values are unrestricted, put editable free-form input box -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
| + | |
− | <input type="text" placeholder="string" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> data_end</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">string</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string --><div ng-switch-when="string" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
| + | |
− | <!-- if allowed values are declared, constrain values in dropdown -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues != null -->
| + | |
− | | + | |
− | <!-- If values are unrestricted, put editable free-form input box -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
| + | |
− | <input type="text" placeholder="string" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> count</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">boolean</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean --><div ng-switch-when="boolean" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' --><span ng-if="arg.selectedDataType.name =='boolean'" class="ng-scope">
| + | |
− | <select ng-options="boolToStr(opt) for opt in [true, false]" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid"><option value="" selected="selected"></option><option value="0">True</option><option value="1">False</option></select>
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> hour_offset</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">integer</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer --><div ng-switch-when="integer" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-arg="" class="ng-isolate-scope"><div ng-show="arg.value != null" class="input-append ng-hide">
| + | |
− | <button class="btn" type="button" ng-click="destroyValue()"><i class="icon-trash"></i></button>
| + | |
− | <!-- ngIf: arg.selectedDataType.name =='boolean' -->
| + | |
− | <!-- ngIf: arg.selectedDataType.name !='boolean' --><span ng-if="arg.selectedDataType.name !='boolean'" class="ng-scope">
| + | |
− | <!-- if allowed values are declared, constrain values in dropdown -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues != null -->
| + | |
− | | + | |
− | <!-- If values are unrestricted, put editable free-form input box -->
| + | |
− | <!-- ngIf: arg.selectedDataType.allowedValues == null --><span ng-if="arg.selectedDataType.allowedValues == null" class="ng-scope">
| + | |
− | <input type="text" placeholder="integer" ng-model="arg.value" class="input-medium ng-pristine ng-untouched ng-valid">
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.allowedValues == null -->
| + | |
− | </span><!-- end ngIf: arg.selectedDataType.name !='boolean' -->
| + | |
− | </div>
| + | |
− | | + | |
− | <div ng-show="arg.value == null">
| + | |
− | <button class="btn" type="button" ng-click="initializeValue()"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs --><tr ng-repeat="arg in apiCallArgs.methodSpecificArgs" class="ng-scope">
| + | |
− | <td>
| + | |
− | <strong class="ng-binding"><span class="label label-important required-indicator ng-hide" ng-show="arg.param.isRequired"><i class="icon-asterisk"></i></span> status_update_fields</strong>
| + | |
− | <div ng-show="arg.param.allowedDataTypes.length > 1" class="ng-hide">
| + | |
− | Choose Parameter Type:<br><select ng-options="DataTypeDescriber.getParamDataTypeDescription(dataType) for dataType in arg.param.allowedDataTypes" ng-change="resetArgValue(arg)" ng-model="arg.selectedDataType" class="ng-pristine ng-untouched ng-valid"><option value="0" selected="selected">Array of mixed</option></select>
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | | + | |
− | <td>
| + | |
− | <div style="clear: both; padding-top: 2px;" ng-switch="arg.selectedDataType.name">
| + | |
− | <!-- ngSwitchWhen: @contain@ -->
| + | |
− | <!-- ngSwitchWhen: @data@ -->
| + | |
− | <!-- ngSwitchWhen: @field@ -->
| + | |
− | <!-- ngSwitchWhen: @fields@ -->
| + | |
− | <!-- ngSwitchWhen: @filter@ -->
| + | |
− | <!-- ngSwitchWhen: @report_filter@ -->
| + | |
− | <!-- ngSwitchWhen: @sort@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object@ -->
| + | |
− | <!-- ngSwitchWhen: @structured_object_array@ -->
| + | |
− | <!-- ngSwitchWhen: @unstructured_object@ -->
| + | |
− | <!-- ngSwitchWhen: integer -->
| + | |
− | <!-- ngSwitchWhen: boolean -->
| + | |
− | <!-- ngSwitchWhen: string -->
| + | |
− | <!-- ngSwitchWhen: mixed -->
| + | |
− | <!-- ngSwitchWhen: array --><div ng-switch-when="array" class="ng-scope">
| + | |
− | <div arg="arg" has-primitive-array-arg="" class="ng-isolate-scope"><ul class="unstyled">
| + | |
− | <!-- ngRepeat: value in arg.value track by $index -->
| + | |
− | | + | |
− | <li class="add-next-input">
| + | |
− | <!-- If allowed values are not declared, initialize new value to empty string -->
| + | |
− | <div ng-show="arg.selectedDataType.allowedValues == null">
| + | |
− | <button class="btn" type="button" ng-click="addNewValue('')"><i class="icon-plus"></i> Add</button>
| + | |
− | </div>
| + | |
− | | + | |
− | <!-- If allowed values are declared, populate drop-down with unused ones and add on selection -->
| + | |
− | <div ng-show="arg.selectedDataType.allowedValues != null" class="ng-hide">
| + | |
− | <div ng-hide="getUnusedAllowedValues().length == 0" class="ng-hide">
| + | |
− | <select ng-options="val for val in getUnusedAllowedValues()" ng-change="addNewValue(newVal);newVal=null;" ng-model="newVal" class="input-large ng-pristine ng-untouched ng-valid"><option value="" class="">-- Choose One --</option></select>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </li>
| + | |
− | </ul>
| + | |
− | </div>
| + | |
− | </div><!-- end ngSwitchWhen: -->
| + | |
− | </div>
| + | |
− | </td>
| + | |
− | </tr><!-- end ngRepeat: arg in apiCallArgs.methodSpecificArgs -->
| + | |
− | </tbody>
| + | |
− | </table>
| + | |
− | </form>
| + | |