@omnia/velcron 8.0.338-dev → 8.0.340-dev

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "8.0.338-dev",
4
+ "version": "8.0.340-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -193,7 +193,7 @@ class VelcronDataBinder {
193
193
  const caseValue = expression.cases[switchValueStr];
194
194
  if (typeof caseValue === "string") {
195
195
  // If caseValue is a string, interpolate tokens
196
- return VelcronDataBinder.interpolateTokens(caseValue, renderContext);
196
+ return VelcronDataBinder.bind(renderContext, caseValue);
197
197
  }
198
198
  else {
199
199
  // If caseValue is an object, evaluate it directly
@@ -111,6 +111,9 @@ class VelcronRenderers {
111
111
  static ensureRenderContext(rendererInfo, definition, currentRenderCtx, newViewModel) {
112
112
  //Ensure we have the correct render context passing properties etc to sub components
113
113
  let result = currentRenderCtx;
114
+ if (rendererInfo.definition?.colorSchemaType?.indexOf("bind:") > -1) {
115
+ //debugger;
116
+ }
114
117
  if (rendererInfo.customComponent
115
118
  || newViewModel ||
116
119
  VelcronRenderers.definitionContainsCustomColorSchema(definition)) {
@@ -227,6 +227,9 @@ class VelcronStyles {
227
227
  position: "type",
228
228
  });
229
229
  }
230
+ if (flexDefinition.zIndex) {
231
+ styleBase.zIndex = VelcronDataBinder_1.VelcronDataBinder.bind(renderCtx, flexDefinition.zIndex);
232
+ }
230
233
  this.applyOverflow(definition, renderCtx, styleBase);
231
234
  styleBase.flexDirection = direction;
232
235
  styleBase.display = "flex";