commons-shared-web-ui 0.0.10 → 0.0.11

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/index.d.ts CHANGED
@@ -38,6 +38,7 @@ import * as i11$1 from '@angular/cdk/scrolling';
38
38
  import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
39
39
  import { HttpClient, HttpHeaders } from '@angular/common/http';
40
40
  import { Observable, Subject } from 'rxjs';
41
+ import * as i9$1 from 'ngx-quill';
41
42
 
42
43
  declare class MaterialModule {
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
@@ -1576,6 +1577,7 @@ interface FieldConfig {
1576
1577
  attachmentConfig?: AttachmentConfig;
1577
1578
  locationConfig?: LocationConfig;
1578
1579
  ratingConfig?: RatingConfig;
1580
+ richTextConfig?: RichTextConfig;
1579
1581
  children?: FieldConfig[];
1580
1582
  }
1581
1583
  interface TextConfig {
@@ -1673,6 +1675,10 @@ interface RatingConfig {
1673
1675
  maxRating?: number;
1674
1676
  allowHalf?: boolean;
1675
1677
  }
1678
+ interface RichTextConfig {
1679
+ height?: string;
1680
+ placeholder?: string;
1681
+ }
1676
1682
  interface ValidationResult {
1677
1683
  isValid: boolean;
1678
1684
  errorMessage?: string;
@@ -1943,6 +1949,7 @@ declare class FormFieldComponent implements OnInit, OnDestroy {
1943
1949
  get isChip(): boolean;
1944
1950
  get isSwitch(): boolean;
1945
1951
  get isRating(): boolean;
1952
+ get isRichText(): boolean;
1946
1953
  get isGenerated(): boolean;
1947
1954
  get isRow(): boolean;
1948
1955
  get isGroup(): boolean;
@@ -1972,7 +1979,7 @@ declare class FormFieldComponent implements OnInit, OnDestroy {
1972
1979
 
1973
1980
  declare class SmartFormModule {
1974
1981
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartFormModule, never>;
1975
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFormModule, [typeof SmartFormComponent, typeof FormSectionComponent, typeof FormFieldComponent], [typeof i2$1.CommonModule, typeof i3$1.ReactiveFormsModule, typeof i3$1.FormsModule, typeof MaterialModule, typeof ButtonModule, typeof AlertModule], [typeof SmartFormComponent]>;
1982
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFormModule, [typeof SmartFormComponent, typeof FormSectionComponent, typeof FormFieldComponent], [typeof i2$1.CommonModule, typeof i3$1.ReactiveFormsModule, typeof i3$1.FormsModule, typeof MaterialModule, typeof ButtonModule, typeof AlertModule, typeof i9$1.QuillModule], [typeof SmartFormComponent]>;
1976
1983
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartFormModule>;
1977
1984
  }
1978
1985
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commons-shared-web-ui",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "20.3.15",
6
6
  "@angular/cdk": "20.2.14",
@@ -13,7 +13,9 @@
13
13
  "@angular/platform-browser-dynamic": "20.3.15",
14
14
  "@angular/router": "20.3.15",
15
15
  "rxjs": "7.8.0",
16
- "zone.js": "~0.14.0 || ~0.15.0"
16
+ "zone.js": "~0.14.0 || ~0.15.0",
17
+ "ngx-quill": "^28.0.0",
18
+ "quill": "^2.0.3"
17
19
  },
18
20
  "dependencies": {
19
21
  "tslib": "^2.3.0"
@@ -1,3 +1,5 @@
1
+ @import 'quill/dist/quill.snow.css';
2
+
1
3
  :root {
2
4
  /* Default Variables (Can be overridden) */
3
5
  --cc-card-bg: #ffffff;