@3t-transform/threeteeui 0.0.18 → 0.0.19
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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +38 -7
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.css +32 -0
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +55 -7
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +26 -0
- package/dist/components/tttx-keyvalue-block.js +40 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/tttx-keyvalue-block.entry.js +38 -7
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-224213ae.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +4 -1
- package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +3 -0
- package/dist/types/components.d.ts +4 -2
- package/package.json +1 -1
- package/dist/tttx/p-dc087fd8.entry.js +0 -1
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["tttx-input-calendar.cjs",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox.cjs",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content.cjs",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["tttx-input-calendar.cjs",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox.cjs",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content.cjs",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -4,12 +4,42 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-bf777121.js');
|
|
6
6
|
|
|
7
|
-
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px
|
|
7
|
+
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}dl.horizontal{display:flex;flex-direction:row;width:100%}dl.horizontal div{flex-grow:1}@media (max-width: 1025px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%}}@media (max-width: 600px){dl.horizontal div{width:100%}}";
|
|
8
8
|
|
|
9
9
|
const TttxKeyvalueBlock = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.keyvalues = undefined;
|
|
13
|
+
this.horizontal = undefined;
|
|
14
|
+
}
|
|
15
|
+
renderSingleElements(values) {
|
|
16
|
+
const keys = Object.keys(values);
|
|
17
|
+
const elements = [];
|
|
18
|
+
for (let i = 0; i < keys.length; i++) {
|
|
19
|
+
if (this.horizontal) {
|
|
20
|
+
elements.push(index.h("div", null, index.h("dt", null, keys[i]), index.h("dd", null, values[keys[i]])));
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
elements.push(index.h("dt", null, keys[i]));
|
|
24
|
+
elements.push(index.h("dd", null, values[keys[i]]));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return elements;
|
|
28
|
+
}
|
|
29
|
+
renderArrayElements(values) {
|
|
30
|
+
const elements = [];
|
|
31
|
+
for (let i = 0; i < values.length; i++) {
|
|
32
|
+
const value = values[i];
|
|
33
|
+
if (this.horizontal) {
|
|
34
|
+
elements.push(index.h("div", null, index.h("dt", { class: "mainTitle" }, value.title), index.h("dt", { class: "subTitle" }, value.subTitle), index.h("dd", null, value.data)));
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
elements.push(index.h("dt", { class: "mainTitle" }, value.title));
|
|
38
|
+
elements.push(index.h("dt", { class: "subTitle" }, value.subTitle));
|
|
39
|
+
elements.push(index.h("dd", null, value.data));
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return elements;
|
|
13
43
|
}
|
|
14
44
|
render() {
|
|
15
45
|
let values;
|
|
@@ -19,13 +49,14 @@ const TttxKeyvalueBlock = class {
|
|
|
19
49
|
else {
|
|
20
50
|
values = this.keyvalues;
|
|
21
51
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
52
|
+
let elements;
|
|
53
|
+
if (Array.isArray(values)) {
|
|
54
|
+
elements = this.renderArrayElements(values);
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
elements = this.renderSingleElements(values);
|
|
27
58
|
}
|
|
28
|
-
return (index.h(index.Host, null, index.h("dl", null, elements)));
|
|
59
|
+
return (index.h(index.Host, null, index.h("dl", { class: this.horizontal ? "horizontal" : null }, elements)));
|
|
29
60
|
}
|
|
30
61
|
};
|
|
31
62
|
TttxKeyvalueBlock.style = tttxKeyvalueBlockCss;
|
package/dist/cjs/tttx.cjs.js
CHANGED
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["tttx-input-calendar.cjs",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox.cjs",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content.cjs",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
20
|
+
return index.bootstrapLazy([["tttx-input-calendar.cjs",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table.cjs",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list.cjs",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input.cjs",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox.cjs",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form.cjs",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block.cjs",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-button.cjs",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner.cjs",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content.cjs",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon.cjs",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -13,9 +13,16 @@ dt {
|
|
|
13
13
|
font-weight: 400;
|
|
14
14
|
line-height: 21px;
|
|
15
15
|
font-size: 16px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
dt, dt.subTitle {
|
|
16
19
|
color: #757575;
|
|
17
20
|
}
|
|
18
21
|
|
|
22
|
+
dt.mainTitle {
|
|
23
|
+
color: #212121;
|
|
24
|
+
}
|
|
25
|
+
|
|
19
26
|
dd {
|
|
20
27
|
margin: 0;
|
|
21
28
|
font-weight: 400;
|
|
@@ -23,4 +30,29 @@ dd {
|
|
|
23
30
|
color: #212121;
|
|
24
31
|
line-height: 21px;
|
|
25
32
|
margin-bottom: 18px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
dl.horizontal {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: row;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
dl.horizontal div {
|
|
42
|
+
flex-grow: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@media (max-width: 1025px) {
|
|
46
|
+
dl.horizontal {
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
dl.horizontal div {
|
|
51
|
+
width: 50%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@media (max-width: 600px) {
|
|
55
|
+
dl.horizontal div {
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
26
58
|
}
|
|
@@ -3,6 +3,36 @@ import { h, Host } from '@stencil/core';
|
|
|
3
3
|
export class TttxKeyvalueBlock {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.keyvalues = undefined;
|
|
6
|
+
this.horizontal = undefined;
|
|
7
|
+
}
|
|
8
|
+
renderSingleElements(values) {
|
|
9
|
+
const keys = Object.keys(values);
|
|
10
|
+
const elements = [];
|
|
11
|
+
for (let i = 0; i < keys.length; i++) {
|
|
12
|
+
if (this.horizontal) {
|
|
13
|
+
elements.push(h("div", null, h("dt", null, keys[i]), h("dd", null, values[keys[i]])));
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
elements.push(h("dt", null, keys[i]));
|
|
17
|
+
elements.push(h("dd", null, values[keys[i]]));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return elements;
|
|
21
|
+
}
|
|
22
|
+
renderArrayElements(values) {
|
|
23
|
+
const elements = [];
|
|
24
|
+
for (let i = 0; i < values.length; i++) {
|
|
25
|
+
const value = values[i];
|
|
26
|
+
if (this.horizontal) {
|
|
27
|
+
elements.push(h("div", null, h("dt", { class: "mainTitle" }, value.title), h("dt", { class: "subTitle" }, value.subTitle), h("dd", null, value.data)));
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
elements.push(h("dt", { class: "mainTitle" }, value.title));
|
|
31
|
+
elements.push(h("dt", { class: "subTitle" }, value.subTitle));
|
|
32
|
+
elements.push(h("dd", null, value.data));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return elements;
|
|
6
36
|
}
|
|
7
37
|
render() {
|
|
8
38
|
let values;
|
|
@@ -12,13 +42,14 @@ export class TttxKeyvalueBlock {
|
|
|
12
42
|
else {
|
|
13
43
|
values = this.keyvalues;
|
|
14
44
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
45
|
+
let elements;
|
|
46
|
+
if (Array.isArray(values)) {
|
|
47
|
+
elements = this.renderArrayElements(values);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
elements = this.renderSingleElements(values);
|
|
20
51
|
}
|
|
21
|
-
return (h(Host, null, h("dl", null, elements)));
|
|
52
|
+
return (h(Host, null, h("dl", { class: this.horizontal ? "horizontal" : null }, elements)));
|
|
22
53
|
}
|
|
23
54
|
static get is() { return "tttx-keyvalue-block"; }
|
|
24
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +69,7 @@ export class TttxKeyvalueBlock {
|
|
|
38
69
|
"type": "any",
|
|
39
70
|
"mutable": false,
|
|
40
71
|
"complexType": {
|
|
41
|
-
"original": "any",
|
|
72
|
+
"original": "any | any[] | string",
|
|
42
73
|
"resolved": "any",
|
|
43
74
|
"references": {}
|
|
44
75
|
},
|
|
@@ -50,6 +81,23 @@ export class TttxKeyvalueBlock {
|
|
|
50
81
|
},
|
|
51
82
|
"attribute": "keyvalues",
|
|
52
83
|
"reflect": false
|
|
84
|
+
},
|
|
85
|
+
"horizontal": {
|
|
86
|
+
"type": "boolean",
|
|
87
|
+
"mutable": false,
|
|
88
|
+
"complexType": {
|
|
89
|
+
"original": "boolean",
|
|
90
|
+
"resolved": "boolean",
|
|
91
|
+
"references": {}
|
|
92
|
+
},
|
|
93
|
+
"required": false,
|
|
94
|
+
"optional": false,
|
|
95
|
+
"docs": {
|
|
96
|
+
"tags": [],
|
|
97
|
+
"text": ""
|
|
98
|
+
},
|
|
99
|
+
"attribute": "horizontal",
|
|
100
|
+
"reflect": false
|
|
53
101
|
}
|
|
54
102
|
};
|
|
55
103
|
}
|
|
@@ -10,3 +10,29 @@ const keyValues = {
|
|
|
10
10
|
export const KeyValueBlock = () => {
|
|
11
11
|
return `<tttx-keyvalue-block keyvalues='${JSON.stringify(keyValues)}' />`;
|
|
12
12
|
};
|
|
13
|
+
const keyValueArray = [
|
|
14
|
+
{
|
|
15
|
+
title: "Electrical Designer",
|
|
16
|
+
subTitle: "Satchwell",
|
|
17
|
+
data: "18 Oct 2021 - Present"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
title: "Electrical Inspector",
|
|
21
|
+
subTitle: "Fastned",
|
|
22
|
+
data: "20 Dec 2016 - 10 Oct 2021"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
title: "Electrical Tech Prof I - Eng",
|
|
26
|
+
subTitle: "Voltech",
|
|
27
|
+
data: "20 Dec 2009 - 20 Nov 2016"
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
export const KeyValueSubtitleBlock = () => {
|
|
31
|
+
return `<tttx-keyvalue-block keyvalues='${JSON.stringify(keyValueArray)}' />`;
|
|
32
|
+
};
|
|
33
|
+
export const HorizontalKeyValueBlock = () => {
|
|
34
|
+
return `<tttx-keyvalue-block horizontal='true' keyvalues='${JSON.stringify(keyValues)}' />`;
|
|
35
|
+
};
|
|
36
|
+
export const HorizontalKeyValueSubtitleBlock = () => {
|
|
37
|
+
return `<tttx-keyvalue-block horizontal='true' keyvalues='${JSON.stringify(keyValueArray)}' />`;
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px
|
|
3
|
+
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}dl.horizontal{display:flex;flex-direction:row;width:100%}dl.horizontal div{flex-grow:1}@media (max-width: 1025px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%}}@media (max-width: 600px){dl.horizontal div{width:100%}}";
|
|
4
4
|
|
|
5
5
|
const TttxKeyvalueBlock$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -8,6 +8,36 @@ const TttxKeyvalueBlock$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
this.keyvalues = undefined;
|
|
11
|
+
this.horizontal = undefined;
|
|
12
|
+
}
|
|
13
|
+
renderSingleElements(values) {
|
|
14
|
+
const keys = Object.keys(values);
|
|
15
|
+
const elements = [];
|
|
16
|
+
for (let i = 0; i < keys.length; i++) {
|
|
17
|
+
if (this.horizontal) {
|
|
18
|
+
elements.push(h("div", null, h("dt", null, keys[i]), h("dd", null, values[keys[i]])));
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
elements.push(h("dt", null, keys[i]));
|
|
22
|
+
elements.push(h("dd", null, values[keys[i]]));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return elements;
|
|
26
|
+
}
|
|
27
|
+
renderArrayElements(values) {
|
|
28
|
+
const elements = [];
|
|
29
|
+
for (let i = 0; i < values.length; i++) {
|
|
30
|
+
const value = values[i];
|
|
31
|
+
if (this.horizontal) {
|
|
32
|
+
elements.push(h("div", null, h("dt", { class: "mainTitle" }, value.title), h("dt", { class: "subTitle" }, value.subTitle), h("dd", null, value.data)));
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
elements.push(h("dt", { class: "mainTitle" }, value.title));
|
|
36
|
+
elements.push(h("dt", { class: "subTitle" }, value.subTitle));
|
|
37
|
+
elements.push(h("dd", null, value.data));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return elements;
|
|
11
41
|
}
|
|
12
42
|
render() {
|
|
13
43
|
let values;
|
|
@@ -17,17 +47,19 @@ const TttxKeyvalueBlock$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
17
47
|
else {
|
|
18
48
|
values = this.keyvalues;
|
|
19
49
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
50
|
+
let elements;
|
|
51
|
+
if (Array.isArray(values)) {
|
|
52
|
+
elements = this.renderArrayElements(values);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
elements = this.renderSingleElements(values);
|
|
25
56
|
}
|
|
26
|
-
return (h(Host, null, h("dl", null, elements)));
|
|
57
|
+
return (h(Host, null, h("dl", { class: this.horizontal ? "horizontal" : null }, elements)));
|
|
27
58
|
}
|
|
28
59
|
static get style() { return tttxKeyvalueBlockCss; }
|
|
29
60
|
}, [1, "tttx-keyvalue-block", {
|
|
30
|
-
"keyvalues": [8]
|
|
61
|
+
"keyvalues": [8],
|
|
62
|
+
"horizontal": [4]
|
|
31
63
|
}]);
|
|
32
64
|
function defineCustomElement$1() {
|
|
33
65
|
if (typeof customElements === "undefined") {
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-input-calendar",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block",[[1,"tttx-keyvalue-block",{"keyvalues":[8]}]]],["tttx-button",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
14
|
+
return bootstrapLazy([["tttx-input-calendar",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-button",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,11 +1,41 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a05bd606.js';
|
|
2
2
|
|
|
3
|
-
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px
|
|
3
|
+
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}dl.horizontal{display:flex;flex-direction:row;width:100%}dl.horizontal div{flex-grow:1}@media (max-width: 1025px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%}}@media (max-width: 600px){dl.horizontal div{width:100%}}";
|
|
4
4
|
|
|
5
5
|
const TttxKeyvalueBlock = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.keyvalues = undefined;
|
|
9
|
+
this.horizontal = undefined;
|
|
10
|
+
}
|
|
11
|
+
renderSingleElements(values) {
|
|
12
|
+
const keys = Object.keys(values);
|
|
13
|
+
const elements = [];
|
|
14
|
+
for (let i = 0; i < keys.length; i++) {
|
|
15
|
+
if (this.horizontal) {
|
|
16
|
+
elements.push(h("div", null, h("dt", null, keys[i]), h("dd", null, values[keys[i]])));
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
elements.push(h("dt", null, keys[i]));
|
|
20
|
+
elements.push(h("dd", null, values[keys[i]]));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return elements;
|
|
24
|
+
}
|
|
25
|
+
renderArrayElements(values) {
|
|
26
|
+
const elements = [];
|
|
27
|
+
for (let i = 0; i < values.length; i++) {
|
|
28
|
+
const value = values[i];
|
|
29
|
+
if (this.horizontal) {
|
|
30
|
+
elements.push(h("div", null, h("dt", { class: "mainTitle" }, value.title), h("dt", { class: "subTitle" }, value.subTitle), h("dd", null, value.data)));
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
elements.push(h("dt", { class: "mainTitle" }, value.title));
|
|
34
|
+
elements.push(h("dt", { class: "subTitle" }, value.subTitle));
|
|
35
|
+
elements.push(h("dd", null, value.data));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return elements;
|
|
9
39
|
}
|
|
10
40
|
render() {
|
|
11
41
|
let values;
|
|
@@ -15,13 +45,14 @@ const TttxKeyvalueBlock = class {
|
|
|
15
45
|
else {
|
|
16
46
|
values = this.keyvalues;
|
|
17
47
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
48
|
+
let elements;
|
|
49
|
+
if (Array.isArray(values)) {
|
|
50
|
+
elements = this.renderArrayElements(values);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
elements = this.renderSingleElements(values);
|
|
23
54
|
}
|
|
24
|
-
return (h(Host, null, h("dl", null, elements)));
|
|
55
|
+
return (h(Host, null, h("dl", { class: this.horizontal ? "horizontal" : null }, elements)));
|
|
25
56
|
}
|
|
26
57
|
};
|
|
27
58
|
TttxKeyvalueBlock.style = tttxKeyvalueBlockCss;
|
package/dist/esm/tttx.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["tttx-input-calendar",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block",[[1,"tttx-keyvalue-block",{"keyvalues":[8]}]]],["tttx-button",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
17
|
+
return bootstrapLazy([["tttx-input-calendar",[[1,"tttx-input-calendar",{"months":[4],"years":[4],"showCalendar":[32],"selectedYear":[32],"selectedMonth":[32]}]]],["tttx-table",[[1,"tttx-table",{"headers":[16],"data":[16],"loading":[4],"selected":[2]},[[4,"keydown","handleKeyDown"]]]]],["tttx-list",[[1,"tttx-list",{"name":[1],"selectable":[4],"items":[32],"selectedIds":[32],"loading":[32],"lastPage":[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["tttx-standalone-input",[[2,"tttx-standalone-input",{"label":[1],"showerrormsg":[4],"errormsg":[1],"iconleft":[1],"iconright":[1],"autocapitalize":[1],"autocomplete":[1],"autofocus":[4],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-checkbox",[[1,"tttx-checkbox",{"value":[4],"label":[1],"required":[4]}]]],["tttx-form",[[1,"tttx-form",{"formschema":[8],"submitValue":[8,"submit-value"]}]]],["tttx-keyvalue-block",[[1,"tttx-keyvalue-block",{"keyvalues":[8],"horizontal":[4]}]]],["tttx-button",[[1,"tttx-button",{"notext":[4],"icon":[1],"iconposition":[1],"design":[1]}]]],["tttx-loading-spinner",[[1,"tttx-loading-spinner",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-popover-content",[[1,"tttx-popover-content",{"header":[1],"body":[1],"linkcontext":[1],"linktext":[1]}]]],["tttx-icon",[[1,"tttx-icon",{"icon":[1],"color":[1]}]]]], options);
|
|
18
18
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as l,H as i}from"./p-07b134af.js";const d=class{constructor(l){t(this,l),this.keyvalues=void 0,this.horizontal=void 0}renderSingleElements(t){const i=Object.keys(t),d=[];for(let o=0;o<i.length;o++)this.horizontal?d.push(l("div",null,l("dt",null,i[o]),l("dd",null,t[i[o]]))):(d.push(l("dt",null,i[o])),d.push(l("dd",null,t[i[o]])));return d}renderArrayElements(t){const i=[];for(let d=0;d<t.length;d++){const o=t[d];this.horizontal?i.push(l("div",null,l("dt",{class:"mainTitle"},o.title),l("dt",{class:"subTitle"},o.subTitle),l("dd",null,o.data))):(i.push(l("dt",{class:"mainTitle"},o.title)),i.push(l("dt",{class:"subTitle"},o.subTitle)),i.push(l("dd",null,o.data)))}return i}render(){let t,d;return t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues,d=Array.isArray(t)?this.renderArrayElements(t):this.renderSingleElements(t),l(i,null,l("dl",{class:this.horizontal?"horizontal":null},d))}};d.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}dl.horizontal{display:flex;flex-direction:row;width:100%}dl.horizontal div{flex-grow:1}@media (max-width: 1025px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%}}@media (max-width: 600px){dl.horizontal div{width:100%}}';export{d as tttx_keyvalue_block}
|
package/dist/tttx/tttx.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-07b134af.js";export{s as setNonce}from"./p-07b134af.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-45afb84c",[[1,"tttx-input-calendar",{months:[4],years:[4],showCalendar:[32],selectedYear:[32],selectedMonth:[32]}]]],["p-a96ca037",[[1,"tttx-table",{headers:[16],data:[16],loading:[4],selected:[2]},[[4,"keydown","handleKeyDown"]]]]],["p-a92ca87e",[[1,"tttx-list",{name:[1],selectable:[4],items:[32],selectedIds:[32],loading:[32],lastPage:[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["p-e3cc75bb",[[2,"tttx-standalone-input",{label:[1],showerrormsg:[4],errormsg:[1],iconleft:[1],iconright:[1],autocapitalize:[1],autocomplete:[1],autofocus:[4],checked:[4],disabled:[4],max:[8],maxlength:[8],min:[8],minlength:[8],name:[1],pattern:[1],placeholder:[1],readonly:[8],required:[4],step:[8],type:[1],value:[1032]}]]],["p-f579ed1e",[[1,"tttx-checkbox",{value:[4],label:[1],required:[4]}]]],["p-1b63f16a",[[1,"tttx-form",{formschema:[8],submitValue:[8,"submit-value"]}]]],["p-
|
|
1
|
+
import{p as e,b as t}from"./p-07b134af.js";export{s as setNonce}from"./p-07b134af.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-45afb84c",[[1,"tttx-input-calendar",{months:[4],years:[4],showCalendar:[32],selectedYear:[32],selectedMonth:[32]}]]],["p-a96ca037",[[1,"tttx-table",{headers:[16],data:[16],loading:[4],selected:[2]},[[4,"keydown","handleKeyDown"]]]]],["p-a92ca87e",[[1,"tttx-list",{name:[1],selectable:[4],items:[32],selectedIds:[32],loading:[32],lastPage:[32]},[[4,"listPageLoad","listLoadHandler"],[4,"listClearDataCache","listClearDataCacheHandler"],[4,"listActionSelectedEvent","listActionSelectedEventHandler"]]]]],["p-e3cc75bb",[[2,"tttx-standalone-input",{label:[1],showerrormsg:[4],errormsg:[1],iconleft:[1],iconright:[1],autocapitalize:[1],autocomplete:[1],autofocus:[4],checked:[4],disabled:[4],max:[8],maxlength:[8],min:[8],minlength:[8],name:[1],pattern:[1],placeholder:[1],readonly:[8],required:[4],step:[8],type:[1],value:[1032]}]]],["p-f579ed1e",[[1,"tttx-checkbox",{value:[4],label:[1],required:[4]}]]],["p-1b63f16a",[[1,"tttx-form",{formschema:[8],submitValue:[8,"submit-value"]}]]],["p-224213ae",[[1,"tttx-keyvalue-block",{keyvalues:[8],horizontal:[4]}]]],["p-68ff0f39",[[1,"tttx-button",{notext:[4],icon:[1],iconposition:[1],design:[1]}]]],["p-93763d3c",[[1,"tttx-loading-spinner",{loadingMessage:[1028,"loading-message"],size:[1025]}]]],["p-037d286f",[[1,"tttx-popover-content",{header:[1],body:[1],linkcontext:[1],linktext:[1]}]]],["p-a5808741",[[1,"tttx-icon",{icon:[1],color:[1]}]]]],e)));
|
|
@@ -4,3 +4,6 @@ declare const _default: {
|
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const KeyValueBlock: () => string;
|
|
7
|
+
export declare const KeyValueSubtitleBlock: () => string;
|
|
8
|
+
export declare const HorizontalKeyValueBlock: () => string;
|
|
9
|
+
export declare const HorizontalKeyValueSubtitleBlock: () => string;
|
|
@@ -31,7 +31,8 @@ export namespace Components {
|
|
|
31
31
|
"years": boolean;
|
|
32
32
|
}
|
|
33
33
|
interface TttxKeyvalueBlock {
|
|
34
|
-
"
|
|
34
|
+
"horizontal": boolean;
|
|
35
|
+
"keyvalues": any | any[] | string;
|
|
35
36
|
}
|
|
36
37
|
interface TttxList {
|
|
37
38
|
"name": string;
|
|
@@ -207,7 +208,8 @@ declare namespace LocalJSX {
|
|
|
207
208
|
"years"?: boolean;
|
|
208
209
|
}
|
|
209
210
|
interface TttxKeyvalueBlock {
|
|
210
|
-
"
|
|
211
|
+
"horizontal"?: boolean;
|
|
212
|
+
"keyvalues"?: any | any[] | string;
|
|
211
213
|
}
|
|
212
214
|
interface TttxList {
|
|
213
215
|
"name"?: string;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as i}from"./p-07b134af.js";const l=class{constructor(o){t(this,o),this.keyvalues=void 0}render(){let t;t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues;const l=Object.keys(t),s=[];for(let i=0;i<l.length;i++)s.push(o("dt",null,l[i])),s.push(o("dd",null,t[l[i]]));return o(i,null,o("dl",null,s))}};l.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;line-height:21px;font-size:16px;color:#757575}dd{margin:0;font-weight:400;font-size:16px;color:#212121;line-height:21px;margin-bottom:18px}';export{l as tttx_keyvalue_block}
|