drapcode-constant 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/build/constants/FieldTypes.d.ts +7 -0
- package/build/constants/FieldTypes.js +57 -52
- package/build/constants/builder.js +28 -29
- package/build/constants/plugins.d.ts +1 -5
- package/build/constants/plugins.js +1 -5
- package/build/constants/query.js +8 -10
- package/build/index.js +1 -5
- package/package.json +1 -1
@@ -221,6 +221,13 @@ export declare const FieldTypes: {
|
|
221
221
|
advancedOptions: boolean;
|
222
222
|
advSortOrder: number;
|
223
223
|
};
|
224
|
+
markdown: {
|
225
|
+
id: string;
|
226
|
+
name: string;
|
227
|
+
show: boolean;
|
228
|
+
advancedOptions: boolean;
|
229
|
+
advSortOrder: number;
|
230
|
+
};
|
224
231
|
};
|
225
232
|
export declare const defaultFields: string[];
|
226
233
|
export declare const crudKeys: string[];
|
@@ -1,12 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
2
|
+
var __spreadArrays = (this && this.__spreadArrays) || function () {
|
3
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
4
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
5
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
6
|
+
r[k] = a[j];
|
7
|
+
return r;
|
10
8
|
};
|
11
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
10
|
exports.filterFieldsForDataTable = exports.fieldToShow = exports.filterFieldForCommandObj = exports.collectionDefaultFieldSortOrder = exports.AllSelectOptionFields = exports.nonReferenceField = exports.NonBelongsSelectOptionFields = exports.MultiSelectOptionFields = exports.SelectOptionFields = exports.level3ReferenceField = exports.level3ReferenceField2 = exports.BelongsCreatedByRefField = exports.notFieldForImport = exports.notFieldForExport = exports.hiddenFormField = exports.DefaultPrivateField = exports.systemAndRefField = exports.placeholderField = exports.ReferenceCreatedByFields = exports.referenceAndDynamicField = exports.BelongsToReferenceField = exports.ImageUrlFields = exports.StringFields = exports.referenceTextField = exports.pageCollectionFields = exports.textField1 = exports.NoRefFields = exports.textEmailPasswordField = exports.simpleTextFeild = exports.pureTextField = exports.mixedField = exports.systemHideField = exports.linkField = exports.numberTextField = exports.exportHideField = exports.uuidField = exports.passwordField = exports.emailField = exports.systemDateField = exports.FileUrlFields = exports.URLFields = exports.ImageFields = exports.childDataField = exports.onlyReferenceField = exports.OptionTypeFields = exports.filterFieldsForForm = exports.fieldType = exports.crudKeys = exports.defaultFields = exports.FieldTypes = void 0;
|
@@ -222,8 +220,15 @@ exports.FieldTypes = {
|
|
222
220
|
advancedOptions: true,
|
223
221
|
advSortOrder: 4,
|
224
222
|
},
|
223
|
+
markdown: {
|
224
|
+
id: "markdown",
|
225
|
+
name: "Markdown",
|
226
|
+
show: false,
|
227
|
+
advancedOptions: true,
|
228
|
+
advSortOrder: 5,
|
229
|
+
},
|
225
230
|
};
|
226
|
-
var createdBy = exports.FieldTypes.createdBy, uuid = exports.FieldTypes.uuid, createdAt = exports.FieldTypes.createdAt, isDeleted = exports.FieldTypes.isDeleted, reference = exports.FieldTypes.reference, multi_reference = exports.FieldTypes.multi_reference, belongsTo = exports.FieldTypes.belongsTo, dynamic_option = exports.FieldTypes.dynamic_option, updatedAt = exports.FieldTypes.updatedAt, color = exports.FieldTypes.color, file = exports.FieldTypes.file, image = exports.FieldTypes.image, multi_image = exports.FieldTypes.multi_image, static_option = exports.FieldTypes.static_option, password = exports.FieldTypes.password, large_text = exports.FieldTypes.large_text, number = exports.FieldTypes.number, url = exports.FieldTypes.url, text = exports.FieldTypes.text, email = exports.FieldTypes.email, custom_uuid = exports.FieldTypes.custom_uuid, date = exports.FieldTypes.date, tel = exports.FieldTypes.tel, boolean = exports.FieldTypes.boolean, unix_timestamp = exports.FieldTypes.unix_timestamp, object = exports.FieldTypes.object, video_link = exports.FieldTypes.video_link, slug = exports.FieldTypes.slug, json = exports.FieldTypes.json;
|
231
|
+
var createdBy = exports.FieldTypes.createdBy, uuid = exports.FieldTypes.uuid, createdAt = exports.FieldTypes.createdAt, isDeleted = exports.FieldTypes.isDeleted, reference = exports.FieldTypes.reference, multi_reference = exports.FieldTypes.multi_reference, belongsTo = exports.FieldTypes.belongsTo, dynamic_option = exports.FieldTypes.dynamic_option, updatedAt = exports.FieldTypes.updatedAt, color = exports.FieldTypes.color, file = exports.FieldTypes.file, image = exports.FieldTypes.image, multi_image = exports.FieldTypes.multi_image, static_option = exports.FieldTypes.static_option, password = exports.FieldTypes.password, large_text = exports.FieldTypes.large_text, number = exports.FieldTypes.number, url = exports.FieldTypes.url, text = exports.FieldTypes.text, email = exports.FieldTypes.email, custom_uuid = exports.FieldTypes.custom_uuid, date = exports.FieldTypes.date, tel = exports.FieldTypes.tel, boolean = exports.FieldTypes.boolean, unix_timestamp = exports.FieldTypes.unix_timestamp, object = exports.FieldTypes.object, video_link = exports.FieldTypes.video_link, slug = exports.FieldTypes.slug, json = exports.FieldTypes.json, markdown = exports.FieldTypes.markdown;
|
227
232
|
exports.defaultFields = [
|
228
233
|
"id",
|
229
234
|
"uuid",
|
@@ -321,87 +326,87 @@ exports.mixedField = [
|
|
321
326
|
boolean.id,
|
322
327
|
];
|
323
328
|
/** Usage of emailField */
|
324
|
-
var stringField =
|
325
|
-
exports.pureTextField =
|
329
|
+
var stringField = __spreadArrays(exports.emailField, [color.id, uuid.id, custom_uuid.id]);
|
330
|
+
exports.pureTextField = __spreadArrays(exports.emailField, exports.numberTextField, exports.linkField, [
|
326
331
|
color.id,
|
327
|
-
]
|
328
|
-
exports.simpleTextFeild =
|
332
|
+
]);
|
333
|
+
exports.simpleTextFeild = __spreadArrays(exports.emailField, [
|
329
334
|
boolean.id,
|
330
335
|
url.id,
|
331
336
|
large_text.id,
|
332
337
|
number.id,
|
333
|
-
]
|
334
|
-
exports.textEmailPasswordField =
|
335
|
-
exports.NoRefFields =
|
338
|
+
]);
|
339
|
+
exports.textEmailPasswordField = __spreadArrays(exports.emailField, [password.id]);
|
340
|
+
exports.NoRefFields = __spreadArrays(exports.emailField, exports.numberTextField, [
|
336
341
|
color.id,
|
337
342
|
boolean.id,
|
338
|
-
]
|
339
|
-
exports.textField1 =
|
343
|
+
]);
|
344
|
+
exports.textField1 = __spreadArrays(exports.emailField, exports.numberTextField, [
|
340
345
|
boolean.id,
|
341
346
|
url.id,
|
342
|
-
]
|
347
|
+
]);
|
343
348
|
/** Usage of uuidField */
|
344
|
-
exports.pageCollectionFields =
|
349
|
+
exports.pageCollectionFields = __spreadArrays(exports.uuidField, [
|
345
350
|
large_text.id,
|
346
351
|
createdAt.id,
|
347
352
|
number.id,
|
348
353
|
boolean.id,
|
349
|
-
]
|
350
|
-
exports.referenceTextField =
|
354
|
+
]);
|
355
|
+
exports.referenceTextField = __spreadArrays(exports.uuidField, exports.childDataField, [number.id]);
|
351
356
|
/** Usage of textEmailPasswordField */
|
352
|
-
exports.StringFields =
|
357
|
+
exports.StringFields = __spreadArrays(exports.textEmailPasswordField, exports.linkField);
|
353
358
|
/** Usage of ImageFields */
|
354
|
-
exports.ImageUrlFields =
|
359
|
+
exports.ImageUrlFields = __spreadArrays(exports.ImageFields, [file.id]);
|
355
360
|
/** Usage of onlyReferenceField */
|
356
|
-
exports.BelongsToReferenceField =
|
357
|
-
exports.referenceAndDynamicField =
|
361
|
+
exports.BelongsToReferenceField = __spreadArrays(exports.onlyReferenceField, [belongsTo.id]);
|
362
|
+
exports.referenceAndDynamicField = __spreadArrays(exports.onlyReferenceField, [
|
358
363
|
dynamic_option.id,
|
359
|
-
]
|
360
|
-
exports.ReferenceCreatedByFields =
|
361
|
-
exports.placeholderField =
|
364
|
+
]);
|
365
|
+
exports.ReferenceCreatedByFields = __spreadArrays(exports.onlyReferenceField, [createdBy.id]);
|
366
|
+
exports.placeholderField = __spreadArrays(exports.onlyReferenceField, exports.systemDateField, [
|
362
367
|
createdBy.id,
|
363
368
|
isDeleted.id,
|
364
369
|
password.id,
|
365
|
-
]
|
370
|
+
]);
|
366
371
|
/** Usage of systemDateField and systemHideField */
|
367
|
-
exports.systemAndRefField =
|
368
|
-
exports.DefaultPrivateField =
|
369
|
-
exports.hiddenFormField =
|
370
|
-
exports.notFieldForExport =
|
372
|
+
exports.systemAndRefField = __spreadArrays(exports.systemHideField, exports.referenceAndDynamicField);
|
373
|
+
exports.DefaultPrivateField = __spreadArrays(exports.systemHideField, [password.id]);
|
374
|
+
exports.hiddenFormField = __spreadArrays(exports.systemHideField, exports.systemDateField);
|
375
|
+
exports.notFieldForExport = __spreadArrays(exports.systemDateField, exports.exportHideField, [
|
371
376
|
isDeleted.id,
|
372
377
|
object.id,
|
373
378
|
createdBy.id,
|
374
|
-
]
|
375
|
-
exports.notFieldForImport =
|
379
|
+
]);
|
380
|
+
exports.notFieldForImport = __spreadArrays(exports.systemDateField, exports.systemHideField, exports.ImageFields, [
|
376
381
|
password.id,
|
377
|
-
]
|
382
|
+
]);
|
378
383
|
/** Usage of BelongsToReferenceField */
|
379
|
-
exports.BelongsCreatedByRefField =
|
384
|
+
exports.BelongsCreatedByRefField = __spreadArrays(exports.BelongsToReferenceField, [
|
380
385
|
createdBy.id,
|
381
|
-
]
|
382
|
-
exports.level3ReferenceField2 =
|
383
|
-
exports.level3ReferenceField =
|
386
|
+
]);
|
387
|
+
exports.level3ReferenceField2 = __spreadArrays(exports.BelongsToReferenceField, exports.hiddenFormField, exports.exportHideField);
|
388
|
+
exports.level3ReferenceField = __spreadArrays(exports.BelongsCreatedByRefField, exports.systemDateField, exports.exportHideField, [
|
384
389
|
isDeleted.id,
|
385
|
-
]
|
390
|
+
]);
|
386
391
|
/** Usage of OptionTypeFields */
|
387
|
-
exports.SelectOptionFields =
|
388
|
-
exports.MultiSelectOptionFields =
|
389
|
-
exports.NonBelongsSelectOptionFields =
|
390
|
-
exports.nonReferenceField =
|
392
|
+
exports.SelectOptionFields = __spreadArrays(exports.OptionTypeFields, [reference.id]);
|
393
|
+
exports.MultiSelectOptionFields = __spreadArrays(exports.OptionTypeFields, [belongsTo.id]);
|
394
|
+
exports.NonBelongsSelectOptionFields = __spreadArrays(exports.OptionTypeFields, exports.onlyReferenceField);
|
395
|
+
exports.nonReferenceField = __spreadArrays(stringField, exports.linkField, [
|
391
396
|
large_text.id,
|
392
397
|
number.id,
|
393
398
|
password.id,
|
394
399
|
video_link.id,
|
395
400
|
boolean.id,
|
396
|
-
]
|
397
|
-
exports.AllSelectOptionFields =
|
398
|
-
var textField =
|
401
|
+
]);
|
402
|
+
exports.AllSelectOptionFields = __spreadArrays(exports.onlyReferenceField, exports.MultiSelectOptionFields);
|
403
|
+
var textField = __spreadArrays(exports.linkField, stringField, [
|
399
404
|
number.id,
|
400
405
|
date.id,
|
401
406
|
boolean.id,
|
402
407
|
unix_timestamp.id,
|
403
408
|
password.id,
|
404
|
-
]
|
409
|
+
]);
|
405
410
|
exports.collectionDefaultFieldSortOrder = [
|
406
411
|
{ order: 1, field: uuid.id },
|
407
412
|
{ order: 2, field: createdAt.id },
|
@@ -410,11 +415,11 @@ exports.collectionDefaultFieldSortOrder = [
|
|
410
415
|
];
|
411
416
|
var filterFieldForCommandObj = function () {
|
412
417
|
return Object.keys(exports.FieldTypes).filter(function (field) {
|
413
|
-
return !
|
418
|
+
return !__spreadArrays(exports.systemDateField, exports.systemAndRefField, exports.ImageUrlFields, [
|
414
419
|
belongsTo.id,
|
415
420
|
static_option.id,
|
416
421
|
color.id,
|
417
|
-
]
|
422
|
+
]).includes(field);
|
418
423
|
});
|
419
424
|
};
|
420
425
|
exports.filterFieldForCommandObj = filterFieldForCommandObj;
|
@@ -1,12 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
2
|
+
var __spreadArrays = (this && this.__spreadArrays) || function () {
|
3
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
4
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
5
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
6
|
+
r[k] = a[j];
|
7
|
+
return r;
|
10
8
|
};
|
11
9
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
12
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
@@ -22,7 +20,7 @@ var getTimezoneOffset = function (time) {
|
|
22
20
|
time = "(GMT+5:30)";
|
23
21
|
}
|
24
22
|
var str = time.substring(4, 10);
|
25
|
-
return
|
23
|
+
return moment_1.default().utcOffset(str).utcOffset();
|
26
24
|
};
|
27
25
|
exports.getTimezoneOffset = getTimezoneOffset;
|
28
26
|
var replaceNbsps = function (str) {
|
@@ -34,13 +32,13 @@ exports.defaultMetaTags = [
|
|
34
32
|
'<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">',
|
35
33
|
];
|
36
34
|
var getAssetLink = function (path) {
|
37
|
-
return "https://asset.drapcode.com/"
|
35
|
+
return "https://asset.drapcode.com/" + path;
|
38
36
|
};
|
39
37
|
exports.getAssetLink = getAssetLink;
|
40
38
|
var getScriptTag = function (paths, isDefer) {
|
41
39
|
if (isDefer === void 0) { isDefer = false; }
|
42
40
|
return paths.map(function (path) {
|
43
|
-
return "<script type=\"text/javascript\" src=\""
|
41
|
+
return "<script type=\"text/javascript\" src=\"" + exports.getAssetLink("js/" + path) + "\" " + (isDefer ? "defer" : "") + "></script>";
|
44
42
|
});
|
45
43
|
};
|
46
44
|
exports.getScriptTag = getScriptTag;
|
@@ -48,20 +46,20 @@ var getCssTag = function (paths, loadAsync) {
|
|
48
46
|
if (loadAsync === void 0) { loadAsync = false; }
|
49
47
|
if (loadAsync) {
|
50
48
|
return paths.map(function (path) {
|
51
|
-
return "<link rel=\"preload\" href=\""
|
49
|
+
return "<link rel=\"preload\" href=\"" + exports.getAssetLink("css/" + path) + "\" as=\"style\" onload=\"this.onload=null;this.rel='stylesheet'\">\n <noscript><link rel=\"stylesheet\" href=\"" + exports.getAssetLink("css/" + path) + "\"></noscript>";
|
52
50
|
});
|
53
51
|
}
|
54
52
|
else {
|
55
53
|
return paths.map(function (path) {
|
56
|
-
return "<link rel='stylesheet' type='text/css' href=\""
|
54
|
+
return "<link rel='stylesheet' type='text/css' href=\"" + exports.getAssetLink("css/" + path) + "\">";
|
57
55
|
});
|
58
56
|
}
|
59
57
|
};
|
60
58
|
exports.getCssTag = getCssTag;
|
61
|
-
exports.defaultHeaderJS =
|
59
|
+
exports.defaultHeaderJS = __spreadArrays(exports.getScriptTag(["popper.min.js", "bootstrap.min.js", "feather.min.js"], true), [
|
62
60
|
'<script type="text/javascript" src="https://polyfill.io/v3/polyfill.min.js?features=default" defer></script>',
|
63
|
-
]
|
64
|
-
exports.defaultHeaderCSS =
|
61
|
+
]);
|
62
|
+
exports.defaultHeaderCSS = __spreadArrays(exports.getCssTag([
|
65
63
|
"bootstrap.min.css",
|
66
64
|
"toastr.min.css",
|
67
65
|
"sweetalert2.min.css",
|
@@ -71,24 +69,24 @@ exports.defaultHeaderCSS = __spreadArray(__spreadArray([], (0, exports.getCssTag
|
|
71
69
|
"loader.css",
|
72
70
|
"all.min.css",
|
73
71
|
"dc-custom.min.css",
|
74
|
-
"coloris.min.css"
|
75
|
-
], true),
|
76
|
-
"<link rel='stylesheet' type='text/css' href='"
|
72
|
+
"coloris.min.css",
|
73
|
+
], true), [
|
74
|
+
"<link rel='stylesheet' type='text/css' href='" + exports.getAssetLink("intl-tel-input/intlTelInput.min.css") + "'>",
|
77
75
|
"<link rel='stylesheet' type='text/css' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'>",
|
78
76
|
"<link rel='stylesheet' type='text/css' href='https://unpkg.com/dropzone@5/dist/min/dropzone.min.css'>",
|
79
77
|
"<link rel='stylesheet' type='text/css' href='https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css'>",
|
80
|
-
]
|
81
|
-
exports.defaultFonts =
|
78
|
+
]);
|
79
|
+
exports.defaultFonts = __spreadArrays([
|
82
80
|
'<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>'
|
83
|
-
],
|
81
|
+
], exports.getCssTag(["googlefonts.css"], true));
|
84
82
|
var brandMessage = function (brand_msg) {
|
85
|
-
return "<div style=\"background-color:white;padding:5px; position: fixed;right: 15px;bottom: 15px;font-size: 15px;font-weight: 600;border-radius: 5px;border: 1px solid #223049;z-index:9999;\">\n <a target=\"_blank\" href=\"https://drapcode.com\" style=\"text-decoration: none;color: #223049;display: flex;align-items: center\">\n <img src=\"https://drapcode.com/favicon.png\" alt=\"DrapCode\" style=\"object-fit: contain;width: 20px\"/> \n "
|
83
|
+
return "<div style=\"background-color:white;padding:5px; position: fixed;right: 15px;bottom: 15px;font-size: 15px;font-weight: 600;border-radius: 5px;border: 1px solid #223049;z-index:9999;\">\n <a target=\"_blank\" href=\"https://drapcode.com\" style=\"text-decoration: none;color: #223049;display: flex;align-items: center\">\n <img src=\"https://drapcode.com/favicon.png\" alt=\"DrapCode\" style=\"object-fit: contain;width: 20px\"/> \n " + brand_msg + "\n </a>\n </div>";
|
86
84
|
};
|
87
85
|
exports.brandMessage = brandMessage;
|
88
|
-
exports.primaryBodyJS =
|
86
|
+
exports.primaryBodyJS = __spreadArrays([
|
89
87
|
'<script type="text/javascript" src="/resources/constant.js"></script>',
|
90
88
|
'<script type="text/javascript" src="/resources/drapcode.min.js"></script>'
|
91
|
-
],
|
89
|
+
], exports.getScriptTag([
|
92
90
|
"jquery.validate.min.js",
|
93
91
|
"math.min.js",
|
94
92
|
"moment.js",
|
@@ -103,9 +101,9 @@ exports.primaryBodyJS = __spreadArray(__spreadArray([
|
|
103
101
|
"toastr.min.js",
|
104
102
|
"axios.js",
|
105
103
|
"sweetalert2.all.min.js",
|
106
|
-
"coloris.min.js"
|
107
|
-
]),
|
108
|
-
"<script type=\"text/javascript\" src=\""
|
104
|
+
"coloris.min.js",
|
105
|
+
]), [
|
106
|
+
"<script type=\"text/javascript\" src=\"" + exports.getAssetLink("intl-tel-input/intlTelInput-jquery.min.js") + "\"></script>",
|
109
107
|
'<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/apexcharts"></script>',
|
110
108
|
'<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script>',
|
111
109
|
'<script type="text/javascript" src="https://unpkg.com/dropzone@5/dist/min/dropzone.min.js"></script>',
|
@@ -119,6 +117,7 @@ exports.primaryBodyJS = __spreadArray(__spreadArray([
|
|
119
117
|
'<script type="text/javascript" src="/resources/dataLoader.min.js"></script>',
|
120
118
|
'<script type="text/javascript" src="/resources/drapcode.body.min.js"></script>',
|
121
119
|
'<script type="text/javascript" src="/resources/drapcode.modal.min.js"></script>',
|
120
|
+
'<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"></script>',
|
122
121
|
'<script src="https://unpkg.com/@popperjs/core@2"></script>',
|
123
122
|
'<script src="https://unpkg.com/tippy.js@6"></script>',
|
124
|
-
]
|
123
|
+
]);
|
@@ -13,11 +13,6 @@ export declare const pluginCode: {
|
|
13
13
|
CALENDLY: string;
|
14
14
|
LANDBOT: string;
|
15
15
|
STRIPE: string;
|
16
|
-
FACEBOOK_LOGIN: string;
|
17
|
-
GOOGLE_LOGIN: string;
|
18
|
-
GITHUB_LOGIN: string;
|
19
|
-
TWITTER_LOGIN: string;
|
20
|
-
LINKEDIN_LOGIN: string;
|
21
16
|
ATOM_CHAT: string;
|
22
17
|
SNIPCART: string;
|
23
18
|
LOGIN: string;
|
@@ -48,6 +43,7 @@ export declare const pluginCode: {
|
|
48
43
|
DATA_FORM_SEARCH_HISTORY: string;
|
49
44
|
CHATGPT_CHATBOT_MESSAGING: string;
|
50
45
|
TWO_FACTOR_AUTHENTICATION: string;
|
46
|
+
IMAGINE_PAY: string;
|
51
47
|
};
|
52
48
|
export declare const loginPluginCode: string[];
|
53
49
|
export declare const chatGptModels: {
|
@@ -16,11 +16,6 @@ exports.pluginCode = {
|
|
16
16
|
CALENDLY: "CALENDLY",
|
17
17
|
LANDBOT: "LANDBOT",
|
18
18
|
STRIPE: "STRIPE",
|
19
|
-
FACEBOOK_LOGIN: "FACEBOOK_LOGIN",
|
20
|
-
GOOGLE_LOGIN: "GOOGLE_LOGIN",
|
21
|
-
GITHUB_LOGIN: "GITHUB_LOGIN",
|
22
|
-
TWITTER_LOGIN: "TWITTER_LOGIN",
|
23
|
-
LINKEDIN_LOGIN: "LINKEDIN_LOGIN",
|
24
19
|
ATOM_CHAT: "ATOM_CHAT",
|
25
20
|
SNIPCART: "SNIPCART",
|
26
21
|
LOGIN: "LOGIN",
|
@@ -51,6 +46,7 @@ exports.pluginCode = {
|
|
51
46
|
DATA_FORM_SEARCH_HISTORY: "DATA_FORM_SEARCH_HISTORY",
|
52
47
|
CHATGPT_CHATBOT_MESSAGING: "CHATGPT_CHATBOT_MESSAGING",
|
53
48
|
TWO_FACTOR_AUTHENTICATION: "TWO_FACTOR_AUTHENTICATION",
|
49
|
+
IMAGINE_PAY: "IMAGINE_PAY",
|
54
50
|
};
|
55
51
|
exports.loginPluginCode = [
|
56
52
|
exports.pluginCode.LOGIN,
|
package/build/constants/query.js
CHANGED
@@ -1,12 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
var
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
2
|
+
var __spreadArrays = (this && this.__spreadArrays) || function () {
|
3
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
4
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
5
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
6
|
+
r[k] = a[j];
|
7
|
+
return r;
|
10
8
|
};
|
11
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
10
|
exports.DateConstant = exports.DateTimeUnit = exports.YEAR = exports.MONTH = exports.WEEK = exports.DAY = exports.HOUR = exports.CURRENT_DATE_TIME = exports.CURRENT_DATE = exports.CURRENT_TIME = exports.CURRENT_TENANT = exports.CURRENT_USER = exports.NOT_EQUAL = exports.BETWEEN = exports.GREATER_THAN_EQUALS_TO = exports.LESS_THAN_EQUALS_TO = exports.GREATER_THAN = exports.LESS_THAN = exports.NOT_IN_LIST = exports.IN_LIST = exports.LIKE = exports.IS_NULL = exports.IS_NOT_NULL = exports.EQUALS = void 0;
|
@@ -33,11 +31,11 @@ exports.WEEK = "WEEK";
|
|
33
31
|
exports.MONTH = "MONTH";
|
34
32
|
exports.YEAR = "YEAR";
|
35
33
|
exports.DateTimeUnit = [exports.HOUR, exports.DAY, exports.WEEK, exports.MONTH, exports.YEAR];
|
36
|
-
exports.DateConstant =
|
34
|
+
exports.DateConstant = __spreadArrays([
|
37
35
|
exports.CURRENT_DATE,
|
38
36
|
exports.CURRENT_TIME,
|
39
37
|
exports.CURRENT_DATE_TIME
|
40
|
-
], exports.DateTimeUnit
|
38
|
+
], exports.DateTimeUnit);
|
41
39
|
/*
|
42
40
|
export const dateRangeConstants = [
|
43
41
|
CURRENT_USER,
|
package/build/index.js
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
9
5
|
}) : (function(o, m, k, k2) {
|
10
6
|
if (k2 === undefined) k2 = k;
|
11
7
|
o[k2] = m[k];
|