{"version":3,"sources":["https://lively-kernel.org/lively4/BP2019RH-stable/components/bp2019-y-axis-group-widget.js"],"names":["GroupWidget","Bp2019YAxisGroupWidget","initialize","initializeWithData","attributes","themeString","includes","splice","indexOf","_setSelectionOptions","attributeSelect","appendChild","Option"],"mappings":"AAAA;;;;;;;;AAEOA,iB;;;;;;;;;;;;;;;;;;AAEQ,YAAMC,sBAAN,SAAqCD,WAArC,CAAiD;AAC9D,cAAME,UAAN,GAAmB;AACjB,gBAAM,MAAMA,UAAN,EAAN;AACD;;AAEDC,2BAAmBC,UAAnB,EAA+B;AAC7B,cAAIC,cAAc,QAAlB;AACA,cAAID,WAAWE,QAAX,CAAoBD,WAApB,CAAJ,EAAsC;AACpCD,uBAAWG,MAAX,CAAkBH,WAAWI,OAAX,CAAmBH,WAAnB,CAAlB,EAAmD,CAAnD;AACD;AACD,eAAKI,oBAAL,CAA0BL,UAA1B;AACA,eAAKM,eAAL,CAAqBC,WAArB,CAAiC,IAAIC,MAAJ,CAAW,QAAX,CAAjC;AACD;AAZ6D;;yBAA3CX,sB","file":"bp2019-y-axis-group-widget.js","sourcesContent":["\"enable aexpr\";\n\nimport GroupWidget from \"./bp2019-group-widget.js\"\n\nexport default class Bp2019YAxisGroupWidget extends GroupWidget {\n  async initialize() {\n    await super.initialize()\n  }\n  \n  initializeWithData(attributes) {\n    let themeString = \"themes\"\n    if (attributes.includes(themeString)) {\n      attributes.splice(attributes.indexOf(themeString), 1)\n    }\n    this._setSelectionOptions(attributes);\n    this.attributeSelect.appendChild(new Option(\"amount\"));\n  }\n}"]}