@xuda.io/xuda-system-globals-module 1.0.0

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 (2) hide show
  1. package/index.mjs +399 -0
  2. package/package.json +8 -0
package/index.mjs ADDED
@@ -0,0 +1,399 @@
1
+ export const system_globals = {
2
+ SYS_GLOBAL_STR_APP_ID: {
3
+ type: 'string',
4
+ attr: 'RO',
5
+ category: ['system'],
6
+ },
7
+ SYS_GLOBAL_STR_SESSION_ID: {
8
+ type: 'string',
9
+ attr: 'RO',
10
+ category: ['system'],
11
+ },
12
+ SYS_GLOBAL_STR_FIREBASE_TOKEN_ID: {
13
+ type: 'string',
14
+ attr: 'RO',
15
+ category: ['system'],
16
+ },
17
+ SYS_GLOBAL_BOL_PUSH_NOTIFICATION_GRANTED: {
18
+ type: 'bool',
19
+ attr: 'RO',
20
+ category: ['system'],
21
+ },
22
+ SYS_GLOBAL_OBJ_APP_INFO: {
23
+ type: 'object',
24
+ attr: 'RO',
25
+ category: ['system'],
26
+ properties: ['build', 'author', 'date', 'name'],
27
+ },
28
+ SYS_GLOBAL_STR_LOGIN_USER_ID: {
29
+ type: 'string',
30
+ attr: 'RO',
31
+ category: ['system'],
32
+ },
33
+ SYS_GLOBAL_OBJ_LOGIN_USER_INFO: {
34
+ type: 'object',
35
+ attr: 'RO',
36
+ category: ['system'],
37
+ properties: ['id', 'user_name', 'first_name', 'last_name', 'email', 'profile_picture'],
38
+ },
39
+
40
+ SYS_GLOBAL_OBJ_CLIENT_INFO: {
41
+ type: 'object',
42
+ attr: 'RO',
43
+ category: ['system'],
44
+ properties: [
45
+ 'fingerprint',
46
+ 'device',
47
+ 'user_agent',
48
+ 'browser_version',
49
+ 'browser_name',
50
+ 'engine_version',
51
+ 'engine_name',
52
+ 'client_ip',
53
+ 'os_name',
54
+ 'os_version',
55
+ 'device_model',
56
+ 'device_vendor',
57
+ 'device_type',
58
+ 'screen_current_resolution_x',
59
+ 'screen_current_resolution_y',
60
+ 'screen_available_resolution_x',
61
+ 'screen_available_resolution_y',
62
+ 'language',
63
+ 'time_zone',
64
+ 'cpu_architecture',
65
+ 'uuid',
66
+ 'cursor_pos_x',
67
+ 'cursor_pos_y',
68
+ ],
69
+ },
70
+
71
+ SYS_GLOBAL_STR_ACTIVE_WIN_ID: {
72
+ type: 'string',
73
+ attr: 'RO',
74
+ category: ['system'],
75
+ },
76
+ SYS_GLOBAL_OBJ_ACTIVE_WIN_INFO: {
77
+ type: 'object',
78
+ attr: 'RO',
79
+ category: ['system'],
80
+ properties: [],
81
+ },
82
+ SYS_GLOBAL_OBJ_WIN_LIST: {
83
+ type: 'object',
84
+ attr: 'RO',
85
+ category: ['system'],
86
+ properties: [],
87
+ index: 'win_id',
88
+ },
89
+ SYS_GLOBAL_STR_ACTIVE_FIELD_ID: {
90
+ type: 'string',
91
+ attr: 'RO',
92
+ category: ['system'],
93
+ },
94
+
95
+ SYS_GLOBAL_STR_SITE_CSS: {
96
+ type: 'string',
97
+ attr: 'RW',
98
+ category: ['system'],
99
+ },
100
+ SYS_GLOBAL_UTC: {
101
+ type: 'number',
102
+ attr: 'RW',
103
+ category: ['system'],
104
+ },
105
+ SYS_GLOBAL_OBJ_WIDGET_INFO: {
106
+ type: 'object',
107
+ attr: 'RO',
108
+ category: ['system'],
109
+ properties: [
110
+ 'widget_id',
111
+ 'name',
112
+ 'date',
113
+ 'time',
114
+ 'from',
115
+ 'to',
116
+ 'from_name',
117
+ 'to_name',
118
+ 'subject',
119
+ 'body',
120
+ 'lastModifiedDate',
121
+ 'lastModifiedTime',
122
+ 'server_fileName',
123
+ 'from_full',
124
+ 'to_full',
125
+ 'email_account_id',
126
+ 'doc_id',
127
+ 'email_attachment_doc_id',
128
+ 'ocr',
129
+ 'ocr_done',
130
+ 'filename',
131
+ 'body_plain',
132
+ 'geo_full_address',
133
+ 'geo_street_number',
134
+ 'geo_street_name',
135
+ 'geo_city',
136
+ 'geo_county',
137
+ 'geo_state',
138
+ 'geo_country',
139
+ 'geo_postal_code',
140
+ 'geo_lat',
141
+ 'geo_lng',
142
+ 'map_selected_address',
143
+ 'push_notification_title',
144
+ 'push_notification_body',
145
+ 'push_notification_image',
146
+ 'push_notification_event_id',
147
+ 'push_notification_color',
148
+ 'user_defined_1',
149
+ 'user_defined_2',
150
+ 'user_defined_3',
151
+ 'user_defined_4',
152
+ 'user_defined_5',
153
+ 'stripe_api_account_id',
154
+ 'stripe_capture',
155
+ 'stripe_charge_id',
156
+ 'stripe_customer_id',
157
+ 'stripe_charge_status',
158
+ 'stripe_card_id',
159
+ 'stripe_card_brand',
160
+ 'stripe_card_last4',
161
+ 'stripe_card_exp_month',
162
+ 'stripe_card_exp_year',
163
+ 'stripe_portal_return_url',
164
+ 'stripe_connect_account_id',
165
+ 'stripe_connect_info_needed',
166
+ 'stripe_charge_obj',
167
+ 'stripe_connect_account_balance_pending',
168
+ 'stripe_connect_account_balance_available',
169
+ 'stripe_connect_account_obj',
170
+ 'stripe_charge_connect_account_id',
171
+ 'stripe_charge_connect_account_status',
172
+ 'stripe_charge_connect_account_transfer_id',
173
+ 'stripe_charge_connect_account_transfer_status',
174
+ 'stripe_payout_id',
175
+ 'stripe_payout_status',
176
+ 'stripe_payout_obj',
177
+ 'stripe_charge_connect_account_obj',
178
+ 'stripe_balance_id',
179
+ 'stripe_balance_obj',
180
+ 'stripe_refund_id',
181
+ 'stripe_refund_status',
182
+ 'stripe_refund_obj',
183
+ 'twilio_api_account_id',
184
+ 'twilio_phone_number',
185
+ 'twilio_status',
186
+ 'twilio_send_info_obj',
187
+ 'firebase_auth_token',
188
+ 'firebase_auth_first_name',
189
+ 'firebase_auth_last_name',
190
+ 'firebase_auth_email',
191
+ 'firebase_auth_picture',
192
+ 'firebase_auth_user_id',
193
+ 'firebase_auth_obj',
194
+ 'email_account_id',
195
+ 'email_account_name',
196
+ 'email_account_email_address',
197
+ 'email_account_password',
198
+ 'email_account_isp',
199
+ 'qr_text',
200
+ 'card_io_card_type',
201
+ 'card_io_redacted_card_number',
202
+ 'card_io_card_number',
203
+ 'card_io_expiry_month',
204
+ 'card_io_expiry_year',
205
+ 'card_io_cvv',
206
+ 'card_io_zip',
207
+ 'fingerprint_aio_code',
208
+ 'fingerprint_aio_desc',
209
+ 'keypad_text',
210
+ 'rating_value',
211
+ 'uploaded_files',
212
+ 'wysiwyg_value',
213
+ ],
214
+ },
215
+
216
+ SYS_DATE: {
217
+ type: 'date',
218
+ attr: 'RO',
219
+ category: ['system'],
220
+ },
221
+ SYS_DATE_TIME: {
222
+ type: 'date',
223
+ attr: 'RO',
224
+ category: ['system'],
225
+ },
226
+ SYS_DATE_VALUE: {
227
+ type: 'number',
228
+ attr: 'RO',
229
+ category: ['system'],
230
+ },
231
+ SYS_DATE_WEEK_YEAR: {
232
+ type: 'date',
233
+ attr: 'RO',
234
+ category: ['system'],
235
+ },
236
+ SYS_DATE_MONTH_YEAR: {
237
+ type: 'date',
238
+ attr: 'RO',
239
+ category: ['system'],
240
+ },
241
+ SYS_TIME: {
242
+ type: 'time',
243
+ attr: 'RO',
244
+ category: ['system'],
245
+ },
246
+ SYS_TIME_SHORT: {
247
+ type: 'time',
248
+ attr: 'RO',
249
+ category: ['system'],
250
+ },
251
+ SYS_STR_WIN_ID: {
252
+ type: 'string',
253
+ attr: 'RO',
254
+ category: ['component'],
255
+ },
256
+ // SYS_OBJ_WIN_INFO: {
257
+ // type: "object",
258
+ // attr: "RO",
259
+ // category: ["component"],
260
+ // properties: [],
261
+ // },
262
+ // SYS_OBJ_WIN_UI: {
263
+ // type: "object",
264
+ // attr: "RW",
265
+ // category: ["component"],
266
+ // properties: [],
267
+ // index: "ui_id",
268
+ // },
269
+ SYS_STR_ACTIVE_ROW_ID: {
270
+ type: 'string',
271
+ attr: 'RO',
272
+ category: ['batch', 'get_data', 'set_data', 'alert', 'javascript', 'component'],
273
+ },
274
+ SYS_STR_PROG_DS_SESSION: {
275
+ type: 'string',
276
+ attr: 'RO',
277
+ category: ['batch', 'get_data', 'set_data', 'alert', 'javascript', 'component'],
278
+ },
279
+ // SYS_OBJ_DS_INFO: {
280
+ // type: "object",
281
+ // attr: "RO",
282
+ // category: [
283
+ // "batch",
284
+ // "get_data",
285
+ // "set_data",
286
+ // "alert",
287
+ // "javascript",
288
+ // "component",
289
+ // ],
290
+ // properties: [
291
+ // "rows",
292
+ // "type",
293
+ // "first_row_id",
294
+ // "last_row_id",
295
+ // "query_from_segments_json",
296
+ // "query_to_segments_json",
297
+ // "locate_query_from_segments_json",
298
+ // "locate_query_to_segments_json",
299
+ // "first_row_segments_json",
300
+ // "last_row_segments_json",
301
+ // "rowid_snapshot",
302
+ // "rowid",
303
+ // ],
304
+ // },
305
+ // SYS_OBJ_DS_DATA: {
306
+ // type: "object",
307
+ // attr: "RO",
308
+ // category: [
309
+ // "batch",
310
+ // "get_data",
311
+ // "set_data",
312
+ // "alert",
313
+ // "javascript",
314
+ // "component",
315
+ // ],
316
+ // index: "row_id",
317
+ // },
318
+ SYS_GLOBAL_STR_BROWSER_HASH_ID: {
319
+ type: 'string',
320
+ attr: 'RO',
321
+ category: ['system'],
322
+ },
323
+ SYS_GLOBAL_STR_BROWSER_TITLE: {
324
+ type: 'string',
325
+ attr: 'RW',
326
+ category: ['system'],
327
+ },
328
+ SYS_GLOBAL_BOL_SHIFT_KEY_STATE: {
329
+ type: 'bool',
330
+ attr: 'RO',
331
+ category: ['system'],
332
+ },
333
+ SYS_GLOBAL_BOL_ONLINE: {
334
+ type: 'bool',
335
+ attr: 'RO',
336
+ category: ['system'],
337
+ },
338
+ SYS_GLOBAL_BOL_REPLICATION_STAT: {
339
+ type: 'bool',
340
+ attr: 'RO',
341
+ category: ['system'],
342
+ },
343
+ SYS_GLOBAL_BOL_AJAX_BUSY: {
344
+ type: 'bool',
345
+ attr: 'RO',
346
+ category: ['system'],
347
+ },
348
+ SYS_GLOBAL_BOL_CONNECTED: {
349
+ type: 'bool',
350
+ attr: 'RO',
351
+ category: ['system'],
352
+ },
353
+ SYS_GLOBAL_BOL_IDLE: {
354
+ type: 'bool',
355
+ attr: 'RO',
356
+ category: ['system'],
357
+ },
358
+ SYS_GLOBAL_BOL_COMMAND_KEY_STATE: {
359
+ type: 'bool',
360
+ attr: 'RO',
361
+ category: ['system'],
362
+ },
363
+ SYS_GLOBAL_BOL_CONTROL_KEY_STATE: {
364
+ type: 'bool',
365
+ attr: 'RO',
366
+ category: ['system'],
367
+ },
368
+ SYS_GLOBAL_BOL_ALT_KEY_STATE: {
369
+ type: 'bool',
370
+ attr: 'RO',
371
+ category: ['system'],
372
+ },
373
+
374
+ SYS_STR_WIN_ID: {
375
+ type: 'string',
376
+ attr: 'RO',
377
+ category: ['component'],
378
+ },
379
+ SYS_STR_WIN_NAME: {
380
+ type: 'string',
381
+ attr: 'RO',
382
+ category: ['component'],
383
+ },
384
+ SYS_STR_WIN_MODE: {
385
+ type: 'string',
386
+ attr: 'RO',
387
+ category: ['component'],
388
+ },
389
+ SYS_OBJ_WIN_ELEMENT_HOVERED_ATTRIBUTES: {
390
+ type: 'object',
391
+ attr: 'RO',
392
+ category: ['component'],
393
+ },
394
+ SYS_GLOBAL_OBJ_REFS: {
395
+ type: 'object',
396
+ attr: 'RO',
397
+ category: ['system'],
398
+ },
399
+ };
package/package.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@xuda.io/xuda-system-globals-module",
3
+ "version": "1.0.0",
4
+ "main": "index.mjs",
5
+ "type": "module",
6
+ "description": "Auto-generated build for xuda-system-globals-module.mjs",
7
+ "author": "Auto Publisher"
8
+ }