@bnsights/bbsf-controls 1.0.149 → 1.0.151
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/README.md +8 -0
- package/bnsights-bbsf-controls-1.0.151.tgz +0 -0
- package/esm2022/lib/Shared/Enums/Markdown.mjs +20 -0
- package/esm2022/lib/Shared/Models/MarkdownEditorOptions.mjs +24 -0
- package/esm2022/lib/controls/MarkdownEditor/markdown-editor.component.mjs +235 -0
- package/esm2022/lib/controls/TextArea/TextArea.component.mjs +24 -15
- package/esm2022/lib/controls/bbsf-controls.module.mjs +17 -8
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/bnsights-bbsf-controls.mjs +306 -23
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Enums/Markdown.d.ts +17 -0
- package/lib/Shared/Models/MarkdownEditorOptions.d.ts +29 -0
- package/lib/controls/MarkdownEditor/markdown-editor.component.d.ts +94 -0
- package/lib/controls/TextArea/TextArea.component.d.ts +2 -3
- package/lib/controls/bbsf-controls.module.d.ts +32 -30
- package/package.json +19 -17
- package/public-api.d.ts +3 -0
- package/src/lib/assets/Style-rtl.scss +18 -2
- package/src/lib/assets/Style.scss +4 -1
- package/src/lib/assets/ace-builds/ace.js +23 -0
- package/src/lib/assets/ace-builds/mode-markdown.js +8 -0
- package/src/lib/assets/ngx-markdown-editor/highlight.js/agate.min.css +17 -0
- package/src/lib/assets/ngx-markdown-editor/highlight.js/highlight.min.js +2 -0
- package/src/lib/assets/ngx-markdown-editor/marked.min.js +6 -0
- package/src/lib/assets/sass/base.scss +25 -13
- package/src/lib/assets/sass/markdown.scss +98 -0
- package/bnsights-bbsf-controls-1.0.149.tgz +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum MarkdownMode {
|
|
2
|
+
editor = "editor",
|
|
3
|
+
preview = "preview"
|
|
4
|
+
}
|
|
5
|
+
export declare enum MarkDownIcons {
|
|
6
|
+
Bold = "Bold",
|
|
7
|
+
Italic = "Italic",
|
|
8
|
+
Heading = "Heading",
|
|
9
|
+
Reference = "Reference",
|
|
10
|
+
Link = "Link",
|
|
11
|
+
Image = "Image",
|
|
12
|
+
Ul = "Ul",
|
|
13
|
+
Ol = "Ol",
|
|
14
|
+
Code = "Code",
|
|
15
|
+
TogglePreview = "TogglePreview",
|
|
16
|
+
FullScreen = "FullScreen"
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ControlOptionsBase } from "./ControlOptionsBase";
|
|
2
|
+
export declare class MarkdownEditorOptions extends ControlOptionsBase {
|
|
3
|
+
/**To set value to MarkdownEditor */
|
|
4
|
+
value?: any;
|
|
5
|
+
maxLength?: number;
|
|
6
|
+
/**Set the MinLength of characters In MarkdownEditor */
|
|
7
|
+
minLength?: number;
|
|
8
|
+
showPreviewPanelOnLoad?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Array of icons to be hidden from the toolbar.
|
|
11
|
+
*
|
|
12
|
+
* You can populate this array with icon names from the `MarkDownIcons` enum.
|
|
13
|
+
* This allows you to customize the toolbar by hiding specific icons based on your requirements.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* // Hide the Bold and Italic icons
|
|
17
|
+
* hideIcons: [MarkDownIcons.Bold, MarkDownIcons.Italic];
|
|
18
|
+
*/
|
|
19
|
+
hideIcons?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Allows you to specify a custom rendering function for the Markdown content.
|
|
22
|
+
* This can be used to override or extend the default rendering behavior with custom HTML or styling.
|
|
23
|
+
*{ image: function (href: string, title: string, text: string){},code function(code: any, language: any){},
|
|
24
|
+
* table:function (header: string, body: string){},listitem:function (text: any, task: boolean, checked: boolean){}}
|
|
25
|
+
*/
|
|
26
|
+
customRender: any;
|
|
27
|
+
/** Set Height For MarkdownEditor ,default=400px */
|
|
28
|
+
height: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ControlContainer, FormGroup, FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { MdEditorOption } from "ngx-markdown-editor";
|
|
4
|
+
import { MarkdownEditorOptions } from '../../Shared/Models/MarkdownEditorOptions';
|
|
5
|
+
import { ControlValidationService, UtilityService } from '@bnsights/bbsf-utilities';
|
|
6
|
+
import { MdEditorLocaleOptions } from 'ngx-markdown-editor/lib/md-editor.types';
|
|
7
|
+
import { GlobalSettings } from '../../Shared/services/GlobalSettings.service';
|
|
8
|
+
import { ControlUtility } from '../../Shared/services/ControlUtility';
|
|
9
|
+
import { ScriptService } from 'ngx-script-loader';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MarkdownEditorComponent implements OnInit {
|
|
12
|
+
utilityService: UtilityService;
|
|
13
|
+
private globalSettings;
|
|
14
|
+
private controlValidationService;
|
|
15
|
+
private controlUtility;
|
|
16
|
+
markdownEditorControlHost: FormGroupDirective;
|
|
17
|
+
private scriptService;
|
|
18
|
+
private controlContainer;
|
|
19
|
+
group: FormGroup;
|
|
20
|
+
options: MarkdownEditorOptions;
|
|
21
|
+
OnChange: EventEmitter<any>;
|
|
22
|
+
static controlContainerstatic: any;
|
|
23
|
+
markdownEditorFormControl: AbstractControl;
|
|
24
|
+
editorOptions: MdEditorOption;
|
|
25
|
+
mode: string;
|
|
26
|
+
hideToolbar: boolean;
|
|
27
|
+
currentLocale: string;
|
|
28
|
+
validationRules: any[];
|
|
29
|
+
validationRulesasync: any[];
|
|
30
|
+
markAllAsTouched: boolean;
|
|
31
|
+
showMarkdown: boolean;
|
|
32
|
+
btnsText: {
|
|
33
|
+
Buttons: {
|
|
34
|
+
Bold: {
|
|
35
|
+
title: string;
|
|
36
|
+
};
|
|
37
|
+
Italic: {
|
|
38
|
+
title: string;
|
|
39
|
+
};
|
|
40
|
+
Heading: {
|
|
41
|
+
title: string;
|
|
42
|
+
};
|
|
43
|
+
Reference: {
|
|
44
|
+
title: string;
|
|
45
|
+
};
|
|
46
|
+
Link: {
|
|
47
|
+
title: string;
|
|
48
|
+
};
|
|
49
|
+
Image: {
|
|
50
|
+
title: string;
|
|
51
|
+
};
|
|
52
|
+
UnorderedList: {
|
|
53
|
+
title: string;
|
|
54
|
+
};
|
|
55
|
+
OrderedList: {
|
|
56
|
+
title: string;
|
|
57
|
+
};
|
|
58
|
+
CodeBlock: {
|
|
59
|
+
title: string;
|
|
60
|
+
};
|
|
61
|
+
ShowPreview: {
|
|
62
|
+
title: string;
|
|
63
|
+
};
|
|
64
|
+
HidePreview: {
|
|
65
|
+
title: string;
|
|
66
|
+
};
|
|
67
|
+
Fullscreen: {
|
|
68
|
+
title: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
Upload: {
|
|
72
|
+
Drag: string;
|
|
73
|
+
Uploading: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
locales: MdEditorLocaleOptions;
|
|
77
|
+
constructor(utilityService: UtilityService, globalSettings: GlobalSettings, controlValidationService: ControlValidationService, controlUtility: ControlUtility, markdownEditorControlHost: FormGroupDirective, scriptService: ScriptService, controlContainer: ControlContainer);
|
|
78
|
+
private loadAllScripts;
|
|
79
|
+
ngOnInit(): void;
|
|
80
|
+
uploadImg(evt: any): void;
|
|
81
|
+
onPreviewDomChanged(dom: any): void;
|
|
82
|
+
resetError: () => void;
|
|
83
|
+
showGlobalError(): void;
|
|
84
|
+
getErrorValidation(ErrorList: any): string;
|
|
85
|
+
removeRequiredValidation: () => void;
|
|
86
|
+
addRequiredValidation: () => void;
|
|
87
|
+
removeCustomValidation: (customValidation: any) => void;
|
|
88
|
+
addCustomValidation: (customValidation: any) => void;
|
|
89
|
+
isValid: () => void;
|
|
90
|
+
onEditorLoaded(editor: any): void;
|
|
91
|
+
onDragFile(files: Array<File>): Promise<Array<any>>;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MarkdownEditorComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MarkdownEditorComponent, "BBSF-MarkdownEditor", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "OnChange": "OnChange"; }, never, never, false, never>;
|
|
94
|
+
}
|
|
@@ -36,9 +36,9 @@ export declare class TextAreaComponent implements OnInit {
|
|
|
36
36
|
isMicOn: boolean;
|
|
37
37
|
textDir: any;
|
|
38
38
|
isFocused: boolean;
|
|
39
|
-
isSpeechLanguageOpened: boolean;
|
|
40
39
|
currentLanguage: String;
|
|
41
40
|
subscription: Subscription;
|
|
41
|
+
selectedSpeechLanguageDisplayText: string;
|
|
42
42
|
ngOnInit(): void;
|
|
43
43
|
ngAfterViewInit(): void;
|
|
44
44
|
resetError: () => void;
|
|
@@ -60,8 +60,7 @@ export declare class TextAreaComponent implements OnInit {
|
|
|
60
60
|
stopSpeechRecognition(): void;
|
|
61
61
|
ngOnDestroy(): void;
|
|
62
62
|
onSpeechLanguageChange(event: any): void;
|
|
63
|
-
|
|
64
|
-
onSpeechLanguageMouseDown(): void;
|
|
63
|
+
enableOrDisableLanguageSelect(isEnabled?: boolean): void;
|
|
65
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, [null, { optional: true; }, null, null, null, null, null, null]>;
|
|
66
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "BBSF-TextArea", never, { "group": { "alias": "group"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "onChange": "onChange"; }, never, never, false, never>;
|
|
67
66
|
}
|
|
@@ -33,38 +33,40 @@ import * as i30 from "../Shared/Pipes/bbsf-date.pipe";
|
|
|
33
33
|
import * as i31 from "../Shared/Components/ng-tag-input";
|
|
34
34
|
import * as i32 from "./Recaptcha/Recaptcha.component";
|
|
35
35
|
import * as i33 from "./page-header-component/page-header-component.component";
|
|
36
|
-
import * as i34 from "
|
|
37
|
-
import * as i35 from "
|
|
38
|
-
import * as i36 from "
|
|
39
|
-
import * as i37 from "@
|
|
40
|
-
import * as i38 from "angular
|
|
41
|
-
import * as i39 from "
|
|
42
|
-
import * as i40 from "
|
|
43
|
-
import * as i41 from "
|
|
44
|
-
import * as i42 from "
|
|
45
|
-
import * as i43 from "ngx-
|
|
46
|
-
import * as i44 from "
|
|
47
|
-
import * as i45 from "
|
|
48
|
-
import * as i46 from "
|
|
49
|
-
import * as i47 from "
|
|
50
|
-
import * as i48 from "
|
|
51
|
-
import * as i49 from "@angular/
|
|
52
|
-
import * as i50 from "
|
|
53
|
-
import * as i51 from "
|
|
54
|
-
import * as i52 from "@angular/
|
|
55
|
-
import * as i53 from "@
|
|
56
|
-
import * as i54 from "
|
|
57
|
-
import * as i55 from "ngx-bootstrap/
|
|
58
|
-
import * as i56 from "
|
|
59
|
-
import * as i57 from "angular-
|
|
60
|
-
import * as i58 from "
|
|
61
|
-
import * as i59 from "
|
|
62
|
-
import * as i60 from "
|
|
63
|
-
import * as i61 from "ngx-
|
|
64
|
-
import * as i62 from "
|
|
36
|
+
import * as i34 from "./MarkdownEditor/markdown-editor.component";
|
|
37
|
+
import * as i35 from "@angular/common";
|
|
38
|
+
import * as i36 from "ngx-infinite-scroll";
|
|
39
|
+
import * as i37 from "@ng-select/ng-select";
|
|
40
|
+
import * as i38 from "@fullcalendar/angular";
|
|
41
|
+
import * as i39 from "angular-cropperjs";
|
|
42
|
+
import * as i40 from "@ng-bootstrap/ng-bootstrap";
|
|
43
|
+
import * as i41 from "ngx-dropzone";
|
|
44
|
+
import * as i42 from "ng2-file-upload";
|
|
45
|
+
import * as i43 from "ngx-mask";
|
|
46
|
+
import * as i44 from "ngx-summernote";
|
|
47
|
+
import * as i45 from "@angular/material/slide-toggle";
|
|
48
|
+
import * as i46 from "ngx-intl-tel-input";
|
|
49
|
+
import * as i47 from "@danielmoncada/angular-datetime-picker";
|
|
50
|
+
import * as i48 from "ng-block-ui";
|
|
51
|
+
import * as i49 from "@angular/forms";
|
|
52
|
+
import * as i50 from "@angular/router";
|
|
53
|
+
import * as i51 from "ngx-toastr";
|
|
54
|
+
import * as i52 from "@angular/common/http";
|
|
55
|
+
import * as i53 from "@angular/cdk/overlay";
|
|
56
|
+
import * as i54 from "@ngrx/store-devtools";
|
|
57
|
+
import * as i55 from "ngx-bootstrap/datepicker";
|
|
58
|
+
import * as i56 from "ngx-bootstrap/typeahead";
|
|
59
|
+
import * as i57 from "@kolkov/angular-editor";
|
|
60
|
+
import * as i58 from "angular-ng-autocomplete";
|
|
61
|
+
import * as i59 from "@bnsights/bbsf-utilities";
|
|
62
|
+
import * as i60 from "ng-inline-svg-2";
|
|
63
|
+
import * as i61 from "@sweetalert2/ngx-sweetalert2";
|
|
64
|
+
import * as i62 from "ngx-script-loader";
|
|
65
|
+
import * as i63 from "@angular/google-maps";
|
|
66
|
+
import * as i64 from "ngx-markdown-editor";
|
|
65
67
|
export declare let options: Partial<IConfig> | (() => Partial<IConfig>);
|
|
66
68
|
export declare class BBSFControlsModule {
|
|
67
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<BBSFControlsModule, never>;
|
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFControlsModule, [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i31.BTagsInputComponent, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent], [typeof
|
|
70
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFControlsModule, [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i31.BTagsInputComponent, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent, typeof i34.MarkdownEditorComponent], [typeof i35.CommonModule, typeof i36.InfiniteScrollModule, typeof i37.NgSelectModule, typeof i38.FullCalendarModule, typeof i39.AngularCropperjsModule, typeof i40.NgbModule, typeof i41.NgxDropzoneModule, typeof i42.FileUploadModule, typeof i43.NgxMaskDirective, typeof i43.NgxMaskPipe, typeof i44.NgxSummernoteModule, typeof i45.MatSlideToggleModule, typeof i46.NgxIntlTelInputModule, typeof i47.OwlDateTimeModule, typeof i47.OwlNativeDateTimeModule, typeof i35.CommonModule, typeof i48.BlockUIModule, typeof i49.ReactiveFormsModule, typeof i50.RouterModule, typeof i51.ToastrModule, typeof i52.HttpClientModule, typeof i53.OverlayModule, typeof i54.StoreDevtoolsModule, typeof i49.FormsModule, typeof i55.BsDatepickerModule, typeof i56.TypeaheadModule, typeof i57.AngularEditorModule, typeof i58.AutocompleteLibModule, typeof i59.BBSFUtilitiesModule, typeof i60.InlineSVGModule, typeof i61.SweetAlert2Module, typeof i62.ScriptLoaderModule, typeof i63.GoogleMapsModule, typeof i64.LMarkdownEditorModule], [typeof i1.DateInputComponent, typeof i2.FileUploadComponent, typeof i3.MultiLingualTextBoxComponent, typeof i4.TextboxComponent, typeof i5.TextAreaComponent, typeof i6.MultiLingualTextAreaComponent, typeof i7.CheckBoxComponent, typeof i8.DropdownListComponent, typeof i9.PhoneComponent, typeof i10.ToggleslideComponent, typeof i11.HtmlEditorComponent, typeof i12.MultiLingualHtmlEditorComponent, typeof i13.ImageUploaderComponent, typeof i14.ProfileImageUploaderComponent, typeof i15.CalendarComponent, typeof i16.MapAutoCompleteComponent, typeof i17.AutocompleteTextBoxComponent, typeof i18.TagsInputComponent, typeof i19.PagingComponent, typeof i20.JwPaginationComponent, typeof i21.RadioButtonComponent, typeof i22.FormComponent, typeof i19.PagingComponent, typeof i23.ConfirmationModalComponent, typeof i24.RepeaterComponent, typeof i25.RepeaterFieldBuilderComponent, typeof i26.NgTemplateNameDirective, typeof i27.RepeaterItemFieldComponent, typeof i28.RepeaterTableComponent, typeof i29.BBSFDateTimePipe, typeof i30.BBSFDatePipe, typeof i32.RecaptchaComponent, typeof i33.PageHeaderComponentComponent, typeof i34.MarkdownEditorComponent]>;
|
|
69
71
|
static ɵinj: i0.ɵɵInjectorDeclaration<BBSFControlsModule>;
|
|
70
72
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bnsights/bbsf-controls",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.151",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/animations": "^17.0.5",
|
|
6
6
|
"@angular/cdk": "^17.0.2",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"@angular/router": "^17.0.5"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@
|
|
15
|
+
"@angular/google-maps": "^17.0.3",
|
|
16
|
+
"@bnsights/bbsf-utilities": "^1.0.57",
|
|
16
17
|
"@danielmoncada/angular-datetime-picker": "^17.0.0",
|
|
17
18
|
"@fullcalendar/angular": "^6.1.10",
|
|
18
19
|
"@fullcalendar/core": "^6.1.10",
|
|
@@ -20,46 +21,47 @@
|
|
|
20
21
|
"@fullcalendar/interaction": "^6.1.10",
|
|
21
22
|
"@fullcalendar/list": "^6.1.10",
|
|
22
23
|
"@fullcalendar/timegrid": "^6.1.10",
|
|
24
|
+
"@googlemaps/js-api-loader": "1.16.2",
|
|
25
|
+
"@kolkov/angular-editor": "^3.0.0-beta.0",
|
|
26
|
+
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
|
|
23
27
|
"@ng-select/ng-select": "^12.0.4",
|
|
24
28
|
"@ngrx/store": "^17.0.1",
|
|
29
|
+
"@ngrx/store-devtools": "^17.0.1",
|
|
30
|
+
"@sweetalert2/ngx-sweetalert2": "12.2.0",
|
|
31
|
+
"@types/file-saver": "^2.0.7",
|
|
32
|
+
"@types/google.maps": "^3.54.10",
|
|
33
|
+
"ace-builds": "^1.35.4",
|
|
25
34
|
"angular-cropperjs": "^14.0.1",
|
|
26
35
|
"angular-froala-wysiwyg": "^4.1.3",
|
|
36
|
+
"angular-ng-autocomplete": "2.0.12",
|
|
27
37
|
"bootstrap": "^4.6.0",
|
|
28
38
|
"cropperjs": "^1.6.1",
|
|
29
39
|
"css-loader": "^6.8.1",
|
|
40
|
+
"file-saver": "^2.0.5",
|
|
30
41
|
"font-awesome": "^4.7.0",
|
|
31
42
|
"froala-editor": "^4.1.3",
|
|
32
43
|
"fullcalendar": "^6.1.10",
|
|
33
44
|
"google-libphonenumber": "^3.2.33",
|
|
34
45
|
"intl-tel-input": "^18.2.1",
|
|
35
46
|
"jquery": "^3.7.1",
|
|
47
|
+
"moment": "^2.29.4",
|
|
48
|
+
"ng-inline-svg-2": "^15.0.1",
|
|
36
49
|
"ng-pick-datetime": "7.0.0",
|
|
37
50
|
"ng2-file-upload": "^5.0.0",
|
|
51
|
+
"ngx-bootstrap": "^11.0.2",
|
|
38
52
|
"ngx-dropzone": "^3.1.0",
|
|
39
53
|
"ngx-file-up": "^1.4.7",
|
|
40
54
|
"ngx-highlight-js": "^17.0.0",
|
|
41
55
|
"ngx-infinite-scroll": "^17.0.0",
|
|
42
56
|
"ngx-intl-tel-input": "^3.2.0",
|
|
57
|
+
"ngx-markdown-editor": "^5.3.4",
|
|
43
58
|
"ngx-mask": "^17.0.4",
|
|
44
59
|
"ngx-pager": "^1.0.6",
|
|
60
|
+
"ngx-script-loader": "^3.0.0",
|
|
45
61
|
"ngx-summernote": "^1.0.0",
|
|
46
62
|
"summernote": "^0.8.20",
|
|
47
|
-
"@sweetalert2/ngx-sweetalert2": "12.2.0",
|
|
48
63
|
"sweetalert2": "11.10.1",
|
|
49
|
-
"
|
|
50
|
-
"angular-ng-autocomplete": "2.0.12",
|
|
51
|
-
"@kolkov/angular-editor": "^3.0.0-beta.0",
|
|
52
|
-
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
|
|
53
|
-
"file-saver": "^2.0.5",
|
|
54
|
-
"@types/file-saver": "^2.0.7",
|
|
55
|
-
"@ngrx/store-devtools": "^17.0.1",
|
|
56
|
-
"ngx-bootstrap": "^11.0.2",
|
|
57
|
-
"tslib": "^2.6.2",
|
|
58
|
-
"@types/google.maps": "^3.54.10",
|
|
59
|
-
"@angular/google-maps": "^17.0.3",
|
|
60
|
-
"@googlemaps/js-api-loader": "1.16.2",
|
|
61
|
-
"ngx-script-loader": "^3.0.0",
|
|
62
|
-
"moment": "^2.29.4"
|
|
64
|
+
"tslib": "^2.6.2"
|
|
63
65
|
},
|
|
64
66
|
"module": "fesm2022/bnsights-bbsf-controls.mjs",
|
|
65
67
|
"typings": "index.d.ts",
|
package/public-api.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export * from './lib/controls/Repeater/repeater-item-field/repeater-item-field.c
|
|
|
29
29
|
export * from './lib/controls/Recaptcha/Recaptcha.component';
|
|
30
30
|
export * from './lib/controls/page-header-component/page-header-component.component';
|
|
31
31
|
export * from './lib/Shared/Components/app-base-component';
|
|
32
|
+
export * from './lib/controls/MarkdownEditor/markdown-editor.component';
|
|
32
33
|
export * from './lib/Shared/services/validationErrorMassage.service';
|
|
33
34
|
export * from './lib/Shared/services/ControlUtility';
|
|
34
35
|
export * from './lib/Shared/services/OnPagingFiltersChange.service';
|
|
@@ -91,6 +92,7 @@ export * from './lib/Shared/Models/bread-crumb';
|
|
|
91
92
|
export * from './lib/Shared/Directives/template-name.directive';
|
|
92
93
|
export * from './lib/Shared/Pipes/bbsf-date-time.pipe';
|
|
93
94
|
export * from './lib/Shared/Pipes/bbsf-date.pipe';
|
|
95
|
+
export * from './lib/Shared/Models/MarkdownEditorOptions';
|
|
94
96
|
export * from './lib/Shared/Enums/InputType';
|
|
95
97
|
export * from './lib/Shared/Enums/menu-list-enum';
|
|
96
98
|
export * from './lib/Shared/Enums/ControlLayout';
|
|
@@ -116,3 +118,4 @@ export * from './lib/Shared/Enums/Enums';
|
|
|
116
118
|
export * from './lib/Shared/Enums/LanguageValidation';
|
|
117
119
|
export * from './lib/Shared/Enums/TagInputView';
|
|
118
120
|
export * from './lib/Shared/Enums/map-enums';
|
|
121
|
+
export * from './lib/Shared/Enums/Markdown';
|
|
@@ -280,16 +280,32 @@ input::-webkit-inner-spin-button {
|
|
|
280
280
|
right: auto !important;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
|
+
|
|
283
284
|
//textarea mic
|
|
284
285
|
.bbsf-control.form-group .bbsf-input-container .language-container {
|
|
285
286
|
left: 10%;
|
|
286
287
|
right: auto;
|
|
287
|
-
}
|
|
288
|
+
}
|
|
288
289
|
|
|
289
|
-
.bbsf-control.form-group .bbsf-input-container
|
|
290
|
+
.bbsf-control.form-group .bbsf-input-container>.language-container:nth-child(2) {
|
|
290
291
|
left: 2% !important;
|
|
291
292
|
right: auto !important;
|
|
292
293
|
}
|
|
294
|
+
|
|
295
|
+
md-editor {
|
|
296
|
+
direction: ltr !important;
|
|
297
|
+
text-align: left !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.preview-container .preview-panel {
|
|
301
|
+
direction: rtl !important;
|
|
302
|
+
text-align: right !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
pre {
|
|
306
|
+
direction: rtl;
|
|
307
|
+
}
|
|
308
|
+
|
|
293
309
|
@media screen and (min-width: 767px) and (max-width: 991px) {
|
|
294
310
|
.form-group.bbsf-control.bbsf-phone .bbsf-input-container .form-control {
|
|
295
311
|
.dropdown-menu.show {
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
@import'/node_modules/ng-pick-datetime/assets/style/picker.min.css';
|
|
9
9
|
//phone
|
|
10
10
|
@import'/node_modules/intl-tel-input/build/css/intlTelInput.css';
|
|
11
|
+
//markdown
|
|
12
|
+
@import '/node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css';
|
|
11
13
|
//custom
|
|
12
14
|
@import"sass/base.scss";
|
|
13
15
|
@import"sass/textarea.scss";
|
|
@@ -23,4 +25,5 @@
|
|
|
23
25
|
@import"sass/html-editor.scss";
|
|
24
26
|
@import"sass/phone.scss";
|
|
25
27
|
@import"sass/radio-button.scss";
|
|
26
|
-
@import"sass/file-upload.scss";
|
|
28
|
+
@import"sass/file-upload.scss";
|
|
29
|
+
@import"sass/markdown.scss";
|