isite 2024.6.9 → 2024.8.2

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 (128) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +1387 -1387
  3. package/apps/charts/site_files/html/PieChart.html +35 -35
  4. package/apps/charts/site_files/html/PieChart2.html +35 -35
  5. package/apps/charts/site_files/html/XYChart.html +42 -42
  6. package/apps/charts/site_files/html/column.html +60 -60
  7. package/apps/charts/site_files/html/gauge.html +44 -44
  8. package/apps/charts/site_files/html/index.html +92 -92
  9. package/apps/charts/site_files/html/line-graph.html +42 -42
  10. package/apps/charts/site_files/html/pie-chart-rounded-corners.html +38 -38
  11. package/apps/charts/site_files/html/simple-3D-pie-chart.html +43 -43
  12. package/apps/charts/site_files/js/chart-animated.js +2 -2
  13. package/apps/charts/site_files/json/PieChart.json +41 -41
  14. package/apps/charts/site_files/json/PieChart2.json +23 -23
  15. package/apps/charts/site_files/json/XYChart.json +74 -74
  16. package/apps/charts/site_files/json/bar-chart.json +99 -99
  17. package/apps/charts/site_files/json/column-chart.json +80 -80
  18. package/apps/charts/site_files/json/gauge.json +36 -36
  19. package/apps/charts/site_files/json/line-graph.json +1867 -1867
  20. package/apps/charts/site_files/json/pie-chart-rounded-corners.json +42 -42
  21. package/apps/charts/site_files/json/simple-3D-pie-chart.json +50 -50
  22. package/apps/client-side/package-lock.json +5 -5
  23. package/apps/client-side/package.json +21 -21
  24. package/apps/client-side/site_files/css/bootstrap3.css +5 -5
  25. package/apps/client-side/site_files/css/bootstrap4.css +6 -6
  26. package/apps/client-side/site_files/css/bootstrap5-addon.css +2 -2
  27. package/apps/client-side/site_files/css/bootstrap5.css +6 -6
  28. package/apps/client-side/site_files/css/checkbox.css +125 -125
  29. package/apps/client-side/site_files/css/font-awesome.css +4616 -4616
  30. package/apps/client-side/site_files/css/font-awesome.min.css +4 -4
  31. package/apps/client-side/site_files/css/fonts.css +85 -85
  32. package/apps/client-side/site_files/css/help.css +51 -51
  33. package/apps/client-side/site_files/css/images.css +4 -3
  34. package/apps/client-side/site_files/css/main-menu.css +66 -66
  35. package/apps/client-side/site_files/css/print.css +144 -144
  36. package/apps/client-side/site_files/css/prism.css +139 -139
  37. package/apps/client-side/site_files/css/progress.css +7 -7
  38. package/apps/client-side/site_files/css/radio.css +103 -103
  39. package/apps/client-side/site_files/css/scrollbar.css +13 -13
  40. package/apps/client-side/site_files/css/semantic.css +363 -363
  41. package/apps/client-side/site_files/css/table.css +87 -87
  42. package/apps/client-side/site_files/css/treeview.css +84 -84
  43. package/apps/client-side/site_files/css/ui.css +28 -28
  44. package/apps/client-side/site_files/fonts/fontawesome-webfont.svg +2671 -2671
  45. package/apps/client-side/site_files/fonts/glyphicons-halflings-regular.svg +287 -287
  46. package/apps/client-side/site_files/fonts/icons.svg +684 -684
  47. package/apps/client-side/site_files/js/angular-animate.js +4179 -4179
  48. package/apps/client-side/site_files/js/angular.js +36599 -36599
  49. package/apps/client-side/site_files/js/angular.min.js +351 -351
  50. package/apps/client-side/site_files/js/angular.min.js.map +8 -8
  51. package/apps/client-side/site_files/js/barcode.js +1 -1
  52. package/apps/client-side/site_files/js/base64.js +319 -319
  53. package/apps/client-side/site_files/js/bootstrap-5-directive.js +1456 -1456
  54. package/apps/client-side/site_files/js/bootstrap3.js +6 -6
  55. package/apps/client-side/site_files/js/bootstrap4.js +6 -6
  56. package/apps/client-side/site_files/js/bootstrap5.js +6 -6
  57. package/apps/client-side/site_files/js/custom.js +149 -149
  58. package/apps/client-side/site_files/js/directive.min.js +1 -1
  59. package/apps/client-side/site_files/js/hijri.js +965 -965
  60. package/apps/client-side/site_files/js/jquery.js +2 -2
  61. package/apps/client-side/site_files/js/moment.js +4511 -4511
  62. package/apps/client-side/site_files/js/prism.js +6 -6
  63. package/apps/client-side/site_files/js/qrcode.js +1398 -1398
  64. package/apps/client-side/site_files/js/semantic.js +10 -10
  65. package/apps/client-side/site_files/js/xlsx.js +23 -23
  66. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/brand-icons.svg +1008 -1008
  67. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/icons.svg +1518 -1518
  68. package/apps/client-side/site_files/semantic-themes/default/assets/fonts/outline-icons.svg +366 -366
  69. package/apps/client-side/site_files/webfonts/fa-brands-400.svg +3717 -3717
  70. package/apps/client-side/site_files/webfonts/fa-regular-400.svg +801 -801
  71. package/apps/client-side/site_files/webfonts/fa-solid-900.svg +5034 -5034
  72. package/apps/security/README.md +12 -12
  73. package/apps/security/app.js +288 -288
  74. package/apps/security/libs/notifications.js +89 -89
  75. package/apps/security/site_files/html/add_modal.html +36 -36
  76. package/apps/security/site_files/html/content.html +36 -36
  77. package/apps/security/site_files/html/delete_modal.html +31 -31
  78. package/apps/security/site_files/html/head.html +7 -7
  79. package/apps/security/site_files/html/index.html +80 -80
  80. package/apps/security/site_files/html/login_modal.html +24 -24
  81. package/apps/security/site_files/html/logout_modal.html +21 -21
  82. package/apps/security/site_files/html/navbar.html +8 -8
  83. package/apps/security/site_files/html/register_modal.html +32 -32
  84. package/apps/security/site_files/html/update_modal.html +28 -28
  85. package/apps/security/site_files/html/view.html +74 -74
  86. package/apps/security/site_files/html/view_modal.html +32 -32
  87. package/apps/security/site_files/js/app.js +1 -1
  88. package/apps/security/site_files/js/index.js +278 -278
  89. package/apps/security/site_files/js/login.js +35 -35
  90. package/apps/security/site_files/js/logout.js +22 -22
  91. package/apps/security/site_files/js/navbar.js +26 -26
  92. package/apps/security/site_files/js/register.js +30 -30
  93. package/apps/security/site_files/json/permissions.json +7 -7
  94. package/apps/security/site_files/json/roles.json +33 -33
  95. package/apps/security/site_files/json/words.json +28 -28
  96. package/gulpfile.js +17 -17
  97. package/index.js +1 -0
  98. package/isite.postman_collection.json +7 -7
  99. package/isite_files/css/bootstrap.css +5 -5
  100. package/isite_files/css/font-awesome.css +4 -4
  101. package/isite_files/css/prism.css +139 -139
  102. package/isite_files/fonts/fontawesome-webfont.svg +2671 -2671
  103. package/isite_files/fonts/glyphicons-halflings-regular.svg +287 -287
  104. package/isite_files/html/files.html +9 -9
  105. package/isite_files/html/head.html +12 -12
  106. package/isite_files/html/index.html +30 -30
  107. package/isite_files/html/installing.html +27 -27
  108. package/isite_files/html/navbar.html +51 -51
  109. package/isite_files/html/routes.html +13 -13
  110. package/isite_files/html/sessions.html +13 -13
  111. package/isite_files/html/vars.html +9 -9
  112. package/isite_files/js/angular.js +334 -334
  113. package/isite_files/js/bootstrap.js +6 -6
  114. package/isite_files/js/custom.js +149 -149
  115. package/isite_files/js/jquery.js +4 -4
  116. package/isite_files/js/prism.js +6 -6
  117. package/lib/README.md +1 -1
  118. package/lib/cookie.js +81 -81
  119. package/lib/dashboard.js +189 -189
  120. package/lib/mongodb.js +686 -686
  121. package/lib/parser.js +910 -910
  122. package/lib/session.js +158 -158
  123. package/lib/storage.js +6 -0
  124. package/lib/ws.js +4 -26
  125. package/object-options/lib/isite.code-workspace +10 -10
  126. package/object-options/lib/safty.js +13 -16
  127. package/package.json +55 -54
  128. package/ssl/create_ssl.sh +3 -3
@@ -1,144 +1,144 @@
1
- .print-only {
2
- visibility: collapse;
3
- }
4
-
5
- .page-a4 {
6
- display: inline-block;
7
- height: 297mm !important;
8
- width: 210mm !important;
9
- padding: 2mm !important;
10
- margin: 0mm !important;
11
- background: white !important;
12
- color: #000 !important;
13
- page-break-before: always !important;
14
- page-break-after: always !important;
15
- page-break-inside: avoid !important;
16
- }
17
- .width-15-mm {
18
- min-width: 15mm !important;
19
- width: 15mm !important;
20
- white-space: normal;
21
- max-width: 15mm !important;
22
- }
23
- .width-30-mm {
24
- min-width: 30mm !important;
25
- width: 30mm !important;
26
- white-space: normal;
27
- max-width: 30mm !important;
28
- }
29
- .width-60-mm {
30
- min-width: 60mm !important;
31
- width: 60mm !important;
32
- white-space: normal;
33
- max-width: 60mm !important;
34
- }
35
- .width-90-mm {
36
- min-width: 90mm !important;
37
- width: 90mm !important;
38
- white-space: normal;
39
- max-width: 90mm !important;
40
- }
41
-
42
- .page-width-a4 {
43
- padding: 2mm;
44
- margin: 0mm;
45
- }
46
-
47
- body.a4 {
48
- background: white;
49
- color: #000;
50
- }
51
- body.a4 {
52
- height: 297mm;
53
- }
54
- body.print-mode {
55
- padding: 0px !important;
56
- margin: 2mm !important;
57
- display: contents;
58
- }
59
- body.print-mode .hide {
60
- visibility: visible;
61
- }
62
- body.print-mode .not-print,
63
- body.print-mode .dont-print {
64
- display: none;
65
- }
66
- body.print-mode .print-only {
67
- visibility: visible;
68
- }
69
- body.print-mode .table {
70
- table-layout: fixed;
71
- border-collapse: collapse;
72
- border: 1px solid black;
73
- font-size: 8pt;
74
- page-break-inside: avoid;
75
- }
76
- body.print-mode .table.wide {
77
- min-width: 206mm !important;
78
- width: 206mm !important;
79
- }
80
- body.print-mode .table th {
81
- color: #000 !important;
82
- background: #fff !important;
83
- border-collapse: collapse;
84
- }
85
- body.print-mode .table td {
86
- color: #000 !important;
87
- background: #fff !important;
88
- border-collapse: collapse;
89
- }
90
- body.print-mode input,
91
- body.print-mode textarea {
92
- font-size: 8pt;
93
- }
94
- body.print-mode .small {
95
- font-size: 6pt;
96
- }
97
-
98
- .page {
99
- page-break-before: always;
100
- page-break-after: always;
101
- page-break-inside: avoid !important;
102
- }
103
- @media print {
104
- :root {
105
- --legend-color: #000;
106
- --legend-text-shadow: none;
107
- }
108
- html,
109
- body,
110
- .page {
111
- margin: 0 !important;
112
- padding: 0 !important;
113
- }
114
- .page {
115
- page-break-before: always;
116
- page-break-after: always;
117
- page-break-inside: avoid !important;
118
- }
119
-
120
- .print-break {
121
- page-break-after: always;
122
- }
123
-
124
- .print-start {
125
- page-break-before: always;
126
- }
127
-
128
- .print-content {
129
- page-break-inside: avoid;
130
- }
131
-
132
- a {
133
- font-weight: bolder;
134
- text-decoration: none;
135
- }
136
-
137
- a[href^='http']:after {
138
- content: ' [ ' attr(href) ' ] ';
139
- }
140
-
141
- a[href^='#']:after {
142
- content: '';
143
- }
144
- }
1
+ .print-only {
2
+ visibility: collapse;
3
+ }
4
+
5
+ .page-a4 {
6
+ display: inline-block;
7
+ height: 297mm !important;
8
+ width: 210mm !important;
9
+ padding: 2mm !important;
10
+ margin: 0mm !important;
11
+ background: white !important;
12
+ color: #000 !important;
13
+ page-break-before: always !important;
14
+ page-break-after: always !important;
15
+ page-break-inside: avoid !important;
16
+ }
17
+ .width-15-mm {
18
+ min-width: 15mm !important;
19
+ width: 15mm !important;
20
+ white-space: normal;
21
+ max-width: 15mm !important;
22
+ }
23
+ .width-30-mm {
24
+ min-width: 30mm !important;
25
+ width: 30mm !important;
26
+ white-space: normal;
27
+ max-width: 30mm !important;
28
+ }
29
+ .width-60-mm {
30
+ min-width: 60mm !important;
31
+ width: 60mm !important;
32
+ white-space: normal;
33
+ max-width: 60mm !important;
34
+ }
35
+ .width-90-mm {
36
+ min-width: 90mm !important;
37
+ width: 90mm !important;
38
+ white-space: normal;
39
+ max-width: 90mm !important;
40
+ }
41
+
42
+ .page-width-a4 {
43
+ padding: 2mm;
44
+ margin: 0mm;
45
+ }
46
+
47
+ body.a4 {
48
+ background: white;
49
+ color: #000;
50
+ }
51
+ body.a4 {
52
+ height: 297mm;
53
+ }
54
+ body.print-mode {
55
+ padding: 0px !important;
56
+ margin: 2mm !important;
57
+ display: contents;
58
+ }
59
+ body.print-mode .hide {
60
+ visibility: visible;
61
+ }
62
+ body.print-mode .not-print,
63
+ body.print-mode .dont-print {
64
+ display: none;
65
+ }
66
+ body.print-mode .print-only {
67
+ visibility: visible;
68
+ }
69
+ body.print-mode .table {
70
+ table-layout: fixed;
71
+ border-collapse: collapse;
72
+ border: 1px solid black;
73
+ font-size: 8pt;
74
+ page-break-inside: avoid;
75
+ }
76
+ body.print-mode .table.wide {
77
+ min-width: 206mm !important;
78
+ width: 206mm !important;
79
+ }
80
+ body.print-mode .table th {
81
+ color: #000 !important;
82
+ background: #fff !important;
83
+ border-collapse: collapse;
84
+ }
85
+ body.print-mode .table td {
86
+ color: #000 !important;
87
+ background: #fff !important;
88
+ border-collapse: collapse;
89
+ }
90
+ body.print-mode input,
91
+ body.print-mode textarea {
92
+ font-size: 8pt;
93
+ }
94
+ body.print-mode .small {
95
+ font-size: 6pt;
96
+ }
97
+
98
+ .page {
99
+ page-break-before: always;
100
+ page-break-after: always;
101
+ page-break-inside: avoid !important;
102
+ }
103
+ @media print {
104
+ :root {
105
+ --legend-color: #000;
106
+ --legend-text-shadow: none;
107
+ }
108
+ html,
109
+ body,
110
+ .page {
111
+ margin: 0 !important;
112
+ padding: 0 !important;
113
+ }
114
+ .page {
115
+ page-break-before: always;
116
+ page-break-after: always;
117
+ page-break-inside: avoid !important;
118
+ }
119
+
120
+ .print-break {
121
+ page-break-after: always;
122
+ }
123
+
124
+ .print-start {
125
+ page-break-before: always;
126
+ }
127
+
128
+ .print-content {
129
+ page-break-inside: avoid;
130
+ }
131
+
132
+ a {
133
+ font-weight: bolder;
134
+ text-decoration: none;
135
+ }
136
+
137
+ a[href^='http']:after {
138
+ content: ' [ ' attr(href) ' ] ';
139
+ }
140
+
141
+ a[href^='#']:after {
142
+ content: '';
143
+ }
144
+ }
@@ -1,139 +1,139 @@
1
- /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
2
- /**
3
- * prism.js default theme for JavaScript, CSS and HTML
4
- * Based on dabblet (http://dabblet.com)
5
- * @author Lea Verou
6
- */
7
-
8
- code[class*="language-"],
9
- pre[class*="language-"] {
10
- color: black;
11
- background: none;
12
- text-shadow: 0 1px white;
13
- font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
14
- text-align: left;
15
- white-space: pre;
16
- word-spacing: normal;
17
- word-break: normal;
18
- word-wrap: normal;
19
- line-height: 1.5;
20
-
21
- -moz-tab-size: 4;
22
- -o-tab-size: 4;
23
- tab-size: 4;
24
-
25
- -webkit-hyphens: none;
26
- -moz-hyphens: none;
27
- -ms-hyphens: none;
28
- hyphens: none;
29
- }
30
-
31
- pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
32
- code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
33
- text-shadow: none;
34
- background: #b3d4fc;
35
- }
36
-
37
- pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
38
- code[class*="language-"]::selection, code[class*="language-"] ::selection {
39
- text-shadow: none;
40
- background: #b3d4fc;
41
- }
42
-
43
- @media print {
44
- code[class*="language-"],
45
- pre[class*="language-"] {
46
- text-shadow: none;
47
- }
48
- }
49
-
50
- /* Code blocks */
51
- pre[class*="language-"] {
52
- padding: 1em;
53
- margin: .5em 0;
54
- overflow: auto;
55
- }
56
-
57
- :not(pre) > code[class*="language-"],
58
- pre[class*="language-"] {
59
- background: #f5f2f0;
60
- }
61
-
62
- /* Inline code */
63
- :not(pre) > code[class*="language-"] {
64
- padding: .1em;
65
- border-radius: .3em;
66
- white-space: normal;
67
- }
68
-
69
- .token.comment,
70
- .token.prolog,
71
- .token.doctype,
72
- .token.cdata {
73
- color: slategray;
74
- }
75
-
76
- .token.punctuation {
77
- color: #999;
78
- }
79
-
80
- .namespace {
81
- opacity: .7;
82
- }
83
-
84
- .token.property,
85
- .token.tag,
86
- .token.boolean,
87
- .token.number,
88
- .token.constant,
89
- .token.symbol,
90
- .token.deleted {
91
- color: #905;
92
- }
93
-
94
- .token.selector,
95
- .token.attr-name,
96
- .token.string,
97
- .token.char,
98
- .token.builtin,
99
- .token.inserted {
100
- color: #690;
101
- }
102
-
103
- .token.operator,
104
- .token.entity,
105
- .token.url,
106
- .language-css .token.string,
107
- .style .token.string {
108
- color: #a67f59;
109
- background: hsla(0, 0%, 100%, .5);
110
- }
111
-
112
- .token.atrule,
113
- .token.attr-value,
114
- .token.keyword {
115
- color: #07a;
116
- }
117
-
118
- .token.function {
119
- color: #DD4A68;
120
- }
121
-
122
- .token.regex,
123
- .token.important,
124
- .token.variable {
125
- color: #e90;
126
- }
127
-
128
- .token.important,
129
- .token.bold {
130
- font-weight: bold;
131
- }
132
- .token.italic {
133
- font-style: italic;
134
- }
135
-
136
- .token.entity {
137
- cursor: help;
138
- }
139
-
1
+ /* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */
2
+ /**
3
+ * prism.js default theme for JavaScript, CSS and HTML
4
+ * Based on dabblet (http://dabblet.com)
5
+ * @author Lea Verou
6
+ */
7
+
8
+ code[class*="language-"],
9
+ pre[class*="language-"] {
10
+ color: black;
11
+ background: none;
12
+ text-shadow: 0 1px white;
13
+ font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
14
+ text-align: left;
15
+ white-space: pre;
16
+ word-spacing: normal;
17
+ word-break: normal;
18
+ word-wrap: normal;
19
+ line-height: 1.5;
20
+
21
+ -moz-tab-size: 4;
22
+ -o-tab-size: 4;
23
+ tab-size: 4;
24
+
25
+ -webkit-hyphens: none;
26
+ -moz-hyphens: none;
27
+ -ms-hyphens: none;
28
+ hyphens: none;
29
+ }
30
+
31
+ pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
32
+ code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
33
+ text-shadow: none;
34
+ background: #b3d4fc;
35
+ }
36
+
37
+ pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
38
+ code[class*="language-"]::selection, code[class*="language-"] ::selection {
39
+ text-shadow: none;
40
+ background: #b3d4fc;
41
+ }
42
+
43
+ @media print {
44
+ code[class*="language-"],
45
+ pre[class*="language-"] {
46
+ text-shadow: none;
47
+ }
48
+ }
49
+
50
+ /* Code blocks */
51
+ pre[class*="language-"] {
52
+ padding: 1em;
53
+ margin: .5em 0;
54
+ overflow: auto;
55
+ }
56
+
57
+ :not(pre) > code[class*="language-"],
58
+ pre[class*="language-"] {
59
+ background: #f5f2f0;
60
+ }
61
+
62
+ /* Inline code */
63
+ :not(pre) > code[class*="language-"] {
64
+ padding: .1em;
65
+ border-radius: .3em;
66
+ white-space: normal;
67
+ }
68
+
69
+ .token.comment,
70
+ .token.prolog,
71
+ .token.doctype,
72
+ .token.cdata {
73
+ color: slategray;
74
+ }
75
+
76
+ .token.punctuation {
77
+ color: #999;
78
+ }
79
+
80
+ .namespace {
81
+ opacity: .7;
82
+ }
83
+
84
+ .token.property,
85
+ .token.tag,
86
+ .token.boolean,
87
+ .token.number,
88
+ .token.constant,
89
+ .token.symbol,
90
+ .token.deleted {
91
+ color: #905;
92
+ }
93
+
94
+ .token.selector,
95
+ .token.attr-name,
96
+ .token.string,
97
+ .token.char,
98
+ .token.builtin,
99
+ .token.inserted {
100
+ color: #690;
101
+ }
102
+
103
+ .token.operator,
104
+ .token.entity,
105
+ .token.url,
106
+ .language-css .token.string,
107
+ .style .token.string {
108
+ color: #a67f59;
109
+ background: hsla(0, 0%, 100%, .5);
110
+ }
111
+
112
+ .token.atrule,
113
+ .token.attr-value,
114
+ .token.keyword {
115
+ color: #07a;
116
+ }
117
+
118
+ .token.function {
119
+ color: #DD4A68;
120
+ }
121
+
122
+ .token.regex,
123
+ .token.important,
124
+ .token.variable {
125
+ color: #e90;
126
+ }
127
+
128
+ .token.important,
129
+ .token.bold {
130
+ font-weight: bold;
131
+ }
132
+ .token.italic {
133
+ font-style: italic;
134
+ }
135
+
136
+ .token.entity {
137
+ cursor: help;
138
+ }
139
+
@@ -1,8 +1,8 @@
1
- progress{
2
- height: 5px;
3
- background-color: #000;
4
- color: blue;
5
- }
6
- progress::-webkit-progress-bar {background-color: #000; width: 100%;}
7
- progress::-webkit-progress-value { background: blue !important; }
1
+ progress{
2
+ height: 5px;
3
+ background-color: #000;
4
+ color: blue;
5
+ }
6
+ progress::-webkit-progress-bar {background-color: #000; width: 100%;}
7
+ progress::-webkit-progress-value { background: blue !important; }
8
8
  progress::-moz-progress-bar { background: blue !important;}