@kui-shell/plugin-client-common
Version:
Kui plugin that offers stylesheets
46 lines • 1.68 kB
JavaScript
/*
* Copyright 2022 The Kubernetes Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const importa = (name = 'importa') => ({ name, children: [{ name: 'echo AAA' }] });
const importc = { name: 'importc', children: [{ name: 'echo CCC' }] };
const option2Tab2 = { name: 'Option 2: Tab2', children: [importc] };
const importe = { name: 'EEE', children: [{ name: 'Option 1: TabE1', children: [{ name: 'echo EEE' }] }] };
const importd = {
name: 'DDD',
children: [
{ name: 'Option 1: SubTab1', children: [{ name: 'echo AAA' }, { name: 'echo AAA' }, { name: 'echo AAA' }] },
{ name: 'Option 2: SubTab2', children: [{ name: 'echo BBB' }] }
]
};
const prerequisites = {
name: 'Prerequisites',
children: [importe, importd]
};
const mainTasks = {
name: 'Main Tasks',
children: [option2Tab2]
};
const IN1 = {
input: require.resolve('@kui-shell/plugin-client-common/tests/data/guidebook-tree-model1.md'),
tree: () => [
{
name: 'AAA',
children: [prerequisites, mainTasks]
}
]
};
export { importa, importc, importe, importd };
export default IN1;
//# sourceMappingURL=1.js.map