UNPKG

@thingjs/xplugin-bundle

Version:

xplugin-bundle ThingJS-X 插件描述文件

1 lines 3.17 kB
var e=self,t=()=>(()=>{"use strict";var n={671:(e,t,n)=>{n.d(t,{Z:()=>function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}})},144:(e,t,n)=>{function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,{Z:()=>function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}})},942:(e,t,n)=>{n.d(t,{Z:()=>function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}})}},r={};function i(e){var t=r[e];return void 0===t&&(t=r[e]={exports:{}},n[e](t,t.exports,i)),t.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var t,a,o,e,u={};return i.d(u,{default:()=>e}),t=i(671),a=i(144),o=i(942),e=function(){function e(){(0,t.Z)(this,e)}return(0,a.Z)(e,null,[{key:"getLayerLabel",value:function(){return this.map.get(e.LAYER)}},{key:"getBusinessLabel",value:function(){return this.map.get(e.BUSINESS)}},{key:"getActionLabel",value:function(){return this.map.get(e.ACTION)}},{key:"getPanelLabel",value:function(){return this.map.get(e.PANEL)}},{key:"getControlLabel",value:function(){return this.map.get(e.CONTROL)}},{key:"getCoreLabel",value:function(){return this.map.get(e.CORE)}},{key:"getSkinLabel",value:function(){return this.map.get(e.SKIN)}},{key:"getSkin",value:function(){return new(function(){return(0,a.Z)(function e(){(0,t.Z)(this,e),(0,o.Z)(this,"BUSINESS_VALUE","skinBusiness"),(0,o.Z)(this,"BUSINESS_LABEL","业务栏"),(0,o.Z)(this,"CHART_PANEL_VALUE","skinChartPanel"),(0,o.Z)(this,"CHART_PANEL_LABEL","图表面板"),(0,o.Z)(this,"LAYER_VALUE","skinLayer"),(0,o.Z)(this,"LAYER_LABEL","场景图层"),(0,o.Z)(this,"DIGITAL_TWIN_PANEL_VALUE","skinDigitalTwinPanel"),(0,o.Z)(this,"DIGITAL_TWIN_PANEL_LABEL","孪生体面板"),(0,o.Z)(this,"CONTROL_VALUE","skinControl"),(0,o.Z)(this,"CONTROL_LABEL","场景控制"),(0,o.Z)(this,"IMAGE_VALUE","skinImage"),(0,o.Z)(this,"IMAGE_LABEL","界面底图")})}())}},{key:"getExpandLabel",value:function(){return this.map.get(e.EXPAND)}},{key:"getPluginChartLabel",value:function(){return this.map.get(e.PLUGINCHART)}},{key:"getZeroChartLabel",value:function(){return this.map.get(e.ZEROCHART)}}]),e}(),(0,o.Z)(e,"LAYER","layer"),(0,o.Z)(e,"BUSINESS","business"),(0,o.Z)(e,"ACTION","action"),(0,o.Z)(e,"PANEL","panel"),(0,o.Z)(e,"CONTROL","control"),(0,o.Z)(e,"CORE","core"),(0,o.Z)(e,"SKIN","skin"),(0,o.Z)(e,"EXPAND","expand"),(0,o.Z)(e,"PLUGINCHART","pluginChart"),(0,o.Z)(e,"ZEROCHART","zeroChart"),(0,o.Z)(e,"map",(new Map).set(e.LAYER,"场景图层插件").set(e.BUSINESS,"业务").set(e.ACTION,"操作原子").set(e.PANEL,"孪生体面板").set(e.CONTROL,"场景控制").set(e.CORE,"系统插件").set(e.SKIN,"界面模板").set(e.EXPAND,"扩展插件")),u.default})();"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.XPluginEnum=t():e.XPluginEnum=t();