From 39015e17ef522f4d227f8123caf8dc6066b0a1d7 Mon Sep 17 00:00:00 2001 From: gretzkiy Date: Tue, 30 Jan 2024 09:44:38 +0300 Subject: [PATCH 1/2] fix(b-input)!: fix incorrect type for the value field --- src/form/b-input/b-input.ts | 4 ++-- src/form/b-input/interface.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/form/b-input/b-input.ts b/src/form/b-input/b-input.ts index e376dc1eaa..cd35987d1a 100644 --- a/src/form/b-input/b-input.ts +++ b/src/form/b-input/b-input.ts @@ -204,11 +204,11 @@ export default class bInput extends iInputText { readonly progressIcon?: string | boolean; override get value(): this['Value'] { - return this.field.get('valueStore')!; + return this.field.get('valueStore'); } override set value(value: this['Value']) { - this.text = value; + this.text = value ?? ''; this.field.set('valueStore', this.text); } diff --git a/src/form/b-input/interface.ts b/src/form/b-input/interface.ts index 60e7b3c280..2a85f8e88d 100644 --- a/src/form/b-input/interface.ts +++ b/src/form/b-input/interface.ts @@ -6,5 +6,5 @@ * https://github.com/V4Fire/Client/blob/master/LICENSE */ -export type Value = string; +export type Value = CanUndef; export type FormValue = CanUndef; From 3e095f14d618c6d0636e53141a21a97746a4ab74 Mon Sep 17 00:00:00 2001 From: gretzkiy Date: Tue, 30 Jan 2024 09:45:27 +0300 Subject: [PATCH 2/2] chore(build): update build cache --- components-lock.json | 34 +++++++++++++- fat-html.components-lock.json | 88 +++++++++++++++++++++++++++++++++-- 2 files changed, 116 insertions(+), 6 deletions(-) diff --git a/components-lock.json b/components-lock.json index a4f775c063..b4ec3aee36 100644 --- a/components-lock.json +++ b/components-lock.json @@ -1,5 +1,5 @@ { - "hash": "90998e4c7a0a5a2478284963c99dcdb2aa52779fe00c55335be5845844fcc130", + "hash": "c90f98f3c814bab5a159949fb38f8e8910986f366aa2af78293c76d96ac1abcc", "data": { "%data": "%data:Map", "%data:Map": [ @@ -1195,6 +1195,38 @@ "etpl": null } ], + [ + "b-virtual-scroll-new", + { + "index": "src/base/b-virtual-scroll-new/index.js", + "declaration": { + "name": "b-virtual-scroll-new", + "parent": "i-data", + "dependencies": [], + "libs": [] + }, + "name": "b-virtual-scroll-new", + "parent": "i-data", + "dependencies": [], + "libs": [], + "resolvedLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "resolvedOwnLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "type": "block", + "mixin": false, + "logic": "src/base/b-virtual-scroll-new/b-virtual-scroll-new.ts", + "styles": [ + "src/base/b-virtual-scroll-new/b-virtual-scroll-new.styl" + ], + "tpl": "src/base/b-virtual-scroll-new/b-virtual-scroll-new.ss", + "etpl": null + } + ], [ "b-window", { diff --git a/fat-html.components-lock.json b/fat-html.components-lock.json index 8a12226463..f6e74f4512 100644 --- a/fat-html.components-lock.json +++ b/fat-html.components-lock.json @@ -1,5 +1,5 @@ { - "hash": "2a22eb53756a6e760e1a06bf1948e34c9f61422a803f720888f02d15cf887846", + "hash": "514ba9b05a600c0c69394345608c803932507bcd6cde154f00a95cb0eaf7ecf1", "data": { "%data": "%data:Map", "%data:Map": [ @@ -1195,6 +1195,38 @@ "etpl": null } ], + [ + "b-virtual-scroll-new", + { + "index": "src/base/b-virtual-scroll-new/index.js", + "declaration": { + "name": "b-virtual-scroll-new", + "parent": "i-data", + "dependencies": [], + "libs": [] + }, + "name": "b-virtual-scroll-new", + "parent": "i-data", + "dependencies": [], + "libs": [], + "resolvedLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "resolvedOwnLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "type": "block", + "mixin": false, + "logic": "src/base/b-virtual-scroll-new/b-virtual-scroll-new.ts", + "styles": [ + "src/base/b-virtual-scroll-new/b-virtual-scroll-new.styl" + ], + "tpl": "src/base/b-virtual-scroll-new/b-virtual-scroll-new.ss", + "etpl": null + } + ], [ "b-window", { @@ -1391,6 +1423,36 @@ "etpl": null } ], + [ + "i-active-items", + { + "index": "src/traits/i-active-items/index.js", + "declaration": { + "name": "i-active-items", + "parent": null, + "dependencies": [], + "libs": [] + }, + "name": "i-active-items", + "parent": null, + "dependencies": [], + "libs": [], + "resolvedLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "resolvedOwnLibs": { + "%data": "%data:Set", + "%data:Set": [] + }, + "type": "interface", + "mixin": false, + "logic": "src/traits/i-active-items/i-active-items.ts", + "styles": [], + "tpl": null, + "etpl": null + } + ], [ "i-block", { @@ -1999,7 +2061,11 @@ "b-dummy-control-list", "b-dummy-decorators" ], - "libs": [] + "libs": [ + "core/cookies", + "core/kv-storage/engines/cookie", + "models/demo/form" + ] }, "name": "p-v4-components-demo", "parent": "i-static-page", @@ -2040,14 +2106,26 @@ "b-dummy-control-list", "b-dummy-decorators" ], - "libs": [], + "libs": [ + "core/cookies", + "core/kv-storage/engines/cookie", + "models/demo/form" + ], "resolvedLibs": { "%data": "%data:Set", - "%data:Set": [] + "%data:Set": [ + "core/cookies", + "core/kv-storage/engines/cookie", + "models/demo/form" + ] }, "resolvedOwnLibs": { "%data": "%data:Set", - "%data:Set": [] + "%data:Set": [ + "core/cookies", + "core/kv-storage/engines/cookie", + "models/demo/form" + ] }, "type": "page", "mixin": false,