@builder.io/mitosis 0.0.56-43 → 0.0.56-45

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.
@@ -142,7 +142,7 @@ var blockToAngular = function (json, options, blockOptions) {
142
142
  contextVars: contextVars,
143
143
  outputVars: outputVars,
144
144
  domRefs: domRefs,
145
- });
145
+ }).replace(/"/g, """);
146
146
  if (key.startsWith('on')) {
147
147
  var event_1 = key.replace('on', '').toLowerCase();
148
148
  if (event_1 === 'change' && json.name === 'input' /* todo: other tags */) {
@@ -166,10 +166,10 @@ var blockToAngular = function (json, options, blockOptions) {
166
166
  needsToRenderSlots.push("".concat(useValue.replace(/(\/\>)|\>/, " ".concat(lowercaseKey, ">"))));
167
167
  }
168
168
  else if (BINDINGS_MAPPER[key]) {
169
- str += " [".concat(BINDINGS_MAPPER[key], "]=\"").concat(useValue.replace(/"/g, "\\'"), "\" ");
169
+ str += " [".concat(BINDINGS_MAPPER[key], "]=\"").concat(useValue, "\" ");
170
170
  }
171
171
  else {
172
- str += " [".concat(key, "]='").concat(useValue, "' ");
172
+ str += " [".concat(key, "]=\"").concat(useValue, "\" ");
173
173
  }
174
174
  }
175
175
  if (jsx_1.selfClosingTags.has(json.name)) {
@@ -214,7 +214,8 @@ var componentToAngular = function (options) {
214
214
  })
215
215
  .map(function (item) {
216
216
  return Object.keys(item.imports).filter(function (item) { return item && !(0, is_upper_case_1.isUpperCase)(item[0]); });
217
- });
217
+ })
218
+ .flat();
218
219
  var _q = component.exports, localExports = _q === void 0 ? {} : _q;
219
220
  var localExportVars = Object.keys(localExports)
220
221
  .filter(function (key) { return localExports[key].usedInLocal; })