oc 0.49.21 → 0.49.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/cli/domain/get-mocked-plugins.js +2 -3
- package/dist/cli/domain/handle-dependencies/ensure-compiler-is-declared-as-devDependency.js +1 -2
- package/dist/cli/domain/local.d.ts +1 -1
- package/dist/cli/domain/registry.d.ts +1 -1
- package/dist/cli/programmatic-api.d.ts +2 -2
- package/dist/components/oc-client/_package/package.json +1 -1
- package/dist/components/oc-client/package.json +1 -1
- package/dist/registry/domain/components-cache/components-list.d.ts +3 -3
- package/dist/registry/domain/components-cache/components-list.js +28 -5
- package/dist/registry/domain/components-cache/index.js +27 -22
- package/dist/registry/domain/components-details.js +1 -2
- package/dist/registry/domain/events-handler.d.ts +3 -3
- package/dist/registry/domain/plugins-initialiser.d.ts +1 -1
- package/dist/registry/domain/repository.d.ts +1 -1
- package/dist/registry/domain/storage-adapter.d.ts +2 -2
- package/dist/registry/domain/url-builder.d.ts +1 -1
- package/dist/registry/domain/validators/node-version.d.ts +3 -3
- package/dist/registry/domain/validators/oc-cli-version.d.ts +3 -3
- package/dist/registry/domain/validators/plugins-requirements.d.ts +1 -1
- package/dist/registry/domain/validators/registry-configuration.d.ts +1 -1
- package/dist/registry/domain/validators/uploaded-package.d.ts +1 -1
- package/dist/registry/index.js +2 -3
- package/dist/registry/routes/helpers/get-available-dependencies.js +2 -3
- package/dist/registry/routes/helpers/get-component-fallback.d.ts +1 -1
- package/dist/registry/routes/helpers/is-url-discoverable.js +1 -2
- package/dist/registry/views/info.d.ts +1 -1
- package/dist/registry/views/partials/selected-checkbox.d.ts +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/utils/is-template-legacy.d.ts +1 -1
- package/logintervals.md +1 -1
- package/package.json +20 -20
- package/tsconfig.json +1 -1
- package/dist/components/oc-client/_package/src/oc-client.min.js +0 -3
- package/dist/components/oc-client/_package/src/oc-client.min.map +0 -1
- package/dist/components/oc-client/src/oc-client.min.js +0 -3
- package/dist/components/oc-client/src/oc-client.min.map +0 -1
- package/src/cli/commands.ts +0 -178
- package/src/cli/domain/clean.ts +0 -21
- package/src/cli/domain/get-components-by-dir.ts +0 -47
- package/src/cli/domain/get-mocked-plugins.ts +0 -154
- package/src/cli/domain/handle-dependencies/ensure-compiler-is-declared-as-devDependency.ts +0 -17
- package/src/cli/domain/handle-dependencies/get-compiler.ts +0 -35
- package/src/cli/domain/handle-dependencies/get-missing-dependencies.ts +0 -17
- package/src/cli/domain/handle-dependencies/index.ts +0 -93
- package/src/cli/domain/handle-dependencies/install-compiler.ts +0 -43
- package/src/cli/domain/handle-dependencies/install-missing-dependencies.ts +0 -48
- package/src/cli/domain/handle-dependencies/link-missing-dependencies.ts +0 -45
- package/src/cli/domain/handle-dependencies/require-template.ts +0 -62
- package/src/cli/domain/init-template/index.ts +0 -26
- package/src/cli/domain/init-template/install-template.ts +0 -52
- package/src/cli/domain/init-template/scaffold.ts +0 -45
- package/src/cli/domain/local.ts +0 -77
- package/src/cli/domain/mock.ts +0 -40
- package/src/cli/domain/package-components.ts +0 -61
- package/src/cli/domain/registry.ts +0 -147
- package/src/cli/domain/url-parser.ts +0 -44
- package/src/cli/domain/watch.ts +0 -33
- package/src/cli/facade/clean.ts +0 -75
- package/src/cli/facade/dev.ts +0 -214
- package/src/cli/facade/init.ts +0 -50
- package/src/cli/facade/mock.ts +0 -20
- package/src/cli/facade/package.ts +0 -65
- package/src/cli/facade/preview.ts +0 -28
- package/src/cli/facade/publish.ts +0 -209
- package/src/cli/facade/registry-add.ts +0 -23
- package/src/cli/facade/registry-ls.ts +0 -36
- package/src/cli/facade/registry-remove.ts +0 -23
- package/src/cli/facade/registry.ts +0 -9
- package/src/cli/index.ts +0 -142
- package/src/cli/logger.ts +0 -38
- package/src/cli/programmatic-api.ts +0 -142
- package/src/cli/validate-command.ts +0 -18
- package/src/components/oc-client/_package/package.json +0 -1
- package/src/components/oc-client/_package/server.js +0 -1
- package/src/components/oc-client/_package/src/oc-client.min.js +0 -3
- package/src/components/oc-client/_package/src/oc-client.min.map +0 -1
- package/src/components/oc-client/_package/template.js +0 -1
- package/src/components/oc-client/package.json +0 -26
- package/src/components/oc-client/server.js +0 -6
- package/src/components/oc-client/src/oc-client.min.js +0 -3
- package/src/components/oc-client/src/oc-client.min.map +0 -1
- package/src/components/oc-client/template.js +0 -4
- package/src/globals.d.ts +0 -103
- package/src/index.ts +0 -3
- package/src/oc-cli.js +0 -3
- package/src/registry/app-start.ts +0 -75
- package/src/registry/domain/authentication.ts +0 -59
- package/src/registry/domain/components-cache/components-list.ts +0 -70
- package/src/registry/domain/components-cache/index.ts +0 -90
- package/src/registry/domain/components-details.ts +0 -96
- package/src/registry/domain/events-handler.ts +0 -86
- package/src/registry/domain/extract-package.ts +0 -45
- package/src/registry/domain/get-package-json-from-temp-dir.ts +0 -9
- package/src/registry/domain/nested-renderer.ts +0 -88
- package/src/registry/domain/options-sanitiser.ts +0 -118
- package/src/registry/domain/plugins-initialiser.ts +0 -127
- package/src/registry/domain/register-templates.ts +0 -41
- package/src/registry/domain/repository.ts +0 -390
- package/src/registry/domain/require-wrapper.ts +0 -39
- package/src/registry/domain/sanitiser.ts +0 -60
- package/src/registry/domain/storage-adapter.ts +0 -85
- package/src/registry/domain/url-builder.ts +0 -80
- package/src/registry/domain/validators/component-parameters.ts +0 -112
- package/src/registry/domain/validators/index.ts +0 -24
- package/src/registry/domain/validators/node-version.ts +0 -59
- package/src/registry/domain/validators/oc-cli-version.ts +0 -52
- package/src/registry/domain/validators/package-json-validator.ts +0 -35
- package/src/registry/domain/validators/plugins-requirements.ts +0 -39
- package/src/registry/domain/validators/registry-configuration.ts +0 -143
- package/src/registry/domain/validators/uploaded-package.ts +0 -49
- package/src/registry/domain/version-handler.ts +0 -25
- package/src/registry/index.ts +0 -117
- package/src/registry/middleware/base-url-handler.ts +0 -16
- package/src/registry/middleware/cors.ts +0 -18
- package/src/registry/middleware/discovery-handler.ts +0 -20
- package/src/registry/middleware/file-uploads.ts +0 -28
- package/src/registry/middleware/index.ts +0 -53
- package/src/registry/middleware/request-handler.ts +0 -30
- package/src/registry/router.ts +0 -85
- package/src/registry/routes/component-info.ts +0 -119
- package/src/registry/routes/component-preview.ts +0 -87
- package/src/registry/routes/component.ts +0 -53
- package/src/registry/routes/components.ts +0 -107
- package/src/registry/routes/dependencies.ts +0 -27
- package/src/registry/routes/helpers/apply-default-values.ts +0 -29
- package/src/registry/routes/helpers/get-available-dependencies.ts +0 -31
- package/src/registry/routes/helpers/get-component-fallback.ts +0 -139
- package/src/registry/routes/helpers/get-component-retrieving-info.ts +0 -44
- package/src/registry/routes/helpers/get-component.ts +0 -583
- package/src/registry/routes/helpers/get-components-history.ts +0 -40
- package/src/registry/routes/helpers/is-url-discoverable.ts +0 -18
- package/src/registry/routes/index.ts +0 -127
- package/src/registry/routes/plugins.ts +0 -19
- package/src/registry/routes/publish.ts +0 -89
- package/src/registry/routes/static-redirector.ts +0 -74
- package/src/registry/views/index.ts +0 -66
- package/src/registry/views/info.ts +0 -89
- package/src/registry/views/partials/component-author.ts +0 -32
- package/src/registry/views/partials/component-parameters.ts +0 -53
- package/src/registry/views/partials/component-state.ts +0 -14
- package/src/registry/views/partials/component-versions.ts +0 -16
- package/src/registry/views/partials/components-dependencies.ts +0 -26
- package/src/registry/views/partials/components-history.ts +0 -24
- package/src/registry/views/partials/components-list.ts +0 -65
- package/src/registry/views/partials/components-plugins.ts +0 -23
- package/src/registry/views/partials/components-templates.ts +0 -36
- package/src/registry/views/partials/layout.ts +0 -32
- package/src/registry/views/partials/property.ts +0 -17
- package/src/registry/views/partials/selected-checkbox.ts +0 -16
- package/src/registry/views/preview.ts +0 -37
- package/src/registry/views/static/index.ts +0 -92
- package/src/registry/views/static/info.ts +0 -43
- package/src/registry/views/static/style.ts +0 -277
- package/src/resources/index.ts +0 -279
- package/src/resources/settings.ts +0 -17
- package/src/types.ts +0 -251
- package/src/utils/clean-require.ts +0 -35
- package/src/utils/date-stringify.ts +0 -23
- package/src/utils/error-to-string.ts +0 -13
- package/src/utils/is-template-legacy.ts +0 -7
- package/src/utils/is-template-valid.ts +0 -19
- package/src/utils/module-exists.ts +0 -14
- package/src/utils/npm-utils.ts +0 -109
- package/src/utils/put.ts +0 -35
- package/src/utils/strip-version.ts +0 -6
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ParsedComponent, VM } from '../../../types';
|
|
2
|
-
import getSelectedCheckbox from './selected-checkbox';
|
|
3
|
-
|
|
4
|
-
export default function componentsList(vm: VM): string {
|
|
5
|
-
const isLocal = vm.type !== 'oc-registry';
|
|
6
|
-
const selectedCheckbox = getSelectedCheckbox(vm);
|
|
7
|
-
|
|
8
|
-
const extraColumn = !isLocal
|
|
9
|
-
? '<div class="date">Updated</div><div class="activity">Activity</div>'
|
|
10
|
-
: '';
|
|
11
|
-
|
|
12
|
-
const componentRow = (component: ParsedComponent) => {
|
|
13
|
-
const componentState = component.oc.state
|
|
14
|
-
? `<div class="state component-state-${component.oc.state.toLowerCase()}">${
|
|
15
|
-
component.oc.state
|
|
16
|
-
}</div>`
|
|
17
|
-
: '';
|
|
18
|
-
|
|
19
|
-
const isHidden =
|
|
20
|
-
component.oc.state === 'deprecated' ||
|
|
21
|
-
component.oc.state === 'experimental';
|
|
22
|
-
|
|
23
|
-
const extraColumn = !isLocal
|
|
24
|
-
? `<div class="date">${
|
|
25
|
-
component.oc.stringifiedDate || ''
|
|
26
|
-
}</div><div class="activity">${component.allVersions.length}</div>`
|
|
27
|
-
: '';
|
|
28
|
-
|
|
29
|
-
return `<a href="${component.name}/${component.version}/~info">
|
|
30
|
-
<div id="component-${component.name}" class="componentRow row table${
|
|
31
|
-
isHidden ? ' hide' : ''
|
|
32
|
-
}">
|
|
33
|
-
<div class="title">
|
|
34
|
-
<p class="name">${component.name}</p>
|
|
35
|
-
<span class="description">${component.description}</span>
|
|
36
|
-
</div>
|
|
37
|
-
${componentState}
|
|
38
|
-
<div class="author">${component.author.name || ''}</div>
|
|
39
|
-
<div>${component.version}</div>
|
|
40
|
-
${extraColumn}
|
|
41
|
-
</div>
|
|
42
|
-
</a>`;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
return `<div id="components-list" class="box">
|
|
46
|
-
<form id="filter-components">
|
|
47
|
-
<div class="filters">
|
|
48
|
-
<input class="search-filter" type="text" placeholder="Filter by component name" />
|
|
49
|
-
<input class="author-filter" type="text" placeholder="Filter by component author" />
|
|
50
|
-
</div>
|
|
51
|
-
<div class="states">
|
|
52
|
-
<span>Hide:</span>
|
|
53
|
-
${selectedCheckbox('deprecated')}
|
|
54
|
-
${selectedCheckbox('experimental')}
|
|
55
|
-
</div>
|
|
56
|
-
</form>
|
|
57
|
-
<div class="row header componentRow table">
|
|
58
|
-
<div class="title"></div>
|
|
59
|
-
<div class="author">Author</div>
|
|
60
|
-
<div>Latest version</div>
|
|
61
|
-
${extraColumn}
|
|
62
|
-
</div>
|
|
63
|
-
${vm.components.map(componentRow).join('')}
|
|
64
|
-
</div>`;
|
|
65
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VM } from '../../../types';
|
|
2
|
-
|
|
3
|
-
export default function componentsPlugins(vm: VM): string {
|
|
4
|
-
const pluginRow = ([
|
|
5
|
-
name,
|
|
6
|
-
description
|
|
7
|
-
]: string[]) => `<div class="componentRow row table">
|
|
8
|
-
<p class="release">
|
|
9
|
-
<span style="font-weight: bold">${
|
|
10
|
-
name + (description ? ':' : '')
|
|
11
|
-
}</span>${description}
|
|
12
|
-
</p>
|
|
13
|
-
</div>
|
|
14
|
-
`;
|
|
15
|
-
|
|
16
|
-
const plugins = Object.entries(vm.availablePlugins).map(
|
|
17
|
-
([pluginName, fn]) => [pluginName, fn.toString()]
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
return `<div id="components-plugins" class="box">${
|
|
21
|
-
plugins.length ? plugins.map(pluginRow).join('') : 'No plugins registered'
|
|
22
|
-
}</div>`;
|
|
23
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { VM } from '../../../types';
|
|
2
|
-
|
|
3
|
-
export default function componentsTemplates(vm: VM): string {
|
|
4
|
-
const externalLink = ({
|
|
5
|
-
global,
|
|
6
|
-
url
|
|
7
|
-
}: {
|
|
8
|
-
global: string | string[];
|
|
9
|
-
url: string;
|
|
10
|
-
}) => `<a href="${url}" target="_blank">${global}</a>`;
|
|
11
|
-
|
|
12
|
-
const templateRow = ({
|
|
13
|
-
externals,
|
|
14
|
-
type,
|
|
15
|
-
version
|
|
16
|
-
}: {
|
|
17
|
-
type: string;
|
|
18
|
-
version: string;
|
|
19
|
-
externals: Array<{ global: string | string[]; url: string }>;
|
|
20
|
-
}) => {
|
|
21
|
-
const externalLinks = externals.map(externalLink).join(', ');
|
|
22
|
-
const externalsLabel = externalLinks ? `(Externals: ${externalLinks})` : '';
|
|
23
|
-
|
|
24
|
-
return `<div class="componentRow row table">
|
|
25
|
-
<p class="release">
|
|
26
|
-
<a href="https://www.npmjs.com/package/${type}" target="_blank">${type}@${version}</a>
|
|
27
|
-
${externalsLabel}
|
|
28
|
-
</p>
|
|
29
|
-
</div>
|
|
30
|
-
`;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
return `<div id="components-templates" class="box">${vm.templates
|
|
34
|
-
.map(templateRow)
|
|
35
|
-
.join('')}</div>`;
|
|
36
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import styleCSS from '../static/style';
|
|
2
|
-
|
|
3
|
-
const layout =
|
|
4
|
-
(vm: { title: string; href: string }) =>
|
|
5
|
-
({ content, scripts }: { content: string; scripts: string }): string => {
|
|
6
|
-
const href = vm.href.replace('http://', '//').replace('https://', '//');
|
|
7
|
-
|
|
8
|
-
return `<!DOCTYPE html><html>
|
|
9
|
-
<head>
|
|
10
|
-
<title>${vm.title}</title>
|
|
11
|
-
<meta name="robots" content="index, follow" />
|
|
12
|
-
<meta name="language" content="EN" />
|
|
13
|
-
<meta name="distribution" content="global" />
|
|
14
|
-
<style>${styleCSS}</style>
|
|
15
|
-
</head>
|
|
16
|
-
<body>
|
|
17
|
-
<a href="${vm.href}">
|
|
18
|
-
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAB0CAYAAADAUH2QAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABFhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ1dWlkOjY1RTYzOTA2ODZDRjExREJBNkUyRDg4N0NFQUNCNDA3IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOkE4NzVDRUU2RjI2MTExRTRCRUVCQTEwNEU0MzAzREYyIiB4bXBNTTpJbnN0YW5jZUlEP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wiXz4AlGfasxyxAo9L6yMqP1C5Vub8whagmJtj4OFCwCO8RuUx1cOjMr/UAhTTtGrg6YLAozyPViQoWw2DMag7rQIPHR6qw7wvk8yQ8pBjO2MQnNzejD1aBR52PKIdoCOvb/IM8iRTGHx/yymYAzwcRpBzrddmyGCjMhHPim95TanAo5pqMYhA4aUGvKiul3grNUxxHynwcG6QGTB9ab06CYGYCIhxbnkJeDgzSGJgCgnfeyFzgYczg5wDwy/JeNpNg0P3bo4RAzwSM8i5nJjPrbhRUyvGrRO/WrqfQx8DPDIzyBw40zfNLFsybpEOYArwSMogcwD1wtloyzVpzcq+fFNI4c4dr80ZpzJ/AR4wSBVQ7Ze1aE3sQ4AHDAJBZmqhCiAIBoEgGASCYBAIgkEgCAaBIBgEgmAQCIJBIAgGgSAIBoEgGASCKut/AQYALY/y72VIctEAAAAASUVORK5CYII=" />
|
|
19
|
-
</a>
|
|
20
|
-
<h1>OpenComponents Registry</h1>
|
|
21
|
-
${content}
|
|
22
|
-
<div class="social">
|
|
23
|
-
<iframe id="gh_badge" src="//ghbtns.com/github-btn.html?user=opencomponents&repo=oc&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
|
|
24
|
-
</div>
|
|
25
|
-
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
|
26
|
-
<script src="${href}oc-client/client.js"></script>
|
|
27
|
-
${scripts}
|
|
28
|
-
</body>
|
|
29
|
-
</html>`;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export default layout;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const property =
|
|
2
|
-
() =>
|
|
3
|
-
(
|
|
4
|
-
display: string,
|
|
5
|
-
value?: Date | string | number,
|
|
6
|
-
linked?: boolean
|
|
7
|
-
): string => {
|
|
8
|
-
if (!value) return '';
|
|
9
|
-
|
|
10
|
-
const label = linked
|
|
11
|
-
? `<a href="${value}">${value}</a>`
|
|
12
|
-
: `<span>${value}</span>`;
|
|
13
|
-
|
|
14
|
-
return `<div class="field"><p>${display}:</p> ${label}</div>`;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default property;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VM } from '../../../types';
|
|
2
|
-
|
|
3
|
-
type State = keyof VM['stateCounts'];
|
|
4
|
-
|
|
5
|
-
const selectedCheckbox =
|
|
6
|
-
(vm: VM) =>
|
|
7
|
-
(name: State): string => {
|
|
8
|
-
const getCount = (state: State) => vm.stateCounts[state] || 0;
|
|
9
|
-
|
|
10
|
-
return `<input type="checkbox" name="${name}" checked />
|
|
11
|
-
<div class="state">
|
|
12
|
-
<span class="component-state-${name}">${name} (${getCount(name)})</span>
|
|
13
|
-
</div>`;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export default selectedCheckbox;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Component, TemplateInfo } from '../../types';
|
|
2
|
-
|
|
3
|
-
export default function preview(vm: {
|
|
4
|
-
href: string;
|
|
5
|
-
component: Component;
|
|
6
|
-
qs: string;
|
|
7
|
-
liveReload: string;
|
|
8
|
-
templates: TemplateInfo[];
|
|
9
|
-
}): string {
|
|
10
|
-
const baseUrl = vm.href.replace('http://', '//').replace('https://', '//');
|
|
11
|
-
const { name, version } = vm.component;
|
|
12
|
-
const componentHref = `${baseUrl}${name}/${version}/${vm.qs}`;
|
|
13
|
-
|
|
14
|
-
return `<!DOCTYPE html>
|
|
15
|
-
<html>
|
|
16
|
-
<head>
|
|
17
|
-
<style>
|
|
18
|
-
html, body {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
margin: 0;
|
|
22
|
-
};
|
|
23
|
-
</style>
|
|
24
|
-
<meta name="robots" content="index, follow" />
|
|
25
|
-
<meta charset="utf-8" />
|
|
26
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
27
|
-
</head>
|
|
28
|
-
<body>
|
|
29
|
-
<oc-component href="${componentHref}"></oc-component>
|
|
30
|
-
<script>window.oc=window.oc||{};oc.conf=oc.conf||{};oc.conf.templates=(oc.conf.templates||[]).concat(${JSON.stringify(
|
|
31
|
-
vm.templates
|
|
32
|
-
)});</script>
|
|
33
|
-
<script src="${baseUrl}oc-client/client.js"></script>
|
|
34
|
-
${vm.liveReload}
|
|
35
|
-
</body>
|
|
36
|
-
</html>`;
|
|
37
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export default `'use strict';
|
|
2
|
-
|
|
3
|
-
var oc = oc || {};
|
|
4
|
-
oc.cmd = oc.cmd || [];
|
|
5
|
-
|
|
6
|
-
oc.cmd.push(function() {
|
|
7
|
-
var componentsListChanged = function() {
|
|
8
|
-
$('.componentRow').removeClass('hide');
|
|
9
|
-
var s = $('.search-filter').val(),
|
|
10
|
-
a = $('.author-filter').val(),
|
|
11
|
-
r = new RegExp(s),
|
|
12
|
-
ar = new RegExp(a, 'i'),
|
|
13
|
-
selectedCheckboxes = $('input[type=checkbox]:checked'),
|
|
14
|
-
hiddenStates = [],
|
|
15
|
-
hidden = 0,
|
|
16
|
-
i;
|
|
17
|
-
|
|
18
|
-
for (i = 0; i < selectedCheckboxes.length; i++) {
|
|
19
|
-
hiddenStates.push($(selectedCheckboxes[i]).attr('name'));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
for (i = 0; i < componentsList.length; i++) {
|
|
23
|
-
var matches = !s || !!componentsList[i].name.match(r),
|
|
24
|
-
matchesAuthor =
|
|
25
|
-
!a ||
|
|
26
|
-
(componentsList[i].author.name &&
|
|
27
|
-
!!componentsList[i].author.name.match(ar)),
|
|
28
|
-
selector = $('#component-' + componentsList[i].name),
|
|
29
|
-
isHidden = false;
|
|
30
|
-
|
|
31
|
-
for (var j = 0; j < hiddenStates.length; j++) {
|
|
32
|
-
if (componentsList[i].state.toLowerCase() === hiddenStates[j]) {
|
|
33
|
-
isHidden = true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
var show = matches && matchesAuthor && !isHidden;
|
|
38
|
-
selector[show ? 'removeClass' : 'addClass']('hide');
|
|
39
|
-
if (!show) {
|
|
40
|
-
hidden += 1;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
var totalShowing = componentsList.length - hidden,
|
|
45
|
-
result = 'Showing ' + totalShowing + ' components';
|
|
46
|
-
|
|
47
|
-
if (s) {
|
|
48
|
-
result += ' matching search query: "' + s + '"';
|
|
49
|
-
if (a) {
|
|
50
|
-
result += ' and';
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
if (a) {
|
|
54
|
-
result += ' matching author query: "' + a + '"';
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
$('.componentRow.header .title').text(result);
|
|
58
|
-
|
|
59
|
-
return false;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
var initialiseTabs = function() {
|
|
63
|
-
var selectItem = function(target) {
|
|
64
|
-
var $target = $(target);
|
|
65
|
-
$('.box').hide();
|
|
66
|
-
$target.show();
|
|
67
|
-
$('#menuList a').removeClass('selected');
|
|
68
|
-
$('#menuList a[href="' + target + '"]').addClass('selected');
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
var hash = location.href.split('#')[1] || '';
|
|
72
|
-
var isHashValid = hash && $('#' + hash);
|
|
73
|
-
var target = isHashValid ? '#' + hash : $($('#menuList a')[0]).attr('href');
|
|
74
|
-
selectItem(target);
|
|
75
|
-
|
|
76
|
-
$('#menuList a').click(function() {
|
|
77
|
-
selectItem($(this).attr('href'));
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
$('#filter-components')
|
|
82
|
-
.submit(componentsListChanged)
|
|
83
|
-
.keyup(componentsListChanged);
|
|
84
|
-
$('#filter-components input[type=checkbox]').change(componentsListChanged);
|
|
85
|
-
|
|
86
|
-
if (q) {
|
|
87
|
-
$('.search').val(q);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
componentsListChanged();
|
|
91
|
-
initialiseTabs();
|
|
92
|
-
});`;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export default `
|
|
2
|
-
var oc = oc || {};
|
|
3
|
-
oc.cmd = oc.cmd || [];
|
|
4
|
-
|
|
5
|
-
oc.cmd.push(function() {
|
|
6
|
-
$('#versions').change(function() {
|
|
7
|
-
window.location = thisComponentHref + $(this).val() + '/~info';
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
var refreshPreview = function() {
|
|
11
|
-
var splitted = $('#href')
|
|
12
|
-
.val()
|
|
13
|
-
.split('?'),
|
|
14
|
-
url = splitted[0],
|
|
15
|
-
lang = $('#lang').val();
|
|
16
|
-
|
|
17
|
-
if (url.slice(-1) !== '/') {
|
|
18
|
-
url += '/';
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
url = url.replace('http://', '//').replace('https://', '//');
|
|
22
|
-
url += '~preview/?__ocAcceptLanguage=' + lang + '&';
|
|
23
|
-
|
|
24
|
-
if (splitted.length > 1) {
|
|
25
|
-
url += splitted[1];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
$('.preview').attr('src', url);
|
|
29
|
-
|
|
30
|
-
return false;
|
|
31
|
-
};
|
|
32
|
-
$('.refresh-preview').click(refreshPreview);
|
|
33
|
-
|
|
34
|
-
$('.open-preview').click(function() {
|
|
35
|
-
refreshPreview();
|
|
36
|
-
var url = $('.preview').attr('src');
|
|
37
|
-
|
|
38
|
-
window.open(url, '_blank');
|
|
39
|
-
return false;
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});`;
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
export default `body {
|
|
2
|
-
width: 1024px;
|
|
3
|
-
margin: 0 auto;
|
|
4
|
-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
h1, h2, h3 {
|
|
8
|
-
color: darkred;
|
|
9
|
-
float: left;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
h1 {
|
|
14
|
-
margin-top: 0;
|
|
15
|
-
color: #000;
|
|
16
|
-
border-bottom: 1px solid #000;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
a {
|
|
20
|
-
color: #000;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
p {
|
|
24
|
-
float: left;
|
|
25
|
-
margin-top: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.back {
|
|
29
|
-
float: left;
|
|
30
|
-
width: 100%;
|
|
31
|
-
margin-top: -20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.code,
|
|
35
|
-
.preview {
|
|
36
|
-
float: left;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.preview {
|
|
41
|
-
height: 300px;
|
|
42
|
-
border: 1px solid #000;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.table {
|
|
46
|
-
width: 100%;
|
|
47
|
-
float: left;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.w-100 {
|
|
51
|
-
width: 100%;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.row {
|
|
55
|
-
background-color: #F9F9F9;
|
|
56
|
-
border: 1px solid #000;
|
|
57
|
-
width: 100%;
|
|
58
|
-
display: flex;
|
|
59
|
-
padding: 10px 0px;
|
|
60
|
-
-webkit-box-sizing: border-box;
|
|
61
|
-
-moz-box-sizing: border-box;
|
|
62
|
-
box-sizing: border-box;
|
|
63
|
-
margin-bottom: 4px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.row.header {
|
|
67
|
-
background-color: #EBE9E9;
|
|
68
|
-
border: 1px solid #000 !important;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.row.header div {
|
|
72
|
-
font-weight: bold;
|
|
73
|
-
margin: 0;
|
|
74
|
-
align-self: flex-start;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.row.double {
|
|
78
|
-
min-height: 60px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.row div {
|
|
82
|
-
word-wrap: break-word;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.row span {
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.componentRow:hover {
|
|
90
|
-
background-color: #EBE9E9;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.componentRow .title .name {
|
|
94
|
-
font-weight: bold;
|
|
95
|
-
font-size: 18px;
|
|
96
|
-
margin: 0;
|
|
97
|
-
width: 100%;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.componentRow .release {
|
|
101
|
-
font-size: 16px;
|
|
102
|
-
margin: 0;
|
|
103
|
-
width: 100%;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.componentRow .title .description {
|
|
107
|
-
padding: 0;
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.social {
|
|
112
|
-
float: left;
|
|
113
|
-
width: 100%;
|
|
114
|
-
margin-top: 20px;
|
|
115
|
-
text-align: center;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.field {
|
|
119
|
-
width: 100%;
|
|
120
|
-
float: left;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.field p,
|
|
124
|
-
.field span,
|
|
125
|
-
.field a {
|
|
126
|
-
float: left;
|
|
127
|
-
margin: 0;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.field p {
|
|
131
|
-
color: #8B0000;
|
|
132
|
-
font-weight: bold;
|
|
133
|
-
margin-right: 10px;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
input[type=text],
|
|
137
|
-
textarea {
|
|
138
|
-
height: 43px;
|
|
139
|
-
font-family: Arial;
|
|
140
|
-
border: 1px solid #8B0000;
|
|
141
|
-
margin-bottom: 10px;
|
|
142
|
-
font-size: 20px;
|
|
143
|
-
padding: 10px;
|
|
144
|
-
-webkit-box-sizing: border-box;
|
|
145
|
-
-moz-box-sizing: border-box;
|
|
146
|
-
box-sizing: border-box;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.filters {
|
|
150
|
-
width: 100%;
|
|
151
|
-
display: flex;
|
|
152
|
-
justify-content: space-between;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.row > * {
|
|
156
|
-
flex: 0 1 8%;
|
|
157
|
-
padding: 0px 5px;
|
|
158
|
-
align-self: center;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.row > *:last-child {
|
|
162
|
-
padding-right: 10px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.row > *:first-child {
|
|
166
|
-
padding-left: 10px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.release,
|
|
170
|
-
.title,
|
|
171
|
-
.filters > * {
|
|
172
|
-
flex: 1 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.title {
|
|
176
|
-
display: flex;
|
|
177
|
-
flex-direction: column;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.author-filter {
|
|
181
|
-
flex: 0 1 30%;
|
|
182
|
-
margin-left: 15px;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.parameter {
|
|
186
|
-
flex: 1 0;
|
|
187
|
-
max-width: 25%;
|
|
188
|
-
align-self: flex-start;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.parameter-description {
|
|
192
|
-
flex: 1 0;
|
|
193
|
-
max-width: 70%;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.author {
|
|
197
|
-
flex: 0 1 15%;
|
|
198
|
-
word-break: break-all;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
#href {
|
|
202
|
-
height: 60px;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.states {
|
|
206
|
-
width: 100%;
|
|
207
|
-
margin-bottom: 30px;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.states span,
|
|
211
|
-
.states .state {
|
|
212
|
-
float: left;
|
|
213
|
-
margin-right: 20px;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.states input {
|
|
217
|
-
float: left;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.details-state span {
|
|
221
|
-
padding: 1px 5px;
|
|
222
|
-
margin-left: 10px;
|
|
223
|
-
font-size: 75%;
|
|
224
|
-
font-weight: bold;
|
|
225
|
-
color: #FFF;
|
|
226
|
-
background-color: #1E42B9;
|
|
227
|
-
white-space: nowrap;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.state {
|
|
231
|
-
margin-right: 10px;
|
|
232
|
-
font-size: 75%;
|
|
233
|
-
font-weight: bold;
|
|
234
|
-
color: #FFF;
|
|
235
|
-
white-space: nowrap;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.table .state {
|
|
239
|
-
background-color: #1E42B9;
|
|
240
|
-
height: 17px;
|
|
241
|
-
padding: 1px 5px;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.component-state-experimental,
|
|
245
|
-
.details-state .component-state-experimental,
|
|
246
|
-
.table .component-state-experimental {
|
|
247
|
-
background-color: #B9961E;
|
|
248
|
-
height: 17px;
|
|
249
|
-
padding: 1px 5px;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.component-state-deprecated,
|
|
253
|
-
.details-state .component-state-deprecated,
|
|
254
|
-
.table .component-state-deprecated {
|
|
255
|
-
background-color: #B9381E;
|
|
256
|
-
height: 17px;
|
|
257
|
-
padding: 1px 5px;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
a.tab-link {
|
|
261
|
-
color: #8B0000;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
a.tab-link.selected {
|
|
265
|
-
background-color: #8b0000;
|
|
266
|
-
color: #fff;
|
|
267
|
-
text-decoration: none;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.bold {
|
|
271
|
-
font-weight: bold;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.hide {
|
|
275
|
-
display: none !important;
|
|
276
|
-
}
|
|
277
|
-
`;
|