commons-shared-web-ui 0.0.19 → 0.0.20

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
@@ -1597,6 +1597,7 @@ interface SectionConfig {
1597
1597
  label?: string;
1598
1598
  /** Configuration for the card-based multi-save UI (FAQ style) */
1599
1599
  multiSaveConfig?: MultiSaveConfig;
1600
+ isEnabled?: boolean;
1600
1601
  }
1601
1602
  interface MultiSaveConfig {
1602
1603
  /** If TRUE, enable the Save/Cancel card-based flow for this repeater */
@@ -1629,6 +1630,7 @@ interface FieldConfig {
1629
1630
  subType?: string;
1630
1631
  visible?: boolean;
1631
1632
  visibilityExpression?: string;
1633
+ isEnabled?: boolean;
1632
1634
  required?: boolean;
1633
1635
  disabled?: boolean;
1634
1636
  defaultValue?: any;
@@ -1717,6 +1719,7 @@ interface OptionConfig {
1717
1719
  };
1718
1720
  sortBy?: string;
1719
1721
  sortDirection?: 'ASC' | 'DESC';
1722
+ layout?: 'row' | 'column';
1720
1723
  optionList?: OptionItem[];
1721
1724
  }
1722
1725
  interface EmailConfig {
@@ -1733,6 +1736,8 @@ interface OptionItem {
1733
1736
  label: string;
1734
1737
  code: any;
1735
1738
  value?: any;
1739
+ hint?: string;
1740
+ colSpan?: number;
1736
1741
  }
1737
1742
  interface GeneratedConfig {
1738
1743
  formula: string;
@@ -2254,6 +2259,7 @@ declare class FormFieldComponent implements OnInit, OnDestroy {
2254
2259
  * Otherwise divide 12 equally among all children (floor, min 1).
2255
2260
  */
2256
2261
  getChildColSpan(child: FieldConfig): number;
2262
+ getOptionColSpan(option: any): number;
2257
2263
  onRatingChange(star: number, event?: MouseEvent): void;
2258
2264
  getStarArray(): number[];
2259
2265
  isStarHalf(star: number): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commons-shared-web-ui",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "20.3.15",
6
6
  "@angular/cdk": "20.2.14",