text: System.register(["jimu-core","jimu-for-builder","jimu-ui/advanced/data-source-selector"],(function(e){var t,r,n;return{setters:[function(e){t=e},function(e){r=e},function(e){n=e}],execute:function(){e(function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=352)}({0:function(e,r){e.exports=t},11:function(e,t){e.exports=n},352:function(e,t,r){"use strict";r.r(t);var n,o=r(0),u=r(8),a=r(11),s=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.supportedTypes=Object(o.Immutable)([o.DataSourceTypes.FeatureSet]),t.dsManager=o.DataSourceManager.getInstance(),t.onFieldSelected=function(e,r){t.props.onSettingChange({id:t.props.id,useDataSources:[c(c({},t.props.useDataSources[0]),{fields:e.map((function(e){return e.jimuName}))})]})},t.onDataSourceChange=function(e){t.props.onSettingChange({id:t.props.id,useDataSources:e})},t}return s(t,e),t.prototype.render=function(){return o.React.createElement("div",{className:"use-feature-layer-setting p-2"},o.React.createElement(a.DataSourceSelector,{mustUseDataSource:!0,types:this.supportedTypes,useDataSources:this.props.useDataSources,useDataSourcesEnabled:this.props.useDataSourcesEnabled,onChange:this.onDataSourceChange,widgetId:this.props.id}),o.React.createElement("div",{className:"mt-2"},"Please choose a Field to query:",o.React.createElement(a.FieldSelector,{useDataSources:this.props.useDataSources,onChange:this.onFieldSelected,selectedFields:this.props.useDataSources[0].fields||Object(o.Immutable)([])})))},t}(u.BaseWidgetSetting);t.default=i},8:function(e,t){e.exports=r}}))}}}));