META-INF.spring-boot-admin-server-ui.extensions.custom.custom-ui.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-boot-admin-sample-custom-ui
Show all versions of spring-boot-admin-sample-custom-ui
Spring Boot Admin Server custom UI
{"version":3,"file":"custom-ui.js","sources":["../../src/custom-endpoint.vue","../../src/custom-subitem.vue","../../src/custom.vue","../../src/handle.vue","../../src/index.js"],"sourcesContent":["\n\n\n \n Instance:
\n Output:
\n \n\n\n\n\n\n","\n\n\n \n \n \n\n\n\n\n\n","\n\n\n \n \n \n This application has the following instances:\n\n \n \n - \n \n\n \n \n
\n \n \n \n
\n \n \n \n \n\n\n\n","\n\n\n \n \n (UP: {{ upCount }})\n \n\n\n\n","/*\n * Copyright 2014-2020 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* global SBA */\nimport customEndpoint from \"./custom-endpoint.vue\";\nimport customSubitem from \"./custom-subitem.vue\";\nimport custom from \"./custom.vue\";\nimport handle from \"./handle.vue\";\n\n// tag::customization-ui-toplevel[]\nSBA.use({\n install({ viewRegistry, i18n }) {\n viewRegistry.addView({\n name: \"custom\", //<1>\n path: \"/custom\", //<2>\n component: custom, //<3>\n group: \"custom\", //<4>\n handle, //<5>\n order: 1000, //<6>\n });\n i18n.mergeLocaleMessage(\"en\", {\n custom: {\n label: \"My Extensions\", //<7>\n },\n });\n i18n.mergeLocaleMessage(\"de\", {\n custom: {\n label: \"Meine Erweiterung\",\n },\n });\n },\n});\n// end::customization-ui-toplevel[]\n\n// tag::customization-ui-child[]\nSBA.viewRegistry.addView({\n name: \"customSub\",\n parent: \"custom\", // <1>\n path: \"/customSub\", // <2>\n component: customSubitem,\n label: \"Custom Sub\",\n order: 1000,\n});\n// end::customization-ui-child[]\n\nSBA.viewRegistry.addView({\n name: \"customSubUser\",\n parent: \"user\", // <1>\n path: \"/customSub\", // <2>\n component: customSubitem,\n label: \"Custom Sub In Usermenu\",\n order: 1000,\n});\n\n// tag::customization-ui-endpoint[]\nSBA.viewRegistry.addView({\n name: \"instances/custom\",\n parent: \"instances\", // <1>\n path: \"custom\",\n component: customEndpoint,\n label: \"Custom\",\n group: \"custom\", // <2>\n order: 1000,\n isEnabled: ({ instance }) => {\n return instance.hasEndpoint(\"custom\");\n }, // <3>\n});\n// end::customization-ui-endpoint[]\n\n// tag::customization-ui-groups[]\nSBA.viewRegistry.setGroupIcon(\n \"custom\", //<1>\n `` //<2>\n);\n// end::customization-ui-groups[]\n"],"names":["_sfc_main","_hoisted_1","_hoisted_2","_hoisted_3","_openBlock","_createElementBlock","_createElementVNode","_createTextVNode","_toDisplayString","_Fragment","_renderList","_createBlock","_withCtx","_createVNode","computed","handle"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,QAAKA,cAAU;AAAA,IACb,OAAO;AAAA,MACL,UAAU;AAAA;AAAA,QAER,MAAM;AAAA,QACN,UAAU;AAAA,MACX;AAAA,IACF;AAAA,IACD,MAAM,OAAO;AAAA,MACX,MAAM;AAAA,IACR;AAAA,IACM,UAAU;AAAA;AACd,gBAAQ,IAAI,KAAK,QAAQ;AACzB,cAAM,WAAW,MAAM,KAAK,SAAS,MAAM,IAAI,iBAAiB;AAChE,aAAK,OAAO,SAAS;AAAA,MACtB;AAAA;AAAA,EACH;AAvBO,QAAAC,eAAA,EAAA,OAAM,SAAQ;AAjBrB,QAAAC,eAAA,CAAA,aAAA;AAAA,QAAAC,eAAA,CAAA,WAAA;;AAiBE,WAAAC,cAAA,GAAAC,uBAGM,OAHNJ,cAGM;AAAA,MAFJK,IAA8C,mBAAA,KAAA,MAAA;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