@yomotech/view-toolkit 1.0.40 → 1.0.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yomotech/view-toolkit",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^21.0.0",
6
6
  "@angular/common": "^21.0.0",
@@ -1305,7 +1305,6 @@ declare class DropdownControl {
1305
1305
  private control?;
1306
1306
  private cache;
1307
1307
  private get option();
1308
- private caption;
1309
1308
  /** { label, value } entries - the same array while the source does not change */
1310
1309
  entries(): {
1311
1310
  label: string;
@@ -2051,11 +2050,16 @@ declare class ControlComponent implements OnChanges {
2051
2050
  get display(): boolean;
2052
2051
  /** protected in the layout, or a list: the value is shown, not typed in */
2053
2052
  get readonly(): boolean;
2054
- /** the value shown: the record's in a list (else the property's default), the property's otherwise */
2053
+ /**
2054
+ * the value shown: in a list what the record stores (never the property's default - that belongs
2055
+ * to a new record in the dialog), the property's otherwise
2056
+ */
2055
2057
  get value(): any;
2058
+ /** a plain value of a list as text, "--" when empty */
2059
+ get text(): string;
2056
2060
  /** the row a number reads its currency field from: the record in a list */
2057
2061
  get numberRow(): any;
2058
- /** a date or time of a list as text; the --- of an empty value is shown by the template */
2062
+ /** a date or time of a list as text, "--" when empty */
2059
2063
  get dateText(): string;
2060
2064
  /** an older layout's own date pattern (Angular date pipe: option.dateFormat / timeFormat) */
2061
2065
  get legacyDateFormat(): string;