isite 2022.8.1 → 2022.8.4
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/apps/client-side/app.js +29 -17
- package/apps/client-side/site_files/css/bootstrap5-addon.css +61 -1
- package/apps/client-side/site_files/css/dropdown.css +22 -4
- package/apps/client-side/site_files/css/effect.css +283 -283
- package/apps/client-side/site_files/css/images.css +43 -39
- package/apps/client-side/site_files/css/layout.css +135 -92
- package/apps/client-side/site_files/html/directive/i-date.html +19 -0
- package/apps/client-side/site_files/html/sub/i-file.content.html +19 -0
- package/apps/client-side/site_files/html/sub/i-list2.content.html +15 -17
- package/apps/client-side/site_files/images/no.jpg +0 -0
- package/apps/client-side/site_files/js/bootstrap-5-directive.js +701 -674
- package/apps/client-side/site_files/js/directive-core.js +7 -8
- package/isite_files/images/no.jpg +0 -0
- package/lib/cookie.js +3 -5
- package/lib/routing.js +2 -0
- package/package.json +1 -1
- package/apps/client-side/site_files/html/sub/i-date2.content.html +0 -64
|
@@ -71,10 +71,11 @@ app.service('isite', [
|
|
|
71
71
|
var fd = new FormData();
|
|
72
72
|
fd.append('fileToUpload', files[0]);
|
|
73
73
|
$http
|
|
74
|
-
.post('/api/upload/image
|
|
74
|
+
.post('/x-api/upload/image' , fd, {
|
|
75
75
|
withCredentials: !0,
|
|
76
76
|
headers: {
|
|
77
77
|
'Content-Type': undefined,
|
|
78
|
+
folder: options.folder,
|
|
78
79
|
},
|
|
79
80
|
uploadEventHandlers: {
|
|
80
81
|
progress: function (e) {
|
|
@@ -86,7 +87,7 @@ app.service('isite', [
|
|
|
86
87
|
.then(
|
|
87
88
|
function (res) {
|
|
88
89
|
if (res.data && res.data.done) {
|
|
89
|
-
callback(null, res.data.
|
|
90
|
+
callback(null, res.data.image);
|
|
90
91
|
}
|
|
91
92
|
},
|
|
92
93
|
function (error) {
|
|
@@ -98,7 +99,7 @@ app.service('isite', [
|
|
|
98
99
|
this.uploadFile = function (files, options, callback) {
|
|
99
100
|
options = Object.assign(
|
|
100
101
|
{
|
|
101
|
-
|
|
102
|
+
folder: 'default',
|
|
102
103
|
},
|
|
103
104
|
options
|
|
104
105
|
);
|
|
@@ -107,10 +108,11 @@ app.service('isite', [
|
|
|
107
108
|
var fd = new FormData();
|
|
108
109
|
fd.append('fileToUpload', files[0]);
|
|
109
110
|
$http
|
|
110
|
-
.post('/api/upload/file
|
|
111
|
+
.post('/x-api/upload/file', fd, {
|
|
111
112
|
withCredentials: !0,
|
|
112
113
|
headers: {
|
|
113
114
|
'Content-Type': undefined,
|
|
115
|
+
folder: options.folder,
|
|
114
116
|
},
|
|
115
117
|
uploadEventHandlers: {
|
|
116
118
|
progress: function (e) {
|
|
@@ -122,10 +124,7 @@ app.service('isite', [
|
|
|
122
124
|
.then(
|
|
123
125
|
function (res) {
|
|
124
126
|
if (res.data && res.data.done && res.data.file) {
|
|
125
|
-
callback(null,
|
|
126
|
-
name: res.data.file.name,
|
|
127
|
-
url: res.data.file.url,
|
|
128
|
-
});
|
|
127
|
+
callback(null, res.data.file);
|
|
129
128
|
}
|
|
130
129
|
},
|
|
131
130
|
function (error) {
|
|
Binary file
|
package/lib/cookie.js
CHANGED
|
@@ -6,7 +6,7 @@ module.exports = function init(req, res, ____0) {
|
|
|
6
6
|
return cookie.get(key);
|
|
7
7
|
}
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
cookie.newList = [];
|
|
10
10
|
cookie.parse = (cookies) => {
|
|
11
11
|
let obj = {};
|
|
12
12
|
if (!cookies) {
|
|
@@ -41,8 +41,6 @@ module.exports = function init(req, res, ____0) {
|
|
|
41
41
|
return out;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
cookie.obj = cookie.parse(req.headers.cookie || '');
|
|
45
|
-
cookie.newList = [];
|
|
46
44
|
cookie.write = () => {
|
|
47
45
|
let csList = [];
|
|
48
46
|
|
|
@@ -61,7 +59,7 @@ module.exports = function init(req, res, ____0) {
|
|
|
61
59
|
expires: ____0.options.session.timeout,
|
|
62
60
|
path: '/',
|
|
63
61
|
},
|
|
64
|
-
_options
|
|
62
|
+
_options
|
|
65
63
|
);
|
|
66
64
|
|
|
67
65
|
cookie.newList.push({
|
|
@@ -78,6 +76,6 @@ module.exports = function init(req, res, ____0) {
|
|
|
78
76
|
}
|
|
79
77
|
return value;
|
|
80
78
|
};
|
|
81
|
-
|
|
79
|
+
cookie.obj = cookie.parse(req.headers.cookie || '');
|
|
82
80
|
return cookie;
|
|
83
81
|
};
|
package/lib/routing.js
CHANGED
|
@@ -1188,6 +1188,8 @@ module.exports = function init(____0) {
|
|
|
1188
1188
|
____0.server = null;
|
|
1189
1189
|
|
|
1190
1190
|
_0xrrxo.start = function (_ports, callback) {
|
|
1191
|
+
____0.startTime = Date.now();
|
|
1192
|
+
|
|
1191
1193
|
const ports = [];
|
|
1192
1194
|
|
|
1193
1195
|
if (_ports && ____0.typeof(_ports) !== 'Array') {
|
package/package.json
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<div class="row i-date2">
|
|
2
|
-
<div class="control">
|
|
3
|
-
<label> {{label}} </label>
|
|
4
|
-
<div class="row">
|
|
5
|
-
<div class="col1 center" ng-click="setDay()">
|
|
6
|
-
<i class="fa fa-calendar-day"></i>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="col2 day">
|
|
9
|
-
<div class="dropdown">
|
|
10
|
-
<div class="control">
|
|
11
|
-
<input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.day_name" />
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
<div class="dropdown-content">
|
|
15
|
-
<div class="row padding" >
|
|
16
|
-
<input class="full-width search" ng-model="d_search" />
|
|
17
|
-
<br />
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
<div class="row padding dropdown-item" ng-repeat="d in days1| filter : d_search">
|
|
21
|
-
<p class="center" ng-click="updateDate({day : d})">{{d.name}}</p>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="col5 month">
|
|
27
|
-
<div class="dropdown">
|
|
28
|
-
<div class="control">
|
|
29
|
-
<input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.month_name" />
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
<div class="dropdown-content">
|
|
33
|
-
<div class="row padding" >
|
|
34
|
-
<input class="full-width search" ng-model="m_search" />
|
|
35
|
-
<br />
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div class="row padding dropdown-item" ng-repeat="m in monthes1 | filter : m_search">
|
|
39
|
-
<p class="center" ng-click="updateDate({month : m})">{{m.name}}</p>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="col4 year">
|
|
45
|
-
<div class="dropdown">
|
|
46
|
-
<div class="control">
|
|
47
|
-
<input class="full-width text dropdown-text {{css}}" ng-disabled="disabled" v="{{v}}" readonly ng-model="model.year_name" />
|
|
48
|
-
</div>
|
|
49
|
-
|
|
50
|
-
<div class="dropdown-content">
|
|
51
|
-
<div class="row padding">
|
|
52
|
-
<input class="full-width search" ng-model="y_search" />
|
|
53
|
-
<br />
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="row padding dropdown-item" ng-repeat="y in years1 | filter : y_search">
|
|
57
|
-
<p class="center" ng-click="updateDate({year : y})">{{y.name}}</p>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|