drapcode-constant 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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[];
@@ -222,8 +222,15 @@ exports.FieldTypes = {
222
222
  advancedOptions: true,
223
223
  advSortOrder: 4,
224
224
  },
225
+ markdown: {
226
+ id: "markdown",
227
+ name: "Markdown",
228
+ show: false,
229
+ advancedOptions: true,
230
+ advSortOrder: 5,
231
+ },
225
232
  };
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;
233
+ 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
234
  exports.defaultFields = [
228
235
  "id",
229
236
  "uuid",
@@ -71,7 +71,7 @@ exports.defaultHeaderCSS = __spreadArray(__spreadArray([], (0, exports.getCssTag
71
71
  "loader.css",
72
72
  "all.min.css",
73
73
  "dc-custom.min.css",
74
- "coloris.min.css"
74
+ "coloris.min.css",
75
75
  ], true), true), [
76
76
  "<link rel='stylesheet' type='text/css' href='".concat((0, exports.getAssetLink)("intl-tel-input/intlTelInput.min.css"), "'>"),
77
77
  "<link rel='stylesheet' type='text/css' href='https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'>",
@@ -103,7 +103,7 @@ exports.primaryBodyJS = __spreadArray(__spreadArray([
103
103
  "toastr.min.js",
104
104
  "axios.js",
105
105
  "sweetalert2.all.min.js",
106
- "coloris.min.js"
106
+ "coloris.min.js",
107
107
  ]), true), [
108
108
  "<script type=\"text/javascript\" src=\"".concat((0, exports.getAssetLink)("intl-tel-input/intlTelInput-jquery.min.js"), "\"></script>"),
109
109
  '<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/apexcharts"></script>',
@@ -119,6 +119,7 @@ exports.primaryBodyJS = __spreadArray(__spreadArray([
119
119
  '<script type="text/javascript" src="/resources/dataLoader.min.js"></script>',
120
120
  '<script type="text/javascript" src="/resources/drapcode.body.min.js"></script>',
121
121
  '<script type="text/javascript" src="/resources/drapcode.modal.min.js"></script>',
122
+ '<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js"></script>',
122
123
  '<script src="https://unpkg.com/@popperjs/core@2"></script>',
123
124
  '<script src="https://unpkg.com/tippy.js@6"></script>',
124
125
  ], false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-constant",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Drapcode Constants",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",