@3t-transform/threeteeui 0.1.37 → 0.1.42

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 (155) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/css-shim-211819bc.js +6 -0
  3. package/dist/cjs/dom-9deb26c8.js +75 -0
  4. package/dist/cjs/domsanitiser.options-277161b9.js +1667 -0
  5. package/dist/cjs/domsanitiser.options-3f1501b5.js +1697 -0
  6. package/dist/cjs/index-39a867c5.js +3298 -0
  7. package/dist/cjs/{index-457ca775.js → index-76f14107.js} +2 -88
  8. package/dist/cjs/loader.cjs.js +18 -3
  9. package/dist/cjs/shadow-css-bf3843d2.js +389 -0
  10. package/dist/cjs/tttx-button.cjs.entry.js +25 -25
  11. package/dist/cjs/tttx-filter.cjs.entry.js +159 -159
  12. package/dist/cjs/tttx-form.cjs.entry.js +459 -373
  13. package/dist/cjs/tttx-icon.cjs.entry.js +11 -11
  14. package/dist/cjs/tttx-keyvalue-block.cjs.entry.js +59 -59
  15. package/dist/cjs/tttx-list.cjs.entry.js +32 -1694
  16. package/dist/cjs/tttx-loading-spinner.cjs.entry.js +16 -16
  17. package/dist/cjs/tttx-sorter.cjs.entry.js +102 -102
  18. package/dist/cjs/tttx-standalone-input.cjs.entry.js +79 -79
  19. package/dist/cjs/tttx-toolbar.cjs.entry.js +10 -10
  20. package/dist/cjs/tttx.cjs.js +116 -8
  21. package/dist/collection/collection-manifest.json +2 -2
  22. package/dist/collection/components/atoms/tttx-button/tttx-button.css +4 -4
  23. package/dist/collection/components/atoms/tttx-button/tttx-button.js +110 -110
  24. package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +14 -14
  25. package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +62 -62
  26. package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +22 -22
  27. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +109 -109
  28. package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +38 -38
  29. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +67 -67
  30. package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +17 -17
  31. package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +334 -334
  32. package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +62 -62
  33. package/dist/collection/components/molecules/tttx-form/lib/setErrorState.js +37 -37
  34. package/dist/collection/components/molecules/tttx-form/lib/validityCheck.js +61 -58
  35. package/dist/collection/components/molecules/tttx-form/tttx-form.css +98 -2
  36. package/dist/collection/components/molecules/tttx-form/tttx-form.js +479 -393
  37. package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +274 -218
  38. package/dist/collection/components/molecules/tttx-list/tttx-list.js +105 -105
  39. package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +43 -43
  40. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +224 -224
  41. package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +42 -42
  42. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +759 -759
  43. package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +172 -172
  44. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +44 -44
  45. package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +14 -14
  46. package/dist/collection/components/palette.stories.js +7 -7
  47. package/dist/collection/docs/gettingstarted-developer.stories.js +5 -5
  48. package/dist/collection/icons.js +2838 -2838
  49. package/dist/collection/index.js +1 -1
  50. package/dist/collection/shared/domsanitiser.options.js +14 -14
  51. package/dist/components/domsanitiser.options.js +1694 -0
  52. package/dist/components/index.d.ts +0 -9
  53. package/dist/components/index.js +5 -1
  54. package/dist/components/tttx-button.js +49 -49
  55. package/dist/components/tttx-filter.js +191 -191
  56. package/dist/components/tttx-form.js +477 -391
  57. package/dist/components/tttx-icon2.js +28 -28
  58. package/dist/components/tttx-keyvalue-block.js +76 -76
  59. package/dist/components/tttx-list.js +54 -1716
  60. package/dist/components/tttx-loading-spinner.js +33 -33
  61. package/dist/components/tttx-sorter.js +130 -130
  62. package/dist/components/tttx-standalone-input.js +130 -130
  63. package/dist/components/tttx-toolbar.js +26 -26
  64. package/dist/esm/app-globals-0f993ce5.js +3 -0
  65. package/dist/esm/css-shim-9d54a2f2.js +4 -0
  66. package/dist/esm/dom-6be6f662.js +73 -0
  67. package/dist/esm/domsanitiser.options-6f2878c8.js +1694 -0
  68. package/dist/esm/domsanitiser.options-cc420431.js +1664 -0
  69. package/dist/esm/{index-d784fb3e.js → index-9cde46a5.js} +3 -88
  70. package/dist/esm/index-e3e64631.js +3262 -0
  71. package/dist/esm/loader.js +18 -3
  72. package/dist/esm/polyfills/core-js.js +0 -0
  73. package/dist/esm/polyfills/css-shim.js +1 -1
  74. package/dist/esm/polyfills/dom.js +0 -0
  75. package/dist/esm/polyfills/es5-html-element.js +0 -0
  76. package/dist/esm/polyfills/index.js +0 -0
  77. package/dist/esm/polyfills/system.js +0 -0
  78. package/dist/esm/shadow-css-ed4599f8.js +387 -0
  79. package/dist/esm/tttx-button.entry.js +25 -25
  80. package/dist/esm/tttx-filter.entry.js +159 -159
  81. package/dist/esm/tttx-form.entry.js +459 -373
  82. package/dist/esm/tttx-icon.entry.js +11 -11
  83. package/dist/esm/tttx-keyvalue-block.entry.js +59 -59
  84. package/dist/esm/tttx-list.entry.js +32 -1694
  85. package/dist/esm/tttx-loading-spinner.entry.js +16 -16
  86. package/dist/esm/tttx-sorter.entry.js +102 -102
  87. package/dist/esm/tttx-standalone-input.entry.js +79 -79
  88. package/dist/esm/tttx-toolbar.entry.js +10 -10
  89. package/dist/esm/tttx.js +116 -5
  90. package/dist/tttx/app-globals-0f993ce5.js +3 -0
  91. package/dist/tttx/css-shim-9d54a2f2.js +4 -0
  92. package/dist/tttx/dom-6be6f662.js +73 -0
  93. package/dist/tttx/domsanitiser.options-6f2878c8.js +1694 -0
  94. package/dist/tttx/index-e3e64631.js +3262 -0
  95. package/dist/tttx/index.esm.js +1 -0
  96. package/dist/tttx/{p-400868f1.entry.js → p-3b1be372.entry.js} +1 -1
  97. package/dist/tttx/p-4e637d50.entry.js +1 -0
  98. package/dist/tttx/{p-563605b2.entry.js → p-561224f5.entry.js} +1 -1
  99. package/dist/tttx/{p-b720c4ad.entry.js → p-9f1e9cc1.entry.js} +1 -1
  100. package/dist/tttx/{p-798a098a.entry.js → p-aef96333.entry.js} +1 -1
  101. package/dist/tttx/p-b4290a5b.js +3 -0
  102. package/dist/tttx/p-bd1edaed.entry.js +1 -0
  103. package/dist/tttx/p-d0ff9ad0.entry.js +1 -0
  104. package/dist/tttx/{p-cac26a1b.entry.js → p-d2f1aa8e.entry.js} +1 -1
  105. package/dist/tttx/p-db059a69.js +2 -0
  106. package/dist/tttx/p-dc2a37b0.entry.js +1 -0
  107. package/dist/tttx/{p-ab6ce9f6.entry.js → p-e53c7f9d.entry.js} +1 -1
  108. package/dist/tttx/{p-92cade7f.entry.js → p-f885f17a.entry.js} +1 -1
  109. package/dist/tttx/shadow-css-ed4599f8.js +387 -0
  110. package/dist/tttx/tttx-button.entry.js +30 -0
  111. package/dist/tttx/tttx-filter.entry.js +165 -0
  112. package/dist/tttx/tttx-form.entry.js +468 -0
  113. package/dist/tttx/tttx-icon.entry.js +17 -0
  114. package/dist/tttx/tttx-keyvalue-block.entry.js +65 -0
  115. package/dist/tttx/tttx-list.entry.js +38 -0
  116. package/dist/tttx/tttx-loading-spinner.entry.js +22 -0
  117. package/dist/tttx/tttx-sorter.entry.js +108 -0
  118. package/dist/tttx/tttx-standalone-input.entry.js +85 -0
  119. package/dist/tttx/tttx-toolbar.entry.js +16 -0
  120. package/dist/tttx/tttx.esm.js +129 -1
  121. package/dist/types/components/atoms/tttx-button/tttx-button.d.ts +10 -10
  122. package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +10 -10
  123. package/dist/types/components/atoms/tttx-icon/tttx-icon.d.ts +5 -5
  124. package/dist/types/components/atoms/tttx-icon/tttx-icon.stories.d.ts +20 -20
  125. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.d.ts +7 -7
  126. package/dist/types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.d.ts +9 -9
  127. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.d.ts +6 -6
  128. package/dist/types/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.d.ts +17 -17
  129. package/dist/types/components/molecules/tttx-filter/tttx-filter.d.ts +39 -39
  130. package/dist/types/components/molecules/tttx-filter/tttx-filter.stories.d.ts +68 -68
  131. package/dist/types/components/molecules/tttx-form/lib/setErrorState.d.ts +13 -13
  132. package/dist/types/components/molecules/tttx-form/lib/validityCheck.d.ts +17 -17
  133. package/dist/types/components/molecules/tttx-form/tttx-form.d.ts +133 -111
  134. package/dist/types/components/molecules/tttx-form/tttx-form.stories.d.ts +278 -13
  135. package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +11 -11
  136. package/dist/types/components/molecules/tttx-list/tttx-list.stories.d.ts +14 -14
  137. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.d.ts +19 -19
  138. package/dist/types/components/molecules/tttx-sorter/tttx-sorter.stories.d.ts +30 -30
  139. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +69 -69
  140. package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.d.ts +143 -143
  141. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.d.ts +4 -4
  142. package/dist/types/components/molecules/tttx-toolbar/tttx-toolbar.stories.d.ts +13 -13
  143. package/dist/types/components/palette.stories.d.ts +6 -6
  144. package/dist/types/components.d.ts +1 -1
  145. package/dist/types/docs/gettingstarted-developer.stories.d.ts +5 -5
  146. package/dist/types/icons.d.ts +2 -2
  147. package/dist/types/index.d.ts +1 -1
  148. package/dist/types/shared/domsanitiser.options.d.ts +10 -10
  149. package/dist/types/stencil-public-runtime.d.ts +3 -59
  150. package/loader/index.d.ts +0 -9
  151. package/package.json +1 -1
  152. package/dist/tttx/p-0ebffdfc.js +0 -2
  153. package/dist/tttx/p-72e7f7dd.entry.js +0 -3
  154. package/dist/tttx/p-c4162029.entry.js +0 -1
  155. package/dist/tttx/p-eb126fd0.entry.js +0 -1
@@ -1,13 +1,278 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- parameters: {
5
- actions: {
6
- handles: string[];
7
- };
8
- };
9
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
- };
11
- export default _default;
12
- export declare const ExampleFormFromJSON: () => string;
13
- export declare const PrePopulateForm: () => string;
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ parameters: {
5
+ actions: {
6
+ handles: string[];
7
+ };
8
+ };
9
+ decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
+ };
11
+ export default _default;
12
+ export declare const SingleFormItem: {
13
+ (args: any): string;
14
+ args: {
15
+ formSchema: {
16
+ properties: {
17
+ input: {
18
+ type: string;
19
+ format: string;
20
+ form: {
21
+ type: string;
22
+ label: string;
23
+ validation: {
24
+ required: {
25
+ message: string;
26
+ };
27
+ };
28
+ };
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
34
+ export declare const ExampleFormFromJSON: {
35
+ (args: any): string;
36
+ args: {
37
+ formSchema: {
38
+ properties: {
39
+ title: {
40
+ type: string;
41
+ format: string;
42
+ form: {
43
+ type: string;
44
+ placeholder: string;
45
+ label: string;
46
+ };
47
+ };
48
+ forename: {
49
+ type: string;
50
+ format: string;
51
+ form: {
52
+ type: string;
53
+ placeholder: string;
54
+ label: string;
55
+ validation: {
56
+ required: {
57
+ message: string;
58
+ };
59
+ };
60
+ };
61
+ };
62
+ surname: {
63
+ type: string;
64
+ format: string;
65
+ form: {
66
+ type: string;
67
+ placeholder: string;
68
+ label: string;
69
+ validation: {
70
+ required: {
71
+ message: string;
72
+ };
73
+ };
74
+ };
75
+ };
76
+ postcode: {
77
+ type: string;
78
+ format: string;
79
+ form: {
80
+ type: string;
81
+ placeholder: string;
82
+ label: string;
83
+ validation: {
84
+ required: {
85
+ message: string;
86
+ };
87
+ pattern: {
88
+ pattern: string;
89
+ message: string;
90
+ };
91
+ maxlength: number;
92
+ };
93
+ };
94
+ };
95
+ age: {
96
+ type: string;
97
+ format: string;
98
+ form: {
99
+ type: string;
100
+ placeholder: string;
101
+ label: string;
102
+ validation: {
103
+ required: {
104
+ message: string;
105
+ };
106
+ badInput: {
107
+ message: string;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ dob: {
113
+ type: string;
114
+ format: string;
115
+ form: {
116
+ type: string;
117
+ placeholder: string;
118
+ label: string;
119
+ validation: {
120
+ required: {
121
+ message: string;
122
+ };
123
+ minmax: {
124
+ min: string;
125
+ max: string;
126
+ message: string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ dropdown: {
132
+ form: {
133
+ type: string;
134
+ blankDefault: boolean;
135
+ label: string;
136
+ options: ({
137
+ label: string;
138
+ value: string;
139
+ placeholder: boolean;
140
+ } | {
141
+ label: string;
142
+ value: string;
143
+ placeholder?: undefined;
144
+ })[];
145
+ validation: {
146
+ required: {
147
+ message: string;
148
+ };
149
+ };
150
+ };
151
+ };
152
+ permissions: {
153
+ form: {
154
+ type: string;
155
+ label: string;
156
+ inlineLabel: string;
157
+ validation: {
158
+ required: {
159
+ message: string;
160
+ };
161
+ };
162
+ };
163
+ };
164
+ };
165
+ };
166
+ };
167
+ };
168
+ export declare const PrePopulateForm: {
169
+ (args: any): string;
170
+ args: {
171
+ data: {
172
+ title: string;
173
+ forename: string;
174
+ surname: string;
175
+ postcode: string;
176
+ age: string;
177
+ dob: string;
178
+ };
179
+ formSchema: {
180
+ properties: {
181
+ title: {
182
+ type: string;
183
+ format: string;
184
+ form: {
185
+ type: string;
186
+ placeholder: string;
187
+ label: string;
188
+ };
189
+ };
190
+ forename: {
191
+ type: string;
192
+ format: string;
193
+ form: {
194
+ type: string;
195
+ placeholder: string;
196
+ label: string;
197
+ validation: {
198
+ required: {
199
+ message: string;
200
+ };
201
+ };
202
+ };
203
+ };
204
+ surname: {
205
+ type: string;
206
+ format: string;
207
+ form: {
208
+ type: string;
209
+ placeholder: string;
210
+ label: string;
211
+ validation: {
212
+ required: {
213
+ message: string;
214
+ };
215
+ };
216
+ };
217
+ };
218
+ postcode: {
219
+ type: string;
220
+ format: string;
221
+ form: {
222
+ type: string;
223
+ placeholder: string;
224
+ label: string;
225
+ validation: {
226
+ required: {
227
+ message: string;
228
+ };
229
+ pattern: {
230
+ pattern: string;
231
+ message: string;
232
+ };
233
+ maxlength: number;
234
+ };
235
+ };
236
+ };
237
+ age: {
238
+ type: string;
239
+ format: string;
240
+ form: {
241
+ type: string;
242
+ placeholder: string;
243
+ label: string;
244
+ readonly: boolean;
245
+ validation: {
246
+ required: {
247
+ message: string;
248
+ };
249
+ badInput: {
250
+ message: string;
251
+ };
252
+ };
253
+ };
254
+ };
255
+ dob: {
256
+ type: string;
257
+ format: string;
258
+ form: {
259
+ type: string;
260
+ placeholder: string;
261
+ label: string;
262
+ readonly: boolean;
263
+ validation: {
264
+ required: {
265
+ message: string;
266
+ };
267
+ minmax: {
268
+ min: string;
269
+ max: string;
270
+ message: string;
271
+ };
272
+ };
273
+ };
274
+ };
275
+ };
276
+ };
277
+ };
278
+ };
@@ -1,11 +1,11 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { ListItem } from './interfaces';
3
- export declare class TttxList {
4
- data: string | ListItem[];
5
- name: string;
6
- rowClick: EventEmitter;
7
- private _data;
8
- onRowClickHandler(item: ListItem): void;
9
- renderListItem(item: ListItem): any;
10
- render(): any;
11
- }
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { ListItem } from './interfaces';
3
+ export declare class TttxList {
4
+ data: string | ListItem[];
5
+ name: string;
6
+ rowClick: EventEmitter;
7
+ private _data;
8
+ onRowClickHandler(item: ListItem): void;
9
+ renderListItem(item: ListItem): any;
10
+ render(): any;
11
+ }
@@ -1,14 +1,14 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- parameters: {
5
- actions: {
6
- handles: string[];
7
- };
8
- };
9
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
- };
11
- export default _default;
12
- export declare const BasicStringList: any;
13
- export declare const BasicObjectList: any;
14
- export declare const BasicClickableList: any;
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ parameters: {
5
+ actions: {
6
+ handles: string[];
7
+ };
8
+ };
9
+ decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
10
+ };
11
+ export default _default;
12
+ export declare const BasicStringList: any;
13
+ export declare const BasicObjectList: any;
14
+ export declare const BasicClickableList: any;
@@ -1,19 +1,19 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { SorterData, SorterChangeEvent } from './interfaces';
3
- export declare class TttxSorter {
4
- sorterKey: string;
5
- defaultSortDirection: 'ascending' | 'descending';
6
- fieldOptionsData: string | SorterData;
7
- defaultOption: string;
8
- selectedField: string;
9
- sortDirection: 'ascending' | 'descending';
10
- dropdownExpand: boolean;
11
- dropdownOptions: HTMLElement[];
12
- sorterChangeEvent: EventEmitter<SorterChangeEvent>;
13
- el: any;
14
- emitSortEvent(): void;
15
- onSortToggleClick(event: Event): void;
16
- onDropdownClicked(): void;
17
- onDropdownSelected(event: Event): void;
18
- render(): any;
19
- }
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { SorterData, SorterChangeEvent } from './interfaces';
3
+ export declare class TttxSorter {
4
+ sorterKey: string;
5
+ defaultSortDirection: 'ascending' | 'descending';
6
+ fieldOptionsData: string | SorterData;
7
+ defaultOption: string;
8
+ selectedField: string;
9
+ sortDirection: 'ascending' | 'descending';
10
+ dropdownExpand: boolean;
11
+ dropdownOptions: HTMLElement[];
12
+ sorterChangeEvent: EventEmitter<SorterChangeEvent>;
13
+ el: any;
14
+ emitSortEvent(): void;
15
+ onSortToggleClick(event: Event): void;
16
+ onDropdownClicked(): void;
17
+ onDropdownSelected(event: Event): void;
18
+ render(): any;
19
+ }
@@ -1,30 +1,30 @@
1
- declare const _default: {
2
- title: string;
3
- component: string;
4
- argTypes: {
5
- fieldOptionsData: {
6
- control: {
7
- type: string;
8
- };
9
- };
10
- defaultOption: {
11
- control: {
12
- type: string;
13
- };
14
- };
15
- sorterKey: {
16
- control: {
17
- type: string;
18
- };
19
- };
20
- };
21
- parameters: {
22
- actions: {
23
- handles: string[];
24
- };
25
- };
26
- decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
27
- };
28
- export default _default;
29
- export declare const BasicSorter: any;
30
- export declare const AnotherSorter: any;
1
+ declare const _default: {
2
+ title: string;
3
+ component: string;
4
+ argTypes: {
5
+ fieldOptionsData: {
6
+ control: {
7
+ type: string;
8
+ };
9
+ };
10
+ defaultOption: {
11
+ control: {
12
+ type: string;
13
+ };
14
+ };
15
+ sorterKey: {
16
+ control: {
17
+ type: string;
18
+ };
19
+ };
20
+ };
21
+ parameters: {
22
+ actions: {
23
+ handles: string[];
24
+ };
25
+ };
26
+ decorators: import("@storybook/types").Addon_DecoratorFunction<unknown>[];
27
+ };
28
+ export default _default;
29
+ export declare const BasicSorter: any;
30
+ export declare const AnotherSorter: any;
@@ -1,69 +1,69 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- export type DateSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
3
- export type MonthSyntax = `${number}${number}${number}${number}-${number}${number}`;
4
- export type WeekSyntax = `${number}${number}${number}${number}-W${number}${number}`;
5
- export type TimeSyntax = `${number}${number}:${number}${number}`;
6
- export type DateTimeLocalSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}`;
7
- export type MinMaxDates = DateSyntax | MonthSyntax | WeekSyntax | TimeSyntax | DateTimeLocalSyntax;
8
- export declare class TttxInput {
9
- label: string;
10
- /**
11
- * Footnote under the input field
12
- */
13
- secondarylabel: string;
14
- showerrormsg: boolean;
15
- showerrorbubble: boolean;
16
- errormsg: string;
17
- iconleft: string;
18
- iconleftcolor: string;
19
- iconright: string;
20
- iconrightcolor: string;
21
- inputicon: string;
22
- inputiconcolor: string;
23
- inline: boolean;
24
- inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
25
- inputautofocus: boolean;
26
- /**
27
- * Defines what action to present for the enter key on virtual keyboards
28
- */
29
- inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
30
- /**
31
- * tabindex - Allows the HTML elements to be focusable
32
- * @example <caption>In HTML (like `index.html`)</caption>
33
- * <tttx-standalone-input input-index="1" />
34
- * @example <caption>In TSX files</caption>
35
- * <tttx-standalone-input inputindex={1} />
36
- */
37
- inputindex: string | number;
38
- inputtitle: string;
39
- autocomplete: 'off' | 'on';
40
- checked: boolean;
41
- disabled: boolean;
42
- max: MinMaxDates | number;
43
- maxlength: string | number;
44
- min: MinMaxDates | number;
45
- minlength: string | number;
46
- name: string;
47
- pattern: string;
48
- placeholder: string;
49
- readonly: string | boolean;
50
- required: boolean;
51
- step: string | number;
52
- type: string;
53
- value: string | number;
54
- valueChanged: EventEmitter<string>;
55
- handleChange(event: Event | InputEvent): void;
56
- focusChanged: EventEmitter<string>;
57
- handleFocus(event: Event | InputEvent): void;
58
- blurChanged: EventEmitter<string>;
59
- handleBlur(event: Event | InputEvent): void;
60
- invalidChanged: EventEmitter<string>;
61
- handleInvalid(event: Event | InputEvent): void;
62
- inputIconClick: EventEmitter<void>;
63
- handleInputIconClick(event: PointerEvent): void;
64
- leftIconClick: EventEmitter<void>;
65
- handleLeftIconClick(event: PointerEvent): void;
66
- rightIconClick: EventEmitter<void>;
67
- handleRightIconClick(event: PointerEvent): void;
68
- render(): any;
69
- }
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare type DateSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}`;
3
+ export declare type MonthSyntax = `${number}${number}${number}${number}-${number}${number}`;
4
+ export declare type WeekSyntax = `${number}${number}${number}${number}-W${number}${number}`;
5
+ export declare type TimeSyntax = `${number}${number}:${number}${number}`;
6
+ export declare type DateTimeLocalSyntax = `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}`;
7
+ export declare type MinMaxDates = DateSyntax | MonthSyntax | WeekSyntax | TimeSyntax | DateTimeLocalSyntax;
8
+ export declare class TttxInput {
9
+ label: string;
10
+ /**
11
+ * Footnote under the input field
12
+ */
13
+ secondarylabel: string;
14
+ showerrormsg: boolean;
15
+ showerrorbubble: boolean;
16
+ errormsg: string;
17
+ iconleft: string;
18
+ iconleftcolor: string;
19
+ iconright: string;
20
+ iconrightcolor: string;
21
+ inputicon: string;
22
+ inputiconcolor: string;
23
+ inline: boolean;
24
+ inputautocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
25
+ inputautofocus: boolean;
26
+ /**
27
+ * Defines what action to present for the enter key on virtual keyboards
28
+ */
29
+ inputkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
30
+ /**
31
+ * tabindex - Allows the HTML elements to be focusable
32
+ * @example <caption>In HTML (like `index.html`)</caption>
33
+ * <tttx-standalone-input input-index="1" />
34
+ * @example <caption>In TSX files</caption>
35
+ * <tttx-standalone-input inputindex={1} />
36
+ */
37
+ inputindex: string | number;
38
+ inputtitle: string;
39
+ autocomplete: 'off' | 'on';
40
+ checked: boolean;
41
+ disabled: boolean;
42
+ max: MinMaxDates | number;
43
+ maxlength: string | number;
44
+ min: MinMaxDates | number;
45
+ minlength: string | number;
46
+ name: string;
47
+ pattern: string;
48
+ placeholder: string;
49
+ readonly: string | boolean;
50
+ required: boolean;
51
+ step: string | number;
52
+ type: string;
53
+ value: string | number;
54
+ valueChanged: EventEmitter<string>;
55
+ handleChange(event: Event | InputEvent): void;
56
+ focusChanged: EventEmitter<string>;
57
+ handleFocus(event: Event | InputEvent): void;
58
+ blurChanged: EventEmitter<string>;
59
+ handleBlur(event: Event | InputEvent): void;
60
+ invalidChanged: EventEmitter<string>;
61
+ handleInvalid(event: Event | InputEvent): void;
62
+ inputIconClick: EventEmitter<void>;
63
+ handleInputIconClick(event: PointerEvent): void;
64
+ leftIconClick: EventEmitter<void>;
65
+ handleLeftIconClick(event: PointerEvent): void;
66
+ rightIconClick: EventEmitter<void>;
67
+ handleRightIconClick(event: PointerEvent): void;
68
+ render(): any;
69
+ }