@vixoniccom/modules 2.26.0-dev.1 → 2.26.0-dev.2
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/CHANGELOG.md +8 -0
- package/dist/lib/base.d.ts +3 -1
- package/dist/lib/base.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.26.0-dev.2](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.31...v2.26.0-dev.2) (2026-08-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **base:** support field id aliases for cross-version value migration ([d89a9f9](https://github.com/Vixonic/store-modules/commit/d89a9f9232055f3a30752521d9d77195b308f8c6))
|
|
11
|
+
* **inputs:** add ai-text-area input type ([d361105](https://github.com/Vixonic/store-modules/commit/d361105ca8942a8dd652b8b9a987b4bb30408d37))
|
|
12
|
+
|
|
5
13
|
## [2.25.0-dev.31](https://github.com/Vixonic/store-modules/compare/v2.25.0-dev.30...v2.25.0-dev.31) (2026-08-07)
|
|
6
14
|
|
|
7
15
|
|
package/dist/lib/base.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface IBaseElement {
|
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly label: string;
|
|
7
7
|
readonly show?: string;
|
|
8
|
+
readonly aliases?: string[];
|
|
8
9
|
}
|
|
9
10
|
export interface IInput extends IBaseElement {
|
|
10
11
|
}
|
|
@@ -17,7 +18,8 @@ export declare abstract class BaseElement extends ConfigurationElement implement
|
|
|
17
18
|
readonly id: string;
|
|
18
19
|
readonly label: string;
|
|
19
20
|
readonly show?: string;
|
|
20
|
-
|
|
21
|
+
readonly aliases?: string[];
|
|
22
|
+
constructor({ id, label, show, aliases }: IInput);
|
|
21
23
|
}
|
|
22
24
|
export declare abstract class Input<V extends InputValue = InputValue, E extends ValueError = ValueError> extends BaseElement {
|
|
23
25
|
validate: (value: V, ctx: Configuration.Value) => (E | ValueError.InvalidValue)[];
|
package/dist/lib/base.js
CHANGED
|
@@ -29,11 +29,12 @@ exports.ConfigurationElement = ConfigurationElement;
|
|
|
29
29
|
var BaseElement = /** @class */ (function (_super) {
|
|
30
30
|
__extends(BaseElement, _super);
|
|
31
31
|
function BaseElement(_a) {
|
|
32
|
-
var id = _a.id, label = _a.label, show = _a.show;
|
|
32
|
+
var id = _a.id, label = _a.label, show = _a.show, aliases = _a.aliases;
|
|
33
33
|
var _this = _super.call(this) || this;
|
|
34
34
|
_this.id = id;
|
|
35
35
|
_this.label = label;
|
|
36
36
|
_this.show = show;
|
|
37
|
+
_this.aliases = aliases;
|
|
37
38
|
return _this;
|
|
38
39
|
}
|
|
39
40
|
return BaseElement;
|