@truedat/bg 7.2.0 → 7.2.2
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/package.json +6 -6
- package/src/concepts/components/ConceptCompleteness.js +2 -2
- package/src/concepts/components/ConceptCreate.js +3 -3
- package/src/concepts/components/ConceptDetails.js +2 -2
- package/src/concepts/components/ConceptEdit.js +3 -3
- package/src/concepts/components/ConceptsUploadButton.js +1 -1
- package/src/concepts/components/__tests__/ConceptCompleteness.spec.js +13 -15
- package/src/concepts/components/__tests__/ConceptDetails.spec.js +12 -19
- package/src/concepts/components/__tests__/{ConcepEdit.spec.js → ConceptEdit.spec.js} +13 -21
- package/src/concepts/components/__tests__/ConceptManageDomain.spec.js +28 -4
- package/src/concepts/components/__tests__/__snapshots__/{ConcepEdit.spec.js.snap → ConceptEdit.spec.js.snap} +7 -7
- package/src/concepts/components/__tests__/__snapshots__/ConceptForm.spec.js.snap +10 -12
- package/src/concepts/components/__tests__/__snapshots__/ConceptManageDomain.spec.js.snap +58 -1
- package/src/concepts/components/__tests__/__snapshots__/ConceptsBulkUpdate.spec.js.snap +10 -12
- package/src/concepts/components/__tests__/__snapshots__/SharedToForm.spec.js.snap +10 -12
- package/src/messages/en.js +2 -0
- package/src/messages/es.js +2 -0
- package/src/taxonomy/components/Domain.js +11 -71
- package/src/taxonomy/components/DomainCards.js +113 -0
- package/src/taxonomy/components/DomainContent.js +119 -0
- package/src/taxonomy/components/DomainTabs.js +92 -40
- package/src/taxonomy/components/Domains.js +144 -25
- package/src/taxonomy/components/DomainsActions.js +4 -4
- package/src/taxonomy/components/__tests__/Domain.spec.js +127 -2
- package/src/taxonomy/components/__tests__/DomainCards.spec.js +148 -0
- package/src/taxonomy/components/__tests__/DomainContent.spec.js +168 -0
- package/src/taxonomy/components/__tests__/DomainTabs.spec.js +108 -0
- package/src/taxonomy/components/__tests__/Domains.spec.js +149 -2
- package/src/taxonomy/components/__tests__/DomainsActions.spec.js +15 -8
- package/src/taxonomy/components/__tests__/__snapshots__/Domain.spec.js.snap +8 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainCards.spec.js.snap +291 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainContent.spec.js.snap +305 -0
- package/src/taxonomy/components/__tests__/__snapshots__/DomainTabs.spec.js.snap +40 -0
- package/src/taxonomy/components/__tests__/__snapshots__/Domains.spec.js.snap +74 -4
- package/src/taxonomy/components/__tests__/__snapshots__/DomainsActions.spec.js.snap +13 -22
- package/src/taxonomy/styles/domainCards.less +4 -0
- package/src/taxonomy/styles/domains.less +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/bg",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.2",
|
|
4
4
|
"description": "Truedat Web Business Glossary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "7.2.
|
|
37
|
+
"@truedat/test": "7.2.2",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@truedat/core": "7.2.
|
|
90
|
-
"@truedat/df": "7.2.
|
|
91
|
-
"@truedat/lm": "7.2.
|
|
89
|
+
"@truedat/core": "7.2.2",
|
|
90
|
+
"@truedat/df": "7.2.2",
|
|
91
|
+
"@truedat/lm": "7.2.2",
|
|
92
92
|
"decode-uri-component": "^0.2.2",
|
|
93
93
|
"file-saver": "^2.0.5",
|
|
94
94
|
"moment": "^2.29.4",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"react-dom": ">= 16.8.6 < 17",
|
|
112
112
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "9033c57eccb9e6785c0a0c5aa6078c34788d6e7d"
|
|
115
115
|
}
|
|
@@ -5,7 +5,7 @@ import { connect } from "react-redux";
|
|
|
5
5
|
import { List, Header, Progress, Segment, Icon } from "semantic-ui-react";
|
|
6
6
|
import { FormattedMessage } from "react-intl";
|
|
7
7
|
import { isRequired } from "@truedat/df/utils";
|
|
8
|
-
import {
|
|
8
|
+
import { useLanguage } from "@truedat/core/i18n";
|
|
9
9
|
import { splitTranslatableFields } from "@truedat/core/services/i18nContent";
|
|
10
10
|
|
|
11
11
|
const missingRequiredFields = (concept, content) => {
|
|
@@ -94,7 +94,7 @@ Completeness.propTypes = {
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export const ConceptCompleteness = ({ concept }) => {
|
|
97
|
-
const { locales } =
|
|
97
|
+
const { locales } = useLanguage();
|
|
98
98
|
|
|
99
99
|
const completeness = _.get("completeness")(concept);
|
|
100
100
|
const content = _.getOr({}, "content")(concept);
|
|
@@ -2,7 +2,7 @@ import _ from "lodash/fp";
|
|
|
2
2
|
import React, { useState, useEffect } from "react";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
|
-
import {
|
|
5
|
+
import { useLanguage } from "@truedat/core/i18n";
|
|
6
6
|
import {
|
|
7
7
|
splitTranslatableFields,
|
|
8
8
|
formatLocales,
|
|
@@ -14,7 +14,7 @@ import ConceptForms from "./ConceptForms";
|
|
|
14
14
|
const actionKey = "create";
|
|
15
15
|
|
|
16
16
|
const ConceptCreate = ({ conceptActionLoading, conceptAction }) => {
|
|
17
|
-
const { locales
|
|
17
|
+
const { locales } = useLanguage();
|
|
18
18
|
const { actions: conceptsActions } = useConceptVersionsActions();
|
|
19
19
|
|
|
20
20
|
const [i18nConcept, setI18nConcept] = useState({});
|
|
@@ -95,7 +95,7 @@ const ConceptCreate = ({ conceptActionLoading, conceptAction }) => {
|
|
|
95
95
|
domainId={domainId}
|
|
96
96
|
template={template}
|
|
97
97
|
i18nConcept={i18nConcept}
|
|
98
|
-
loading={
|
|
98
|
+
loading={conceptActionLoading}
|
|
99
99
|
langs={langs}
|
|
100
100
|
noTranslatableFields={noTranslatableKeys}
|
|
101
101
|
translatableFields={translatableKeys}
|
|
@@ -4,7 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { connect } from "react-redux";
|
|
5
5
|
import { Button, ButtonGroup, Segment } from "semantic-ui-react";
|
|
6
6
|
import { useIntl } from "react-intl";
|
|
7
|
-
import {
|
|
7
|
+
import { useLanguage } from "@truedat/core/i18n";
|
|
8
8
|
import { splitTranslatableFields } from "@truedat/core/services/i18nContent";
|
|
9
9
|
|
|
10
10
|
const DynamicFormViewer = React.lazy(() =>
|
|
@@ -13,7 +13,7 @@ const DynamicFormViewer = React.lazy(() =>
|
|
|
13
13
|
|
|
14
14
|
export const ConceptDetails = ({ concept }) => {
|
|
15
15
|
const { locale } = useIntl();
|
|
16
|
-
const { locales } =
|
|
16
|
+
const { locales } = useLanguage();
|
|
17
17
|
|
|
18
18
|
const defaultLang = _.flow(
|
|
19
19
|
_.find({ is_default: true }),
|
|
@@ -4,7 +4,7 @@ import PropTypes from "prop-types";
|
|
|
4
4
|
import { compose } from "redux";
|
|
5
5
|
import { connect } from "react-redux";
|
|
6
6
|
import { applyTemplate } from "@truedat/df/utils";
|
|
7
|
-
import {
|
|
7
|
+
import { useLanguage } from "@truedat/core/i18n";
|
|
8
8
|
import {
|
|
9
9
|
splitTranslatableFields,
|
|
10
10
|
formatLocales,
|
|
@@ -98,7 +98,7 @@ export const ConceptEditLoader = (props) => {
|
|
|
98
98
|
const concept = _.prop("concept")(props);
|
|
99
99
|
const { dynamic_content: propContent, name: propName, domain } = concept;
|
|
100
100
|
|
|
101
|
-
const { locales
|
|
101
|
+
const { locales } = useLanguage();
|
|
102
102
|
const { data, loading: templateLoading } = useTemplate({
|
|
103
103
|
name: templateName,
|
|
104
104
|
domainIds: [domain.id],
|
|
@@ -135,7 +135,7 @@ export const ConceptEditLoader = (props) => {
|
|
|
135
135
|
return (
|
|
136
136
|
<ConceptEdit
|
|
137
137
|
templateLoading={templateLoading}
|
|
138
|
-
localesLoading={
|
|
138
|
+
localesLoading={false}
|
|
139
139
|
processedContent={processedContent}
|
|
140
140
|
content={i18nContent}
|
|
141
141
|
template={template}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { render } from "@truedat/test/render";
|
|
3
|
+
import { LangProviderWrapper } from "@truedat/core/i18n";
|
|
3
4
|
import { ConceptCompleteness } from "../ConceptCompleteness";
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
],
|
|
17
|
-
})),
|
|
18
|
-
}));
|
|
6
|
+
const renderOpts = {
|
|
7
|
+
messages: {},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const renderComponent = (props) =>
|
|
11
|
+
render(
|
|
12
|
+
<LangProviderWrapper langs={["es"]}>
|
|
13
|
+
<ConceptCompleteness {...props} />
|
|
14
|
+
</LangProviderWrapper>,
|
|
15
|
+
renderOpts
|
|
16
|
+
);
|
|
19
17
|
|
|
20
18
|
describe("<ConceptCompleteness />", () => {
|
|
21
19
|
const props = {
|
|
@@ -41,7 +39,7 @@ describe("<ConceptCompleteness />", () => {
|
|
|
41
39
|
};
|
|
42
40
|
|
|
43
41
|
it("matches the latest snapshot", () => {
|
|
44
|
-
const { container } =
|
|
42
|
+
const { container } = renderComponent(props);
|
|
45
43
|
expect(container).toMatchSnapshot();
|
|
46
44
|
});
|
|
47
45
|
});
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { render } from "@truedat/test/render";
|
|
3
|
+
import { LangProviderWrapper } from "@truedat/core/i18n";
|
|
3
4
|
import { ConceptDetails } from "../ConceptDetails";
|
|
4
5
|
|
|
5
|
-
jest.mock("@truedat/core/hooks", () => ({
|
|
6
|
-
useLocales: jest.fn(() => ({
|
|
7
|
-
loading: false,
|
|
8
|
-
locales: [
|
|
9
|
-
{
|
|
10
|
-
lang: "en",
|
|
11
|
-
id: 1,
|
|
12
|
-
is_default: true,
|
|
13
|
-
is_required: true,
|
|
14
|
-
is_enabled: true,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
})),
|
|
18
|
-
}));
|
|
19
|
-
|
|
20
6
|
const renderOpts = {
|
|
21
|
-
fallback:
|
|
7
|
+
fallback: "lazy",
|
|
8
|
+
messages: {},
|
|
22
9
|
};
|
|
23
10
|
|
|
11
|
+
const renderComponent = (props) =>
|
|
12
|
+
render(
|
|
13
|
+
<LangProviderWrapper langs={["es"]}>
|
|
14
|
+
<ConceptDetails {...props} />
|
|
15
|
+
</LangProviderWrapper>,
|
|
16
|
+
renderOpts
|
|
17
|
+
);
|
|
18
|
+
|
|
24
19
|
describe("<ConceptDetails />", () => {
|
|
25
20
|
const props = {
|
|
26
21
|
concept: {
|
|
@@ -44,9 +39,7 @@ describe("<ConceptDetails />", () => {
|
|
|
44
39
|
};
|
|
45
40
|
|
|
46
41
|
it("matches the latest snapshot", async () => {
|
|
47
|
-
const { container, findByText } =
|
|
48
|
-
...renderOpts,
|
|
49
|
-
});
|
|
42
|
+
const { container, findByText } = renderComponent(props);
|
|
50
43
|
|
|
51
44
|
await findByText("field_label");
|
|
52
45
|
expect(container).toMatchSnapshot();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { render } from "@truedat/test/render";
|
|
3
3
|
import { waitFor } from "@testing-library/react";
|
|
4
|
+
import { LangProviderWrapper } from "@truedat/core/i18n";
|
|
4
5
|
import ConceptEdit from "../ConceptEdit";
|
|
5
6
|
|
|
6
7
|
const template1 = {
|
|
@@ -27,20 +28,6 @@ const template1 = {
|
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
jest.mock("@truedat/core/hooks", () => ({
|
|
30
|
-
useLocales: jest.fn(() => ({
|
|
31
|
-
loading: false,
|
|
32
|
-
locales: [
|
|
33
|
-
{
|
|
34
|
-
local_name: "es",
|
|
35
|
-
name: "es",
|
|
36
|
-
lang: "es",
|
|
37
|
-
id: 1,
|
|
38
|
-
is_default: true,
|
|
39
|
-
is_enabled: true,
|
|
40
|
-
is_required: true,
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
})),
|
|
44
31
|
useTemplate: jest.fn(() => ({
|
|
45
32
|
loading: false,
|
|
46
33
|
data: { template: template1 },
|
|
@@ -94,19 +81,24 @@ const concept = {
|
|
|
94
81
|
|
|
95
82
|
const renderOpts = {
|
|
96
83
|
state: { concept },
|
|
84
|
+
messages: {},
|
|
85
|
+
fallback: "lazy",
|
|
97
86
|
};
|
|
98
87
|
|
|
88
|
+
const renderComponent = (props) =>
|
|
89
|
+
render(
|
|
90
|
+
<LangProviderWrapper langs={["es"]}>
|
|
91
|
+
<ConceptEdit {...props} />
|
|
92
|
+
</LangProviderWrapper>,
|
|
93
|
+
renderOpts
|
|
94
|
+
);
|
|
95
|
+
|
|
99
96
|
describe("<ConceptEdit />", () => {
|
|
100
97
|
const props = {
|
|
101
98
|
concept,
|
|
102
99
|
};
|
|
103
100
|
it("matches the latest snapshot", async () => {
|
|
104
|
-
const { container, queryByText } =
|
|
105
|
-
<Suspense fallback={null}>
|
|
106
|
-
<ConceptEdit {...props} />
|
|
107
|
-
</Suspense>,
|
|
108
|
-
renderOpts
|
|
109
|
-
);
|
|
101
|
+
const { container, queryByText } = renderComponent(props);
|
|
110
102
|
await waitFor(() => expect(queryByText(/foo_user/i)).toBeInTheDocument());
|
|
111
103
|
expect(container).toMatchSnapshot();
|
|
112
104
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { waitFor } from "@testing-library/react";
|
|
3
3
|
import { render } from "@truedat/test/render";
|
|
4
|
+
import { DOMAINS_QUERY } from "@truedat/core/api/queries";
|
|
4
5
|
import { ConceptManageDomain } from "../ConceptManageDomain";
|
|
5
6
|
|
|
6
7
|
describe("<ConceptManageDomain />", () => {
|
|
@@ -11,16 +12,33 @@ describe("<ConceptManageDomain />", () => {
|
|
|
11
12
|
{ id: 3, name: "baz", level: 0 },
|
|
12
13
|
];
|
|
13
14
|
const conceptAction = jest.fn();
|
|
14
|
-
// const saving = false;
|
|
15
15
|
const setToDomain = [{ id: 2, name: "bar" }];
|
|
16
16
|
const props = {
|
|
17
17
|
domainOptions,
|
|
18
|
-
// id,
|
|
19
18
|
conceptAction,
|
|
20
|
-
// saving,
|
|
21
19
|
setToDomain,
|
|
22
20
|
};
|
|
21
|
+
|
|
22
|
+
const domains = [
|
|
23
|
+
{
|
|
24
|
+
id: 1,
|
|
25
|
+
name: "foo",
|
|
26
|
+
parentId: 6,
|
|
27
|
+
actions: [],
|
|
28
|
+
externalId: "external_foo",
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
const variables = {
|
|
32
|
+
action: "manageConcept",
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const domainsMock = {
|
|
36
|
+
request: { query: DOMAINS_QUERY, variables },
|
|
37
|
+
result: { data: { domains: domains } },
|
|
38
|
+
};
|
|
39
|
+
|
|
23
40
|
const renderOpts = {
|
|
41
|
+
mocks: [domainsMock],
|
|
24
42
|
messages: {
|
|
25
43
|
en: {
|
|
26
44
|
"concept.changeDomain.header": "edit domain",
|
|
@@ -30,13 +48,19 @@ describe("<ConceptManageDomain />", () => {
|
|
|
30
48
|
"domain.selector.placeholder": "select a domain...",
|
|
31
49
|
},
|
|
32
50
|
},
|
|
51
|
+
fallback: "lazy",
|
|
33
52
|
};
|
|
34
53
|
|
|
35
54
|
it("matches the latest snapshot", async () => {
|
|
36
|
-
const { container } = render(
|
|
55
|
+
const { container, queryByText } = render(
|
|
37
56
|
<ConceptManageDomain {...props} />,
|
|
38
57
|
renderOpts
|
|
39
58
|
);
|
|
59
|
+
await waitFor(() => expect(queryByText(/lazy/i)).not.toBeInTheDocument());
|
|
60
|
+
await waitFor(() =>
|
|
61
|
+
expect(queryByText(/loading/i)).not.toBeInTheDocument()
|
|
62
|
+
);
|
|
63
|
+
|
|
40
64
|
await waitFor(() => {
|
|
41
65
|
expect(container).toMatchSnapshot();
|
|
42
66
|
});
|
|
@@ -16,7 +16,7 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
16
16
|
<div
|
|
17
17
|
class="content"
|
|
18
18
|
>
|
|
19
|
-
|
|
19
|
+
concepts.header.edit
|
|
20
20
|
</div>
|
|
21
21
|
</h2>
|
|
22
22
|
<form
|
|
@@ -26,7 +26,7 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
26
26
|
class="required field"
|
|
27
27
|
>
|
|
28
28
|
<label>
|
|
29
|
-
|
|
29
|
+
concepts.props.name
|
|
30
30
|
</label>
|
|
31
31
|
<div
|
|
32
32
|
class="field"
|
|
@@ -45,7 +45,7 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
45
45
|
<h3
|
|
46
46
|
class="ui header"
|
|
47
47
|
>
|
|
48
|
-
|
|
48
|
+
concepts.form.aditional_fields
|
|
49
49
|
</h3>
|
|
50
50
|
<div
|
|
51
51
|
class="ui segment"
|
|
@@ -83,7 +83,7 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
83
83
|
class="divider default text"
|
|
84
84
|
role="alert"
|
|
85
85
|
>
|
|
86
|
-
|
|
86
|
+
fields.dropdown.placeholder
|
|
87
87
|
</div>
|
|
88
88
|
<i
|
|
89
89
|
aria-hidden="true"
|
|
@@ -104,7 +104,7 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
104
104
|
<span
|
|
105
105
|
class="text"
|
|
106
106
|
>
|
|
107
|
-
|
|
107
|
+
selector.no.selection
|
|
108
108
|
</span>
|
|
109
109
|
</div>
|
|
110
110
|
<div
|
|
@@ -159,12 +159,12 @@ exports[`<ConceptEdit /> matches the latest snapshot 1`] = `
|
|
|
159
159
|
href="/"
|
|
160
160
|
role="button"
|
|
161
161
|
>
|
|
162
|
-
|
|
162
|
+
actions.cancel
|
|
163
163
|
</a>
|
|
164
164
|
<button
|
|
165
165
|
class="ui primary button"
|
|
166
166
|
>
|
|
167
|
-
|
|
167
|
+
actions.update
|
|
168
168
|
</button>
|
|
169
169
|
</div>
|
|
170
170
|
</div>
|
|
@@ -53,14 +53,16 @@ exports[`<ConceptForm /> with multiple templates matches the latest snapshot 1`]
|
|
|
53
53
|
role="option"
|
|
54
54
|
>
|
|
55
55
|
<div
|
|
56
|
-
|
|
56
|
+
class="item-content"
|
|
57
|
+
style="margin-left: 0px; padding-left: 5px;"
|
|
57
58
|
>
|
|
58
59
|
<i
|
|
59
60
|
aria-hidden="true"
|
|
60
|
-
class="chevron
|
|
61
|
+
class="chevron right icon"
|
|
61
62
|
/>
|
|
62
63
|
<span
|
|
63
64
|
style="opacity: 1;"
|
|
65
|
+
title="barDomain"
|
|
64
66
|
>
|
|
65
67
|
barDomain
|
|
66
68
|
</span>
|
|
@@ -72,14 +74,12 @@ exports[`<ConceptForm /> with multiple templates matches the latest snapshot 1`]
|
|
|
72
74
|
role="option"
|
|
73
75
|
>
|
|
74
76
|
<div
|
|
75
|
-
|
|
77
|
+
class="item-content"
|
|
78
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
76
79
|
>
|
|
77
|
-
<i
|
|
78
|
-
aria-hidden="true"
|
|
79
|
-
class="circle icon"
|
|
80
|
-
/>
|
|
81
80
|
<span
|
|
82
81
|
style="opacity: 1;"
|
|
82
|
+
title="bazDomain"
|
|
83
83
|
>
|
|
84
84
|
bazDomain
|
|
85
85
|
</span>
|
|
@@ -91,14 +91,12 @@ exports[`<ConceptForm /> with multiple templates matches the latest snapshot 1`]
|
|
|
91
91
|
role="option"
|
|
92
92
|
>
|
|
93
93
|
<div
|
|
94
|
-
|
|
94
|
+
class="item-content"
|
|
95
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
95
96
|
>
|
|
96
|
-
<i
|
|
97
|
-
aria-hidden="true"
|
|
98
|
-
class="circle icon"
|
|
99
|
-
/>
|
|
100
97
|
<span
|
|
101
98
|
style="opacity: 1;"
|
|
99
|
+
title="fooDomain"
|
|
102
100
|
>
|
|
103
101
|
fooDomain
|
|
104
102
|
</span>
|
|
@@ -12,8 +12,65 @@ exports[`<ConceptManageDomain /> matches the latest snapshot 1`] = `
|
|
|
12
12
|
edit domain
|
|
13
13
|
</h2>
|
|
14
14
|
<form
|
|
15
|
-
class="ui
|
|
15
|
+
class="ui form"
|
|
16
16
|
>
|
|
17
|
+
<div
|
|
18
|
+
class="required field fix-dropdown-selector "
|
|
19
|
+
>
|
|
20
|
+
<div
|
|
21
|
+
aria-disabled="false"
|
|
22
|
+
aria-expanded="false"
|
|
23
|
+
aria-multiselectable="false"
|
|
24
|
+
class="ui floating dropdown"
|
|
25
|
+
required=""
|
|
26
|
+
role="listbox"
|
|
27
|
+
tabindex="0"
|
|
28
|
+
>
|
|
29
|
+
<label>
|
|
30
|
+
select a domain...
|
|
31
|
+
</label>
|
|
32
|
+
<i
|
|
33
|
+
aria-hidden="true"
|
|
34
|
+
class="dropdown icon"
|
|
35
|
+
/>
|
|
36
|
+
<div
|
|
37
|
+
class="menu transition"
|
|
38
|
+
>
|
|
39
|
+
<div
|
|
40
|
+
class="ui fluid left icon input search "
|
|
41
|
+
>
|
|
42
|
+
<input
|
|
43
|
+
type="text"
|
|
44
|
+
/>
|
|
45
|
+
<i
|
|
46
|
+
aria-hidden="true"
|
|
47
|
+
class="search icon"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
<div
|
|
51
|
+
class="scrolling menu transition"
|
|
52
|
+
>
|
|
53
|
+
<div
|
|
54
|
+
aria-selected="false"
|
|
55
|
+
class="item"
|
|
56
|
+
role="option"
|
|
57
|
+
>
|
|
58
|
+
<div
|
|
59
|
+
class="item-content"
|
|
60
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
61
|
+
>
|
|
62
|
+
<span
|
|
63
|
+
style="opacity: 1;"
|
|
64
|
+
title="foo"
|
|
65
|
+
>
|
|
66
|
+
foo
|
|
67
|
+
</span>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
17
74
|
<div
|
|
18
75
|
class="actions"
|
|
19
76
|
>
|
|
@@ -81,14 +81,16 @@ exports[`<ConceptsBulkUpdate /> matches the latest snapshot 1`] = `
|
|
|
81
81
|
role="option"
|
|
82
82
|
>
|
|
83
83
|
<div
|
|
84
|
-
|
|
84
|
+
class="item-content"
|
|
85
|
+
style="margin-left: 0px; padding-left: 5px;"
|
|
85
86
|
>
|
|
86
87
|
<i
|
|
87
88
|
aria-hidden="true"
|
|
88
|
-
class="chevron
|
|
89
|
+
class="chevron right icon"
|
|
89
90
|
/>
|
|
90
91
|
<span
|
|
91
92
|
style="opacity: 1;"
|
|
93
|
+
title="barDomain"
|
|
92
94
|
>
|
|
93
95
|
barDomain
|
|
94
96
|
</span>
|
|
@@ -100,14 +102,12 @@ exports[`<ConceptsBulkUpdate /> matches the latest snapshot 1`] = `
|
|
|
100
102
|
role="option"
|
|
101
103
|
>
|
|
102
104
|
<div
|
|
103
|
-
|
|
105
|
+
class="item-content"
|
|
106
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
104
107
|
>
|
|
105
|
-
<i
|
|
106
|
-
aria-hidden="true"
|
|
107
|
-
class="circle icon"
|
|
108
|
-
/>
|
|
109
108
|
<span
|
|
110
109
|
style="opacity: 1;"
|
|
110
|
+
title="bazDomain"
|
|
111
111
|
>
|
|
112
112
|
bazDomain
|
|
113
113
|
</span>
|
|
@@ -119,14 +119,12 @@ exports[`<ConceptsBulkUpdate /> matches the latest snapshot 1`] = `
|
|
|
119
119
|
role="option"
|
|
120
120
|
>
|
|
121
121
|
<div
|
|
122
|
-
|
|
122
|
+
class="item-content"
|
|
123
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
123
124
|
>
|
|
124
|
-
<i
|
|
125
|
-
aria-hidden="true"
|
|
126
|
-
class="circle icon"
|
|
127
|
-
/>
|
|
128
125
|
<span
|
|
129
126
|
style="opacity: 1;"
|
|
127
|
+
title="fooDomain"
|
|
130
128
|
>
|
|
131
129
|
fooDomain
|
|
132
130
|
</span>
|
|
@@ -61,14 +61,16 @@ exports[`<SharedToForm /> matches the latest snapshot 1`] = `
|
|
|
61
61
|
role="option"
|
|
62
62
|
>
|
|
63
63
|
<div
|
|
64
|
-
|
|
64
|
+
class="item-content"
|
|
65
|
+
style="margin-left: 0px; padding-left: 5px;"
|
|
65
66
|
>
|
|
66
67
|
<i
|
|
67
68
|
aria-hidden="true"
|
|
68
|
-
class="chevron
|
|
69
|
+
class="chevron right icon"
|
|
69
70
|
/>
|
|
70
71
|
<span
|
|
71
72
|
style="opacity: 1;"
|
|
73
|
+
title="barDomain"
|
|
72
74
|
>
|
|
73
75
|
barDomain
|
|
74
76
|
</span>
|
|
@@ -80,14 +82,12 @@ exports[`<SharedToForm /> matches the latest snapshot 1`] = `
|
|
|
80
82
|
role="option"
|
|
81
83
|
>
|
|
82
84
|
<div
|
|
83
|
-
|
|
85
|
+
class="item-content"
|
|
86
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
84
87
|
>
|
|
85
|
-
<i
|
|
86
|
-
aria-hidden="true"
|
|
87
|
-
class="circle icon"
|
|
88
|
-
/>
|
|
89
88
|
<span
|
|
90
89
|
style="opacity: 1;"
|
|
90
|
+
title="bazDomain"
|
|
91
91
|
>
|
|
92
92
|
bazDomain
|
|
93
93
|
</span>
|
|
@@ -99,14 +99,12 @@ exports[`<SharedToForm /> matches the latest snapshot 1`] = `
|
|
|
99
99
|
role="option"
|
|
100
100
|
>
|
|
101
101
|
<div
|
|
102
|
-
|
|
102
|
+
class="item-content"
|
|
103
|
+
style="margin-left: 0px; padding-left: 25px;"
|
|
103
104
|
>
|
|
104
|
-
<i
|
|
105
|
-
aria-hidden="true"
|
|
106
|
-
class="circle icon"
|
|
107
|
-
/>
|
|
108
105
|
<span
|
|
109
106
|
style="opacity: 1;"
|
|
107
|
+
title="fooDomain"
|
|
110
108
|
>
|
|
111
109
|
fooDomain
|
|
112
110
|
</span>
|
package/src/messages/en.js
CHANGED
|
@@ -290,6 +290,8 @@ export default {
|
|
|
290
290
|
"domain.selector.label": "Domain",
|
|
291
291
|
"domain.selector.placeholder": "Select a domain...",
|
|
292
292
|
"domains.actions.create": "New Domain",
|
|
293
|
+
"domains.list.hide": "Hide Domains List",
|
|
294
|
+
"domains.list.show": "Show Domains List",
|
|
293
295
|
"domains.search.placeholder": "Search domains...",
|
|
294
296
|
"domains.search.error.fields": "Search fields not valid",
|
|
295
297
|
"domains.search.results.count": "{count} domains found:",
|
package/src/messages/es.js
CHANGED
|
@@ -292,6 +292,8 @@ export default {
|
|
|
292
292
|
"domain.selector.label": "Dominio",
|
|
293
293
|
"domain.selector.placeholder": "Selecciona un dominio...",
|
|
294
294
|
"domains.actions.create": "Nuevo dominio",
|
|
295
|
+
"domains.list.hide": "Ocultar lista de dominios",
|
|
296
|
+
"domains.list.show": "Mostrar lista de dominios",
|
|
295
297
|
"domains.search.placeholder": "Buscar dominios...",
|
|
296
298
|
"domains.search.error.fields": "Campos de búsqueda no válidos",
|
|
297
299
|
"domains.search.results.count": "{count} dominios encontrados:",
|