@bnsights/bbsf-controls 1.0.192 → 1.0.194-beta.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 (114) hide show
  1. package/README.md +338 -1
  2. package/esm2022/lib/Shared/Components/app-base-component.mjs +3 -3
  3. package/esm2022/lib/Shared/Components/ng-tag-input.mjs +12 -7
  4. package/esm2022/lib/Shared/Directives/appPreventDoubleClick.directive.mjs +3 -2
  5. package/esm2022/lib/Shared/Directives/template-name.directive.mjs +4 -3
  6. package/esm2022/lib/Shared/Models/AutocompleteOptions.mjs +2 -2
  7. package/esm2022/lib/Shared/Models/DatePickerOptions.mjs +4 -4
  8. package/esm2022/lib/Shared/Models/DropdownOptions.mjs +2 -2
  9. package/esm2022/lib/Shared/Models/TagsInputOptions.mjs +2 -2
  10. package/esm2022/lib/Shared/Pipes/bbsf-date-time.pipe.mjs +4 -3
  11. package/esm2022/lib/Shared/Pipes/bbsf-date.pipe.mjs +4 -3
  12. package/esm2022/lib/Shared/default_intl.mjs +2 -2
  13. package/esm2022/lib/Shared/services/ControlUtility.mjs +2 -2
  14. package/esm2022/lib/Shared/services/file-upload.service.mjs +3 -3
  15. package/esm2022/lib/Shared/services/validationErrorMassage.service.mjs +2 -2
  16. package/esm2022/lib/Shared/utils/date-formatter.mjs +48 -0
  17. package/esm2022/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.mjs +24 -16
  18. package/esm2022/lib/controls/Calendar/Calendar.component.mjs +19 -12
  19. package/esm2022/lib/controls/CheckBox/CheckBox.component.mjs +14 -10
  20. package/esm2022/lib/controls/ConfirmationModal/ConfirmationModal.component.mjs +8 -5
  21. package/esm2022/lib/controls/DateTimePicker/DateTimePicker.component.mjs +21 -14
  22. package/esm2022/lib/controls/DropdownList/DropdownList.component.mjs +12 -6
  23. package/esm2022/lib/controls/FileUpload/FileUpload.component.mjs +15 -7
  24. package/esm2022/lib/controls/Form/Form.component.mjs +22 -6
  25. package/esm2022/lib/controls/HtmlEditor/HtmlEditor.component.mjs +14 -9
  26. package/esm2022/lib/controls/ImageUpload/ImageUpload.component.mjs +17 -9
  27. package/esm2022/lib/controls/MapAutoComplete/MapAutoComplete.component.mjs +22 -13
  28. package/esm2022/lib/controls/MarkdownEditor/markdown-editor.component.mjs +16 -8
  29. package/esm2022/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.mjs +14 -9
  30. package/esm2022/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.mjs +12 -7
  31. package/esm2022/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.mjs +18 -12
  32. package/esm2022/lib/controls/Paging/JwPagination.component.mjs +8 -4
  33. package/esm2022/lib/controls/Paging/Paging.component.mjs +25 -12
  34. package/esm2022/lib/controls/Phone/Phone.component.mjs +14 -9
  35. package/esm2022/lib/controls/ProfileImageUploader/ProfileImageUploader.component.mjs +17 -9
  36. package/esm2022/lib/controls/RadioButton/RadioButton.component.mjs +10 -6
  37. package/esm2022/lib/controls/Recaptcha/Recaptcha.component.mjs +13 -14
  38. package/esm2022/lib/controls/Repeater/repeater/repeater.component.mjs +13 -7
  39. package/esm2022/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.mjs +6 -4
  40. package/esm2022/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.mjs +5 -4
  41. package/esm2022/lib/controls/Repeater/repeater-table/repeater-table.component.mjs +13 -7
  42. package/esm2022/lib/controls/TagsInput/TagsInput.component.mjs +19 -14
  43. package/esm2022/lib/controls/TextArea/TextArea.component.mjs +20 -12
  44. package/esm2022/lib/controls/TextBox/TextBox.component.mjs +16 -10
  45. package/esm2022/lib/controls/Toggleslide/Toggleslide.component.mjs +13 -7
  46. package/esm2022/lib/controls/bbsf-controls.module.mjs +70 -333
  47. package/esm2022/lib/controls/page-header-component/page-header-component.component.mjs +15 -11
  48. package/esm2022/lib/modules/bbsf-core.module.mjs +210 -0
  49. package/esm2022/lib/modules/bbsf-datetime.module.mjs +90 -0
  50. package/esm2022/lib/modules/bbsf-dropdown.module.mjs +57 -0
  51. package/esm2022/lib/modules/bbsf-editors.module.mjs +97 -0
  52. package/esm2022/lib/modules/bbsf-forms-basic.module.mjs +79 -0
  53. package/esm2022/lib/modules/bbsf-multilingual.module.mjs +60 -0
  54. package/esm2022/lib/modules/bbsf-phone.module.mjs +57 -0
  55. package/esm2022/lib/modules/bbsf-specialized.module.mjs +160 -0
  56. package/esm2022/lib/modules/bbsf-uploads.module.mjs +106 -0
  57. package/esm2022/lib/modules/bbsf-utility.module.mjs +103 -0
  58. package/esm2022/public-api.mjs +38 -2
  59. package/fesm2022/bnsights-bbsf-controls.mjs +8670 -7747
  60. package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
  61. package/lib/Shared/Components/app-base-component.d.ts +2 -2
  62. package/lib/Shared/Components/ng-tag-input.d.ts +2 -3
  63. package/lib/Shared/Directives/appPreventDoubleClick.directive.d.ts +1 -1
  64. package/lib/Shared/Directives/template-name.directive.d.ts +1 -1
  65. package/lib/Shared/Pipes/bbsf-date-time.pipe.d.ts +1 -1
  66. package/lib/Shared/Pipes/bbsf-date.pipe.d.ts +1 -1
  67. package/lib/Shared/default_intl.d.ts +1 -1
  68. package/lib/Shared/services/ControlUtility.d.ts +1 -1
  69. package/lib/Shared/services/file-upload.service.d.ts +1 -1
  70. package/lib/Shared/services/validationErrorMassage.service.d.ts +1 -1
  71. package/lib/Shared/utils/date-formatter.d.ts +23 -0
  72. package/lib/controls/AutocompleteTextBox/AutocompleteTextBox.component.d.ts +5 -4
  73. package/lib/controls/Calendar/Calendar.component.d.ts +5 -4
  74. package/lib/controls/CheckBox/CheckBox.component.d.ts +3 -2
  75. package/lib/controls/ConfirmationModal/ConfirmationModal.component.d.ts +2 -2
  76. package/lib/controls/DateTimePicker/DateTimePicker.component.d.ts +3 -3
  77. package/lib/controls/DropdownList/DropdownList.component.d.ts +2 -2
  78. package/lib/controls/FileUpload/FileUpload.component.d.ts +3 -4
  79. package/lib/controls/Form/Form.component.d.ts +2 -2
  80. package/lib/controls/HtmlEditor/HtmlEditor.component.d.ts +3 -3
  81. package/lib/controls/ImageUpload/ImageUpload.component.d.ts +4 -4
  82. package/lib/controls/MapAutoComplete/MapAutoComplete.component.d.ts +5 -4
  83. package/lib/controls/MarkdownEditor/markdown-editor.component.d.ts +2 -2
  84. package/lib/controls/MultiLingualHtmlEditor/MultiLingualHtmlEditor.component.d.ts +3 -3
  85. package/lib/controls/MultiLingualTextArea/MultiLingualTextArea.component.d.ts +2 -2
  86. package/lib/controls/MultiLingualTextBox/MultiLingualTextBox.component.d.ts +3 -2
  87. package/lib/controls/Paging/JwPagination.component.d.ts +1 -1
  88. package/lib/controls/Paging/Paging.component.d.ts +5 -4
  89. package/lib/controls/Phone/Phone.component.d.ts +2 -2
  90. package/lib/controls/ProfileImageUploader/ProfileImageUploader.component.d.ts +3 -3
  91. package/lib/controls/RadioButton/RadioButton.component.d.ts +2 -2
  92. package/lib/controls/Recaptcha/Recaptcha.component.d.ts +3 -2
  93. package/lib/controls/Repeater/repeater/repeater.component.d.ts +1 -1
  94. package/lib/controls/Repeater/repeater-field-builder/repeater-field-builder.component.d.ts +1 -1
  95. package/lib/controls/Repeater/repeater-item-field/repeater-item-field.component.d.ts +1 -1
  96. package/lib/controls/Repeater/repeater-table/repeater-table.component.d.ts +2 -2
  97. package/lib/controls/TagsInput/TagsInput.component.d.ts +5 -4
  98. package/lib/controls/TextArea/TextArea.component.d.ts +3 -2
  99. package/lib/controls/TextBox/TextBox.component.d.ts +2 -2
  100. package/lib/controls/Toggleslide/Toggleslide.component.d.ts +2 -2
  101. package/lib/controls/bbsf-controls.module.d.ts +35 -66
  102. package/lib/controls/page-header-component/page-header-component.component.d.ts +2 -2
  103. package/lib/modules/bbsf-core.module.d.ts +90 -0
  104. package/lib/modules/bbsf-datetime.module.d.ts +41 -0
  105. package/lib/modules/bbsf-dropdown.module.d.ts +33 -0
  106. package/lib/modules/bbsf-editors.module.d.ts +47 -0
  107. package/lib/modules/bbsf-forms-basic.module.d.ts +35 -0
  108. package/lib/modules/bbsf-multilingual.module.d.ts +31 -0
  109. package/lib/modules/bbsf-phone.module.d.ts +33 -0
  110. package/lib/modules/bbsf-specialized.module.d.ts +63 -0
  111. package/lib/modules/bbsf-uploads.module.d.ts +50 -0
  112. package/lib/modules/bbsf-utility.module.d.ts +45 -0
  113. package/package.json +2 -13
  114. package/public-api.d.ts +12 -0
@@ -0,0 +1,50 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ngx-dropzone";
5
+ import * as i4 from "angular-cropperjs";
6
+ import * as i5 from "@ng-bootstrap/ng-bootstrap";
7
+ import * as i6 from "ng2-file-upload";
8
+ import * as i7 from "@bnsights/bbsf-utilities";
9
+ import * as i8 from "../controls/FileUpload/FileUpload.component";
10
+ import * as i9 from "../controls/ImageUpload/ImageUpload.component";
11
+ import * as i10 from "../controls/ProfileImageUploader/ProfileImageUploader.component";
12
+ /**
13
+ * BBSF Uploads Module
14
+ *
15
+ * Contains file and image upload controls (~360 KB gzipped):
16
+ * - FileUploadComponent: File upload with drag & drop support
17
+ * - ImageUploaderComponent: Image upload with cropping functionality
18
+ * - ProfileImageUploaderComponent: Profile image uploader with cropping
19
+ *
20
+ * Dependencies:
21
+ * - ng2-file-upload
22
+ * - ngx-dropzone (~80 KB)
23
+ * - angular-cropperjs (~200 KB with Cropper.js)
24
+ * - @ng-bootstrap/ng-bootstrap
25
+ *
26
+ * @example New way (Recommended):
27
+ * ```typescript
28
+ * import { FileUploadComponent } from '@bnsights/bbsf-controls';
29
+ *
30
+ * @NgModule({
31
+ * imports: [FileUploadComponent]
32
+ * })
33
+ * export class MyModule { }
34
+ * ```
35
+ *
36
+ * @example Old way (Still works but not recommended):
37
+ * ```typescript
38
+ * import { BBSFUploadsModule } from '@bnsights/bbsf-controls';
39
+ *
40
+ * @NgModule({
41
+ * imports: [BBSFUploadsModule]
42
+ * })
43
+ * export class MyModule { }
44
+ * ```
45
+ */
46
+ export declare class BBSFUploadsModule {
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<BBSFUploadsModule, never>;
48
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFUploadsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NgxDropzoneModule, typeof i4.AngularCropperjsModule, typeof i5.NgbModule, typeof i6.FileUploadModule, typeof i7.BBSFUtilitiesModule, typeof i8.FileUploadComponent, typeof i9.ImageUploaderComponent, typeof i10.ProfileImageUploaderComponent], [typeof i8.FileUploadComponent, typeof i9.ImageUploaderComponent, typeof i10.ProfileImageUploaderComponent]>;
49
+ static ɵinj: i0.ɵɵInjectorDeclaration<BBSFUploadsModule>;
50
+ }
@@ -0,0 +1,45 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "../controls/Form/Form.component";
4
+ import * as i3 from "../controls/ConfirmationModal/ConfirmationModal.component";
5
+ import * as i4 from "../controls/Recaptcha/Recaptcha.component";
6
+ import * as i5 from "../controls/Paging/Paging.component";
7
+ import * as i6 from "../controls/Paging/JwPagination.component";
8
+ import * as i7 from "../controls/page-header-component/page-header-component.component";
9
+ import * as i8 from "../Shared/Directives/appPreventDoubleClick.directive";
10
+ /**
11
+ * BBSF Utility Module
12
+ *
13
+ * Contains utility components (~80 KB gzipped):
14
+ * - FormComponent
15
+ * - ConfirmationModalComponent
16
+ * - RecaptchaComponent
17
+ * - PagingComponent
18
+ * - JwPaginationComponent
19
+ * - PageHeaderComponent
20
+ * - PreventDoubleClickDirective
21
+ *
22
+ * Dependencies:
23
+ * - @ng-bootstrap/ng-bootstrap
24
+ * - @sweetalert2/ngx-sweetalert2 (~50 KB)
25
+ * - ng-block-ui
26
+ * - ngx-toastr
27
+ * - ng-inline-svg-2
28
+ * - ngx-bootstrap/typeahead
29
+ * - @bnsights/bbsf-utilities
30
+ *
31
+ * @example
32
+ * ```typescript
33
+ * import { BBSFUtilityModule } from '@bnsights/bbsf-controls';
34
+ *
35
+ * @NgModule({
36
+ * imports: [BBSFUtilityModule]
37
+ * })
38
+ * export class MyModule { }
39
+ * ```
40
+ */
41
+ export declare class BBSFUtilityModule {
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<BBSFUtilityModule, never>;
43
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BBSFUtilityModule, never, [typeof i1.CommonModule, typeof i2.FormComponent, typeof i3.ConfirmationModalComponent, typeof i4.RecaptchaComponent, typeof i5.PagingComponent, typeof i6.JwPaginationComponent, typeof i7.PageHeaderComponentComponent, typeof i8.PreventDoubleClickDirective], [typeof i2.FormComponent, typeof i3.ConfirmationModalComponent, typeof i4.RecaptchaComponent, typeof i5.PagingComponent, typeof i6.JwPaginationComponent, typeof i7.PageHeaderComponentComponent, typeof i8.PreventDoubleClickDirective]>;
44
+ static ɵinj: i0.ɵɵInjectorDeclaration<BBSFUtilityModule>;
45
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bnsights/bbsf-controls",
3
- "version": "1.0.192",
3
+ "version": "1.0.194-beta.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.0.5",
6
6
  "@angular/cdk": "^17.0.2",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@angular/google-maps": "^17.0.3",
16
- "@bnsights/bbsf-utilities": "^1.0.69",
16
+ "@bnsights/bbsf-utilities": "^1.0.69-beta.1",
17
17
  "@danielmoncada/angular-datetime-picker": "^17.0.0",
18
18
  "@fullcalendar/angular": "^6.1.10",
19
19
  "@fullcalendar/core": "^6.1.10",
@@ -21,43 +21,32 @@
21
21
  "@fullcalendar/interaction": "^6.1.10",
22
22
  "@fullcalendar/list": "^6.1.10",
23
23
  "@fullcalendar/timegrid": "^6.1.10",
24
- "@googlemaps/js-api-loader": "1.16.2",
25
24
  "@kolkov/angular-editor": "^3.0.0-beta.2",
26
25
  "@ng-bootstrap/ng-bootstrap": "^16.0.0",
27
26
  "@ng-select/ng-select": "^12.0.4",
28
27
  "@ngrx/store": "^17.0.1",
29
28
  "@ngrx/store-devtools": "^17.0.1",
30
- "@primeng/themes": "^19.0.9",
31
29
  "@sweetalert2/ngx-sweetalert2": "12.2.0",
32
30
  "@types/file-saver": "^2.0.7",
33
31
  "@types/google.maps": "^3.54.10",
34
32
  "ace-builds": "^1.35.4",
35
33
  "angular-cropperjs": "^14.0.1",
36
- "angular-froala-wysiwyg": "^4.1.3",
37
34
  "angular-ng-autocomplete": "2.0.12",
38
35
  "bootstrap": "^4.6.0",
39
36
  "cropperjs": "^1.6.1",
40
- "css-loader": "^6.8.1",
41
37
  "file-saver": "^2.0.5",
42
38
  "font-awesome": "^4.7.0",
43
- "froala-editor": "^4.1.3",
44
- "fullcalendar": "^6.1.10",
45
39
  "google-libphonenumber": "^3.2.33",
46
40
  "intl-tel-input": "^18.2.1",
47
41
  "jquery": "^3.7.1",
48
- "moment": "^2.29.4",
49
42
  "ng-inline-svg-2": "^15.0.1",
50
- "ng-pick-datetime": "7.0.0",
51
43
  "ng2-file-upload": "^7.0.1",
52
44
  "ngx-bootstrap": "^11.0.2",
53
45
  "ngx-dropzone": "^3.1.0",
54
- "ngx-file-up": "^1.4.7",
55
- "ngx-highlight-js": "^17.0.0",
56
46
  "ngx-infinite-scroll": "^17.0.0",
57
47
  "ngx-intl-tel-input": "^3.2.0",
58
48
  "ngx-markdown-editor": "^5.3.4",
59
49
  "ngx-mask": "^17.0.4",
60
- "ngx-pager": "^1.0.6",
61
50
  "ngx-script-loader": "^3.0.0",
62
51
  "ngx-summernote": "^1.0.0",
63
52
  "summernote": "^0.8.20",
package/public-api.d.ts CHANGED
@@ -1,4 +1,16 @@
1
1
  export * from './lib/controls/bbsf-controls.module';
2
+ export * from './lib/modules/bbsf-forms-basic.module';
3
+ export * from './lib/modules/bbsf-dropdown.module';
4
+ export * from './lib/modules/bbsf-datetime.module';
5
+ export * from './lib/modules/bbsf-phone.module';
6
+ export * from './lib/modules/bbsf-utility.module';
7
+ export * from './lib/modules/bbsf-multilingual.module';
8
+ export * from './lib/modules/bbsf-core.module';
9
+ export * from './lib/modules/bbsf-editors.module';
10
+ export * from './lib/modules/bbsf-uploads.module';
11
+ export * from './lib/modules/bbsf-specialized.module';
12
+ export * from './lib/Shared/Components/ng-tag-input';
13
+ export * from './lib/Shared/Directives/template-name.directive';
2
14
  export * from './lib/controls/TextBox/TextBox.component';
3
15
  export * from './lib/controls/DateTimePicker/DateTimePicker.component';
4
16
  export * from './lib/controls/FileUpload/FileUpload.component';