isite 2022.3.3 → 2022.3.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.
- package/apps/client-side/app.js +25 -2
- package/apps/client-side/site_files/js/site.js +9 -1
- package/index.js +1 -1
- package/object-options/index.js +231 -232
- package/{lib → object-options/lib}/features.js +0 -1
- package/package.json +1 -1
- package/push.bat +1 -1
package/apps/client-side/app.js
CHANGED
|
@@ -192,10 +192,33 @@ module.exports = function (site) {
|
|
|
192
192
|
res.download(site.dir + '/../../uploads/' + req.params.category + '/files/' + req.params.name);
|
|
193
193
|
});
|
|
194
194
|
|
|
195
|
-
site.
|
|
195
|
+
site.getTLV = function (name, value) {
|
|
196
|
+
return Buffer.concat([Buffer.from([name], 'utf8'), Buffer.from([value.length], 'utf8'), Buffer.from(value, 'utf8')]);
|
|
197
|
+
};
|
|
198
|
+
site.onPOST('/x-api/zakat', (req, res) => {
|
|
199
|
+
let obj = req.data || {};
|
|
200
|
+
let value = [];
|
|
201
|
+
if (obj.name) {
|
|
202
|
+
value.push(site.getTLV('1', obj.name));
|
|
203
|
+
}
|
|
204
|
+
if (obj.vat_number) {
|
|
205
|
+
value.push(site.getTLV('2', obj.vat_number));
|
|
206
|
+
}
|
|
207
|
+
if (obj.time) {
|
|
208
|
+
value.push(site.getTLV('3', obj.time));
|
|
209
|
+
}
|
|
210
|
+
if (obj.total) {
|
|
211
|
+
value.push(site.getTLV('4', obj.total));
|
|
212
|
+
}
|
|
213
|
+
if (obj.vat_total) {
|
|
214
|
+
value.push(site.getTLV('5', obj.vat_total));
|
|
215
|
+
}
|
|
216
|
+
console.log(obj);
|
|
217
|
+
console.log(value);
|
|
218
|
+
value = Buffer.concat([...value]).toString('base64');
|
|
196
219
|
res.json({
|
|
197
220
|
done: true,
|
|
198
|
-
value:
|
|
221
|
+
value: value,
|
|
199
222
|
});
|
|
200
223
|
});
|
|
201
224
|
};
|
|
@@ -1137,6 +1137,14 @@
|
|
|
1137
1137
|
return site.toBase64(value);
|
|
1138
1138
|
};
|
|
1139
1139
|
|
|
1140
|
+
site.zakat2 = function (obj, callback) {
|
|
1141
|
+
fetch('/x-api/zakat', { method: 'POST', body: JSON.stringify(obj) })
|
|
1142
|
+
.then((res) => res.json())
|
|
1143
|
+
.then((data) => {
|
|
1144
|
+
callback(data);
|
|
1145
|
+
});
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1140
1148
|
site.barcode = function (options) {
|
|
1141
1149
|
if (!options || !options.selector || !options.text) {
|
|
1142
1150
|
console.error('qrcode need {selector , text}');
|
|
@@ -1163,7 +1171,7 @@
|
|
|
1163
1171
|
height: options.height || 256,
|
|
1164
1172
|
colorDark: options.colorDark || '#000000',
|
|
1165
1173
|
colorLight: options.colorLight || '#ffffff',
|
|
1166
|
-
correctLevel: options.correctLevel || QRCode.CorrectLevel.
|
|
1174
|
+
correctLevel: options.correctLevel || QRCode.CorrectLevel.H,
|
|
1167
1175
|
});
|
|
1168
1176
|
}
|
|
1169
1177
|
};
|
package/index.js
CHANGED
|
@@ -169,7 +169,6 @@ module.exports = function init(options) {
|
|
|
169
169
|
____0.setting.addList(____0.dir + '/json/setting.json');
|
|
170
170
|
|
|
171
171
|
require('./lib/vars.js')(____0);
|
|
172
|
-
require('./lib/features.js')(____0);
|
|
173
172
|
|
|
174
173
|
//DataBase Management Oprations
|
|
175
174
|
if (____0.options.mongodb.enabled) {
|
|
@@ -309,6 +308,7 @@ module.exports = function init(options) {
|
|
|
309
308
|
|
|
310
309
|
____0.createDir(____0.options.upload_dir);
|
|
311
310
|
____0.createDir(____0.options.download_dir);
|
|
311
|
+
____0.addfeatures(____0.dir + "/json/features.json")
|
|
312
312
|
|
|
313
313
|
____0.log('');
|
|
314
314
|
____0.log('************************************');
|
package/object-options/index.js
CHANGED
|
@@ -1,240 +1,239 @@
|
|
|
1
1
|
exports = module.exports = setOptions;
|
|
2
2
|
|
|
3
3
|
function setOptions(_options, ____0) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
if (____0.cwd.endsWith(____0._x0f1xo('2538177146129191'))) {
|
|
24
|
-
defaults = {
|
|
25
|
-
features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
|
|
26
|
-
permissions: [],
|
|
4
|
+
____0.require(__dirname + '/lib/fn');
|
|
5
|
+
|
|
6
|
+
let port = process.env.port || 80;
|
|
7
|
+
let name = 'Your Site';
|
|
8
|
+
let _0xddxo = !1;
|
|
9
|
+
let _0x14xo = !1;
|
|
10
|
+
|
|
11
|
+
let dir_arr = ____0.cwd.split('/').pop().split('\\').pop().split('-');
|
|
12
|
+
|
|
13
|
+
if (dir_arr.length > 2 && dir_arr[0] == ____0._x0f1xo('4678765246593191') && !isNaN(dir_arr[2])) {
|
|
14
|
+
_0xddxo = !0;
|
|
15
|
+
_0x14xo = !0;
|
|
16
|
+
name = dir_arr[1];
|
|
17
|
+
port = parseInt(dir_arr[2]);
|
|
18
|
+
}
|
|
19
|
+
let defaults = {
|
|
20
|
+
features: [],
|
|
21
|
+
permissions: [],
|
|
27
22
|
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
_x0oo.https.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
_x0oo.security.
|
|
195
|
-
|
|
196
|
-
_x0oo.security.keys =
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
____0.
|
|
23
|
+
if (____0.cwd.endsWith(____0._x0f1xo('2538177146129191'))) {
|
|
24
|
+
defaults = {
|
|
25
|
+
features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
|
|
26
|
+
permissions: [],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const template = {
|
|
31
|
+
port: port,
|
|
32
|
+
cwd: ____0.cwd,
|
|
33
|
+
dir: ____0.cwd + '/site_files',
|
|
34
|
+
upload_dir: ____0.cwd + '/../uploads',
|
|
35
|
+
download_dir: ____0.cwd + '/../downloads',
|
|
36
|
+
apps: !0,
|
|
37
|
+
apps_dir: ____0.cwd + '/apps',
|
|
38
|
+
name: name,
|
|
39
|
+
hostname: 'localhost',
|
|
40
|
+
key: null,
|
|
41
|
+
savingTime: 10,
|
|
42
|
+
_0x14xo: _0x14xo, // 3259376545129191
|
|
43
|
+
_0xddxo: _0xddxo, // 421957684138766241719191
|
|
44
|
+
log: !0,
|
|
45
|
+
lang: 'ar',
|
|
46
|
+
theme: 'default',
|
|
47
|
+
help: !1,
|
|
48
|
+
stdin: !0,
|
|
49
|
+
_0xmmxo: '26351691',
|
|
50
|
+
_0xyyxo: '2654127326519191',
|
|
51
|
+
ip_info: false,
|
|
52
|
+
https: {
|
|
53
|
+
enabled: !1,
|
|
54
|
+
port: null,
|
|
55
|
+
ports: [],
|
|
56
|
+
key: null,
|
|
57
|
+
cert: null,
|
|
58
|
+
},
|
|
59
|
+
mongodb: {
|
|
60
|
+
enabled: !0,
|
|
61
|
+
events: false,
|
|
62
|
+
config: {},
|
|
63
|
+
protocal: 'mongodb://',
|
|
64
|
+
host: '127.0.0.1',
|
|
65
|
+
port: '27017',
|
|
66
|
+
userName: null,
|
|
67
|
+
password: null,
|
|
68
|
+
db: 'db_' + name,
|
|
69
|
+
collection: 'default_collection',
|
|
70
|
+
limit: 10,
|
|
71
|
+
prefix: {
|
|
72
|
+
db: '',
|
|
73
|
+
collection: '',
|
|
74
|
+
},
|
|
75
|
+
identity: {
|
|
76
|
+
enabled: !0,
|
|
77
|
+
start: 1,
|
|
78
|
+
step: 1,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
session: {
|
|
82
|
+
timeout: 60 * 24 * 30,
|
|
83
|
+
enabled: !0,
|
|
84
|
+
storage: 'mongodb',
|
|
85
|
+
db: null,
|
|
86
|
+
collection: 'users_sessions',
|
|
87
|
+
},
|
|
88
|
+
security: {
|
|
89
|
+
enabled: !0,
|
|
90
|
+
db: null,
|
|
91
|
+
users_collection: 'users_info',
|
|
92
|
+
roles_collection: 'users_roles',
|
|
93
|
+
_: ['4acb00841a735653fd0b19c1c7db6ee7', 'edf8d0bf6981b5774df01a67955148a0', 'd755e293ec060d97d77c39fdb329305d'],
|
|
94
|
+
keys: [],
|
|
95
|
+
users: [],
|
|
96
|
+
},
|
|
97
|
+
cache: {
|
|
98
|
+
enabled: !0,
|
|
99
|
+
html: 0,
|
|
100
|
+
txt: 60 * 24 * 30,
|
|
101
|
+
js: 60 * 24 * 30,
|
|
102
|
+
css: 60 * 24 * 30,
|
|
103
|
+
fonts: 60 * 24 * 30,
|
|
104
|
+
images: 60 * 24 * 30,
|
|
105
|
+
json: 60 * 24 * 30,
|
|
106
|
+
xml: 60 * 24 * 30,
|
|
107
|
+
},
|
|
108
|
+
proto: {
|
|
109
|
+
object: !1,
|
|
110
|
+
array: !0,
|
|
111
|
+
},
|
|
112
|
+
requires: {
|
|
113
|
+
features: [____0._x0f1xo('4159236947792757465382744578276241387191')],
|
|
114
|
+
permissions: [],
|
|
115
|
+
},
|
|
116
|
+
defaults: defaults,
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
let _x0oo = { ...template, ..._options };
|
|
120
|
+
|
|
121
|
+
if (_0xddxo) {
|
|
122
|
+
_x0oo.port = port;
|
|
123
|
+
_x0oo.name = name;
|
|
124
|
+
} else {
|
|
125
|
+
_x0oo.port = _x0oo.port || template.port;
|
|
126
|
+
_x0oo.name = _x0oo.name || template.name;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
_x0oo[____0._x0f1xo('4815136426151271')] = _x0oo.key || template.key;
|
|
130
|
+
_x0oo.cwd = _x0oo.cwd || template.cwd;
|
|
131
|
+
_x0oo.dir = _x0oo.dir || template.dir;
|
|
132
|
+
_x0oo.upload_dir = _x0oo.upload_dir || template.upload_dir;
|
|
133
|
+
_x0oo.download_dir = _x0oo.download_dir || template.download_dir;
|
|
134
|
+
|
|
135
|
+
_x0oo.savingTime = _x0oo.savingTime ?? template.savingTime;
|
|
136
|
+
_x0oo.hostname = _x0oo.hostname || template.hostname;
|
|
137
|
+
_x0oo.log = _x0oo.log ?? template.log;
|
|
138
|
+
_x0oo.lang = _x0oo.lang ?? template.lang;
|
|
139
|
+
_x0oo.theme = _x0oo.theme ?? template.theme;
|
|
140
|
+
_x0oo.help = _x0oo.help ?? template.help;
|
|
141
|
+
_x0oo.stdin = _x0oo.stdin ?? template.stdin;
|
|
142
|
+
_x0oo.apps = _x0oo.apps ?? template.apps;
|
|
143
|
+
_x0oo.apps_dir = _x0oo.apps_dir || template.apps_dir;
|
|
144
|
+
_x0oo._0x14xo = _x0oo._0x14xo ?? !1;
|
|
145
|
+
_x0oo.ip_info = _x0oo.ip_info ?? !1;
|
|
146
|
+
|
|
147
|
+
_x0oo.https = _x0oo.https || template.https;
|
|
148
|
+
_x0oo.https.enabled = _x0oo.https.enabled ?? template.https.enabled;
|
|
149
|
+
_x0oo.https.port = _x0oo.https.port || template.https.port;
|
|
150
|
+
_x0oo.https.key = _x0oo.https.key || template.https.key;
|
|
151
|
+
_x0oo.https.cert = _x0oo.https.cert || template.https.cert;
|
|
152
|
+
_x0oo.https.ports = _x0oo.https.ports || template.https.ports;
|
|
153
|
+
if (_x0oo.https.port) {
|
|
154
|
+
_x0oo.https.ports.push(_x0oo.https.port);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
_x0oo.mongodb = _x0oo.mongodb || template.mongodb;
|
|
158
|
+
_x0oo.mongodb.enabled = _x0oo.mongodb.enabled ?? template.mongodb.enabled;
|
|
159
|
+
_x0oo.mongodb.events = _x0oo.mongodb.events ?? template.mongodb.events;
|
|
160
|
+
_x0oo.mongodb.config = _x0oo.mongodb.config || template.mongodb.config;
|
|
161
|
+
_x0oo.mongodb.protocal = _x0oo.mongodb.protocal || template.mongodb.protocal;
|
|
162
|
+
_x0oo.mongodb.host = _x0oo.mongodb.host || template.mongodb.host;
|
|
163
|
+
_x0oo.mongodb.port = _x0oo.mongodb.port || template.mongodb.port;
|
|
164
|
+
_x0oo.mongodb.userName = _x0oo.mongodb.userName || template.mongodb.userName;
|
|
165
|
+
_x0oo.mongodb.password = _x0oo.mongodb.password || template.mongodb.password;
|
|
166
|
+
_x0oo.mongodb.db = _0xddxo ? 'smart_db_' + name : _x0oo.mongodb.db || template.mongodb.db;
|
|
167
|
+
_x0oo.mongodb.collection = _x0oo.mongodb.collection || template.mongodb.collection;
|
|
168
|
+
_x0oo.mongodb.limit = _x0oo.mongodb.limit || template.mongodb.limit;
|
|
169
|
+
_x0oo.mongodb.prefix = _x0oo.mongodb.prefix || template.mongodb.prefix;
|
|
170
|
+
_x0oo.mongodb.prefix.db = _x0oo.mongodb.prefix.db || template.mongodb.prefix.db;
|
|
171
|
+
_x0oo.mongodb.prefix.collection = _x0oo.mongodb.prefix.collection || template.mongodb.prefix.collection;
|
|
172
|
+
|
|
173
|
+
_x0oo.mongodb.identity = _x0oo.mongodb.identity || template.mongodb.identity;
|
|
174
|
+
_x0oo.mongodb.identity.enabled = _x0oo.mongodb.identity.enabled ?? template.mongodb.identity.enabled;
|
|
175
|
+
_x0oo.mongodb.identity.start = _x0oo.mongodb.identity.start || template.mongodb.identity.start;
|
|
176
|
+
_x0oo.mongodb.identity.step = _x0oo.mongodb.identity.step || template.mongodb.identity.step;
|
|
177
|
+
|
|
178
|
+
_x0oo.session = _x0oo.session || template.session;
|
|
179
|
+
_x0oo.session.enabled = _x0oo.session.enabled ?? template.session.enabled;
|
|
180
|
+
_x0oo.session.timeout = _x0oo.session.timeout ?? template.session.timeout;
|
|
181
|
+
_x0oo.session.storage = _x0oo.session.storage || template.session.storage;
|
|
182
|
+
_x0oo.session.db = _x0oo.session.db || _x0oo.mongodb.db;
|
|
183
|
+
_x0oo.session.collection = _x0oo.session.collection || template.session.collection;
|
|
184
|
+
|
|
185
|
+
_x0oo.security = _x0oo.security || template.security;
|
|
186
|
+
_x0oo.security.enabled = _x0oo.security.enabled ?? template.security.enabled;
|
|
187
|
+
_x0oo.security.db = _x0oo.security.db || _x0oo.mongodb.db;
|
|
188
|
+
_x0oo.security.users_collection = _x0oo.security.users_collection || template.security.users_collection;
|
|
189
|
+
_x0oo.security.roles_collection = _x0oo.security.roles_collection || template.security.roles_collection;
|
|
190
|
+
_x0oo.security.users = _x0oo.security.users || template.security.users;
|
|
191
|
+
_x0oo.security.keys = _x0oo.security.keys || template.security.keys;
|
|
192
|
+
|
|
193
|
+
if (_0xddxo) {
|
|
194
|
+
_x0oo.security.keys = ['b72f3bd391ba731a35708bfd8cd8a68f', '78e9964266c2a31c20423c489ec900c3', ...template.security._];
|
|
195
|
+
} else {
|
|
196
|
+
_x0oo.security.keys = [..._x0oo.security.keys, ...template.security._];
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
_x0oo.cache = _x0oo.cache || template.cache;
|
|
200
|
+
_x0oo.cache.enabled = _x0oo.cache.enabled ?? template.cache.enabled;
|
|
201
|
+
_x0oo.cache.js = _x0oo.cache.js ?? template.cache.js;
|
|
202
|
+
_x0oo.cache.css = _x0oo.cache.css ?? template.cache.css;
|
|
203
|
+
_x0oo.cache.json = _x0oo.cache.json ?? template.cache.json;
|
|
204
|
+
_x0oo.cache.xml = _x0oo.cache.xml ?? template.cache.xml;
|
|
205
|
+
_x0oo.cache.fonts = _x0oo.cache.fonts ?? template.cache.fonts;
|
|
206
|
+
_x0oo.cache.html = _x0oo.cache.html ?? template.cache.html;
|
|
207
|
+
_x0oo.cache.images = _x0oo.cache.images ?? template.cache.images;
|
|
208
|
+
_x0oo.cache.txt = _x0oo.cache.txt ?? template.cache.txt;
|
|
209
|
+
|
|
210
|
+
_x0oo.requires = _x0oo.requires || template.requires;
|
|
211
|
+
_x0oo.requires.features = _x0oo.requires.features ?? template.requires.features;
|
|
212
|
+
_x0oo.requires.permissions = _x0oo.requires.permissions ?? template.requires.permissions;
|
|
213
|
+
|
|
214
|
+
_x0oo.defaults = _x0oo.defaults || template.defaults;
|
|
215
|
+
_x0oo.defaults.features = _x0oo.defaults.features ?? template.defaults.features;
|
|
216
|
+
_x0oo.defaults.permissions = _x0oo.defaults.permissions ?? template.defaults.permissions;
|
|
217
|
+
|
|
218
|
+
____0.options = _x0oo;
|
|
219
|
+
____0.port = _x0oo.port;
|
|
220
|
+
____0.dir = _x0oo.dir;
|
|
221
|
+
____0._0x14xo = _x0oo._0x14xo;
|
|
222
|
+
____0._0_ar2_0_ = !0;
|
|
223
|
+
|
|
224
|
+
____0.require(__dirname + ____0._x0f1xo('25787262415386744719236245584774'));
|
|
225
|
+
____0.require(__dirname + ____0._x0f1xo('25787262415386544578827447129191'));
|
|
226
|
+
____0.require(__dirname + ____0._x0f1xo('25787262415386574758376847129191'));
|
|
227
|
+
____0.require(__dirname + ____0._x0f1xo('2578726241538671465886754579328246183691'));
|
|
228
|
+
____0.require(__dirname + ____0._x0f1xo('25787262415386744138427548319191'));
|
|
229
|
+
____0.require(__dirname + ____0._x0f1xo('25787262415386684738765342392374'));
|
|
230
|
+
____0.require(__dirname + ____0._x0f1xo('2578726241538658423817754739235746719191'));
|
|
233
231
|
dir_arr.forEach((f) => {
|
|
234
|
-
|
|
232
|
+
____0.addFeature(f);
|
|
233
|
+
});
|
|
234
|
+
____0.on(____0._x0f1xo('46785775423476744718177347183756'), () => {
|
|
235
|
+
____0.importApp(__dirname + ____0._x0f1xo('25791365473847624559266942585765423476674138825242783773'));
|
|
235
236
|
});
|
|
236
|
-
});
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
return _x0oo;
|
|
238
|
+
return _x0oo;
|
|
240
239
|
}
|
package/package.json
CHANGED