@symbo.ls/uikit 2.11.138 → 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 CHANGED
@@ -120,11 +120,11 @@ var require_cjs = __commonJS({
120
120
  var __toCommonJS22 = (mod) => __copyProps22(__defProp22({}, "__esModule", { value: true }), mod);
121
121
  var key_exports = {};
122
122
  __export22(key_exports, {
123
- createKey: () => createKey,
124
- createSnapshotId: () => createSnapshotId
123
+ createSnapshotId: () => createSnapshotId,
124
+ generateKey: () => generateKey
125
125
  });
126
126
  module22.exports = __toCommonJS22(key_exports);
127
- var createKey = function() {
127
+ var generateKey = function() {
128
128
  let index = 0;
129
129
  function newId() {
130
130
  index++;
@@ -132,7 +132,7 @@ var require_cjs = __commonJS({
132
132
  }
133
133
  return newId;
134
134
  }();
135
- var createSnapshotId = createKey;
135
+ var createSnapshotId = generateKey;
136
136
  }
137
137
  });
138
138
  var require_env2 = __commonJS2({
@@ -3000,11 +3000,11 @@ var require_key = __commonJS({
3000
3000
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
3001
3001
  var key_exports = {};
3002
3002
  __export2(key_exports, {
3003
- createKey: () => createKey,
3004
- createSnapshotId: () => createSnapshotId
3003
+ createSnapshotId: () => createSnapshotId,
3004
+ generateKey: () => generateKey
3005
3005
  });
3006
3006
  module2.exports = __toCommonJS2(key_exports);
3007
- var createKey = function() {
3007
+ var generateKey = function() {
3008
3008
  let index = 0;
3009
3009
  function newId() {
3010
3010
  index++;
@@ -3012,7 +3012,7 @@ var require_key = __commonJS({
3012
3012
  }
3013
3013
  return newId;
3014
3014
  }();
3015
- var createSnapshotId = createKey;
3015
+ var createSnapshotId = generateKey;
3016
3016
  }
3017
3017
  });
3018
3018
 
@@ -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
- if ((0, import_utils7.isString)(props6.value) && props6.value.includes("{{"))
13243
- return (0, import_utils7.replaceLiteralsWithObjectFields)(props6.value, state);
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,