@jaisocx/tree 1.5.36 → 2.2.18
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/{assets/css/tree.css → MediaAndStyles/Tree_main.css} +43 -39
- package/MediaAndStyles/Tree_main_Relative.css +17 -0
- package/MediaAndStyles/Tree_main_Webpack.css +18 -0
- package/MediaAndStyles/Tree_main_Webpack_minimal.css +17 -0
- package/MediaAndStyles/Tree_main_resolved.css +1005 -0
- package/MediaAndStyles/Tree_main_resolved_minimal.css +972 -0
- package/{assets/css → MediaAndStyles/presets}/tree-animated-expand-button.css +2 -3
- package/MediaAndStyles/themes/theme-funny/tree_theme-funny.css +29 -0
- package/MediaAndStyles/themes/theme-funny/tree_theme-funny_fonts.css +7 -0
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_Imports_fonts_cdn.css +35 -0
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_Imports_mini_images_Absolute_preview.css +41 -0
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_Imports_mini_images_Relative.css +41 -0
- package/{assets/themes/theme-base/theme-base.css → MediaAndStyles/themes/theme_base/Tree_theme_base_main.css} +2 -2
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_main_Relative.css +13 -0
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_main_Webpack.css +12 -0
- package/MediaAndStyles/themes/theme_base/Tree_theme_base_main_Webpack_minimal.css +12 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/catalog.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/github.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/google.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/house.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/html-intence.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/html.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/money-transfer.png +0 -0
- package/MediaAndStyles/themes/theme_base/mini_images/home_tree_mode_conf/track.png +0 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_d05_very_small_xxs_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_d05_very_small_xxs_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e02_mobile_xs_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e02_mobile_xs_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e04_mobile_s_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e04_mobile_s_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e06_mobile_sm_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e06_mobile_sm_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e08_mobile_md_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_e08_mobile_md_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h03_tablet_s_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h03_tablet_s_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h05_tablet_sm_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h05_tablet_sm_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h07_tablet_md_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h07_tablet_md_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h09_tablet_lg_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_h09_tablet_lg_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l02_laptop_sm_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l02_laptop_sm_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l03_laptop_md_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l03_laptop_md_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l07_laptop_lg_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_l07_laptop_lg_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s02_display_xl_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s02_display_xl_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s04_display_xxl_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s04_display_xxl_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s08_display_qhd_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_s08_display_qhd_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t04_tv_4k_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t04_tv_4k_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t08_tv_8k_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t08_tv_8k_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t16_tv_16k_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t16_tv_16k_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t99_tv_xxxl_landscape__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive/responsive_size_t99_tv_xxxl_portrait__Tree__theme_base.css +10 -0
- package/MediaAndStyles/themes/theme_base/responsive_size_Imports_Tree_theme_base_Relative.css +98 -0
- package/MediaAndStyles/themes/theme_base/responsive_size_Imports_Tree_theme_base_Webpack.css +98 -0
- package/MediaAndStyles/themes/theme_base/responsive_size_Imports_Tree_theme_base_Webpack_minimal.css +98 -0
- package/README.md +68 -59
- package/{README_WEBPACK.md → docs/README_WEBPACK.md} +31 -31
- package/docs/README_preview.md +167 -0
- package/favicon/Icon_Jaisocx.ico +0 -0
- package/favicon/Icon_Sandbox_Brightday.ico +0 -0
- package/index.preview.html +755 -0
- package/package.json +40 -31
- package/transpiled/CommonJS/index.d.ts +11 -0
- package/transpiled/CommonJS/index.d.ts.map +1 -0
- package/{build → transpiled}/CommonJS/index.js +10 -10
- package/transpiled/CommonJS/index.js.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/ArrayOrObjectPackage.d.ts.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/ArrayOrObjectPackage.js +3 -3
- package/{build → transpiled}/CommonJS/typescript/ArrayOrObjectPackage.js.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/Tree.d.ts +9 -10
- package/transpiled/CommonJS/typescript/Tree.d.ts.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/Tree.js +70 -54
- package/transpiled/CommonJS/typescript/Tree.js.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/TreeAdapter.d.ts.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/TreeAdapter.js.map +1 -1
- package/{build/ESNext → transpiled/CommonJS}/typescript/TreeAdapterModeConf.d.ts +4 -4
- package/transpiled/CommonJS/typescript/TreeAdapterModeConf.d.ts.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/TreeAdapterModeConf.js +28 -11
- package/transpiled/CommonJS/typescript/TreeAdapterModeConf.js.map +1 -0
- package/{build/ESNext → transpiled/CommonJS}/typescript/TreeAdapterModeEase.d.ts +4 -4
- package/transpiled/CommonJS/typescript/TreeAdapterModeEase.d.ts.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/TreeAdapterModeEase.js +9 -9
- package/transpiled/CommonJS/typescript/TreeAdapterModeEase.js.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/TreeConf.d.ts.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/TreeConf.js.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/TreeConstants.d.ts.map +1 -1
- package/{build → transpiled}/CommonJS/typescript/TreeConstants.js +13 -11
- package/transpiled/CommonJS/typescript/TreeConstants.js.map +1 -0
- package/transpiled/CommonJS/typescript/TreeInterface.d.ts +44 -0
- package/transpiled/CommonJS/typescript/TreeInterface.d.ts.map +1 -0
- package/transpiled/CommonJS/typescript/TreeInterface.js +3 -0
- package/transpiled/CommonJS/typescript/TreeInterface.js.map +1 -0
- package/{build → transpiled}/CommonJS/typescript/Types.d.ts +2 -0
- package/{build → transpiled}/CommonJS/typescript/Types.d.ts.map +1 -1
- package/{build → transpiled}/CommonJS/webpack.aliases.cjs +1 -0
- package/transpiled/CommonJS/webpack.aliases.cjs.map +1 -0
- package/{build → transpiled}/CommonJS/webpack.aliases.mjs +1 -0
- package/transpiled/CommonJS/webpack.aliases.mjs.map +1 -0
- package/transpiled/CommonJS/webpackAliases.d.ts.map +1 -0
- package/{build → transpiled}/CommonJS/webpackAliases.js +1 -0
- package/transpiled/CommonJS/webpackAliases.js.map +1 -0
- package/transpiled/ESNext/index.d.ts +11 -0
- package/transpiled/ESNext/index.d.ts.map +1 -0
- package/{build → transpiled}/ESNext/index.js +5 -6
- package/transpiled/ESNext/index.js.map +1 -0
- package/{build → transpiled}/ESNext/typescript/ArrayOrObjectPackage.d.ts.map +1 -1
- package/{build → transpiled}/ESNext/typescript/ArrayOrObjectPackage.js +3 -3
- package/{build → transpiled}/ESNext/typescript/ArrayOrObjectPackage.js.map +1 -1
- package/{build → transpiled}/ESNext/typescript/Tree.d.ts +9 -10
- package/transpiled/ESNext/typescript/Tree.d.ts.map +1 -0
- package/{build → transpiled}/ESNext/typescript/Tree.js +71 -55
- package/transpiled/ESNext/typescript/Tree.js.map +1 -0
- package/{build → transpiled}/ESNext/typescript/TreeAdapter.d.ts.map +1 -1
- package/{build → transpiled}/ESNext/typescript/TreeAdapter.js.map +1 -1
- package/{build/CommonJS → transpiled/ESNext}/typescript/TreeAdapterModeConf.d.ts +4 -4
- package/transpiled/ESNext/typescript/TreeAdapterModeConf.d.ts.map +1 -0
- package/{build → transpiled}/ESNext/typescript/TreeAdapterModeConf.js +28 -11
- package/transpiled/ESNext/typescript/TreeAdapterModeConf.js.map +1 -0
- package/{build/CommonJS → transpiled/ESNext}/typescript/TreeAdapterModeEase.d.ts +4 -4
- package/transpiled/ESNext/typescript/TreeAdapterModeEase.d.ts.map +1 -0
- package/{build → transpiled}/ESNext/typescript/TreeAdapterModeEase.js +9 -9
- package/transpiled/ESNext/typescript/TreeAdapterModeEase.js.map +1 -0
- package/{build → transpiled}/ESNext/typescript/TreeConf.d.ts.map +1 -1
- package/{build → transpiled}/ESNext/typescript/TreeConf.js.map +1 -1
- package/{build → transpiled}/ESNext/typescript/TreeConstants.d.ts.map +1 -1
- package/transpiled/ESNext/typescript/TreeConstants.js +67 -0
- package/transpiled/ESNext/typescript/TreeConstants.js.map +1 -0
- package/transpiled/ESNext/typescript/TreeInterface.d.ts +44 -0
- package/transpiled/ESNext/typescript/TreeInterface.d.ts.map +1 -0
- package/transpiled/ESNext/typescript/TreeInterface.js +2 -0
- package/transpiled/ESNext/typescript/TreeInterface.js.map +1 -0
- package/{build → transpiled}/ESNext/typescript/Types.d.ts +2 -0
- package/{build → transpiled}/ESNext/typescript/Types.d.ts.map +1 -1
- package/{build → transpiled}/ESNext/webpack.aliases.cjs +1 -0
- package/transpiled/ESNext/webpack.aliases.cjs.map +1 -0
- package/{build → transpiled}/ESNext/webpack.aliases.mjs +1 -0
- package/transpiled/ESNext/webpack.aliases.mjs.map +1 -0
- package/transpiled/ESNext/webpackAliases.d.ts.map +1 -0
- package/{build → transpiled}/ESNext/webpackAliases.js +1 -0
- package/transpiled/ESNext/webpackAliases.js.map +1 -0
- package/transpiled/Simple/typescript/ArrayOrObjectPackage.js +143 -0
- package/transpiled/Simple/typescript/Tree.js +926 -0
- package/transpiled/Simple/typescript/TreeAdapter.js +17 -0
- package/transpiled/Simple/typescript/TreeAdapterModeConf.js +117 -0
- package/transpiled/Simple/typescript/TreeAdapterModeEase.js +87 -0
- package/transpiled/Simple/typescript/TreeConf.js +31 -0
- package/{build/ESNext → transpiled/Simple}/typescript/TreeConstants.js +16 -13
- package/transpiled/Simple/typescript/Types.js +4 -0
- package/transpiled/Simple/webpack.aliases.cjs +19 -0
- package/transpiled/Simple/webpack.aliases.mjs +14 -0
- package/transpiled/Simple/webpackAliases.js +44 -0
- package/tree_preview_dev.html +729 -0
- package/tree_preview_prod.html +755 -0
- package/webpack.aliases.json +2 -1
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/BalooPaaji2-VariableFont_wght.ttf +0 -0
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/OFL.txt +0 -93
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/README.txt +0 -67
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/static/BalooPaaji2-Bold.ttf +0 -0
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/static/BalooPaaji2-ExtraBold.ttf +0 -0
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/static/BalooPaaji2-Medium.ttf +0 -0
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/static/BalooPaaji2-Regular.ttf +0 -0
- package/assets/themes/theme-base/fonts/Baloo_Paaji_2/static/BalooPaaji2-SemiBold.ttf +0 -0
- package/assets/themes/theme-base/fonts-webpack.css +0 -35
- package/assets/themes/theme-base/fonts.css +0 -35
- package/assets/themes/theme-base/theme-base-assets-webpack.css +0 -43
- package/assets/themes/theme-base/theme-base-assets.css +0 -43
- package/assets/themes/theme-funny/fonts/Niconne/Niconne-Regular.ttf +0 -0
- package/assets/themes/theme-funny/fonts/Niconne/OFL.txt +0 -94
- package/assets/themes/theme-funny/fonts-webpack.css +0 -7
- package/assets/themes/theme-funny/fonts.css +0 -7
- package/assets/themes/theme-funny/theme-funny-webpack.css +0 -22
- package/assets/themes/theme-funny/theme-funny.css +0 -22
- package/assets/tree-styles-main-webpack.css +0 -5
- package/assets/tree-styles-main.css +0 -5
- package/build/CommonJS/index.d.ts +0 -8
- package/build/CommonJS/index.d.ts.map +0 -1
- package/build/CommonJS/index.js.map +0 -1
- package/build/CommonJS/typescript/Tree.d.ts.map +0 -1
- package/build/CommonJS/typescript/Tree.js.map +0 -1
- package/build/CommonJS/typescript/TreeAdapterModeConf.d.ts.map +0 -1
- package/build/CommonJS/typescript/TreeAdapterModeConf.js.map +0 -1
- package/build/CommonJS/typescript/TreeAdapterModeEase.d.ts.map +0 -1
- package/build/CommonJS/typescript/TreeAdapterModeEase.js.map +0 -1
- package/build/CommonJS/typescript/TreeConstants.js.map +0 -1
- package/build/CommonJS/webpack.aliases.cjs.map +0 -1
- package/build/CommonJS/webpack.aliases.mjs.map +0 -1
- package/build/CommonJS/webpackAliases.d.ts.map +0 -1
- package/build/CommonJS/webpackAliases.js.map +0 -1
- package/build/ESNext/index.d.ts +0 -8
- package/build/ESNext/index.d.ts.map +0 -1
- package/build/ESNext/index.js.map +0 -1
- package/build/ESNext/typescript/Tree.d.ts.map +0 -1
- package/build/ESNext/typescript/Tree.js.map +0 -1
- package/build/ESNext/typescript/TreeAdapterModeConf.d.ts.map +0 -1
- package/build/ESNext/typescript/TreeAdapterModeConf.js.map +0 -1
- package/build/ESNext/typescript/TreeAdapterModeEase.d.ts.map +0 -1
- package/build/ESNext/typescript/TreeAdapterModeEase.js.map +0 -1
- package/build/ESNext/typescript/TreeConstants.js.map +0 -1
- package/build/ESNext/webpack.aliases.cjs.map +0 -1
- package/build/ESNext/webpack.aliases.mjs.map +0 -1
- package/build/ESNext/webpackAliases.d.ts.map +0 -1
- package/build/ESNext/webpackAliases.js.map +0 -1
- /package/{assets → MediaAndStyles}/themes/theme-funny/mini-images/data-types/house.png +0 -0
- /package/{assets → MediaAndStyles}/themes/theme-funny/mini-images/data-types/html-intence.png +0 -0
- /package/{assets → MediaAndStyles}/themes/theme-funny/mini-images/data-types/html.png +0 -0
- /package/{assets → MediaAndStyles}/themes/theme-funny/mini-images/data-types/money-transfer.png +0 -0
- /package/{assets → MediaAndStyles}/themes/theme-funny/mini-images/data-types/track.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/button-open/button-animated.gif +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/button-open/button-opened.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/button-open/button-without-subtree.svg +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-3-100.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-font-style-formatting-96.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-json-96.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-static-view-level2-80.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-true-false-96.png +0 -0
- /package/{assets/themes/theme-base/mini-images → MediaAndStyles/themes/theme_base/mini_images}/data-types/icons8-view-array-96.png +0 -0
- /package/{build → transpiled}/CommonJS/typescript/ArrayOrObjectPackage.d.ts +0 -0
- /package/{build → transpiled}/CommonJS/typescript/TreeAdapter.d.ts +0 -0
- /package/{build → transpiled}/CommonJS/typescript/TreeAdapter.js +0 -0
- /package/{build → transpiled}/CommonJS/typescript/TreeConf.d.ts +0 -0
- /package/{build → transpiled}/CommonJS/typescript/TreeConf.js +0 -0
- /package/{build → transpiled}/CommonJS/typescript/TreeConstants.d.ts +0 -0
- /package/{build → transpiled}/CommonJS/typescript/Types.js +0 -0
- /package/{build → transpiled}/CommonJS/typescript/Types.js.map +0 -0
- /package/{build → transpiled}/CommonJS/webpack.aliases.d.cts +0 -0
- /package/{build → transpiled}/CommonJS/webpack.aliases.d.cts.map +0 -0
- /package/{build → transpiled}/CommonJS/webpack.aliases.d.mts +0 -0
- /package/{build → transpiled}/CommonJS/webpack.aliases.d.mts.map +0 -0
- /package/{build → transpiled}/CommonJS/webpackAliases.d.ts +0 -0
- /package/{build → transpiled}/ESNext/typescript/ArrayOrObjectPackage.d.ts +0 -0
- /package/{build → transpiled}/ESNext/typescript/TreeAdapter.d.ts +0 -0
- /package/{build → transpiled}/ESNext/typescript/TreeAdapter.js +0 -0
- /package/{build → transpiled}/ESNext/typescript/TreeConf.d.ts +0 -0
- /package/{build → transpiled}/ESNext/typescript/TreeConf.js +0 -0
- /package/{build → transpiled}/ESNext/typescript/TreeConstants.d.ts +0 -0
- /package/{build → transpiled}/ESNext/typescript/Types.js +0 -0
- /package/{build → transpiled}/ESNext/typescript/Types.js.map +0 -0
- /package/{build → transpiled}/ESNext/webpack.aliases.d.cts +0 -0
- /package/{build → transpiled}/ESNext/webpack.aliases.d.cts.map +0 -0
- /package/{build → transpiled}/ESNext/webpack.aliases.d.mts +0 -0
- /package/{build → transpiled}/ESNext/webpack.aliases.d.mts.map +0 -0
- /package/{build → transpiled}/ESNext/webpackAliases.d.ts +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# Tree json tool examples
|
|
2
2
|
|
|
3
|
-
1. [https://
|
|
3
|
+
1. [https://sandbox.brightday.email/webpack_builds/ExampleTree/example-from-readme.html](https://sandbox.brightday.email/webpack_builds/ExampleTree/example-from-readme.html)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
2. [https://
|
|
6
|
+
2. [https://sandbox.brightday.email/](https://sandbox.brightday.email/)
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
3. [https://
|
|
9
|
+
3. [https://sandbox.brightday.email/webpack_builds/ExampleTree/](https://sandbox.brightday.email/webpack_builds/ExampleTree/)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
4. [https://github.com/Jaisocx-Tools/Workspace/tree/main/
|
|
12
|
+
4. [https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/webpack_builds/ExampleTree](https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/webpack_builds/ExampleTree)
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
5. [https://github.com/Jaisocx-Tools/Workspace/tree/main/
|
|
15
|
+
5. [https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/sites_tools/js_tools/Tree](https://github.com/Jaisocx-Tools/Workspace/tree/main/workspace/ts/www/sites_tools/js_tools/Tree)
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -30,7 +30,7 @@ npm install @jaisocx/tree
|
|
|
30
30
|
import { Tree, TreeConstants } from "@jaisocx/tree";
|
|
31
31
|
export { Tree, TreeConstants } from "@jaisocx/tree";
|
|
32
32
|
|
|
33
|
-
// These lines make Tree class accessible in browser javascript,
|
|
33
|
+
// These lines make Tree class accessible in browser javascript,
|
|
34
34
|
// when loaded in html with <script src"">
|
|
35
35
|
(window as any).Tree = Tree;
|
|
36
36
|
(window as any).TreeConstants = TreeConstants;
|
|
@@ -45,12 +45,12 @@ node_modules/@jaisocx/tree/webpack.aliases.json
|
|
|
45
45
|
|
|
46
46
|
### the single .css file, imported in the Tree.ts with the webpack alias
|
|
47
47
|
```
|
|
48
|
-
node_modules/@jaisocx/tree/
|
|
48
|
+
node_modules/@jaisocx/tree/MediaAndStyles/tree-styles-main-webpack.css
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
this import statement here:
|
|
52
52
|
```
|
|
53
|
-
import "@jaisocx-tree-
|
|
53
|
+
import "@jaisocx-tree-MediaAndStyles/tree-styles-main-webpack.css";
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ import "@jaisocx-tree-assets/tree-styles-main-webpack.css";
|
|
|
60
60
|
when under docker:
|
|
61
61
|
```
|
|
62
62
|
docker compose exec ts bash
|
|
63
|
-
cd www/
|
|
63
|
+
cd www/webpack_builds/ExampleTree
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
when the console is on the ExampleTree package root path:
|
|
@@ -88,10 +88,10 @@ console.log( WebpackAliases );
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
export default {
|
|
91
|
-
entry: './
|
|
91
|
+
entry: './transpiled/ESNext/index.js', // Entry point for your TypeScript code
|
|
92
92
|
output: {
|
|
93
93
|
filename: 'example-tree-bundle.js', // Output bundle name
|
|
94
|
-
path: path.resolve(__dirname, '
|
|
94
|
+
path: path.resolve(__dirname, 'transpiled/webpack'),
|
|
95
95
|
},
|
|
96
96
|
resolve: {
|
|
97
97
|
alias: {
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
},
|
|
100
100
|
extensions: [".js", ".json", ".css"],
|
|
101
101
|
fallback: {
|
|
102
|
-
"path": "path-browserify",
|
|
102
|
+
"path": "path-browserify",
|
|
103
103
|
},
|
|
104
104
|
},
|
|
105
105
|
module: {
|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
107
107
|
{
|
|
108
108
|
test: /\.css$/,
|
|
109
109
|
use: [
|
|
110
|
-
'style-loader',
|
|
110
|
+
'style-loader',
|
|
111
111
|
'css-loader',
|
|
112
112
|
{
|
|
113
113
|
loader: 'postcss-loader',
|
|
@@ -131,14 +131,14 @@ export default {
|
|
|
131
131
|
test: /\.(woff|woff2|eot|ttf)$/,
|
|
132
132
|
type: 'asset/resource', // Use Webpack 5's native asset modules for images
|
|
133
133
|
generator: {
|
|
134
|
-
filename: '
|
|
134
|
+
filename: 'MediaAndStyles/fonts/[name][ext]', // Define output path for MediaAndStyles
|
|
135
135
|
},
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
test: /\.(webp|png|jpg|gif|svg)$/,
|
|
139
139
|
type: 'asset/resource', // Use Webpack 5's native asset modules for images
|
|
140
140
|
generator: {
|
|
141
|
-
filename: '
|
|
141
|
+
filename: 'MediaAndStyles/images/[name][ext]', // Define output path for MediaAndStyles
|
|
142
142
|
},
|
|
143
143
|
},
|
|
144
144
|
],
|
|
@@ -158,17 +158,17 @@ export default {
|
|
|
158
158
|
"private": false,
|
|
159
159
|
"description": "",
|
|
160
160
|
"type": "module",
|
|
161
|
-
"main": "./
|
|
162
|
-
"types": "./
|
|
163
|
-
"module": "./
|
|
161
|
+
"main": "./transpiled/CommonJS/index.js",
|
|
162
|
+
"types": "./transpiled/ESNext/index.d.ts",
|
|
163
|
+
"module": "./transpiled/ESNext/index.js",
|
|
164
164
|
"exports": {
|
|
165
|
-
"require": "./
|
|
166
|
-
"import": "./
|
|
165
|
+
"require": "./transpiled/CommonJS/index.js",
|
|
166
|
+
"import": "./transpiled/ESNext/index.js"
|
|
167
167
|
},
|
|
168
168
|
"files": [
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
169
|
+
"transpiled/CommonJS",
|
|
170
|
+
"transpiled/ESNext",
|
|
171
|
+
"MediaAndStyles/",
|
|
172
172
|
"README.md",
|
|
173
173
|
"LICENSE"
|
|
174
174
|
],
|
|
@@ -207,7 +207,7 @@ export default {
|
|
|
207
207
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
208
208
|
|
|
209
209
|
<!-- th path to webpack built bundle.js here: -->
|
|
210
|
-
<script src="
|
|
210
|
+
<script src="transpiled/webpack/example-tree-bundle.js"></script>
|
|
211
211
|
</head>
|
|
212
212
|
<body>
|
|
213
213
|
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
224
224
|
.setNodesWithIcons(true)
|
|
225
225
|
.setNodesOpenedMode(TreeConstants.NodesOpenedMode.ALL_SHOWN)
|
|
226
226
|
.setRenderingMode(TreeConstants.RenderingMode.Ease)
|
|
227
|
-
.render( data );
|
|
227
|
+
.render( data );
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
document.addEventListener('DOMContentLoaded', () => {
|
|
@@ -243,9 +243,9 @@ export default {
|
|
|
243
243
|
|
|
244
244
|
|
|
245
245
|
|
|
246
|
-
### THEMES:
|
|
247
|
-
1. for
|
|
248
|
-
2. in the Tree.ts, import main css entrypoint file "@jaisocx-tree-
|
|
246
|
+
### THEMES: MediaAndStyles like miniimages and fonts resolval in bundle.js
|
|
247
|
+
1. for MediaAndStyles in themes files, use webpack.aliases.js like in sites_tools/js_tools/Tree project.
|
|
248
|
+
2. in the Tree.ts, import main css entrypoint file "@jaisocx-tree-MediaAndStyles/tree-styles-main-webpack.css";
|
|
249
249
|
3. in tree-styles-main-webpack.css import theme main css file like this: @import url('themes/theme-base/theme-base-webpack.css');
|
|
250
250
|
4. use webpack.aliasese.js alias like this:
|
|
251
251
|
|
|
@@ -253,15 +253,15 @@ export default {
|
|
|
253
253
|
|
|
254
254
|
.tree > ul > li > pre > pre.jstree-html-node-holder-icon.icon-show
|
|
255
255
|
{
|
|
256
|
-
--datatype-array--image-url: url('@jaisocx-tree-
|
|
257
|
-
--datatype-object--image-url: url('@jaisocx-tree-
|
|
256
|
+
--datatype-array--image-url: url('@jaisocx-tree-MediaAndStyles/themes/theme-base/mini-images/data-types/icons8-json-96.png');
|
|
257
|
+
--datatype-object--image-url: url('@jaisocx-tree-MediaAndStyles/themes/theme-base/mini-images/data-types/icons8-json-96.png');
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
```
|
|
261
261
|
|
|
262
262
|
5. without the webpack build, use another relative urls in the .css files, loaded in <link rel="stylesheet" href="">.
|
|
263
263
|
6. with webpack produced bundle.js, several themes can be imported, and then used in html holder node <div id="tree-1" class="theme-extended-1">
|
|
264
|
-
7. when copying to the webpack build theme css files, urls have to be rewritten absolute, starting with / , and not relative like when working in browser with
|
|
264
|
+
7. when copying to the webpack build theme css files, urls have to be rewritten absolute, starting with / , and not relative like when working in browser with transpiled/Simple
|
|
265
265
|
8. have to try with other data, like .json and other.
|
|
266
266
|
9. in json the urls have to be absolute, or base64 contents.
|
|
267
267
|
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
# PREVIEW Of Sites Tools, Published For Npm Or Yarn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## The Aim Of The Setup
|
|
5
|
+
|
|
6
|
+
To preview the sites tool when installed via `npm i` or `yarn add`
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Preface
|
|
12
|
+
|
|
13
|
+
A sites tool, published on npm,
|
|
14
|
+
may be installed via npm or yarn to a js single page application,
|
|
15
|
+
built with js frameworks like React, Angular, Vue3, NextJS
|
|
16
|
+
with a js framework single base component for a sites tool
|
|
17
|
+
implementing a base interface in the namespace of a js sites tools developer or company.
|
|
18
|
+
|
|
19
|
+
Js|Ts developers prefer to keep npm repos registry well seeing
|
|
20
|
+
when navigating and installing other sites tools
|
|
21
|
+
and for own company marketing and pr purposes.
|
|
22
|
+
|
|
23
|
+
The npm and yarn repos registry has the rules:
|
|
24
|
+
|
|
25
|
+
1. to publish `README.md`. We publish for preview one more in addition: `index.example.html`
|
|
26
|
+
2. to avoid or minimize publishing other files than json conf, css and js code.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
When having tested sites tools, I've encountered and implemented
|
|
30
|
+
several efficiency optimization workarounds,
|
|
31
|
+
like these:
|
|
32
|
+
|
|
33
|
+
1. traffic cost `save up` (prevented, on single site load, loading several times the same fonts and images);
|
|
34
|
+
|
|
35
|
+
2. foreseen `timestamps of loading` resources like images and fonts (prevented interactivity layout jumps);
|
|
36
|
+
|
|
37
|
+
3. fallback urls for `node_modules` after npm install --install-strategy=hoisted, when installed just one npm package. The relative nested level of `node_modules` path is not to foresee;
|
|
38
|
+
|
|
39
|
+
4. fallback urls bugfixes for the cases, when a cdn isn't responding or the internet connectivity isn't there (when installed a sites tool via npm, and other time later tried to preview the sites tool without internet connection).
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Example Flow:
|
|
45
|
+
|
|
46
|
+
1. install `npm i @jaisocx/tree`
|
|
47
|
+
|
|
48
|
+
2. open `node_modules/@jaisocx/tree`. in FileSystem Explorer the folder `node_modules/@jaisocx/tree`
|
|
49
|
+
|
|
50
|
+
3. open `index.example.html`.
|
|
51
|
+
|
|
52
|
+
3.1. in the FileSystem Explorer,
|
|
53
|
+
open by tap or mouse double click `index.example.html`,
|
|
54
|
+
or with context menu `Open with...` and choose the browser to open this file with.
|
|
55
|
+
|
|
56
|
+
3.2. if having the folder published with a sites server on url `https://your-domain/cdn/sites-tools/`,
|
|
57
|
+
navigate in browser:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
https://your-domain/cdn/sites-tools/node_modules/@jaisocx/tree/index.example.html
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
In both cases, 3.1. and 3.2, the sites tool example is being shown the right way,
|
|
66
|
+
like the sites tools developer has had tested before has published to npm.
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
### Preview .html Modes
|
|
76
|
+
|
|
77
|
+
#### 1. Production Mode
|
|
78
|
+
|
|
79
|
+
*index.example.html*, *tree_preview_prod.html*
|
|
80
|
+
|
|
81
|
+
The production mode preview may be opened in browser both in `local file system` with fs path and `sites server` with url.
|
|
82
|
+
|
|
83
|
+
For this purpose, the fallback relative urls task was solved.
|
|
84
|
+
|
|
85
|
+
##### 1.1 fallback urls workarounds:
|
|
86
|
+
|
|
87
|
+
1.1.1 node_modules
|
|
88
|
+
|
|
89
|
+
1.1.2. cdn not responding npm package with base resources like images and fonts.
|
|
90
|
+
|
|
91
|
+
1.1.3. DOMContentLoaded resolved when loaded with fallback urls after DOMContentLoaded.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
##### 1.2. traffic save up workarounds:
|
|
95
|
+
|
|
96
|
+
1.2.1. @jaisocx/preloader for single load.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
##### 1.3. cdn not responding workarounds for @jaisocx/preloader ( and when preview offline):
|
|
101
|
+
|
|
102
|
+
1.3.1. preventing blocking of the site render, the cleanup script to delete cdn preload links
|
|
103
|
+
|
|
104
|
+
1.3.2. preventing default font, for a not loaded font from cdn, have set the fallback fonts names in styles.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
##### 1.4. request events number minimized.
|
|
108
|
+
|
|
109
|
+
1.4.1. sites tool's base styles are loaded with one ..._resolved_minimal.css file
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
#### 2. Development Mode
|
|
114
|
+
|
|
115
|
+
*tree_preview_dev.html*
|
|
116
|
+
|
|
117
|
+
html file for testing and tryout purposes in development mode:
|
|
118
|
+
|
|
119
|
+
2.1. without heavy scripts load for preloads and fallback urls.
|
|
120
|
+
|
|
121
|
+
2.2. loading styles in relative mode, You see every of 30 files in the filesets for the responsive feature
|
|
122
|
+
|
|
123
|
+
2.3. loading js classes in simple mode ( the easiest to view in browser's dev console legacy legacy mode ).
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
### Problems Solved
|
|
129
|
+
|
|
130
|
+
#### Sites tools preview problems
|
|
131
|
+
|
|
132
|
+
1. Preview of a sites tool and of source code was not easy.
|
|
133
|
+
|
|
134
|
+
2. When a cdn is not responding or the internet isn't turned on,
|
|
135
|
+
the sites tool has to look good, nevertheless.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
#### The normal and rare sites and sites tools problems need optimization and fine-tuning.
|
|
139
|
+
|
|
140
|
+
1. the css and js sources were not to view easy and transparent.
|
|
141
|
+
|
|
142
|
+
2. The fonts are not explicitly loaded
|
|
143
|
+
and may fallback to default fonts, if not installed on a client device OS.
|
|
144
|
+
|
|
145
|
+
3. Same media files like images and fonts are loaded several times with traffic unneeded cost.
|
|
146
|
+
|
|
147
|
+
4. When the efficient pattern LazyLoad is turned on in a client browser,
|
|
148
|
+
some resources are loading in browser later
|
|
149
|
+
in unexpected for testers and surfers timestamps,
|
|
150
|
+
and interactivity layout jumps may occure.
|
|
151
|
+
|
|
152
|
+
5. when having installed a sites tool with npm,
|
|
153
|
+
the relative paths to styles and scripts don't work,
|
|
154
|
+
since the relative paths in `node_modules` may be one or two levels above,
|
|
155
|
+
or inside the `node_modules` two levels deep.
|
|
156
|
+
|
|
157
|
+
6. fonts and media like images in npm packages examples
|
|
158
|
+
are in most cases not loading, since cdn url has changed,
|
|
159
|
+
or viewing the example offline.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
### Friendly Greetings
|
|
163
|
+
|
|
164
|
+
Have a nice day and stay in touch,
|
|
165
|
+
|
|
166
|
+
Elias Jaisocx.com Software Architect and Developer
|
|
167
|
+
|
|
Binary file
|
|
Binary file
|