tiny-essentials 1.17.1 → 1.18.1

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 (60) hide show
  1. package/dist/legacy/get/countObj.cjs +2 -2
  2. package/dist/legacy/get/countObj.d.mts +1 -1
  3. package/dist/legacy/get/countObj.mjs +1 -1
  4. package/dist/legacy/index.cjs +2 -1
  5. package/dist/v1/TinyBasicsEs.js +559 -411
  6. package/dist/v1/TinyBasicsEs.min.js +1 -1
  7. package/dist/v1/TinyClipboard.js +459 -0
  8. package/dist/v1/TinyClipboard.min.js +1 -0
  9. package/dist/v1/TinyDragger.js +170 -2454
  10. package/dist/v1/TinyDragger.min.js +1 -2
  11. package/dist/v1/TinyEssentials.js +1093 -63
  12. package/dist/v1/TinyEssentials.min.js +1 -1
  13. package/dist/v1/TinyHtml.js +164 -21
  14. package/dist/v1/TinyHtml.min.js +1 -1
  15. package/dist/v1/TinySmartScroller.js +164 -21
  16. package/dist/v1/TinySmartScroller.min.js +1 -1
  17. package/dist/v1/TinyTextRangeEditor.js +497 -0
  18. package/dist/v1/TinyTextRangeEditor.min.js +1 -0
  19. package/dist/v1/TinyUploadClicker.js +219 -467
  20. package/dist/v1/TinyUploadClicker.min.js +1 -1
  21. package/dist/v1/basics/html.cjs +3 -3
  22. package/dist/v1/basics/html.mjs +1 -1
  23. package/dist/v1/basics/index.cjs +3 -2
  24. package/dist/v1/basics/index.d.mts +2 -2
  25. package/dist/v1/basics/index.mjs +2 -1
  26. package/dist/v1/basics/objChecker.cjs +46 -0
  27. package/dist/v1/basics/objChecker.d.mts +29 -0
  28. package/dist/v1/basics/objChecker.mjs +45 -0
  29. package/dist/v1/basics/objFilter.cjs +4 -45
  30. package/dist/v1/basics/objFilter.d.mts +3 -28
  31. package/dist/v1/basics/objFilter.mjs +2 -45
  32. package/dist/v1/build/TinyClipboard.cjs +7 -0
  33. package/dist/v1/build/TinyClipboard.d.mts +3 -0
  34. package/dist/v1/build/TinyClipboard.mjs +2 -0
  35. package/dist/v1/build/TinyTextRangeEditor.cjs +7 -0
  36. package/dist/v1/build/TinyTextRangeEditor.d.mts +3 -0
  37. package/dist/v1/build/TinyTextRangeEditor.mjs +2 -0
  38. package/dist/v1/index.cjs +7 -2
  39. package/dist/v1/index.d.mts +5 -3
  40. package/dist/v1/index.mjs +5 -2
  41. package/dist/v1/libs/TinyClipboard.cjs +420 -0
  42. package/dist/v1/libs/TinyClipboard.d.mts +155 -0
  43. package/dist/v1/libs/TinyClipboard.mjs +398 -0
  44. package/dist/v1/libs/TinyDragger.cjs +3 -3
  45. package/dist/v1/libs/TinyDragger.mjs +1 -1
  46. package/dist/v1/libs/TinyHtml.cjs +164 -21
  47. package/dist/v1/libs/TinyHtml.d.mts +150 -27
  48. package/dist/v1/libs/TinyHtml.mjs +158 -20
  49. package/dist/v1/libs/TinyTextRangeEditor.cjs +458 -0
  50. package/dist/v1/libs/TinyTextRangeEditor.d.mts +200 -0
  51. package/dist/v1/libs/TinyTextRangeEditor.mjs +424 -0
  52. package/dist/v1/libs/TinyUploadClicker.cjs +5 -4
  53. package/docs/v1/README.md +3 -0
  54. package/docs/v1/basics/objChecker.md +47 -0
  55. package/docs/v1/basics/objFilter.md +0 -40
  56. package/docs/v1/libs/TinyClipboard.md +213 -0
  57. package/docs/v1/libs/TinyHtml.md +112 -15
  58. package/docs/v1/libs/TinyTextRangeEditor.md +208 -0
  59. package/package.json +1 -1
  60. package/dist/v1/TinyDragger.min.js.LICENSE.txt +0 -8
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Counts the number of elements in an array or the number of properties in an object.
3
+ *
4
+ * @param {Array<*>|Record<string | number | symbol, any>} obj - The array or object to count.
5
+ * @returns {number} - The count of items (array elements or object keys), or `0` if the input is neither an array nor an object.
6
+ *
7
+ * @example
8
+ * countObj([1, 2, 3]); // 3
9
+ * countObj({ a: 1, b: 2 }); // 2
10
+ * countObj('not an object'); // 0
11
+ */
12
+ export function countObj(obj: Array<any> | Record<string | number | symbol, any>): number;
13
+ /**
14
+ * Determines whether a given value is a pure JSON object (plain object).
15
+ *
16
+ * A pure object satisfies the following:
17
+ * - It is not null.
18
+ * - Its type is "object".
19
+ * - Its internal [[Class]] is "[object Object]".
20
+ * - It is not an instance of built-in types like Array, Date, Map, Set, etc.
21
+ *
22
+ * This function is useful for strict data validation when you want to ensure
23
+ * a value is a clean JSON-compatible object, free of class instances or special types.
24
+ *
25
+ * @param {unknown} value - The value to test.
26
+ * @returns {value is Record<string | number | symbol, unknown>} Returns true if the value is a pure object.
27
+ */
28
+ export function isJsonObject(value: unknown): value is Record<string | number | symbol, unknown>;
29
+ //# sourceMappingURL=objChecker.d.mts.map
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Counts the number of elements in an array or the number of properties in an object.
3
+ *
4
+ * @param {Array<*>|Record<string | number | symbol, any>} obj - The array or object to count.
5
+ * @returns {number} - The count of items (array elements or object keys), or `0` if the input is neither an array nor an object.
6
+ *
7
+ * @example
8
+ * countObj([1, 2, 3]); // 3
9
+ * countObj({ a: 1, b: 2 }); // 2
10
+ * countObj('not an object'); // 0
11
+ */
12
+ export function countObj(obj) {
13
+ // Is Array
14
+ if (Array.isArray(obj))
15
+ return obj.length;
16
+ // Object
17
+ if (isJsonObject(obj))
18
+ return Object.keys(obj).length;
19
+ // Nothing
20
+ return 0;
21
+ }
22
+ /**
23
+ * Determines whether a given value is a pure JSON object (plain object).
24
+ *
25
+ * A pure object satisfies the following:
26
+ * - It is not null.
27
+ * - Its type is "object".
28
+ * - Its internal [[Class]] is "[object Object]".
29
+ * - It is not an instance of built-in types like Array, Date, Map, Set, etc.
30
+ *
31
+ * This function is useful for strict data validation when you want to ensure
32
+ * a value is a clean JSON-compatible object, free of class instances or special types.
33
+ *
34
+ * @param {unknown} value - The value to test.
35
+ * @returns {value is Record<string | number | symbol, unknown>} Returns true if the value is a pure object.
36
+ */
37
+ export function isJsonObject(value) {
38
+ if (value === null || typeof value !== 'object')
39
+ return false;
40
+ if (Array.isArray(value))
41
+ return false;
42
+ if (Object.prototype.toString.call(value) !== '[object Object]')
43
+ return false;
44
+ return true;
45
+ }
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var buffer = require('buffer');
4
+ var objChecker = require('./objChecker.cjs');
4
5
 
5
6
  const isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';
6
7
 
@@ -194,48 +195,6 @@ function getCheckObj() {
194
195
  return Object.fromEntries(Object.entries(typeValidator.items).map(([key, fn]) => [key, fn]));
195
196
  }
196
197
 
197
- /**
198
- * Counts the number of elements in an array or the number of properties in an object.
199
- *
200
- * @param {Array<*>|Record<string|number, any>} obj - The array or object to count.
201
- * @returns {number} - The count of items (array elements or object keys), or `0` if the input is neither an array nor an object.
202
- *
203
- * @example
204
- * countObj([1, 2, 3]); // 3
205
- * countObj({ a: 1, b: 2 }); // 2
206
- * countObj('not an object'); // 0
207
- */
208
- function countObj(obj) {
209
- // Is Array
210
- if (Array.isArray(obj)) return obj.length;
211
- // Object
212
- if (objType(obj, 'object')) return Object.keys(obj).length;
213
- // Nothing
214
- return 0;
215
- }
216
-
217
- /**
218
- * Determines whether a given value is a pure JSON object (plain object).
219
- *
220
- * A pure object satisfies the following:
221
- * - It is not null.
222
- * - Its type is "object".
223
- * - Its internal [[Class]] is "[object Object]".
224
- * - It is not an instance of built-in types like Array, Date, Map, Set, etc.
225
- *
226
- * This function is useful for strict data validation when you want to ensure
227
- * a value is a clean JSON-compatible object, free of class instances or special types.
228
- *
229
- * @param {unknown} value - The value to test.
230
- * @returns {value is Record<string | number | symbol, unknown>} Returns true if the value is a pure object.
231
- */
232
- function isJsonObject(value) {
233
- if (value === null || typeof value !== 'object') return false;
234
- if (Array.isArray(value)) return false;
235
- if (Object.prototype.toString.call(value) !== '[object Object]') return false;
236
- return true;
237
- }
238
-
239
198
  // Insert obj types
240
199
 
241
200
  extendObjType([
@@ -358,15 +317,15 @@ extendObjType([
358
317
  [
359
318
  'object',
360
319
  /** @param {*} val @returns {val is Record<string | number | symbol, unknown>} */
361
- (val) => isJsonObject(val),
320
+ (val) => objChecker.isJsonObject(val),
362
321
  ],
363
322
  ]);
364
323
 
324
+ exports.countObj = objChecker.countObj;
325
+ exports.isJsonObject = objChecker.isJsonObject;
365
326
  exports.checkObj = checkObj;
366
327
  exports.cloneObjTypeOrder = cloneObjTypeOrder;
367
- exports.countObj = countObj;
368
328
  exports.extendObjType = extendObjType;
369
329
  exports.getCheckObj = getCheckObj;
370
- exports.isJsonObject = isJsonObject;
371
330
  exports.objType = objType;
372
331
  exports.reorderObjTypeOrder = reorderObjTypeOrder;
@@ -76,36 +76,11 @@ export function checkObj(obj: any): {
76
76
  export function getCheckObj(): {
77
77
  [k: string]: any;
78
78
  };
79
- /**
80
- * Counts the number of elements in an array or the number of properties in an object.
81
- *
82
- * @param {Array<*>|Record<string|number, any>} obj - The array or object to count.
83
- * @returns {number} - The count of items (array elements or object keys), or `0` if the input is neither an array nor an object.
84
- *
85
- * @example
86
- * countObj([1, 2, 3]); // 3
87
- * countObj({ a: 1, b: 2 }); // 2
88
- * countObj('not an object'); // 0
89
- */
90
- export function countObj(obj: Array<any> | Record<string | number, any>): number;
91
- /**
92
- * Determines whether a given value is a pure JSON object (plain object).
93
- *
94
- * A pure object satisfies the following:
95
- * - It is not null.
96
- * - Its type is "object".
97
- * - Its internal [[Class]] is "[object Object]".
98
- * - It is not an instance of built-in types like Array, Date, Map, Set, etc.
99
- *
100
- * This function is useful for strict data validation when you want to ensure
101
- * a value is a clean JSON-compatible object, free of class instances or special types.
102
- *
103
- * @param {unknown} value - The value to test.
104
- * @returns {value is Record<string | number | symbol, unknown>} Returns true if the value is a pure object.
105
- */
106
- export function isJsonObject(value: unknown): value is Record<string | number | symbol, unknown>;
107
79
  export type ExtendObjType = {
108
80
  [x: string]: (val: any) => any;
109
81
  };
110
82
  export type ExtendObjTypeArray = Array<[string, (val: any) => any]>;
83
+ import { countObj } from './objChecker.mjs';
84
+ import { isJsonObject } from './objChecker.mjs';
85
+ export { countObj, isJsonObject };
111
86
  //# sourceMappingURL=objFilter.d.mts.map
@@ -1,4 +1,6 @@
1
1
  import { Buffer } from 'buffer';
2
+ import { countObj, isJsonObject } from './objChecker.mjs';
3
+ export { countObj, isJsonObject };
2
4
  const isBrowser = typeof window !== 'undefined' && typeof window.document !== 'undefined';
3
5
  /**
4
6
  * An object containing type validation functions and their evaluation order.
@@ -176,51 +178,6 @@ export function checkObj(obj) {
176
178
  export function getCheckObj() {
177
179
  return Object.fromEntries(Object.entries(typeValidator.items).map(([key, fn]) => [key, fn]));
178
180
  }
179
- /**
180
- * Counts the number of elements in an array or the number of properties in an object.
181
- *
182
- * @param {Array<*>|Record<string|number, any>} obj - The array or object to count.
183
- * @returns {number} - The count of items (array elements or object keys), or `0` if the input is neither an array nor an object.
184
- *
185
- * @example
186
- * countObj([1, 2, 3]); // 3
187
- * countObj({ a: 1, b: 2 }); // 2
188
- * countObj('not an object'); // 0
189
- */
190
- export function countObj(obj) {
191
- // Is Array
192
- if (Array.isArray(obj))
193
- return obj.length;
194
- // Object
195
- if (objType(obj, 'object'))
196
- return Object.keys(obj).length;
197
- // Nothing
198
- return 0;
199
- }
200
- /**
201
- * Determines whether a given value is a pure JSON object (plain object).
202
- *
203
- * A pure object satisfies the following:
204
- * - It is not null.
205
- * - Its type is "object".
206
- * - Its internal [[Class]] is "[object Object]".
207
- * - It is not an instance of built-in types like Array, Date, Map, Set, etc.
208
- *
209
- * This function is useful for strict data validation when you want to ensure
210
- * a value is a clean JSON-compatible object, free of class instances or special types.
211
- *
212
- * @param {unknown} value - The value to test.
213
- * @returns {value is Record<string | number | symbol, unknown>} Returns true if the value is a pure object.
214
- */
215
- export function isJsonObject(value) {
216
- if (value === null || typeof value !== 'object')
217
- return false;
218
- if (Array.isArray(value))
219
- return false;
220
- if (Object.prototype.toString.call(value) !== '[object Object]')
221
- return false;
222
- return true;
223
- }
224
181
  // Insert obj types
225
182
  extendObjType([
226
183
  [
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var TinyClipboard = require('../libs/TinyClipboard.cjs');
4
+
5
+
6
+
7
+ exports.TinyClipboard = TinyClipboard;
@@ -0,0 +1,3 @@
1
+ export { TinyClipboard };
2
+ import TinyClipboard from '../libs/TinyClipboard.mjs';
3
+ //# sourceMappingURL=TinyClipboard.d.mts.map
@@ -0,0 +1,2 @@
1
+ import TinyClipboard from '../libs/TinyClipboard.mjs';
2
+ export { TinyClipboard };
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ var TinyTextRangeEditor = require('../libs/TinyTextRangeEditor.cjs');
4
+
5
+
6
+
7
+ exports.TinyTextRangeEditor = TinyTextRangeEditor;
@@ -0,0 +1,3 @@
1
+ export { TinyTextRangeEditor };
2
+ import TinyTextRangeEditor from '../libs/TinyTextRangeEditor.mjs';
3
+ //# sourceMappingURL=TinyTextRangeEditor.d.mts.map
@@ -0,0 +1,2 @@
1
+ import TinyTextRangeEditor from '../libs/TinyTextRangeEditor.mjs';
2
+ export { TinyTextRangeEditor };
package/dist/v1/index.cjs CHANGED
@@ -6,6 +6,7 @@ var arraySortPositions = require('../legacy/libs/arraySortPositions.cjs');
6
6
  var array = require('./basics/array.cjs');
7
7
  var clock = require('./basics/clock.cjs');
8
8
  var objFilter = require('./basics/objFilter.cjs');
9
+ var objChecker = require('./basics/objChecker.cjs');
9
10
  var fullScreen = require('./basics/fullScreen.cjs');
10
11
  var simpleMath = require('./basics/simpleMath.cjs');
11
12
  var text = require('./basics/text.cjs');
@@ -27,6 +28,8 @@ var TinyHtml = require('./libs/TinyHtml.cjs');
27
28
  var TinyAfterScrollWatcher = require('./libs/TinyAfterScrollWatcher.cjs');
28
29
  var UltraRandomMsgGen = require('./libs/UltraRandomMsgGen.cjs');
29
30
  var TinySmartScroller = require('./libs/TinySmartScroller.cjs');
31
+ var TinyTextRangeEditor = require('./libs/TinyTextRangeEditor.cjs');
32
+ var TinyClipboard = require('./libs/TinyClipboard.cjs');
30
33
 
31
34
 
32
35
 
@@ -40,11 +43,11 @@ exports.formatTimer = clock.formatTimer;
40
43
  exports.getTimeDuration = clock.getTimeDuration;
41
44
  exports.checkObj = objFilter.checkObj;
42
45
  exports.cloneObjTypeOrder = objFilter.cloneObjTypeOrder;
43
- exports.countObj = objFilter.countObj;
44
46
  exports.extendObjType = objFilter.extendObjType;
45
- exports.isJsonObject = objFilter.isJsonObject;
46
47
  exports.objType = objFilter.objType;
47
48
  exports.reorderObjTypeOrder = objFilter.reorderObjTypeOrder;
49
+ exports.countObj = objChecker.countObj;
50
+ exports.isJsonObject = objChecker.isJsonObject;
48
51
  exports.documentIsFullScreen = fullScreen.documentIsFullScreen;
49
52
  exports.exitFullScreen = fullScreen.exitFullScreen;
50
53
  exports.isFullScreenMode = fullScreen.isFullScreenMode;
@@ -133,3 +136,5 @@ exports.TinyHtml = TinyHtml;
133
136
  exports.TinyAfterScrollWatcher = TinyAfterScrollWatcher;
134
137
  exports.UltraRandomMsgGen = UltraRandomMsgGen;
135
138
  exports.TinySmartScroller = TinySmartScroller;
139
+ exports.TinyTextRangeEditor = TinyTextRangeEditor;
140
+ exports.TinyClipboard = TinyClipboard;
@@ -1,3 +1,5 @@
1
+ import TinyClipboard from './libs/TinyClipboard.mjs';
2
+ import TinyTextRangeEditor from './libs/TinyTextRangeEditor.mjs';
1
3
  import TinySmartScroller from './libs/TinySmartScroller.mjs';
2
4
  import UltraRandomMsgGen from './libs/UltraRandomMsgGen.mjs';
3
5
  import TinyAfterScrollWatcher from './libs/TinyAfterScrollWatcher.mjs';
@@ -80,14 +82,14 @@ import { isFullScreenMode } from './basics/fullScreen.mjs';
80
82
  import { onFullScreenChange } from './basics/fullScreen.mjs';
81
83
  import { offFullScreenChange } from './basics/fullScreen.mjs';
82
84
  import { areHtmlElsColliding } from './basics/html_deprecated.mjs';
83
- import { isJsonObject } from './basics/objFilter.mjs';
85
+ import { isJsonObject } from './basics/objChecker.mjs';
84
86
  import arraySortPositions from '../legacy/libs/arraySortPositions.mjs';
85
87
  import { formatBytes } from './basics/simpleMath.mjs';
86
88
  import { addAiMarkerShortcut } from './basics/text.mjs';
87
89
  import { extendObjType } from './basics/objFilter.mjs';
88
90
  import { reorderObjTypeOrder } from './basics/objFilter.mjs';
89
91
  import { cloneObjTypeOrder } from './basics/objFilter.mjs';
90
- import { countObj } from './basics/objFilter.mjs';
92
+ import { countObj } from './basics/objChecker.mjs';
91
93
  import { checkObj } from './basics/objFilter.mjs';
92
94
  import { objType } from './basics/objFilter.mjs';
93
95
  import { ruleOfThree } from './basics/simpleMath.mjs';
@@ -101,5 +103,5 @@ import { getTimeDuration } from './basics/clock.mjs';
101
103
  import { shuffleArray } from './basics/array.mjs';
102
104
  import { toTitleCase } from './basics/text.mjs';
103
105
  import { toTitleCaseLowerFirst } from './basics/text.mjs';
104
- export { TinySmartScroller, UltraRandomMsgGen, TinyAfterScrollWatcher, TinyHtml, TinyNotifications, TinyDomReadyManager, TinyDragger, TinyDragDropDetector, TinyToastNotify, TinyNotifyCenter, TinyRateLimiter, ColorSafeStringify, TinyPromiseQueue, TinyLevelUp, areElsCollTop, areElsCollBottom, areElsCollLeft, areElsCollRight, areElsCollPerfTop, areElsCollPerfBottom, areElsCollPerfLeft, areElsCollPerfRight, areElsColliding, areElsPerfColliding, getElsColliding, getElsPerfColliding, getElsCollOverlap, getElsCollOverlapPos, getRectCenter, getElsRelativeCenterOffset, getElsCollDirDepth, getElsCollDetails, isInViewport, isScrolledIntoView, safeTextTrim, installWindowHiddenScript, genFibonacciSeq, isDirEmptyAsync, fileSizeAsync, dirSizeAsync, listFilesAsync, listDirsAsync, getHtmlElBorders, getHtmlElBordersWidth, getHtmlElMargin, getHtmlElPadding, getLatestBackupPath, fetchJson, readJsonBlob, readFileBlob, readBase64Blob, saveJsonFile, readJsonFile, writeJsonFile, ensureDirectory, clearDirectoryAsync, clearDirectory, fileExists, dirExists, isDirEmpty, ensureCopyFile, tryDeleteFile, writeTextFile, listFiles, listDirs, fileSize, dirSize, backupFile, restoreLatestBackup, renameFileBatch, renameFileRegex, renameFileAddPrefixSuffix, renameFileNormalizeCase, renameFilePadNumbers, documentIsFullScreen, isScreenFilled, requestFullScreen, exitFullScreen, isFullScreenMode, onFullScreenChange, offFullScreenChange, areHtmlElsColliding, isJsonObject, arraySortPositions, formatBytes, addAiMarkerShortcut, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, checkObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst };
106
+ export { TinyClipboard, TinyTextRangeEditor, TinySmartScroller, UltraRandomMsgGen, TinyAfterScrollWatcher, TinyHtml, TinyNotifications, TinyDomReadyManager, TinyDragger, TinyDragDropDetector, TinyToastNotify, TinyNotifyCenter, TinyRateLimiter, ColorSafeStringify, TinyPromiseQueue, TinyLevelUp, areElsCollTop, areElsCollBottom, areElsCollLeft, areElsCollRight, areElsCollPerfTop, areElsCollPerfBottom, areElsCollPerfLeft, areElsCollPerfRight, areElsColliding, areElsPerfColliding, getElsColliding, getElsPerfColliding, getElsCollOverlap, getElsCollOverlapPos, getRectCenter, getElsRelativeCenterOffset, getElsCollDirDepth, getElsCollDetails, isInViewport, isScrolledIntoView, safeTextTrim, installWindowHiddenScript, genFibonacciSeq, isDirEmptyAsync, fileSizeAsync, dirSizeAsync, listFilesAsync, listDirsAsync, getHtmlElBorders, getHtmlElBordersWidth, getHtmlElMargin, getHtmlElPadding, getLatestBackupPath, fetchJson, readJsonBlob, readFileBlob, readBase64Blob, saveJsonFile, readJsonFile, writeJsonFile, ensureDirectory, clearDirectoryAsync, clearDirectory, fileExists, dirExists, isDirEmpty, ensureCopyFile, tryDeleteFile, writeTextFile, listFiles, listDirs, fileSize, dirSize, backupFile, restoreLatestBackup, renameFileBatch, renameFileRegex, renameFileAddPrefixSuffix, renameFileNormalizeCase, renameFilePadNumbers, documentIsFullScreen, isScreenFilled, requestFullScreen, exitFullScreen, isFullScreenMode, onFullScreenChange, offFullScreenChange, areHtmlElsColliding, isJsonObject, arraySortPositions, formatBytes, addAiMarkerShortcut, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, checkObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst };
105
107
  //# sourceMappingURL=index.d.mts.map
package/dist/v1/index.mjs CHANGED
@@ -3,7 +3,8 @@ import TinyLevelUp from '../legacy/libs/userLevel.mjs';
3
3
  import arraySortPositions from '../legacy/libs/arraySortPositions.mjs';
4
4
  import { shuffleArray } from './basics/array.mjs';
5
5
  import { formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, } from './basics/clock.mjs';
6
- import { countObj, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, objType, checkObj, isJsonObject, } from './basics/objFilter.mjs';
6
+ import { extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, objType, checkObj, } from './basics/objFilter.mjs';
7
+ import { countObj, isJsonObject } from './basics/objChecker.mjs';
7
8
  import { documentIsFullScreen, isScreenFilled, requestFullScreen, exitFullScreen, isFullScreenMode, onFullScreenChange, offFullScreenChange, } from './basics/fullScreen.mjs';
8
9
  import { formatBytes, genFibonacciSeq, getAge, getSimplePerc, ruleOfThree, } from './basics/simpleMath.mjs';
9
10
  import { addAiMarkerShortcut, safeTextTrim, toTitleCase, toTitleCaseLowerFirst, } from './basics/text.mjs';
@@ -25,4 +26,6 @@ import TinyHtml from './libs/TinyHtml.mjs';
25
26
  import TinyAfterScrollWatcher from './libs/TinyAfterScrollWatcher.mjs';
26
27
  import UltraRandomMsgGen from './libs/UltraRandomMsgGen.mjs';
27
28
  import TinySmartScroller from './libs/TinySmartScroller.mjs';
28
- export { TinySmartScroller, UltraRandomMsgGen, TinyAfterScrollWatcher, TinyHtml, TinyNotifications, TinyDomReadyManager, TinyDragger, TinyDragDropDetector, TinyToastNotify, TinyNotifyCenter, TinyRateLimiter, ColorSafeStringify, TinyPromiseQueue, TinyLevelUp, areElsCollTop, areElsCollBottom, areElsCollLeft, areElsCollRight, areElsCollPerfTop, areElsCollPerfBottom, areElsCollPerfLeft, areElsCollPerfRight, areElsColliding, areElsPerfColliding, getElsColliding, getElsPerfColliding, getElsCollOverlap, getElsCollOverlapPos, getRectCenter, getElsRelativeCenterOffset, getElsCollDirDepth, getElsCollDetails, isInViewport, isScrolledIntoView, safeTextTrim, installWindowHiddenScript, genFibonacciSeq, isDirEmptyAsync, fileSizeAsync, dirSizeAsync, listFilesAsync, listDirsAsync, getHtmlElBorders, getHtmlElBordersWidth, getHtmlElMargin, getHtmlElPadding, getLatestBackupPath, fetchJson, readJsonBlob, readFileBlob, readBase64Blob, saveJsonFile, readJsonFile, writeJsonFile, ensureDirectory, clearDirectoryAsync, clearDirectory, fileExists, dirExists, isDirEmpty, ensureCopyFile, tryDeleteFile, writeTextFile, listFiles, listDirs, fileSize, dirSize, backupFile, restoreLatestBackup, renameFileBatch, renameFileRegex, renameFileAddPrefixSuffix, renameFileNormalizeCase, renameFilePadNumbers, documentIsFullScreen, isScreenFilled, requestFullScreen, exitFullScreen, isFullScreenMode, onFullScreenChange, offFullScreenChange, areHtmlElsColliding, isJsonObject, arraySortPositions, formatBytes, addAiMarkerShortcut, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, checkObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst, };
29
+ import TinyTextRangeEditor from './libs/TinyTextRangeEditor.mjs';
30
+ import TinyClipboard from './libs/TinyClipboard.mjs';
31
+ export { TinyClipboard, TinyTextRangeEditor, TinySmartScroller, UltraRandomMsgGen, TinyAfterScrollWatcher, TinyHtml, TinyNotifications, TinyDomReadyManager, TinyDragger, TinyDragDropDetector, TinyToastNotify, TinyNotifyCenter, TinyRateLimiter, ColorSafeStringify, TinyPromiseQueue, TinyLevelUp, areElsCollTop, areElsCollBottom, areElsCollLeft, areElsCollRight, areElsCollPerfTop, areElsCollPerfBottom, areElsCollPerfLeft, areElsCollPerfRight, areElsColliding, areElsPerfColliding, getElsColliding, getElsPerfColliding, getElsCollOverlap, getElsCollOverlapPos, getRectCenter, getElsRelativeCenterOffset, getElsCollDirDepth, getElsCollDetails, isInViewport, isScrolledIntoView, safeTextTrim, installWindowHiddenScript, genFibonacciSeq, isDirEmptyAsync, fileSizeAsync, dirSizeAsync, listFilesAsync, listDirsAsync, getHtmlElBorders, getHtmlElBordersWidth, getHtmlElMargin, getHtmlElPadding, getLatestBackupPath, fetchJson, readJsonBlob, readFileBlob, readBase64Blob, saveJsonFile, readJsonFile, writeJsonFile, ensureDirectory, clearDirectoryAsync, clearDirectory, fileExists, dirExists, isDirEmpty, ensureCopyFile, tryDeleteFile, writeTextFile, listFiles, listDirs, fileSize, dirSize, backupFile, restoreLatestBackup, renameFileBatch, renameFileRegex, renameFileAddPrefixSuffix, renameFileNormalizeCase, renameFilePadNumbers, documentIsFullScreen, isScreenFilled, requestFullScreen, exitFullScreen, isFullScreenMode, onFullScreenChange, offFullScreenChange, areHtmlElsColliding, isJsonObject, arraySortPositions, formatBytes, addAiMarkerShortcut, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, checkObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst, };