@cntwg/html-helper 0.0.14

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.
@@ -0,0 +1,405 @@
1
+ >|***rev.*:**|0.1.9|
2
+ >|:---|---:|
3
+ >|date:|2022-09-12|
4
+
5
+ ## Introduction
6
+
7
+ This paper describes a classes provided by `html-ctrls-list.js` module.
8
+
9
+ ## Module classes
10
+
11
+ ### **THtmlItemsListContainer**
12
+
13
+ This class provide a base container useful when dealing with a list elements placed on an HTML-form.
14
+
15
+ #### class constructor
16
+
17
+ The class constructor creates a new instance of the class. It receives a parameters listed below:
18
+
19
+ |parameter name|value type|default value|description|
20
+ |:---|---|---:|:---|
21
+ |`host`|`HTMLElement`|`undefined`|points to a host element which holds a list items|
22
+ |`options`|`object`|---|contains a container settings|
23
+
24
+ The `options` structure has listed below:
25
+
26
+ |option name|value type|default value|description|
27
+ |:---|---|---:|:---|
28
+ |`autoHideNewItems`|`boolean`|`false`|alters behavior of the `addItem` class method. If set to `true`, the item which was added to a container members will be automatically hidden|
29
+
30
+ #### class properties
31
+
32
+ The table below describes a properties of a `THtmlItemsListContainer` class:
33
+
34
+ |property name|property type|read only|description|
35
+ |:---|---|---|:---|
36
+ |`count`|`number`|yes|contains a quantity of the items which holds by a container|
37
+ |`curIndex`|`index`|yes|presents an index of a current item|
38
+ |`minIndex`|`index`|yes|represents a minimum possible index for an item inside the container|
39
+ |`maxIndex`|`index`|yes|represents a maximum possible index for an item inside the container|
40
+ |`prevIndex`|`index`|yes|presents an index of the previous item before the current|
41
+ |`nextIndex`|`index`|yes|presents an index of the next item after the current|
42
+ |`curItem`|`HTMLElement` or `null`|yes|represents an item addressed by the `curIndex`|
43
+
44
+ #### class methods
45
+
46
+ ##### **clear()**
47
+
48
+ This method deletes all items that holds by the container.
49
+
50
+ ##### **isEmpty()**
51
+
52
+ This method returns `true` if the container has no items.
53
+
54
+ ##### **isNotEmpty()**
55
+
56
+ This method returns `true` if the container has at least one item.
57
+
58
+ ##### **chkIndex(value)**
59
+
60
+ This method returns `true` if a given `value` represents a valid index within the range of the list.
61
+
62
+ ##### **chkIndexEx(value\[, mode])**
63
+
64
+ This method is similar to a `chkIndex` methods but receives a `mode` parameter which allow to choose what a type of the result the method returns.
65
+
66
+ The `mode` parameter treats as follows:
67
+
68
+ - if set to `false`, the result returned by the method is a `boolean` value;
69
+ - if `mode` parameter set to `true`, the result returned by the method has an index type;
70
+ - if not given or has a type of not a `boolean` value, the default value is used which is set to `false`.
71
+
72
+ ##### **srchIndex(item)**
73
+
74
+ This method tries to find a given item in the list and if it is found returns its index.
75
+
76
+ ##### **srchIndexByAttr(name, value)**
77
+
78
+ This method tries to find an item by its given attribute in the list and if it is found returns its index.
79
+
80
+ ##### **srchIndexByID(value)**
81
+
82
+ This method tries to find an item by its `ID`-attribute in the list and if it is found returns its index.
83
+
84
+ ##### **setCurIndex(value)**
85
+
86
+ This method sets a current item index in the list. If succeed `true` is returned.
87
+
88
+ ##### **rstCurIndex()**
89
+
90
+ This method resets a current item index in the list.
91
+
92
+ ##### **getItem(index)**
93
+
94
+ This method returns an item addressed by a given `index`.
95
+
96
+ ##### **getItemByAttr(name, value)**
97
+
98
+ This method tries to find an item by its given attribute in the list and if found returns it.
99
+
100
+ ##### **getItemByID(value)**
101
+
102
+ This method tries to find an item by its `ID`-attribute in the list and if found returns it.
103
+
104
+ ##### **addItem(item\[, options])**
105
+
106
+ This method adds a given item to a container members and if succeed returns its index.
107
+
108
+ If `options` parameter is given and is set to `true`, in case of success, the `curIndex` property is adjusted by the method.
109
+
110
+ ##### **delItem(index\[, options])**
111
+
112
+ This method deletes an item addressed by the given `index` from a container members and if succeed `true` is returned.
113
+
114
+ If `options` parameter is set to `true` (a default value), the `curIndex` property is adjusted by the method. If it is set to `false` the `curIndex` property is not adjusted before a value of the property exited out of the list indexes range that caused the property to be reset. In case the `options` is not given or is not a type of a `boolean`, its receives the default value.
115
+
116
+ ##### **selectItem(index\[, options])**
117
+
118
+ This method selects an item addressed by an `index` and if succeed `true` is returned.
119
+
120
+ If `options` parameter is given and is set to `true`, in case of success, the `curIndex` property is adjusted by the method.
121
+
122
+ ##### **unselectItem(index)**
123
+
124
+ This method unselects an item addressed by an `index` and if succeed `true` is returned.
125
+
126
+ ##### **hideItem(index)**
127
+
128
+ This method hides an item addressed by an `index` and if succeed `true` is returned.
129
+
130
+ ##### **showItem(index)**
131
+
132
+ This method shows an item addressed by an `index` and if succeed `true` is returned.
133
+
134
+ ##### **isSelectedItem(index)**
135
+
136
+ This method checks whether or not an item addressed by an `index` is selected and if so `true` is returned.
137
+
138
+ ##### **isHiddenItem(index)**
139
+
140
+ This method checks whether or not an item addressed by an `index` is hidden and if so `true` is returned.
141
+
142
+ ### **THtmlItemsListController**
143
+
144
+ This class implements a controller that provide mechanism for menaging a list container and its elements placed on an HTML-form.
145
+
146
+ #### class constructor
147
+
148
+ The class constructor creates a new instance of the class. It receives a parameters listed below:
149
+
150
+ |parameter name|value type|default value|description|
151
+ |:---|---|---:|:---|
152
+ |`host`|`HTMLElement`|`undefined`|points to a host element which holds a list items|
153
+ |`options`|`object`|---|contains a set of a settings for a container|
154
+
155
+ The `options` structure has listed below:
156
+
157
+ |option name|value type|default value|description|
158
+ |:---|---|---:|:---|
159
+ |`autoHideNewItems`|`boolean`|`false`|alters behavior of the `addItem` class method. If set to `true`, the item which was added to a container members will be automatically hidden|
160
+ |`showStubsIfEmpty`|`boolean`|`false`|if set, in case of the empty list, the default stub-item will be displayed|
161
+ |`allowGroupSelection`|`boolean`|`false`|if set the more than one element can be selected in the list|
162
+ |`allowSelectionLocks`|`boolean`|`false`|<*reserved, experimental*>|
163
+
164
+ #### class properties
165
+
166
+ |property name|property type|read only|description|
167
+ |:---|---|---|:---|
168
+ |`count`|`number`|yes|contains quantity of items which holds by container|
169
+ |`curIndex`|`index`|yes|presents an index of a current item|
170
+ |`maxIndex`|`index`|yes|represents a max possible index for an item inside the container|
171
+ |`prevIndex`|`index`|yes|presents an index of a previous item before the current|
172
+ |`nextIndex`|`index`|yes|presents an index of a next item after the current|
173
+ |`curItem`|`HTMLElement` or `null`|yes|represents an item addressed by `curIndex`|
174
+ |`SelectedItems`|`array`|yes|returns an array of a selected items|
175
+ |`StubItems`|`THtmlStubItemsSet`|yes|returns a `THtmlStubItemsSet` instance|
176
+ |`isSelectionLocked`|`boolean`|yes|returns `true` if selections of an items is not allowed|
177
+
178
+ #### class methods
179
+
180
+ ##### **clear()**
181
+
182
+ This method deletes all items that is hold by the list.
183
+
184
+ ##### **lockItemsSelection()**
185
+
186
+ This method blocks a selection of the items in the list.
187
+
188
+ ##### **unlockItemsSelection()**
189
+
190
+ This method allows a selection of the items in the list.
191
+
192
+ ##### **isEmpty()**
193
+
194
+ This method returns `true` if the list has no items.
195
+
196
+ ##### **isNotEmpty()**
197
+
198
+ This method returns `true` if the list has at least one item.
199
+
200
+ ##### **chkIndex(value)**
201
+
202
+ This method returns `true` if a given value represent a valid index within the range of the list.
203
+
204
+ ##### **chkIndexEx(value\[, mode])**
205
+
206
+ This method is similar to a `chkIndex` methods but receives a `mode` parameter which allow to choose what a type of the result the method returns.
207
+
208
+ If `mode` parameter set to `false` (*its default value*), the result returned by the method is a `boolean` value.
209
+
210
+ If `mode` parameter set to `true`, the result returned by the method has an index type.
211
+
212
+ ##### **srchIndex(item)**
213
+
214
+ This method tries to find a given item in the list and if it is found returns its index.
215
+
216
+ ##### **srchIndexByAttr(name, value)**
217
+
218
+ This method tries to find an item by its given attribute in the list and if it is found returns its index.
219
+
220
+ ##### **srchIndexByID(value)**
221
+
222
+ This method tries to find an item by its `ID`-attribute in the list and if it is found returns its index.
223
+
224
+ ##### **setCurIndex(value)**
225
+
226
+ This method sets a current item index in the list. If succeed `true` is returned.
227
+
228
+ ##### **rstCurIndex()**
229
+
230
+ This method resets a current item index in the list.
231
+
232
+ ##### **getItem(index)**
233
+
234
+ This method returns an item addressed by a given index.
235
+
236
+ ##### **getItemByAttr(name, value)**
237
+
238
+ This method tries to find an item by its given attribute in the list and if found returns it.
239
+
240
+ ##### **getItemByID(value)**
241
+
242
+ This method tries to find an item by its `ID`-attribute in the list and if found returns it.
243
+
244
+ ##### **addItem(item\[, options])**
245
+
246
+ This method adds a given item to a list members and if succeed returns its index.
247
+
248
+ ##### **delItem(index\[, options])**
249
+
250
+ This method deletes an item addressed by `index` from a list members and if succeed `true` is returned.
251
+
252
+ ##### **selectItem(index\[, options])**
253
+
254
+ This method selects an item addressed by an `index` and if succeed `true` is returned.
255
+
256
+ ##### **unselectItem(index)**
257
+
258
+ This method unselects an item addressed by an `index` and if succeed `true` is returned.
259
+
260
+ ##### **hideItem(index)**
261
+
262
+ This method hides an item addressed by an `index` and if succeed `true` is returned.
263
+
264
+ ##### **showItem(index)**
265
+
266
+ This method shows an item addressed by an `index` and if succeed `true` is returned.
267
+
268
+ ##### **isSelectedItem(index)**
269
+
270
+ This method checks whether or not an item addressed by an `index` is selected and if so `true` is returned.
271
+
272
+ ##### **isHiddenItem(index)**
273
+
274
+ This method checks whether or not an item addressed by an `index` is hidden and if so `true` is returned.
275
+
276
+ ##### **on(name, event)**
277
+
278
+ This method sets event handler for the list event addressed by `name` parameter.
279
+
280
+ > Note: for current implementation you can't reset or set new event handler (especailly another one) if a hanlder with the same name exists already.
281
+
282
+ #### class events
283
+
284
+ The class generates the events listed in the table bellow:
285
+
286
+ |event name|description|
287
+ |:---|:---|
288
+ |`list-clear`|fired if the list is cleared or a last item was removed|
289
+ |`first-item-added`|fired when a first item was added to the list. This event will occur before `item-added` event was triggered|
290
+ |`item-added`|fired when an item was added to the list|
291
+ |`item-removed`|fired when an item was deleted from the list. It will not occur in case the item is the last.|
292
+ |`current-item-chosen`|fired when an item was choosen as current|
293
+ |`item-selected`|fired when an item was marked as selested in the list|
294
+ |`item-unselected`|fired when an item was marked as unselested in the list|
295
+ |`item-hidden`|fired when an item was marked as hidden in the list|
296
+ |`item-shown`|fired when an item was marked as non-hidden in the list|
297
+
298
+ ### **THtmlStubItemsSet**
299
+
300
+ This class implements a controller that provide mechanism for managing a so-called "stub"-elements displayed inside an attached list container placed on an HTML-form.
301
+
302
+ #### class constructor
303
+
304
+ The class constructor creates a new instance of the class. It receives a parameters listed below:
305
+
306
+ |parameter name|value type|default value|description|
307
+ |:---|---|---:|:---|
308
+ |`host`|`HTMLElement`|---|points to a host element which holds a list items|
309
+ |`items`|`object` or `array`|`undefined`|contains an object that is send to a class `loadItems` method|
310
+
311
+ #### class properties
312
+
313
+ |property name|property type|read only|description|
314
+ |:---|---|---|:---|
315
+ |`count`|`number`|yes|presents quantity of items which holds by the set|
316
+ |`defItem`|'string`|no|defines an item name which is used by default|
317
+
318
+ #### class methods
319
+
320
+ ##### **clear()**
321
+
322
+ This class method deletes all items hold by the set.
323
+
324
+ ##### **hasItem(name)**
325
+
326
+ This class method returns `true` if an item named by `name` exists in the set and `false` if else.
327
+
328
+ ##### **hasItems()**
329
+
330
+ This class method returns `true` if the set hold any items and `false` if not.
331
+
332
+ ##### **getItem(name)**
333
+
334
+ This class method returns an item named by `name` if it exists in the set and `null` if else.
335
+
336
+ ##### **addItem(name, item\[, actForce])**
337
+
338
+ This class method tries to include a given `item` to a set members with a label given by `name` and if succeed returns `true`.
339
+
340
+ The `actForce` parameter if given alters the method behaviour:
341
+
342
+ - If set to `true` it force replacements of an existing item which label is qual to `name`;
343
+ - If set to `false` and item with the same label already exists the method will failed;
344
+ - If parameter is not given or not of a `boolean` type its default value meant to be `false`.
345
+
346
+ ##### **delItem(name)**
347
+
348
+ This class method tries to delete item named by `name` from the set and if succeed `true` is returned.
349
+
350
+ ##### **showItem(name)**
351
+
352
+ This class method tries to make item named by `name` visible on HTML-form and if succeed `true` is returned.
353
+
354
+ ##### **hideItem(name)**
355
+
356
+ This class method tries to make item named by `name` invisible on HTML-form and if succeed `true` is returned.
357
+
358
+ ##### **setDefItem(name)**
359
+
360
+ This class method tries to set item named by `name` as a default item and if succeed `true` is returned.
361
+
362
+ ##### **rstDefItem()**
363
+
364
+ This class method resets a default item.
365
+
366
+ ##### **showDefItem()**
367
+
368
+ This class method is similar to `showItem` method but is performed on a default item.
369
+
370
+ ##### **hideDefItem()**
371
+
372
+ This class method is similar to `hideItem` method but is performed on a default item.
373
+
374
+ ##### **loadItems(list\[, options])**
375
+
376
+ This class methods loads an items given by `list` in the set and returned quantity of how many items have been processed successfully.
377
+
378
+ The `list` parameter is an `object` that contains the following set of values:
379
+
380
+ |value name|value type|default value|description|
381
+ |:---|---|---:|:---|
382
+ |`defaultItem`|`string`|EMPTY_STRING|if set it defines a name of the item used by default|
383
+ |`items`|`array`|`undefined`|defines a list of the items to load|
384
+
385
+ If the `list` parameter is an `array` it used as value of an `list.items` options and if such a case the `list.defultItem` will be set to defaults.
386
+
387
+ Note that each element of a `list.items` can be:
388
+
389
+ - an `array` which contains a `key-value` pair
390
+
391
+ '[ \<*`item name`*>, \<*`object`*> ]'
392
+
393
+ - an `object`:
394
+
395
+ '{ **name**: \<*`item name`*>, **item**: \<*`object`*>}'
396
+
397
+ The `options` parameter is an `object` that contains the following set of parameters:
398
+
399
+ |option name|value type|default value|description|
400
+ |:---|---|---:|:---|
401
+ |`useClear`|`boolean`|`true`|if set to `true`, before the load of the items, the list is cleared|
402
+ |`load_as_new`|`boolean`|`true`|*will deprecate (use `useClear` instead)*|
403
+ |`force`|`boolean`|`false`|if set to `true`, the item which is allready present will be replaced with a new one|
404
+
405
+ If the `options` parameter is a `boolean` value it treats as a `options.useClear` option.
@@ -0,0 +1,118 @@
1
+ >|***rev.*:**|0.1.3|
2
+ >|:---|---:|
3
+ >|date:|2022-09-03|
4
+
5
+ ## Introduction
6
+
7
+ This paper describes a base helpers provided by `html-helper-lib.js` module.
8
+
9
+ ## Module constants
10
+
11
+ ### Set of constants 'CSS_CLASS_STRING'
12
+
13
+ This set of constants provides some definitions of a base CSS-class strings which can be used as a class values of the HTML-element. Those are:
14
+
15
+ |name|value|
16
+ |:---|---:|
17
+ |`CSS_CLASS_CURRENT`|'current'|
18
+ |`CSS_CLASS_SELECTED`|'selected'|
19
+ |`CSS_CLASS_ACTIVE`|'active'|
20
+ |`CSS_CLASS_DISABLED`|'disabled'|
21
+ |`CSS_CLASS_HIDDEN`|'hidden'|
22
+
23
+ ## Module functions
24
+
25
+ ### Logical functions
26
+
27
+ #### **isHTMLElement(object)**
28
+
29
+ This function checks whether or not a given object represents an HTML-element and if so returns `true` or `false` if else.
30
+
31
+ #### **isSelectedHTMLElement(object)**
32
+
33
+ This function checks if the given object represents an HTML-element and whether or not its class include an attribute which is equal to `CSS_CLASS_SELECTED`.
34
+
35
+ #### **isCurrentHTMLElement(object)**
36
+
37
+ This function checks if the given object represents an HTML-element and whether or not its class include an attribute which is equal to `CSS_CLASS_CURRENT`.
38
+
39
+ #### **isActiveHTMLElement(object)**
40
+
41
+ This function checks if the given object represents an HTML-element and whether or not its class include an attribute which is equal to `CSS_CLASS_ACTIVE`.
42
+
43
+ #### **isHiddenHTMLElement(object)**
44
+
45
+ This function checks if the given object represents an HTML-element and whether or not its class include an attribute which is equal to `CSS_CLASS_HIDDEN`.
46
+
47
+ ### Functions for element manipulations
48
+
49
+ #### **hideHTMLElement(object)**
50
+
51
+ This function hides HTML-element given by `object` parameter and if succeed `true` is returned.
52
+
53
+ > Note: Technicly, the function provide a wrapper that applies the class attribute defined by 'CSS_CLASS_HIDDEN' for a given HTML-element.
54
+
55
+ #### **showHTMLElement(object)**
56
+
57
+ This function unhides HTML-element given by `object` parameter and if succeed `true` is returned.
58
+
59
+ > Note: Technicly, the function provide a wrapper that removes the class attribute defined by 'CSS_CLASS_HIDDEN' for a given HTML-element.
60
+
61
+ #### **selectHtmlElement(object)**
62
+
63
+ This function applies the class attribute defined by `CSS_CLASS_SELECTED` for a given HTML-element. If succeed `true` is returned.
64
+
65
+ #### **unselectHtmlElement(object)**
66
+
67
+ This function removes the class attribute defined by `CSS_CLASS_SELECTED` for a given HTML-element. If succeed `true` is returned.
68
+
69
+ #### **markHtmlElementAsCurrent(object)**
70
+
71
+ This function applies the class attribute defined by `CSS_CLASS_CURRENT` for a given HTML-element. If succeed `true` is returned.
72
+
73
+ #### **unmarkHtmlElementAsCurrent(object)**
74
+
75
+ This function removes the class attribute defined by `CSS_CLASS_CURRENT` for a given HTML-element. If succeed `true` is returned.
76
+
77
+ #### **activateHtmlElements(args)**
78
+
79
+ This function enables all HTML-elements listed by `args`.
80
+
81
+ #### **inactivateHtmlElements(args)**
82
+
83
+ This function disables all HTML-elements listed by `args`.
84
+
85
+ ### Other functions
86
+
87
+ #### **valueToClassList(value\[, options])**
88
+
89
+ This function reads a given value and converts it to an array of a class attributes.
90
+
91
+ The `options` parameter if sets to `true` force the function to remove all duplicates from its result. The default value is `false`.
92
+
93
+ ### Experimental functions
94
+
95
+ > Note: Purpose of those functions will be discussed and some may be deprecate and make obsolete or functionality may be altered. So use it with cautions in mind.
96
+
97
+ #### **createNewHtmlElement(tagName, options)**
98
+
99
+ This function helps to simplify the process of creating a new HTML-element. It receives the tag name (`tagName` parameter) and the options as a second parameter:
100
+
101
+ |parameter name|value type|default value|description|
102
+ |:---|---|---:|:---|
103
+ |`tagName`|`string`|`undefined`|defines a tag name of the element.|
104
+ |`options`|`object`|---|contains a set of a settings.|
105
+
106
+ The `options` structure has listed below:
107
+
108
+ |option name|value type|default value|description|
109
+ |:---|---|---:|:---|
110
+ |`id`|`string`|`undefined`|defines ID-attribute of an element.|
111
+ |`text`|`string`|`undefined`|defines a text context of an element.|
112
+ |`attr`|---|`undefined`|defines an attributes of an element.|
113
+ |`class`|---|`undefined`|defines a class-attributes of an element.|
114
+ |`data`|---|`undefined`|defines a data-attributes of an element.|
115
+
116
+ If succeed, the function returned `HTMLElement` and `null` if failed.
117
+
118
+ This function make all the jobs under the hood. So there is no need to call DOM-object directly in many situations.
package/index.js ADDED
@@ -0,0 +1,54 @@
1
+ // [v0.1.009-20220912]
2
+
3
+ // === module init block ===
4
+
5
+ const html_helper = require('./lib/html-helper-lib.js');
6
+ const html_list = require('./lib/html-ctrls-list.js');
7
+ const html_bts = require('./lib/html-ctrls-btn.js');
8
+
9
+ const html_list_btn = require('./lib/html-ctrls/lists-btns.js');
10
+
11
+ // === module extra block (helper functions) ===
12
+
13
+ // === module main block ===
14
+
15
+ // === module exports block ===
16
+
17
+ exports.CSS_CLASS_STRING = html_helper.CSS_CLASS_STRING;
18
+ exports.isHTMLElement = html_helper.isHTMLElement;
19
+ exports.isCurrentHTMLElement = html_helper.isCurrentHTMLElement;
20
+ exports.isSelectedHTMLElement = html_helper.isSelectedHTMLElement;
21
+ exports.isActiveHTMLElement = html_helper.isActiveHTMLElement;
22
+ exports.isHiddenHTMLElement = html_helper.isHiddenHTMLElement;
23
+ exports.showHtmlElement = html_helper.showHtmlElement;
24
+ exports.hideHtmlElement = html_helper.hideHtmlElement;
25
+ exports.selectHtmlElement = html_helper.selectHtmlElement;
26
+ exports.unselectHtmlElement = html_helper.unselectHtmlElement;
27
+ exports.markHtmlElementAsCurrent = html_helper.markHtmlElementAsCurrent;
28
+ exports.unmarkCurrentHtmlElement = html_helper.unmarkCurrentHtmlElement;
29
+ exports.markHtmlElementAsActive = html_helper.markHtmlElementAsActive;
30
+ exports.unmarkActiveHtmlElement = html_helper.unmarkActiveHtmlElement;
31
+ exports.activateHtmlElements = html_helper.activateHtmlElements;
32
+ exports.inactivateHtmlElements = html_helper.inactivateHtmlElements;
33
+ exports.valueToClassList = html_helper.valueToClassList;
34
+
35
+ exports.THtmlStubItemsSet = html_list.THtmlStubItemsSet;
36
+ exports.THtmlItemsListContainer = html_list.THtmlItemsListContainer;
37
+ exports.THtmlItemsListController = html_list.THtmlItemsListController;
38
+
39
+ exports.THtmlButtonsSet = html_bts.THtmlButtonsSet;
40
+ exports.THtmlButtonsControllerARCSet = html_bts.THtmlButtonsControllerARCSet;
41
+ exports.BTS_DEF_GROUP_NAME = html_bts.BTS_DEF_GROUP_NAME;
42
+
43
+ exports.THtmlListButtonsController = html_list_btn.THtmlListButtonsController;
44
+
45
+ // experimental
46
+ exports.createNewHtmlElement = html_helper.createNewHtmlElement;
47
+
48
+ exports.classes = {
49
+ THtmlStubItemsSet: exports.THtmlStubItemsSet,
50
+ THtmlItemsListContainer: exports.THtmlItemsListContainer,
51
+ THtmlItemsListController: exports.THtmlItemsListController,
52
+ THtmlButtonsSet: exports.THtmlButtonsSet,
53
+ THtmlListButtonsController: exports.THtmlListButtonsController,
54
+ };