@tsed/tailwind-formio 3.0.0-rc.2 → 3.0.0-rc.20
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/templates/tailwind/lucideIconsMapping.js +3 -1
- package/dist/templates/tailwind/lucideIconsMapping.js.map +1 -1
- package/dist/templates/tailwind/tab/index.js +3 -3
- package/dist/templates/tailwind/tab/index.js.map +1 -1
- package/fonts/inconsolata/index.css +27 -0
- package/fonts/source-sans-pro/index.css +188 -0
- package/package.json +2 -1
- package/readme.md +2 -2
- package/src/templates/tailwind/lucideIconsMapping.ts +3 -1
- package/src/templates/tailwind/tab/form.ejs +1 -1
- package/styles/icon.css +1 -1
- package/styles/react-select.css +3 -1
- package/styles/tables.css +10 -6
|
@@ -68,7 +68,9 @@ const e = {
|
|
|
68
68
|
reset: "rotate-ccw",
|
|
69
69
|
loader: "loader-circle",
|
|
70
70
|
detail: "file-text",
|
|
71
|
-
spreadsheet: "file-spreadsheet"
|
|
71
|
+
spreadsheet: "file-spreadsheet",
|
|
72
|
+
"sort-up": "arrow-up-narrow-wide",
|
|
73
|
+
"sort-down": "arrow-down-narrow-wide"
|
|
72
74
|
};
|
|
73
75
|
export {
|
|
74
76
|
e as LucideIconsMapping
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lucideIconsMapping.js","sources":["../../../src/templates/tailwind/lucideIconsMapping.ts"],"sourcesContent":["export const LucideIconsMapping: Record<string, any> = {\n remove: \"trash\",\n \"question-sign\": \"circle-question-mark\",\n \"new-window\": \"app-window\",\n \"minus-square-o\": \"square-minus\",\n cog: \"cog\",\n move: \"move\",\n wrench: \"wrench\",\n save: \"save\",\n copy: \"copy\",\n calendar: \"calendar\",\n file: \"file\",\n wpforms: \"picture-in-picture-2\",\n \"files-o\": \"files\",\n refresh: \"refresh-cw\",\n indent: \"list-indent-increase\",\n tasks: \"rows-2\",\n th: \"grid-3x3\",\n \"th-list\": \"panel-top-open\",\n \"folder-open\": \"folder-open\",\n \"folder-o\": \"folder\",\n \"user-secret\": \"user-round-x\",\n table: \"table\",\n pencil: \"pencil\",\n code: \"code\",\n terminal: \"terminal\",\n home: \"house\",\n html5: \"file-text\",\n list: \"list\",\n usd: \"dollar-sign\",\n hashtag: \"hash\",\n tags: \"tags\",\n at: \"at-sign\",\n font: \"type\",\n asterisk: \"asterisk\",\n plus: \"plus\",\n \"plus-square\": \"list-check\",\n \"plus-square-o\": \"square-plus\",\n \"dot-circle-o\": \"circle-check\",\n \"phone-square\": \"phone\",\n \"clock-o\": \"clock\",\n link: \"link\",\n columns: \"columns-3\",\n \"th-large\": \"layout-grid\",\n \"list-alt\": \"app-window\",\n \"square-o\": \"square\",\n cubes: \"boxes\",\n stop: \"square\",\n \"check-square\": \"square-check\",\n \"remove-circle\": \"x\",\n \"circle-xmark\": \"circle-x\",\n bars: \"list\",\n edit: \"square-pen\",\n time: \"clock\",\n microphone: \"mic\",\n video: \"video\",\n \"times-circle\": \"circle-x\",\n minus: \"minus\",\n circle: \"circle\",\n \"search-plus\": \"zoom-in\",\n \"search-minus\": \"zoom-out\",\n \"hand-paper-o\": \"pointer\",\n undo: \"undo-2\",\n redo: \"redo-2\",\n repeat: \"repeat\",\n data: \"database\",\n \"paper-plane\": \"send\",\n reset: \"rotate-ccw\",\n loader: \"loader-circle\",\n detail: \"file-text\",\n spreadsheet: \"file-spreadsheet\"\n};\n"],"names":["LucideIconsMapping"],"mappings":"AAAO,MAAMA,IAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,KAAK;AAAA,EACL,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,IAAI;AAAA,EACJ,WAAW;AAAA,EACX,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,KAAK;AAAA,EACL,SAAS;AAAA,EACT,MAAM;AAAA,EACN,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,MAAM;AAAA,EACN,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,eAAe;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AACf;"}
|
|
1
|
+
{"version":3,"file":"lucideIconsMapping.js","sources":["../../../src/templates/tailwind/lucideIconsMapping.ts"],"sourcesContent":["export const LucideIconsMapping: Record<string, any> = {\n remove: \"trash\",\n \"question-sign\": \"circle-question-mark\",\n \"new-window\": \"app-window\",\n \"minus-square-o\": \"square-minus\",\n cog: \"cog\",\n move: \"move\",\n wrench: \"wrench\",\n save: \"save\",\n copy: \"copy\",\n calendar: \"calendar\",\n file: \"file\",\n wpforms: \"picture-in-picture-2\",\n \"files-o\": \"files\",\n refresh: \"refresh-cw\",\n indent: \"list-indent-increase\",\n tasks: \"rows-2\",\n th: \"grid-3x3\",\n \"th-list\": \"panel-top-open\",\n \"folder-open\": \"folder-open\",\n \"folder-o\": \"folder\",\n \"user-secret\": \"user-round-x\",\n table: \"table\",\n pencil: \"pencil\",\n code: \"code\",\n terminal: \"terminal\",\n home: \"house\",\n html5: \"file-text\",\n list: \"list\",\n usd: \"dollar-sign\",\n hashtag: \"hash\",\n tags: \"tags\",\n at: \"at-sign\",\n font: \"type\",\n asterisk: \"asterisk\",\n plus: \"plus\",\n \"plus-square\": \"list-check\",\n \"plus-square-o\": \"square-plus\",\n \"dot-circle-o\": \"circle-check\",\n \"phone-square\": \"phone\",\n \"clock-o\": \"clock\",\n link: \"link\",\n columns: \"columns-3\",\n \"th-large\": \"layout-grid\",\n \"list-alt\": \"app-window\",\n \"square-o\": \"square\",\n cubes: \"boxes\",\n stop: \"square\",\n \"check-square\": \"square-check\",\n \"remove-circle\": \"x\",\n \"circle-xmark\": \"circle-x\",\n bars: \"list\",\n edit: \"square-pen\",\n time: \"clock\",\n microphone: \"mic\",\n video: \"video\",\n \"times-circle\": \"circle-x\",\n minus: \"minus\",\n circle: \"circle\",\n \"search-plus\": \"zoom-in\",\n \"search-minus\": \"zoom-out\",\n \"hand-paper-o\": \"pointer\",\n undo: \"undo-2\",\n redo: \"redo-2\",\n repeat: \"repeat\",\n data: \"database\",\n \"paper-plane\": \"send\",\n reset: \"rotate-ccw\",\n loader: \"loader-circle\",\n detail: \"file-text\",\n spreadsheet: \"file-spreadsheet\",\n \"sort-up\": \"arrow-up-narrow-wide\",\n \"sort-down\": \"arrow-down-narrow-wide\"\n};\n"],"names":["LucideIconsMapping"],"mappings":"AAAO,MAAMA,IAA0C;AAAA,EACrD,QAAQ;AAAA,EACR,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,KAAK;AAAA,EACL,MAAM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function o(a) {
|
|
21
21
|
var n, l = "";
|
|
22
|
-
return l +=
|
|
22
|
+
return l += '<div class="card card-tabs ' + ((n = a.component.verticalLayout ? " card-vertical" : "") == null ? "" : n) + `">
|
|
23
23
|
<div class="card-header card-header-tabs">
|
|
24
24
|
<ul class="nav nav-tabs ` + ((n = a.component.verticalLayout ? " nav-tabs-vertical" : "") == null ? "" : n) + `" role="tablist">
|
|
25
25
|
`, a.component.components.forEach(function(r, e) {
|
|
@@ -53,8 +53,8 @@ function o(a) {
|
|
|
53
53
|
</div>
|
|
54
54
|
`, l;
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const u = { flat: t, form: o };
|
|
57
57
|
export {
|
|
58
|
-
|
|
58
|
+
u as default
|
|
59
59
|
};
|
|
60
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tab/flat.ejs","../../../../src/templates/tailwind/tab/form.ejs","../../../../src/templates/tailwind/tab/index.ts"],"sourcesContent":["{% ctx.component.components.forEach(function(tab, index) { %}\n <div class=\"mb-2 card border\">\n <div class=\"card-header bg-default\">\n <h4 class=\"mb-0 card-title\">{{ ctx.t(tab.label, { _userInput: true }) }}</h4>\n </div>\n <div\n class=\"card-body\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ ctx.tabComponents[index] }}\n </div>\n </div>\n{% }) %}\n","<div class=\"card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}\">\n <div class=\"card-header card-header-tabs\">\n <ul class=\"nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}\" role=\"tablist\">\n {% ctx.component.components.forEach(function(tab, index) { %}\n <li class=\"nav-item {{ ctx.currentTab === index ? ' active' : ''}}\" role=\"tab\" ref=\"{{ctx.tabLikey}}\">\n <a\n class=\"nav-link{{ ctx.currentTab === index ? ' active' : ''}}{{ ctx.component.verticalLayout ? ' nav-link-vertical' : ''}}\"\n href=\"#{{tab.key}}\"\n ref=\"{{ctx.tabLinkKey}}\"\n >\n {{ctx.t(tab.label, { _userInput: true })}}\n </a>\n <div class=\"nav-border\"></div>\n </li>\n {% }) %}\n </ul>\n </div>\n {% ctx.component.components.forEach(function(tab, index) { %}\n <div\n role=\"tabpanel\"\n class=\"card-body tab-pane{{ ctx.currentTab === index ? ' active' : ''}}\"\n style=\"display: {{ctx.currentTab === index ? 'block' : 'none'}}\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ctx.tabComponents[index]}}\n </div>\n {% }) %}\n</div>\n","import flat from \"./flat.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { flat, form };\n"],"names":["flat","ctx","__t","__p","tab","index","form"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAAO;AACvD,IAAAF,KAAO;AAAA;AAAA;AAAA,wCACLD,IAAQD,EAAI,EAAEG,EAAI,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKF,KACnE;AAAA;AAAA;AAAA;AAAA,iBACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,YACEA,IAAQD,EAAI,cAAcI,CAAK,MAAQ,OAAO,KAAKH,KACrD;AAAA;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA,GACAA;AACP;ACfe,SAAAG,EAASL,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAEf,SAAAA,KAAO;AAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../src/templates/tailwind/tab/flat.ejs","../../../../src/templates/tailwind/tab/form.ejs","../../../../src/templates/tailwind/tab/index.ts"],"sourcesContent":["{% ctx.component.components.forEach(function(tab, index) { %}\n <div class=\"mb-2 card border\">\n <div class=\"card-header bg-default\">\n <h4 class=\"mb-0 card-title\">{{ ctx.t(tab.label, { _userInput: true }) }}</h4>\n </div>\n <div\n class=\"card-body\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ ctx.tabComponents[index] }}\n </div>\n </div>\n{% }) %}\n","<div class=\"card card-tabs {{ ctx.component.verticalLayout ? ' card-vertical' : ''}}\">\n <div class=\"card-header card-header-tabs\">\n <ul class=\"nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}\" role=\"tablist\">\n {% ctx.component.components.forEach(function(tab, index) { %}\n <li class=\"nav-item {{ ctx.currentTab === index ? ' active' : ''}}\" role=\"tab\" ref=\"{{ctx.tabLikey}}\">\n <a\n class=\"nav-link{{ ctx.currentTab === index ? ' active' : ''}}{{ ctx.component.verticalLayout ? ' nav-link-vertical' : ''}}\"\n href=\"#{{tab.key}}\"\n ref=\"{{ctx.tabLinkKey}}\"\n >\n {{ctx.t(tab.label, { _userInput: true })}}\n </a>\n <div class=\"nav-border\"></div>\n </li>\n {% }) %}\n </ul>\n </div>\n {% ctx.component.components.forEach(function(tab, index) { %}\n <div\n role=\"tabpanel\"\n class=\"card-body tab-pane{{ ctx.currentTab === index ? ' active' : ''}}\"\n style=\"display: {{ctx.currentTab === index ? 'block' : 'none'}}\"\n ref=\"{{ctx.tabKey}}\"\n >\n {{ctx.tabComponents[index]}}\n </div>\n {% }) %}\n</div>\n","import flat from \"./flat.ejs\";\nimport form from \"./form.ejs\";\n\nexport default { flat, form };\n"],"names":["flat","ctx","__t","__p","tab","index","form"],"mappings":"AAAe,SAAAA,EAASC,GAAK;AAC1B,MAACC,GAAKC,IAAM;AAGd,SAAAF,EAAI,UAAU,WAAW,QAAQ,SAASG,GAAKC,GAAO;AACvD,IAAAF,KAAO;AAAA;AAAA;AAAA,wCACLD,IAAQD,EAAI,EAAEG,EAAI,OAAO,EAAE,YAAY,GAAI,CAAE,MAAQ,OAAO,KAAKF,KACnE;AAAA;AAAA;AAAA;AAAA,iBACEA,IAAOD,EAAI,WAAY,OAAO,KAAKC,KACrC;AAAA;AAAA,YACEA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C;AAAA;AAAA,UACEA,IAAOD,EAAI,cAAcI,CAAK,MAAO,OAAO,KAAKH,KACnD;AAAA;AAAA;AAAA,EACC,CAAC,GACFC,KAAO;AAAA;AAAA,GACAA;AACP;ACpCA,MAAAC,IAAe,EAAE,MAAAJ,GAAM,MAAAM,EAAA;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
|
|
2
|
+
/* vietnamese */
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'Inconsolata';
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
src: local('Inconsolata Regular'), local('Inconsolata-Regular'), url(https://fonts.gstatic.com/s/inconsolata/v16/QldKNThLqRwH-OJ1UHjlKGlW5qhExfHwNJU.woff2) format('woff2');
|
|
8
|
+
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* latin-ext */
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Inconsolata';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
src: local('Inconsolata Regular'), local('Inconsolata-Regular'), url(https://fonts.gstatic.com/s/inconsolata/v16/QldKNThLqRwH-OJ1UHjlKGlX5qhExfHwNJU.woff2) format('woff2');
|
|
17
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* latin */
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'Inconsolata';
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
src: local('Inconsolata Regular'), local('Inconsolata-Regular'), url(https://fonts.gstatic.com/s/inconsolata/v16/QldKNThLqRwH-OJ1UHjlKGlZ5qhExfHw.woff2) format('woff2');
|
|
26
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
27
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/* cyrillic-ext */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Source Sans Pro';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 300;
|
|
6
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmhdu3cOWxy40.woff2) format('woff2');
|
|
7
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* cyrillic */
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'Source Sans Pro';
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: 300;
|
|
15
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwkxdu3cOWxy40.woff2) format('woff2');
|
|
16
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* greek-ext */
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: 'Source Sans Pro';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 300;
|
|
24
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmxdu3cOWxy40.woff2) format('woff2');
|
|
25
|
+
unicode-range: U+1F00-1FFF;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* greek */
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'Source Sans Pro';
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 300;
|
|
33
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlBdu3cOWxy40.woff2) format('woff2');
|
|
34
|
+
unicode-range: U+0370-03FF;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* vietnamese */
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Source Sans Pro';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 300;
|
|
42
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmBdu3cOWxy40.woff2) format('woff2');
|
|
43
|
+
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* latin-ext */
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'Source Sans Pro';
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: 300;
|
|
51
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwmRdu3cOWxy40.woff2) format('woff2');
|
|
52
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* latin */
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: 'Source Sans Pro';
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 300;
|
|
60
|
+
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu3cOWxw.woff2) format('woff2');
|
|
61
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* cyrillic-ext */
|
|
65
|
+
@font-face {
|
|
66
|
+
font-family: 'Source Sans Pro';
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNa7lujVj9_mf.woff2) format('woff2');
|
|
70
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* cyrillic */
|
|
74
|
+
@font-face {
|
|
75
|
+
font-family: 'Source Sans Pro';
|
|
76
|
+
font-style: normal;
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qPK7lujVj9_mf.woff2) format('woff2');
|
|
79
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* greek-ext */
|
|
83
|
+
@font-face {
|
|
84
|
+
font-family: 'Source Sans Pro';
|
|
85
|
+
font-style: normal;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNK7lujVj9_mf.woff2) format('woff2');
|
|
88
|
+
unicode-range: U+1F00-1FFF;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* greek */
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: 'Source Sans Pro';
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qO67lujVj9_mf.woff2) format('woff2');
|
|
97
|
+
unicode-range: U+0370-03FF;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* vietnamese */
|
|
101
|
+
@font-face {
|
|
102
|
+
font-family: 'Source Sans Pro';
|
|
103
|
+
font-style: normal;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qN67lujVj9_mf.woff2) format('woff2');
|
|
106
|
+
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* latin-ext */
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'Source Sans Pro';
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-weight: 400;
|
|
114
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lujVj9_mf.woff2) format('woff2');
|
|
115
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* latin */
|
|
119
|
+
@font-face {
|
|
120
|
+
font-family: 'Source Sans Pro';
|
|
121
|
+
font-style: normal;
|
|
122
|
+
font-weight: 400;
|
|
123
|
+
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2) format('woff2');
|
|
124
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* cyrillic-ext */
|
|
128
|
+
@font-face {
|
|
129
|
+
font-family: 'Source Sans Pro';
|
|
130
|
+
font-style: normal;
|
|
131
|
+
font-weight: 600;
|
|
132
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmhdu3cOWxy40.woff2) format('woff2');
|
|
133
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* cyrillic */
|
|
137
|
+
@font-face {
|
|
138
|
+
font-family: 'Source Sans Pro';
|
|
139
|
+
font-style: normal;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwkxdu3cOWxy40.woff2) format('woff2');
|
|
142
|
+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* greek-ext */
|
|
146
|
+
@font-face {
|
|
147
|
+
font-family: 'Source Sans Pro';
|
|
148
|
+
font-style: normal;
|
|
149
|
+
font-weight: 600;
|
|
150
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmxdu3cOWxy40.woff2) format('woff2');
|
|
151
|
+
unicode-range: U+1F00-1FFF;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* greek */
|
|
155
|
+
@font-face {
|
|
156
|
+
font-family: 'Source Sans Pro';
|
|
157
|
+
font-style: normal;
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlBdu3cOWxy40.woff2) format('woff2');
|
|
160
|
+
unicode-range: U+0370-03FF;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* vietnamese */
|
|
164
|
+
@font-face {
|
|
165
|
+
font-family: 'Source Sans Pro';
|
|
166
|
+
font-style: normal;
|
|
167
|
+
font-weight: 600;
|
|
168
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmBdu3cOWxy40.woff2) format('woff2');
|
|
169
|
+
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* latin-ext */
|
|
173
|
+
@font-face {
|
|
174
|
+
font-family: 'Source Sans Pro';
|
|
175
|
+
font-style: normal;
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwmRdu3cOWxy40.woff2) format('woff2');
|
|
178
|
+
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* latin */
|
|
182
|
+
@font-face {
|
|
183
|
+
font-family: 'Source Sans Pro';
|
|
184
|
+
font-style: normal;
|
|
185
|
+
font-weight: 600;
|
|
186
|
+
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2) format('woff2');
|
|
187
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
188
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/tailwind-formio",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.20",
|
|
4
4
|
"description": "Tailwind templates for form.io forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"default": "./dist/index.js"
|
|
14
14
|
},
|
|
15
15
|
"./styles/*": "./styles/*",
|
|
16
|
+
"./fonts/*": "./fonts/*",
|
|
16
17
|
"./tailwind.preset": {
|
|
17
18
|
"types": "./dist/tailwind/preset.d.ts",
|
|
18
19
|
"default": "./dist/tailwind/preset.js"
|
package/readme.md
CHANGED
|
@@ -125,8 +125,8 @@ Optionally, you can import fonts and icons:
|
|
|
125
125
|
```diff
|
|
126
126
|
@import "@formio/js/dist/formio.full.css";
|
|
127
127
|
@import "./tailwind.css";
|
|
128
|
-
+@import "
|
|
129
|
-
+@import "
|
|
128
|
+
+@import "@tsed/tailwind-formio/fonts/source-sans-pro/index.css";
|
|
129
|
+
+@import "@tsed/tailwind-formio/fonts/inconsolata/index.css";
|
|
130
130
|
+@import "lucide-static/font/lucide.css"; // if you want to use lucide icons (you have to install it)
|
|
131
131
|
+@import "./fonts/bxicons/index.css"; // if you want to use bxicons (you have to install it)
|
|
132
132
|
@import "@tsed/tailwind-formio/styles/index.css";
|
|
@@ -68,5 +68,7 @@ export const LucideIconsMapping: Record<string, any> = {
|
|
|
68
68
|
reset: "rotate-ccw",
|
|
69
69
|
loader: "loader-circle",
|
|
70
70
|
detail: "file-text",
|
|
71
|
-
spreadsheet: "file-spreadsheet"
|
|
71
|
+
spreadsheet: "file-spreadsheet",
|
|
72
|
+
"sort-up": "arrow-up-narrow-wide",
|
|
73
|
+
"sort-down": "arrow-down-narrow-wide"
|
|
72
74
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="card card-tabs { ctx.component.verticalLayout ? ' card-vertical' : ''}}">
|
|
1
|
+
<div class="card card-tabs {{ ctx.component.verticalLayout ? ' card-vertical' : ''}}">
|
|
2
2
|
<div class="card-header card-header-tabs">
|
|
3
3
|
<ul class="nav nav-tabs {{ ctx.component.verticalLayout ? ' nav-tabs-vertical' : ''}}" role="tablist">
|
|
4
4
|
{% ctx.component.components.forEach(function(tab, index) { %}
|
package/styles/icon.css
CHANGED
package/styles/react-select.css
CHANGED
package/styles/tables.css
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@apply flex items-center justify-center;
|
|
34
34
|
|
|
35
35
|
> span:first-child {
|
|
36
|
-
@apply flex-1;
|
|
36
|
+
@apply flex-1 whitespace-nowrap overflow-hidden text-ellipsis;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -99,7 +99,11 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.table-group {
|
|
102
|
-
@apply border-1 border-gray-300 dark:border-gray-700;
|
|
102
|
+
@apply border-1 border-gray-300 dark:border-gray-700 flex flex-col w-full;
|
|
103
|
+
|
|
104
|
+
.table-group-body {
|
|
105
|
+
@apply overflow-x-auto;
|
|
106
|
+
}
|
|
103
107
|
|
|
104
108
|
&.border-top-0 {
|
|
105
109
|
@apply border-t-0;
|
|
@@ -112,11 +116,11 @@
|
|
|
112
116
|
}
|
|
113
117
|
}
|
|
114
118
|
|
|
119
|
+
.table-group-footer {
|
|
120
|
+
@apply overflow-hidden flex flex-wrap;
|
|
121
|
+
}
|
|
122
|
+
|
|
115
123
|
.pagination-group {
|
|
116
124
|
@apply border-t-1 border-gray-300 dark:border-gray-700 p-3;
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
|
-
|
|
120
|
-
.table-responsive {
|
|
121
|
-
@apply block w-full overflow-x-auto;
|
|
122
|
-
}
|