// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
require({cache:{"url:widgets/BatchAttributeEditor/setting/SymChooser.html":'\x3cdiv style\x3d"height:100%;width:100%;overflow:auto"\x3e\r\n\t\x3cdiv data-dojo-attach-point\x3d"symbolPage"\x3e\r\n\t\t\x3cdiv data-dojo-attach-point\x3d"symbolSelector" data-dojo-type\x3d"jimu/dijit/SymbolChooser"\x3e\x3c/div\x3e\r\n\t\x3c/div\x3e\r\n\x3c/div\x3e\r\n\r\n'}});
define(["dojo/_base/declare","dijit/_WidgetsInTemplateMixin","jimu/BaseWidgetSetting","esri/symbols/jsonUtils","dojo/text!./SymChooser.html"],function(c,d,e,f,g){return c([e,d],{templateString:g,baseClass:"solutions-widget-batcheditor-setting",data:null,selectionSymbols:null,constructor:function(a){this.data=a.data;this.selectionSymbols=a.selectionSymbols},postCreate:function(){this.inherited(arguments);this.showSymbolSelector()},showSymbolSelector:function(){var a=null,b=this.data;this.selectionSymbols[b.id]&&
(a=f.fromJson(this.selectionSymbols[b.id]));null===a?"esriGeometryPolygon"===b.geometryType?this.symbolSelector.showByType("fill"):"esriGeometryPoint"===b.geometryType?this.symbolSelector.showByType("marker"):"esriGeometryPolyline"===b.geometryType&&this.symbolSelector.showByType("line"):this.symbolSelector.showBySymbol(a)},okPress:function(){return this.symbolSelector}})});