admin-lte 4.0.0-alpha1 → 4.0.0-alpha2

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 (151) hide show
  1. package/.bundlewatch.config.json +2 -2
  2. package/.cache/.eslintcache +1 -0
  3. package/.cache/.stylelintcache +1 -0
  4. package/.eslintignore +1 -0
  5. package/.eslintrc.json +16 -0
  6. package/.stylelintrc.json +47 -0
  7. package/LICENSE +1 -1
  8. package/README.md +5 -6
  9. package/dist/css/adminlte.css +2383 -2754
  10. package/dist/css/adminlte.css.map +1 -1
  11. package/dist/css/adminlte.min.css +2 -2
  12. package/dist/css/adminlte.min.css.map +1 -1
  13. package/dist/css/{rtl/adminlte.rtl.css → adminlte.rtl.css} +2377 -2749
  14. package/dist/css/adminlte.rtl.css.map +1 -0
  15. package/dist/css/adminlte.rtl.min.css +7 -0
  16. package/dist/css/adminlte.rtl.min.css.map +1 -0
  17. package/dist/js/adminlte.js +173 -182
  18. package/dist/js/adminlte.js.map +1 -1
  19. package/dist/js/adminlte.min.js +6 -1
  20. package/dist/js/adminlte.min.js.map +1 -1
  21. package/dist/pages/UI/timeline.html +698 -0
  22. package/dist/pages/docs/browser-support.html +614 -0
  23. package/dist/pages/docs/color-mode.html +855 -0
  24. package/dist/pages/docs/components/main-header.html +926 -0
  25. package/dist/pages/docs/layout.html +617 -0
  26. package/dist/pages/docs.html +617 -0
  27. package/dist/pages/examples/login.html +114 -187
  28. package/dist/pages/examples/register.html +117 -190
  29. package/dist/pages/forms/general.html +598 -647
  30. package/dist/pages/index.html +1091 -0
  31. package/dist/pages/index2.html +1452 -0
  32. package/dist/pages/index3.html +950 -0
  33. package/dist/pages/layout/fixed-sidebar.html +590 -638
  34. package/dist/pages/layout/layout-rtl.html +623 -0
  35. package/dist/pages/layout/sidebar-mini.html +623 -0
  36. package/dist/pages/layout/unfixed-sidebar.html +589 -638
  37. package/dist/pages/tables/simple.html +837 -938
  38. package/dist/pages/widgets/cards.html +814 -698
  39. package/dist/pages/widgets/info-box.html +864 -951
  40. package/dist/pages/widgets/small-box.html +625 -678
  41. package/index.html +1 -6
  42. package/package.json +53 -36
  43. package/src/config/assets.config.mjs +8 -0
  44. package/src/config/astro.config.mjs +17 -0
  45. package/src/config/postcss.config.mjs +15 -0
  46. package/src/config/rollup.config.js +20 -0
  47. package/src/html/.eslintrc.json +24 -0
  48. package/src/html/.tsconfig.json +4 -0
  49. package/src/html/components/_head.astro +31 -0
  50. package/src/html/components/_scripts.astro +40 -0
  51. package/src/html/components/dashboard/_footer.astro +12 -0
  52. package/src/html/components/dashboard/_sidenav.astro +323 -0
  53. package/src/{partials/dashboard/_topbar.html → html/components/dashboard/_topbar.astro} +20 -46
  54. package/src/html/components/docs/browser-support/index.md +22 -0
  55. package/src/html/components/docs/color-mode/navbar-html.md +80 -0
  56. package/src/{partials/_scripts.html → html/components/docs/color-mode/toggle-script.md} +5 -52
  57. package/src/html/components/docs/components/main-header-1.md +159 -0
  58. package/src/html/components/docs/introduction/index.md +35 -0
  59. package/src/html/env.d.ts +1 -0
  60. package/src/html/pages/UI/timeline.astro +158 -0
  61. package/src/html/pages/docs/browser-support.astro +58 -0
  62. package/src/html/pages/docs/color-mode.astro +224 -0
  63. package/src/html/pages/docs/components/main-header.astro +232 -0
  64. package/src/html/pages/docs/index.astro +58 -0
  65. package/src/html/pages/docs/layout.astro +77 -0
  66. package/src/{pages/examples/login.html → html/pages/examples/login.astro} +13 -13
  67. package/src/{pages/examples/register.html → html/pages/examples/register.astro} +13 -13
  68. package/src/{pages/forms/general.html → html/pages/forms/general.astro} +26 -30
  69. package/src/{index.html → html/pages/index.astro} +266 -189
  70. package/src/{index2.html → html/pages/index2.astro} +229 -284
  71. package/src/{index3.html → html/pages/index3.astro} +151 -169
  72. package/src/{pages/layout/fixed-sidebar.html → html/pages/layout/fixed-sidebar.astro} +26 -29
  73. package/src/html/pages/layout/layout-rtl.astro +84 -0
  74. package/src/html/pages/layout/sidebar-mini.astro +83 -0
  75. package/src/{pages/layout/unfixed-sidebar.html → html/pages/layout/unfixed-sidebar.astro} +26 -30
  76. package/src/{pages/tables/simple.html → html/pages/tables/simple.astro} +26 -30
  77. package/src/html/pages/widgets/cards.astro +308 -0
  78. package/src/{pages/widgets/info-box.html → html/pages/widgets/info-box.astro} +26 -31
  79. package/src/html/pages/widgets/small-box.astro +121 -0
  80. package/src/scss/_app-footer.scss +15 -0
  81. package/src/scss/_app-header.scss +26 -0
  82. package/src/scss/_app-main.scss +20 -0
  83. package/src/scss/_app-sidebar.scss +429 -0
  84. package/src/scss/{_wrapper.scss → _app-wrapper.scss} +8 -4
  85. package/src/scss/_bootstrap-variables.scss +41 -26
  86. package/src/scss/_callouts.scss +34 -0
  87. package/src/scss/_cards.scss +30 -224
  88. package/src/scss/_direct-chat.scss +15 -9
  89. package/src/scss/_docs.scss +4 -0
  90. package/src/scss/_dropdown.scss +7 -5
  91. package/src/scss/_info-box.scss +2 -6
  92. package/src/scss/_miscellaneous.scss +0 -455
  93. package/src/scss/_mixins.scss +0 -6
  94. package/src/scss/_root.scss +2 -58
  95. package/src/scss/_small-box.scss +15 -38
  96. package/src/scss/_table.scss +0 -50
  97. package/src/scss/_timeline.scss +120 -0
  98. package/src/scss/_variables-dark.scss +15 -8
  99. package/src/scss/_variables.scss +30 -135
  100. package/src/scss/adminlte.scss +1 -1
  101. package/src/scss/mixins/_animations.scss +4 -0
  102. package/src/scss/mixins/_scrollbar.scss +2 -2
  103. package/src/scss/pages/_login_and_register.scss +1 -2
  104. package/src/scss/parts/_core.scss +7 -15
  105. package/src/scss/parts/_extra-components.scss +1 -2
  106. package/src/ts/adminlte.ts +0 -2
  107. package/src/ts/card-widget.ts +42 -18
  108. package/src/ts/direct-chat.ts +33 -8
  109. package/src/ts/layout.ts +6 -4
  110. package/src/ts/push-menu.ts +94 -145
  111. package/src/ts/treeview.ts +17 -23
  112. package/src/ts/util/index.ts +2 -2
  113. package/src/utils/index.js +11 -0
  114. package/tsconfig.json +11 -3
  115. package/.stylelintrc +0 -40
  116. package/CHECKLIST.md +0 -0
  117. package/dist/css/rtl/adminlte.rtl.css.map +0 -1
  118. package/dist/css/rtl/adminlte.rtl.min.css +0 -7
  119. package/dist/css/rtl/adminlte.rtl.min.css.map +0 -1
  120. package/dist/index.html +0 -1065
  121. package/dist/index2.html +0 -1629
  122. package/dist/index3.html +0 -1015
  123. package/gulpfile.js +0 -315
  124. package/src/pages/widgets/cards.html +0 -143
  125. package/src/pages/widgets/small-box.html +0 -124
  126. package/src/partials/_head.html +0 -31
  127. package/src/partials/dashboard/_footer.html +0 -9
  128. package/src/partials/dashboard/_sidenav.html +0 -244
  129. package/src/scss/_brand-container.scss +0 -72
  130. package/src/scss/_content-header.scss +0 -9
  131. package/src/scss/_content-wrapper.scss +0 -6
  132. package/src/scss/_content.scss +0 -3
  133. package/src/scss/_layout-fixed.scss +0 -43
  134. package/src/scss/_layout-mobile.scss +0 -22
  135. package/src/scss/_main-footer.scss +0 -28
  136. package/src/scss/_main-header.scss +0 -40
  137. package/src/scss/_main-sidebar.scss +0 -63
  138. package/src/scss/_nav-sidebar.scss +0 -66
  139. package/src/scss/_products.scss +0 -55
  140. package/src/scss/_sidebar-close.scss +0 -6
  141. package/src/scss/_sidebar-collapse.scss +0 -120
  142. package/src/scss/_sidebar-horizontal.scss +0 -67
  143. package/src/scss/_sidebar.scss +0 -11
  144. package/src/scss/_users-list.scss +0 -45
  145. package/src/scss/mixins/_brand-variant.scss +0 -9
  146. package/src/scss/mixins/_cards.scss +0 -53
  147. package/src/scss/mixins/_direct-chat.scss +0 -17
  148. package/src/scss/mixins/_header-variant.scss +0 -22
  149. package/src/scss/mixins/_nav-treeview-dark.scss +0 -87
  150. package/src/scss/mixins/_nav-treeview-light.scss +0 -89
  151. package/src/scss/mixins/_sidebar-color.scss +0 -9
@@ -9,11 +9,11 @@
9
9
  "maxSize": "40.47 kB"
10
10
  },
11
11
  {
12
- "path": "./dist/css/rtl/adminlte.rtl.css",
12
+ "path": "./dist/css/adminlte.rtl.css",
13
13
  "maxSize": "43.3 kB"
14
14
  },
15
15
  {
16
- "path": "./dist/css/rtl/adminlte.rtl.min.css",
16
+ "path": "./dist/css/adminlte.rtl.min.css",
17
17
  "maxSize": "40.5 kB"
18
18
  },
19
19
  {
@@ -0,0 +1 @@
1
+ [{"/home/rejack/Schreibtisch/Projects/AdminLTE/src/config/rollup.config.js":"1","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/_head.astro":"2","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/_scripts.astro":"3","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_footer.astro":"4","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_sidenav.astro":"5","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_topbar.astro":"6","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/UI/timeline.astro":"7","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/browser-support.astro":"8","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/color-mode.astro":"9","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/components/main-header.astro":"10","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/index.astro":"11","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/layout.astro":"12","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/examples/login.astro":"13","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/examples/register.astro":"14","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/forms/general.astro":"15","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index.astro":"16","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index2.astro":"17","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index3.astro":"18","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/fixed-sidebar.astro":"19","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/layout-rtl.astro":"20","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/sidebar-mini.astro":"21","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/unfixed-sidebar.astro":"22","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/tables/simple.astro":"23","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/cards.astro":"24","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/info-box.astro":"25","/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/small-box.astro":"26","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/adminlte.ts":"27","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/card-widget.ts":"28","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/direct-chat.ts":"29","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/layout.ts":"30","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/push-menu.ts":"31","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/treeview.ts":"32","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/util/index.ts":"33","/home/rejack/Schreibtisch/Projects/AdminLTE/src/utils/index.js":"34"},{"size":512,"mtime":1683886433043,"results":"35","hashOfConfig":"36"},{"size":1701,"mtime":1683886433043,"results":"37","hashOfConfig":"38"},{"size":1643,"mtime":1683886433043,"results":"39","hashOfConfig":"38"},{"size":351,"mtime":1683886433043,"results":"40","hashOfConfig":"38"},{"size":13041,"mtime":1683886433043,"results":"41","hashOfConfig":"38"},{"size":7121,"mtime":1683886433043,"results":"42","hashOfConfig":"38"},{"size":6906,"mtime":1683886433043,"results":"43","hashOfConfig":"38"},{"size":1798,"mtime":1683886433047,"results":"44","hashOfConfig":"38"},{"size":8040,"mtime":1683886433047,"results":"45","hashOfConfig":"38"},{"size":11076,"mtime":1683886433047,"results":"46","hashOfConfig":"38"},{"size":1779,"mtime":1683886433047,"results":"47","hashOfConfig":"38"},{"size":3036,"mtime":1683886433047,"results":"48","hashOfConfig":"38"},{"size":2742,"mtime":1683886433047,"results":"49","hashOfConfig":"38"},{"size":2941,"mtime":1683886433047,"results":"50","hashOfConfig":"38"},{"size":3633,"mtime":1683886433047,"results":"51","hashOfConfig":"38"},{"size":23869,"mtime":1683886433047,"results":"52","hashOfConfig":"38"},{"size":42738,"mtime":1683886433047,"results":"53","hashOfConfig":"38"},{"size":16854,"mtime":1683886433047,"results":"54","hashOfConfig":"38"},{"size":2810,"mtime":1683886433047,"results":"55","hashOfConfig":"38"},{"size":2842,"mtime":1683886433047,"results":"56","hashOfConfig":"38"},{"size":2837,"mtime":1683886433047,"results":"57","hashOfConfig":"38"},{"size":2804,"mtime":1683886433047,"results":"58","hashOfConfig":"38"},{"size":14539,"mtime":1683886433047,"results":"59","hashOfConfig":"38"},{"size":11517,"mtime":1683886433047,"results":"60","hashOfConfig":"38"},{"size":14154,"mtime":1683886433047,"results":"61","hashOfConfig":"38"},{"size":6046,"mtime":1683886433047,"results":"62","hashOfConfig":"38"},{"size":250,"mtime":1683886433050,"results":"63","hashOfConfig":"36"},{"size":7515,"mtime":1683886433050,"results":"64","hashOfConfig":"36"},{"size":1782,"mtime":1683886433050,"results":"65","hashOfConfig":"36"},{"size":1201,"mtime":1683886433050,"results":"66","hashOfConfig":"36"},{"size":5677,"mtime":1683886433050,"results":"67","hashOfConfig":"36"},{"size":2624,"mtime":1683886433050,"results":"68","hashOfConfig":"36"},{"size":2797,"mtime":1683886433050,"results":"69","hashOfConfig":"36"},{"size":220,"mtime":1683886433050,"results":"70","hashOfConfig":"36"},{"filePath":"71","messages":"72","suppressedMessages":"73","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1yc3ji4",{"filePath":"74","messages":"75","suppressedMessages":"76","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"r96r5n",{"filePath":"77","messages":"78","suppressedMessages":"79","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"80","messages":"81","suppressedMessages":"82","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","suppressedMessages":"85","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","suppressedMessages":"88","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"89","messages":"90","suppressedMessages":"91","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","suppressedMessages":"94","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"95","messages":"96","suppressedMessages":"97","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"164"},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/rejack/Schreibtisch/Projects/AdminLTE/src/config/rollup.config.js",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/_head.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/_scripts.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_footer.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_sidenav.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/components/dashboard/_topbar.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/UI/timeline.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/browser-support.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/color-mode.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/components/main-header.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/index.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/docs/layout.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/examples/login.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/examples/register.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/forms/general.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index2.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/index3.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/fixed-sidebar.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/layout-rtl.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/sidebar-mini.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/layout/unfixed-sidebar.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/tables/simple.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/cards.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/info-box.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/html/pages/widgets/small-box.astro",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/adminlte.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/card-widget.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/direct-chat.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/layout.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/push-menu.ts",["174"],[],"/**\n * --------------------------------------------\n * AdminLTE push-menu.ts\n * License MIT\n * --------------------------------------------\n */\n\nimport {\n domReady\n} from './util/index'\n\n/**\n * ------------------------------------------------------------------------\n * Constants\n * ------------------------------------------------------------------------\n */\n\nconst DATA_KEY = 'lte.push-menu'\nconst EVENT_KEY = `.${DATA_KEY}`\n\nconst EVENT_OPEN = `open${EVENT_KEY}`\nconst EVENT_COLLAPSE = `collapse${EVENT_KEY}`\n\nconst CLASS_NAME_SIDEBAR_MINI = 'sidebar-mini'\nconst CLASS_NAME_SIDEBAR_COLLAPSE = 'sidebar-collapse'\nconst CLASS_NAME_SIDEBAR_OPEN = 'sidebar-open'\nconst CLASS_NAME_SIDEBAR_IS_HOVER = 'sidebar-is-hover'\nconst CLASS_NAME_SIDEBAR_EXPAND = 'sidebar-expand'\nconst CLASS_NAME_SIDEBAR_OVERLAY = 'sidebar-overlay'\nconst CLASS_NAME_MENU_OPEN = 'menu-open'\n\nconst SELECTOR_APP_SIDEBAR = '.app-sidebar'\nconst SELECTOR_SIDEBAR_WRAPPER = '.sidebar-wrapper'\nconst SELECTOR_SIDEBAR_MENU = '.sidebar-menu'\nconst SELECTOR_NAV_ITEM = '.nav-item'\nconst SELECTOR_NAV_TREEVIEW = '.nav-treeview'\nconst SELECTOR_APP_WRAPPER = '.app-wrapper'\nconst SELECTOR_SIDEBAR_EXPAND = `[class*=\"${CLASS_NAME_SIDEBAR_EXPAND}\"]`\nconst SELECTOR_SIDEBAR_TOGGLE = '[data-lte-toggle=\"sidebar\"]'\n\ntype Config = {\n sidebarBreakpoint: number;\n}\n\nconst Defaults = {\n sidebarBreakpoint: 992\n}\n\n/**\n * Class Definition\n * ====================================================\n */\n\nclass PushMenu {\n _element: HTMLElement\n _config: Config\n\n constructor(element: HTMLElement, config: Config) {\n this._element = element\n this._config = { ...Defaults, ...config }\n }\n\n // TODO\n menusClose() {\n const navTreeview = document.querySelectorAll<HTMLElement>(SELECTOR_NAV_TREEVIEW)\n\n navTreeview.forEach(navTree => {\n navTree.style.removeProperty('display')\n navTree.style.removeProperty('height')\n })\n\n const navSidebar = document.querySelector(SELECTOR_SIDEBAR_MENU)\n const navItem = navSidebar?.querySelectorAll(SELECTOR_NAV_ITEM)\n\n if (navItem) {\n navItem.forEach(navI => {\n navI.classList.remove(CLASS_NAME_MENU_OPEN)\n })\n }\n }\n\n expand() {\n const event = new Event(EVENT_OPEN)\n\n document.body.classList.remove(CLASS_NAME_SIDEBAR_COLLAPSE)\n document.body.classList.add(CLASS_NAME_SIDEBAR_OPEN)\n\n this._element.dispatchEvent(event)\n }\n\n collapse() {\n const event = new Event(EVENT_COLLAPSE)\n\n document.body.classList.remove(CLASS_NAME_SIDEBAR_OPEN)\n document.body.classList.add(CLASS_NAME_SIDEBAR_COLLAPSE)\n\n this._element.dispatchEvent(event)\n }\n\n sidebarHover() {\n const selSidebar = document.querySelector(SELECTOR_SIDEBAR_WRAPPER)\n\n if (selSidebar) {\n selSidebar.addEventListener('mouseover', () => {\n document.body.classList.add(CLASS_NAME_SIDEBAR_IS_HOVER)\n })\n\n selSidebar.addEventListener('mouseout', () => {\n document.body.classList.remove(CLASS_NAME_SIDEBAR_IS_HOVER)\n })\n }\n }\n\n addSidebarBreakPoint() {\n const sidebarExpandList = document.querySelector(SELECTOR_SIDEBAR_EXPAND)?.classList ?? []\n const sidebarExpand = Array.from(sidebarExpandList).find(className => className.startsWith(CLASS_NAME_SIDEBAR_EXPAND)) ?? ''\n const sidebar = document.getElementsByClassName(sidebarExpand)[0]\n const sidebarContent = window.getComputedStyle(sidebar, '::before').getPropertyValue('content')\n this._config = { ...this._config, sidebarBreakpoint: Number(sidebarContent.replace(/[^\\d.-]/g, '')) }\n\n if (window.innerWidth <= this._config.sidebarBreakpoint) {\n this.collapse()\n } else {\n if (!document.body.classList.contains(CLASS_NAME_SIDEBAR_MINI)) {\n this.expand()\n }\n\n if (document.body.classList.contains(CLASS_NAME_SIDEBAR_MINI)) {\n this.collapse()\n }\n }\n }\n\n toggle() {\n if (document.body.classList.contains(CLASS_NAME_SIDEBAR_COLLAPSE)) {\n this.expand()\n } else {\n this.collapse()\n }\n }\n\n init() {\n this.addSidebarBreakPoint()\n this.sidebarHover()\n }\n}\n\n/**\n * ------------------------------------------------------------------------\n * Data Api implementation\n * ------------------------------------------------------------------------\n */\n\ndomReady(() => {\n const sidebar = document?.querySelector(SELECTOR_APP_SIDEBAR) as HTMLElement | undefined\n\n if (sidebar) {\n const data = new PushMenu(sidebar, Defaults)\n data.init()\n\n window.addEventListener('resize', () => {\n data.init()\n })\n }\n\n const sidebarOverlay = document.createElement('div')\n sidebarOverlay.className = CLASS_NAME_SIDEBAR_OVERLAY\n document.querySelector(SELECTOR_APP_WRAPPER)?.append(sidebarOverlay)\n\n sidebarOverlay.addEventListener('touchstart', event => {\n event.preventDefault()\n const target = event.currentTarget as HTMLElement\n const data = new PushMenu(target, Defaults)\n data.collapse()\n })\n sidebarOverlay.addEventListener('click', event => {\n event.preventDefault()\n const target = event.currentTarget as HTMLElement\n const data = new PushMenu(target, Defaults)\n data.collapse()\n })\n\n const fullBtn = document.querySelectorAll(SELECTOR_SIDEBAR_TOGGLE)\n\n fullBtn.forEach(btn => {\n btn.addEventListener('click', event => {\n event.preventDefault()\n\n let button = event.currentTarget as HTMLElement | undefined\n\n if (button?.dataset.lteToggle !== 'sidebar') {\n button = button?.closest(SELECTOR_SIDEBAR_TOGGLE) as HTMLElement | undefined\n }\n\n if (button) {\n event?.preventDefault()\n const data = new PushMenu(button, Defaults)\n data.toggle()\n }\n })\n })\n})\n\nexport default PushMenu\n","/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/treeview.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/ts/util/index.ts",[],[],"/home/rejack/Schreibtisch/Projects/AdminLTE/src/utils/index.js",[],[],{"ruleId":"175","severity":1,"message":"176","line":63,"column":3,"nodeType":"177","messageId":"178","endLine":63,"endColumn":10},"no-warning-comments","Unexpected 'todo' comment: 'TODO'.","Line","unexpectedComment"]
@@ -0,0 +1 @@
1
+ [{"/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_app-sidebar.scss":"1","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_app-header.scss":"2","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_app-main.scss":"3","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_docs.scss":"4","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_app-wrapper.scss":"5","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_app-footer.scss":"6","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_bootstrap-variables.scss":"7","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_progress-bars.scss":"8","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_small-box.scss":"9","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_mixins.scss":"10","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_root.scss":"11","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_variables-dark.scss":"12","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_direct-chat.scss":"13","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_dropdown.scss":"14","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_info-box.scss":"15","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_callouts.scss":"16","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_miscellaneous.scss":"17","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/adminlte.scss":"18","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_cards.scss":"19","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_variables.scss":"20","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_table.scss":"21","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/_timeline.scss":"22","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/parts/_components.scss":"23","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/mixins/_scrollbar.scss":"24","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/parts/_extra-components.scss":"25","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/pages/_login_and_register.scss":"26","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/mixins/_animations.scss":"27","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/parts/_pages.scss":"28","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/parts/_miscellaneous.scss":"29","/home/rejack/Schreibtisch/Projects/AdminLTE/src/scss/parts/_core.scss":"30"},{"size":11070,"mtime":1683886433047,"hashOfConfig":"31"},{"size":467,"mtime":1683886433047,"hashOfConfig":"31"},{"size":407,"mtime":1683886433047,"hashOfConfig":"31"},{"size":77,"mtime":1683886433047,"hashOfConfig":"31"},{"size":495,"mtime":1683886433047,"hashOfConfig":"31"},{"size":337,"mtime":1683886433047,"hashOfConfig":"31"},{"size":76539,"mtime":1683886433047,"hashOfConfig":"31"},{"size":875,"mtime":1666129684000,"hashOfConfig":"31"},{"size":2086,"mtime":1683886433047,"hashOfConfig":"31"},{"size":83,"mtime":1683886433047,"hashOfConfig":"31"},{"size":104,"mtime":1683886433047,"hashOfConfig":"31"},{"size":937,"mtime":1683886433047,"hashOfConfig":"31"},{"size":4044,"mtime":1683886433047,"hashOfConfig":"31"},{"size":4473,"mtime":1683886433047,"hashOfConfig":"31"},{"size":2384,"mtime":1683886433047,"hashOfConfig":"31"},{"size":830,"mtime":1683886433047,"hashOfConfig":"31"},{"size":205,"mtime":1683886433047,"hashOfConfig":"31"},{"size":2268,"mtime":1683886433047,"hashOfConfig":"31"},{"size":5209,"mtime":1683886433047,"hashOfConfig":"31"},{"size":4546,"mtime":1683886433047,"hashOfConfig":"31"},{"size":1317,"mtime":1683886433047,"hashOfConfig":"31"},{"size":2494,"mtime":1683886433047,"hashOfConfig":"31"},{"size":95,"mtime":1666129687000,"hashOfConfig":"31"},{"size":587,"mtime":1683886433050,"hashOfConfig":"31"},{"size":129,"mtime":1683886433050,"hashOfConfig":"31"},{"size":1832,"mtime":1683886433050,"hashOfConfig":"31"},{"size":1943,"mtime":1683886433047,"hashOfConfig":"31"},{"size":61,"mtime":1666129688000,"hashOfConfig":"31"},{"size":58,"mtime":1675011393000,"hashOfConfig":"31"},{"size":230,"mtime":1683886433050,"hashOfConfig":"31"},"1i6ozto"]
package/.eslintignore CHANGED
@@ -4,3 +4,4 @@
4
4
  /dist/
5
5
  /docs/
6
6
  /docs_html/
7
+ **/env.d.ts
package/.eslintrc.json CHANGED
@@ -52,6 +52,7 @@
52
52
  ],
53
53
  "unicorn/explicit-length-check": "off",
54
54
  "unicorn/no-array-callback-reference": "off",
55
+ "unicorn/no-array-for-each": "off",
55
56
  "unicorn/no-array-method-this-argument": "off",
56
57
  "unicorn/no-null": "off",
57
58
  "unicorn/no-unused-properties": "error",
@@ -61,6 +62,7 @@
61
62
  "unicorn/prefer-module": "off",
62
63
  "unicorn/prefer-query-selector": "off",
63
64
  "unicorn/prefer-spread": "off",
65
+ "unicorn/prefer-string-replace-all": "off",
64
66
  "unicorn/prevent-abbreviations": "off"
65
67
  },
66
68
  "overrides": [
@@ -99,6 +101,20 @@
99
101
  "never"
100
102
  ]
101
103
  }
104
+ },
105
+ {
106
+ "files": ["src/config/**"],
107
+ "env": {
108
+ "browser": false,
109
+ "node": true
110
+ },
111
+ "parserOptions": {
112
+ "sourceType": "module"
113
+ },
114
+ "rules": {
115
+ "no-console": "off",
116
+ "unicorn/prefer-top-level-await": "off"
117
+ }
102
118
  }
103
119
  ]
104
120
  }
@@ -0,0 +1,47 @@
1
+ {
2
+ "extends": [
3
+ "stylelint-config-twbs-bootstrap"
4
+ ],
5
+ "reportInvalidScopeDisables": true,
6
+ "reportNeedlessDisables": true,
7
+ "overrides": [
8
+ {
9
+ "files": ["**/*.scss"],
10
+ "rules": {
11
+ "declaration-no-important": null,
12
+ "declaration-property-value-disallowed-list": {
13
+ "border": "none",
14
+ "outline": "none"
15
+ },
16
+ "function-disallowed-list": [
17
+ "calc",
18
+ "lighten",
19
+ "darken"
20
+ ],
21
+ "keyframes-name-pattern": null,
22
+ "property-disallowed-list": [
23
+ "border-radius",
24
+ "border-top-left-radius",
25
+ "border-top-right-radius",
26
+ "border-bottom-right-radius",
27
+ "border-bottom-left-radius",
28
+ "transition"
29
+ ],
30
+ "scss/dollar-variable-default": [
31
+ true,
32
+ {
33
+ "ignore": "local"
34
+ }
35
+ ],
36
+ "scss/selector-no-union-class-name": true,
37
+ "selector-max-class": null,
38
+ "selector-max-combinators": null,
39
+ "selector-max-compound-selectors": null,
40
+ "selector-max-id": null,
41
+ "selector-max-specificity": null,
42
+ "selector-max-type": null,
43
+ "selector-no-qualifying-type": null
44
+ }
45
+ }
46
+ ]
47
+ }
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2021 ColorlibHQ
3
+ Copyright (c) 2014-2023 ColorlibHQ
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
package/README.md CHANGED
@@ -26,23 +26,22 @@ SCSS has been used to increase code customizability.
26
26
  To compile the dist files you need Node.js/npm, clone/download the repo then:
27
27
 
28
28
  1. `npm install` (install npm deps)
29
- 2. `npm install gulp-cli -g` (install gulp-cli globally)
30
- 3. _Optional:_ `gulp` (developer mode, autocompile with browsersync support for live demo)
31
- 4. `gulp compile` (compile css/js files)
29
+ 2. _Optional:_ `npm run dev` (developer mode, autocompile with browsersync support for live demo)
30
+ 3. `npm run production` (compile css/js files)
32
31
 
33
32
 
34
33
  ## Contributing
35
34
 
36
35
  - Highly welcome.
37
- - For your extra reference check [AdminLTE v3 Contribution Guide](https://github.com/ColorlibHQ/AdminLTE#contributing)
36
+ - For your extra reference check [AdminLTE v4 Contribution Guide](https://github.com/ColorlibHQ/AdminLTE#contributing)
38
37
  - First thing first, you should have bit knowledge about NodeJS.
39
38
  - Github Knowledge.
40
39
  - Install NodeJS LTS version.
41
- - Clone this Repository to your machine.
40
+ - Clone this Repository to your machine and change to `v4-dev` branch.
42
41
  - Go to Cloned Folder.
43
42
  - In cli/bash run `npm install` it will install dependency from `package.json`.
44
43
  - After installation complets, run `npm run dev`
45
- - Cool, Send urs changes.
44
+ - Cool, Send urs changes in PR to `v4-dev` branch.
46
45
 
47
46
 
48
47
  ## License