isite 2022.8.5 → 2022.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +7 -7
  2. package/apps/client-side/app.js +251 -185
  3. package/apps/client-side/site_files/css/bootstrap5-addon.css +32 -5
  4. package/apps/client-side/site_files/css/bootstrap5.css +1 -1
  5. package/apps/client-side/site_files/css/bootstrap5.css.map +1 -0
  6. package/apps/client-side/site_files/css/effect.css +136 -77
  7. package/apps/client-side/site_files/css/layout.css +37 -44
  8. package/apps/client-side/site_files/css/modal.css +1 -1
  9. package/apps/client-side/site_files/css/normalize.css +146 -0
  10. package/apps/client-side/site_files/css/scrollbar.css +9 -5
  11. package/apps/client-side/site_files/html/directive/i-button.html +5 -0
  12. package/apps/client-side/site_files/html/directive/i-checkbox.html +4 -0
  13. package/apps/client-side/site_files/html/directive/i-checklist.html +6 -0
  14. package/apps/client-side/site_files/html/directive/i-control.html +5 -0
  15. package/apps/client-side/site_files/html/directive/i-date.html +21 -16
  16. package/apps/client-side/site_files/html/directive/i-datetime.html +31 -0
  17. package/apps/client-side/site_files/html/directive/i-file.html +3 -5
  18. package/apps/client-side/site_files/html/directive/i-list.html +2 -2
  19. package/apps/client-side/site_files/html/directive/i-radio.html +4 -0
  20. package/apps/client-side/site_files/html/directive/i-textarea.html +4 -0
  21. package/apps/client-side/site_files/html/directive/i-treenode.html +20 -0
  22. package/apps/client-side/site_files/html/directive/i-treeview.html +13 -0
  23. package/apps/client-side/site_files/html/directive/i-upload.html +5 -0
  24. package/apps/client-side/site_files/html/directive-core/i-date.html +64 -0
  25. package/apps/client-side/site_files/html/directive-core/i-list.html +22 -0
  26. package/apps/client-side/site_files/js/bootstrap-5-directive.js +226 -234
  27. package/apps/client-side/site_files/js/bootstrap.js.map +1 -0
  28. package/apps/client-side/site_files/js/directive.js +1865 -2044
  29. package/apps/client-side/site_files/js/directive.min.js +2 -2
  30. package/apps/client-side/site_files/js/site.js +1 -1
  31. package/apps/security/site_files/html/login_modal.html +18 -26
  32. package/index.js +2 -5
  33. package/lib/parser.js +519 -509
  34. package/lib/routing.js +21 -15
  35. package/lib/sessions.js +182 -247
  36. package/object-options/index.js +6 -4
  37. package/package.json +3 -2
  38. package/pull.bat +3 -0
  39. package/push.bat +2 -5
@@ -1,6 +1,89 @@
1
1
  @media all {
2
+ .flex,
3
+ .display-flex {
4
+ display: flex !important;
5
+ }
6
+ .inline-flex,
7
+ .display-inline-flex {
8
+ display: inline-flex !important;
9
+ }
10
+
11
+ .flexbox,
12
+ .display-flexbox {
13
+ display: flexbox !important;
14
+ }
15
+ .flexbox,
16
+ .display-flexbox {
17
+ display: inline-flexbox !important;
18
+ }
19
+ .block,
20
+ .display-block {
21
+ display: block !important;
22
+ }
23
+
24
+ .none,
25
+ .display-none {
26
+ display: none !important;
27
+ }
28
+
29
+ .inline,
30
+ .display-inline {
31
+ display: inline !important;
32
+ }
33
+ .inline-block,
34
+ .display-inline-block {
35
+ display: inline-block !important;
36
+ }
37
+
38
+ .inline-grid,
39
+ .display-inline-grid {
40
+ display: inline-grid !important;
41
+ }
42
+
43
+ .fixed,
44
+ .position-fixed {
45
+ position: fixed !important;
46
+ }
47
+ .relative,
48
+ .position-relative {
49
+ position: relative !important;
50
+ }
51
+ .static,
52
+ .position-static {
53
+ position: static !important;
54
+ }
55
+ .sticky,
56
+ .position-sticky {
57
+ position: sticky !important;
58
+ }
59
+
60
+ .left,
61
+ .float-left {
62
+ float: left !important;
63
+ }
64
+
65
+ .right,
66
+ .float-right {
67
+ float: right !important;
68
+ }
69
+ .float-none {
70
+ float: none !important;
71
+ }
72
+
73
+ .text-center {
74
+ text-align: center !important;
75
+ }
76
+
77
+ .text-left {
78
+ text-align: left !important;
79
+ }
80
+
81
+ .text-right {
82
+ text-align: right !important;
83
+ }
84
+
2
85
  .pointer {
3
- cursor: pointer;
86
+ cursor: pointer !important;
4
87
  }
5
88
 
6
89
  .bold {
@@ -22,144 +105,120 @@
22
105
  text-align: center !important;
23
106
  }
24
107
 
25
- .float-none {
26
- float: none !important;
27
- }
28
108
  .center i.center {
29
109
  vertical-align: text-bottom;
30
110
  }
31
111
 
32
- .left {
33
- float: left !important;
112
+ .border {
113
+ border: 1px solid var(--theme-color) !important;
34
114
  }
35
115
 
36
- .right {
37
- float: right !important;
116
+ .dashed {
117
+ border: 2px dashed var(--theme-color) !important;
38
118
  }
39
119
 
40
- .text-center {
41
- text-align: center !important;
120
+ .no-border {
121
+ border: none !important;
42
122
  }
43
123
 
44
- .text-left {
45
- text-align: left !important;
124
+ .no-border-left {
125
+ border-left: none !important;
46
126
  }
47
127
 
48
- .text-right {
49
- text-align: right !important;
128
+ .no-border-right {
129
+ border-right: none !important;
50
130
  }
51
131
 
52
- .border {
53
- border: 1px solid var(--theme-color);
132
+ .no-border-top {
133
+ border-top: none !important;
134
+ }
135
+ .no-border-bottom {
136
+ border-bottom: none !important;
54
137
  }
55
138
 
56
- .dashed {
57
- border: 2px dashed var(--theme-color);
139
+ .no-border-radius {
140
+ border-radius: 0px !important;
58
141
  }
59
142
 
143
+ .border-radius {
144
+ border-radius: 5px !important;
145
+ }
60
146
  .margin {
61
- margin: 3px;
147
+ margin: 5px !important;
62
148
  }
63
149
 
64
150
  .padding {
65
- padding: 3px;
151
+ padding: 5px !important;
66
152
  }
67
153
 
68
154
  .text-shadow {
69
- text-shadow: 1px 1px 1px #000;
155
+ text-shadow: 1px 1px 1px #000 !important;
70
156
  }
71
157
 
72
158
  .box-shadow {
73
- box-shadow: 1px 1px 8px 2px #000;
74
- }
75
-
76
- .block {
77
- display: block;
159
+ box-shadow: 1px 1px 8px 2px #000 !important;
78
160
  }
79
161
 
80
- .none {
81
- display: none;
162
+ .font-small {
163
+ font-size: small !important;
82
164
  }
83
165
 
84
- .inline {
85
- display: inline-block;
166
+ .font-smaller {
167
+ font-size: smaller !important;
86
168
  }
87
169
 
88
- .inline-grid {
89
- display: inline-grid;
170
+ .font-x-small {
171
+ font-size: x-small !important;
90
172
  }
91
173
 
92
- .small {
93
- font-size: small;
174
+ .font-xx-small {
175
+ font-size: xx-small !important;
94
176
  }
95
177
 
96
- .smaller {
97
- font-size: smaller;
178
+ .font-medium {
179
+ font-size: medium !important;
98
180
  }
99
181
 
100
- .x-small {
101
- font-size: x-small;
182
+ .font-large {
183
+ font-size: large !important;
102
184
  }
103
185
 
104
- .xx-small {
105
- font-size: xx-small;
186
+ .font-larger {
187
+ font-size: larger !important;
106
188
  }
107
189
 
108
- .medium {
109
- font-size: medium;
190
+ .font-x-large {
191
+ font-size: x-large !important;
110
192
  }
111
-
112
- .large {
113
- font-size: large;
193
+ .font-xx-large {
194
+ font-size: xx-large !important;
114
195
  }
115
196
 
116
- .larger {
117
- font-size: larger;
197
+ .rtl {
198
+ direction: rtl;
118
199
  }
119
200
 
120
- .v {
121
- font-size: x-large;
201
+ .ltr {
202
+ direction: ltr;
122
203
  }
123
204
 
205
+ .height-auto{
206
+ height: auto !important;
207
+ };
208
+ .width-auto{
209
+ height: auto !important;
210
+ };
124
211
  .error {
125
212
  text-align: center;
126
213
  color: red;
127
214
  }
128
215
 
129
- .xx-large {
130
- font-size: xx-large;
131
- }
132
-
133
216
  .appearance-none {
134
217
  -moz-appearance: none;
135
218
  -webkit-appearance: none;
136
219
  appearance: none;
137
220
  }
138
221
 
139
- .no-border {
140
- border: none !important;
141
- }
142
-
143
- .no-border-left {
144
- border-left: none !important;
145
- }
146
-
147
- .no-border-right {
148
- border-right: none !important;
149
- }
150
-
151
- .no-border-top {
152
- border-top: none !important;
153
- }
154
-
155
- .no-border-bottom {
156
- border-bottom: none !important;
157
- }
158
-
159
- .no-border-radius {
160
- border-radius: 0px !important;
161
- }
162
-
163
222
  .paper {
164
223
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 10px 0 -5px #eee, 0 10px 1px -4px rgba(0, 0, 0, 0.15), 0 20px 0 -10px #eee, 0 20px 1px -9px rgba(0, 0, 0, 0.15);
165
224
  }
@@ -12,6 +12,7 @@
12
12
 
13
13
  html {
14
14
  background-color: var(--body-background);
15
+ scroll-behavior: smooth;
15
16
  }
16
17
 
17
18
  body {
@@ -109,108 +110,100 @@ h5 {
109
110
  display: inline;
110
111
  }
111
112
 
112
- .row .col1 {
113
- width: calc(1 / 13 * 100%);
113
+ .col1 {
114
+ width: calc(1 / 13 * 100%) !important;
114
115
  }
115
116
 
116
- .row .col2 {
117
- width: calc(2 / 13 * 100%);
117
+ .col2 {
118
+ width: calc(2 / 13 * 100%) !important;
118
119
  }
119
120
 
120
- .row .col3 {
121
- width: calc(3 / 13 * 100%);
121
+ .col3 {
122
+ width: calc(3 / 13 * 100%) !important;
122
123
  }
123
124
 
124
- .row .col4 {
125
- width: calc(4 / 13 * 100%);
125
+ .col4 {
126
+ width: calc(4 / 13 * 100%) !important;
126
127
  }
127
128
 
128
- .row .col5 {
129
- width: calc(5 / 13 * 100%);
129
+ .col5 {
130
+ width: calc(5 / 13 * 100%) !important;
130
131
  }
131
132
 
132
- .row .col6 {
133
- width: calc(6 / 13 * 100%);
133
+ .col6 {
134
+ width: calc(6 / 13 * 100%) !important;
134
135
  }
135
136
 
136
- .row .col7 {
137
- width: calc(7 / 13 * 100%);
137
+ .col7 {
138
+ width: calc(7 / 13 * 100%) !important;
138
139
  }
139
140
 
140
- .row .col8 {
141
- width: calc(8 / 13 * 100%);
141
+ .col8 {
142
+ width: calc(8 / 13 * 100%) !important;
142
143
  }
143
144
 
144
- .row .col9 {
145
- width: calc(9 / 13 * 100%);
145
+ .col9 {
146
+ width: calc(9 / 13 * 100%) !important;
146
147
  }
147
148
 
148
- .row .col10 {
149
- width: calc(10 / 13 * 100%);
149
+ .col10 {
150
+ width: calc(10 / 13 * 100%) !important;
150
151
  }
151
152
 
152
- .row .col11 {
153
- width: calc(11 / 13 * 100%);
153
+ .col11 {
154
+ width: calc(11 / 13 * 100%) !important;
154
155
  }
155
156
 
156
- .row .col12 {
157
- width: calc(12 / 13 * 100%);
157
+ .col12 {
158
+ width: calc(12 / 13 * 100%) !important;
158
159
  }
159
160
 
160
161
  .col-1 {
161
- width: calc(0.9 / 13 * 100%);
162
+ width: calc(0.9 / 13 * 100%) !important;
162
163
  }
163
164
 
164
165
  .col-2 {
165
- width: calc(1.9 / 13 * 100%);
166
+ width: calc(1.9 / 13 * 100%) !important;
166
167
  }
167
168
 
168
169
  .col-3 {
169
- width: calc(2.9 / 13 * 100%);
170
+ width: calc(2.9 / 13 * 100%) !important;
170
171
  }
171
172
 
172
173
  .col-4 {
173
- width: calc(3.9 / 13 * 100%);
174
+ width: calc(3.9 / 13 * 100%) !important;
174
175
  }
175
176
 
176
177
  .col-5 {
177
- width: calc(4.9 / 13 * 100%);
178
+ width: calc(4.9 / 13 * 100%) !important;
178
179
  }
179
180
 
180
181
  .col-6 {
181
- width: calc(5.9 / 13 * 100%);
182
+ width: calc(5.9 / 13 * 100%) !important;
182
183
  }
183
184
 
184
185
  .col-7 {
185
- width: calc(6.9 / 13 * 100%);
186
+ width: calc(6.9 / 13 * 100%) !important;
186
187
  }
187
188
 
188
189
  .col-8 {
189
- width: calc(7.9 / 13 * 100%);
190
+ width: calc(7.9 / 13 * 100%) !important;
190
191
  }
191
192
 
192
193
  .col-9 {
193
- width: calc(8.9 / 13 * 100%);
194
+ width: calc(8.9 / 13 * 100%) !important;
194
195
  }
195
196
 
196
197
  .col-10 {
197
- width: calc(9.9 / 13 * 100%);
198
+ width: calc(9.9 / 13 * 100%) !important;
198
199
  }
199
200
 
200
201
  .col-11 {
201
- width: calc(10.9 / 13 * 100%);
202
+ width: calc(10.9 / 13 * 100%) !important;
202
203
  }
203
204
 
204
205
  .col-12 {
205
- width: calc(11.9 / 13 * 100%);
206
- }
207
-
208
- .rtl {
209
- direction: rtl;
210
- }
211
-
212
- .ltr {
213
- direction: ltr;
206
+ width: calc(11.9 / 13 * 100%) !important;
214
207
  }
215
208
 
216
209
  /* Small devices (landscape phones, 576px and down) */
@@ -20,6 +20,7 @@
20
20
  margin: auto;
21
21
  padding: 0;
22
22
  width: 90%;
23
+ height: auto !important;
23
24
  box-shadow: 0 4px 8px 0 var(--modal-box-shadow-color), 0 6px 20px 0 var(--modal-box-shadow-color);
24
25
  -webkit-animation-name: var(--modal-animation-name);
25
26
  -webkit-animation-duration: var(--modal-animation-duration);
@@ -43,7 +44,6 @@
43
44
  padding: 2px 16px;
44
45
  color: var(--modal-color);
45
46
  overflow: overlay;
46
- max-height: 85vh;
47
47
  }
48
48
 
49
49
  .modal-footer {
@@ -0,0 +1,146 @@
1
+ html {
2
+ line-height: 1.15;
3
+ -webkit-text-size-adjust: 100%;
4
+ }
5
+ body {
6
+ margin: 0;
7
+ }
8
+ main {
9
+ display: block;
10
+ }
11
+ h1 {
12
+ font-size: 2em;
13
+ margin: 0.67em 0;
14
+ }
15
+ hr {
16
+ box-sizing: content-box;
17
+ height: 0;
18
+ overflow: visible;
19
+ }
20
+ pre {
21
+ font-family: monospace, monospace;
22
+ font-size: 1em;
23
+ }
24
+ a {
25
+ background-color: transparent;
26
+ }
27
+ abbr[title] {
28
+ border-bottom: none;
29
+ text-decoration: underline;
30
+ text-decoration: underline dotted;
31
+ }
32
+ b,
33
+ strong {
34
+ font-weight: bolder;
35
+ }
36
+ code,
37
+ kbd,
38
+ samp {
39
+ font-family: monospace, monospace;
40
+ font-size: 1em;
41
+ }
42
+ small {
43
+ font-size: 80%;
44
+ }
45
+ sub,
46
+ sup {
47
+ font-size: 75%;
48
+ line-height: 0;
49
+ position: relative;
50
+ vertical-align: baseline;
51
+ }
52
+ sub {
53
+ bottom: -0.25em;
54
+ }
55
+ sup {
56
+ top: -0.5em;
57
+ }
58
+ img {
59
+ border-style: none;
60
+ }
61
+ button,
62
+ input,
63
+ optgroup,
64
+ select,
65
+ textarea {
66
+ font-family: inherit;
67
+ font-size: 100%;
68
+ line-height: 1.15;
69
+ margin: 0;
70
+ }
71
+ button,
72
+ input {
73
+ overflow: visible;
74
+ }
75
+ button,
76
+ select {
77
+ text-transform: none;
78
+ }
79
+ [type="button"],
80
+ [type="reset"],
81
+ [type="submit"],
82
+ button {
83
+ -webkit-appearance: button;
84
+ }
85
+ [type="button"]::-moz-focus-inner,
86
+ [type="reset"]::-moz-focus-inner,
87
+ [type="submit"]::-moz-focus-inner,
88
+ button::-moz-focus-inner {
89
+ border-style: none;
90
+ padding: 0;
91
+ }
92
+ [type="button"]:-moz-focusring,
93
+ [type="reset"]:-moz-focusring,
94
+ [type="submit"]:-moz-focusring,
95
+ button:-moz-focusring {
96
+ outline: 1px dotted ButtonText;
97
+ }
98
+ fieldset {
99
+ padding: 0.35em 0.75em 0.625em;
100
+ }
101
+ legend {
102
+ box-sizing: border-box;
103
+ color: inherit;
104
+ display: table;
105
+ max-width: 100%;
106
+ padding: 0;
107
+ white-space: normal;
108
+ }
109
+ progress {
110
+ vertical-align: baseline;
111
+ }
112
+ textarea {
113
+ overflow: auto;
114
+ }
115
+ [type="checkbox"],
116
+ [type="radio"] {
117
+ box-sizing: border-box;
118
+ padding: 0;
119
+ }
120
+ [type="number"]::-webkit-inner-spin-button,
121
+ [type="number"]::-webkit-outer-spin-button {
122
+ height: auto;
123
+ }
124
+ [type="search"] {
125
+ -webkit-appearance: textfield;
126
+ outline-offset: -2px;
127
+ }
128
+ [type="search"]::-webkit-search-decoration {
129
+ -webkit-appearance: none;
130
+ }
131
+ ::-webkit-file-upload-button {
132
+ -webkit-appearance: button;
133
+ font: inherit;
134
+ }
135
+ details {
136
+ display: block;
137
+ }
138
+ summary {
139
+ display: list-item;
140
+ }
141
+ template {
142
+ display: none;
143
+ }
144
+ [hidden] {
145
+ display: none;
146
+ }
@@ -1,12 +1,16 @@
1
1
  ::-webkit-scrollbar {
2
- width: 5px;
2
+ width: 5px;
3
3
  }
4
-
4
+
5
5
  ::-webkit-scrollbar-track {
6
- -webkit-box-shadow: inset 0 0 6px var(--scrollbar-box-shadow-color);
6
+ -webkit-box-shadow: inset 0 0 6px var(--scrollbar-box-shadow-color);
7
7
  }
8
-
8
+
9
9
  ::-webkit-scrollbar-thumb {
10
10
  background-color: var(--scrollbar-background-color);
11
11
  outline: 1px solid var(--scrollbar-color);
12
- }
12
+ }
13
+
14
+ html::-webkit-scrollbar {
15
+ width: 10px;
16
+ }
@@ -0,0 +1,5 @@
1
+ <button class="btn {{class}}" type="button" ng-click="click()" ng-disabled="busy">
2
+ <span ng-show="busy" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
3
+ {{label}}
4
+ <i class="{{fa}}"></i>
5
+ </button>
@@ -0,0 +1,4 @@
1
+ <div class="form-check">
2
+ <input ng-change="changed()" ng-disabled="disabled" class="form-check-input" type="checkbox" ng-model="ngModel" id="{{id2}}" />
3
+ <label class="form-check-label" for="{{id2}}"> {{label}} </label>
4
+ </div>
@@ -0,0 +1,6 @@
1
+ <div class="check-list">
2
+ <label class="title margin"> {{label}} </label>
3
+ <div class="row">
4
+ <i-checkbox class="{{class2}}" label="{{item[display]}}" ng-repeat="item in items" ng-model="item.$selected" ng-change="change(item);"></i-checkbox>
5
+ </div>
6
+ </div>
@@ -0,0 +1,5 @@
1
+ <div class="mb-3 {{class2}}">
2
+ <label for="{{id2}}" class="form-label">{{label}}</label>
3
+ <input id="{{id2}}" ng-disabled="disabled" autofocus v="{{v}}" type="{{type}}" ng-model="ngModel" ng-change="ngChange()" ngKeydown="ngKeydown()" class="form-control" placeholder="{{placeholder}}" aria-label="{{label}}" />
4
+ <div class="invalid-feedback"></div>
5
+ </div>
@@ -1,19 +1,24 @@
1
- <div class="row i-date2">
2
- <div class="control">
3
- <label> {{label}} </label>
4
- <div class="row dashed">
5
- <div class="col1 padding" ng-click="setDay()">
6
- <i class="fa fa-calendar-day"></i>
7
- </div>
8
- <div class="col4 padding">
9
- <i-list items="days" ng-model="model.selectedDay" ng-change="updateDate()"></i-list>
10
- </div>
11
- <div class="col4 padding">
12
- <i-list items="monthes" ng-model="model.selectedMonth" ng-change="updateDate()"></i-list>
13
- </div>
14
- <div class="col4 padding">
15
- <i-list items="years" ng-search="searchYear" ng-model="model.selectedYear" ng-change="updateDate()"></i-list>
16
- </div>
1
+ <div class="mb-3">
2
+ <label> {{label}} </label>
3
+ <div class="row" ng-hide="editOnly">
4
+ <p ng-click="editOnly = true" class="blue border padding pointer">
5
+ <span>{{model.selectedDay.name || '__'}} </span> / <span>{{model.selectedMonth.name || '______'}}</span> / <span>{{model.selectedYear.name || '____'}}</span>
6
+ </p>
7
+ </div>
8
+ <div class="row dashed padding margin" ng-show="editOnly">
9
+ <div class="col3">
10
+ <i-list label="Day" v="{{v}}" items="days" ng-model="model.selectedDay"></i-list>
11
+ </div>
12
+ <div class="col4">
13
+ <i-list label="Month" v="{{v}}" items="monthes" ng-model="model.selectedMonth"></i-list>
14
+ </div>
15
+ <div class="col4">
16
+ <i-list label="Year" v="{{v}}" items="years" ng-search="searchYear" ng-model="model.selectedYear"></i-list>
17
+ </div>
18
+
19
+ <div class="col2">
20
+ <br />
21
+ <i-button type="save default" ng-click="updateDate()"></i-button>
17
22
  </div>
18
23
  </div>
19
24
  </div>