@design.estate/dees-domtools 2.5.4 → 2.5.6
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/dist_bundle/bundle.js +83 -83
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/domtools.classes.domtools.d.ts +14 -4
- package/dist_ts/domtools.classes.domtools.js +115 -80
- package/dist_ts/domtools.classes.keyboard.d.ts +9 -0
- package/dist_ts/domtools.classes.keyboard.js +349 -14
- package/dist_ts/domtools.classes.scroller.d.ts +6 -1
- package/dist_ts/domtools.classes.scroller.js +70 -29
- package/dist_ts/domtools.classes.thememanager.d.ts +3 -0
- package/dist_ts/domtools.classes.thememanager.js +21 -9
- package/dist_ts/domtools.elementbasic.js +7 -4
- package/dist_ts/domtools.pluginexports.d.ts +1 -11
- package/dist_ts/domtools.pluginexports.js +2 -12
- package/license +2 -2
- package/package.json +3 -4
- package/readme.md +187 -371
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/domtools.classes.domtools.ts +136 -81
- package/ts/domtools.classes.keyboard.ts +374 -15
- package/ts/domtools.classes.scroller.ts +80 -29
- package/ts/domtools.classes.thememanager.ts +21 -8
- package/ts/domtools.elementbasic.ts +6 -3
- package/ts/domtools.pluginexports.ts +11 -22
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as plugins from './domtools.plugins.js';
|
|
2
1
|
import { DomTools, type IDomToolsContructorOptions } from './domtools.classes.domtools.js';
|
|
3
2
|
import { scrollBarStyles, globalBaseStyles } from './domtools.css.basestyles.js';
|
|
4
3
|
|
|
@@ -51,9 +50,13 @@ export const setup = async (
|
|
|
51
50
|
// not used right now
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
domTools.runOnce('elementBasicSetup', async () => {
|
|
53
|
+
await domTools.runOnce('elementBasicSetup', async () => {
|
|
55
54
|
// bodyStyles
|
|
56
|
-
domTools.setGlobalStyles(globalBaseStyles);
|
|
55
|
+
await domTools.setGlobalStyles(globalBaseStyles);
|
|
57
56
|
});
|
|
57
|
+
if (domTools.globalStylesReady.status === 'pending') {
|
|
58
|
+
domTools.globalStylesReady.resolve();
|
|
59
|
+
}
|
|
60
|
+
await domTools.globalStylesReady.promise;
|
|
58
61
|
return domTools;
|
|
59
62
|
};
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import * as smartrx from '@push.rocks/smartrx';
|
|
8
|
-
import * as smartstring from '@push.rocks/smartstring';
|
|
9
|
-
import * as smarturl from '@push.rocks/smarturl';
|
|
10
|
-
import * as typedrequest from '@api.global/typedrequest';
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
smartdelay,
|
|
14
|
-
smartmarkdown,
|
|
15
|
-
smartpromise,
|
|
16
|
-
SweetScroll,
|
|
17
|
-
smartstate,
|
|
1
|
+
export {
|
|
2
|
+
smartdelay,
|
|
3
|
+
smartmarkdown,
|
|
4
|
+
smartpromise,
|
|
5
|
+
SweetScroll,
|
|
6
|
+
smartstate,
|
|
18
7
|
smartrouter,
|
|
19
|
-
smartrx,
|
|
20
|
-
smartstring,
|
|
21
|
-
smarturl,
|
|
22
|
-
typedrequest
|
|
23
|
-
};
|
|
8
|
+
smartrx,
|
|
9
|
+
smartstring,
|
|
10
|
+
smarturl,
|
|
11
|
+
typedrequest,
|
|
12
|
+
} from './domtools.plugins.js';
|