@tsed/tailwind-formio 2.0.1 → 2.0.3

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.
Files changed (149) hide show
  1. package/dist/tailwind.js +1 -1
  2. package/lib/index.js +3 -5
  3. package/lib/templates/index.js +3 -5
  4. package/lib/templates/stories/alert.stories.js +23 -0
  5. package/lib/templates/stories/badge.stories.js +23 -0
  6. package/lib/templates/stories/breadcrumbs.stories.js +37 -0
  7. package/lib/templates/stories/builder.stories.js +1905 -0
  8. package/lib/templates/stories/pagination.stories.js +20 -0
  9. package/lib/templates/stories/progress.stories.js +20 -0
  10. package/lib/templates/stories/wizard.stories.js +1905 -0
  11. package/lib/templates/tailwind/address/index.js +2 -4
  12. package/lib/templates/tailwind/alert/index.js +2 -4
  13. package/lib/templates/tailwind/builder/index.js +2 -4
  14. package/lib/templates/tailwind/builderComponent/index.js +2 -4
  15. package/lib/templates/tailwind/builderComponents/index.js +2 -4
  16. package/lib/templates/tailwind/builderEditForm/index.js +2 -4
  17. package/lib/templates/tailwind/builderPlaceholder/index.js +2 -4
  18. package/lib/templates/tailwind/builderSidebar/index.js +2 -4
  19. package/lib/templates/tailwind/builderSidebarGroup/index.js +2 -4
  20. package/lib/templates/tailwind/builderWizard/index.js +2 -4
  21. package/lib/templates/tailwind/button/button.stories.js +36 -0
  22. package/lib/templates/tailwind/button/index.js +3 -5
  23. package/lib/templates/tailwind/checkbox/index.js +3 -5
  24. package/lib/templates/tailwind/columns/index.js +2 -4
  25. package/lib/templates/tailwind/component/index.js +2 -4
  26. package/lib/templates/tailwind/componentModal/index.js +2 -4
  27. package/lib/templates/tailwind/components/index.js +2 -4
  28. package/lib/templates/tailwind/container/index.js +2 -4
  29. package/lib/templates/tailwind/cssClasses.js +1 -3
  30. package/lib/templates/tailwind/datagrid/index.js +3 -5
  31. package/lib/templates/tailwind/day/index.js +2 -4
  32. package/lib/templates/tailwind/dialog/index.js +2 -4
  33. package/lib/templates/tailwind/editgrid/index.js +3 -5
  34. package/lib/templates/tailwind/editgridTable/index.js +3 -5
  35. package/lib/templates/tailwind/errorsList/index.js +2 -4
  36. package/lib/templates/tailwind/field/index.js +3 -5
  37. package/lib/templates/tailwind/fieldset/index.js +2 -4
  38. package/lib/templates/tailwind/file/index.js +2 -4
  39. package/lib/templates/tailwind/html/index.js +2 -4
  40. package/lib/templates/tailwind/icon/index.js +2 -4
  41. package/lib/templates/tailwind/iconClass.js +9 -12
  42. package/lib/templates/tailwind/index.js +133 -140
  43. package/lib/templates/tailwind/input/index.js +3 -5
  44. package/lib/templates/tailwind/label/index.js +2 -4
  45. package/lib/templates/tailwind/loader/index.js +2 -4
  46. package/lib/templates/tailwind/loading/index.js +2 -4
  47. package/lib/templates/tailwind/map/index.js +2 -4
  48. package/lib/templates/tailwind/message/index.js +2 -4
  49. package/lib/templates/tailwind/modalPreview/index.js +2 -4
  50. package/lib/templates/tailwind/modaldialog/index.js +2 -4
  51. package/lib/templates/tailwind/modaledit/index.js +2 -4
  52. package/lib/templates/tailwind/multiValueRow/index.js +2 -4
  53. package/lib/templates/tailwind/multiValueTable/index.js +2 -4
  54. package/lib/templates/tailwind/multipleMasksInput/index.js +2 -4
  55. package/lib/templates/tailwind/panel/index.js +2 -4
  56. package/lib/templates/tailwind/pdf/index.js +2 -4
  57. package/lib/templates/tailwind/pdfBuilder/index.js +2 -4
  58. package/lib/templates/tailwind/pdfBuilderUpload/index.js +2 -4
  59. package/lib/templates/tailwind/radio/index.js +3 -5
  60. package/lib/templates/tailwind/resourceAdd/index.js +2 -4
  61. package/lib/templates/tailwind/select/index.js +3 -5
  62. package/lib/templates/tailwind/selectOption/index.js +3 -5
  63. package/lib/templates/tailwind/signature/index.js +3 -5
  64. package/lib/templates/tailwind/survey/index.js +3 -5
  65. package/lib/templates/tailwind/tab/index.js +3 -5
  66. package/lib/templates/tailwind/table/index.js +2 -4
  67. package/lib/templates/tailwind/tableComponents/index.js +2 -4
  68. package/lib/templates/tailwind/tree/index.js +2 -4
  69. package/lib/templates/tailwind/tree/partials/index.js +5 -7
  70. package/lib/templates/tailwind/webform/index.js +3 -5
  71. package/lib/templates/tailwind/well/index.js +2 -4
  72. package/lib/templates/tailwind/wizard/index.js +3 -5
  73. package/lib/templates/tailwind/wizardHeader/index.js +2 -4
  74. package/lib/templates/tailwind/wizardHeaderClassic/index.js +2 -4
  75. package/lib/templates/tailwind/wizardHeaderVertical/index.js +2 -4
  76. package/lib/templates/tailwind/wizardNav/index.js +2 -4
  77. package/package.json +18 -12
  78. package/styles/checkbox.css +2 -2
  79. package/styles/form.css +1 -1
  80. package/tsconfig.json +8 -19
  81. package/tsconfig.node.json +8 -0
  82. package/lib/index.d.ts +0 -221
  83. package/lib/templates/index.d.ts +0 -218
  84. package/lib/templates/tailwind/address/index.d.ts +0 -4
  85. package/lib/templates/tailwind/alert/index.d.ts +0 -6
  86. package/lib/templates/tailwind/builder/index.d.ts +0 -4
  87. package/lib/templates/tailwind/builderComponent/index.d.ts +0 -4
  88. package/lib/templates/tailwind/builderComponents/index.d.ts +0 -4
  89. package/lib/templates/tailwind/builderEditForm/index.d.ts +0 -4
  90. package/lib/templates/tailwind/builderPlaceholder/index.d.ts +0 -4
  91. package/lib/templates/tailwind/builderSidebar/index.d.ts +0 -4
  92. package/lib/templates/tailwind/builderSidebarGroup/index.d.ts +0 -4
  93. package/lib/templates/tailwind/builderWizard/index.d.ts +0 -4
  94. package/lib/templates/tailwind/button/index.d.ts +0 -5
  95. package/lib/templates/tailwind/checkbox/index.d.ts +0 -5
  96. package/lib/templates/tailwind/columns/index.d.ts +0 -4
  97. package/lib/templates/tailwind/component/index.d.ts +0 -4
  98. package/lib/templates/tailwind/componentModal/index.d.ts +0 -4
  99. package/lib/templates/tailwind/components/index.d.ts +0 -4
  100. package/lib/templates/tailwind/container/index.d.ts +0 -4
  101. package/lib/templates/tailwind/cssClasses.d.ts +0 -7
  102. package/lib/templates/tailwind/datagrid/index.d.ts +0 -5
  103. package/lib/templates/tailwind/day/index.d.ts +0 -4
  104. package/lib/templates/tailwind/dialog/index.d.ts +0 -4
  105. package/lib/templates/tailwind/editgrid/index.d.ts +0 -5
  106. package/lib/templates/tailwind/editgridTable/index.d.ts +0 -5
  107. package/lib/templates/tailwind/errorsList/index.d.ts +0 -4
  108. package/lib/templates/tailwind/field/index.d.ts +0 -5
  109. package/lib/templates/tailwind/fieldset/index.d.ts +0 -4
  110. package/lib/templates/tailwind/file/index.d.ts +0 -4
  111. package/lib/templates/tailwind/html/index.d.ts +0 -4
  112. package/lib/templates/tailwind/icon/index.d.ts +0 -4
  113. package/lib/templates/tailwind/iconClass.d.ts +0 -3
  114. package/lib/templates/tailwind/index.d.ts +0 -216
  115. package/lib/templates/tailwind/input/index.d.ts +0 -5
  116. package/lib/templates/tailwind/label/index.d.ts +0 -4
  117. package/lib/templates/tailwind/loader/index.d.ts +0 -4
  118. package/lib/templates/tailwind/loading/index.d.ts +0 -4
  119. package/lib/templates/tailwind/map/index.d.ts +0 -4
  120. package/lib/templates/tailwind/message/index.d.ts +0 -4
  121. package/lib/templates/tailwind/modalPreview/index.d.ts +0 -4
  122. package/lib/templates/tailwind/modaldialog/index.d.ts +0 -4
  123. package/lib/templates/tailwind/modaledit/index.d.ts +0 -4
  124. package/lib/templates/tailwind/multiValueRow/index.d.ts +0 -4
  125. package/lib/templates/tailwind/multiValueTable/index.d.ts +0 -4
  126. package/lib/templates/tailwind/multipleMasksInput/index.d.ts +0 -4
  127. package/lib/templates/tailwind/panel/index.d.ts +0 -4
  128. package/lib/templates/tailwind/pdf/index.d.ts +0 -4
  129. package/lib/templates/tailwind/pdfBuilder/index.d.ts +0 -4
  130. package/lib/templates/tailwind/pdfBuilderUpload/index.d.ts +0 -4
  131. package/lib/templates/tailwind/radio/index.d.ts +0 -5
  132. package/lib/templates/tailwind/resourceAdd/index.d.ts +0 -4
  133. package/lib/templates/tailwind/select/index.d.ts +0 -5
  134. package/lib/templates/tailwind/selectOption/index.d.ts +0 -5
  135. package/lib/templates/tailwind/signature/index.d.ts +0 -5
  136. package/lib/templates/tailwind/survey/index.d.ts +0 -5
  137. package/lib/templates/tailwind/tab/index.d.ts +0 -5
  138. package/lib/templates/tailwind/table/index.d.ts +0 -4
  139. package/lib/templates/tailwind/tableComponents/index.d.ts +0 -4
  140. package/lib/templates/tailwind/tree/index.d.ts +0 -4
  141. package/lib/templates/tailwind/tree/partials/index.d.ts +0 -9
  142. package/lib/templates/tailwind/webform/index.d.ts +0 -5
  143. package/lib/templates/tailwind/well/index.d.ts +0 -4
  144. package/lib/templates/tailwind/wizard/index.d.ts +0 -5
  145. package/lib/templates/tailwind/wizardHeader/index.d.ts +0 -4
  146. package/lib/templates/tailwind/wizardHeaderClassic/index.d.ts +0 -4
  147. package/lib/templates/tailwind/wizardHeaderVertical/index.d.ts +0 -4
  148. package/lib/templates/tailwind/wizardNav/index.d.ts +0 -4
  149. /package/src/templates/tailwind/button/{button.stories.js → button.stories.jsx} +0 -0
package/lib/index.d.ts DELETED
@@ -1,221 +0,0 @@
1
- declare const _default: {
2
- framework: string;
3
- templates: {
4
- tailwind: {
5
- webform: {
6
- form: string;
7
- builder: string;
8
- };
9
- well: {
10
- form: string;
11
- };
12
- wizard: {
13
- form: string;
14
- builder: string;
15
- };
16
- wizardHeader: {
17
- form: string;
18
- };
19
- wizardHeaderClassic: {
20
- form: string;
21
- };
22
- wizardHeaderVertical: {
23
- form: string;
24
- };
25
- wizardNav: {
26
- form: string;
27
- };
28
- errorsList: {
29
- form: string;
30
- };
31
- alert: {
32
- form: string;
33
- };
34
- treeView: {
35
- form: string;
36
- };
37
- treeEdit: {
38
- form: string;
39
- };
40
- transform(type: string, text: string): any;
41
- defaultIconset: string;
42
- iconClass: (iconset: string, name: string, spinning?: boolean) => string;
43
- cssClasses: {
44
- "border-default": string;
45
- "formio-tab-panel-active": string;
46
- "formio-tab-link-active": string;
47
- "formio-tab-link-container-active": string;
48
- };
49
- address: {
50
- form: string;
51
- };
52
- builder: {
53
- form: string;
54
- };
55
- builderComponent: {
56
- form: string;
57
- };
58
- builderComponents: {
59
- form: string;
60
- };
61
- builderEditForm: {
62
- form: string;
63
- };
64
- builderPlaceholder: {
65
- form: string;
66
- };
67
- builderSidebar: {
68
- form: string;
69
- };
70
- builderSidebarGroup: {
71
- form: string;
72
- };
73
- builderWizard: {
74
- form: string;
75
- };
76
- button: {
77
- form: string;
78
- html: string;
79
- };
80
- checkbox: {
81
- form: string;
82
- html: string;
83
- };
84
- columns: {
85
- form: string;
86
- };
87
- component: {
88
- form: string;
89
- };
90
- componentModal: {
91
- form: string;
92
- };
93
- components: {
94
- form: string;
95
- };
96
- tableComponents: {
97
- form: string;
98
- };
99
- container: {
100
- form: string;
101
- };
102
- datagrid: {
103
- form: string;
104
- html: string;
105
- };
106
- day: {
107
- form: string;
108
- };
109
- dialog: {
110
- form: string;
111
- };
112
- editgrid: {
113
- form: string;
114
- html: string;
115
- };
116
- editgridTable: {
117
- form: string;
118
- html: string;
119
- };
120
- field: {
121
- form: string;
122
- align: string;
123
- };
124
- fieldset: {
125
- form: string;
126
- };
127
- file: {
128
- form: string;
129
- };
130
- html: {
131
- form: string;
132
- };
133
- icon: {
134
- form: string;
135
- };
136
- input: {
137
- form: string;
138
- html: string;
139
- };
140
- label: {
141
- form: string;
142
- };
143
- loader: {
144
- form: string;
145
- };
146
- loading: {
147
- form: string;
148
- };
149
- map: {
150
- form: string;
151
- };
152
- message: {
153
- form: string;
154
- };
155
- modaledit: {
156
- form: string;
157
- };
158
- modaldialog: {
159
- form: string;
160
- };
161
- modalPreview: {
162
- form: string;
163
- };
164
- multipleMasksInput: {
165
- form: string;
166
- };
167
- multiValueRow: {
168
- form: string;
169
- };
170
- multiValueTable: {
171
- form: string;
172
- };
173
- panel: {
174
- form: string;
175
- };
176
- pdf: {
177
- form: string;
178
- };
179
- pdfBuilder: {
180
- form: string;
181
- };
182
- pdfBuilderUpload: {
183
- form: string;
184
- };
185
- radio: {
186
- form: string;
187
- html: string;
188
- };
189
- resourceAdd: {
190
- form: string;
191
- };
192
- select: {
193
- form: string;
194
- html: string;
195
- };
196
- selectOption: {
197
- form: string;
198
- html: string;
199
- };
200
- signature: {
201
- form: string;
202
- html: string;
203
- };
204
- survey: {
205
- form: string;
206
- html: string;
207
- };
208
- tab: {
209
- flat: string;
210
- form: string;
211
- };
212
- table: {
213
- form: string;
214
- };
215
- tree: {
216
- form: string;
217
- };
218
- };
219
- };
220
- };
221
- export default _default;
@@ -1,218 +0,0 @@
1
- declare const _default: {
2
- tailwind: {
3
- webform: {
4
- form: string;
5
- builder: string;
6
- };
7
- well: {
8
- form: string;
9
- };
10
- wizard: {
11
- form: string;
12
- builder: string;
13
- };
14
- wizardHeader: {
15
- form: string;
16
- };
17
- wizardHeaderClassic: {
18
- form: string;
19
- };
20
- wizardHeaderVertical: {
21
- form: string;
22
- };
23
- wizardNav: {
24
- form: string;
25
- };
26
- errorsList: {
27
- form: string;
28
- };
29
- alert: {
30
- form: string;
31
- };
32
- treeView: {
33
- form: string;
34
- };
35
- treeEdit: {
36
- form: string;
37
- };
38
- transform(type: string, text: string): any;
39
- defaultIconset: string;
40
- iconClass: (iconset: string, name: string, spinning?: boolean) => string;
41
- cssClasses: {
42
- "border-default": string;
43
- "formio-tab-panel-active": string;
44
- "formio-tab-link-active": string;
45
- "formio-tab-link-container-active": string;
46
- };
47
- address: {
48
- form: string;
49
- };
50
- builder: {
51
- form: string;
52
- };
53
- builderComponent: {
54
- form: string;
55
- };
56
- builderComponents: {
57
- form: string;
58
- };
59
- builderEditForm: {
60
- form: string;
61
- };
62
- builderPlaceholder: {
63
- form: string;
64
- };
65
- builderSidebar: {
66
- form: string;
67
- };
68
- builderSidebarGroup: {
69
- form: string;
70
- };
71
- builderWizard: {
72
- form: string;
73
- };
74
- button: {
75
- form: string;
76
- html: string;
77
- };
78
- checkbox: {
79
- form: string;
80
- html: string;
81
- };
82
- columns: {
83
- form: string;
84
- };
85
- component: {
86
- form: string;
87
- };
88
- componentModal: {
89
- form: string;
90
- };
91
- components: {
92
- form: string;
93
- };
94
- tableComponents: {
95
- form: string;
96
- };
97
- container: {
98
- form: string;
99
- };
100
- datagrid: {
101
- form: string;
102
- html: string;
103
- };
104
- day: {
105
- form: string;
106
- };
107
- dialog: {
108
- form: string;
109
- };
110
- editgrid: {
111
- form: string;
112
- html: string;
113
- };
114
- editgridTable: {
115
- form: string;
116
- html: string;
117
- };
118
- field: {
119
- form: string;
120
- align: string;
121
- };
122
- fieldset: {
123
- form: string;
124
- };
125
- file: {
126
- form: string;
127
- };
128
- html: {
129
- form: string;
130
- };
131
- icon: {
132
- form: string;
133
- };
134
- input: {
135
- form: string;
136
- html: string;
137
- };
138
- label: {
139
- form: string;
140
- };
141
- loader: {
142
- form: string;
143
- };
144
- loading: {
145
- form: string;
146
- };
147
- map: {
148
- form: string;
149
- };
150
- message: {
151
- form: string;
152
- };
153
- modaledit: {
154
- form: string;
155
- };
156
- modaldialog: {
157
- form: string;
158
- };
159
- modalPreview: {
160
- form: string;
161
- };
162
- multipleMasksInput: {
163
- form: string;
164
- };
165
- multiValueRow: {
166
- form: string;
167
- };
168
- multiValueTable: {
169
- form: string;
170
- };
171
- panel: {
172
- form: string;
173
- };
174
- pdf: {
175
- form: string;
176
- };
177
- pdfBuilder: {
178
- form: string;
179
- };
180
- pdfBuilderUpload: {
181
- form: string;
182
- };
183
- radio: {
184
- form: string;
185
- html: string;
186
- };
187
- resourceAdd: {
188
- form: string;
189
- };
190
- select: {
191
- form: string;
192
- html: string;
193
- };
194
- selectOption: {
195
- form: string;
196
- html: string;
197
- };
198
- signature: {
199
- form: string;
200
- html: string;
201
- };
202
- survey: {
203
- form: string;
204
- html: string;
205
- };
206
- tab: {
207
- flat: string;
208
- form: string;
209
- };
210
- table: {
211
- form: string;
212
- };
213
- tree: {
214
- form: string;
215
- };
216
- };
217
- };
218
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,6 +0,0 @@
1
- /// <reference path="../../../../src/ejs.d.ts" />
2
- declare namespace _default {
3
- export { form };
4
- }
5
- export default _default;
6
- import form from "*.ejs";
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- html: string;
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- html: string;
4
- };
5
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,7 +0,0 @@
1
- declare const _default: {
2
- "border-default": string;
3
- "formio-tab-panel-active": string;
4
- "formio-tab-link-active": string;
5
- "formio-tab-link-container-active": string;
6
- };
7
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- html: string;
4
- };
5
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- html: string;
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- html: string;
4
- };
5
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- align: string;
4
- };
5
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- form: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- export declare const ICONS: Record<string, any>;
2
- declare const _default: (iconset: string | undefined, name: string, spinning?: boolean) => string;
3
- export default _default;