@symbo.ls/uikit 2.11.140 → 2.11.141
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/dist/index.cjs.js +5 -3
- package/dist/index.cjs.js.map +3 -3
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -13221,6 +13221,7 @@ var import_utils7 = __toESM(require_cjs2());
|
|
|
13221
13221
|
var Input2 = {
|
|
13222
13222
|
extend: [Focusable],
|
|
13223
13223
|
tag: "input",
|
|
13224
|
+
deps: { isString: import_utils7.isString, replaceLiteralsWithObjectFields: import_utils7.replaceLiteralsWithObjectFields },
|
|
13224
13225
|
props: {
|
|
13225
13226
|
border: "none",
|
|
13226
13227
|
type: "input",
|
|
@@ -13238,9 +13239,10 @@ var Input2 = {
|
|
|
13238
13239
|
name: ({ props: props6 }) => props6.name,
|
|
13239
13240
|
autocomplete: ({ props: props6 }) => props6.autocomplete,
|
|
13240
13241
|
placeholder: ({ props: props6 }) => props6.placeholder,
|
|
13241
|
-
value: ({ props: props6, state }) => {
|
|
13242
|
-
|
|
13243
|
-
|
|
13242
|
+
value: ({ props: props6, state, deps }) => {
|
|
13243
|
+
const { isString: isString7, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
|
|
13244
|
+
if (isString7(props6.value) && props6.value.includes("{{"))
|
|
13245
|
+
return replaceLiteralsWithObjectFields2(props6.value, state);
|
|
13244
13246
|
return props6.value;
|
|
13245
13247
|
},
|
|
13246
13248
|
disabled: ({ props: props6 }) => props6.disabled || null,
|