@cntwg/html-ctrls-lists 0.0.29 → 0.0.30

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ #### *v0.0.30*
2
+
3
+ Pre-release version.
4
+
5
+ > - update dependency on `@ygracs/bsfoc-lib-js` module to v0.3.4;
6
+ > - update dependency on `@ygracs/lists-lib-js` module to v0.1.2;
7
+ > - update dependency on `@cntwg/html-helper` module to v0.1.2;
8
+ > - update dependency on `@cntwg/html-ctrls-buttons` module to v0.0.30.
9
+
1
10
  #### *v0.0.29*
2
11
 
3
12
  Pre-release version.
package/index.js CHANGED
@@ -1,9 +1,10 @@
1
- // [v0.1.030-20250831]
1
+ // [v0.1.031-20260309]
2
2
 
3
3
  // === module init block ===
4
4
 
5
- const html_list = require('./lib/list.js');
6
- const html_list_btn = require('./lib/lists-btn.js');
5
+ const list = require('./lib/list');
6
+ const btn = require('./lib/lists-btn');
7
+ const stubs = require('./lib/lists-stubs');
7
8
 
8
9
  // === module inner block ===
9
10
 
@@ -11,10 +12,11 @@ const html_list_btn = require('./lib/lists-btn.js');
11
12
 
12
13
  // === module exports block ===
13
14
 
14
- module.exports.THtmlStubItemsSet = html_list.THtmlStubItemsSet;
15
- module.exports.THtmlItemsListContainer = html_list.THtmlItemsListContainer;
16
- module.exports.THtmlItemsListController = html_list.THtmlItemsListController;
15
+ module.exports.THtmlStubItemsSet = stubs.THtmlStubItemsSet;
17
16
 
18
- module.exports.BTS_DEF_GROUP_NAME = html_list_btn.BTS_DEF_GROUP_NAME;
17
+ module.exports.THtmlItemsListContainer = list.THtmlItemsListContainer;
18
+ module.exports.THtmlItemsListController = list.THtmlItemsListController;
19
19
 
20
- module.exports.THtmlListButtonsController = html_list_btn.THtmlListButtonsController;
20
+ module.exports.BTS_DEF_GROUP_NAME = btn.BTS_DEF_GROUP_NAME;
21
+
22
+ module.exports.THtmlListButtonsController = btn.THtmlListButtonsController;
package/lib/list.js CHANGED
@@ -1,4 +1,4 @@
1
- // [v0.1.075-20260110]
1
+ // [v0.1.076-20260309]
2
2
 
3
3
  // === module init block ===
4
4
 
@@ -68,22 +68,10 @@ function srchListElementByAttr(list, name, value = '') {
68
68
 
69
69
  // === module main block ===
70
70
 
71
- /***
72
- * (* constant definitions *)
73
- */
74
-
75
71
  const ILC_SMODE_DEF = 0;
76
72
  const ILC_SMODE_SHFT = 1;
77
73
  const ILC_SMODE_CTRL = 2;
78
74
 
79
- /***
80
- * (* function definitions *)
81
- */
82
-
83
- /***
84
- * (* class definitions *)
85
- */
86
-
87
75
  /**
88
76
  * An options set for `THtmlItemsListContainer`-class
89
77
  * @typedef {Object} OPT_hlconsett
@@ -495,6 +483,7 @@ class THtmlItemsListContainer {
495
483
  }
496
484
 
497
485
  };
486
+ exports.THtmlItemsListContainer = THtmlItemsListContainer;
498
487
 
499
488
  /**
500
489
  * A an options set for a `THtmlStubItemsSet`-class constructor
@@ -1129,9 +1118,8 @@ class THtmlItemsListController extends THtmlItemsListContainer {
1129
1118
  }
1130
1119
 
1131
1120
  };
1121
+ exports.THtmlItemsListController = THtmlItemsListController;
1132
1122
 
1133
1123
  // === module exports block ===
1134
1124
 
1135
1125
  exports.THtmlStubItemsSet = THtmlStubItemsSet;
1136
- exports.THtmlItemsListContainer = THtmlItemsListContainer;
1137
- exports.THtmlItemsListController = THtmlItemsListController;
package/lib/lists-btn.js CHANGED
@@ -1,4 +1,4 @@
1
- // [v0.1.060-20260110]
1
+ // [v0.1.061-20260309]
2
2
 
3
3
  // === module init block ===
4
4
 
@@ -32,20 +32,8 @@ const {
32
32
 
33
33
  // === module main block ===
34
34
 
35
- /***
36
- * (* constant definitions *)
37
- */
38
-
39
35
  const BTS_DEF_GROUP_NAME = 'all';
40
36
 
41
- /***
42
- * (* function definitions *)
43
- */
44
-
45
- /***
46
- * (* class definitions *)
47
- */
48
-
49
37
  /**
50
38
  * A description for list buttons set.
51
39
  * @typedef {Object} listButtonsSetDesc
@@ -206,9 +194,8 @@ class THtmlListButtonsController {
206
194
  pushEventHandler(this.#_events, name, evnt);
207
195
  }
208
196
  };
197
+ exports.THtmlListButtonsController = THtmlListButtonsController;
209
198
 
210
199
  // === module exports block ===
211
200
 
212
- exports.THtmlListButtonsController = THtmlListButtonsController;
213
-
214
201
  exports.BTS_DEF_GROUP_NAME = BTS_DEF_GROUP_NAME;
@@ -1,4 +1,4 @@
1
- // [v0.1.052-20260110]
1
+ // [v0.1.053-20260309]
2
2
 
3
3
  // === module init block ===
4
4
 
@@ -14,18 +14,6 @@ const {
14
14
 
15
15
  // === module main block ===
16
16
 
17
- /***
18
- * (* constant definitions *)
19
- */
20
-
21
- /***
22
- * (* function definitions *)
23
- */
24
-
25
- /***
26
- * (* class definitions *)
27
- */
28
-
29
17
  /**
30
18
  * A settings to load a stub-elements.
31
19
  * @typedef {Object} OPT_ldstubs
@@ -292,7 +280,4 @@ class THtmlStubItemsSet {
292
280
  }
293
281
 
294
282
  };
295
-
296
- // === module exports block ===
297
-
298
283
  exports.THtmlStubItemsSet = THtmlStubItemsSet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntwg/html-ctrls-lists",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "An HTML-form component: lists",
5
5
  "author": "ygracs <cs70th-om@rambler.ru>",
6
6
  "license": "MIT",
@@ -33,12 +33,13 @@
33
33
  "#test-dir/*": "./__test__/*"
34
34
  },
35
35
  "dependencies": {
36
- "@cntwg/html-ctrls-buttons": "^0.0.29",
37
- "@cntwg/html-helper": "^0.1.1",
38
- "@ygracs/bsfoc-lib-js": "^0.3.3",
39
- "@ygracs/lists-lib-js": "^0.1.1"
36
+ "@cntwg/html-ctrls-buttons": "~0.0.30",
37
+ "@cntwg/html-helper": "~0.1.2",
38
+ "@ygracs/bsfoc-lib-js": "~0.3.4",
39
+ "@ygracs/lists-lib-js": "~0.1.2"
40
40
  },
41
41
  "devDependencies": {
42
+ "@ygracs/test-helper": "~0.0.2-b",
42
43
  "jest": "^30.2.0",
43
44
  "jest-environment-jsdom": "^30.2.0",
44
45
  "jsdoc-to-markdown": "^9.1.3",